keycloakify 11.3.18 → 11.3.20

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.
Files changed (67) hide show
  1. package/bin/124.index.js +675 -0
  2. package/bin/356.index.js +689 -0
  3. package/bin/40.index.js +41 -21
  4. package/bin/{903.index.js → 450.index.js} +2 -680
  5. package/bin/453.index.js +143 -83
  6. package/bin/573.index.js +51 -24
  7. package/bin/{599.index.js → 735.index.js} +438 -121
  8. package/bin/786.index.js +129 -76
  9. package/bin/805.index.js +674 -0
  10. package/bin/854.index.js +68 -0
  11. package/bin/{780.index.js → 921.index.js} +168 -107
  12. package/bin/932.index.js +41 -21
  13. package/bin/97.index.js +125 -73
  14. package/bin/eject-file.d.ts +7 -0
  15. package/bin/keycloakify/generateResources/generateMessageProperties.d.ts +1 -1
  16. package/bin/keycloakify/generateResources/readFieldNameUsage.d.ts +1 -1
  17. package/bin/main.js +70 -7
  18. package/bin/postinstall/getUiModuleFileSourceCodeReadyToBeCopied.d.ts +12 -0
  19. package/bin/postinstall/index.d.ts +1 -0
  20. package/bin/postinstall/installUiModulesPeerDependencies.d.ts +11 -0
  21. package/bin/postinstall/managedGitignoreFile.d.ts +14 -0
  22. package/bin/postinstall/postinstall.d.ts +4 -0
  23. package/bin/postinstall/uiModuleMeta.d.ts +21 -0
  24. package/bin/shared/buildContext.d.ts +3 -0
  25. package/bin/shared/constants.d.ts +2 -1
  26. package/bin/shared/constants.js +2 -1
  27. package/bin/shared/constants.js.map +1 -1
  28. package/bin/shared/customHandler.d.ts +1 -1
  29. package/bin/shared/customHandler.js.map +1 -1
  30. package/bin/shared/exitIfUncommittedChanges.d.ts +3 -0
  31. package/bin/tools/crawlAsync.d.ts +6 -0
  32. package/bin/tools/getInstalledModuleDirPath.d.ts +5 -0
  33. package/bin/tools/listInstalledModules.d.ts +12 -0
  34. package/bin/tools/nodeModulesBinDirPath.d.ts +1 -0
  35. package/bin/tools/runPrettier.d.ts +17 -0
  36. package/package.json +34 -6
  37. package/src/bin/add-story.ts +28 -10
  38. package/src/bin/eject-file.ts +68 -0
  39. package/src/bin/eject-page.ts +51 -31
  40. package/src/bin/initialize-account-theme/initialize-account-theme.ts +4 -32
  41. package/src/bin/initialize-account-theme/initializeAccountTheme_singlePage.ts +2 -16
  42. package/src/bin/keycloakify/generateResources/generateMessageProperties.ts +1 -1
  43. package/src/bin/keycloakify/generateResources/generateResources.ts +58 -26
  44. package/src/bin/keycloakify/generateResources/readFieldNameUsage.ts +1 -1
  45. package/src/bin/main.ts +50 -0
  46. package/src/bin/postinstall/getUiModuleFileSourceCodeReadyToBeCopied.ts +71 -0
  47. package/src/bin/postinstall/index.ts +1 -0
  48. package/src/bin/postinstall/installUiModulesPeerDependencies.ts +157 -0
  49. package/src/bin/postinstall/managedGitignoreFile.ts +135 -0
  50. package/src/bin/postinstall/postinstall.ts +79 -0
  51. package/src/bin/postinstall/uiModuleMeta.ts +303 -0
  52. package/src/bin/shared/buildContext.ts +11 -5
  53. package/src/bin/shared/constants.ts +3 -1
  54. package/src/bin/shared/customHandler.ts +1 -0
  55. package/src/bin/shared/customHandler_delegate.ts +2 -27
  56. package/src/bin/shared/exitIfUncommittedChanges.ts +36 -0
  57. package/src/bin/tools/crawlAsync.ts +51 -0
  58. package/src/bin/tools/getInstalledModuleDirPath.ts +51 -0
  59. package/src/bin/tools/listInstalledModules.ts +131 -0
  60. package/src/bin/tools/nodeModulesBinDirPath.ts +38 -0
  61. package/src/bin/tools/npmInstall.ts +411 -15
  62. package/src/bin/tools/readThisNpmPackageVersion.ts +8 -0
  63. package/src/bin/tools/runPrettier.ts +106 -0
  64. package/src/bin/update-kc-gen.ts +28 -17
  65. package/vite-plugin/index.js +9237 -9161
  66. package/bin/tools/runFormat.d.ts +0 -3
  67. package/src/bin/tools/runFormat.ts +0 -71
