@powerlines/deepkit 0.5.0 → 0.5.1
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/capnp.cjs +48 -47
- package/dist/capnp.js +3 -2
- package/dist/{chunk-TVDEXHJN.js → chunk-4V4LIAN2.js} +8 -9
- package/dist/chunk-7J3ZDT6O.cjs +30 -0
- package/dist/{chunk-U4JSDAXK.js → chunk-B6GTAZEL.js} +8 -7
- package/dist/{chunk-KYFUOGZ6.cjs → chunk-ESVH44QW.cjs} +9 -10
- package/dist/chunk-FFBZWTR7.cjs +63 -0
- package/dist/chunk-GRNJVY7I.cjs +19 -0
- package/dist/{chunk-DGXATHAN.js → chunk-I5CVIT7W.js} +41 -46
- package/dist/chunk-IRPJW6HH.js +16 -0
- package/dist/{chunk-SKYW5GV2.cjs → chunk-J2FVIV7W.cjs} +127 -132
- package/dist/chunk-J4SVRFV4.js +127 -0
- package/dist/{chunk-FEBG7WWO.js → chunk-MEMIQ5AA.js} +1 -3
- package/dist/chunk-ORA4UQMU.cjs +2 -0
- package/dist/chunk-OULCUN6I.js +1 -0
- package/dist/chunk-PKLLVKY2.cjs +193 -0
- package/dist/chunk-QLKLDV3V.cjs +135 -0
- package/dist/chunk-U5O6DHJ2.js +187 -0
- package/dist/{chunk-JHEBLHYK.cjs → chunk-VMRRVNO2.cjs} +2 -4
- package/dist/{chunk-55HOZO7D.cjs → chunk-VWKKT7CM.cjs} +5 -7
- package/dist/chunk-XGQQM64U.js +8 -0
- package/dist/{chunk-BTXPY3B4.js → chunk-YQQIT5YX.js} +2 -4
- package/dist/esbuild-plugin.cjs +5 -5
- package/dist/esbuild-plugin.d.cts +3 -2
- package/dist/esbuild-plugin.d.ts +3 -2
- package/dist/esbuild-plugin.js +4 -4
- package/dist/index.cjs +69 -69
- package/dist/index.js +10 -12
- package/dist/reflect-type.cjs +7 -6
- package/dist/reflect-type.js +6 -5
- package/dist/resolve-reflections.cjs +3 -3
- package/dist/resolve-reflections.js +2 -2
- package/dist/transformer.cjs +4 -4
- package/dist/transformer.js +2 -2
- package/dist/transpile.cjs +4 -4
- package/dist/transpile.js +3 -3
- package/dist/types.cjs +1 -2
- package/dist/types.js +1 -2
- package/dist/utilities.cjs +10 -9
- package/dist/utilities.js +3 -2
- package/dist/{chunk-YKFG2BZQ.cjs → vendor/chunk-5NPGWGPO.cjs} +0 -6
- package/dist/vendor/{chunk-BLN7QVCP.js → chunk-7LAB3COT.js} +7 -154
- package/dist/vendor/chunk-IOMA7ABE.js +359 -0
- package/dist/vendor/chunk-K5KCTNDL.cjs +2678 -0
- package/dist/vendor/chunk-L3KIZV6P.js +2664 -0
- package/dist/vendor/chunk-M3FJ3QXG.cjs +377 -0
- package/dist/vendor/chunk-SHUYVCID.js +4 -0
- package/dist/vendor/chunk-USNT2KNT.cjs +6 -0
- package/dist/{chunk-4WJJKR53.js → vendor/chunk-ZDFKNN7Y.cjs} +281 -322
- package/dist/vendor/compiler.cjs +12 -13
- package/dist/vendor/compiler.js +2 -5
- package/dist/vendor/config.cjs +9 -10
- package/dist/vendor/config.js +1 -5
- package/dist/vendor/core.cjs +130 -131
- package/dist/vendor/core.js +2 -5
- package/dist/vendor/index.cjs +14 -22
- package/dist/vendor/index.js +3 -11
- package/dist/vendor/type-spec.cjs +5 -6
- package/dist/vendor/type-spec.js +2 -5
- package/dist/vendor/type.cjs +631 -758
- package/dist/vendor/type.js +15 -138
- package/package.json +4 -4
- package/dist/chunk-2V4ET57D.js +0 -6954
- package/dist/chunk-6ETLMANX.js +0 -3472
- package/dist/chunk-6IQVU53O.cjs +0 -24
- package/dist/chunk-6OXPIOZY.cjs +0 -43
- package/dist/chunk-7WAH4JD3.js +0 -115
- package/dist/chunk-B4PTD5KQ.js +0 -4
- package/dist/chunk-ITQKPDCW.cjs +0 -3859
- package/dist/chunk-LBHO5BRF.js +0 -2251
- package/dist/chunk-OYRIJX67.cjs +0 -3487
- package/dist/chunk-PANPZ6S6.cjs +0 -6
- package/dist/chunk-QPSZUUB6.cjs +0 -2259
- package/dist/chunk-QQ7GKXIS.js +0 -43
- package/dist/chunk-SA3DCC4M.cjs +0 -6968
- package/dist/chunk-WVKPC33H.cjs +0 -49
- package/dist/chunk-YUO4MCOI.js +0 -18
- package/dist/vendor/chunk-5BKT4CS5.js +0 -28
- package/dist/vendor/chunk-BDXVTHBY.cjs +0 -3859
- package/dist/vendor/chunk-EQXMWOHO.cjs +0 -115
- package/dist/vendor/chunk-MCNMRQDT.js +0 -3513
- package/dist/vendor/chunk-MO4O4UYI.cjs +0 -42
- package/dist/vendor/chunk-RH4YMONA.js +0 -7064
- package/dist/vendor/chunk-RZKB5IQZ.cjs +0 -3531
- package/dist/vendor/chunk-WOXMCJJU.cjs +0 -7078
- package/dist/vendor/type-compiler/compiler.cjs +0 -46
- package/dist/vendor/type-compiler/compiler.d.cts +0 -1
- package/dist/vendor/type-compiler/compiler.d.ts +0 -1
- package/dist/vendor/type-compiler/compiler.js +0 -7
- package/dist/vendor/type-compiler/config.cjs +0 -36
- package/dist/vendor/type-compiler/config.d.cts +0 -6
- package/dist/vendor/type-compiler/config.d.ts +0 -6
- package/dist/vendor/type-compiler/config.js +0 -5
- package/dist/vendor/type-compiler/index.cjs +0 -108
- package/dist/vendor/type-compiler/index.d.cts +0 -1
- package/dist/vendor/type-compiler/index.d.ts +0 -1
- package/dist/vendor/type-compiler/index.js +0 -67
|
@@ -1,153 +1,15 @@
|
|
|
1
|
-
|
|
1
|
+
'use strict';
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
var
|
|
5
|
-
|
|
6
|
-
init_esm_shims();
|
|
7
|
-
module.exports = (value) => {
|
|
8
|
-
const type = typeof value;
|
|
9
|
-
return value !== null && (type === "object" || type === "function");
|
|
10
|
-
};
|
|
11
|
-
}
|
|
12
|
-
});
|
|
3
|
+
var chunkUSNT2KNT_cjs = require('./chunk-USNT2KNT.cjs');
|
|
4
|
+
var dotProp = require('dot-prop');
|
|
5
|
+
var toFastPropertiesOri = require('to-fast-properties');
|
|
13
6
|
|
|
14
|
-
|
|
15
|
-
var require_dot_prop = __commonJS({
|
|
16
|
-
"../../node_modules/.pnpm/dot-prop@5.3.0/node_modules/dot-prop/index.js"(exports$1, module) {
|
|
17
|
-
init_esm_shims();
|
|
18
|
-
var isObj = require_is_obj();
|
|
19
|
-
var disallowedKeys = [
|
|
20
|
-
"__proto__",
|
|
21
|
-
"prototype",
|
|
22
|
-
"constructor"
|
|
23
|
-
];
|
|
24
|
-
var isValidPath = /* @__PURE__ */ __name((pathSegments) => !pathSegments.some((segment) => disallowedKeys.includes(segment)), "isValidPath");
|
|
25
|
-
function getPathSegments(path) {
|
|
26
|
-
const pathArray = path.split(".");
|
|
27
|
-
const parts = [];
|
|
28
|
-
for (let i = 0; i < pathArray.length; i++) {
|
|
29
|
-
let p = pathArray[i];
|
|
30
|
-
while (p[p.length - 1] === "\\" && pathArray[i + 1] !== void 0) {
|
|
31
|
-
p = p.slice(0, -1) + ".";
|
|
32
|
-
p += pathArray[++i];
|
|
33
|
-
}
|
|
34
|
-
parts.push(p);
|
|
35
|
-
}
|
|
36
|
-
if (!isValidPath(parts)) {
|
|
37
|
-
return [];
|
|
38
|
-
}
|
|
39
|
-
return parts;
|
|
40
|
-
}
|
|
41
|
-
__name(getPathSegments, "getPathSegments");
|
|
42
|
-
module.exports = {
|
|
43
|
-
get(object, path, value) {
|
|
44
|
-
if (!isObj(object) || typeof path !== "string") {
|
|
45
|
-
return value === void 0 ? object : value;
|
|
46
|
-
}
|
|
47
|
-
const pathArray = getPathSegments(path);
|
|
48
|
-
if (pathArray.length === 0) {
|
|
49
|
-
return;
|
|
50
|
-
}
|
|
51
|
-
for (let i = 0; i < pathArray.length; i++) {
|
|
52
|
-
if (!Object.prototype.propertyIsEnumerable.call(object, pathArray[i])) {
|
|
53
|
-
return value;
|
|
54
|
-
}
|
|
55
|
-
object = object[pathArray[i]];
|
|
56
|
-
if (object === void 0 || object === null) {
|
|
57
|
-
if (i !== pathArray.length - 1) {
|
|
58
|
-
return value;
|
|
59
|
-
}
|
|
60
|
-
break;
|
|
61
|
-
}
|
|
62
|
-
}
|
|
63
|
-
return object;
|
|
64
|
-
},
|
|
65
|
-
set(object, path, value) {
|
|
66
|
-
if (!isObj(object) || typeof path !== "string") {
|
|
67
|
-
return object;
|
|
68
|
-
}
|
|
69
|
-
const root = object;
|
|
70
|
-
const pathArray = getPathSegments(path);
|
|
71
|
-
for (let i = 0; i < pathArray.length; i++) {
|
|
72
|
-
const p = pathArray[i];
|
|
73
|
-
if (!isObj(object[p])) {
|
|
74
|
-
object[p] = {};
|
|
75
|
-
}
|
|
76
|
-
if (i === pathArray.length - 1) {
|
|
77
|
-
object[p] = value;
|
|
78
|
-
}
|
|
79
|
-
object = object[p];
|
|
80
|
-
}
|
|
81
|
-
return root;
|
|
82
|
-
},
|
|
83
|
-
delete(object, path) {
|
|
84
|
-
if (!isObj(object) || typeof path !== "string") {
|
|
85
|
-
return false;
|
|
86
|
-
}
|
|
87
|
-
const pathArray = getPathSegments(path);
|
|
88
|
-
for (let i = 0; i < pathArray.length; i++) {
|
|
89
|
-
const p = pathArray[i];
|
|
90
|
-
if (i === pathArray.length - 1) {
|
|
91
|
-
delete object[p];
|
|
92
|
-
return true;
|
|
93
|
-
}
|
|
94
|
-
object = object[p];
|
|
95
|
-
if (!isObj(object)) {
|
|
96
|
-
return false;
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
|
-
},
|
|
100
|
-
has(object, path) {
|
|
101
|
-
if (!isObj(object) || typeof path !== "string") {
|
|
102
|
-
return false;
|
|
103
|
-
}
|
|
104
|
-
const pathArray = getPathSegments(path);
|
|
105
|
-
if (pathArray.length === 0) {
|
|
106
|
-
return false;
|
|
107
|
-
}
|
|
108
|
-
for (let i = 0; i < pathArray.length; i++) {
|
|
109
|
-
if (isObj(object)) {
|
|
110
|
-
if (!(pathArray[i] in object)) {
|
|
111
|
-
return false;
|
|
112
|
-
}
|
|
113
|
-
object = object[pathArray[i]];
|
|
114
|
-
} else {
|
|
115
|
-
return false;
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
return true;
|
|
119
|
-
}
|
|
120
|
-
};
|
|
121
|
-
}
|
|
122
|
-
});
|
|
7
|
+
function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }
|
|
123
8
|
|
|
124
|
-
|
|
125
|
-
var
|
|
126
|
-
"../../node_modules/.pnpm/to-fast-properties@3.0.1/node_modules/to-fast-properties/index.js"(exports$1, module) {
|
|
127
|
-
init_esm_shims();
|
|
128
|
-
var fastProto = null;
|
|
129
|
-
function FastObject(o) {
|
|
130
|
-
if (fastProto !== null && typeof fastProto.property) {
|
|
131
|
-
const result = fastProto;
|
|
132
|
-
fastProto = FastObject.prototype = null;
|
|
133
|
-
return result;
|
|
134
|
-
}
|
|
135
|
-
fastProto = FastObject.prototype = o == null ? /* @__PURE__ */ Object.create(null) : o;
|
|
136
|
-
return new FastObject();
|
|
137
|
-
}
|
|
138
|
-
__name(FastObject, "FastObject");
|
|
139
|
-
var inlineCacheCutoff = 10;
|
|
140
|
-
for (let i = 0; i <= inlineCacheCutoff; i++) {
|
|
141
|
-
FastObject();
|
|
142
|
-
}
|
|
143
|
-
module.exports = /* @__PURE__ */ __name(function toFastproperties(o) {
|
|
144
|
-
return FastObject(o);
|
|
145
|
-
}, "toFastproperties");
|
|
146
|
-
}
|
|
147
|
-
});
|
|
9
|
+
var dotProp__default = /*#__PURE__*/_interopDefault(dotProp);
|
|
10
|
+
var toFastPropertiesOri__default = /*#__PURE__*/_interopDefault(toFastPropertiesOri);
|
|
148
11
|
|
|
149
12
|
// ../../node_modules/.pnpm/@deepkit+core@1.0.5_patch_hash=8c3beca4372c6a8941162780ddd0f977ef3d461c2018f0809f86f416260ba440/node_modules/@deepkit/core/dist/esm/src/iterators.js
|
|
150
|
-
init_esm_shims();
|
|
151
13
|
var __\u03A9ArrayLike = [
|
|
152
14
|
"T",
|
|
153
15
|
"length",
|
|
@@ -230,7 +92,7 @@ function* eachKey(object) {
|
|
|
230
92
|
}
|
|
231
93
|
}
|
|
232
94
|
}
|
|
233
|
-
__name(eachKey, "eachKey");
|
|
95
|
+
chunkUSNT2KNT_cjs.__name(eachKey, "eachKey");
|
|
234
96
|
eachKey.__type = [
|
|
235
97
|
() => __\u03A9ArrayLike,
|
|
236
98
|
"object",
|
|
@@ -251,7 +113,7 @@ function* each(object) {
|
|
|
251
113
|
}
|
|
252
114
|
}
|
|
253
115
|
}
|
|
254
|
-
__name(each, "each");
|
|
116
|
+
chunkUSNT2KNT_cjs.__name(each, "each");
|
|
255
117
|
each.__type = [
|
|
256
118
|
() => __\u03A9ArrayLike,
|
|
257
119
|
"object",
|
|
@@ -291,7 +153,7 @@ function* eachPair(object) {
|
|
|
291
153
|
}
|
|
292
154
|
}
|
|
293
155
|
}
|
|
294
|
-
__name(eachPair, "eachPair");
|
|
156
|
+
chunkUSNT2KNT_cjs.__name(eachPair, "eachPair");
|
|
295
157
|
eachPair.__type = [
|
|
296
158
|
() => __\u03A9ArrayLike,
|
|
297
159
|
"object",
|
|
@@ -299,10 +161,6 @@ eachPair.__type = [
|
|
|
299
161
|
"eachPair",
|
|
300
162
|
`PPP&"LM"o!"J2"PP&"GP'"GJo#"/$`
|
|
301
163
|
];
|
|
302
|
-
|
|
303
|
-
// ../../node_modules/.pnpm/@deepkit+core@1.0.5_patch_hash=8c3beca4372c6a8941162780ddd0f977ef3d461c2018f0809f86f416260ba440/node_modules/@deepkit/core/dist/esm/src/core.js
|
|
304
|
-
init_esm_shims();
|
|
305
|
-
var import_dot_prop = __toESM(require_dot_prop(), 1);
|
|
306
164
|
var __\u03A9Object = [
|
|
307
165
|
() => Function,
|
|
308
166
|
"constructor",
|
|
@@ -385,10 +243,10 @@ function __assignType(fn, args) {
|
|
|
385
243
|
fn.__type = args;
|
|
386
244
|
return fn;
|
|
387
245
|
}
|
|
388
|
-
__name(__assignType, "__assignType");
|
|
246
|
+
chunkUSNT2KNT_cjs.__name(__assignType, "__assignType");
|
|
389
247
|
var CustomError = class extends Error {
|
|
390
248
|
static {
|
|
391
|
-
__name(this, "CustomError");
|
|
249
|
+
chunkUSNT2KNT_cjs.__name(this, "CustomError");
|
|
392
250
|
}
|
|
393
251
|
constructor(...args) {
|
|
394
252
|
super(...args);
|
|
@@ -433,7 +291,7 @@ function getClassName(classTypeOrInstance) {
|
|
|
433
291
|
const proto = classTypeOrInstance["prototype"] ? classTypeOrInstance["prototype"] : classTypeOrInstance;
|
|
434
292
|
return proto.constructor.name || "anonymous class";
|
|
435
293
|
}
|
|
436
|
-
__name(getClassName, "getClassName");
|
|
294
|
+
chunkUSNT2KNT_cjs.__name(getClassName, "getClassName");
|
|
437
295
|
getClassName.__type = [
|
|
438
296
|
() => __\u03A9ClassType,
|
|
439
297
|
() => __\u03A9Object,
|
|
@@ -445,7 +303,7 @@ function getClassPropertyName(classType, propertyName) {
|
|
|
445
303
|
const name = getClassName(classType);
|
|
446
304
|
return `${name}.${propertyName}`;
|
|
447
305
|
}
|
|
448
|
-
__name(getClassPropertyName, "getClassPropertyName");
|
|
306
|
+
chunkUSNT2KNT_cjs.__name(getClassPropertyName, "getClassPropertyName");
|
|
449
307
|
getClassPropertyName.__type = [
|
|
450
308
|
() => __\u03A9ClassType,
|
|
451
309
|
() => __\u03A9Object,
|
|
@@ -461,7 +319,7 @@ function applyDefaults(classType, target) {
|
|
|
461
319
|
}
|
|
462
320
|
return classInstance;
|
|
463
321
|
}
|
|
464
|
-
__name(applyDefaults, "applyDefaults");
|
|
322
|
+
chunkUSNT2KNT_cjs.__name(applyDefaults, "applyDefaults");
|
|
465
323
|
applyDefaults.__type = [
|
|
466
324
|
() => __\u03A9ClassType,
|
|
467
325
|
"classType",
|
|
@@ -472,7 +330,7 @@ applyDefaults.__type = [
|
|
|
472
330
|
function identifyType(obj) {
|
|
473
331
|
return (({}.toString.call(obj).match(/\s([a-zA-Z]+)/) || [])[1] || "").toLowerCase();
|
|
474
332
|
}
|
|
475
|
-
__name(identifyType, "identifyType");
|
|
333
|
+
chunkUSNT2KNT_cjs.__name(identifyType, "identifyType");
|
|
476
334
|
identifyType.__type = [
|
|
477
335
|
"obj",
|
|
478
336
|
"identifyType",
|
|
@@ -481,7 +339,7 @@ identifyType.__type = [
|
|
|
481
339
|
function isPlainObject(obj) {
|
|
482
340
|
return Boolean(obj && typeof obj === "object" && obj.constructor instanceof obj.constructor);
|
|
483
341
|
}
|
|
484
|
-
__name(isPlainObject, "isPlainObject");
|
|
342
|
+
chunkUSNT2KNT_cjs.__name(isPlainObject, "isPlainObject");
|
|
485
343
|
isPlainObject.__type = [
|
|
486
344
|
"obj",
|
|
487
345
|
"isPlainObject",
|
|
@@ -493,7 +351,7 @@ function getClassTypeFromInstance(target) {
|
|
|
493
351
|
}
|
|
494
352
|
return target["constructor"];
|
|
495
353
|
}
|
|
496
|
-
__name(getClassTypeFromInstance, "getClassTypeFromInstance");
|
|
354
|
+
chunkUSNT2KNT_cjs.__name(getClassTypeFromInstance, "getClassTypeFromInstance");
|
|
497
355
|
getClassTypeFromInstance.__type = [
|
|
498
356
|
"target",
|
|
499
357
|
() => __\u03A9ClassType,
|
|
@@ -503,7 +361,7 @@ getClassTypeFromInstance.__type = [
|
|
|
503
361
|
function isClassInstance(target) {
|
|
504
362
|
return target !== void 0 && target !== null && target["constructor"] && Object.getPrototypeOf(target) === target["constructor"].prototype && !isPlainObject(target) && isObject(target);
|
|
505
363
|
}
|
|
506
|
-
__name(isClassInstance, "isClassInstance");
|
|
364
|
+
chunkUSNT2KNT_cjs.__name(isClassInstance, "isClassInstance");
|
|
507
365
|
isClassInstance.__type = [
|
|
508
366
|
"target",
|
|
509
367
|
"isClassInstance",
|
|
@@ -522,7 +380,7 @@ function stringifyValueWithType(value, depth = 0) {
|
|
|
522
380
|
if (null === value) return `null`;
|
|
523
381
|
return "undefined";
|
|
524
382
|
}
|
|
525
|
-
__name(stringifyValueWithType, "stringifyValueWithType");
|
|
383
|
+
chunkUSNT2KNT_cjs.__name(stringifyValueWithType, "stringifyValueWithType");
|
|
526
384
|
stringifyValueWithType.__type = [
|
|
527
385
|
"value",
|
|
528
386
|
"depth",
|
|
@@ -533,7 +391,7 @@ stringifyValueWithType.__type = [
|
|
|
533
391
|
function changeClass(value, newClass) {
|
|
534
392
|
return Object.assign(Object.create(newClass.prototype), value);
|
|
535
393
|
}
|
|
536
|
-
__name(changeClass, "changeClass");
|
|
394
|
+
chunkUSNT2KNT_cjs.__name(changeClass, "changeClass");
|
|
537
395
|
changeClass.__type = [
|
|
538
396
|
"value",
|
|
539
397
|
() => __\u03A9ClassType,
|
|
@@ -548,7 +406,7 @@ function prettyPrintObject(object, depth = 0) {
|
|
|
548
406
|
}
|
|
549
407
|
return "{" + res.join(",") + "}";
|
|
550
408
|
}
|
|
551
|
-
__name(prettyPrintObject, "prettyPrintObject");
|
|
409
|
+
chunkUSNT2KNT_cjs.__name(prettyPrintObject, "prettyPrintObject");
|
|
552
410
|
prettyPrintObject.__type = [
|
|
553
411
|
"object",
|
|
554
412
|
"depth",
|
|
@@ -562,7 +420,7 @@ function isFunction(obj) {
|
|
|
562
420
|
}
|
|
563
421
|
return false;
|
|
564
422
|
}
|
|
565
|
-
__name(isFunction, "isFunction");
|
|
423
|
+
chunkUSNT2KNT_cjs.__name(isFunction, "isFunction");
|
|
566
424
|
isFunction.__type = [
|
|
567
425
|
"obj",
|
|
568
426
|
"isFunction",
|
|
@@ -573,7 +431,7 @@ var AsyncFunction = (async () => {
|
|
|
573
431
|
function isAsyncFunction(obj) {
|
|
574
432
|
return obj instanceof AsyncFunction;
|
|
575
433
|
}
|
|
576
|
-
__name(isAsyncFunction, "isAsyncFunction");
|
|
434
|
+
chunkUSNT2KNT_cjs.__name(isAsyncFunction, "isAsyncFunction");
|
|
577
435
|
isAsyncFunction.__type = [
|
|
578
436
|
"obj",
|
|
579
437
|
"isAsyncFunction",
|
|
@@ -582,7 +440,7 @@ isAsyncFunction.__type = [
|
|
|
582
440
|
function isPromise(obj) {
|
|
583
441
|
return obj !== null && typeof obj === "object" && typeof obj.then === "function" && typeof obj.catch === "function" && typeof obj.finally === "function";
|
|
584
442
|
}
|
|
585
|
-
__name(isPromise, "isPromise");
|
|
443
|
+
chunkUSNT2KNT_cjs.__name(isPromise, "isPromise");
|
|
586
444
|
isPromise.__type = [
|
|
587
445
|
"obj",
|
|
588
446
|
"isPromise",
|
|
@@ -594,7 +452,7 @@ function isClass(obj) {
|
|
|
594
452
|
}
|
|
595
453
|
return false;
|
|
596
454
|
}
|
|
597
|
-
__name(isClass, "isClass");
|
|
455
|
+
chunkUSNT2KNT_cjs.__name(isClass, "isClass");
|
|
598
456
|
isClass.__type = [
|
|
599
457
|
"obj",
|
|
600
458
|
"isClass",
|
|
@@ -610,7 +468,7 @@ function isGlobalClass(obj) {
|
|
|
610
468
|
}
|
|
611
469
|
return false;
|
|
612
470
|
}
|
|
613
|
-
__name(isGlobalClass, "isGlobalClass");
|
|
471
|
+
chunkUSNT2KNT_cjs.__name(isGlobalClass, "isGlobalClass");
|
|
614
472
|
isGlobalClass.__type = [
|
|
615
473
|
"obj",
|
|
616
474
|
"isGlobalClass",
|
|
@@ -622,7 +480,7 @@ function isObject(obj) {
|
|
|
622
480
|
}
|
|
623
481
|
return typeof obj === "object" && !isArray(obj);
|
|
624
482
|
}
|
|
625
|
-
__name(isObject, "isObject");
|
|
483
|
+
chunkUSNT2KNT_cjs.__name(isObject, "isObject");
|
|
626
484
|
isObject.__type = [
|
|
627
485
|
"obj",
|
|
628
486
|
"isObject",
|
|
@@ -631,7 +489,7 @@ isObject.__type = [
|
|
|
631
489
|
function isObjectLiteral(obj) {
|
|
632
490
|
return isObject(obj) && !(obj instanceof Date) && !(obj instanceof Map) && !(obj instanceof Set);
|
|
633
491
|
}
|
|
634
|
-
__name(isObjectLiteral, "isObjectLiteral");
|
|
492
|
+
chunkUSNT2KNT_cjs.__name(isObjectLiteral, "isObjectLiteral");
|
|
635
493
|
isObjectLiteral.__type = [
|
|
636
494
|
"obj",
|
|
637
495
|
"isObjectLiteral",
|
|
@@ -641,7 +499,7 @@ var isArray = Array.isArray;
|
|
|
641
499
|
function isNull(obj) {
|
|
642
500
|
return null === obj;
|
|
643
501
|
}
|
|
644
|
-
__name(isNull, "isNull");
|
|
502
|
+
chunkUSNT2KNT_cjs.__name(isNull, "isNull");
|
|
645
503
|
isNull.__type = [
|
|
646
504
|
"obj",
|
|
647
505
|
"isNull",
|
|
@@ -650,7 +508,7 @@ isNull.__type = [
|
|
|
650
508
|
function isUndefined(obj) {
|
|
651
509
|
return void 0 === obj;
|
|
652
510
|
}
|
|
653
|
-
__name(isUndefined, "isUndefined");
|
|
511
|
+
chunkUSNT2KNT_cjs.__name(isUndefined, "isUndefined");
|
|
654
512
|
isUndefined.__type = [
|
|
655
513
|
"obj",
|
|
656
514
|
"isUndefined",
|
|
@@ -659,7 +517,7 @@ isUndefined.__type = [
|
|
|
659
517
|
function isSet(obj) {
|
|
660
518
|
return !isNull(obj) && !isUndefined(obj);
|
|
661
519
|
}
|
|
662
|
-
__name(isSet, "isSet");
|
|
520
|
+
chunkUSNT2KNT_cjs.__name(isSet, "isSet");
|
|
663
521
|
isSet.__type = [
|
|
664
522
|
"obj",
|
|
665
523
|
"isSet",
|
|
@@ -668,7 +526,7 @@ isSet.__type = [
|
|
|
668
526
|
function isNumber(obj) {
|
|
669
527
|
return "number" === identifyType(obj);
|
|
670
528
|
}
|
|
671
|
-
__name(isNumber, "isNumber");
|
|
529
|
+
chunkUSNT2KNT_cjs.__name(isNumber, "isNumber");
|
|
672
530
|
isNumber.__type = [
|
|
673
531
|
"obj",
|
|
674
532
|
"isNumber",
|
|
@@ -687,7 +545,7 @@ function isNumeric(s) {
|
|
|
687
545
|
}
|
|
688
546
|
return true;
|
|
689
547
|
}
|
|
690
|
-
__name(isNumeric, "isNumeric");
|
|
548
|
+
chunkUSNT2KNT_cjs.__name(isNumeric, "isNumeric");
|
|
691
549
|
isNumeric.__type = [
|
|
692
550
|
"s",
|
|
693
551
|
"isNumeric",
|
|
@@ -703,7 +561,7 @@ var isInteger = Number.isInteger || __assignType(function(obj) {
|
|
|
703
561
|
function isString(obj) {
|
|
704
562
|
return "string" === identifyType(obj);
|
|
705
563
|
}
|
|
706
|
-
__name(isString, "isString");
|
|
564
|
+
chunkUSNT2KNT_cjs.__name(isString, "isString");
|
|
707
565
|
isString.__type = [
|
|
708
566
|
"obj",
|
|
709
567
|
"isString",
|
|
@@ -715,7 +573,7 @@ function indexOf(array, item) {
|
|
|
715
573
|
}
|
|
716
574
|
return array.indexOf(item);
|
|
717
575
|
}
|
|
718
|
-
__name(indexOf, "indexOf");
|
|
576
|
+
chunkUSNT2KNT_cjs.__name(indexOf, "indexOf");
|
|
719
577
|
indexOf.__type = [
|
|
720
578
|
"array",
|
|
721
579
|
"item",
|
|
@@ -733,7 +591,7 @@ async function sleep(seconds) {
|
|
|
733
591
|
'P"2!"/"'
|
|
734
592
|
]));
|
|
735
593
|
}
|
|
736
|
-
__name(sleep, "sleep");
|
|
594
|
+
chunkUSNT2KNT_cjs.__name(sleep, "sleep");
|
|
737
595
|
sleep.__type = [
|
|
738
596
|
"seconds",
|
|
739
597
|
"sleep",
|
|
@@ -745,7 +603,7 @@ function copy(v) {
|
|
|
745
603
|
}
|
|
746
604
|
return v;
|
|
747
605
|
}
|
|
748
|
-
__name(copy, "copy");
|
|
606
|
+
chunkUSNT2KNT_cjs.__name(copy, "copy");
|
|
749
607
|
copy.__type = [
|
|
750
608
|
"v",
|
|
751
609
|
"copy",
|
|
@@ -760,7 +618,7 @@ function empty(value) {
|
|
|
760
618
|
return true;
|
|
761
619
|
}
|
|
762
620
|
}
|
|
763
|
-
__name(empty, "empty");
|
|
621
|
+
chunkUSNT2KNT_cjs.__name(empty, "empty");
|
|
764
622
|
empty.__type = [
|
|
765
623
|
"value",
|
|
766
624
|
"empty",
|
|
@@ -776,7 +634,7 @@ function size(array) {
|
|
|
776
634
|
return getObjectKeysSize(array);
|
|
777
635
|
}
|
|
778
636
|
}
|
|
779
|
-
__name(size, "size");
|
|
637
|
+
chunkUSNT2KNT_cjs.__name(size, "size");
|
|
780
638
|
size.__type = [
|
|
781
639
|
"array",
|
|
782
640
|
"size",
|
|
@@ -785,7 +643,7 @@ size.__type = [
|
|
|
785
643
|
function firstKey(v) {
|
|
786
644
|
return Object.keys(v)[0];
|
|
787
645
|
}
|
|
788
|
-
__name(firstKey, "firstKey");
|
|
646
|
+
chunkUSNT2KNT_cjs.__name(firstKey, "firstKey");
|
|
789
647
|
firstKey.__type = [
|
|
790
648
|
"v",
|
|
791
649
|
"firstKey",
|
|
@@ -798,7 +656,7 @@ function lastKey(v) {
|
|
|
798
656
|
}
|
|
799
657
|
return keys[keys.length - 1];
|
|
800
658
|
}
|
|
801
|
-
__name(lastKey, "lastKey");
|
|
659
|
+
chunkUSNT2KNT_cjs.__name(lastKey, "lastKey");
|
|
802
660
|
lastKey.__type = [
|
|
803
661
|
"v",
|
|
804
662
|
"lastKey",
|
|
@@ -814,7 +672,7 @@ function first(v) {
|
|
|
814
672
|
}
|
|
815
673
|
return;
|
|
816
674
|
}
|
|
817
|
-
__name(first, "first");
|
|
675
|
+
chunkUSNT2KNT_cjs.__name(first, "first");
|
|
818
676
|
first.__type = [
|
|
819
677
|
"v",
|
|
820
678
|
"first",
|
|
@@ -833,7 +691,7 @@ function last(v) {
|
|
|
833
691
|
}
|
|
834
692
|
return;
|
|
835
693
|
}
|
|
836
|
-
__name(last, "last");
|
|
694
|
+
chunkUSNT2KNT_cjs.__name(last, "last");
|
|
837
695
|
last.__type = [
|
|
838
696
|
"v",
|
|
839
697
|
"last",
|
|
@@ -846,7 +704,7 @@ function average(array) {
|
|
|
846
704
|
}
|
|
847
705
|
return sum / array.length;
|
|
848
706
|
}
|
|
849
|
-
__name(average, "average");
|
|
707
|
+
chunkUSNT2KNT_cjs.__name(average, "average");
|
|
850
708
|
average.__type = [
|
|
851
709
|
"array",
|
|
852
710
|
"average",
|
|
@@ -860,7 +718,7 @@ function prependObjectKeys(o, prependText) {
|
|
|
860
718
|
}
|
|
861
719
|
return converted;
|
|
862
720
|
}
|
|
863
|
-
__name(prependObjectKeys, "prependObjectKeys");
|
|
721
|
+
chunkUSNT2KNT_cjs.__name(prependObjectKeys, "prependObjectKeys");
|
|
864
722
|
prependObjectKeys.__type = [
|
|
865
723
|
"o",
|
|
866
724
|
"prependText",
|
|
@@ -873,7 +731,7 @@ function appendObject(origin, extend, prependKeyName = "") {
|
|
|
873
731
|
origin[i] = v;
|
|
874
732
|
}
|
|
875
733
|
}
|
|
876
|
-
__name(appendObject, "appendObject");
|
|
734
|
+
chunkUSNT2KNT_cjs.__name(appendObject, "appendObject");
|
|
877
735
|
appendObject.__type = [
|
|
878
736
|
"origin",
|
|
879
737
|
"extend",
|
|
@@ -898,7 +756,7 @@ async function asyncOperation(executor) {
|
|
|
898
756
|
throw error;
|
|
899
757
|
}
|
|
900
758
|
}
|
|
901
|
-
__name(asyncOperation, "asyncOperation");
|
|
759
|
+
chunkUSNT2KNT_cjs.__name(asyncOperation, "asyncOperation");
|
|
902
760
|
function fixAsyncOperation(promise) {
|
|
903
761
|
return asyncOperation(__assignType(async (resolve, reject) => {
|
|
904
762
|
resolve(await promise);
|
|
@@ -909,7 +767,7 @@ function fixAsyncOperation(promise) {
|
|
|
909
767
|
'P"2!"2""/#'
|
|
910
768
|
]));
|
|
911
769
|
}
|
|
912
|
-
__name(fixAsyncOperation, "fixAsyncOperation");
|
|
770
|
+
chunkUSNT2KNT_cjs.__name(fixAsyncOperation, "fixAsyncOperation");
|
|
913
771
|
fixAsyncOperation.__type = [
|
|
914
772
|
"promise",
|
|
915
773
|
"fixAsyncOperation",
|
|
@@ -927,7 +785,7 @@ function mergePromiseStack(promise, stack2) {
|
|
|
927
785
|
]));
|
|
928
786
|
return promise;
|
|
929
787
|
}
|
|
930
|
-
__name(mergePromiseStack, "mergePromiseStack");
|
|
788
|
+
chunkUSNT2KNT_cjs.__name(mergePromiseStack, "mergePromiseStack");
|
|
931
789
|
mergePromiseStack.__type = [
|
|
932
790
|
"promise",
|
|
933
791
|
"stack",
|
|
@@ -945,7 +803,7 @@ function createStack(removeCallee = true) {
|
|
|
945
803
|
}
|
|
946
804
|
return stack2;
|
|
947
805
|
}
|
|
948
|
-
__name(createStack, "createStack");
|
|
806
|
+
chunkUSNT2KNT_cjs.__name(createStack, "createStack");
|
|
949
807
|
createStack.__type = [
|
|
950
808
|
"removeCallee",
|
|
951
809
|
() => true,
|
|
@@ -957,7 +815,7 @@ function mergeStack(error, stack2) {
|
|
|
957
815
|
error.stack += "\n" + stack2;
|
|
958
816
|
}
|
|
959
817
|
}
|
|
960
|
-
__name(mergeStack, "mergeStack");
|
|
818
|
+
chunkUSNT2KNT_cjs.__name(mergeStack, "mergeStack");
|
|
961
819
|
mergeStack.__type = [
|
|
962
820
|
() => __\u03A9Error,
|
|
963
821
|
"error",
|
|
@@ -968,7 +826,7 @@ mergeStack.__type = [
|
|
|
968
826
|
function ensureError(error, classType = Error) {
|
|
969
827
|
return error instanceof Error || error instanceof AggregateError ? error : new classType(error);
|
|
970
828
|
}
|
|
971
|
-
__name(ensureError, "ensureError");
|
|
829
|
+
chunkUSNT2KNT_cjs.__name(ensureError, "ensureError");
|
|
972
830
|
ensureError.__type = [
|
|
973
831
|
"error",
|
|
974
832
|
() => __\u03A9ClassType,
|
|
@@ -999,7 +857,7 @@ function collectForMicrotask(callback) {
|
|
|
999
857
|
'PPdi!Ph"!F2"$/#qe!!!j2$"/#'
|
|
1000
858
|
]);
|
|
1001
859
|
}
|
|
1002
|
-
__name(collectForMicrotask, "collectForMicrotask");
|
|
860
|
+
chunkUSNT2KNT_cjs.__name(collectForMicrotask, "collectForMicrotask");
|
|
1003
861
|
collectForMicrotask.__type = [
|
|
1004
862
|
"args",
|
|
1005
863
|
"",
|
|
@@ -1011,7 +869,7 @@ collectForMicrotask.__type = [
|
|
|
1011
869
|
function time() {
|
|
1012
870
|
return Date.now() / 1e3;
|
|
1013
871
|
}
|
|
1014
|
-
__name(time, "time");
|
|
872
|
+
chunkUSNT2KNT_cjs.__name(time, "time");
|
|
1015
873
|
time.__type = [
|
|
1016
874
|
"time",
|
|
1017
875
|
"P'/!"
|
|
@@ -1021,10 +879,10 @@ function getPathValue(bag, parameterPath, defaultValue) {
|
|
|
1021
879
|
if (isSet(bag[parameterPath])) {
|
|
1022
880
|
return bag[parameterPath];
|
|
1023
881
|
}
|
|
1024
|
-
const result =
|
|
882
|
+
const result = dotProp__default.default.get(bag, parameterPath);
|
|
1025
883
|
return isSet(result) ? result : defaultValue;
|
|
1026
884
|
}
|
|
1027
|
-
__name(getPathValue, "getPathValue");
|
|
885
|
+
chunkUSNT2KNT_cjs.__name(getPathValue, "getPathValue");
|
|
1028
886
|
getPathValue.__type = [
|
|
1029
887
|
"bag",
|
|
1030
888
|
"parameterPath",
|
|
@@ -1033,9 +891,9 @@ getPathValue.__type = [
|
|
|
1033
891
|
'PP&"LM2!&2""2#8"/$'
|
|
1034
892
|
];
|
|
1035
893
|
function setPathValue(bag, parameterPath, value) {
|
|
1036
|
-
|
|
894
|
+
dotProp__default.default.set(bag, parameterPath, value);
|
|
1037
895
|
}
|
|
1038
|
-
__name(setPathValue, "setPathValue");
|
|
896
|
+
chunkUSNT2KNT_cjs.__name(setPathValue, "setPathValue");
|
|
1039
897
|
setPathValue.__type = [
|
|
1040
898
|
"bag",
|
|
1041
899
|
"parameterPath",
|
|
@@ -1044,9 +902,9 @@ setPathValue.__type = [
|
|
|
1044
902
|
'P%2!&2""2#"/$'
|
|
1045
903
|
];
|
|
1046
904
|
function deletePathValue(bag, parameterPath) {
|
|
1047
|
-
|
|
905
|
+
dotProp__default.default.delete(bag, parameterPath);
|
|
1048
906
|
}
|
|
1049
|
-
__name(deletePathValue, "deletePathValue");
|
|
907
|
+
chunkUSNT2KNT_cjs.__name(deletePathValue, "deletePathValue");
|
|
1050
908
|
deletePathValue.__type = [
|
|
1051
909
|
"bag",
|
|
1052
910
|
"parameterPath",
|
|
@@ -1084,7 +942,7 @@ function humanBytes(bytes, si = false) {
|
|
|
1084
942
|
} while (Math.abs(bytes) >= thresh && u < units.length - 1);
|
|
1085
943
|
return bytes.toFixed(2) + " " + units[u];
|
|
1086
944
|
}
|
|
1087
|
-
__name(humanBytes, "humanBytes");
|
|
945
|
+
chunkUSNT2KNT_cjs.__name(humanBytes, "humanBytes");
|
|
1088
946
|
humanBytes.__type = [
|
|
1089
947
|
"bytes",
|
|
1090
948
|
"si",
|
|
@@ -1097,7 +955,7 @@ function getObjectKeysSize(obj) {
|
|
|
1097
955
|
for (let i in obj) if (obj.hasOwnProperty(i)) size2++;
|
|
1098
956
|
return size2;
|
|
1099
957
|
}
|
|
1100
|
-
__name(getObjectKeysSize, "getObjectKeysSize");
|
|
958
|
+
chunkUSNT2KNT_cjs.__name(getObjectKeysSize, "getObjectKeysSize");
|
|
1101
959
|
getObjectKeysSize.__type = [
|
|
1102
960
|
"obj",
|
|
1103
961
|
"getObjectKeysSize",
|
|
@@ -1106,14 +964,14 @@ getObjectKeysSize.__type = [
|
|
|
1106
964
|
function isConstructable(fn) {
|
|
1107
965
|
try {
|
|
1108
966
|
new new Proxy(fn, {
|
|
1109
|
-
construct: /* @__PURE__ */ __name(() => ({}), "construct")
|
|
967
|
+
construct: /* @__PURE__ */ chunkUSNT2KNT_cjs.__name(() => ({}), "construct")
|
|
1110
968
|
})();
|
|
1111
969
|
return true;
|
|
1112
970
|
} catch (err) {
|
|
1113
971
|
return false;
|
|
1114
972
|
}
|
|
1115
973
|
}
|
|
1116
|
-
__name(isConstructable, "isConstructable");
|
|
974
|
+
chunkUSNT2KNT_cjs.__name(isConstructable, "isConstructable");
|
|
1117
975
|
isConstructable.__type = [
|
|
1118
976
|
"fn",
|
|
1119
977
|
"isConstructable",
|
|
@@ -1129,7 +987,7 @@ function isPrototypeOfBase(prototype, base) {
|
|
|
1129
987
|
}
|
|
1130
988
|
return false;
|
|
1131
989
|
}
|
|
1132
|
-
__name(isPrototypeOfBase, "isPrototypeOfBase");
|
|
990
|
+
chunkUSNT2KNT_cjs.__name(isPrototypeOfBase, "isPrototypeOfBase");
|
|
1133
991
|
isPrototypeOfBase.__type = [
|
|
1134
992
|
() => __\u03A9AbstractClassType,
|
|
1135
993
|
"prototype",
|
|
@@ -1143,7 +1001,7 @@ function getParentClass(classType) {
|
|
|
1143
1001
|
if (parent === Object.prototype || Object.getPrototypeOf(parent) === Object.prototype) return;
|
|
1144
1002
|
return parent;
|
|
1145
1003
|
}
|
|
1146
|
-
__name(getParentClass, "getParentClass");
|
|
1004
|
+
chunkUSNT2KNT_cjs.__name(getParentClass, "getParentClass");
|
|
1147
1005
|
getParentClass.__type = [
|
|
1148
1006
|
() => __\u03A9ClassType,
|
|
1149
1007
|
"classType",
|
|
@@ -1161,7 +1019,7 @@ function getInheritanceChain(classType) {
|
|
|
1161
1019
|
}
|
|
1162
1020
|
return chain;
|
|
1163
1021
|
}
|
|
1164
|
-
__name(getInheritanceChain, "getInheritanceChain");
|
|
1022
|
+
chunkUSNT2KNT_cjs.__name(getInheritanceChain, "getInheritanceChain");
|
|
1165
1023
|
getInheritanceChain.__type = [
|
|
1166
1024
|
() => __\u03A9ClassType,
|
|
1167
1025
|
"classType",
|
|
@@ -1172,7 +1030,7 @@ getInheritanceChain.__type = [
|
|
|
1172
1030
|
function inDebugMode() {
|
|
1173
1031
|
return typeof v8debug === "object" || typeof process !== "undefined" && /--debug|--inspect/.test(process.execArgv.join(" "));
|
|
1174
1032
|
}
|
|
1175
|
-
__name(inDebugMode, "inDebugMode");
|
|
1033
|
+
chunkUSNT2KNT_cjs.__name(inDebugMode, "inDebugMode");
|
|
1176
1034
|
inDebugMode.__type = [
|
|
1177
1035
|
"inDebugMode",
|
|
1178
1036
|
'P"/!'
|
|
@@ -1185,7 +1043,7 @@ function createDynamicClass(name, base) {
|
|
|
1185
1043
|
}
|
|
1186
1044
|
return new Function(`return class ${name} {}`)();
|
|
1187
1045
|
}
|
|
1188
|
-
__name(createDynamicClass, "createDynamicClass");
|
|
1046
|
+
chunkUSNT2KNT_cjs.__name(createDynamicClass, "createDynamicClass");
|
|
1189
1047
|
createDynamicClass.__type = [
|
|
1190
1048
|
"name",
|
|
1191
1049
|
() => __\u03A9ClassType,
|
|
@@ -1197,7 +1055,7 @@ createDynamicClass.__type = [
|
|
|
1197
1055
|
function isIterable(value) {
|
|
1198
1056
|
return isArray(value) || value instanceof Set || value instanceof Map;
|
|
1199
1057
|
}
|
|
1200
|
-
__name(isIterable, "isIterable");
|
|
1058
|
+
chunkUSNT2KNT_cjs.__name(isIterable, "isIterable");
|
|
1201
1059
|
isIterable.__type = [
|
|
1202
1060
|
"value",
|
|
1203
1061
|
"isIterable",
|
|
@@ -1206,7 +1064,7 @@ isIterable.__type = [
|
|
|
1206
1064
|
function iterableSize(value) {
|
|
1207
1065
|
return isArray(value) ? value.length : value.size || 0;
|
|
1208
1066
|
}
|
|
1209
|
-
__name(iterableSize, "iterableSize");
|
|
1067
|
+
chunkUSNT2KNT_cjs.__name(iterableSize, "iterableSize");
|
|
1210
1068
|
iterableSize.__type = [
|
|
1211
1069
|
"value",
|
|
1212
1070
|
"iterableSize",
|
|
@@ -1224,7 +1082,7 @@ function getCurrentFileName() {
|
|
|
1224
1082
|
}
|
|
1225
1083
|
return path;
|
|
1226
1084
|
}
|
|
1227
|
-
__name(getCurrentFileName, "getCurrentFileName");
|
|
1085
|
+
chunkUSNT2KNT_cjs.__name(getCurrentFileName, "getCurrentFileName");
|
|
1228
1086
|
getCurrentFileName.__type = [
|
|
1229
1087
|
"getCurrentFileName",
|
|
1230
1088
|
"P&/!"
|
|
@@ -1232,7 +1090,7 @@ getCurrentFileName.__type = [
|
|
|
1232
1090
|
function escapeRegExp(string) {
|
|
1233
1091
|
return string.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
1234
1092
|
}
|
|
1235
|
-
__name(escapeRegExp, "escapeRegExp");
|
|
1093
|
+
chunkUSNT2KNT_cjs.__name(escapeRegExp, "escapeRegExp");
|
|
1236
1094
|
escapeRegExp.__type = [
|
|
1237
1095
|
"string",
|
|
1238
1096
|
"escapeRegExp",
|
|
@@ -1241,7 +1099,7 @@ escapeRegExp.__type = [
|
|
|
1241
1099
|
function hasProperty(object, property) {
|
|
1242
1100
|
return Object.prototype.hasOwnProperty.call(object, property);
|
|
1243
1101
|
}
|
|
1244
|
-
__name(hasProperty, "hasProperty");
|
|
1102
|
+
chunkUSNT2KNT_cjs.__name(hasProperty, "hasProperty");
|
|
1245
1103
|
hasProperty.__type = [
|
|
1246
1104
|
"object",
|
|
1247
1105
|
"property",
|
|
@@ -1259,7 +1117,7 @@ function* range(startOrLength, stop = 0, step = 1) {
|
|
|
1259
1117
|
yield i;
|
|
1260
1118
|
}
|
|
1261
1119
|
}
|
|
1262
|
-
__name(range, "range");
|
|
1120
|
+
chunkUSNT2KNT_cjs.__name(range, "range");
|
|
1263
1121
|
range.__type = [
|
|
1264
1122
|
"startOrLength",
|
|
1265
1123
|
"stop",
|
|
@@ -1275,7 +1133,7 @@ function rangeArray(startOrLength, stop = 0, step = 1) {
|
|
|
1275
1133
|
...range(startOrLength, stop, step)
|
|
1276
1134
|
];
|
|
1277
1135
|
}
|
|
1278
|
-
__name(rangeArray, "rangeArray");
|
|
1136
|
+
chunkUSNT2KNT_cjs.__name(rangeArray, "rangeArray");
|
|
1279
1137
|
rangeArray.__type = [
|
|
1280
1138
|
"startOrLength",
|
|
1281
1139
|
"stop",
|
|
@@ -1304,7 +1162,7 @@ function zip(...args) {
|
|
|
1304
1162
|
'P"2!"2""/#'
|
|
1305
1163
|
]));
|
|
1306
1164
|
}
|
|
1307
|
-
__name(zip, "zip");
|
|
1165
|
+
chunkUSNT2KNT_cjs.__name(zip, "zip");
|
|
1308
1166
|
zip.__type = [
|
|
1309
1167
|
"args",
|
|
1310
1168
|
"zip",
|
|
@@ -1314,7 +1172,7 @@ function forwardTypeArguments(x, y) {
|
|
|
1314
1172
|
y.\u03A9 = x.\u03A9;
|
|
1315
1173
|
x.\u03A9 = void 0;
|
|
1316
1174
|
}
|
|
1317
|
-
__name(forwardTypeArguments, "forwardTypeArguments");
|
|
1175
|
+
chunkUSNT2KNT_cjs.__name(forwardTypeArguments, "forwardTypeArguments");
|
|
1318
1176
|
forwardTypeArguments.__type = [
|
|
1319
1177
|
"x",
|
|
1320
1178
|
"y",
|
|
@@ -1345,7 +1203,7 @@ ${error.errors.map(__assignType((v) => formatError(v), [
|
|
|
1345
1203
|
if (withStack && error.stack) return error.stack;
|
|
1346
1204
|
return String(error);
|
|
1347
1205
|
}
|
|
1348
|
-
__name(formatError, "formatError");
|
|
1206
|
+
chunkUSNT2KNT_cjs.__name(formatError, "formatError");
|
|
1349
1207
|
formatError.__type = [
|
|
1350
1208
|
"error",
|
|
1351
1209
|
"withStack",
|
|
@@ -1358,7 +1216,7 @@ function assertInstanceOf(object, constructor) {
|
|
|
1358
1216
|
throw new Error(`Object ${getClassName(object)} is not an instance of the expected class ${getClassName(constructor)}`);
|
|
1359
1217
|
}
|
|
1360
1218
|
}
|
|
1361
|
-
__name(assertInstanceOf, "assertInstanceOf");
|
|
1219
|
+
chunkUSNT2KNT_cjs.__name(assertInstanceOf, "assertInstanceOf");
|
|
1362
1220
|
assertInstanceOf.__type = [
|
|
1363
1221
|
"object",
|
|
1364
1222
|
"args",
|
|
@@ -1372,20 +1230,16 @@ function assertDefined(value) {
|
|
|
1372
1230
|
throw new Error(`Value is not defined`);
|
|
1373
1231
|
}
|
|
1374
1232
|
}
|
|
1375
|
-
__name(assertDefined, "assertDefined");
|
|
1233
|
+
chunkUSNT2KNT_cjs.__name(assertDefined, "assertDefined");
|
|
1376
1234
|
assertDefined.__type = [
|
|
1377
1235
|
"value",
|
|
1378
1236
|
"assertDefined",
|
|
1379
1237
|
'P"2!!/"'
|
|
1380
1238
|
];
|
|
1381
|
-
|
|
1382
|
-
// ../../node_modules/.pnpm/@deepkit+core@1.0.5_patch_hash=8c3beca4372c6a8941162780ddd0f977ef3d461c2018f0809f86f416260ba440/node_modules/@deepkit/core/dist/esm/src/perf.js
|
|
1383
|
-
init_esm_shims();
|
|
1384
|
-
var import_to_fast_properties = __toESM(require_to_fast_properties(), 1);
|
|
1385
1239
|
function toFastProperties(obj) {
|
|
1386
|
-
|
|
1240
|
+
toFastPropertiesOri__default.default(obj);
|
|
1387
1241
|
}
|
|
1388
|
-
__name(toFastProperties, "toFastProperties");
|
|
1242
|
+
chunkUSNT2KNT_cjs.__name(toFastProperties, "toFastProperties");
|
|
1389
1243
|
toFastProperties.__type = [
|
|
1390
1244
|
"obj",
|
|
1391
1245
|
"toFastProperties",
|
|
@@ -1393,7 +1247,6 @@ toFastProperties.__type = [
|
|
|
1393
1247
|
];
|
|
1394
1248
|
|
|
1395
1249
|
// ../../node_modules/.pnpm/@deepkit+core@1.0.5_patch_hash=8c3beca4372c6a8941162780ddd0f977ef3d461c2018f0809f86f416260ba440/node_modules/@deepkit/core/dist/esm/src/decorators.js
|
|
1396
|
-
init_esm_shims();
|
|
1397
1250
|
var __\u03A9PropertyDescriptor = [
|
|
1398
1251
|
"configurable",
|
|
1399
1252
|
"enumerable",
|
|
@@ -1421,7 +1274,7 @@ function __assignType2(fn, args) {
|
|
|
1421
1274
|
fn.__type = args;
|
|
1422
1275
|
return fn;
|
|
1423
1276
|
}
|
|
1424
|
-
__name(__assignType2, "__assignType");
|
|
1277
|
+
chunkUSNT2KNT_cjs.__name(__assignType2, "__assignType");
|
|
1425
1278
|
function log() {
|
|
1426
1279
|
return __assignType2(function(target, propertyKey, descriptor) {
|
|
1427
1280
|
const orig = descriptor.value;
|
|
@@ -1448,7 +1301,7 @@ function log() {
|
|
|
1448
1301
|
'P%2!P&+J2"n#2$"/%'
|
|
1449
1302
|
]);
|
|
1450
1303
|
}
|
|
1451
|
-
__name(log, "log");
|
|
1304
|
+
chunkUSNT2KNT_cjs.__name(log, "log");
|
|
1452
1305
|
log.__type = [
|
|
1453
1306
|
"log",
|
|
1454
1307
|
'P"/!'
|
|
@@ -1486,7 +1339,7 @@ function stack() {
|
|
|
1486
1339
|
'P%2!&2"P"@2$"`/%o#"2&"/%'
|
|
1487
1340
|
]);
|
|
1488
1341
|
}
|
|
1489
|
-
__name(stack, "stack");
|
|
1342
|
+
chunkUSNT2KNT_cjs.__name(stack, "stack");
|
|
1490
1343
|
stack.__type = [
|
|
1491
1344
|
"stack",
|
|
1492
1345
|
'P"/!'
|
|
@@ -1524,14 +1377,13 @@ function singleStack() {
|
|
|
1524
1377
|
'P%2!&2"P"@2$"`/%o#"2&"/%'
|
|
1525
1378
|
]);
|
|
1526
1379
|
}
|
|
1527
|
-
__name(singleStack, "singleStack");
|
|
1380
|
+
chunkUSNT2KNT_cjs.__name(singleStack, "singleStack");
|
|
1528
1381
|
singleStack.__type = [
|
|
1529
1382
|
"singleStack",
|
|
1530
1383
|
'P"/!'
|
|
1531
1384
|
];
|
|
1532
1385
|
|
|
1533
1386
|
// ../../node_modules/.pnpm/@deepkit+core@1.0.5_patch_hash=8c3beca4372c6a8941162780ddd0f977ef3d461c2018f0809f86f416260ba440/node_modules/@deepkit/core/dist/esm/src/enum.js
|
|
1534
|
-
init_esm_shims();
|
|
1535
1387
|
var __\u03A9Object2 = [
|
|
1536
1388
|
() => Function,
|
|
1537
1389
|
"constructor",
|
|
@@ -1557,7 +1409,7 @@ function __assignType3(fn, args) {
|
|
|
1557
1409
|
fn.__type = args;
|
|
1558
1410
|
return fn;
|
|
1559
1411
|
}
|
|
1560
|
-
__name(__assignType3, "__assignType");
|
|
1412
|
+
chunkUSNT2KNT_cjs.__name(__assignType3, "__assignType");
|
|
1561
1413
|
var cacheEnumLabels = (Map.\u03A9 = [
|
|
1562
1414
|
[
|
|
1563
1415
|
() => __\u03A9Object2,
|
|
@@ -1574,7 +1426,7 @@ function getEnumLabel(enumType, id) {
|
|
|
1574
1426
|
}
|
|
1575
1427
|
}
|
|
1576
1428
|
}
|
|
1577
|
-
__name(getEnumLabel, "getEnumLabel");
|
|
1429
|
+
chunkUSNT2KNT_cjs.__name(getEnumLabel, "getEnumLabel");
|
|
1578
1430
|
getEnumLabel.__type = [
|
|
1579
1431
|
"enumType",
|
|
1580
1432
|
"id",
|
|
@@ -1593,7 +1445,7 @@ function getEnumLabels(enumDefinition) {
|
|
|
1593
1445
|
}
|
|
1594
1446
|
return value;
|
|
1595
1447
|
}
|
|
1596
|
-
__name(getEnumLabels, "getEnumLabels");
|
|
1448
|
+
chunkUSNT2KNT_cjs.__name(getEnumLabels, "getEnumLabels");
|
|
1597
1449
|
getEnumLabels.__type = [
|
|
1598
1450
|
"enumDefinition",
|
|
1599
1451
|
"getEnumLabels",
|
|
@@ -1622,7 +1474,7 @@ function getEnumValues(enumDefinition) {
|
|
|
1622
1474
|
}
|
|
1623
1475
|
return value;
|
|
1624
1476
|
}
|
|
1625
|
-
__name(getEnumValues, "getEnumValues");
|
|
1477
|
+
chunkUSNT2KNT_cjs.__name(getEnumValues, "getEnumValues");
|
|
1626
1478
|
getEnumValues.__type = [
|
|
1627
1479
|
"enumDefinition",
|
|
1628
1480
|
"getEnumValues",
|
|
@@ -1644,7 +1496,7 @@ function getEnumKeyLabelMap(enumDefinition) {
|
|
|
1644
1496
|
}
|
|
1645
1497
|
return map;
|
|
1646
1498
|
}
|
|
1647
|
-
__name(getEnumKeyLabelMap, "getEnumKeyLabelMap");
|
|
1499
|
+
chunkUSNT2KNT_cjs.__name(getEnumKeyLabelMap, "getEnumKeyLabelMap");
|
|
1648
1500
|
getEnumKeyLabelMap.__type = [
|
|
1649
1501
|
"enumDefinition",
|
|
1650
1502
|
"getEnumKeyLabelMap",
|
|
@@ -1660,7 +1512,7 @@ function isValidEnumValue(enumDefinition, value, allowLabelsAsValue = false) {
|
|
|
1660
1512
|
const values = getEnumValues(enumDefinition);
|
|
1661
1513
|
return -1 !== values.indexOf(+value) || -1 !== values.indexOf(value) || -1 !== values.indexOf(String(value));
|
|
1662
1514
|
}
|
|
1663
|
-
__name(isValidEnumValue, "isValidEnumValue");
|
|
1515
|
+
chunkUSNT2KNT_cjs.__name(isValidEnumValue, "isValidEnumValue");
|
|
1664
1516
|
isValidEnumValue.__type = [
|
|
1665
1517
|
"enumDefinition",
|
|
1666
1518
|
"value",
|
|
@@ -1686,7 +1538,7 @@ function getValidEnumValue(enumDefinition, value, allowLabelsAsValue = false) {
|
|
|
1686
1538
|
return String(value);
|
|
1687
1539
|
}
|
|
1688
1540
|
}
|
|
1689
|
-
__name(getValidEnumValue, "getValidEnumValue");
|
|
1541
|
+
chunkUSNT2KNT_cjs.__name(getValidEnumValue, "getValidEnumValue");
|
|
1690
1542
|
getValidEnumValue.__type = [
|
|
1691
1543
|
"enumDefinition",
|
|
1692
1544
|
"value",
|
|
@@ -1696,10 +1548,9 @@ getValidEnumValue.__type = [
|
|
|
1696
1548
|
];
|
|
1697
1549
|
|
|
1698
1550
|
// ../../node_modules/.pnpm/@deepkit+core@1.0.5_patch_hash=8c3beca4372c6a8941162780ddd0f977ef3d461c2018f0809f86f416260ba440/node_modules/@deepkit/core/dist/esm/src/timer.js
|
|
1699
|
-
init_esm_shims();
|
|
1700
1551
|
var Timer = class {
|
|
1701
1552
|
static {
|
|
1702
|
-
__name(this, "Timer");
|
|
1553
|
+
chunkUSNT2KNT_cjs.__name(this, "Timer");
|
|
1703
1554
|
}
|
|
1704
1555
|
constructor() {
|
|
1705
1556
|
this.timeoutTimers = [];
|
|
@@ -1733,11 +1584,10 @@ Timer.__type = [
|
|
|
1733
1584
|
];
|
|
1734
1585
|
|
|
1735
1586
|
// ../../node_modules/.pnpm/@deepkit+core@1.0.5_patch_hash=8c3beca4372c6a8941162780ddd0f977ef3d461c2018f0809f86f416260ba440/node_modules/@deepkit/core/dist/esm/src/array.js
|
|
1736
|
-
init_esm_shims();
|
|
1737
1587
|
function arrayHasItem(array, item) {
|
|
1738
1588
|
return -1 !== array.indexOf(item);
|
|
1739
1589
|
}
|
|
1740
|
-
__name(arrayHasItem, "arrayHasItem");
|
|
1590
|
+
chunkUSNT2KNT_cjs.__name(arrayHasItem, "arrayHasItem");
|
|
1741
1591
|
arrayHasItem.__type = [
|
|
1742
1592
|
"array",
|
|
1743
1593
|
"item",
|
|
@@ -1749,7 +1599,7 @@ function arrayClear(array) {
|
|
|
1749
1599
|
array.length = 0;
|
|
1750
1600
|
return found;
|
|
1751
1601
|
}
|
|
1752
|
-
__name(arrayClear, "arrayClear");
|
|
1602
|
+
chunkUSNT2KNT_cjs.__name(arrayClear, "arrayClear");
|
|
1753
1603
|
arrayClear.__type = [
|
|
1754
1604
|
"array",
|
|
1755
1605
|
"arrayClear",
|
|
@@ -1763,7 +1613,7 @@ function arrayRemoveItem(array, item) {
|
|
|
1763
1613
|
}
|
|
1764
1614
|
return false;
|
|
1765
1615
|
}
|
|
1766
|
-
__name(arrayRemoveItem, "arrayRemoveItem");
|
|
1616
|
+
chunkUSNT2KNT_cjs.__name(arrayRemoveItem, "arrayRemoveItem");
|
|
1767
1617
|
arrayRemoveItem.__type = [
|
|
1768
1618
|
"array",
|
|
1769
1619
|
"item",
|
|
@@ -1786,7 +1636,7 @@ function arrayMoveItem(array, item, move) {
|
|
|
1786
1636
|
}
|
|
1787
1637
|
return array;
|
|
1788
1638
|
}
|
|
1789
|
-
__name(arrayMoveItem, "arrayMoveItem");
|
|
1639
|
+
chunkUSNT2KNT_cjs.__name(arrayMoveItem, "arrayMoveItem");
|
|
1790
1640
|
arrayMoveItem.__type = [
|
|
1791
1641
|
"array",
|
|
1792
1642
|
"item",
|
|
@@ -1796,16 +1646,15 @@ arrayMoveItem.__type = [
|
|
|
1796
1646
|
];
|
|
1797
1647
|
|
|
1798
1648
|
// ../../node_modules/.pnpm/@deepkit+core@1.0.5_patch_hash=8c3beca4372c6a8941162780ddd0f977ef3d461c2018f0809f86f416260ba440/node_modules/@deepkit/core/dist/esm/src/process-locker.js
|
|
1799
|
-
init_esm_shims();
|
|
1800
1649
|
function __assignType4(fn, args) {
|
|
1801
1650
|
fn.__type = args;
|
|
1802
1651
|
return fn;
|
|
1803
1652
|
}
|
|
1804
|
-
__name(__assignType4, "__assignType");
|
|
1653
|
+
chunkUSNT2KNT_cjs.__name(__assignType4, "__assignType");
|
|
1805
1654
|
var LOCKS = {};
|
|
1806
1655
|
var ProcessLock = class {
|
|
1807
1656
|
static {
|
|
1808
|
-
__name(this, "ProcessLock");
|
|
1657
|
+
chunkUSNT2KNT_cjs.__name(this, "ProcessLock");
|
|
1809
1658
|
}
|
|
1810
1659
|
constructor(id) {
|
|
1811
1660
|
this.id = id;
|
|
@@ -1822,7 +1671,7 @@ var ProcessLock = class {
|
|
|
1822
1671
|
], new Promise(__assignType4((resolve, reject) => {
|
|
1823
1672
|
if (LOCKS[this.id]) {
|
|
1824
1673
|
let timeoutId;
|
|
1825
|
-
const ourTake = /* @__PURE__ */ __name(() => {
|
|
1674
|
+
const ourTake = /* @__PURE__ */ chunkUSNT2KNT_cjs.__name(() => {
|
|
1826
1675
|
LOCKS[this.id].time = Date.now() / 1e3;
|
|
1827
1676
|
clearTimeout(timeoutId);
|
|
1828
1677
|
this.holding = true;
|
|
@@ -1915,7 +1764,7 @@ ProcessLock.__type = [
|
|
|
1915
1764
|
];
|
|
1916
1765
|
var ProcessLocker = class {
|
|
1917
1766
|
static {
|
|
1918
|
-
__name(this, "ProcessLocker");
|
|
1767
|
+
chunkUSNT2KNT_cjs.__name(this, "ProcessLocker");
|
|
1919
1768
|
}
|
|
1920
1769
|
/**
|
|
1921
1770
|
*
|
|
@@ -1956,7 +1805,7 @@ ProcessLocker.__type = [
|
|
|
1956
1805
|
];
|
|
1957
1806
|
var Mutex = class {
|
|
1958
1807
|
static {
|
|
1959
|
-
__name(this, "Mutex");
|
|
1808
|
+
chunkUSNT2KNT_cjs.__name(this, "Mutex");
|
|
1960
1809
|
}
|
|
1961
1810
|
unlock() {
|
|
1962
1811
|
if (this.resolver) this.resolver();
|
|
@@ -1986,10 +1835,9 @@ Mutex.__type = [
|
|
|
1986
1835
|
];
|
|
1987
1836
|
|
|
1988
1837
|
// ../../node_modules/.pnpm/@deepkit+core@1.0.5_patch_hash=8c3beca4372c6a8941162780ddd0f977ef3d461c2018f0809f86f416260ba440/node_modules/@deepkit/core/dist/esm/src/network.js
|
|
1989
|
-
init_esm_shims();
|
|
1990
1838
|
var ParsedHost = class {
|
|
1991
1839
|
static {
|
|
1992
|
-
__name(this, "ParsedHost");
|
|
1840
|
+
chunkUSNT2KNT_cjs.__name(this, "ParsedHost");
|
|
1993
1841
|
}
|
|
1994
1842
|
constructor() {
|
|
1995
1843
|
this.host = "127.0.0.1";
|
|
@@ -2060,7 +1908,7 @@ function parseHost(hostWithIpOrUnixPath) {
|
|
|
2060
1908
|
}
|
|
2061
1909
|
return parsedHost;
|
|
2062
1910
|
}
|
|
2063
|
-
__name(parseHost, "parseHost");
|
|
1911
|
+
chunkUSNT2KNT_cjs.__name(parseHost, "parseHost");
|
|
2064
1912
|
parseHost.__type = [
|
|
2065
1913
|
"hostWithIpOrUnixPath",
|
|
2066
1914
|
() => ParsedHost,
|
|
@@ -2068,23 +1916,19 @@ parseHost.__type = [
|
|
|
2068
1916
|
'P&2!P7"/#'
|
|
2069
1917
|
];
|
|
2070
1918
|
|
|
2071
|
-
// ../../node_modules/.pnpm/@deepkit+core@1.0.5_patch_hash=8c3beca4372c6a8941162780ddd0f977ef3d461c2018f0809f86f416260ba440/node_modules/@deepkit/core/dist/esm/src/compiler.js
|
|
2072
|
-
init_esm_shims();
|
|
2073
|
-
|
|
2074
1919
|
// ../../node_modules/.pnpm/@deepkit+core@1.0.5_patch_hash=8c3beca4372c6a8941162780ddd0f977ef3d461c2018f0809f86f416260ba440/node_modules/@deepkit/core/dist/esm/src/indent.js
|
|
2075
|
-
init_esm_shims();
|
|
2076
1920
|
function __assignType5(fn, args) {
|
|
2077
1921
|
fn.__type = args;
|
|
2078
1922
|
return fn;
|
|
2079
1923
|
}
|
|
2080
|
-
__name(__assignType5, "__assignType");
|
|
1924
|
+
chunkUSNT2KNT_cjs.__name(__assignType5, "__assignType");
|
|
2081
1925
|
var indent = __assignType5(function(n) {
|
|
2082
1926
|
function t(n2, t2) {
|
|
2083
1927
|
var e2, r2 = [];
|
|
2084
1928
|
for (e2 = 0; e2 < n2.length; e2++) r2.push(t2(n2[e2], e2, n2));
|
|
2085
1929
|
return r2;
|
|
2086
1930
|
}
|
|
2087
|
-
__name(t, "t");
|
|
1931
|
+
chunkUSNT2KNT_cjs.__name(t, "t");
|
|
2088
1932
|
t.__type = [
|
|
2089
1933
|
"n",
|
|
2090
1934
|
"t",
|
|
@@ -2095,7 +1939,7 @@ var indent = __assignType5(function(n) {
|
|
|
2095
1939
|
for (e2 = 0; e2 < n2.length; e2++) if (r2 = t2(n2[e2], e2, n2)) return r2;
|
|
2096
1940
|
return false;
|
|
2097
1941
|
}
|
|
2098
|
-
__name(e, "e");
|
|
1942
|
+
chunkUSNT2KNT_cjs.__name(e, "e");
|
|
2099
1943
|
e.__type = [
|
|
2100
1944
|
"n",
|
|
2101
1945
|
"t",
|
|
@@ -2109,7 +1953,7 @@ var indent = __assignType5(function(n) {
|
|
|
2109
1953
|
for (var a2 = 0; a2 < t2.length; a2++) t2[a2].a.indexOf(n2.toLowerCase()) !== -1 && e2.indexOf(t2[a2].b) === -1 && r2.push(t2[a2]);
|
|
2110
1954
|
return r2;
|
|
2111
1955
|
}
|
|
2112
|
-
__name(r, "r");
|
|
1956
|
+
chunkUSNT2KNT_cjs.__name(r, "r");
|
|
2113
1957
|
r.__type = [
|
|
2114
1958
|
"n",
|
|
2115
1959
|
"t",
|
|
@@ -2123,7 +1967,7 @@ var indent = __assignType5(function(n) {
|
|
|
2123
1967
|
var t2 = n3.rule, e2 = E + 1 + (t2.c || 0);
|
|
2124
1968
|
n3.line = e2, Z.push(n3), t2.d && z[e2]++, t2.e && (S = r(t2.e, g)), t2.f && F.push(null), t2.callback && t2.callback(n3, z, O);
|
|
2125
1969
|
}
|
|
2126
|
-
__name(h2, "h");
|
|
1970
|
+
chunkUSNT2KNT_cjs.__name(h2, "h");
|
|
2127
1971
|
h2.__type = [
|
|
2128
1972
|
"n",
|
|
2129
1973
|
"h",
|
|
@@ -2137,7 +1981,7 @@ var indent = __assignType5(function(n) {
|
|
|
2137
1981
|
}
|
|
2138
1982
|
e2.e && (S = null), e2.f && F.pop(), F[F.length - 1] = n3;
|
|
2139
1983
|
}
|
|
2140
|
-
__name(d2, "d");
|
|
1984
|
+
chunkUSNT2KNT_cjs.__name(d2, "d");
|
|
2141
1985
|
d2.__type = [
|
|
2142
1986
|
"d",
|
|
2143
1987
|
'P"/!'
|
|
@@ -2166,7 +2010,7 @@ var indent = __assignType5(function(n) {
|
|
|
2166
2010
|
lastMatch: o3
|
|
2167
2011
|
};
|
|
2168
2012
|
}
|
|
2169
|
-
__name(m2, "m");
|
|
2013
|
+
chunkUSNT2KNT_cjs.__name(m2, "m");
|
|
2170
2014
|
m2.__type = [
|
|
2171
2015
|
"n",
|
|
2172
2016
|
"r",
|
|
@@ -2184,7 +2028,7 @@ var indent = __assignType5(function(n) {
|
|
|
2184
2028
|
state: l2.state
|
|
2185
2029
|
};
|
|
2186
2030
|
}
|
|
2187
|
-
__name(j2, "j");
|
|
2031
|
+
chunkUSNT2KNT_cjs.__name(j2, "j");
|
|
2188
2032
|
j2.__type = [
|
|
2189
2033
|
"n",
|
|
2190
2034
|
"t",
|
|
@@ -2226,7 +2070,7 @@ var indent = __assignType5(function(n) {
|
|
|
2226
2070
|
for (M = 0; M < w; M++) 1 === A[M - 1] && 1 === A[M] ? B.push(k[M]) : (H += _[M] || 0, B.push((H > 0 ? c(y, H) : "") + k[M].trim()));
|
|
2227
2071
|
return B.join("\r\n");
|
|
2228
2072
|
}
|
|
2229
|
-
__name(a, "a");
|
|
2073
|
+
chunkUSNT2KNT_cjs.__name(a, "a");
|
|
2230
2074
|
a.__type = [
|
|
2231
2075
|
"n",
|
|
2232
2076
|
"a",
|
|
@@ -2237,7 +2081,7 @@ var indent = __assignType5(function(n) {
|
|
|
2237
2081
|
for (var t2 = new Array(n2), e2 = 0; e2 < n2; e2++) t2[e2] = [];
|
|
2238
2082
|
return t2;
|
|
2239
2083
|
}
|
|
2240
|
-
__name(l, "l");
|
|
2084
|
+
chunkUSNT2KNT_cjs.__name(l, "l");
|
|
2241
2085
|
l.__type = [
|
|
2242
2086
|
"n",
|
|
2243
2087
|
"l",
|
|
@@ -2248,7 +2092,7 @@ var indent = __assignType5(function(n) {
|
|
|
2248
2092
|
for (var e2 = new Array(t2), r2 = 0; r2 < t2; r2++) e2[r2] = 0;
|
|
2249
2093
|
return e2;
|
|
2250
2094
|
}
|
|
2251
|
-
__name(s, "s");
|
|
2095
|
+
chunkUSNT2KNT_cjs.__name(s, "s");
|
|
2252
2096
|
s.__type = [
|
|
2253
2097
|
"t",
|
|
2254
2098
|
"s",
|
|
@@ -2258,7 +2102,7 @@ var indent = __assignType5(function(n) {
|
|
|
2258
2102
|
for (var t2 = s(n2.length), e2 = 0; e2 < n2.length; e2++) t2[e2] = n2[e2];
|
|
2259
2103
|
return t2;
|
|
2260
2104
|
}
|
|
2261
|
-
__name(i, "i");
|
|
2105
|
+
chunkUSNT2KNT_cjs.__name(i, "i");
|
|
2262
2106
|
i.__type = [
|
|
2263
2107
|
"n",
|
|
2264
2108
|
"i",
|
|
@@ -2267,7 +2111,7 @@ var indent = __assignType5(function(n) {
|
|
|
2267
2111
|
function c(n2, t2) {
|
|
2268
2112
|
return new Array(t2 + 1).join(n2);
|
|
2269
2113
|
}
|
|
2270
|
-
__name(c, "c");
|
|
2114
|
+
chunkUSNT2KNT_cjs.__name(c, "c");
|
|
2271
2115
|
c.__type = [
|
|
2272
2116
|
"n",
|
|
2273
2117
|
"t",
|
|
@@ -2277,7 +2121,7 @@ var indent = __assignType5(function(n) {
|
|
|
2277
2121
|
function u(n2) {
|
|
2278
2122
|
return n2.replace(/\\(u[0-9A-Za-z]{4}|u\{[0-9A-Za-z]{1,6}]\}|x[0-9A-Za-z]{2}|.)/g, "0");
|
|
2279
2123
|
}
|
|
2280
|
-
__name(u, "u");
|
|
2124
|
+
chunkUSNT2KNT_cjs.__name(u, "u");
|
|
2281
2125
|
u.__type = [
|
|
2282
2126
|
"n",
|
|
2283
2127
|
"u",
|
|
@@ -2287,7 +2131,7 @@ var indent = __assignType5(function(n) {
|
|
|
2287
2131
|
var r2 = n2.lastMatch;
|
|
2288
2132
|
r2 && "=" === r2.rule.b && e2[n2.line].push(-r2.line);
|
|
2289
2133
|
}
|
|
2290
|
-
__name(o, "o");
|
|
2134
|
+
chunkUSNT2KNT_cjs.__name(o, "o");
|
|
2291
2135
|
o.__type = [
|
|
2292
2136
|
"n",
|
|
2293
2137
|
"t",
|
|
@@ -2305,7 +2149,7 @@ var indent = __assignType5(function(n) {
|
|
|
2305
2149
|
} else a2 = n2.search(/[^\s\r\n\{\(\[]/), e2.newline = a2 !== -1 && (a2 <= r2.relativeIndex || r2.relativeIndex === -1);
|
|
2306
2150
|
return null;
|
|
2307
2151
|
}
|
|
2308
|
-
__name(h, "h");
|
|
2152
|
+
chunkUSNT2KNT_cjs.__name(h, "h");
|
|
2309
2153
|
h.__type = [
|
|
2310
2154
|
"n",
|
|
2311
2155
|
"t",
|
|
@@ -2332,7 +2176,7 @@ var indent = __assignType5(function(n) {
|
|
|
2332
2176
|
state: r2
|
|
2333
2177
|
};
|
|
2334
2178
|
}
|
|
2335
|
-
__name(f, "f");
|
|
2179
|
+
chunkUSNT2KNT_cjs.__name(f, "f");
|
|
2336
2180
|
f.__type = [
|
|
2337
2181
|
"n",
|
|
2338
2182
|
"t",
|
|
@@ -2914,7 +2758,7 @@ var __\u03A9Partial = [
|
|
|
2914
2758
|
var indentCode = ("undefined" !== typeof process && process.env?.DEBUG || "").includes("deepkit");
|
|
2915
2759
|
var CompilerContext = class {
|
|
2916
2760
|
static {
|
|
2917
|
-
__name(this, "CompilerContext");
|
|
2761
|
+
chunkUSNT2KNT_cjs.__name(this, "CompilerContext");
|
|
2918
2762
|
}
|
|
2919
2763
|
constructor(config = {}) {
|
|
2920
2764
|
this.context = (Map.\u03A9 = [
|
|
@@ -3118,12 +2962,11 @@ CompilerContext.__type = [
|
|
|
3118
2962
|
];
|
|
3119
2963
|
|
|
3120
2964
|
// ../../node_modules/.pnpm/@deepkit+core@1.0.5_patch_hash=8c3beca4372c6a8941162780ddd0f977ef3d461c2018f0809f86f416260ba440/node_modules/@deepkit/core/dist/esm/src/string.js
|
|
3121
|
-
init_esm_shims();
|
|
3122
2965
|
function __assignType6(fn, args) {
|
|
3123
2966
|
fn.__type = args;
|
|
3124
2967
|
return fn;
|
|
3125
2968
|
}
|
|
3126
|
-
__name(__assignType6, "__assignType");
|
|
2969
|
+
chunkUSNT2KNT_cjs.__name(__assignType6, "__assignType");
|
|
3127
2970
|
function indent2(indentation, prefix = "") {
|
|
3128
2971
|
return __assignType6((str = "") => {
|
|
3129
2972
|
return " ".repeat(indentation) + str.replace(/\n/g, "\n" + " ".repeat(indentation) + prefix);
|
|
@@ -3134,7 +2977,7 @@ function indent2(indentation, prefix = "") {
|
|
|
3134
2977
|
'P&2!>""/#'
|
|
3135
2978
|
]);
|
|
3136
2979
|
}
|
|
3137
|
-
__name(indent2, "indent");
|
|
2980
|
+
chunkUSNT2KNT_cjs.__name(indent2, "indent");
|
|
3138
2981
|
indent2.__type = [
|
|
3139
2982
|
"indentation",
|
|
3140
2983
|
"prefix",
|
|
@@ -3145,7 +2988,7 @@ indent2.__type = [
|
|
|
3145
2988
|
function capitalize(string) {
|
|
3146
2989
|
return string.charAt(0).toUpperCase() + string.slice(1);
|
|
3147
2990
|
}
|
|
3148
|
-
__name(capitalize, "capitalize");
|
|
2991
|
+
chunkUSNT2KNT_cjs.__name(capitalize, "capitalize");
|
|
3149
2992
|
capitalize.__type = [
|
|
3150
2993
|
"string",
|
|
3151
2994
|
"capitalize",
|
|
@@ -3153,7 +2996,6 @@ capitalize.__type = [
|
|
|
3153
2996
|
];
|
|
3154
2997
|
|
|
3155
2998
|
// ../../node_modules/.pnpm/@deepkit+core@1.0.5_patch_hash=8c3beca4372c6a8941162780ddd0f977ef3d461c2018f0809f86f416260ba440/node_modules/@deepkit/core/dist/esm/src/emitter.js
|
|
3156
|
-
init_esm_shims();
|
|
3157
2999
|
var __\u03A9AsyncSubscriber = [
|
|
3158
3000
|
"T",
|
|
3159
3001
|
"event",
|
|
@@ -3183,7 +3025,7 @@ var __\u03A9EventSubscription = [
|
|
|
3183
3025
|
var asyncId = 0;
|
|
3184
3026
|
var EmitterEvent = class {
|
|
3185
3027
|
static {
|
|
3186
|
-
__name(this, "EmitterEvent");
|
|
3028
|
+
chunkUSNT2KNT_cjs.__name(this, "EmitterEvent");
|
|
3187
3029
|
}
|
|
3188
3030
|
constructor() {
|
|
3189
3031
|
this.id = asyncId++;
|
|
@@ -3224,7 +3066,7 @@ EmitterEvent.__type = [
|
|
|
3224
3066
|
];
|
|
3225
3067
|
var EventEmitter = class {
|
|
3226
3068
|
static {
|
|
3227
|
-
__name(this, "EventEmitter");
|
|
3069
|
+
chunkUSNT2KNT_cjs.__name(this, "EventEmitter");
|
|
3228
3070
|
}
|
|
3229
3071
|
constructor(parent) {
|
|
3230
3072
|
this.parent = parent;
|
|
@@ -3233,7 +3075,7 @@ var EventEmitter = class {
|
|
|
3233
3075
|
subscribe(callback) {
|
|
3234
3076
|
this.subscribers.push(callback);
|
|
3235
3077
|
return {
|
|
3236
|
-
unsubscribe: /* @__PURE__ */ __name(() => {
|
|
3078
|
+
unsubscribe: /* @__PURE__ */ chunkUSNT2KNT_cjs.__name(() => {
|
|
3237
3079
|
arrayRemoveItem(this.subscribers, callback);
|
|
3238
3080
|
}, "unsubscribe")
|
|
3239
3081
|
};
|
|
@@ -3272,7 +3114,7 @@ EventEmitter.__type = [
|
|
|
3272
3114
|
];
|
|
3273
3115
|
var AsyncEventEmitter = class {
|
|
3274
3116
|
static {
|
|
3275
|
-
__name(this, "AsyncEventEmitter");
|
|
3117
|
+
chunkUSNT2KNT_cjs.__name(this, "AsyncEventEmitter");
|
|
3276
3118
|
}
|
|
3277
3119
|
constructor(parent) {
|
|
3278
3120
|
this.parent = parent;
|
|
@@ -3281,7 +3123,7 @@ var AsyncEventEmitter = class {
|
|
|
3281
3123
|
subscribe(callback) {
|
|
3282
3124
|
this.subscribers.push(callback);
|
|
3283
3125
|
return {
|
|
3284
|
-
unsubscribe: /* @__PURE__ */ __name(() => {
|
|
3126
|
+
unsubscribe: /* @__PURE__ */ chunkUSNT2KNT_cjs.__name(() => {
|
|
3285
3127
|
arrayRemoveItem(this.subscribers, callback);
|
|
3286
3128
|
}, "unsubscribe")
|
|
3287
3129
|
};
|
|
@@ -3320,12 +3162,11 @@ AsyncEventEmitter.__type = [
|
|
|
3320
3162
|
];
|
|
3321
3163
|
|
|
3322
3164
|
// ../../node_modules/.pnpm/@deepkit+core@1.0.5_patch_hash=8c3beca4372c6a8941162780ddd0f977ef3d461c2018f0809f86f416260ba440/node_modules/@deepkit/core/dist/esm/src/reactive.js
|
|
3323
|
-
init_esm_shims();
|
|
3324
3165
|
function __assignType7(fn, args) {
|
|
3325
3166
|
fn.__type = args;
|
|
3326
3167
|
return fn;
|
|
3327
3168
|
}
|
|
3328
|
-
__name(__assignType7, "__assignType");
|
|
3169
|
+
chunkUSNT2KNT_cjs.__name(__assignType7, "__assignType");
|
|
3329
3170
|
var nextTick = typeof requestAnimationFrame !== "undefined" ? __assignType7((cb) => requestAnimationFrame(cb), [
|
|
3330
3171
|
"",
|
|
3331
3172
|
"cb",
|
|
@@ -3362,7 +3203,7 @@ function throttleTime(call, cps = 5) {
|
|
|
3362
3203
|
nextTick(tick);
|
|
3363
3204
|
}
|
|
3364
3205
|
}
|
|
3365
|
-
__name(tick, "tick");
|
|
3206
|
+
chunkUSNT2KNT_cjs.__name(tick, "tick");
|
|
3366
3207
|
tick.__type = [
|
|
3367
3208
|
"tick",
|
|
3368
3209
|
'P"/!'
|
|
@@ -3377,7 +3218,7 @@ function throttleTime(call, cps = 5) {
|
|
|
3377
3218
|
'P"@2!"/"'
|
|
3378
3219
|
]);
|
|
3379
3220
|
}
|
|
3380
|
-
__name(throttleTime, "throttleTime");
|
|
3221
|
+
chunkUSNT2KNT_cjs.__name(throttleTime, "throttleTime");
|
|
3381
3222
|
throttleTime.__type = [
|
|
3382
3223
|
() => Function,
|
|
3383
3224
|
"call",
|
|
@@ -3401,7 +3242,7 @@ function bufferedGate(callback) {
|
|
|
3401
3242
|
q.splice(0, q.length);
|
|
3402
3243
|
});
|
|
3403
3244
|
return {
|
|
3404
|
-
activate: /* @__PURE__ */ __name(() => {
|
|
3245
|
+
activate: /* @__PURE__ */ chunkUSNT2KNT_cjs.__name(() => {
|
|
3405
3246
|
activated = true;
|
|
3406
3247
|
throttled();
|
|
3407
3248
|
}, "activate"),
|
|
@@ -3419,7 +3260,7 @@ function bufferedGate(callback) {
|
|
|
3419
3260
|
])
|
|
3420
3261
|
};
|
|
3421
3262
|
}
|
|
3422
|
-
__name(bufferedGate, "bufferedGate");
|
|
3263
|
+
chunkUSNT2KNT_cjs.__name(bufferedGate, "bufferedGate");
|
|
3423
3264
|
bufferedGate.__type = [
|
|
3424
3265
|
"arg",
|
|
3425
3266
|
"",
|
|
@@ -3429,7 +3270,6 @@ bufferedGate.__type = [
|
|
|
3429
3270
|
];
|
|
3430
3271
|
|
|
3431
3272
|
// ../../node_modules/.pnpm/@deepkit+core@1.0.5_patch_hash=8c3beca4372c6a8941162780ddd0f977ef3d461c2018f0809f86f416260ba440/node_modules/@deepkit/core/dist/esm/src/reflection.js
|
|
3432
|
-
init_esm_shims();
|
|
3433
3273
|
var COMMENTS = /((\/\/.*$)|(\/\*[\s\S]*?\*\/))/mg;
|
|
3434
3274
|
var DEFAULT_PARAMS = /=[^,]+/mg;
|
|
3435
3275
|
var FAT_ARROWS = /=>.*$/mg;
|
|
@@ -3447,7 +3287,7 @@ function extractParameters(fn) {
|
|
|
3447
3287
|
return fn.slice(fn.indexOf("(") + 1, fn.indexOf("{")).match(/([^\(\)\{\}\s,]+)/g) || [];
|
|
3448
3288
|
}
|
|
3449
3289
|
}
|
|
3450
|
-
__name(extractParameters, "extractParameters");
|
|
3290
|
+
chunkUSNT2KNT_cjs.__name(extractParameters, "extractParameters");
|
|
3451
3291
|
extractParameters.__type = [
|
|
3452
3292
|
() => Function,
|
|
3453
3293
|
() => __\u03A9ClassType,
|
|
@@ -3475,7 +3315,7 @@ function extractMethodBody(classCode, name) {
|
|
|
3475
3315
|
}
|
|
3476
3316
|
return methodCode;
|
|
3477
3317
|
}
|
|
3478
|
-
__name(extractMethodBody, "extractMethodBody");
|
|
3318
|
+
chunkUSNT2KNT_cjs.__name(extractMethodBody, "extractMethodBody");
|
|
3479
3319
|
extractMethodBody.__type = [
|
|
3480
3320
|
"classCode",
|
|
3481
3321
|
"name",
|
|
@@ -3517,7 +3357,7 @@ function removeStrings(code) {
|
|
|
3517
3357
|
}
|
|
3518
3358
|
return result;
|
|
3519
3359
|
}
|
|
3520
|
-
__name(removeStrings, "removeStrings");
|
|
3360
|
+
chunkUSNT2KNT_cjs.__name(removeStrings, "removeStrings");
|
|
3521
3361
|
removeStrings.__type = [
|
|
3522
3362
|
"code",
|
|
3523
3363
|
"removeStrings",
|
|
@@ -3525,16 +3365,15 @@ removeStrings.__type = [
|
|
|
3525
3365
|
];
|
|
3526
3366
|
|
|
3527
3367
|
// ../../node_modules/.pnpm/@deepkit+core@1.0.5_patch_hash=8c3beca4372c6a8941162780ddd0f977ef3d461c2018f0809f86f416260ba440/node_modules/@deepkit/core/dist/esm/src/url.js
|
|
3528
|
-
init_esm_shims();
|
|
3529
3368
|
function __assignType8(fn, args) {
|
|
3530
3369
|
fn.__type = args;
|
|
3531
3370
|
return fn;
|
|
3532
3371
|
}
|
|
3533
|
-
__name(__assignType8, "__assignType");
|
|
3372
|
+
chunkUSNT2KNT_cjs.__name(__assignType8, "__assignType");
|
|
3534
3373
|
function removeSlash(v) {
|
|
3535
3374
|
return v.replace(/(^\/+)|(\/+$)/g, "");
|
|
3536
3375
|
}
|
|
3537
|
-
__name(removeSlash, "removeSlash");
|
|
3376
|
+
chunkUSNT2KNT_cjs.__name(removeSlash, "removeSlash");
|
|
3538
3377
|
removeSlash.__type = [
|
|
3539
3378
|
"v",
|
|
3540
3379
|
"removeSlash",
|
|
@@ -3554,7 +3393,7 @@ function urlJoin(...path) {
|
|
|
3554
3393
|
'P"2!"/"'
|
|
3555
3394
|
])).join("/") + (trailingSlash ? "/" : "");
|
|
3556
3395
|
}
|
|
3557
|
-
__name(urlJoin, "urlJoin");
|
|
3396
|
+
chunkUSNT2KNT_cjs.__name(urlJoin, "urlJoin");
|
|
3558
3397
|
urlJoin.__type = [
|
|
3559
3398
|
"path",
|
|
3560
3399
|
"urlJoin",
|
|
@@ -3562,7 +3401,6 @@ urlJoin.__type = [
|
|
|
3562
3401
|
];
|
|
3563
3402
|
|
|
3564
3403
|
// ../../node_modules/.pnpm/@deepkit+core@1.0.5_patch_hash=8c3beca4372c6a8941162780ddd0f977ef3d461c2018f0809f86f416260ba440/node_modules/@deepkit/core/dist/esm/src/types.js
|
|
3565
|
-
init_esm_shims();
|
|
3566
3404
|
var __\u03A9TypeAnnotation = [
|
|
3567
3405
|
"T",
|
|
3568
3406
|
"Options",
|
|
@@ -3585,12 +3423,11 @@ var __\u03A9Inject = [
|
|
|
3585
3423
|
];
|
|
3586
3424
|
|
|
3587
3425
|
// ../../node_modules/.pnpm/@deepkit+core@1.0.5_patch_hash=8c3beca4372c6a8941162780ddd0f977ef3d461c2018f0809f86f416260ba440/node_modules/@deepkit/core/dist/esm/src/buffer.js
|
|
3588
|
-
init_esm_shims();
|
|
3589
3426
|
function __assignType9(fn, args) {
|
|
3590
3427
|
fn.__type = args;
|
|
3591
3428
|
return fn;
|
|
3592
3429
|
}
|
|
3593
|
-
__name(__assignType9, "__assignType");
|
|
3430
|
+
chunkUSNT2KNT_cjs.__name(__assignType9, "__assignType");
|
|
3594
3431
|
var createBuffer = "undefined" !== typeof Buffer && "function" === typeof Buffer.allocUnsafe ? Buffer.allocUnsafe : __assignType9((size2) => new Uint8Array(size2), [
|
|
3595
3432
|
"size",
|
|
3596
3433
|
"",
|
|
@@ -3609,7 +3446,7 @@ function bufferConcat(chunks, length) {
|
|
|
3609
3446
|
}
|
|
3610
3447
|
return result;
|
|
3611
3448
|
}
|
|
3612
|
-
__name(bufferConcat, "bufferConcat");
|
|
3449
|
+
chunkUSNT2KNT_cjs.__name(bufferConcat, "bufferConcat");
|
|
3613
3450
|
bufferConcat.__type = [
|
|
3614
3451
|
"chunks",
|
|
3615
3452
|
"length",
|
|
@@ -3630,7 +3467,7 @@ function bufferToString(buffer) {
|
|
|
3630
3467
|
if ("string" === typeof buffer) return buffer;
|
|
3631
3468
|
return uint8ArrayToUtf8(buffer);
|
|
3632
3469
|
}
|
|
3633
|
-
__name(bufferToString, "bufferToString");
|
|
3470
|
+
chunkUSNT2KNT_cjs.__name(bufferToString, "bufferToString");
|
|
3634
3471
|
bufferToString.__type = [
|
|
3635
3472
|
"buffer",
|
|
3636
3473
|
"bufferToString",
|
|
@@ -3645,7 +3482,7 @@ function nativeBase64ToUint8Array(base64) {
|
|
|
3645
3482
|
}
|
|
3646
3483
|
return array;
|
|
3647
3484
|
}
|
|
3648
|
-
__name(nativeBase64ToUint8Array, "nativeBase64ToUint8Array");
|
|
3485
|
+
chunkUSNT2KNT_cjs.__name(nativeBase64ToUint8Array, "nativeBase64ToUint8Array");
|
|
3649
3486
|
nativeBase64ToUint8Array.__type = [
|
|
3650
3487
|
"base64",
|
|
3651
3488
|
"nativeBase64ToUint8Array",
|
|
@@ -3658,18 +3495,17 @@ var base64ToUint8Array = "undefined" === typeof Buffer ? nativeBase64ToUint8Arra
|
|
|
3658
3495
|
]);
|
|
3659
3496
|
|
|
3660
3497
|
// ../../node_modules/.pnpm/@deepkit+core@1.0.5_patch_hash=8c3beca4372c6a8941162780ddd0f977ef3d461c2018f0809f86f416260ba440/node_modules/@deepkit/core/dist/esm/src/path.js
|
|
3661
|
-
init_esm_shims();
|
|
3662
3498
|
function __assignType10(fn, args) {
|
|
3663
3499
|
fn.__type = args;
|
|
3664
3500
|
return fn;
|
|
3665
3501
|
}
|
|
3666
|
-
__name(__assignType10, "__assignType");
|
|
3502
|
+
chunkUSNT2KNT_cjs.__name(__assignType10, "__assignType");
|
|
3667
3503
|
function pathNormalize(path) {
|
|
3668
3504
|
path = path[0] !== "/" ? "/" + path : path;
|
|
3669
3505
|
path = path.length > 1 && path[path.length - 1] === "/" ? path.slice(0, -1) : path;
|
|
3670
3506
|
return path.replace(/\/+/g, "/");
|
|
3671
3507
|
}
|
|
3672
|
-
__name(pathNormalize, "pathNormalize");
|
|
3508
|
+
chunkUSNT2KNT_cjs.__name(pathNormalize, "pathNormalize");
|
|
3673
3509
|
pathNormalize.__type = [
|
|
3674
3510
|
"path",
|
|
3675
3511
|
"pathNormalize",
|
|
@@ -3680,7 +3516,7 @@ function pathDirectory(path) {
|
|
|
3680
3516
|
const lastSlash = path.lastIndexOf("/");
|
|
3681
3517
|
return lastSlash <= 0 ? "/" : path.slice(0, lastSlash);
|
|
3682
3518
|
}
|
|
3683
|
-
__name(pathDirectory, "pathDirectory");
|
|
3519
|
+
chunkUSNT2KNT_cjs.__name(pathDirectory, "pathDirectory");
|
|
3684
3520
|
pathDirectory.__type = [
|
|
3685
3521
|
"path",
|
|
3686
3522
|
"pathDirectory",
|
|
@@ -3690,7 +3526,7 @@ function pathBasename(path) {
|
|
|
3690
3526
|
const lastSlash = path.lastIndexOf("/");
|
|
3691
3527
|
return lastSlash === -1 ? path : path.slice(lastSlash + 1);
|
|
3692
3528
|
}
|
|
3693
|
-
__name(pathBasename, "pathBasename");
|
|
3529
|
+
chunkUSNT2KNT_cjs.__name(pathBasename, "pathBasename");
|
|
3694
3530
|
pathBasename.__type = [
|
|
3695
3531
|
"path",
|
|
3696
3532
|
"pathBasename",
|
|
@@ -3701,7 +3537,7 @@ function pathExtension(path) {
|
|
|
3701
3537
|
const lastDot = basename.lastIndexOf(".");
|
|
3702
3538
|
return lastDot === -1 ? "" : basename.slice(lastDot + 1);
|
|
3703
3539
|
}
|
|
3704
|
-
__name(pathExtension, "pathExtension");
|
|
3540
|
+
chunkUSNT2KNT_cjs.__name(pathExtension, "pathExtension");
|
|
3705
3541
|
pathExtension.__type = [
|
|
3706
3542
|
"path",
|
|
3707
3543
|
"pathExtension",
|
|
@@ -3718,14 +3554,137 @@ function pathJoin(...paths) {
|
|
|
3718
3554
|
'P"2!"/"'
|
|
3719
3555
|
])).join("/");
|
|
3720
3556
|
}
|
|
3721
|
-
__name(pathJoin, "pathJoin");
|
|
3557
|
+
chunkUSNT2KNT_cjs.__name(pathJoin, "pathJoin");
|
|
3722
3558
|
pathJoin.__type = [
|
|
3723
3559
|
"paths",
|
|
3724
3560
|
"pathJoin",
|
|
3725
3561
|
'P&@2!&/"'
|
|
3726
3562
|
];
|
|
3727
3563
|
|
|
3728
|
-
|
|
3729
|
-
|
|
3730
|
-
|
|
3731
|
-
|
|
3564
|
+
exports.AsyncEventEmitter = AsyncEventEmitter;
|
|
3565
|
+
exports.AsyncFunction = AsyncFunction;
|
|
3566
|
+
exports.CompilerContext = CompilerContext;
|
|
3567
|
+
exports.CustomError = CustomError;
|
|
3568
|
+
exports.EmitterEvent = EmitterEvent;
|
|
3569
|
+
exports.EventEmitter = EventEmitter;
|
|
3570
|
+
exports.Mutex = Mutex;
|
|
3571
|
+
exports.ParsedHost = ParsedHost;
|
|
3572
|
+
exports.ProcessLock = ProcessLock;
|
|
3573
|
+
exports.ProcessLocker = ProcessLocker;
|
|
3574
|
+
exports.Timer = Timer;
|
|
3575
|
+
exports.__ΩAbstractClassType = __ΩAbstractClassType;
|
|
3576
|
+
exports.__ΩAsyncEventSubscription = __ΩAsyncEventSubscription;
|
|
3577
|
+
exports.__ΩClassType = __ΩClassType;
|
|
3578
|
+
exports.__ΩCustomError = __ΩCustomError;
|
|
3579
|
+
exports.__ΩEventSubscription = __ΩEventSubscription;
|
|
3580
|
+
exports.__ΩExtractClassType = __ΩExtractClassType;
|
|
3581
|
+
exports.__ΩInject = __ΩInject;
|
|
3582
|
+
exports.__ΩInjectMeta = __ΩInjectMeta;
|
|
3583
|
+
exports.__ΩTypeAnnotation = __ΩTypeAnnotation;
|
|
3584
|
+
exports.appendObject = appendObject;
|
|
3585
|
+
exports.applyDefaults = applyDefaults;
|
|
3586
|
+
exports.arrayClear = arrayClear;
|
|
3587
|
+
exports.arrayHasItem = arrayHasItem;
|
|
3588
|
+
exports.arrayMoveItem = arrayMoveItem;
|
|
3589
|
+
exports.arrayRemoveItem = arrayRemoveItem;
|
|
3590
|
+
exports.assertDefined = assertDefined;
|
|
3591
|
+
exports.assertInstanceOf = assertInstanceOf;
|
|
3592
|
+
exports.asyncOperation = asyncOperation;
|
|
3593
|
+
exports.average = average;
|
|
3594
|
+
exports.base64ToUint8Array = base64ToUint8Array;
|
|
3595
|
+
exports.bufferConcat = bufferConcat;
|
|
3596
|
+
exports.bufferToString = bufferToString;
|
|
3597
|
+
exports.bufferedGate = bufferedGate;
|
|
3598
|
+
exports.capitalize = capitalize;
|
|
3599
|
+
exports.changeClass = changeClass;
|
|
3600
|
+
exports.clearTick = clearTick;
|
|
3601
|
+
exports.collectForMicrotask = collectForMicrotask;
|
|
3602
|
+
exports.copy = copy;
|
|
3603
|
+
exports.createBuffer = createBuffer;
|
|
3604
|
+
exports.createDynamicClass = createDynamicClass;
|
|
3605
|
+
exports.createStack = createStack;
|
|
3606
|
+
exports.deletePathValue = deletePathValue;
|
|
3607
|
+
exports.each = each;
|
|
3608
|
+
exports.eachKey = eachKey;
|
|
3609
|
+
exports.eachPair = eachPair;
|
|
3610
|
+
exports.empty = empty;
|
|
3611
|
+
exports.ensureError = ensureError;
|
|
3612
|
+
exports.escapeRegExp = escapeRegExp;
|
|
3613
|
+
exports.extractMethodBody = extractMethodBody;
|
|
3614
|
+
exports.extractParameters = extractParameters;
|
|
3615
|
+
exports.first = first;
|
|
3616
|
+
exports.firstKey = firstKey;
|
|
3617
|
+
exports.fixAsyncOperation = fixAsyncOperation;
|
|
3618
|
+
exports.formatError = formatError;
|
|
3619
|
+
exports.forwardTypeArguments = forwardTypeArguments;
|
|
3620
|
+
exports.getClassName = getClassName;
|
|
3621
|
+
exports.getClassPropertyName = getClassPropertyName;
|
|
3622
|
+
exports.getClassTypeFromInstance = getClassTypeFromInstance;
|
|
3623
|
+
exports.getCurrentFileName = getCurrentFileName;
|
|
3624
|
+
exports.getEnumKeyLabelMap = getEnumKeyLabelMap;
|
|
3625
|
+
exports.getEnumLabel = getEnumLabel;
|
|
3626
|
+
exports.getEnumLabels = getEnumLabels;
|
|
3627
|
+
exports.getEnumValues = getEnumValues;
|
|
3628
|
+
exports.getInheritanceChain = getInheritanceChain;
|
|
3629
|
+
exports.getObjectKeysSize = getObjectKeysSize;
|
|
3630
|
+
exports.getParentClass = getParentClass;
|
|
3631
|
+
exports.getPathValue = getPathValue;
|
|
3632
|
+
exports.getValidEnumValue = getValidEnumValue;
|
|
3633
|
+
exports.hasProperty = hasProperty;
|
|
3634
|
+
exports.humanBytes = humanBytes;
|
|
3635
|
+
exports.identifyType = identifyType;
|
|
3636
|
+
exports.inDebugMode = inDebugMode;
|
|
3637
|
+
exports.indent = indent2;
|
|
3638
|
+
exports.indexOf = indexOf;
|
|
3639
|
+
exports.isArray = isArray;
|
|
3640
|
+
exports.isAsyncFunction = isAsyncFunction;
|
|
3641
|
+
exports.isClass = isClass;
|
|
3642
|
+
exports.isClassInstance = isClassInstance;
|
|
3643
|
+
exports.isConstructable = isConstructable;
|
|
3644
|
+
exports.isFunction = isFunction;
|
|
3645
|
+
exports.isGlobalClass = isGlobalClass;
|
|
3646
|
+
exports.isInteger = isInteger;
|
|
3647
|
+
exports.isIterable = isIterable;
|
|
3648
|
+
exports.isNull = isNull;
|
|
3649
|
+
exports.isNumber = isNumber;
|
|
3650
|
+
exports.isNumeric = isNumeric;
|
|
3651
|
+
exports.isObject = isObject;
|
|
3652
|
+
exports.isObjectLiteral = isObjectLiteral;
|
|
3653
|
+
exports.isPlainObject = isPlainObject;
|
|
3654
|
+
exports.isPromise = isPromise;
|
|
3655
|
+
exports.isPrototypeOfBase = isPrototypeOfBase;
|
|
3656
|
+
exports.isSet = isSet;
|
|
3657
|
+
exports.isString = isString;
|
|
3658
|
+
exports.isUndefined = isUndefined;
|
|
3659
|
+
exports.isValidEnumValue = isValidEnumValue;
|
|
3660
|
+
exports.iterableSize = iterableSize;
|
|
3661
|
+
exports.last = last;
|
|
3662
|
+
exports.lastKey = lastKey;
|
|
3663
|
+
exports.log = log;
|
|
3664
|
+
exports.mergePromiseStack = mergePromiseStack;
|
|
3665
|
+
exports.mergeStack = mergeStack;
|
|
3666
|
+
exports.nativeBase64ToUint8Array = nativeBase64ToUint8Array;
|
|
3667
|
+
exports.nextTick = nextTick;
|
|
3668
|
+
exports.parseHost = parseHost;
|
|
3669
|
+
exports.pathBasename = pathBasename;
|
|
3670
|
+
exports.pathDirectory = pathDirectory;
|
|
3671
|
+
exports.pathExtension = pathExtension;
|
|
3672
|
+
exports.pathJoin = pathJoin;
|
|
3673
|
+
exports.pathNormalize = pathNormalize;
|
|
3674
|
+
exports.prependObjectKeys = prependObjectKeys;
|
|
3675
|
+
exports.prettyPrintObject = prettyPrintObject;
|
|
3676
|
+
exports.range = range;
|
|
3677
|
+
exports.rangeArray = rangeArray;
|
|
3678
|
+
exports.removeStrings = removeStrings;
|
|
3679
|
+
exports.setPathValue = setPathValue;
|
|
3680
|
+
exports.singleStack = singleStack;
|
|
3681
|
+
exports.size = size;
|
|
3682
|
+
exports.sleep = sleep;
|
|
3683
|
+
exports.stack = stack;
|
|
3684
|
+
exports.stringifyValueWithType = stringifyValueWithType;
|
|
3685
|
+
exports.throttleTime = throttleTime;
|
|
3686
|
+
exports.time = time;
|
|
3687
|
+
exports.toFastProperties = toFastProperties;
|
|
3688
|
+
exports.uint8ArrayToUtf8 = uint8ArrayToUtf8;
|
|
3689
|
+
exports.urlJoin = urlJoin;
|
|
3690
|
+
exports.zip = zip;
|