@h3ravel/config 1.3.6 → 1.3.7
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/{chunk-CBB2BQP7.js → chunk-Q3X4OHHO.js} +388 -523
- package/dist/chunk-Q3X4OHHO.js.map +1 -0
- package/dist/{dist-NUKJQ5SC.js → dist-SOP64AJE.js} +6 -4
- package/dist/index.cjs +391 -525
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +5 -5
- package/dist/index.js.map +1 -1
- package/package.json +6 -6
- package/dist/chunk-CBB2BQP7.js.map +0 -1
- /package/dist/{dist-NUKJQ5SC.js.map → dist-SOP64AJE.js.map} +0 -0
|
@@ -8,8 +8,7 @@ var __name = (target, value) => __defProp(target, "name", { value, configurable:
|
|
|
8
8
|
var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
|
|
9
9
|
get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
|
|
10
10
|
}) : x)(function(x) {
|
|
11
|
-
if (typeof require !== "undefined")
|
|
12
|
-
return require.apply(this, arguments);
|
|
11
|
+
if (typeof require !== "undefined") return require.apply(this, arguments);
|
|
13
12
|
throw Error('Dynamic require of "' + x + '" is not supported');
|
|
14
13
|
});
|
|
15
14
|
var __commonJS = (cb, mod) => function __require2() {
|
|
@@ -59,8 +58,7 @@ var require_Reflect = __commonJS({
|
|
|
59
58
|
writable: true,
|
|
60
59
|
value
|
|
61
60
|
});
|
|
62
|
-
if (previous)
|
|
63
|
-
previous(key, value);
|
|
61
|
+
if (previous) previous(key, value);
|
|
64
62
|
};
|
|
65
63
|
}
|
|
66
64
|
__name(makeExporter, "makeExporter");
|
|
@@ -123,21 +121,15 @@ var require_Reflect = __commonJS({
|
|
|
123
121
|
var metadataProvider = CreateMetadataProvider(metadataRegistry);
|
|
124
122
|
function decorate(decorators, target, propertyKey, attributes) {
|
|
125
123
|
if (!IsUndefined(propertyKey)) {
|
|
126
|
-
if (!IsArray(decorators))
|
|
127
|
-
|
|
128
|
-
if (!IsObject(
|
|
129
|
-
|
|
130
|
-
if (!IsObject(attributes) && !IsUndefined(attributes) && !IsNull(attributes))
|
|
131
|
-
throw new TypeError();
|
|
132
|
-
if (IsNull(attributes))
|
|
133
|
-
attributes = void 0;
|
|
124
|
+
if (!IsArray(decorators)) throw new TypeError();
|
|
125
|
+
if (!IsObject(target)) throw new TypeError();
|
|
126
|
+
if (!IsObject(attributes) && !IsUndefined(attributes) && !IsNull(attributes)) throw new TypeError();
|
|
127
|
+
if (IsNull(attributes)) attributes = void 0;
|
|
134
128
|
propertyKey = ToPropertyKey(propertyKey);
|
|
135
129
|
return DecorateProperty(decorators, target, propertyKey, attributes);
|
|
136
130
|
} else {
|
|
137
|
-
if (!IsArray(decorators))
|
|
138
|
-
|
|
139
|
-
if (!IsConstructor(target))
|
|
140
|
-
throw new TypeError();
|
|
131
|
+
if (!IsArray(decorators)) throw new TypeError();
|
|
132
|
+
if (!IsConstructor(target)) throw new TypeError();
|
|
141
133
|
return DecorateConstructor(decorators, target);
|
|
142
134
|
}
|
|
143
135
|
}
|
|
@@ -145,10 +137,8 @@ var require_Reflect = __commonJS({
|
|
|
145
137
|
exporter("decorate", decorate);
|
|
146
138
|
function metadata(metadataKey, metadataValue) {
|
|
147
139
|
function decorator(target, propertyKey) {
|
|
148
|
-
if (!IsObject(target))
|
|
149
|
-
|
|
150
|
-
if (!IsUndefined(propertyKey) && !IsPropertyKey(propertyKey))
|
|
151
|
-
throw new TypeError();
|
|
140
|
+
if (!IsObject(target)) throw new TypeError();
|
|
141
|
+
if (!IsUndefined(propertyKey) && !IsPropertyKey(propertyKey)) throw new TypeError();
|
|
152
142
|
OrdinaryDefineOwnMetadata(metadataKey, metadataValue, target, propertyKey);
|
|
153
143
|
}
|
|
154
144
|
__name(decorator, "decorator");
|
|
@@ -157,85 +147,66 @@ var require_Reflect = __commonJS({
|
|
|
157
147
|
__name(metadata, "metadata");
|
|
158
148
|
exporter("metadata", metadata);
|
|
159
149
|
function defineMetadata(metadataKey, metadataValue, target, propertyKey) {
|
|
160
|
-
if (!IsObject(target))
|
|
161
|
-
|
|
162
|
-
if (!IsUndefined(propertyKey))
|
|
163
|
-
propertyKey = ToPropertyKey(propertyKey);
|
|
150
|
+
if (!IsObject(target)) throw new TypeError();
|
|
151
|
+
if (!IsUndefined(propertyKey)) propertyKey = ToPropertyKey(propertyKey);
|
|
164
152
|
return OrdinaryDefineOwnMetadata(metadataKey, metadataValue, target, propertyKey);
|
|
165
153
|
}
|
|
166
154
|
__name(defineMetadata, "defineMetadata");
|
|
167
155
|
exporter("defineMetadata", defineMetadata);
|
|
168
156
|
function hasMetadata(metadataKey, target, propertyKey) {
|
|
169
|
-
if (!IsObject(target))
|
|
170
|
-
|
|
171
|
-
if (!IsUndefined(propertyKey))
|
|
172
|
-
propertyKey = ToPropertyKey(propertyKey);
|
|
157
|
+
if (!IsObject(target)) throw new TypeError();
|
|
158
|
+
if (!IsUndefined(propertyKey)) propertyKey = ToPropertyKey(propertyKey);
|
|
173
159
|
return OrdinaryHasMetadata(metadataKey, target, propertyKey);
|
|
174
160
|
}
|
|
175
161
|
__name(hasMetadata, "hasMetadata");
|
|
176
162
|
exporter("hasMetadata", hasMetadata);
|
|
177
163
|
function hasOwnMetadata(metadataKey, target, propertyKey) {
|
|
178
|
-
if (!IsObject(target))
|
|
179
|
-
|
|
180
|
-
if (!IsUndefined(propertyKey))
|
|
181
|
-
propertyKey = ToPropertyKey(propertyKey);
|
|
164
|
+
if (!IsObject(target)) throw new TypeError();
|
|
165
|
+
if (!IsUndefined(propertyKey)) propertyKey = ToPropertyKey(propertyKey);
|
|
182
166
|
return OrdinaryHasOwnMetadata(metadataKey, target, propertyKey);
|
|
183
167
|
}
|
|
184
168
|
__name(hasOwnMetadata, "hasOwnMetadata");
|
|
185
169
|
exporter("hasOwnMetadata", hasOwnMetadata);
|
|
186
170
|
function getMetadata(metadataKey, target, propertyKey) {
|
|
187
|
-
if (!IsObject(target))
|
|
188
|
-
|
|
189
|
-
if (!IsUndefined(propertyKey))
|
|
190
|
-
propertyKey = ToPropertyKey(propertyKey);
|
|
171
|
+
if (!IsObject(target)) throw new TypeError();
|
|
172
|
+
if (!IsUndefined(propertyKey)) propertyKey = ToPropertyKey(propertyKey);
|
|
191
173
|
return OrdinaryGetMetadata(metadataKey, target, propertyKey);
|
|
192
174
|
}
|
|
193
175
|
__name(getMetadata, "getMetadata");
|
|
194
176
|
exporter("getMetadata", getMetadata);
|
|
195
177
|
function getOwnMetadata(metadataKey, target, propertyKey) {
|
|
196
|
-
if (!IsObject(target))
|
|
197
|
-
|
|
198
|
-
if (!IsUndefined(propertyKey))
|
|
199
|
-
propertyKey = ToPropertyKey(propertyKey);
|
|
178
|
+
if (!IsObject(target)) throw new TypeError();
|
|
179
|
+
if (!IsUndefined(propertyKey)) propertyKey = ToPropertyKey(propertyKey);
|
|
200
180
|
return OrdinaryGetOwnMetadata(metadataKey, target, propertyKey);
|
|
201
181
|
}
|
|
202
182
|
__name(getOwnMetadata, "getOwnMetadata");
|
|
203
183
|
exporter("getOwnMetadata", getOwnMetadata);
|
|
204
184
|
function getMetadataKeys(target, propertyKey) {
|
|
205
|
-
if (!IsObject(target))
|
|
206
|
-
|
|
207
|
-
if (!IsUndefined(propertyKey))
|
|
208
|
-
propertyKey = ToPropertyKey(propertyKey);
|
|
185
|
+
if (!IsObject(target)) throw new TypeError();
|
|
186
|
+
if (!IsUndefined(propertyKey)) propertyKey = ToPropertyKey(propertyKey);
|
|
209
187
|
return OrdinaryMetadataKeys(target, propertyKey);
|
|
210
188
|
}
|
|
211
189
|
__name(getMetadataKeys, "getMetadataKeys");
|
|
212
190
|
exporter("getMetadataKeys", getMetadataKeys);
|
|
213
191
|
function getOwnMetadataKeys(target, propertyKey) {
|
|
214
|
-
if (!IsObject(target))
|
|
215
|
-
|
|
216
|
-
if (!IsUndefined(propertyKey))
|
|
217
|
-
propertyKey = ToPropertyKey(propertyKey);
|
|
192
|
+
if (!IsObject(target)) throw new TypeError();
|
|
193
|
+
if (!IsUndefined(propertyKey)) propertyKey = ToPropertyKey(propertyKey);
|
|
218
194
|
return OrdinaryOwnMetadataKeys(target, propertyKey);
|
|
219
195
|
}
|
|
220
196
|
__name(getOwnMetadataKeys, "getOwnMetadataKeys");
|
|
221
197
|
exporter("getOwnMetadataKeys", getOwnMetadataKeys);
|
|
222
198
|
function deleteMetadata(metadataKey, target, propertyKey) {
|
|
223
|
-
if (!IsObject(target))
|
|
224
|
-
|
|
225
|
-
if (!
|
|
226
|
-
|
|
227
|
-
if (!IsObject(target))
|
|
228
|
-
throw new TypeError();
|
|
229
|
-
if (!IsUndefined(propertyKey))
|
|
230
|
-
propertyKey = ToPropertyKey(propertyKey);
|
|
199
|
+
if (!IsObject(target)) throw new TypeError();
|
|
200
|
+
if (!IsUndefined(propertyKey)) propertyKey = ToPropertyKey(propertyKey);
|
|
201
|
+
if (!IsObject(target)) throw new TypeError();
|
|
202
|
+
if (!IsUndefined(propertyKey)) propertyKey = ToPropertyKey(propertyKey);
|
|
231
203
|
var provider = GetMetadataProvider(
|
|
232
204
|
target,
|
|
233
205
|
propertyKey,
|
|
234
206
|
/*Create*/
|
|
235
207
|
false
|
|
236
208
|
);
|
|
237
|
-
if (IsUndefined(provider))
|
|
238
|
-
return false;
|
|
209
|
+
if (IsUndefined(provider)) return false;
|
|
239
210
|
return provider.OrdinaryDeleteMetadata(metadataKey, target, propertyKey);
|
|
240
211
|
}
|
|
241
212
|
__name(deleteMetadata, "deleteMetadata");
|
|
@@ -245,8 +216,7 @@ var require_Reflect = __commonJS({
|
|
|
245
216
|
var decorator = decorators[i];
|
|
246
217
|
var decorated = decorator(target);
|
|
247
218
|
if (!IsUndefined(decorated) && !IsNull(decorated)) {
|
|
248
|
-
if (!IsConstructor(decorated))
|
|
249
|
-
throw new TypeError();
|
|
219
|
+
if (!IsConstructor(decorated)) throw new TypeError();
|
|
250
220
|
target = decorated;
|
|
251
221
|
}
|
|
252
222
|
}
|
|
@@ -258,8 +228,7 @@ var require_Reflect = __commonJS({
|
|
|
258
228
|
var decorator = decorators[i];
|
|
259
229
|
var decorated = decorator(target, propertyKey, descriptor);
|
|
260
230
|
if (!IsUndefined(decorated) && !IsNull(decorated)) {
|
|
261
|
-
if (!IsObject(decorated))
|
|
262
|
-
throw new TypeError();
|
|
231
|
+
if (!IsObject(decorated)) throw new TypeError();
|
|
263
232
|
descriptor = decorated;
|
|
264
233
|
}
|
|
265
234
|
}
|
|
@@ -268,11 +237,9 @@ var require_Reflect = __commonJS({
|
|
|
268
237
|
__name(DecorateProperty, "DecorateProperty");
|
|
269
238
|
function OrdinaryHasMetadata(MetadataKey, O, P) {
|
|
270
239
|
var hasOwn3 = OrdinaryHasOwnMetadata(MetadataKey, O, P);
|
|
271
|
-
if (hasOwn3)
|
|
272
|
-
return true;
|
|
240
|
+
if (hasOwn3) return true;
|
|
273
241
|
var parent = OrdinaryGetPrototypeOf(O);
|
|
274
|
-
if (!IsNull(parent))
|
|
275
|
-
return OrdinaryHasMetadata(MetadataKey, parent, P);
|
|
242
|
+
if (!IsNull(parent)) return OrdinaryHasMetadata(MetadataKey, parent, P);
|
|
276
243
|
return false;
|
|
277
244
|
}
|
|
278
245
|
__name(OrdinaryHasMetadata, "OrdinaryHasMetadata");
|
|
@@ -283,18 +250,15 @@ var require_Reflect = __commonJS({
|
|
|
283
250
|
/*Create*/
|
|
284
251
|
false
|
|
285
252
|
);
|
|
286
|
-
if (IsUndefined(provider))
|
|
287
|
-
return false;
|
|
253
|
+
if (IsUndefined(provider)) return false;
|
|
288
254
|
return ToBoolean(provider.OrdinaryHasOwnMetadata(MetadataKey, O, P));
|
|
289
255
|
}
|
|
290
256
|
__name(OrdinaryHasOwnMetadata, "OrdinaryHasOwnMetadata");
|
|
291
257
|
function OrdinaryGetMetadata(MetadataKey, O, P) {
|
|
292
258
|
var hasOwn3 = OrdinaryHasOwnMetadata(MetadataKey, O, P);
|
|
293
|
-
if (hasOwn3)
|
|
294
|
-
return OrdinaryGetOwnMetadata(MetadataKey, O, P);
|
|
259
|
+
if (hasOwn3) return OrdinaryGetOwnMetadata(MetadataKey, O, P);
|
|
295
260
|
var parent = OrdinaryGetPrototypeOf(O);
|
|
296
|
-
if (!IsNull(parent))
|
|
297
|
-
return OrdinaryGetMetadata(MetadataKey, parent, P);
|
|
261
|
+
if (!IsNull(parent)) return OrdinaryGetMetadata(MetadataKey, parent, P);
|
|
298
262
|
return void 0;
|
|
299
263
|
}
|
|
300
264
|
__name(OrdinaryGetMetadata, "OrdinaryGetMetadata");
|
|
@@ -305,8 +269,7 @@ var require_Reflect = __commonJS({
|
|
|
305
269
|
/*Create*/
|
|
306
270
|
false
|
|
307
271
|
);
|
|
308
|
-
if (IsUndefined(provider))
|
|
309
|
-
return;
|
|
272
|
+
if (IsUndefined(provider)) return;
|
|
310
273
|
return provider.OrdinaryGetOwnMetadata(MetadataKey, O, P);
|
|
311
274
|
}
|
|
312
275
|
__name(OrdinaryGetOwnMetadata, "OrdinaryGetOwnMetadata");
|
|
@@ -323,13 +286,10 @@ var require_Reflect = __commonJS({
|
|
|
323
286
|
function OrdinaryMetadataKeys(O, P) {
|
|
324
287
|
var ownKeys = OrdinaryOwnMetadataKeys(O, P);
|
|
325
288
|
var parent = OrdinaryGetPrototypeOf(O);
|
|
326
|
-
if (parent === null)
|
|
327
|
-
return ownKeys;
|
|
289
|
+
if (parent === null) return ownKeys;
|
|
328
290
|
var parentKeys = OrdinaryMetadataKeys(parent, P);
|
|
329
|
-
if (parentKeys.length <= 0)
|
|
330
|
-
|
|
331
|
-
if (ownKeys.length <= 0)
|
|
332
|
-
return parentKeys;
|
|
291
|
+
if (parentKeys.length <= 0) return ownKeys;
|
|
292
|
+
if (ownKeys.length <= 0) return parentKeys;
|
|
333
293
|
var set = new _Set();
|
|
334
294
|
var keys = [];
|
|
335
295
|
for (var _i = 0, ownKeys_1 = ownKeys; _i < ownKeys_1.length; _i++) {
|
|
@@ -365,8 +325,7 @@ var require_Reflect = __commonJS({
|
|
|
365
325
|
}
|
|
366
326
|
__name(OrdinaryOwnMetadataKeys, "OrdinaryOwnMetadataKeys");
|
|
367
327
|
function Type(x) {
|
|
368
|
-
if (x === null)
|
|
369
|
-
return 1;
|
|
328
|
+
if (x === null) return 1;
|
|
370
329
|
switch (typeof x) {
|
|
371
330
|
case "undefined":
|
|
372
331
|
return 0;
|
|
@@ -420,8 +379,7 @@ var require_Reflect = __commonJS({
|
|
|
420
379
|
var exoticToPrim = GetMethod(input, toPrimitiveSymbol);
|
|
421
380
|
if (exoticToPrim !== void 0) {
|
|
422
381
|
var result = exoticToPrim.call(input, hint);
|
|
423
|
-
if (IsObject(result))
|
|
424
|
-
throw new TypeError();
|
|
382
|
+
if (IsObject(result)) throw new TypeError();
|
|
425
383
|
return result;
|
|
426
384
|
}
|
|
427
385
|
return OrdinaryToPrimitive(input, hint === "default" ? "number" : hint);
|
|
@@ -432,27 +390,23 @@ var require_Reflect = __commonJS({
|
|
|
432
390
|
var toString_1 = O.toString;
|
|
433
391
|
if (IsCallable(toString_1)) {
|
|
434
392
|
var result = toString_1.call(O);
|
|
435
|
-
if (!IsObject(result))
|
|
436
|
-
return result;
|
|
393
|
+
if (!IsObject(result)) return result;
|
|
437
394
|
}
|
|
438
395
|
var valueOf = O.valueOf;
|
|
439
396
|
if (IsCallable(valueOf)) {
|
|
440
397
|
var result = valueOf.call(O);
|
|
441
|
-
if (!IsObject(result))
|
|
442
|
-
return result;
|
|
398
|
+
if (!IsObject(result)) return result;
|
|
443
399
|
}
|
|
444
400
|
} else {
|
|
445
401
|
var valueOf = O.valueOf;
|
|
446
402
|
if (IsCallable(valueOf)) {
|
|
447
403
|
var result = valueOf.call(O);
|
|
448
|
-
if (!IsObject(result))
|
|
449
|
-
return result;
|
|
404
|
+
if (!IsObject(result)) return result;
|
|
450
405
|
}
|
|
451
406
|
var toString_2 = O.toString;
|
|
452
407
|
if (IsCallable(toString_2)) {
|
|
453
408
|
var result = toString_2.call(O);
|
|
454
|
-
if (!IsObject(result))
|
|
455
|
-
return result;
|
|
409
|
+
if (!IsObject(result)) return result;
|
|
456
410
|
}
|
|
457
411
|
}
|
|
458
412
|
throw new TypeError();
|
|
@@ -472,8 +426,7 @@ var require_Reflect = __commonJS({
|
|
|
472
426
|
3
|
|
473
427
|
/* String */
|
|
474
428
|
);
|
|
475
|
-
if (IsSymbol(key))
|
|
476
|
-
return key;
|
|
429
|
+
if (IsSymbol(key)) return key;
|
|
477
430
|
return ToString(key);
|
|
478
431
|
}
|
|
479
432
|
__name(ToPropertyKey, "ToPropertyKey");
|
|
@@ -506,20 +459,16 @@ var require_Reflect = __commonJS({
|
|
|
506
459
|
__name(SameValueZero, "SameValueZero");
|
|
507
460
|
function GetMethod(V, P) {
|
|
508
461
|
var func = V[P];
|
|
509
|
-
if (func === void 0 || func === null)
|
|
510
|
-
|
|
511
|
-
if (!IsCallable(func))
|
|
512
|
-
throw new TypeError();
|
|
462
|
+
if (func === void 0 || func === null) return void 0;
|
|
463
|
+
if (!IsCallable(func)) throw new TypeError();
|
|
513
464
|
return func;
|
|
514
465
|
}
|
|
515
466
|
__name(GetMethod, "GetMethod");
|
|
516
467
|
function GetIterator(obj) {
|
|
517
468
|
var method = GetMethod(obj, iteratorSymbol);
|
|
518
|
-
if (!IsCallable(method))
|
|
519
|
-
throw new TypeError();
|
|
469
|
+
if (!IsCallable(method)) throw new TypeError();
|
|
520
470
|
var iterator = method.call(obj);
|
|
521
|
-
if (!IsObject(iterator))
|
|
522
|
-
throw new TypeError();
|
|
471
|
+
if (!IsObject(iterator)) throw new TypeError();
|
|
523
472
|
return iterator;
|
|
524
473
|
}
|
|
525
474
|
__name(GetIterator, "GetIterator");
|
|
@@ -534,25 +483,19 @@ var require_Reflect = __commonJS({
|
|
|
534
483
|
__name(IteratorStep, "IteratorStep");
|
|
535
484
|
function IteratorClose(iterator) {
|
|
536
485
|
var f = iterator["return"];
|
|
537
|
-
if (f)
|
|
538
|
-
f.call(iterator);
|
|
486
|
+
if (f) f.call(iterator);
|
|
539
487
|
}
|
|
540
488
|
__name(IteratorClose, "IteratorClose");
|
|
541
489
|
function OrdinaryGetPrototypeOf(O) {
|
|
542
490
|
var proto = Object.getPrototypeOf(O);
|
|
543
|
-
if (typeof O !== "function" || O === functionPrototype)
|
|
544
|
-
|
|
545
|
-
if (proto !== functionPrototype)
|
|
546
|
-
return proto;
|
|
491
|
+
if (typeof O !== "function" || O === functionPrototype) return proto;
|
|
492
|
+
if (proto !== functionPrototype) return proto;
|
|
547
493
|
var prototype = O.prototype;
|
|
548
494
|
var prototypeProto = prototype && Object.getPrototypeOf(prototype);
|
|
549
|
-
if (prototypeProto == null || prototypeProto === Object.prototype)
|
|
550
|
-
return proto;
|
|
495
|
+
if (prototypeProto == null || prototypeProto === Object.prototype) return proto;
|
|
551
496
|
var constructor = prototypeProto.constructor;
|
|
552
|
-
if (typeof constructor !== "function")
|
|
553
|
-
|
|
554
|
-
if (constructor === O)
|
|
555
|
-
return proto;
|
|
497
|
+
if (typeof constructor !== "function") return proto;
|
|
498
|
+
if (constructor === O) return proto;
|
|
556
499
|
return constructor;
|
|
557
500
|
}
|
|
558
501
|
__name(OrdinaryGetPrototypeOf, "OrdinaryGetPrototypeOf");
|
|
@@ -589,8 +532,7 @@ var require_Reflect = __commonJS({
|
|
|
589
532
|
case second === provider:
|
|
590
533
|
break;
|
|
591
534
|
default:
|
|
592
|
-
if (rest === void 0)
|
|
593
|
-
rest = new _Set();
|
|
535
|
+
if (rest === void 0) rest = new _Set();
|
|
594
536
|
rest.add(provider);
|
|
595
537
|
break;
|
|
596
538
|
}
|
|
@@ -598,11 +540,9 @@ var require_Reflect = __commonJS({
|
|
|
598
540
|
__name(registerProvider, "registerProvider");
|
|
599
541
|
function getProviderNoCache(O, P) {
|
|
600
542
|
if (!IsUndefined(first)) {
|
|
601
|
-
if (first.isProviderFor(O, P))
|
|
602
|
-
return first;
|
|
543
|
+
if (first.isProviderFor(O, P)) return first;
|
|
603
544
|
if (!IsUndefined(second)) {
|
|
604
|
-
if (second.isProviderFor(O, P))
|
|
605
|
-
return first;
|
|
545
|
+
if (second.isProviderFor(O, P)) return first;
|
|
606
546
|
if (!IsUndefined(rest)) {
|
|
607
547
|
var iterator = GetIterator(rest);
|
|
608
548
|
while (true) {
|
|
@@ -646,8 +586,7 @@ var require_Reflect = __commonJS({
|
|
|
646
586
|
}
|
|
647
587
|
__name(getProvider, "getProvider");
|
|
648
588
|
function hasProvider(provider) {
|
|
649
|
-
if (IsUndefined(provider))
|
|
650
|
-
throw new TypeError();
|
|
589
|
+
if (IsUndefined(provider)) throw new TypeError();
|
|
651
590
|
return first === provider || second === provider || !IsUndefined(rest) && rest.has(provider);
|
|
652
591
|
}
|
|
653
592
|
__name(hasProvider, "hasProvider");
|
|
@@ -694,12 +633,11 @@ var require_Reflect = __commonJS({
|
|
|
694
633
|
function CreateMetadataProvider(registry) {
|
|
695
634
|
var metadata2 = new _WeakMap();
|
|
696
635
|
var provider = {
|
|
697
|
-
isProviderFor: function(O, P) {
|
|
636
|
+
isProviderFor: /* @__PURE__ */ __name(function(O, P) {
|
|
698
637
|
var targetMetadata = metadata2.get(O);
|
|
699
|
-
if (IsUndefined(targetMetadata))
|
|
700
|
-
return false;
|
|
638
|
+
if (IsUndefined(targetMetadata)) return false;
|
|
701
639
|
return targetMetadata.has(P);
|
|
702
|
-
},
|
|
640
|
+
}, "isProviderFor"),
|
|
703
641
|
OrdinaryDefineOwnMetadata: OrdinaryDefineOwnMetadata2,
|
|
704
642
|
OrdinaryHasOwnMetadata: OrdinaryHasOwnMetadata2,
|
|
705
643
|
OrdinaryGetOwnMetadata: OrdinaryGetOwnMetadata2,
|
|
@@ -712,16 +650,14 @@ var require_Reflect = __commonJS({
|
|
|
712
650
|
var targetMetadata = metadata2.get(O);
|
|
713
651
|
var createdTargetMetadata = false;
|
|
714
652
|
if (IsUndefined(targetMetadata)) {
|
|
715
|
-
if (!Create)
|
|
716
|
-
return void 0;
|
|
653
|
+
if (!Create) return void 0;
|
|
717
654
|
targetMetadata = new _Map();
|
|
718
655
|
metadata2.set(O, targetMetadata);
|
|
719
656
|
createdTargetMetadata = true;
|
|
720
657
|
}
|
|
721
658
|
var metadataMap = targetMetadata.get(P);
|
|
722
659
|
if (IsUndefined(metadataMap)) {
|
|
723
|
-
if (!Create)
|
|
724
|
-
return void 0;
|
|
660
|
+
if (!Create) return void 0;
|
|
725
661
|
metadataMap = new _Map();
|
|
726
662
|
targetMetadata.set(P, metadataMap);
|
|
727
663
|
if (!registry.setProvider(O, P, provider)) {
|
|
@@ -742,8 +678,7 @@ var require_Reflect = __commonJS({
|
|
|
742
678
|
/*Create*/
|
|
743
679
|
false
|
|
744
680
|
);
|
|
745
|
-
if (IsUndefined(metadataMap))
|
|
746
|
-
return false;
|
|
681
|
+
if (IsUndefined(metadataMap)) return false;
|
|
747
682
|
return ToBoolean(metadataMap.has(MetadataKey));
|
|
748
683
|
}
|
|
749
684
|
__name(OrdinaryHasOwnMetadata2, "OrdinaryHasOwnMetadata");
|
|
@@ -754,8 +689,7 @@ var require_Reflect = __commonJS({
|
|
|
754
689
|
/*Create*/
|
|
755
690
|
false
|
|
756
691
|
);
|
|
757
|
-
if (IsUndefined(metadataMap))
|
|
758
|
-
return void 0;
|
|
692
|
+
if (IsUndefined(metadataMap)) return void 0;
|
|
759
693
|
return metadataMap.get(MetadataKey);
|
|
760
694
|
}
|
|
761
695
|
__name(OrdinaryGetOwnMetadata2, "OrdinaryGetOwnMetadata");
|
|
@@ -777,8 +711,7 @@ var require_Reflect = __commonJS({
|
|
|
777
711
|
/*Create*/
|
|
778
712
|
false
|
|
779
713
|
);
|
|
780
|
-
if (IsUndefined(metadataMap))
|
|
781
|
-
return keys;
|
|
714
|
+
if (IsUndefined(metadataMap)) return keys;
|
|
782
715
|
var keysObj = metadataMap.keys();
|
|
783
716
|
var iterator = GetIterator(keysObj);
|
|
784
717
|
var k = 0;
|
|
@@ -809,10 +742,8 @@ var require_Reflect = __commonJS({
|
|
|
809
742
|
/*Create*/
|
|
810
743
|
false
|
|
811
744
|
);
|
|
812
|
-
if (IsUndefined(metadataMap))
|
|
813
|
-
|
|
814
|
-
if (!metadataMap.delete(MetadataKey))
|
|
815
|
-
return false;
|
|
745
|
+
if (IsUndefined(metadataMap)) return false;
|
|
746
|
+
if (!metadataMap.delete(MetadataKey)) return false;
|
|
816
747
|
if (metadataMap.size === 0) {
|
|
817
748
|
var targetMetadata = metadata2.get(O);
|
|
818
749
|
if (!IsUndefined(targetMetadata)) {
|
|
@@ -831,7 +762,7 @@ var require_Reflect = __commonJS({
|
|
|
831
762
|
var defineMetadata2 = reflect.defineMetadata, hasOwnMetadata2 = reflect.hasOwnMetadata, getOwnMetadata2 = reflect.getOwnMetadata, getOwnMetadataKeys2 = reflect.getOwnMetadataKeys, deleteMetadata2 = reflect.deleteMetadata;
|
|
832
763
|
var metadataOwner = new _WeakMap();
|
|
833
764
|
var provider = {
|
|
834
|
-
isProviderFor: function(O, P) {
|
|
765
|
+
isProviderFor: /* @__PURE__ */ __name(function(O, P) {
|
|
835
766
|
var metadataPropertySet = metadataOwner.get(O);
|
|
836
767
|
if (!IsUndefined(metadataPropertySet) && metadataPropertySet.has(P)) {
|
|
837
768
|
return true;
|
|
@@ -845,7 +776,7 @@ var require_Reflect = __commonJS({
|
|
|
845
776
|
return true;
|
|
846
777
|
}
|
|
847
778
|
return false;
|
|
848
|
-
},
|
|
779
|
+
}, "isProviderFor"),
|
|
849
780
|
OrdinaryDefineOwnMetadata: defineMetadata2,
|
|
850
781
|
OrdinaryHasOwnMetadata: hasOwnMetadata2,
|
|
851
782
|
OrdinaryGetOwnMetadata: getOwnMetadata2,
|
|
@@ -942,9 +873,9 @@ var require_Reflect = __commonJS({
|
|
|
942
873
|
}
|
|
943
874
|
__name(Map12, "Map1");
|
|
944
875
|
Object.defineProperty(Map12.prototype, "size", {
|
|
945
|
-
get: function() {
|
|
876
|
+
get: /* @__PURE__ */ __name(function() {
|
|
946
877
|
return this._keys.length;
|
|
947
|
-
},
|
|
878
|
+
}, "get"),
|
|
948
879
|
enumerable: true,
|
|
949
880
|
configurable: true
|
|
950
881
|
});
|
|
@@ -1062,9 +993,9 @@ var require_Reflect = __commonJS({
|
|
|
1062
993
|
}
|
|
1063
994
|
__name(Set12, "Set1");
|
|
1064
995
|
Object.defineProperty(Set12.prototype, "size", {
|
|
1065
|
-
get: function() {
|
|
996
|
+
get: /* @__PURE__ */ __name(function() {
|
|
1066
997
|
return this._map.size;
|
|
1067
|
-
},
|
|
998
|
+
}, "get"),
|
|
1068
999
|
enumerable: true,
|
|
1069
1000
|
configurable: true
|
|
1070
1001
|
});
|
|
@@ -1162,8 +1093,7 @@ var require_Reflect = __commonJS({
|
|
|
1162
1093
|
__name(CreateUniqueKey, "CreateUniqueKey");
|
|
1163
1094
|
function GetOrCreateWeakMapTable(target, create2) {
|
|
1164
1095
|
if (!hasOwn2.call(target, rootKey)) {
|
|
1165
|
-
if (!create2)
|
|
1166
|
-
return void 0;
|
|
1096
|
+
if (!create2) return void 0;
|
|
1167
1097
|
Object.defineProperty(target, rootKey, {
|
|
1168
1098
|
value: HashMap.create()
|
|
1169
1099
|
});
|
|
@@ -1172,8 +1102,7 @@ var require_Reflect = __commonJS({
|
|
|
1172
1102
|
}
|
|
1173
1103
|
__name(GetOrCreateWeakMapTable, "GetOrCreateWeakMapTable");
|
|
1174
1104
|
function FillRandomBytes(buffer, size) {
|
|
1175
|
-
for (var i = 0; i < size; ++i)
|
|
1176
|
-
buffer[i] = Math.random() * 255 | 0;
|
|
1105
|
+
for (var i = 0; i < size; ++i) buffer[i] = Math.random() * 255 | 0;
|
|
1177
1106
|
return buffer;
|
|
1178
1107
|
}
|
|
1179
1108
|
__name(FillRandomBytes, "FillRandomBytes");
|
|
@@ -1199,10 +1128,8 @@ var require_Reflect = __commonJS({
|
|
|
1199
1128
|
var result = "";
|
|
1200
1129
|
for (var offset2 = 0; offset2 < UUID_SIZE; ++offset2) {
|
|
1201
1130
|
var byte = data2[offset2];
|
|
1202
|
-
if (offset2 === 4 || offset2 === 6 || offset2 === 8)
|
|
1203
|
-
|
|
1204
|
-
if (byte < 16)
|
|
1205
|
-
result += "0";
|
|
1131
|
+
if (offset2 === 4 || offset2 === 6 || offset2 === 8) result += "-";
|
|
1132
|
+
if (byte < 16) result += "0";
|
|
1206
1133
|
result += byte.toString(16).toLowerCase();
|
|
1207
1134
|
}
|
|
1208
1135
|
return result;
|
|
@@ -5390,8 +5317,7 @@ var require_main = __commonJS({
|
|
|
5390
5317
|
}
|
|
5391
5318
|
__name(t, "t");
|
|
5392
5319
|
function e(t2, e2) {
|
|
5393
|
-
for (var n2 = -1, r2 = null == t2 ? 0 : t2.length; ++n2 < r2 && false !== e2(t2[n2], n2, t2); )
|
|
5394
|
-
;
|
|
5320
|
+
for (var n2 = -1, r2 = null == t2 ? 0 : t2.length; ++n2 < r2 && false !== e2(t2[n2], n2, t2); ) ;
|
|
5395
5321
|
}
|
|
5396
5322
|
__name(e, "e");
|
|
5397
5323
|
function n(t2, e2) {
|
|
@@ -5403,14 +5329,12 @@ var require_main = __commonJS({
|
|
|
5403
5329
|
}
|
|
5404
5330
|
__name(n, "n");
|
|
5405
5331
|
function r(t2, e2) {
|
|
5406
|
-
for (var n2 = -1, r2 = null == t2 ? 0 : t2.length, u2 = Array(r2); ++n2 < r2; )
|
|
5407
|
-
u2[n2] = e2(t2[n2], n2, t2);
|
|
5332
|
+
for (var n2 = -1, r2 = null == t2 ? 0 : t2.length, u2 = Array(r2); ++n2 < r2; ) u2[n2] = e2(t2[n2], n2, t2);
|
|
5408
5333
|
return u2;
|
|
5409
5334
|
}
|
|
5410
5335
|
__name(r, "r");
|
|
5411
5336
|
function u(t2, e2) {
|
|
5412
|
-
for (var n2 = -1, r2 = e2.length, u2 = t2.length; ++n2 < r2; )
|
|
5413
|
-
t2[u2 + n2] = e2[n2];
|
|
5337
|
+
for (var n2 = -1, r2 = e2.length, u2 = t2.length; ++n2 < r2; ) t2[u2 + n2] = e2[n2];
|
|
5414
5338
|
return t2;
|
|
5415
5339
|
}
|
|
5416
5340
|
__name(u, "u");
|
|
@@ -5461,14 +5385,11 @@ var require_main = __commonJS({
|
|
|
5461
5385
|
function b(t2, e2) {
|
|
5462
5386
|
var n2 = Ye(t2), r2 = !n2 && Xe(t2), u2 = !n2 && !r2 && Ze(t2), o2 = !n2 && !r2 && !u2 && nn(t2);
|
|
5463
5387
|
if (n2 = n2 || r2 || u2 || o2) {
|
|
5464
|
-
for (var r2 = t2.length, c2 = String, i2 = -1, f2 = Array(r2); ++i2 < r2; )
|
|
5465
|
-
f2[i2] = c2(i2);
|
|
5388
|
+
for (var r2 = t2.length, c2 = String, i2 = -1, f2 = Array(r2); ++i2 < r2; ) f2[i2] = c2(i2);
|
|
5466
5389
|
r2 = f2;
|
|
5467
|
-
} else
|
|
5468
|
-
r2 = [];
|
|
5390
|
+
} else r2 = [];
|
|
5469
5391
|
var a2, c2 = r2.length;
|
|
5470
|
-
for (a2 in t2)
|
|
5471
|
-
!e2 && !fe.call(t2, a2) || n2 && ("length" == a2 || u2 && ("offset" == a2 || "parent" == a2) || o2 && ("buffer" == a2 || "byteLength" == a2 || "byteOffset" == a2) || ut(a2, c2)) || r2.push(a2);
|
|
5392
|
+
for (a2 in t2) !e2 && !fe.call(t2, a2) || n2 && ("length" == a2 || u2 && ("offset" == a2 || "parent" == a2) || o2 && ("buffer" == a2 || "byteLength" == a2 || "byteOffset" == a2) || ut(a2, c2)) || r2.push(a2);
|
|
5472
5393
|
return r2;
|
|
5473
5394
|
}
|
|
5474
5395
|
__name(b, "b");
|
|
@@ -5482,9 +5403,7 @@ var require_main = __commonJS({
|
|
|
5482
5403
|
}
|
|
5483
5404
|
__name(h, "h");
|
|
5484
5405
|
function y(t2, e2) {
|
|
5485
|
-
for (var n2 = t2.length; n2--; )
|
|
5486
|
-
if (bt(t2[n2][0], e2))
|
|
5487
|
-
return n2;
|
|
5406
|
+
for (var n2 = t2.length; n2--; ) if (bt(t2[n2][0], e2)) return n2;
|
|
5488
5407
|
return -1;
|
|
5489
5408
|
}
|
|
5490
5409
|
__name(y, "y");
|
|
@@ -5502,36 +5421,27 @@ var require_main = __commonJS({
|
|
|
5502
5421
|
__name(d, "d");
|
|
5503
5422
|
function g(t2, n2, r2, u2, o2, c2) {
|
|
5504
5423
|
var i2, f2 = 1 & n2, a2 = 2 & n2, l2 = 4 & n2;
|
|
5505
|
-
if (r2 && (i2 = o2 ? r2(t2, u2, o2, c2) : r2(t2)), i2 !== Mt)
|
|
5506
|
-
|
|
5507
|
-
if (!_t(t2))
|
|
5508
|
-
return t2;
|
|
5424
|
+
if (r2 && (i2 = o2 ? r2(t2, u2, o2, c2) : r2(t2)), i2 !== Mt) return i2;
|
|
5425
|
+
if (!_t(t2)) return t2;
|
|
5509
5426
|
if (u2 = Ye(t2)) {
|
|
5510
|
-
if (i2 = tt(t2), !f2)
|
|
5511
|
-
return T(t2, i2);
|
|
5427
|
+
if (i2 = tt(t2), !f2) return T(t2, i2);
|
|
5512
5428
|
} else {
|
|
5513
5429
|
var b2 = Je(t2), p2 = "[object Function]" == b2 || "[object GeneratorFunction]" == b2;
|
|
5514
|
-
if (Ze(t2))
|
|
5515
|
-
return R(t2, f2);
|
|
5430
|
+
if (Ze(t2)) return R(t2, f2);
|
|
5516
5431
|
if ("[object Object]" == b2 || "[object Arguments]" == b2 || p2 && !o2) {
|
|
5517
|
-
if (i2 = a2 || p2 ? {} : et(t2), !f2)
|
|
5518
|
-
return a2 ? G(t2, _(i2, t2)) : N(t2, j(i2, t2));
|
|
5432
|
+
if (i2 = a2 || p2 ? {} : et(t2), !f2) return a2 ? G(t2, _(i2, t2)) : N(t2, j(i2, t2));
|
|
5519
5433
|
} else {
|
|
5520
|
-
if (!Gt[b2])
|
|
5521
|
-
return o2 ? t2 : {};
|
|
5434
|
+
if (!Gt[b2]) return o2 ? t2 : {};
|
|
5522
5435
|
i2 = nt(t2, b2, f2);
|
|
5523
5436
|
}
|
|
5524
5437
|
}
|
|
5525
|
-
if (c2 || (c2 = new s()), o2 = c2.get(t2))
|
|
5526
|
-
|
|
5527
|
-
|
|
5528
|
-
|
|
5529
|
-
|
|
5530
|
-
|
|
5531
|
-
|
|
5532
|
-
return t2.forEach(function(e2, u3) {
|
|
5533
|
-
i2.set(u3, g(e2, n2, r2, u3, t2, c2));
|
|
5534
|
-
}), i2;
|
|
5438
|
+
if (c2 || (c2 = new s()), o2 = c2.get(t2)) return o2;
|
|
5439
|
+
if (c2.set(t2, i2), en(t2)) return t2.forEach(function(e2) {
|
|
5440
|
+
i2.add(g(e2, n2, r2, e2, t2, c2));
|
|
5441
|
+
}), i2;
|
|
5442
|
+
if (tn(t2)) return t2.forEach(function(e2, u3) {
|
|
5443
|
+
i2.set(u3, g(e2, n2, r2, u3, t2, c2));
|
|
5444
|
+
}), i2;
|
|
5535
5445
|
var a2 = l2 ? a2 ? Q : K : a2 ? zt : St, y2 = u2 ? Mt : a2(t2);
|
|
5536
5446
|
return e(y2 || t2, function(e2, u3) {
|
|
5537
5447
|
y2 && (u3 = e2, e2 = t2[u3]), h(i2, u3, g(e2, n2, r2, u3, t2, c2));
|
|
@@ -5549,8 +5459,7 @@ var require_main = __commonJS({
|
|
|
5549
5459
|
__name(v, "v");
|
|
5550
5460
|
function A(t2, e2) {
|
|
5551
5461
|
e2 = C(e2, t2);
|
|
5552
|
-
for (var n2 = 0, r2 = e2.length; null != t2 && n2 < r2; )
|
|
5553
|
-
t2 = t2[it(e2[n2++])];
|
|
5462
|
+
for (var n2 = 0, r2 = e2.length; null != t2 && n2 < r2; ) t2 = t2[it(e2[n2++])];
|
|
5554
5463
|
return n2 && n2 == r2 ? t2 : Mt;
|
|
5555
5464
|
}
|
|
5556
5465
|
__name(A, "A");
|
|
@@ -5559,8 +5468,7 @@ var require_main = __commonJS({
|
|
|
5559
5468
|
}
|
|
5560
5469
|
__name(m, "m");
|
|
5561
5470
|
function w(t2) {
|
|
5562
|
-
if (null == t2)
|
|
5563
|
-
t2 = t2 === Mt ? "[object Undefined]" : "[object Null]";
|
|
5471
|
+
if (null == t2) t2 = t2 === Mt ? "[object Undefined]" : "[object Null]";
|
|
5564
5472
|
else if (me && me in Object(t2)) {
|
|
5565
5473
|
var e2 = fe.call(t2, me), n2 = t2[me];
|
|
5566
5474
|
try {
|
|
@@ -5570,8 +5478,7 @@ var require_main = __commonJS({
|
|
|
5570
5478
|
}
|
|
5571
5479
|
var u2 = le.call(t2);
|
|
5572
5480
|
r2 && (e2 ? t2[me] = n2 : delete t2[me]), t2 = u2;
|
|
5573
|
-
} else
|
|
5574
|
-
t2 = le.call(t2);
|
|
5481
|
+
} else t2 = le.call(t2);
|
|
5575
5482
|
return t2;
|
|
5576
5483
|
}
|
|
5577
5484
|
__name(w, "w");
|
|
@@ -5600,11 +5507,9 @@ var require_main = __commonJS({
|
|
|
5600
5507
|
}
|
|
5601
5508
|
__name(F, "F");
|
|
5602
5509
|
function I(t2) {
|
|
5603
|
-
if (!ot(t2))
|
|
5604
|
-
return ze(t2);
|
|
5510
|
+
if (!ot(t2)) return ze(t2);
|
|
5605
5511
|
var e2, n2 = [];
|
|
5606
|
-
for (e2 in Object(t2))
|
|
5607
|
-
fe.call(t2, e2) && "constructor" != e2 && n2.push(e2);
|
|
5512
|
+
for (e2 in Object(t2)) fe.call(t2, e2) && "constructor" != e2 && n2.push(e2);
|
|
5608
5513
|
return n2;
|
|
5609
5514
|
}
|
|
5610
5515
|
__name(I, "I");
|
|
@@ -5613,8 +5518,7 @@ var require_main = __commonJS({
|
|
|
5613
5518
|
if (_t(o2)) {
|
|
5614
5519
|
u2 || (u2 = new s());
|
|
5615
5520
|
var i2 = u2, f2 = "__proto__" == c2 ? Mt : t2[c2], a2 = "__proto__" == c2 ? Mt : e2[c2], l2 = i2.get(a2);
|
|
5616
|
-
if (l2)
|
|
5617
|
-
p(t2, c2, l2);
|
|
5521
|
+
if (l2) p(t2, c2, l2);
|
|
5618
5522
|
else {
|
|
5619
5523
|
var l2 = r2 ? r2(f2, a2, c2 + "", t2, e2, i2) : Mt, b2 = l2 === Mt;
|
|
5620
5524
|
if (b2) {
|
|
@@ -5623,8 +5527,7 @@ var require_main = __commonJS({
|
|
|
5623
5527
|
}
|
|
5624
5528
|
b2 && (i2.set(a2, l2), M(l2, a2, n2, r2, i2), i2.delete(a2)), p(t2, c2, l2);
|
|
5625
5529
|
}
|
|
5626
|
-
} else
|
|
5627
|
-
i2 = r2 ? r2("__proto__" == c2 ? Mt : t2[c2], o2, c2 + "", t2, e2, u2) : Mt, i2 === Mt && (i2 = o2), p(t2, c2, i2);
|
|
5530
|
+
} else i2 = r2 ? r2("__proto__" == c2 ? Mt : t2[c2], o2, c2 + "", t2, e2, u2) : Mt, i2 === Mt && (i2 = o2), p(t2, c2, i2);
|
|
5628
5531
|
}, zt);
|
|
5629
5532
|
}
|
|
5630
5533
|
__name(M, "M");
|
|
@@ -5647,8 +5550,7 @@ var require_main = __commonJS({
|
|
|
5647
5550
|
}
|
|
5648
5551
|
__name(P, "P");
|
|
5649
5552
|
function D(t2, e2, n2) {
|
|
5650
|
-
if (!_t(t2))
|
|
5651
|
-
return t2;
|
|
5553
|
+
if (!_t(t2)) return t2;
|
|
5652
5554
|
e2 = C(e2, t2);
|
|
5653
5555
|
for (var r2 = -1, u2 = e2.length, o2 = u2 - 1, c2 = t2; null != c2 && ++r2 < u2; ) {
|
|
5654
5556
|
var i2 = it(e2[r2]), f2 = n2;
|
|
@@ -5662,12 +5564,9 @@ var require_main = __commonJS({
|
|
|
5662
5564
|
}
|
|
5663
5565
|
__name(D, "D");
|
|
5664
5566
|
function $(t2) {
|
|
5665
|
-
if (typeof t2 == "string")
|
|
5666
|
-
|
|
5667
|
-
if (
|
|
5668
|
-
return r(t2, $) + "";
|
|
5669
|
-
if (At(t2))
|
|
5670
|
-
return Te ? Te.call(t2) : "";
|
|
5567
|
+
if (typeof t2 == "string") return t2;
|
|
5568
|
+
if (Ye(t2)) return r(t2, $) + "";
|
|
5569
|
+
if (At(t2)) return Te ? Te.call(t2) : "";
|
|
5671
5570
|
var e2 = t2 + "";
|
|
5672
5571
|
return "0" == e2 && 1 / t2 == -Et ? "-0" : e2;
|
|
5673
5572
|
}
|
|
@@ -5675,13 +5574,11 @@ var require_main = __commonJS({
|
|
|
5675
5574
|
function B(t2, e2) {
|
|
5676
5575
|
e2 = C(e2, t2);
|
|
5677
5576
|
var n2;
|
|
5678
|
-
if (2 > e2.length)
|
|
5679
|
-
n2 = t2;
|
|
5577
|
+
if (2 > e2.length) n2 = t2;
|
|
5680
5578
|
else {
|
|
5681
5579
|
n2 = e2;
|
|
5682
5580
|
var r2 = 0, u2 = -1, o2 = -1, c2 = n2.length;
|
|
5683
|
-
for (0 > r2 && (r2 = -r2 > c2 ? 0 : c2 + r2), u2 = u2 > c2 ? c2 : u2, 0 > u2 && (u2 += c2), c2 = r2 > u2 ? 0 : u2 - r2 >>> 0, r2 >>>= 0, u2 = Array(c2); ++o2 < c2; )
|
|
5684
|
-
u2[o2] = n2[o2 + r2];
|
|
5581
|
+
for (0 > r2 && (r2 = -r2 > c2 ? 0 : c2 + r2), u2 = u2 > c2 ? c2 : u2, 0 > u2 && (u2 += c2), c2 = r2 > u2 ? 0 : u2 - r2 >>> 0, r2 >>>= 0, u2 = Array(c2); ++o2 < c2; ) u2[o2] = n2[o2 + r2];
|
|
5685
5582
|
n2 = A(t2, u2);
|
|
5686
5583
|
}
|
|
5687
5584
|
return t2 = n2, null == t2 || delete t2[it(lt(e2))];
|
|
@@ -5693,8 +5590,7 @@ var require_main = __commonJS({
|
|
|
5693
5590
|
}
|
|
5694
5591
|
__name(C, "C");
|
|
5695
5592
|
function R(t2, e2) {
|
|
5696
|
-
if (e2)
|
|
5697
|
-
return t2.slice();
|
|
5593
|
+
if (e2) return t2.slice();
|
|
5698
5594
|
var n2 = t2.length, n2 = je ? je(n2) : new t2.constructor(n2);
|
|
5699
5595
|
return t2.copy(n2), n2;
|
|
5700
5596
|
}
|
|
@@ -5710,8 +5606,7 @@ var require_main = __commonJS({
|
|
|
5710
5606
|
__name(L, "L");
|
|
5711
5607
|
function T(t2, e2) {
|
|
5712
5608
|
var n2 = -1, r2 = t2.length;
|
|
5713
|
-
for (e2 || (e2 = Array(r2)); ++n2 < r2; )
|
|
5714
|
-
e2[n2] = t2[n2];
|
|
5609
|
+
for (e2 || (e2 = Array(r2)); ++n2 < r2; ) e2[n2] = t2[n2];
|
|
5715
5610
|
return e2;
|
|
5716
5611
|
}
|
|
5717
5612
|
__name(T, "T");
|
|
@@ -5742,11 +5637,9 @@ var require_main = __commonJS({
|
|
|
5742
5637
|
if (_t(i2)) {
|
|
5743
5638
|
var a2 = typeof f2;
|
|
5744
5639
|
r2 = !!("number" == a2 ? pt(i2) && ut(f2, i2.length) : "string" == a2 && f2 in i2) && bt(i2[f2], r2);
|
|
5745
|
-
} else
|
|
5746
|
-
r2 = false;
|
|
5640
|
+
} else r2 = false;
|
|
5747
5641
|
}
|
|
5748
|
-
for (r2 && (c2 = 3 > o2 ? Mt : c2, o2 = 1), e2 = Object(e2); ++u2 < o2; )
|
|
5749
|
-
(i2 = n2[u2]) && t2(e2, i2, u2, c2);
|
|
5642
|
+
for (r2 && (c2 = 3 > o2 ? Mt : c2, o2 = 1), e2 = Object(e2); ++u2 < o2; ) (i2 = n2[u2]) && t2(e2, i2, u2, c2);
|
|
5750
5643
|
return e2;
|
|
5751
5644
|
});
|
|
5752
5645
|
}
|
|
@@ -5781,8 +5674,7 @@ var require_main = __commonJS({
|
|
|
5781
5674
|
e2 = C(e2, t2);
|
|
5782
5675
|
for (var r2 = -1, u2 = e2.length, o2 = false; ++r2 < u2; ) {
|
|
5783
5676
|
var c2 = it(e2[r2]);
|
|
5784
|
-
if (!(o2 = null != t2 && n2(t2, c2)))
|
|
5785
|
-
break;
|
|
5677
|
+
if (!(o2 = null != t2 && n2(t2, c2))) break;
|
|
5786
5678
|
t2 = t2[c2];
|
|
5787
5679
|
}
|
|
5788
5680
|
return o2 || ++r2 != u2 ? o2 : (u2 = null == t2 ? 0 : t2.length, !!u2 && jt(u2) && ut(c2, u2) && (Ye(t2) || Xe(t2)));
|
|
@@ -5847,17 +5739,14 @@ var require_main = __commonJS({
|
|
|
5847
5739
|
__name(ot, "ot");
|
|
5848
5740
|
function ct(e2, n2, r2) {
|
|
5849
5741
|
return n2 = xe(n2 === Mt ? e2.length - 1 : n2, 0), function() {
|
|
5850
|
-
for (var u2 = arguments, o2 = -1, c2 = xe(u2.length - n2, 0), i2 = Array(c2); ++o2 < c2; )
|
|
5851
|
-
|
|
5852
|
-
for (o2 = -1, c2 = Array(n2 + 1); ++o2 < n2; )
|
|
5853
|
-
c2[o2] = u2[o2];
|
|
5742
|
+
for (var u2 = arguments, o2 = -1, c2 = xe(u2.length - n2, 0), i2 = Array(c2); ++o2 < c2; ) i2[o2] = u2[n2 + o2];
|
|
5743
|
+
for (o2 = -1, c2 = Array(n2 + 1); ++o2 < n2; ) c2[o2] = u2[o2];
|
|
5854
5744
|
return c2[n2] = r2(i2), t(e2, this, c2);
|
|
5855
5745
|
};
|
|
5856
5746
|
}
|
|
5857
5747
|
__name(ct, "ct");
|
|
5858
5748
|
function it(t2) {
|
|
5859
|
-
if (typeof t2 == "string" || At(t2))
|
|
5860
|
-
return t2;
|
|
5749
|
+
if (typeof t2 == "string" || At(t2)) return t2;
|
|
5861
5750
|
var e2 = t2 + "";
|
|
5862
5751
|
return "0" == e2 && 1 / t2 == -Et ? "-0" : e2;
|
|
5863
5752
|
}
|
|
@@ -5888,8 +5777,7 @@ var require_main = __commonJS({
|
|
|
5888
5777
|
return o2.has(u2) ? o2.get(u2) : (r2 = t2.apply(this, r2), n2.cache = o2.set(u2, r2) || o2, r2);
|
|
5889
5778
|
}
|
|
5890
5779
|
__name(n2, "n");
|
|
5891
|
-
if (typeof t2 != "function" || null != e2 && typeof e2 != "function")
|
|
5892
|
-
throw new TypeError("Expected a function");
|
|
5780
|
+
if (typeof t2 != "function" || null != e2 && typeof e2 != "function") throw new TypeError("Expected a function");
|
|
5893
5781
|
return n2.cache = new (st.Cache || l)(), n2;
|
|
5894
5782
|
}
|
|
5895
5783
|
__name(st, "st");
|
|
@@ -5951,17 +5839,13 @@ var require_main = __commonJS({
|
|
|
5951
5839
|
}
|
|
5952
5840
|
__name(St, "St");
|
|
5953
5841
|
function zt(t2) {
|
|
5954
|
-
if (pt(t2))
|
|
5955
|
-
t2 = b(t2, true);
|
|
5842
|
+
if (pt(t2)) t2 = b(t2, true);
|
|
5956
5843
|
else if (_t(t2)) {
|
|
5957
5844
|
var e2, n2 = ot(t2), r2 = [];
|
|
5958
|
-
for (e2 in t2)
|
|
5959
|
-
("constructor" != e2 || !n2 && fe.call(t2, e2)) && r2.push(e2);
|
|
5845
|
+
for (e2 in t2) ("constructor" != e2 || !n2 && fe.call(t2, e2)) && r2.push(e2);
|
|
5960
5846
|
t2 = r2;
|
|
5961
5847
|
} else {
|
|
5962
|
-
if (e2 = [], null != t2)
|
|
5963
|
-
for (n2 in Object(t2))
|
|
5964
|
-
e2.push(n2);
|
|
5848
|
+
if (e2 = [], null != t2) for (n2 in Object(t2)) e2.push(n2);
|
|
5965
5849
|
t2 = e2;
|
|
5966
5850
|
}
|
|
5967
5851
|
return t2;
|
|
@@ -6073,8 +5957,7 @@ var require_main = __commonJS({
|
|
|
6073
5957
|
var n2 = this.__data__;
|
|
6074
5958
|
if (n2 instanceof a) {
|
|
6075
5959
|
var r2 = n2.__data__;
|
|
6076
|
-
if (!Ie || 199 > r2.length)
|
|
6077
|
-
return r2.push([t2, e2]), this.size = ++n2.size, this;
|
|
5960
|
+
if (!Ie || 199 > r2.length) return r2.push([t2, e2]), this.size = ++n2.size, this;
|
|
6078
5961
|
n2 = this.__data__ = new l(r2);
|
|
6079
5962
|
}
|
|
6080
5963
|
return n2.set(t2, e2), this.size = n2.size, this;
|
|
@@ -6085,8 +5968,7 @@ var require_main = __commonJS({
|
|
|
6085
5968
|
r2 = r2(e2);
|
|
6086
5969
|
for (var c2 = r2.length; c2--; ) {
|
|
6087
5970
|
var i2 = r2[t2 ? c2 : ++u2];
|
|
6088
|
-
if (false === n2(o2[i2], i2, o2))
|
|
6089
|
-
break;
|
|
5971
|
+
if (false === n2(o2[i2], i2, o2)) break;
|
|
6090
5972
|
}
|
|
6091
5973
|
return e2;
|
|
6092
5974
|
};
|
|
@@ -6102,25 +5984,23 @@ var require_main = __commonJS({
|
|
|
6102
5984
|
return ge.call(t2, e2);
|
|
6103
5985
|
}));
|
|
6104
5986
|
} : Ft, He = Oe ? function(t2) {
|
|
6105
|
-
for (var e2 = []; t2; )
|
|
6106
|
-
u(e2, qe(t2)), t2 = _e(t2);
|
|
5987
|
+
for (var e2 = []; t2; ) u(e2, qe(t2)), t2 = _e(t2);
|
|
6107
5988
|
return e2;
|
|
6108
5989
|
} : Ft, Je = w;
|
|
6109
5990
|
(Fe && "[object DataView]" != Je(new Fe(new ArrayBuffer(1))) || Ie && "[object Map]" != Je(new Ie()) || Me && "[object Promise]" != Je(Me.resolve()) || Ee && "[object Set]" != Je(new Ee()) || Ue && "[object WeakMap]" != Je(new Ue())) && (Je = /* @__PURE__ */ __name(function(t2) {
|
|
6110
5991
|
var e2 = w(t2);
|
|
6111
|
-
if (t2 = (t2 = "[object Object]" == e2 ? t2.constructor : Mt) ? ft(t2) : "")
|
|
6112
|
-
|
|
6113
|
-
|
|
6114
|
-
|
|
6115
|
-
|
|
6116
|
-
|
|
6117
|
-
|
|
6118
|
-
|
|
6119
|
-
|
|
6120
|
-
|
|
6121
|
-
|
|
6122
|
-
|
|
6123
|
-
}
|
|
5992
|
+
if (t2 = (t2 = "[object Object]" == e2 ? t2.constructor : Mt) ? ft(t2) : "") switch (t2) {
|
|
5993
|
+
case De:
|
|
5994
|
+
return "[object DataView]";
|
|
5995
|
+
case $e:
|
|
5996
|
+
return "[object Map]";
|
|
5997
|
+
case Be:
|
|
5998
|
+
return "[object Promise]";
|
|
5999
|
+
case Ce:
|
|
6000
|
+
return "[object Set]";
|
|
6001
|
+
case Re:
|
|
6002
|
+
return "[object WeakMap]";
|
|
6003
|
+
}
|
|
6124
6004
|
return e2;
|
|
6125
6005
|
}, "Je"));
|
|
6126
6006
|
var Ke = /* @__PURE__ */ function(t2) {
|
|
@@ -6128,10 +6008,8 @@ var require_main = __commonJS({
|
|
|
6128
6008
|
return function() {
|
|
6129
6009
|
var r2 = ke(), u2 = 16 - (r2 - n2);
|
|
6130
6010
|
if (n2 = r2, 0 < u2) {
|
|
6131
|
-
if (800 <= ++e2)
|
|
6132
|
-
|
|
6133
|
-
} else
|
|
6134
|
-
e2 = 0;
|
|
6011
|
+
if (800 <= ++e2) return arguments[0];
|
|
6012
|
+
} else e2 = 0;
|
|
6135
6013
|
return t2.apply(Mt, arguments);
|
|
6136
6014
|
};
|
|
6137
6015
|
}(Ge), Qe = function(t2) {
|
|
@@ -6157,14 +6035,12 @@ var require_main = __commonJS({
|
|
|
6157
6035
|
M(t2, e2, n2, r2);
|
|
6158
6036
|
}), on = J(function(t2, e2) {
|
|
6159
6037
|
var n2 = {};
|
|
6160
|
-
if (null == t2)
|
|
6161
|
-
return n2;
|
|
6038
|
+
if (null == t2) return n2;
|
|
6162
6039
|
var u2 = false;
|
|
6163
6040
|
e2 = r(e2, function(e3) {
|
|
6164
6041
|
return e3 = C(e3, t2), u2 || (u2 = 1 < e3.length), e3;
|
|
6165
6042
|
}), V(t2, Q(t2), n2), u2 && (n2 = g(n2, 7, H));
|
|
6166
|
-
for (var o2 = e2.length; o2--; )
|
|
6167
|
-
B(n2, e2[o2]);
|
|
6043
|
+
for (var o2 = e2.length; o2--; ) B(n2, e2[o2]);
|
|
6168
6044
|
return n2;
|
|
6169
6045
|
}), cn = J(function(t2, e2) {
|
|
6170
6046
|
return null == t2 ? {} : E(t2, e2);
|
|
@@ -6188,18 +6064,13 @@ var require_main = __commonJS({
|
|
|
6188
6064
|
}, i.has = function(t2, e2) {
|
|
6189
6065
|
return null != t2 && Z(t2, e2, O);
|
|
6190
6066
|
}, i.hasIn = Ot, i.identity = kt, i.isArguments = Xe, i.isArray = Ye, i.isArrayLike = pt, i.isArrayLikeObject = ht, i.isBuffer = Ze, i.isFunction = yt, i.isLength = jt, i.isMap = tn, i.isObject = _t, i.isObjectLike = dt, i.isPlainObject = gt, i.isSet = en, i.isString = vt, i.isSymbol = At, i.isTypedArray = nn, i.last = lt, i.stubArray = Ft, i.stubFalse = It, i.size = function(t2) {
|
|
6191
|
-
if (null == t2)
|
|
6192
|
-
return 0;
|
|
6067
|
+
if (null == t2) return 0;
|
|
6193
6068
|
if (pt(t2)) {
|
|
6194
|
-
if (vt(t2))
|
|
6195
|
-
|
|
6196
|
-
|
|
6197
|
-
|
|
6198
|
-
|
|
6199
|
-
} else
|
|
6200
|
-
t2 = re(t2);
|
|
6201
|
-
else
|
|
6202
|
-
t2 = t2.length;
|
|
6069
|
+
if (vt(t2)) if (Vt.test(t2)) {
|
|
6070
|
+
for (var e2 = Tt.lastIndex = 0; Tt.test(t2); ) ++e2;
|
|
6071
|
+
t2 = e2;
|
|
6072
|
+
} else t2 = re(t2);
|
|
6073
|
+
else t2 = t2.length;
|
|
6203
6074
|
return t2;
|
|
6204
6075
|
}
|
|
6205
6076
|
return e2 = Je(t2), "[object Map]" == e2 || "[object Set]" == e2 ? t2.size : I(t2).length;
|
|
@@ -6529,8 +6400,7 @@ var require_safe_stable_stringify = __commonJS({
|
|
|
6529
6400
|
if (value) {
|
|
6530
6401
|
return (value2) => {
|
|
6531
6402
|
let message = `Object can not safely be stringified. Received type ${typeof value2}`;
|
|
6532
|
-
if (typeof value2 !== "function")
|
|
6533
|
-
message += ` (${value2.toString()})`;
|
|
6403
|
+
if (typeof value2 !== "function") message += ` (${value2.toString()})`;
|
|
6534
6404
|
throw new Error(message);
|
|
6535
6405
|
};
|
|
6536
6406
|
}
|
|
@@ -6662,6 +6532,7 @@ ${originalIndentation}`;
|
|
|
6662
6532
|
if (bigint) {
|
|
6663
6533
|
return String(value);
|
|
6664
6534
|
}
|
|
6535
|
+
// fallthrough
|
|
6665
6536
|
default:
|
|
6666
6537
|
return fail ? fail(value) : void 0;
|
|
6667
6538
|
}
|
|
@@ -6753,6 +6624,7 @@ ${originalIndentation}`;
|
|
|
6753
6624
|
if (bigint) {
|
|
6754
6625
|
return String(value);
|
|
6755
6626
|
}
|
|
6627
|
+
// fallthrough
|
|
6756
6628
|
default:
|
|
6757
6629
|
return fail ? fail(value) : void 0;
|
|
6758
6630
|
}
|
|
@@ -6865,6 +6737,7 @@ ${originalIndentation}`;
|
|
|
6865
6737
|
if (bigint) {
|
|
6866
6738
|
return String(value);
|
|
6867
6739
|
}
|
|
6740
|
+
// fallthrough
|
|
6868
6741
|
default:
|
|
6869
6742
|
return fail ? fail(value) : void 0;
|
|
6870
6743
|
}
|
|
@@ -6961,6 +6834,7 @@ ${originalIndentation}`;
|
|
|
6961
6834
|
if (bigint) {
|
|
6962
6835
|
return String(value);
|
|
6963
6836
|
}
|
|
6837
|
+
// fallthrough
|
|
6964
6838
|
default:
|
|
6965
6839
|
return fail ? fail(value) : void 0;
|
|
6966
6840
|
}
|
|
@@ -7117,12 +6991,9 @@ var require_slugify = __commonJS({
|
|
|
7117
6991
|
var trim = options.trim === void 0 ? true : options.trim;
|
|
7118
6992
|
var slug2 = string2.normalize().split("").reduce(function(result, ch) {
|
|
7119
6993
|
var appendChar = locale[ch];
|
|
7120
|
-
if (appendChar === void 0)
|
|
7121
|
-
|
|
7122
|
-
if (appendChar ===
|
|
7123
|
-
appendChar = ch;
|
|
7124
|
-
if (appendChar === replacement)
|
|
7125
|
-
appendChar = " ";
|
|
6994
|
+
if (appendChar === void 0) appendChar = charMap[ch];
|
|
6995
|
+
if (appendChar === void 0) appendChar = ch;
|
|
6996
|
+
if (appendChar === replacement) appendChar = " ";
|
|
7126
6997
|
return result + appendChar.replace(options.remove || /[^\w\s$*_+~.()'"!\-:@]+/g, "");
|
|
7127
6998
|
}, "");
|
|
7128
6999
|
if (options.strict) {
|
|
@@ -7316,12 +7187,9 @@ var require_pluralize = __commonJS({
|
|
|
7316
7187
|
}
|
|
7317
7188
|
__name(sanitizeRule, "sanitizeRule");
|
|
7318
7189
|
function restoreCase(word, token) {
|
|
7319
|
-
if (word === token)
|
|
7320
|
-
|
|
7321
|
-
if (word === word.
|
|
7322
|
-
return token.toLowerCase();
|
|
7323
|
-
if (word === word.toUpperCase())
|
|
7324
|
-
return token.toUpperCase();
|
|
7190
|
+
if (word === token) return token;
|
|
7191
|
+
if (word === word.toLowerCase()) return token.toLowerCase();
|
|
7192
|
+
if (word === word.toUpperCase()) return token.toUpperCase();
|
|
7325
7193
|
if (word[0] === word[0].toUpperCase()) {
|
|
7326
7194
|
return token.charAt(0).toUpperCase() + token.substr(1).toLowerCase();
|
|
7327
7195
|
}
|
|
@@ -7351,8 +7219,7 @@ var require_pluralize = __commonJS({
|
|
|
7351
7219
|
var len = rules.length;
|
|
7352
7220
|
while (len--) {
|
|
7353
7221
|
var rule = rules[len];
|
|
7354
|
-
if (rule[0].test(word))
|
|
7355
|
-
return replace(word, rule);
|
|
7222
|
+
if (rule[0].test(word)) return replace(word, rule);
|
|
7356
7223
|
}
|
|
7357
7224
|
return word;
|
|
7358
7225
|
}
|
|
@@ -7373,10 +7240,8 @@ var require_pluralize = __commonJS({
|
|
|
7373
7240
|
function checkWord(replaceMap, keepMap, rules, bool) {
|
|
7374
7241
|
return function(word) {
|
|
7375
7242
|
var token = word.toLowerCase();
|
|
7376
|
-
if (keepMap.hasOwnProperty(token))
|
|
7377
|
-
|
|
7378
|
-
if (replaceMap.hasOwnProperty(token))
|
|
7379
|
-
return false;
|
|
7243
|
+
if (keepMap.hasOwnProperty(token)) return true;
|
|
7244
|
+
if (replaceMap.hasOwnProperty(token)) return false;
|
|
7380
7245
|
return sanitizeWord(token, token, rules) === token;
|
|
7381
7246
|
};
|
|
7382
7247
|
}
|
|
@@ -8511,7 +8376,7 @@ var require_inspect2 = __commonJS({
|
|
|
8511
8376
|
module.exports = {
|
|
8512
8377
|
inspect: require_inspect(),
|
|
8513
8378
|
string: {
|
|
8514
|
-
html: (value) => new PrettyPrintHtml().print(value)
|
|
8379
|
+
html: /* @__PURE__ */ __name((value) => new PrettyPrintHtml().print(value), "html")
|
|
8515
8380
|
}
|
|
8516
8381
|
};
|
|
8517
8382
|
}
|
|
@@ -8522,6 +8387,7 @@ var import_reflect_metadata = __toESM(require_Reflect(), 1);
|
|
|
8522
8387
|
import { PathLoader } from "@h3ravel/shared";
|
|
8523
8388
|
import dotenv from "dotenv";
|
|
8524
8389
|
import path from "path";
|
|
8390
|
+
import { dd, dump } from "@h3ravel/support";
|
|
8525
8391
|
|
|
8526
8392
|
// ../../node_modules/.pnpm/edge.js@6.3.0/node_modules/edge.js/build/chunk-EKKK4GME.js
|
|
8527
8393
|
var import_he = __toESM(require_he(), 1);
|
|
@@ -9841,11 +9707,10 @@ var svg2 = merge([
|
|
|
9841
9707
|
// ../../node_modules/.pnpm/edge.js@6.3.0/node_modules/edge.js/build/chunk-EKKK4GME.js
|
|
9842
9708
|
var __defProp2 = Object.defineProperty;
|
|
9843
9709
|
var __export2 = /* @__PURE__ */ __name((target, all) => {
|
|
9844
|
-
for (var name in all)
|
|
9845
|
-
|
|
9846
|
-
|
|
9847
|
-
|
|
9848
|
-
});
|
|
9710
|
+
for (var name in all) __defProp2(target, name, {
|
|
9711
|
+
get: all[name],
|
|
9712
|
+
enumerable: true
|
|
9713
|
+
});
|
|
9849
9714
|
}, "__export");
|
|
9850
9715
|
var Stacks = class {
|
|
9851
9716
|
static {
|
|
@@ -10532,12 +10397,10 @@ var __getOwnPropNames2 = Object.getOwnPropertyNames;
|
|
|
10532
10397
|
var __hasOwnProp2 = Object.prototype.hasOwnProperty;
|
|
10533
10398
|
var __copyProps2 = /* @__PURE__ */ __name((to, from, except, desc) => {
|
|
10534
10399
|
if (from && typeof from === "object" || typeof from === "function") {
|
|
10535
|
-
for (let key of __getOwnPropNames2(from))
|
|
10536
|
-
|
|
10537
|
-
|
|
10538
|
-
|
|
10539
|
-
enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable
|
|
10540
|
-
});
|
|
10400
|
+
for (let key of __getOwnPropNames2(from)) if (!__hasOwnProp2.call(to, key) && key !== except) __defProp3(to, key, {
|
|
10401
|
+
get: /* @__PURE__ */ __name(() => from[key], "get"),
|
|
10402
|
+
enumerable: !(desc = __getOwnPropDesc2(from, key)) || desc.enumerable
|
|
10403
|
+
});
|
|
10541
10404
|
}
|
|
10542
10405
|
return to;
|
|
10543
10406
|
}, "__copyProps");
|
|
@@ -10566,18 +10429,12 @@ var YEAR = DAY * 365.25;
|
|
|
10566
10429
|
function parse2(val) {
|
|
10567
10430
|
var num, arr = val.toLowerCase().match(RGX);
|
|
10568
10431
|
if (arr != null && (num = parseFloat(arr[1]))) {
|
|
10569
|
-
if (arr[3] != null)
|
|
10570
|
-
|
|
10571
|
-
if (arr[
|
|
10572
|
-
|
|
10573
|
-
if (arr[
|
|
10574
|
-
|
|
10575
|
-
if (arr[6] != null)
|
|
10576
|
-
return num * DAY;
|
|
10577
|
-
if (arr[7] != null)
|
|
10578
|
-
return num * DAY * 7;
|
|
10579
|
-
if (arr[8] != null)
|
|
10580
|
-
return num * YEAR;
|
|
10432
|
+
if (arr[3] != null) return num * SEC;
|
|
10433
|
+
if (arr[4] != null) return num * MIN;
|
|
10434
|
+
if (arr[5] != null) return num * HOUR;
|
|
10435
|
+
if (arr[6] != null) return num * DAY;
|
|
10436
|
+
if (arr[7] != null) return num * DAY * 7;
|
|
10437
|
+
if (arr[8] != null) return num * YEAR;
|
|
10581
10438
|
return num;
|
|
10582
10439
|
}
|
|
10583
10440
|
}
|
|
@@ -10589,16 +10446,11 @@ function fmt(val, pfx, str, long) {
|
|
|
10589
10446
|
__name(fmt, "fmt");
|
|
10590
10447
|
function format(num, long) {
|
|
10591
10448
|
var pfx = num < 0 ? "-" : "", abs = num < 0 ? -num : num;
|
|
10592
|
-
if (abs < SEC)
|
|
10593
|
-
|
|
10594
|
-
if (abs < MIN)
|
|
10595
|
-
|
|
10596
|
-
if (abs <
|
|
10597
|
-
return fmt(abs / MIN, pfx, "minute", long);
|
|
10598
|
-
if (abs < DAY)
|
|
10599
|
-
return fmt(abs / HOUR, pfx, "hour", long);
|
|
10600
|
-
if (abs < YEAR)
|
|
10601
|
-
return fmt(abs / DAY, pfx, "day", long);
|
|
10449
|
+
if (abs < SEC) return num + (long ? " ms" : "ms");
|
|
10450
|
+
if (abs < MIN) return fmt(abs / SEC, pfx, "second", long);
|
|
10451
|
+
if (abs < HOUR) return fmt(abs / MIN, pfx, "minute", long);
|
|
10452
|
+
if (abs < DAY) return fmt(abs / HOUR, pfx, "hour", long);
|
|
10453
|
+
if (abs < YEAR) return fmt(abs / DAY, pfx, "day", long);
|
|
10602
10454
|
return fmt(abs / YEAR, pfx, "year", long);
|
|
10603
10455
|
}
|
|
10604
10456
|
__name(format, "format");
|
|
@@ -10621,8 +10473,7 @@ function getPartsAndIndexes(string2, splitRegex) {
|
|
|
10621
10473
|
const matches = string2.matchAll(splitRegex);
|
|
10622
10474
|
let lastWordEndIndex = 0;
|
|
10623
10475
|
for (const match of matches) {
|
|
10624
|
-
if (typeof match.index !== "number")
|
|
10625
|
-
continue;
|
|
10476
|
+
if (typeof match.index !== "number") continue;
|
|
10626
10477
|
const word = match[0];
|
|
10627
10478
|
result.parts.push(word);
|
|
10628
10479
|
const prefix = string2.slice(lastWordEndIndex, match.index).trim();
|
|
@@ -10661,8 +10512,7 @@ function splitAndPrefix(string2, options) {
|
|
|
10661
10512
|
if (i === 0) {
|
|
10662
10513
|
return foundPrefix + part;
|
|
10663
10514
|
}
|
|
10664
|
-
if (!foundPrefix && !part)
|
|
10665
|
-
return "";
|
|
10515
|
+
if (!foundPrefix && !part) return "";
|
|
10666
10516
|
if (!hasSpaces) {
|
|
10667
10517
|
return (foundPrefix || prefix) + part;
|
|
10668
10518
|
}
|
|
@@ -11276,7 +11126,7 @@ import readdirSync from "fs-readdir-recursive";
|
|
|
11276
11126
|
import { existsSync, readFileSync } from "fs";
|
|
11277
11127
|
|
|
11278
11128
|
// ../../node_modules/.pnpm/edge-parser@9.0.4/node_modules/edge-parser/build/index.js
|
|
11279
|
-
import { EOL as EOL2 } from "
|
|
11129
|
+
import { EOL as EOL2 } from "os";
|
|
11280
11130
|
|
|
11281
11131
|
// ../../node_modules/.pnpm/edge-lexer@6.0.3/node_modules/edge-lexer/build/chunk-WLTPKIE5.js
|
|
11282
11132
|
var MustacheTypes = /* @__PURE__ */ ((MustacheTypes2) => {
|
|
@@ -12374,8 +12224,7 @@ var GENERATOR = {
|
|
|
12374
12224
|
state.write(" with { ");
|
|
12375
12225
|
for (let i2 = 0; i2 < attributes.length; i2++) {
|
|
12376
12226
|
this.ImportAttribute(attributes[i2], state);
|
|
12377
|
-
if (i2 < attributes.length - 1)
|
|
12378
|
-
state.write(", ");
|
|
12227
|
+
if (i2 < attributes.length - 1) state.write(", ");
|
|
12379
12228
|
}
|
|
12380
12229
|
state.write(" }");
|
|
12381
12230
|
}
|
|
@@ -12429,8 +12278,7 @@ var GENERATOR = {
|
|
|
12429
12278
|
state.write(" with { ");
|
|
12430
12279
|
for (let i = 0; i < node.attributes.length; i++) {
|
|
12431
12280
|
this.ImportAttribute(node.attributes[i], state);
|
|
12432
|
-
if (i < node.attributes.length - 1)
|
|
12433
|
-
state.write(", ");
|
|
12281
|
+
if (i < node.attributes.length - 1) state.write(", ");
|
|
12434
12282
|
}
|
|
12435
12283
|
state.write(" }");
|
|
12436
12284
|
}
|
|
@@ -12448,8 +12296,7 @@ var GENERATOR = {
|
|
|
12448
12296
|
state.write(" with { ");
|
|
12449
12297
|
for (let i = 0; i < node.attributes.length; i++) {
|
|
12450
12298
|
this.ImportAttribute(node.attributes[i], state);
|
|
12451
|
-
if (i < node.attributes.length - 1)
|
|
12452
|
-
state.write(", ");
|
|
12299
|
+
if (i < node.attributes.length - 1) state.write(", ");
|
|
12453
12300
|
}
|
|
12454
12301
|
state.write(" }");
|
|
12455
12302
|
}
|
|
@@ -13013,8 +12860,7 @@ function isIdentifierChar(code, astral) {
|
|
|
13013
12860
|
}
|
|
13014
12861
|
__name(isIdentifierChar, "isIdentifierChar");
|
|
13015
12862
|
var TokenType = /* @__PURE__ */ __name(function TokenType2(label, conf) {
|
|
13016
|
-
if (conf === void 0)
|
|
13017
|
-
conf = {};
|
|
12863
|
+
if (conf === void 0) conf = {};
|
|
13018
12864
|
this.label = label;
|
|
13019
12865
|
this.keyword = conf.keyword;
|
|
13020
12866
|
this.beforeExpr = !!conf.beforeExpr;
|
|
@@ -13034,8 +12880,7 @@ var beforeExpr = { beforeExpr: true };
|
|
|
13034
12880
|
var startsExpr = { startsExpr: true };
|
|
13035
12881
|
var keywords = {};
|
|
13036
12882
|
function kw(name, options) {
|
|
13037
|
-
if (options === void 0)
|
|
13038
|
-
options = {};
|
|
12883
|
+
if (options === void 0) options = {};
|
|
13039
12884
|
options.keyword = name;
|
|
13040
12885
|
return keywords[name] = new TokenType(name, options);
|
|
13041
12886
|
}
|
|
@@ -13141,8 +12986,7 @@ function isNewLine(code) {
|
|
|
13141
12986
|
}
|
|
13142
12987
|
__name(isNewLine, "isNewLine");
|
|
13143
12988
|
function nextLineBreak(code, from, end) {
|
|
13144
|
-
if (end === void 0)
|
|
13145
|
-
end = code.length;
|
|
12989
|
+
if (end === void 0) end = code.length;
|
|
13146
12990
|
for (var i = from; i < end; i++) {
|
|
13147
12991
|
var next = code.charCodeAt(i);
|
|
13148
12992
|
if (isNewLine(next)) {
|
|
@@ -13475,8 +13319,7 @@ prototypeAccessors.inClassStaticBlock.get = function() {
|
|
|
13475
13319
|
};
|
|
13476
13320
|
Parser.extend = /* @__PURE__ */ __name(function extend() {
|
|
13477
13321
|
var plugins = [], len = arguments.length;
|
|
13478
|
-
while (len--)
|
|
13479
|
-
plugins[len] = arguments[len];
|
|
13322
|
+
while (len--) plugins[len] = arguments[len];
|
|
13480
13323
|
var cls = this;
|
|
13481
13324
|
for (var i = 0; i < plugins.length; i++) {
|
|
13482
13325
|
cls = plugins[i](cls);
|
|
@@ -13794,6 +13637,11 @@ pp$8.parseStatement = function(context, topLevel, exports) {
|
|
|
13794
13637
|
}
|
|
13795
13638
|
}
|
|
13796
13639
|
return starttype === types$1._import ? this.parseImport(node) : this.parseExport(node, exports);
|
|
13640
|
+
// If the statement does not start with a statement keyword or a
|
|
13641
|
+
// brace, it's an ExpressionStatement or LabeledStatement. We
|
|
13642
|
+
// simply start parsing an expression, and afterwards, if the
|
|
13643
|
+
// next token is a colon and the expression was a simple
|
|
13644
|
+
// Identifier node, we switch to interpreting it as a label.
|
|
13797
13645
|
default:
|
|
13798
13646
|
if (this.isAsyncFunction()) {
|
|
13799
13647
|
if (context) {
|
|
@@ -14120,10 +13968,8 @@ pp$8.parseExpressionStatement = function(node, expr) {
|
|
|
14120
13968
|
return this.finishNode(node, "ExpressionStatement");
|
|
14121
13969
|
};
|
|
14122
13970
|
pp$8.parseBlock = function(createNewLexicalScope, node, exitStrict) {
|
|
14123
|
-
if (createNewLexicalScope === void 0)
|
|
14124
|
-
|
|
14125
|
-
if (node === void 0)
|
|
14126
|
-
node = this.startNode();
|
|
13971
|
+
if (createNewLexicalScope === void 0) createNewLexicalScope = true;
|
|
13972
|
+
if (node === void 0) node = this.startNode();
|
|
14127
13973
|
node.body = [];
|
|
14128
13974
|
this.expect(types$1.braceL);
|
|
14129
13975
|
if (createNewLexicalScope) {
|
|
@@ -14922,8 +14768,7 @@ pp$7.parseMaybeDefault = function(startPos, startLoc, left) {
|
|
|
14922
14768
|
return this.finishNode(node, "AssignmentPattern");
|
|
14923
14769
|
};
|
|
14924
14770
|
pp$7.checkLValSimple = function(expr, bindingType, checkClashes) {
|
|
14925
|
-
if (bindingType === void 0)
|
|
14926
|
-
bindingType = BIND_NONE;
|
|
14771
|
+
if (bindingType === void 0) bindingType = BIND_NONE;
|
|
14927
14772
|
var isBind = bindingType !== BIND_NONE;
|
|
14928
14773
|
switch (expr.type) {
|
|
14929
14774
|
case "Identifier":
|
|
@@ -14963,8 +14808,7 @@ pp$7.checkLValSimple = function(expr, bindingType, checkClashes) {
|
|
|
14963
14808
|
}
|
|
14964
14809
|
};
|
|
14965
14810
|
pp$7.checkLValPattern = function(expr, bindingType, checkClashes) {
|
|
14966
|
-
if (bindingType === void 0)
|
|
14967
|
-
bindingType = BIND_NONE;
|
|
14811
|
+
if (bindingType === void 0) bindingType = BIND_NONE;
|
|
14968
14812
|
switch (expr.type) {
|
|
14969
14813
|
case "ObjectPattern":
|
|
14970
14814
|
for (var i = 0, list = expr.properties; i < list.length; i += 1) {
|
|
@@ -14985,8 +14829,7 @@ pp$7.checkLValPattern = function(expr, bindingType, checkClashes) {
|
|
|
14985
14829
|
}
|
|
14986
14830
|
};
|
|
14987
14831
|
pp$7.checkLValInnerPattern = function(expr, bindingType, checkClashes) {
|
|
14988
|
-
if (bindingType === void 0)
|
|
14989
|
-
bindingType = BIND_NONE;
|
|
14832
|
+
if (bindingType === void 0) bindingType = BIND_NONE;
|
|
14990
14833
|
switch (expr.type) {
|
|
14991
14834
|
case "Property":
|
|
14992
14835
|
this.checkLValInnerPattern(expr.value, bindingType, checkClashes);
|
|
@@ -15813,11 +15656,9 @@ pp$5.parseTemplateElement = function(ref2) {
|
|
|
15813
15656
|
return this.finishNode(elem, "TemplateElement");
|
|
15814
15657
|
};
|
|
15815
15658
|
pp$5.parseTemplate = function(ref2) {
|
|
15816
|
-
if (ref2 === void 0)
|
|
15817
|
-
ref2 = {};
|
|
15659
|
+
if (ref2 === void 0) ref2 = {};
|
|
15818
15660
|
var isTagged = ref2.isTagged;
|
|
15819
|
-
if (isTagged === void 0)
|
|
15820
|
-
isTagged = false;
|
|
15661
|
+
if (isTagged === void 0) isTagged = false;
|
|
15821
15662
|
var node = this.startNode();
|
|
15822
15663
|
this.next();
|
|
15823
15664
|
node.expressions = [];
|
|
@@ -16458,8 +16299,7 @@ RegExpValidationState.prototype.raise = /* @__PURE__ */ __name(function raise(me
|
|
|
16458
16299
|
this.parser.raiseRecoverable(this.start, "Invalid regular expression: /" + this.source + "/: " + message);
|
|
16459
16300
|
}, "raise");
|
|
16460
16301
|
RegExpValidationState.prototype.at = /* @__PURE__ */ __name(function at(i, forceU) {
|
|
16461
|
-
if (forceU === void 0)
|
|
16462
|
-
forceU = false;
|
|
16302
|
+
if (forceU === void 0) forceU = false;
|
|
16463
16303
|
var s = this.source;
|
|
16464
16304
|
var l = s.length;
|
|
16465
16305
|
if (i >= l) {
|
|
@@ -16473,8 +16313,7 @@ RegExpValidationState.prototype.at = /* @__PURE__ */ __name(function at(i, force
|
|
|
16473
16313
|
return next >= 56320 && next <= 57343 ? (c << 10) + next - 56613888 : c;
|
|
16474
16314
|
}, "at");
|
|
16475
16315
|
RegExpValidationState.prototype.nextIndex = /* @__PURE__ */ __name(function nextIndex(i, forceU) {
|
|
16476
|
-
if (forceU === void 0)
|
|
16477
|
-
forceU = false;
|
|
16316
|
+
if (forceU === void 0) forceU = false;
|
|
16478
16317
|
var s = this.source;
|
|
16479
16318
|
var l = s.length;
|
|
16480
16319
|
if (i >= l) {
|
|
@@ -16487,23 +16326,19 @@ RegExpValidationState.prototype.nextIndex = /* @__PURE__ */ __name(function next
|
|
|
16487
16326
|
return i + 2;
|
|
16488
16327
|
}, "nextIndex");
|
|
16489
16328
|
RegExpValidationState.prototype.current = /* @__PURE__ */ __name(function current(forceU) {
|
|
16490
|
-
if (forceU === void 0)
|
|
16491
|
-
forceU = false;
|
|
16329
|
+
if (forceU === void 0) forceU = false;
|
|
16492
16330
|
return this.at(this.pos, forceU);
|
|
16493
16331
|
}, "current");
|
|
16494
16332
|
RegExpValidationState.prototype.lookahead = /* @__PURE__ */ __name(function lookahead(forceU) {
|
|
16495
|
-
if (forceU === void 0)
|
|
16496
|
-
forceU = false;
|
|
16333
|
+
if (forceU === void 0) forceU = false;
|
|
16497
16334
|
return this.at(this.nextIndex(this.pos, forceU), forceU);
|
|
16498
16335
|
}, "lookahead");
|
|
16499
16336
|
RegExpValidationState.prototype.advance = /* @__PURE__ */ __name(function advance(forceU) {
|
|
16500
|
-
if (forceU === void 0)
|
|
16501
|
-
forceU = false;
|
|
16337
|
+
if (forceU === void 0) forceU = false;
|
|
16502
16338
|
this.pos = this.nextIndex(this.pos, forceU);
|
|
16503
16339
|
}, "advance");
|
|
16504
16340
|
RegExpValidationState.prototype.eat = /* @__PURE__ */ __name(function eat(ch, forceU) {
|
|
16505
|
-
if (forceU === void 0)
|
|
16506
|
-
forceU = false;
|
|
16341
|
+
if (forceU === void 0) forceU = false;
|
|
16507
16342
|
if (this.current(forceU) === ch) {
|
|
16508
16343
|
this.advance(forceU);
|
|
16509
16344
|
return true;
|
|
@@ -16511,8 +16346,7 @@ RegExpValidationState.prototype.eat = /* @__PURE__ */ __name(function eat(ch, fo
|
|
|
16511
16346
|
return false;
|
|
16512
16347
|
}, "eat");
|
|
16513
16348
|
RegExpValidationState.prototype.eatChars = /* @__PURE__ */ __name(function eatChars(chs, forceU) {
|
|
16514
|
-
if (forceU === void 0)
|
|
16515
|
-
forceU = false;
|
|
16349
|
+
if (forceU === void 0) forceU = false;
|
|
16516
16350
|
var pos = this.pos;
|
|
16517
16351
|
for (var i = 0, list = chs; i < list.length; i += 1) {
|
|
16518
16352
|
var ch = list[i];
|
|
@@ -16711,8 +16545,7 @@ pp$1.regexp_eatAssertion = function(state) {
|
|
|
16711
16545
|
return false;
|
|
16712
16546
|
};
|
|
16713
16547
|
pp$1.regexp_eatQuantifier = function(state, noError) {
|
|
16714
|
-
if (noError === void 0)
|
|
16715
|
-
noError = false;
|
|
16548
|
+
if (noError === void 0) noError = false;
|
|
16716
16549
|
if (this.regexp_eatQuantifierPrefix(state, noError)) {
|
|
16717
16550
|
state.eat(
|
|
16718
16551
|
63
|
|
@@ -17119,8 +16952,7 @@ function isControlLetter(ch) {
|
|
|
17119
16952
|
}
|
|
17120
16953
|
__name(isControlLetter, "isControlLetter");
|
|
17121
16954
|
pp$1.regexp_eatRegExpUnicodeEscapeSequence = function(state, forceU) {
|
|
17122
|
-
if (forceU === void 0)
|
|
17123
|
-
forceU = false;
|
|
16955
|
+
if (forceU === void 0) forceU = false;
|
|
17124
16956
|
var start = state.pos;
|
|
17125
16957
|
var switchU = forceU || state.switchU;
|
|
17126
16958
|
if (state.eat(
|
|
@@ -17409,8 +17241,7 @@ pp$1.regexp_eatClassEscape = function(state) {
|
|
|
17409
17241
|
};
|
|
17410
17242
|
pp$1.regexp_classSetExpression = function(state) {
|
|
17411
17243
|
var result = CharSetOk, subResult;
|
|
17412
|
-
if (this.regexp_eatClassSetRange(state))
|
|
17413
|
-
;
|
|
17244
|
+
if (this.regexp_eatClassSetRange(state)) ;
|
|
17414
17245
|
else if (subResult = this.regexp_eatClassSetOperand(state)) {
|
|
17415
17246
|
if (subResult === CharSetString) {
|
|
17416
17247
|
result = CharSetString;
|
|
@@ -17753,13 +17584,13 @@ if (typeof Symbol !== "undefined") {
|
|
|
17753
17584
|
pp[Symbol.iterator] = function() {
|
|
17754
17585
|
var this$1$1 = this;
|
|
17755
17586
|
return {
|
|
17756
|
-
next: function() {
|
|
17587
|
+
next: /* @__PURE__ */ __name(function() {
|
|
17757
17588
|
var token = this$1$1.getToken();
|
|
17758
17589
|
return {
|
|
17759
17590
|
done: token.type === types$1.eof,
|
|
17760
17591
|
value: token
|
|
17761
17592
|
};
|
|
17762
|
-
}
|
|
17593
|
+
}, "next")
|
|
17763
17594
|
};
|
|
17764
17595
|
};
|
|
17765
17596
|
}
|
|
@@ -17838,47 +17669,46 @@ pp.skipLineComment = function(startSkip) {
|
|
|
17838
17669
|
}
|
|
17839
17670
|
};
|
|
17840
17671
|
pp.skipSpace = function() {
|
|
17841
|
-
loop:
|
|
17842
|
-
|
|
17843
|
-
|
|
17844
|
-
|
|
17845
|
-
|
|
17846
|
-
|
|
17847
|
-
|
|
17848
|
-
|
|
17849
|
-
|
|
17850
|
-
if (this.input.charCodeAt(this.pos + 1) === 10) {
|
|
17851
|
-
++this.pos;
|
|
17852
|
-
}
|
|
17853
|
-
case 10:
|
|
17854
|
-
case 8232:
|
|
17855
|
-
case 8233:
|
|
17672
|
+
loop: while (this.pos < this.input.length) {
|
|
17673
|
+
var ch = this.input.charCodeAt(this.pos);
|
|
17674
|
+
switch (ch) {
|
|
17675
|
+
case 32:
|
|
17676
|
+
case 160:
|
|
17677
|
+
++this.pos;
|
|
17678
|
+
break;
|
|
17679
|
+
case 13:
|
|
17680
|
+
if (this.input.charCodeAt(this.pos + 1) === 10) {
|
|
17856
17681
|
++this.pos;
|
|
17857
|
-
|
|
17858
|
-
|
|
17859
|
-
|
|
17860
|
-
|
|
17861
|
-
|
|
17862
|
-
|
|
17863
|
-
|
|
17864
|
-
|
|
17865
|
-
|
|
17866
|
-
|
|
17867
|
-
|
|
17868
|
-
|
|
17869
|
-
|
|
17870
|
-
|
|
17871
|
-
|
|
17872
|
-
|
|
17873
|
-
|
|
17874
|
-
|
|
17875
|
-
|
|
17876
|
-
++this.pos;
|
|
17877
|
-
} else {
|
|
17682
|
+
}
|
|
17683
|
+
case 10:
|
|
17684
|
+
case 8232:
|
|
17685
|
+
case 8233:
|
|
17686
|
+
++this.pos;
|
|
17687
|
+
if (this.options.locations) {
|
|
17688
|
+
++this.curLine;
|
|
17689
|
+
this.lineStart = this.pos;
|
|
17690
|
+
}
|
|
17691
|
+
break;
|
|
17692
|
+
case 47:
|
|
17693
|
+
switch (this.input.charCodeAt(this.pos + 1)) {
|
|
17694
|
+
case 42:
|
|
17695
|
+
this.skipBlockComment();
|
|
17696
|
+
break;
|
|
17697
|
+
case 47:
|
|
17698
|
+
this.skipLineComment(2);
|
|
17699
|
+
break;
|
|
17700
|
+
default:
|
|
17878
17701
|
break loop;
|
|
17879
|
-
|
|
17880
|
-
|
|
17702
|
+
}
|
|
17703
|
+
break;
|
|
17704
|
+
default:
|
|
17705
|
+
if (ch > 8 && ch < 14 || ch >= 5760 && nonASCIIwhitespace.test(String.fromCharCode(ch))) {
|
|
17706
|
+
++this.pos;
|
|
17707
|
+
} else {
|
|
17708
|
+
break loop;
|
|
17709
|
+
}
|
|
17881
17710
|
}
|
|
17711
|
+
}
|
|
17882
17712
|
};
|
|
17883
17713
|
pp.finishToken = function(type, val) {
|
|
17884
17714
|
this.end = this.pos;
|
|
@@ -18034,8 +17864,11 @@ pp.readToken_numberSign = function() {
|
|
|
18034
17864
|
};
|
|
18035
17865
|
pp.getTokenFromCode = function(code) {
|
|
18036
17866
|
switch (code) {
|
|
17867
|
+
// The interpretation of a dot depends on whether it is followed
|
|
17868
|
+
// by a digit or another two dots.
|
|
18037
17869
|
case 46:
|
|
18038
17870
|
return this.readToken_dot();
|
|
17871
|
+
// Punctuation tokens.
|
|
18039
17872
|
case 40:
|
|
18040
17873
|
++this.pos;
|
|
18041
17874
|
return this.finishToken(types$1.parenL);
|
|
@@ -18082,6 +17915,8 @@ pp.getTokenFromCode = function(code) {
|
|
|
18082
17915
|
return this.readRadixNumber(2);
|
|
18083
17916
|
}
|
|
18084
17917
|
}
|
|
17918
|
+
// Anything else beginning with a digit is an integer, octal
|
|
17919
|
+
// number, or float.
|
|
18085
17920
|
case 49:
|
|
18086
17921
|
case 50:
|
|
18087
17922
|
case 51:
|
|
@@ -18092,9 +17927,14 @@ pp.getTokenFromCode = function(code) {
|
|
|
18092
17927
|
case 56:
|
|
18093
17928
|
case 57:
|
|
18094
17929
|
return this.readNumber(false);
|
|
17930
|
+
// Quotes produce strings.
|
|
18095
17931
|
case 34:
|
|
18096
17932
|
case 39:
|
|
18097
17933
|
return this.readString(code);
|
|
17934
|
+
// Operators are parsed inline in tiny state machines. '=' (61) is
|
|
17935
|
+
// often referred to. `finishOp` simply skips the amount of
|
|
17936
|
+
// characters it is given as second argument, and returns a token
|
|
17937
|
+
// of the type given by its first argument.
|
|
18098
17938
|
case 47:
|
|
18099
17939
|
return this.readToken_slash();
|
|
18100
17940
|
case 37:
|
|
@@ -18412,12 +18252,14 @@ pp.readInvalidTemplateToken = function() {
|
|
|
18412
18252
|
if (this.input[this.pos + 1] !== "{") {
|
|
18413
18253
|
break;
|
|
18414
18254
|
}
|
|
18255
|
+
// fall through
|
|
18415
18256
|
case "`":
|
|
18416
18257
|
return this.finishToken(types$1.invalidTemplate, this.input.slice(this.start, this.pos));
|
|
18417
18258
|
case "\r":
|
|
18418
18259
|
if (this.input[this.pos + 1] === "\n") {
|
|
18419
18260
|
++this.pos;
|
|
18420
18261
|
}
|
|
18262
|
+
// fall through
|
|
18421
18263
|
case "\n":
|
|
18422
18264
|
case "\u2028":
|
|
18423
18265
|
case "\u2029":
|
|
@@ -18434,24 +18276,33 @@ pp.readEscapedChar = function(inTemplate) {
|
|
|
18434
18276
|
switch (ch) {
|
|
18435
18277
|
case 110:
|
|
18436
18278
|
return "\n";
|
|
18279
|
+
// 'n' -> '\n'
|
|
18437
18280
|
case 114:
|
|
18438
18281
|
return "\r";
|
|
18282
|
+
// 'r' -> '\r'
|
|
18439
18283
|
case 120:
|
|
18440
18284
|
return String.fromCharCode(this.readHexChar(2));
|
|
18285
|
+
// 'x'
|
|
18441
18286
|
case 117:
|
|
18442
18287
|
return codePointToString(this.readCodePoint());
|
|
18288
|
+
// 'u'
|
|
18443
18289
|
case 116:
|
|
18444
18290
|
return " ";
|
|
18291
|
+
// 't' -> '\t'
|
|
18445
18292
|
case 98:
|
|
18446
18293
|
return "\b";
|
|
18294
|
+
// 'b' -> '\b'
|
|
18447
18295
|
case 118:
|
|
18448
18296
|
return "\v";
|
|
18297
|
+
// 'v' -> '\u000b'
|
|
18449
18298
|
case 102:
|
|
18450
18299
|
return "\f";
|
|
18300
|
+
// 'f' -> '\f'
|
|
18451
18301
|
case 13:
|
|
18452
18302
|
if (this.input.charCodeAt(this.pos) === 10) {
|
|
18453
18303
|
++this.pos;
|
|
18454
18304
|
}
|
|
18305
|
+
// '\r\n'
|
|
18455
18306
|
case 10:
|
|
18456
18307
|
if (this.options.locations) {
|
|
18457
18308
|
this.lineStart = this.pos;
|
|
@@ -18575,14 +18426,13 @@ __name(parse5, "parse");
|
|
|
18575
18426
|
|
|
18576
18427
|
// ../../node_modules/.pnpm/edge-parser@9.0.4/node_modules/edge-parser/build/index.js
|
|
18577
18428
|
var import_js_stringify = __toESM(require_js_stringify(), 1);
|
|
18578
|
-
import { EOL as EOL22 } from "
|
|
18429
|
+
import { EOL as EOL22 } from "os";
|
|
18579
18430
|
var __defProp4 = Object.defineProperty;
|
|
18580
18431
|
var __export3 = /* @__PURE__ */ __name((target, all) => {
|
|
18581
|
-
for (var name in all)
|
|
18582
|
-
|
|
18583
|
-
|
|
18584
|
-
|
|
18585
|
-
});
|
|
18432
|
+
for (var name in all) __defProp4(target, name, {
|
|
18433
|
+
get: all[name],
|
|
18434
|
+
enumerable: true
|
|
18435
|
+
});
|
|
18586
18436
|
}, "__export");
|
|
18587
18437
|
var Stack = class {
|
|
18588
18438
|
static {
|
|
@@ -18664,7 +18514,7 @@ function generateAST(jsArg, lexerLoc, filename) {
|
|
|
18664
18514
|
locations: true,
|
|
18665
18515
|
ecmaVersion: 2020,
|
|
18666
18516
|
allowAwaitOutsideFunction: true,
|
|
18667
|
-
onToken: (token) => patchLoc(token.loc, lexerLoc)
|
|
18517
|
+
onToken: /* @__PURE__ */ __name((token) => patchLoc(token.loc, lexerLoc), "onToken")
|
|
18668
18518
|
};
|
|
18669
18519
|
try {
|
|
18670
18520
|
const ast = parse5(jsArg, acornOptions);
|
|
@@ -18682,29 +18532,29 @@ function generateAST(jsArg, lexerLoc, filename) {
|
|
|
18682
18532
|
__name(generateAST, "generateAST");
|
|
18683
18533
|
var expressions_exports = {};
|
|
18684
18534
|
__export3(expressions_exports, {
|
|
18685
|
-
ArrayExpression: () => array_expression_default,
|
|
18686
|
-
ArrowFunctionExpression: () => arrow_function_expression_default,
|
|
18687
|
-
AssignmentExpression: () => assignment_expression_default,
|
|
18688
|
-
AwaitExpression: () => await_expression_default,
|
|
18689
|
-
BinaryExpression: () => binary_expression_default,
|
|
18690
|
-
BlockStatement: () => block_statement_default,
|
|
18691
|
-
CallExpression: () => call_expression_default,
|
|
18692
|
-
ChainExpression: () => chain_expression_default,
|
|
18693
|
-
ConditionalExpression: () => conditional_expression_default,
|
|
18694
|
-
ExpressionStatement: () => expression_statement_default,
|
|
18695
|
-
FunctionDeclaration: () => function_declaration_default,
|
|
18696
|
-
Identifier: () => identifier_default,
|
|
18697
|
-
Literal: () => literal_default,
|
|
18698
|
-
LogicalExpression: () => logical_expression_default,
|
|
18699
|
-
MemberExpression: () => member_expression_default,
|
|
18700
|
-
NewExpression: () => new_expression_default,
|
|
18701
|
-
ObjectExpression: () => object_expression_default,
|
|
18702
|
-
ReturnStatement: () => return_statement_default,
|
|
18703
|
-
SequenceExpression: () => sequence_expression_default,
|
|
18704
|
-
SpreadElement: () => spread_element_default,
|
|
18705
|
-
TemplateLiteral: () => template_literal_default,
|
|
18706
|
-
ThisExpression: () => this_expression_default,
|
|
18707
|
-
UnaryExpression: () => unary_expression_default
|
|
18535
|
+
ArrayExpression: /* @__PURE__ */ __name(() => array_expression_default, "ArrayExpression"),
|
|
18536
|
+
ArrowFunctionExpression: /* @__PURE__ */ __name(() => arrow_function_expression_default, "ArrowFunctionExpression"),
|
|
18537
|
+
AssignmentExpression: /* @__PURE__ */ __name(() => assignment_expression_default, "AssignmentExpression"),
|
|
18538
|
+
AwaitExpression: /* @__PURE__ */ __name(() => await_expression_default, "AwaitExpression"),
|
|
18539
|
+
BinaryExpression: /* @__PURE__ */ __name(() => binary_expression_default, "BinaryExpression"),
|
|
18540
|
+
BlockStatement: /* @__PURE__ */ __name(() => block_statement_default, "BlockStatement"),
|
|
18541
|
+
CallExpression: /* @__PURE__ */ __name(() => call_expression_default, "CallExpression"),
|
|
18542
|
+
ChainExpression: /* @__PURE__ */ __name(() => chain_expression_default, "ChainExpression"),
|
|
18543
|
+
ConditionalExpression: /* @__PURE__ */ __name(() => conditional_expression_default, "ConditionalExpression"),
|
|
18544
|
+
ExpressionStatement: /* @__PURE__ */ __name(() => expression_statement_default, "ExpressionStatement"),
|
|
18545
|
+
FunctionDeclaration: /* @__PURE__ */ __name(() => function_declaration_default, "FunctionDeclaration"),
|
|
18546
|
+
Identifier: /* @__PURE__ */ __name(() => identifier_default, "Identifier"),
|
|
18547
|
+
Literal: /* @__PURE__ */ __name(() => literal_default, "Literal"),
|
|
18548
|
+
LogicalExpression: /* @__PURE__ */ __name(() => logical_expression_default, "LogicalExpression"),
|
|
18549
|
+
MemberExpression: /* @__PURE__ */ __name(() => member_expression_default, "MemberExpression"),
|
|
18550
|
+
NewExpression: /* @__PURE__ */ __name(() => new_expression_default, "NewExpression"),
|
|
18551
|
+
ObjectExpression: /* @__PURE__ */ __name(() => object_expression_default, "ObjectExpression"),
|
|
18552
|
+
ReturnStatement: /* @__PURE__ */ __name(() => return_statement_default, "ReturnStatement"),
|
|
18553
|
+
SequenceExpression: /* @__PURE__ */ __name(() => sequence_expression_default, "SequenceExpression"),
|
|
18554
|
+
SpreadElement: /* @__PURE__ */ __name(() => spread_element_default, "SpreadElement"),
|
|
18555
|
+
TemplateLiteral: /* @__PURE__ */ __name(() => template_literal_default, "TemplateLiteral"),
|
|
18556
|
+
ThisExpression: /* @__PURE__ */ __name(() => this_expression_default, "ThisExpression"),
|
|
18557
|
+
UnaryExpression: /* @__PURE__ */ __name(() => unary_expression_default, "UnaryExpression")
|
|
18708
18558
|
});
|
|
18709
18559
|
function makeMemberAccessor(propertyName, args) {
|
|
18710
18560
|
return {
|
|
@@ -19608,24 +19458,24 @@ var Loader = class {
|
|
|
19608
19458
|
};
|
|
19609
19459
|
var main_exports = {};
|
|
19610
19460
|
__export2(main_exports, {
|
|
19611
|
-
assign: () => assignTag,
|
|
19612
|
-
component: () => componentTag,
|
|
19613
|
-
debugger: () => debuggerTag,
|
|
19614
|
-
each: () => eachTag,
|
|
19615
|
-
else: () => elseTag,
|
|
19616
|
-
elseif: () => elseIfTag,
|
|
19617
|
-
eval: () => evalTag,
|
|
19618
|
-
if: () => ifTag,
|
|
19619
|
-
include: () => includeTag,
|
|
19620
|
-
includeIf: () => includeIfTag,
|
|
19621
|
-
inject: () => injectTag,
|
|
19622
|
-
let: () => letTag,
|
|
19623
|
-
newError: () => newErrorTag,
|
|
19624
|
-
pushOnceTo: () => pushOnceToTag,
|
|
19625
|
-
pushTo: () => pushToTag,
|
|
19626
|
-
slot: () => slotTag,
|
|
19627
|
-
stack: () => stackTag,
|
|
19628
|
-
unless: () => unlessTag
|
|
19461
|
+
assign: /* @__PURE__ */ __name(() => assignTag, "assign"),
|
|
19462
|
+
component: /* @__PURE__ */ __name(() => componentTag, "component"),
|
|
19463
|
+
debugger: /* @__PURE__ */ __name(() => debuggerTag, "debugger"),
|
|
19464
|
+
each: /* @__PURE__ */ __name(() => eachTag, "each"),
|
|
19465
|
+
else: /* @__PURE__ */ __name(() => elseTag, "else"),
|
|
19466
|
+
elseif: /* @__PURE__ */ __name(() => elseIfTag, "elseif"),
|
|
19467
|
+
eval: /* @__PURE__ */ __name(() => evalTag, "eval"),
|
|
19468
|
+
if: /* @__PURE__ */ __name(() => ifTag, "if"),
|
|
19469
|
+
include: /* @__PURE__ */ __name(() => includeTag, "include"),
|
|
19470
|
+
includeIf: /* @__PURE__ */ __name(() => includeIfTag, "includeIf"),
|
|
19471
|
+
inject: /* @__PURE__ */ __name(() => injectTag, "inject"),
|
|
19472
|
+
let: /* @__PURE__ */ __name(() => letTag, "let"),
|
|
19473
|
+
newError: /* @__PURE__ */ __name(() => newErrorTag, "newError"),
|
|
19474
|
+
pushOnceTo: /* @__PURE__ */ __name(() => pushOnceToTag, "pushOnceTo"),
|
|
19475
|
+
pushTo: /* @__PURE__ */ __name(() => pushToTag, "pushTo"),
|
|
19476
|
+
slot: /* @__PURE__ */ __name(() => slotTag, "slot"),
|
|
19477
|
+
stack: /* @__PURE__ */ __name(() => stackTag, "stack"),
|
|
19478
|
+
unless: /* @__PURE__ */ __name(() => unlessTag, "unless")
|
|
19629
19479
|
});
|
|
19630
19480
|
var ifTag = {
|
|
19631
19481
|
block: true,
|
|
@@ -20407,10 +20257,10 @@ var Compiler = class {
|
|
|
20407
20257
|
"escape"
|
|
20408
20258
|
],
|
|
20409
20259
|
localVariables: this.#inlineVariables,
|
|
20410
|
-
onTag: (tag) => this.#processor.executeTag({
|
|
20260
|
+
onTag: /* @__PURE__ */ __name((tag) => this.#processor.executeTag({
|
|
20411
20261
|
tag,
|
|
20412
20262
|
path: templatePath
|
|
20413
|
-
})
|
|
20263
|
+
}), "onTag")
|
|
20414
20264
|
});
|
|
20415
20265
|
if (localVariables) {
|
|
20416
20266
|
localVariables.forEach((localVariable) => parser.stack.defineVariable(localVariable));
|
|
@@ -20523,38 +20373,38 @@ var edgeGlobals = {
|
|
|
20523
20373
|
/**
|
|
20524
20374
|
* Converts new lines to break
|
|
20525
20375
|
*/
|
|
20526
|
-
nl2br: (value) => {
|
|
20376
|
+
nl2br: /* @__PURE__ */ __name((value) => {
|
|
20527
20377
|
if (!value) {
|
|
20528
20378
|
return;
|
|
20529
20379
|
}
|
|
20530
20380
|
return String(value).replace(/([^>\r\n]?)(\r\n|\n\r|\r|\n)/g, "$1<br>");
|
|
20531
|
-
},
|
|
20381
|
+
}, "nl2br"),
|
|
20532
20382
|
/**
|
|
20533
20383
|
* Inspect state
|
|
20534
20384
|
*/
|
|
20535
|
-
inspect: (value) => {
|
|
20385
|
+
inspect: /* @__PURE__ */ __name((value) => {
|
|
20536
20386
|
return htmlSafe(import_inspect.default.string.html(value));
|
|
20537
|
-
},
|
|
20387
|
+
}, "inspect"),
|
|
20538
20388
|
/**
|
|
20539
20389
|
* Truncate a sentence
|
|
20540
20390
|
*/
|
|
20541
|
-
truncate: (value, length = 20, options) => {
|
|
20391
|
+
truncate: /* @__PURE__ */ __name((value, length = 20, options) => {
|
|
20542
20392
|
options = options || {};
|
|
20543
20393
|
return main_default2.truncate(value, length, {
|
|
20544
20394
|
completeWords: options.completeWords !== void 0 ? options.completeWords : !options.strict,
|
|
20545
20395
|
suffix: options.suffix
|
|
20546
20396
|
});
|
|
20547
|
-
},
|
|
20397
|
+
}, "truncate"),
|
|
20548
20398
|
/**
|
|
20549
20399
|
* Generate an excerpt
|
|
20550
20400
|
*/
|
|
20551
|
-
excerpt: (value, length = 20, options) => {
|
|
20401
|
+
excerpt: /* @__PURE__ */ __name((value, length = 20, options) => {
|
|
20552
20402
|
options = options || {};
|
|
20553
20403
|
return main_default2.excerpt(value, length, {
|
|
20554
20404
|
completeWords: options.completeWords !== void 0 ? options.completeWords : !options.strict,
|
|
20555
20405
|
suffix: options.suffix
|
|
20556
20406
|
});
|
|
20557
|
-
},
|
|
20407
|
+
}, "excerpt"),
|
|
20558
20408
|
/**
|
|
20559
20409
|
* Helpers related to HTML
|
|
20560
20410
|
*/
|
|
@@ -20562,9 +20412,9 @@ var edgeGlobals = {
|
|
|
20562
20412
|
escape,
|
|
20563
20413
|
safe: htmlSafe,
|
|
20564
20414
|
classNames: import_classnames2.default,
|
|
20565
|
-
attrs: (values) => {
|
|
20415
|
+
attrs: /* @__PURE__ */ __name((values) => {
|
|
20566
20416
|
return htmlSafe(stringifyAttributes2(values));
|
|
20567
|
-
}
|
|
20417
|
+
}, "attrs")
|
|
20568
20418
|
},
|
|
20569
20419
|
/**
|
|
20570
20420
|
* Helpers related to JavaScript
|
|
@@ -21095,8 +20945,7 @@ var Container = class {
|
|
|
21095
20945
|
* @returns
|
|
21096
20946
|
*/
|
|
21097
20947
|
static hasAnyDecorator(target) {
|
|
21098
|
-
if (Reflect.getMetadataKeys(target).length > 0)
|
|
21099
|
-
return true;
|
|
20948
|
+
if (Reflect.getMetadataKeys(target).length > 0) return true;
|
|
21100
20949
|
const paramLength = target.length;
|
|
21101
20950
|
for (let i = 0; i < paramLength; i++) {
|
|
21102
20951
|
if (Reflect.getMetadataKeys(target, `__param_${i}`).length > 0) {
|
|
@@ -21193,8 +21042,7 @@ var Application = class _Application extends Container {
|
|
|
21193
21042
|
async registerConfiguredProviders() {
|
|
21194
21043
|
const providers = await this.getAllProviders();
|
|
21195
21044
|
for (const ProviderClass of providers) {
|
|
21196
|
-
if (!ProviderClass)
|
|
21197
|
-
continue;
|
|
21045
|
+
if (!ProviderClass) continue;
|
|
21198
21046
|
const provider = new ProviderClass(this);
|
|
21199
21047
|
await this.register(provider);
|
|
21200
21048
|
}
|
|
@@ -21219,7 +21067,7 @@ var Application = class _Application extends Container {
|
|
|
21219
21067
|
*/
|
|
21220
21068
|
async getConfiguredProviders() {
|
|
21221
21069
|
return [
|
|
21222
|
-
(await Promise.resolve().then(() => require_dist())).
|
|
21070
|
+
(await Promise.resolve().then(() => require_dist())).CoreServiceProvider,
|
|
21223
21071
|
(await Promise.resolve().then(() => require_dist())).ViewServiceProvider
|
|
21224
21072
|
];
|
|
21225
21073
|
}
|
|
@@ -21239,8 +21087,7 @@ var Application = class _Application extends Container {
|
|
|
21239
21087
|
});
|
|
21240
21088
|
providers.forEach((Provider) => {
|
|
21241
21089
|
const order = Provider.order;
|
|
21242
|
-
if (!order)
|
|
21243
|
-
return;
|
|
21090
|
+
if (!order) return;
|
|
21244
21091
|
const [direction, target] = order.split(":");
|
|
21245
21092
|
const targetPriority = priorityMap.get(target) ?? 0;
|
|
21246
21093
|
if (direction === "before") {
|
|
@@ -21273,8 +21120,7 @@ var Application = class _Application extends Container {
|
|
|
21273
21120
|
* Boot all providers after registration
|
|
21274
21121
|
*/
|
|
21275
21122
|
async boot() {
|
|
21276
|
-
if (this.booted)
|
|
21277
|
-
return;
|
|
21123
|
+
if (this.booted) return;
|
|
21278
21124
|
for (const provider of this.providers) {
|
|
21279
21125
|
if (provider.boot) {
|
|
21280
21126
|
await provider.boot();
|
|
@@ -21341,36 +21187,22 @@ var Controller = class {
|
|
|
21341
21187
|
constructor(app) {
|
|
21342
21188
|
this.app = app;
|
|
21343
21189
|
}
|
|
21344
|
-
show(_ctx) {
|
|
21190
|
+
show(..._ctx) {
|
|
21345
21191
|
return;
|
|
21346
21192
|
}
|
|
21347
|
-
index(_ctx) {
|
|
21193
|
+
index(..._ctx) {
|
|
21348
21194
|
return;
|
|
21349
21195
|
}
|
|
21350
|
-
store(_ctx) {
|
|
21196
|
+
store(..._ctx) {
|
|
21351
21197
|
return;
|
|
21352
21198
|
}
|
|
21353
|
-
update(_ctx) {
|
|
21199
|
+
update(..._ctx) {
|
|
21354
21200
|
return;
|
|
21355
21201
|
}
|
|
21356
|
-
destroy(_ctx) {
|
|
21202
|
+
destroy(..._ctx) {
|
|
21357
21203
|
return;
|
|
21358
21204
|
}
|
|
21359
21205
|
};
|
|
21360
|
-
var ServiceProvider = class {
|
|
21361
|
-
static {
|
|
21362
|
-
__name(this, "ServiceProvider");
|
|
21363
|
-
}
|
|
21364
|
-
static {
|
|
21365
|
-
__name2(this, "ServiceProvider");
|
|
21366
|
-
}
|
|
21367
|
-
static order;
|
|
21368
|
-
static priority = 0;
|
|
21369
|
-
app;
|
|
21370
|
-
constructor(app) {
|
|
21371
|
-
this.app = app;
|
|
21372
|
-
}
|
|
21373
|
-
};
|
|
21374
21206
|
function Inject(...dependencies) {
|
|
21375
21207
|
return function(target) {
|
|
21376
21208
|
target.__inject__ = dependencies;
|
|
@@ -21439,8 +21271,7 @@ var Kernel = class {
|
|
|
21439
21271
|
async runMiddleware(context, next) {
|
|
21440
21272
|
let index = -1;
|
|
21441
21273
|
const runner = /* @__PURE__ */ __name2(async (i) => {
|
|
21442
|
-
if (i <= index)
|
|
21443
|
-
throw new Error("next() called multiple times");
|
|
21274
|
+
if (i <= index) throw new Error("next() called multiple times");
|
|
21444
21275
|
index = i;
|
|
21445
21276
|
const middleware = this.middleware[i];
|
|
21446
21277
|
if (middleware) {
|
|
@@ -21461,12 +21292,45 @@ var Kernel = class {
|
|
|
21461
21292
|
return typeof value === "object" && value !== null && (value.constructor === Object || value.constructor === Array);
|
|
21462
21293
|
}
|
|
21463
21294
|
};
|
|
21464
|
-
var
|
|
21295
|
+
var Registerer = class {
|
|
21296
|
+
static {
|
|
21297
|
+
__name(this, "Registerer");
|
|
21298
|
+
}
|
|
21299
|
+
static {
|
|
21300
|
+
__name2(this, "Registerer");
|
|
21301
|
+
}
|
|
21302
|
+
static register() {
|
|
21303
|
+
globalThis.dd = dd;
|
|
21304
|
+
globalThis.dump = dump;
|
|
21305
|
+
}
|
|
21306
|
+
};
|
|
21307
|
+
var ServiceProvider = class {
|
|
21308
|
+
static {
|
|
21309
|
+
__name(this, "ServiceProvider");
|
|
21310
|
+
}
|
|
21311
|
+
static {
|
|
21312
|
+
__name2(this, "ServiceProvider");
|
|
21313
|
+
}
|
|
21314
|
+
static order;
|
|
21315
|
+
static priority = 0;
|
|
21316
|
+
app;
|
|
21317
|
+
constructor(app) {
|
|
21318
|
+
this.app = app;
|
|
21319
|
+
}
|
|
21320
|
+
/**
|
|
21321
|
+
* Register bindings to the container.
|
|
21322
|
+
* Runs before boot().
|
|
21323
|
+
*/
|
|
21324
|
+
register() {
|
|
21325
|
+
Registerer.register();
|
|
21326
|
+
}
|
|
21327
|
+
};
|
|
21328
|
+
var CoreServiceProvider = class extends ServiceProvider {
|
|
21465
21329
|
static {
|
|
21466
|
-
__name(this, "
|
|
21330
|
+
__name(this, "CoreServiceProvider");
|
|
21467
21331
|
}
|
|
21468
21332
|
static {
|
|
21469
|
-
__name2(this, "
|
|
21333
|
+
__name2(this, "CoreServiceProvider");
|
|
21470
21334
|
}
|
|
21471
21335
|
static priority = 999;
|
|
21472
21336
|
register() {
|
|
@@ -21498,11 +21362,12 @@ export {
|
|
|
21498
21362
|
Container,
|
|
21499
21363
|
Application,
|
|
21500
21364
|
Controller,
|
|
21501
|
-
ServiceProvider,
|
|
21502
21365
|
Inject,
|
|
21503
21366
|
Injectable,
|
|
21504
21367
|
Kernel,
|
|
21505
|
-
|
|
21368
|
+
Registerer,
|
|
21369
|
+
ServiceProvider,
|
|
21370
|
+
CoreServiceProvider,
|
|
21506
21371
|
ViewServiceProvider
|
|
21507
21372
|
};
|
|
21508
21373
|
/*! Bundled license information:
|
|
@@ -21548,4 +21413,4 @@ bytes/index.js:
|
|
|
21548
21413
|
* MIT Licensed
|
|
21549
21414
|
*)
|
|
21550
21415
|
*/
|
|
21551
|
-
//# sourceMappingURL=chunk-
|
|
21416
|
+
//# sourceMappingURL=chunk-Q3X4OHHO.js.map
|