@@ -1,5 +1,5 @@
1
- exports.id = 903;
2
- exports.ids = [903];
1
+ exports.id = 450;
2
+ exports.ids = [450];
3
3
  exports.modules = {
4
4
 
5
5
  /***/ 91573:
@@ -22102,552 +22102,6 @@ function createError(err, code, props) {
22102
22102
  module.exports = createError;
22103
22103
 
22104
22104
 
22105
- /***/ }),
22106
-
22107
- /***/ 11800:
22108
- /***/ ((__unused_webpack_module, exports) => {
22109
-
22110
- "use strict";
22111
-
22112
- /* eslint-disable @typescript-eslint/no-namespace */
22113
- /* eslint-disable @typescript-eslint/no-explicit-any */
22114
- Object.defineProperty(exports, "__esModule", ({ value: true }));
22115
- exports.typeGuard = void 0;
22116
- /** https://docs.tsafe.dev/typeguard */
22117
- function typeGuard(_value, isMatched) {
22118
- return isMatched;
22119
- }
22120
- exports.typeGuard = typeGuard;
22121
- //# sourceMappingURL=typeGuard.js.map
22122
-
22123
- /***/ }),
22124
-
22125
- /***/ 53501:
22126
- /***/ (function(__unused_webpack_module, exports) {
22127
-
22128
- "use strict";
22129
-
22130
- var __read = (this && this.__read) || function (o, n) {
22131
- var m = typeof Symbol === "function" && o[Symbol.iterator];
22132
- if (!m) return o;
22133
- var i = m.call(o), r, ar = [], e;
22134
- try {
22135
- while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
22136
- }
22137
- catch (error) { e = { error: error }; }
22138
- finally {
22139
- try {
22140
- if (r && !r.done && (m = i["return"])) m.call(i);
22141
- }
22142
- finally { if (e) throw e.error; }
22143
- }
22144
- return ar;
22145
- };
22146
- var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
22147
- if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
22148
- if (ar || !(i in from)) {
22149
- if (!ar) ar = Array.prototype.slice.call(from, 0, i);
22150
- ar[i] = from[i];
22151
- }
22152
- }
22153
- return to.concat(ar || Array.prototype.slice.call(from));
22154
- };
22155
- Object.defineProperty(exports, "__esModule", ({ value: true }));
22156
- exports.getPrototypeChain = void 0;
22157
- function getPrototypeChain(obj, callback) {
22158
- var proto = Object.getPrototypeOf(obj);
22159
- if (!proto) {
22160
- return [];
22161
- }
22162
- var doContinue = callback === null || callback === void 0 ? void 0 : callback(proto);
22163
- if (!doContinue) {
22164
- return [proto];
22165
- }
22166
- return __spreadArray([proto], __read(getPrototypeChain(proto)), false);
22167
- }
22168
- exports.getPrototypeChain = getPrototypeChain;
22169
- getPrototypeChain.isMatched = function (obj, regExp) {
22170
- var out = false;
22171
- getPrototypeChain(obj, function (_a) {
22172
- var constructor = _a.constructor;
22173
- out = regExp.test(constructor.name);
22174
- return !out;
22175
- });
22176
- return out;
22177
- };
22178
- //# sourceMappingURL=getPrototypeChain.js.map
22179
-
22180
- /***/ }),
22181
-
22182
- /***/ 33805:
22183
- /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
22184
-
22185
- "use strict";
22186
-
22187
- var __values = (this && this.__values) || function(o) {
22188
- var s = typeof Symbol === "function" && Symbol.iterator, m = s && o[s], i = 0;
22189
- if (m) return m.call(o);
22190
- if (o && typeof o.length === "number") return {
22191
- next: function () {
22192
- if (o && i >= o.length) o = void 0;
22193
- return { value: o && o[i++], done: !o };
22194
- }
22195
- };
22196
- throw new TypeError(s ? "Object is not iterable." : "Symbol.iterator is not defined.");
22197
- };
22198
- var __read = (this && this.__read) || function (o, n) {
22199
- var m = typeof Symbol === "function" && o[Symbol.iterator];
22200
- if (!m) return o;
22201
- var i = m.call(o), r, ar = [], e;
22202
- try {
22203
- while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
22204
- }
22205
- catch (error) { e = { error: error }; }
22206
- finally {
22207
- try {
22208
- if (r && !r.done && (m = i["return"])) m.call(i);
22209
- }
22210
- finally { if (e) throw e.error; }
22211
- }
22212
- return ar;
22213
- };
22214
- var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
22215
- if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
22216
- if (ar || !(i in from)) {
22217
- if (!ar) ar = Array.prototype.slice.call(from, 0, i);
22218
- ar[i] = from[i];
22219
- }
22220
- }
22221
- return to.concat(ar || Array.prototype.slice.call(from));
22222
- };
22223
- Object.defineProperty(exports, "__esModule", ({ value: true }));
22224
- exports.sameFactory = exports.same = void 0;
22225
- // @denoify-line-ignore
22226
- var Set_1 = __webpack_require__(44105);
22227
- // @denoify-line-ignore
22228
- __webpack_require__(12903);
22229
- var types_1 = __webpack_require__(5725);
22230
- var allEquals_1 = __webpack_require__(32243);
22231
- /**
22232
- * Function that perform a in depth comparison of two things of arbitrary type T
22233
- * to see if they represent the same date regardless of object references.
22234
- *
22235
- * Think of it as JSON.stringify(o1) === JSON.stringify(o2)
22236
- * but unlike a test performed with JSON.stringify the order in the property
22237
- * have been assigned to an object does not matter and circular references are supported.
22238
- *
22239
- *
22240
- * If takeIntoAccountArraysOrdering === false then
22241
- * representsSameData(["a", "b"], ["b", "a"]) will return true.
22242
- *
22243
- * If Date are compared via .getTime()
22244
- *
22245
- * The objects can includes Map and Set.
22246
- * */
22247
- exports.same = (function () {
22248
- function sameRec(o1, o2, _a, o1Path, o2Path, o1RealRef, o2RealRef) {
22249
- var e_1, _b, e_2, _c;
22250
- var _d = _a === void 0 ? { "takeIntoAccountArraysOrdering": true } : _a, takeIntoAccountArraysOrdering = _d.takeIntoAccountArraysOrdering;
22251
- if (o1RealRef === void 0) { o1RealRef = o1; }
22252
- if (o2RealRef === void 0) { o2RealRef = o2; }
22253
- if (Object.is(o1, o2)) {
22254
- return true;
22255
- }
22256
- {
22257
- var i1 = o1Path.map(function (_a) {
22258
- var obj = _a.obj;
22259
- return obj;
22260
- }).indexOf(o1RealRef);
22261
- if (i1 >= 0) {
22262
- var i2 = o2Path.map(function (_a) {
22263
- var obj = _a.obj;
22264
- return obj;
22265
- }).indexOf(o2RealRef);
22266
- if (i1 !== i2) {
22267
- return false;
22268
- }
22269
- return (0, allEquals_1.arrAllEquals)([o1Path, o2Path]
22270
- .map(function (oPath) { return oPath
22271
- .map(function (_a) {
22272
- var key = _a.key;
22273
- return key;
22274
- })
22275
- .join(""); }));
22276
- }
22277
- }
22278
- if (!(o1 instanceof Object && o2 instanceof Object)) {
22279
- return false;
22280
- }
22281
- if (typeof o1 === "function" || typeof o2 === "function") {
22282
- return false;
22283
- }
22284
- if (types_1.DateLike.match(o1)) {
22285
- if (!types_1.DateLike.match(o2)) {
22286
- return false;
22287
- }
22288
- return o1.getTime() === o2.getTime();
22289
- }
22290
- if (types_1.MapLike.match(o1)) {
22291
- if (!types_1.MapLike.match(o2)) {
22292
- return false;
22293
- }
22294
- var newO1 = new Set_1.Polyfill();
22295
- var newO2 = new Set_1.Polyfill();
22296
- try {
22297
- for (var _e = __values([o1, o2]), _f = _e.next(); !_f.done; _f = _e.next()) {
22298
- var o = _f.value;
22299
- var newO = o === o1 ? newO1 : newO2;
22300
- var arr = Array.from(o.keys());
22301
- for (var i = 0; i < arr.length; i++) {
22302
- var key = arr[i];
22303
- var value = o.get(key);
22304
- newO.add({ key: key, value: value });
22305
- }
22306
- }
22307
- }
22308
- catch (e_1_1) { e_1 = { error: e_1_1 }; }
22309
- finally {
22310
- try {
22311
- if (_f && !_f.done && (_b = _e.return)) _b.call(_e);
22312
- }
22313
- finally { if (e_1) throw e_1.error; }
22314
- }
22315
- return sameRec(newO1, newO2, { takeIntoAccountArraysOrdering: takeIntoAccountArraysOrdering }, o1Path, o2Path, o1RealRef, o2RealRef);
22316
- }
22317
- var takeIntoAccountArraysOrderingOv = undefined;
22318
- if (types_1.SetLike.match(o1)) {
22319
- if (!types_1.SetLike.match(o2)) {
22320
- return false;
22321
- }
22322
- o1 = Array.from(o1.values());
22323
- o2 = Array.from(o2.values());
22324
- takeIntoAccountArraysOrderingOv = false;
22325
- }
22326
- if (types_1.ArrayLike.match(o1)) {
22327
- if (!types_1.ArrayLike.match(o2)) {
22328
- return false;
22329
- }
22330
- if (o1.length !== o2.length) {
22331
- return false;
22332
- }
22333
- if (!(takeIntoAccountArraysOrderingOv !== undefined ?
22334
- takeIntoAccountArraysOrderingOv :
22335
- takeIntoAccountArraysOrdering)) {
22336
- var o2Set = new Set_1.Polyfill(Array.from(o2));
22337
- for (var i = 0; i < o1.length; i++) {
22338
- if (!("".concat(i) in o1)) {
22339
- continue;
22340
- }
22341
- var val1 = o1[i];
22342
- if (o2Set.has(val1)) {
22343
- o2Set.delete(val1);
22344
- continue;
22345
- }
22346
- var isFound = false;
22347
- try {
22348
- for (var _g = (e_2 = void 0, __values(o2Set.values())), _h = _g.next(); !_h.done; _h = _g.next()) {
22349
- var val2 = _h.value;
22350
- if (!sameRec(val1, val2, { takeIntoAccountArraysOrdering: takeIntoAccountArraysOrdering }, __spreadArray(__spreadArray([], __read(o1Path), false), [{ "obj": o1RealRef, "key": "*" }], false), __spreadArray(__spreadArray([], __read(o2Path), false), [{ "obj": o2RealRef, "key": "*" }], false))) {
22351
- continue;
22352
- }
22353
- isFound = true;
22354
- o2Set.delete(val2);
22355
- break;
22356
- }
22357
- }
22358
- catch (e_2_1) { e_2 = { error: e_2_1 }; }
22359
- finally {
22360
- try {
22361
- if (_h && !_h.done && (_c = _g.return)) _c.call(_g);
22362
- }
22363
- finally { if (e_2) throw e_2.error; }
22364
- }
22365
- if (!isFound) {
22366
- return false;
22367
- }
22368
- }
22369
- return true;
22370
- }
22371
- //continue
22372
- }
22373
- else if (!sameRec(Object.keys(o1).filter(function (key) { return o1[key] !== undefined; }), Object.keys(o2).filter(function (key) { return o2[key] !== undefined; }), { "takeIntoAccountArraysOrdering": false }, [], [])) {
22374
- return false;
22375
- }
22376
- for (var key in o1) {
22377
- if (!sameRec(o1[key], o2[key], { takeIntoAccountArraysOrdering: takeIntoAccountArraysOrdering }, __spreadArray(__spreadArray([], __read(o1Path), false), [{ "obj": o1RealRef, key: key }], false), __spreadArray(__spreadArray([], __read(o2Path), false), [{ "obj": o2RealRef, key: key }], false))) {
22378
- return false;
22379
- }
22380
- }
22381
- return true;
22382
- }
22383
- return function same(o1, o2, _a) {
22384
- var _b = _a === void 0 ? { "takeIntoAccountArraysOrdering": true } : _a, takeIntoAccountArraysOrdering = _b.takeIntoAccountArraysOrdering;
22385
- return sameRec(o1, o2, { takeIntoAccountArraysOrdering: takeIntoAccountArraysOrdering }, [], []);
22386
- };
22387
- })();
22388
- /**
22389
- * Return the "same" function with "takeIntoAccountArraysOrdering" default value set as desired.
22390
- * */
22391
- function sameFactory(_a) {
22392
- var takeIntoAccountArraysOrdering = _a.takeIntoAccountArraysOrdering;
22393
- return {
22394
- "same": function (o1, o2, prop) {
22395
- if (prop === void 0) { prop = { takeIntoAccountArraysOrdering: takeIntoAccountArraysOrdering }; }
22396
- return (0, exports.same)(o1, o2, prop);
22397
- }
22398
- };
22399
- }
22400
- exports.sameFactory = sameFactory;
22401
- //# sourceMappingURL=same.js.map
22402
-
22403
- /***/ }),
22404
-
22405
- /***/ 5725:
22406
- /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
22407
-
22408
- "use strict";
22409
-
22410
- Object.defineProperty(exports, "__esModule", ({ value: true }));
22411
- exports.DateLike = exports.ArrayLike = exports.MapLike = exports.SetLike = void 0;
22412
- var typeGuard_1 = __webpack_require__(11800);
22413
- var getPrototypeChain_1 = __webpack_require__(53501);
22414
- var SetLike;
22415
- (function (SetLike) {
22416
- function match(set) {
22417
- return ((0, typeGuard_1.typeGuard)(set, true) &&
22418
- typeof set.values === "function" &&
22419
- getPrototypeChain_1.getPrototypeChain.isMatched(set, /Set/));
22420
- }
22421
- SetLike.match = match;
22422
- })(SetLike = exports.SetLike || (exports.SetLike = {}));
22423
- var MapLike;
22424
- (function (MapLike) {
22425
- function match(map) {
22426
- return ((0, typeGuard_1.typeGuard)(map, true) &&
22427
- typeof map.keys === "function" &&
22428
- typeof map.get === "function" &&
22429
- getPrototypeChain_1.getPrototypeChain.isMatched(map, /Map/));
22430
- }
22431
- MapLike.match = match;
22432
- })(MapLike = exports.MapLike || (exports.MapLike = {}));
22433
- var ArrayLike;
22434
- (function (ArrayLike) {
22435
- function match(arr) {
22436
- return ((0, typeGuard_1.typeGuard)(arr, true) &&
22437
- typeof arr.length === "number" &&
22438
- arr.length !== 0 ?
22439
- ("".concat(arr.length - 1) in arr) :
22440
- getPrototypeChain_1.getPrototypeChain.isMatched(arr, /Array/));
22441
- }
22442
- ArrayLike.match = match;
22443
- })(ArrayLike = exports.ArrayLike || (exports.ArrayLike = {}));
22444
- var DateLike;
22445
- (function (DateLike) {
22446
- function match(date) {
22447
- return ((0, typeGuard_1.typeGuard)(date, true) &&
22448
- typeof date.getTime === "function" &&
22449
- getPrototypeChain_1.getPrototypeChain.isMatched(date, /Date/));
22450
- }
22451
- DateLike.match = match;
22452
- })(DateLike = exports.DateLike || (exports.DateLike = {}));
22453
- //# sourceMappingURL=types.js.map
22454
-
22455
- /***/ }),
22456
-
22457
- /***/ 32243:
22458
- /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
22459
-
22460
- "use strict";
22461
-
22462
- var __read = (this && this.__read) || function (o, n) {
22463
- var m = typeof Symbol === "function" && o[Symbol.iterator];
22464
- if (!m) return o;
22465
- var i = m.call(o), r, ar = [], e;
22466
- try {
22467
- while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
22468
- }
22469
- catch (error) { e = { error: error }; }
22470
- finally {
22471
- try {
22472
- if (r && !r.done && (m = i["return"])) m.call(i);
22473
- }
22474
- finally { if (e) throw e.error; }
22475
- }
22476
- return ar;
22477
- };
22478
- var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
22479
- if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
22480
- if (ar || !(i in from)) {
22481
- if (!ar) ar = Array.prototype.slice.call(from, 0, i);
22482
- ar[i] = from[i];
22483
- }
22484
- }
22485
- return to.concat(ar || Array.prototype.slice.call(from));
22486
- };
22487
- Object.defineProperty(exports, "__esModule", ({ value: true }));
22488
- exports.allEqualsFactory = exports.allEquals = exports.arrAllEquals = void 0;
22489
- var allEqualsTo_1 = __webpack_require__(49685);
22490
- var reduceify_1 = __webpack_require__(37560);
22491
- function arrAllEquals(arr, areEquals) {
22492
- if (areEquals === void 0) { areEquals = function (e1, e2) { return e1 === e2; }; }
22493
- if (arr.length === 0) {
22494
- return true;
22495
- }
22496
- return arr.reduce.apply(arr, __spreadArray([], __read((0, allEqualsTo_1.allEqualsTo)(arr[0], areEquals)), false));
22497
- }
22498
- exports.arrAllEquals = arrAllEquals;
22499
- ;
22500
- function allEquals(areEquals) {
22501
- return (0, reduceify_1.toReduceArguments)(arrAllEquals, areEquals);
22502
- }
22503
- exports.allEquals = allEquals;
22504
- function allEqualsFactory(_a) {
22505
- var areEquals = _a.areEquals;
22506
- return { "allEquals": function () { return allEquals(areEquals); } };
22507
- }
22508
- exports.allEqualsFactory = allEqualsFactory;
22509
- //# sourceMappingURL=allEquals.js.map
22510
-
22511
- /***/ }),
22512
-
22513
- /***/ 49685:
22514
- /***/ (function(__unused_webpack_module, exports, __webpack_require__) {
22515
-
22516
- "use strict";
22517
-
22518
- var __read = (this && this.__read) || function (o, n) {
22519
- var m = typeof Symbol === "function" && o[Symbol.iterator];
22520
- if (!m) return o;
22521
- var i = m.call(o), r, ar = [], e;
22522
- try {
22523
- while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
22524
- }
22525
- catch (error) { e = { error: error }; }
22526
- finally {
22527
- try {
22528
- if (r && !r.done && (m = i["return"])) m.call(i);
22529
- }
22530
- finally { if (e) throw e.error; }
22531
- }
22532
- return ar;
22533
- };
22534
- var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
22535
- if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
22536
- if (ar || !(i in from)) {
22537
- if (!ar) ar = Array.prototype.slice.call(from, 0, i);
22538
- ar[i] = from[i];
22539
- }
22540
- }
22541
- return to.concat(ar || Array.prototype.slice.call(from));
22542
- };
22543
- Object.defineProperty(exports, "__esModule", ({ value: true }));
22544
- exports.allEqualsToFactory = exports.allEqualsTo = exports.arrAllEqualsTo = void 0;
22545
- var reduceify_1 = __webpack_require__(37560);
22546
- var every_1 = __webpack_require__(9594);
22547
- function arrAllEqualsTo(arr, to, areEquals) {
22548
- if (areEquals === void 0) { areEquals = function (e, to) { return e === to; }; }
22549
- return arr.reduce.apply(arr, __spreadArray([], __read((0, every_1.every)(function (e) { return areEquals(e, to); })), false));
22550
- }
22551
- exports.arrAllEqualsTo = arrAllEqualsTo;
22552
- ;
22553
- function allEqualsTo(to, areEquals) {
22554
- return (0, reduceify_1.toReduceArguments)(arrAllEqualsTo, to, areEquals);
22555
- }
22556
- exports.allEqualsTo = allEqualsTo;
22557
- function allEqualsToFactory(_a) {
22558
- var areEquals = _a.areEquals;
22559
- return { "allEqualsTo": function (to) { return allEqualsTo(to, areEquals); } };
22560
- }
22561
- exports.allEqualsToFactory = allEqualsToFactory;
22562
- //# sourceMappingURL=allEqualsTo.js.map
22563
-
22564
- /***/ }),
22565
-
22566
- /***/ 9594:
22567
- /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
22568
-
22569
- "use strict";
22570
-
22571
- Object.defineProperty(exports, "__esModule", ({ value: true }));
22572
- exports.every = exports.arrEvery = void 0;
22573
- var reduceify_1 = __webpack_require__(37560);
22574
- function arrEvery(arr, test) {
22575
- if (test === void 0) { test = function (e) { return !!e; }; }
22576
- return arr
22577
- .map(function (e) { return test(e); })
22578
- .reduce(function (prev, curr) { return curr && prev; }, true);
22579
- }
22580
- exports.arrEvery = arrEvery;
22581
- function every(test) {
22582
- return (0, reduceify_1.toReduceArguments)(arrEvery, test);
22583
- }
22584
- exports.every = every;
22585
- //# sourceMappingURL=every.js.map
22586
-
22587
- /***/ }),
22588
-
22589
- /***/ 37560:
22590
- /***/ (function(__unused_webpack_module, exports) {
22591
-
22592
- "use strict";
22593
-
22594
- var __read = (this && this.__read) || function (o, n) {
22595
- var m = typeof Symbol === "function" && o[Symbol.iterator];
22596
- if (!m) return o;
22597
- var i = m.call(o), r, ar = [], e;
22598
- try {
22599
- while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);
22600
- }
22601
- catch (error) { e = { error: error }; }
22602
- finally {
22603
- try {
22604
- if (r && !r.done && (m = i["return"])) m.call(i);
22605
- }
22606
- finally { if (e) throw e.error; }
22607
- }
22608
- return ar;
22609
- };
22610
- var __spreadArray = (this && this.__spreadArray) || function (to, from, pack) {
22611
- if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {
22612
- if (ar || !(i in from)) {
22613
- if (!ar) ar = Array.prototype.slice.call(from, 0, i);
22614
- ar[i] = from[i];
22615
- }
22616
- }
22617
- return to.concat(ar || Array.prototype.slice.call(from));
22618
- };
22619
- Object.defineProperty(exports, "__esModule", ({ value: true }));
22620
- exports.toReduceArguments = void 0;
22621
- function toReduceArguments(arrOp) {
22622
- var params = [];
22623
- for (var _i = 1; _i < arguments.length; _i++) {
22624
- params[_i - 1] = arguments[_i];
22625
- }
22626
- var outWrap = [];
22627
- var reduceCallbackFunction = function () {
22628
- var _a = [];
22629
- for (var _i = 0; _i < arguments.length; _i++) {
22630
- _a[_i] = arguments[_i];
22631
- }
22632
- var _b = __read(_a, 4), array = _b[3];
22633
- var out;
22634
- if (outWrap.length === 1) {
22635
- out = outWrap[0];
22636
- }
22637
- else {
22638
- out = arrOp.apply(void 0, __spreadArray([array], __read(params), false));
22639
- outWrap = [out];
22640
- }
22641
- return out;
22642
- };
22643
- return [
22644
- reduceCallbackFunction,
22645
- arrOp.apply(void 0, __spreadArray([[]], __read(params), false))
22646
- ];
22647
- }
22648
- exports.toReduceArguments = toReduceArguments;
22649
- //# sourceMappingURL=reduceify.js.map
22650
-
22651
22105
  /***/ }),
22652
22106
 
22653
22107
  /***/ 61002:
@@ -26584,138 +26038,6 @@ class Minipass extends Stream {
26584
26038
  module.exports = Minipass
26585
26039
 
26586
26040
 
26587
- /***/ }),
26588
-
26589
- /***/ 65134:
26590
- /***/ ((__unused_webpack_module, exports) => {
26591
-
26592
- "use strict";
26593
-
26594
- exports.__esModule = true;
26595
- exports.Polyfill = exports.LightMapImpl = void 0;
26596
- var LightMapImpl = /** @class */ (function () {
26597
- function LightMapImpl() {
26598
- this.record = [];
26599
- }
26600
- LightMapImpl.prototype.has = function (key) {
26601
- return this.record
26602
- .map(function (_a) {
26603
- var _key = _a[0];
26604
- return _key;
26605
- })
26606
- .indexOf(key) >= 0;
26607
- };
26608
- LightMapImpl.prototype.get = function (key) {
26609
- var entry = this.record
26610
- .filter(function (_a) {
26611
- var _key = _a[0];
26612
- return _key === key;
26613
- })[0];
26614
- if (entry === undefined) {
26615
- return undefined;
26616
- }
26617
- return entry[1];
26618
- };
26619
- LightMapImpl.prototype.set = function (key, value) {
26620
- var entry = this.record
26621
- .filter(function (_a) {
26622
- var _key = _a[0];
26623
- return _key === key;
26624
- })[0];
26625
- if (entry === undefined) {
26626
- this.record.push([key, value]);
26627
- }
26628
- else {
26629
- entry[1] = value;
26630
- }
26631
- return this;
26632
- };
26633
- LightMapImpl.prototype["delete"] = function (key) {
26634
- var index = this.record.map(function (_a) {
26635
- var key = _a[0];
26636
- return key;
26637
- }).indexOf(key);
26638
- if (index < 0) {
26639
- return false;
26640
- }
26641
- this.record.splice(index, 1);
26642
- return true;
26643
- };
26644
- LightMapImpl.prototype.keys = function () {
26645
- return this.record.map(function (_a) {
26646
- var key = _a[0];
26647
- return key;
26648
- });
26649
- };
26650
- return LightMapImpl;
26651
- }());
26652
- exports.LightMapImpl = LightMapImpl;
26653
- exports.Polyfill = typeof Map !== "undefined" ? Map : LightMapImpl;
26654
- //# sourceMappingURL=Map.js.map
26655
-
26656
- /***/ }),
26657
-
26658
- /***/ 12903:
26659
- /***/ ((__unused_webpack_module, exports) => {
26660
-
26661
- "use strict";
26662
-
26663
- exports.__esModule = true;
26664
- if (!Object.is) {
26665
- Object.is = function (x, y) {
26666
- // SameValue algorithm
26667
- if (x === y) { // Steps 1-5, 7-10
26668
- // Steps 6.b-6.e: +0 != -0
26669
- return x !== 0 || 1 / x === 1 / y;
26670
- }
26671
- else {
26672
- // Step 6.a: NaN == NaN
26673
- return x !== x && y !== y;
26674
- }
26675
- };
26676
- }
26677
- //# sourceMappingURL=Object.is.js.map
26678
-
26679
- /***/ }),
26680
-
26681
- /***/ 44105:
26682
- /***/ ((__unused_webpack_module, exports, __webpack_require__) => {
26683
-
26684
- "use strict";
26685
-
26686
- exports.__esModule = true;
26687
- exports.Polyfill = exports.LightSetImpl = void 0;
26688
- var Map_1 = __webpack_require__(65134);
26689
- var LightSetImpl = /** @class */ (function () {
26690
- function LightSetImpl(values) {
26691
- this.map = new Map_1.Polyfill();
26692
- if (values === undefined) {
26693
- return;
26694
- }
26695
- for (var _i = 0, values_1 = values; _i < values_1.length; _i++) {
26696
- var value = values_1[_i];
26697
- this.add(value);
26698
- }
26699
- }
26700
- LightSetImpl.prototype.has = function (value) {
26701
- return this.map.has(value);
26702
- };
26703
- LightSetImpl.prototype.add = function (value) {
26704
- this.map.set(value, true);
26705
- return this;
26706
- };
26707
- LightSetImpl.prototype.values = function () {
26708
- return this.map.keys();
26709
- };
26710
- LightSetImpl.prototype["delete"] = function (value) {
26711
- return this.map["delete"](value);
26712
- };
26713
- return LightSetImpl;
26714
- }());
26715
- exports.LightSetImpl = LightSetImpl;
26716
- exports.Polyfill = typeof Set !== "undefined" ? Set : LightSetImpl;
26717
- //# sourceMappingURL=Set.js.map
26718
-
26719
26041
  /***/ }),
26720
26042
 
26721
26043
  /***/ 41149: