@umijs/bundler-webpack 4.0.42 → 4.0.44

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 (84) hide show
  1. package/client/utils/formatWebpackMessages.js +27 -8
  2. package/compiled/babel-loader/index.js +8 -2
  3. package/compiled/babel-loader/package.json +1 -1
  4. package/compiled/less-loader/index.js +1 -1
  5. package/compiled/less-loader/package.json +1 -1
  6. package/compiled/mini-css-extract-plugin/hmr/hotModuleReplacement.js +22 -60
  7. package/compiled/mini-css-extract-plugin/hmr/normalize-url.js +2 -10
  8. package/compiled/mini-css-extract-plugin/index.js +492 -696
  9. package/compiled/mini-css-extract-plugin/loader.js +54 -120
  10. package/compiled/mini-css-extract-plugin/package.json +1 -1
  11. package/compiled/mini-css-extract-plugin/utils.js +27 -44
  12. package/compiled/postcss-loader/index.js +1 -1
  13. package/compiled/postcss-loader/package.json +1 -1
  14. package/compiled/sass-loader/index.js +1 -1
  15. package/compiled/sass-loader/package.json +1 -1
  16. package/compiled/sass-loader/sass.default.dart.js +4 -0
  17. package/compiled/terser/@jridgewell/gen-mapping/dist/types/gen-mapping.d.ts +90 -0
  18. package/compiled/terser/@jridgewell/gen-mapping/dist/types/sourcemap-segment.d.ts +12 -0
  19. package/compiled/terser/@jridgewell/gen-mapping/dist/types/types.d.ts +35 -0
  20. package/compiled/terser/@jridgewell/source-map/dist/types/source-map.d.ts +25 -0
  21. package/compiled/terser/@jridgewell/trace-mapping/dist/types/sourcemap-segment.d.ts +16 -0
  22. package/compiled/terser/@jridgewell/trace-mapping/dist/types/trace-mapping.d.ts +74 -0
  23. package/compiled/terser/@jridgewell/trace-mapping/dist/types/types.d.ts +92 -0
  24. package/compiled/terser/index.js +1 -1
  25. package/compiled/terser/package.json +1 -1
  26. package/compiled/terser/tools/terser.d.ts +6 -3
  27. package/compiled/terser-webpack-plugin/@jridgewell/trace-mapping/dist/types/sourcemap-segment.d.ts +16 -0
  28. package/compiled/terser-webpack-plugin/@jridgewell/trace-mapping/dist/types/trace-mapping.d.ts +74 -0
  29. package/compiled/terser-webpack-plugin/@jridgewell/trace-mapping/dist/types/types.d.ts +92 -0
  30. package/compiled/terser-webpack-plugin/index.js +1211 -3390
  31. package/compiled/terser-webpack-plugin/package.json +1 -1
  32. package/compiled/terser-webpack-plugin/types/index.d.ts +10 -10
  33. package/compiled/terser-webpack-plugin/types/utils.d.ts +10 -9
  34. package/compiled/terser-webpack-plugin/utils.js +36 -10
  35. package/compiled/webpack/package.json +1 -1
  36. package/compiled/webpack/types.d.ts +137 -126
  37. package/compiled/webpack-5-chain/index.js +1 -1
  38. package/compiled/webpack-5-chain/package.json +1 -1
  39. package/compiled/webpack-5-chain/types/index.d.ts +76 -20
  40. package/compiled/webpack-bundle-analyzer/index.js +7 -6
  41. package/compiled/webpack-bundle-analyzer/package.json +1 -1
  42. package/compiled/webpack-bundle-analyzer/public/viewer.js +2 -2
  43. package/compiled/webpack-bundle-analyzer/public/viewer.js.map +1 -1
  44. package/compiled/webpack-dev-middleware/index.js +5 -5
  45. package/compiled/webpack-dev-middleware/package.json +1 -1
  46. package/compiled/ws/LICENSE +13 -12
  47. package/compiled/ws/index.d.ts +73 -33
  48. package/compiled/ws/index.js +1 -1
  49. package/compiled/ws/package.json +1 -1
  50. package/dist/build.js +8 -2
  51. package/dist/cli.js +4 -1
  52. package/dist/config/compressPlugin.js +4 -1
  53. package/dist/config/config.js +41 -11
  54. package/dist/config/cssRules.js +17 -5
  55. package/dist/config/detectDeadCode.js +38 -8
  56. package/dist/config/detectDeadCodePlugin.js +8 -2
  57. package/dist/config/fastRefreshPlugin.js +4 -1
  58. package/dist/config/forkTSCheckerPlugin.js +4 -1
  59. package/dist/config/harmonyLinkingErrorPlugin.js +14 -11
  60. package/dist/config/javaScriptRules.js +10 -5
  61. package/dist/config/miniCSSExtractPlugin.js +4 -1
  62. package/dist/config/progressPlugin.js +9 -2
  63. package/dist/config/speedMeasureWebpackPlugin.js +7 -2
  64. package/dist/config/ssrPlugin.js +20 -6
  65. package/dist/config/svgRules.js +4 -1
  66. package/dist/dev.js +29 -10
  67. package/dist/loader/svgr.js +16 -11
  68. package/dist/loader/swc.js +26 -8
  69. package/dist/parcelCSS.js +4 -1
  70. package/dist/plugins/ProgressPlugin.js +6 -2
  71. package/dist/plugins/RuntimePublicPathPlugin.js +9 -6
  72. package/dist/plugins/_SamplePlugin.d.ts +1 -1
  73. package/dist/plugins/_SamplePlugin.js +1 -1
  74. package/dist/requireHook.js +4 -1
  75. package/dist/schema.js +58 -23
  76. package/dist/server/server.d.ts +1 -4
  77. package/dist/server/server.js +37 -23
  78. package/dist/server/ws.js +8 -3
  79. package/dist/swcPlugins/autoCSSModules.js +4 -1
  80. package/dist/swcPlugins/lockCoreJS.js +8 -2
  81. package/dist/types.d.ts +2 -1
  82. package/dist/utils/formatWebpackMessages.js +31 -9
  83. package/dist/utils/getEsBuildTarget.js +7 -1
  84. package/package.json +25 -24
@@ -189,7 +189,7 @@ function regex(str) {
189
189
  Object.defineProperty(exports, "__esModule", ({ value: true }));
190
190
  const formats_1 = __nccwpck_require__(3471);
191
191
  const limit_1 = __nccwpck_require__(6541);
192
- const codegen_1 = __nccwpck_require__(3123);
192
+ const codegen_1 = __nccwpck_require__(4109);
193
193
  const fullName = new codegen_1.Name("fullFormats");
194
194
  const fastName = new codegen_1.Name("fastFormats");
195
195
  const formatsPlugin = (ajv, opts = { keywords: true }) => {
@@ -232,8 +232,8 @@ exports["default"] = formatsPlugin;
232
232
 
233
233
  Object.defineProperty(exports, "__esModule", ({ value: true }));
234
234
  exports.formatLimitDefinition = void 0;
235
- const ajv_1 = __nccwpck_require__(309);
236
- const codegen_1 = __nccwpck_require__(3123);
235
+ const ajv_1 = __nccwpck_require__(4711);
236
+ const codegen_1 = __nccwpck_require__(4109);
237
237
  const ops = codegen_1.operators;
238
238
  const KWDs = {
239
239
  formatMaximum: { okStr: "<=", ok: ops.LTE, fail: ops.GT },
@@ -301,7 +301,7 @@ exports["default"] = formatLimitPlugin;
301
301
 
302
302
  /***/ }),
303
303
 
304
- /***/ 1699:
304
+ /***/ 408:
305
305
  /***/ (function(__unused_webpack_module, exports) {
306
306
 
307
307
  "use strict";
@@ -336,7 +336,7 @@ exports["default"] = getRangeDef;
336
336
 
337
337
  /***/ }),
338
338
 
339
- /***/ 9773:
339
+ /***/ 1085:
340
340
  /***/ (function(__unused_webpack_module, exports) {
341
341
 
342
342
  "use strict";
@@ -366,14 +366,14 @@ exports["default"] = getRequiredDef;
366
366
 
367
367
  /***/ }),
368
368
 
369
- /***/ 5805:
369
+ /***/ 9503:
370
370
  /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
371
371
 
372
372
  "use strict";
373
373
 
374
374
  Object.defineProperty(exports, "__esModule", ({ value: true }));
375
375
  exports.usePattern = exports.metaSchemaRef = void 0;
376
- const codegen_1 = __nccwpck_require__(3123);
376
+ const codegen_1 = __nccwpck_require__(4109);
377
377
  const META_SCHEMA_ID = "http://json-schema.org/schema";
378
378
  function metaSchemaRef({ defaultMeta } = {}) {
379
379
  return defaultMeta === false ? {} : { $ref: defaultMeta || META_SCHEMA_ID };
@@ -392,7 +392,7 @@ exports.usePattern = usePattern;
392
392
 
393
393
  /***/ }),
394
394
 
395
- /***/ 3473:
395
+ /***/ 9160:
396
396
  /***/ (function(module, exports) {
397
397
 
398
398
  "use strict";
@@ -420,7 +420,7 @@ module.exports = getDef;
420
420
 
421
421
  /***/ }),
422
422
 
423
- /***/ 1623:
423
+ /***/ 5817:
424
424
  /***/ (function(module, exports, __nccwpck_require__) {
425
425
 
426
426
  "use strict";
@@ -429,7 +429,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
429
429
  return (mod && mod.__esModule) ? mod : { "default": mod };
430
430
  };
431
431
  Object.defineProperty(exports, "__esModule", ({ value: true }));
432
- const _required_1 = __importDefault(__nccwpck_require__(9773));
432
+ const _required_1 = __importDefault(__nccwpck_require__(1085));
433
433
  const getDef = (0, _required_1.default)("anyRequired");
434
434
  exports["default"] = getDef;
435
435
  module.exports = getDef;
@@ -437,13 +437,13 @@ module.exports = getDef;
437
437
 
438
438
  /***/ }),
439
439
 
440
- /***/ 7683:
440
+ /***/ 6165:
441
441
  /***/ (function(module, exports, __nccwpck_require__) {
442
442
 
443
443
  "use strict";
444
444
 
445
445
  Object.defineProperty(exports, "__esModule", ({ value: true }));
446
- const _util_1 = __nccwpck_require__(5805);
446
+ const _util_1 = __nccwpck_require__(9503);
447
447
  function getDef(opts) {
448
448
  return {
449
449
  keyword: "deepProperties",
@@ -498,13 +498,13 @@ module.exports = getDef;
498
498
 
499
499
  /***/ }),
500
500
 
501
- /***/ 787:
501
+ /***/ 2592:
502
502
  /***/ (function(module, exports, __nccwpck_require__) {
503
503
 
504
504
  "use strict";
505
505
 
506
506
  Object.defineProperty(exports, "__esModule", ({ value: true }));
507
- const codegen_1 = __nccwpck_require__(3123);
507
+ const codegen_1 = __nccwpck_require__(4109);
508
508
  function getDef() {
509
509
  return {
510
510
  keyword: "deepRequired",
@@ -538,7 +538,7 @@ module.exports = getDef;
538
538
 
539
539
  /***/ }),
540
540
 
541
- /***/ 3333:
541
+ /***/ 3220:
542
542
  /***/ (function(module, exports) {
543
543
 
544
544
  "use strict";
@@ -629,7 +629,7 @@ module.exports = getDef;
629
629
 
630
630
  /***/ }),
631
631
 
632
- /***/ 327:
632
+ /***/ 541:
633
633
  /***/ (function(module, exports, __nccwpck_require__) {
634
634
 
635
635
  "use strict";
@@ -638,7 +638,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
638
638
  return (mod && mod.__esModule) ? mod : { "default": mod };
639
639
  };
640
640
  Object.defineProperty(exports, "__esModule", ({ value: true }));
641
- const _range_1 = __importDefault(__nccwpck_require__(1699));
641
+ const _range_1 = __importDefault(__nccwpck_require__(408));
642
642
  const getDef = (0, _range_1.default)("exclusiveRange");
643
643
  exports["default"] = getDef;
644
644
  module.exports = getDef;
@@ -646,7 +646,7 @@ module.exports = getDef;
646
646
 
647
647
  /***/ }),
648
648
 
649
- /***/ 687:
649
+ /***/ 4785:
650
650
  /***/ (function(module, exports) {
651
651
 
652
652
  "use strict";
@@ -707,7 +707,7 @@ module.exports = getDef;
707
707
 
708
708
  /***/ }),
709
709
 
710
- /***/ 4810:
710
+ /***/ 4656:
711
711
  /***/ (function(module, exports, __nccwpck_require__) {
712
712
 
713
713
  "use strict";
@@ -716,7 +716,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
716
716
  return (mod && mod.__esModule) ? mod : { "default": mod };
717
717
  };
718
718
  Object.defineProperty(exports, "__esModule", ({ value: true }));
719
- const _required_1 = __importDefault(__nccwpck_require__(9773));
719
+ const _required_1 = __importDefault(__nccwpck_require__(1085));
720
720
  const getDef = (0, _required_1.default)("oneRequired");
721
721
  exports["default"] = getDef;
722
722
  module.exports = getDef;
@@ -724,14 +724,14 @@ module.exports = getDef;
724
724
 
725
725
  /***/ }),
726
726
 
727
- /***/ 2638:
727
+ /***/ 1818:
728
728
  /***/ (function(module, exports, __nccwpck_require__) {
729
729
 
730
730
  "use strict";
731
731
 
732
732
  Object.defineProperty(exports, "__esModule", ({ value: true }));
733
- const codegen_1 = __nccwpck_require__(3123);
734
- const _util_1 = __nccwpck_require__(5805);
733
+ const codegen_1 = __nccwpck_require__(4109);
734
+ const _util_1 = __nccwpck_require__(9503);
735
735
  const error = {
736
736
  message: ({ params: { missingPattern } }) => (0, codegen_1.str) `should have property matching pattern '${missingPattern}'`,
737
737
  params: ({ params: { missingPattern } }) => (0, codegen_1._) `{missingPattern: ${missingPattern}}`,
@@ -773,7 +773,7 @@ module.exports = getDef;
773
773
 
774
774
  /***/ }),
775
775
 
776
- /***/ 174:
776
+ /***/ 7506:
777
777
  /***/ (function(module, exports) {
778
778
 
779
779
  "use strict";
@@ -803,7 +803,7 @@ module.exports = getDef;
803
803
 
804
804
  /***/ }),
805
805
 
806
- /***/ 5108:
806
+ /***/ 2669:
807
807
  /***/ (function(module, exports, __nccwpck_require__) {
808
808
 
809
809
  "use strict";
@@ -812,7 +812,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
812
812
  return (mod && mod.__esModule) ? mod : { "default": mod };
813
813
  };
814
814
  Object.defineProperty(exports, "__esModule", ({ value: true }));
815
- const _range_1 = __importDefault(__nccwpck_require__(1699));
815
+ const _range_1 = __importDefault(__nccwpck_require__(408));
816
816
  const getDef = (0, _range_1.default)("range");
817
817
  exports["default"] = getDef;
818
818
  module.exports = getDef;
@@ -820,14 +820,14 @@ module.exports = getDef;
820
820
 
821
821
  /***/ }),
822
822
 
823
- /***/ 2833:
823
+ /***/ 3163:
824
824
  /***/ (function(module, exports, __nccwpck_require__) {
825
825
 
826
826
  "use strict";
827
827
 
828
828
  Object.defineProperty(exports, "__esModule", ({ value: true }));
829
- const codegen_1 = __nccwpck_require__(3123);
830
- const _util_1 = __nccwpck_require__(5805);
829
+ const codegen_1 = __nccwpck_require__(4109);
830
+ const _util_1 = __nccwpck_require__(9503);
831
831
  const regexpMetaSchema = {
832
832
  type: "object",
833
833
  properties: {
@@ -867,14 +867,14 @@ module.exports = getDef;
867
867
 
868
868
  /***/ }),
869
869
 
870
- /***/ 8096:
870
+ /***/ 2730:
871
871
  /***/ (function(module, exports, __nccwpck_require__) {
872
872
 
873
873
  "use strict";
874
874
 
875
875
  Object.defineProperty(exports, "__esModule", ({ value: true }));
876
- const codegen_1 = __nccwpck_require__(3123);
877
- const _util_1 = __nccwpck_require__(5805);
876
+ const codegen_1 = __nccwpck_require__(4109);
877
+ const _util_1 = __nccwpck_require__(9503);
878
878
  const error = {
879
879
  message: ({ params: { schemaProp } }) => schemaProp
880
880
  ? (0, codegen_1.str) `should match case "${schemaProp}" schema`
@@ -937,13 +937,13 @@ module.exports = getDef;
937
937
 
938
938
  /***/ }),
939
939
 
940
- /***/ 6705:
940
+ /***/ 6678:
941
941
  /***/ (function(module, exports, __nccwpck_require__) {
942
942
 
943
943
  "use strict";
944
944
 
945
945
  Object.defineProperty(exports, "__esModule", ({ value: true }));
946
- const codegen_1 = __nccwpck_require__(3123);
946
+ const codegen_1 = __nccwpck_require__(4109);
947
947
  const transform = {
948
948
  trimStart: (s) => s.trimStart(),
949
949
  trimEnd: (s) => s.trimEnd(),
@@ -1022,13 +1022,13 @@ module.exports = getDef;
1022
1022
 
1023
1023
  /***/ }),
1024
1024
 
1025
- /***/ 6040:
1025
+ /***/ 2518:
1026
1026
  /***/ (function(module, exports, __nccwpck_require__) {
1027
1027
 
1028
1028
  "use strict";
1029
1029
 
1030
1030
  Object.defineProperty(exports, "__esModule", ({ value: true }));
1031
- const codegen_1 = __nccwpck_require__(3123);
1031
+ const codegen_1 = __nccwpck_require__(4109);
1032
1032
  const TYPES = ["undefined", "string", "number", "object", "function", "boolean", "symbol"];
1033
1033
  function getDef() {
1034
1034
  return {
@@ -1054,7 +1054,7 @@ module.exports = getDef;
1054
1054
 
1055
1055
  /***/ }),
1056
1056
 
1057
- /***/ 8475:
1057
+ /***/ 3530:
1058
1058
  /***/ (function(module, exports, __nccwpck_require__) {
1059
1059
 
1060
1060
  "use strict";
@@ -1126,7 +1126,7 @@ module.exports = getDef;
1126
1126
 
1127
1127
  /***/ }),
1128
1128
 
1129
- /***/ 6809:
1129
+ /***/ 4563:
1130
1130
  /***/ (function(module, exports, __nccwpck_require__) {
1131
1131
 
1132
1132
  "use strict";
@@ -1135,7 +1135,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
1135
1135
  return (mod && mod.__esModule) ? mod : { "default": mod };
1136
1136
  };
1137
1137
  Object.defineProperty(exports, "__esModule", ({ value: true }));
1138
- const keywords_1 = __importDefault(__nccwpck_require__(1663));
1138
+ const keywords_1 = __importDefault(__nccwpck_require__(4959));
1139
1139
  const ajvKeywords = (ajv, keyword) => {
1140
1140
  if (Array.isArray(keyword)) {
1141
1141
  for (const k of keyword)
@@ -1165,7 +1165,7 @@ module.exports["default"] = ajvKeywords;
1165
1165
 
1166
1166
  /***/ }),
1167
1167
 
1168
- /***/ 8921:
1168
+ /***/ 237:
1169
1169
  /***/ (function(module, exports, __nccwpck_require__) {
1170
1170
 
1171
1171
  "use strict";
@@ -1174,7 +1174,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
1174
1174
  return (mod && mod.__esModule) ? mod : { "default": mod };
1175
1175
  };
1176
1176
  Object.defineProperty(exports, "__esModule", ({ value: true }));
1177
- const allRequired_1 = __importDefault(__nccwpck_require__(3473));
1177
+ const allRequired_1 = __importDefault(__nccwpck_require__(9160));
1178
1178
  const allRequired = (ajv) => ajv.addKeyword((0, allRequired_1.default)());
1179
1179
  exports["default"] = allRequired;
1180
1180
  module.exports = allRequired;
@@ -1182,7 +1182,7 @@ module.exports = allRequired;
1182
1182
 
1183
1183
  /***/ }),
1184
1184
 
1185
- /***/ 8865:
1185
+ /***/ 484:
1186
1186
  /***/ (function(module, exports, __nccwpck_require__) {
1187
1187
 
1188
1188
  "use strict";
@@ -1191,7 +1191,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
1191
1191
  return (mod && mod.__esModule) ? mod : { "default": mod };
1192
1192
  };
1193
1193
  Object.defineProperty(exports, "__esModule", ({ value: true }));
1194
- const anyRequired_1 = __importDefault(__nccwpck_require__(1623));
1194
+ const anyRequired_1 = __importDefault(__nccwpck_require__(5817));
1195
1195
  const anyRequired = (ajv) => ajv.addKeyword((0, anyRequired_1.default)());
1196
1196
  exports["default"] = anyRequired;
1197
1197
  module.exports = anyRequired;
@@ -1199,7 +1199,7 @@ module.exports = anyRequired;
1199
1199
 
1200
1200
  /***/ }),
1201
1201
 
1202
- /***/ 2409:
1202
+ /***/ 4739:
1203
1203
  /***/ (function(module, exports, __nccwpck_require__) {
1204
1204
 
1205
1205
  "use strict";
@@ -1208,7 +1208,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
1208
1208
  return (mod && mod.__esModule) ? mod : { "default": mod };
1209
1209
  };
1210
1210
  Object.defineProperty(exports, "__esModule", ({ value: true }));
1211
- const deepProperties_1 = __importDefault(__nccwpck_require__(7683));
1211
+ const deepProperties_1 = __importDefault(__nccwpck_require__(6165));
1212
1212
  const deepProperties = (ajv, opts) => ajv.addKeyword((0, deepProperties_1.default)(opts));
1213
1213
  exports["default"] = deepProperties;
1214
1214
  module.exports = deepProperties;
@@ -1216,7 +1216,7 @@ module.exports = deepProperties;
1216
1216
 
1217
1217
  /***/ }),
1218
1218
 
1219
- /***/ 1819:
1219
+ /***/ 8360:
1220
1220
  /***/ (function(module, exports, __nccwpck_require__) {
1221
1221
 
1222
1222
  "use strict";
@@ -1225,7 +1225,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
1225
1225
  return (mod && mod.__esModule) ? mod : { "default": mod };
1226
1226
  };
1227
1227
  Object.defineProperty(exports, "__esModule", ({ value: true }));
1228
- const deepRequired_1 = __importDefault(__nccwpck_require__(787));
1228
+ const deepRequired_1 = __importDefault(__nccwpck_require__(2592));
1229
1229
  const deepRequired = (ajv) => ajv.addKeyword((0, deepRequired_1.default)());
1230
1230
  exports["default"] = deepRequired;
1231
1231
  module.exports = deepRequired;
@@ -1233,7 +1233,7 @@ module.exports = deepRequired;
1233
1233
 
1234
1234
  /***/ }),
1235
1235
 
1236
- /***/ 9598:
1236
+ /***/ 4515:
1237
1237
  /***/ (function(module, exports, __nccwpck_require__) {
1238
1238
 
1239
1239
  "use strict";
@@ -1242,7 +1242,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
1242
1242
  return (mod && mod.__esModule) ? mod : { "default": mod };
1243
1243
  };
1244
1244
  Object.defineProperty(exports, "__esModule", ({ value: true }));
1245
- const dynamicDefaults_1 = __importDefault(__nccwpck_require__(3333));
1245
+ const dynamicDefaults_1 = __importDefault(__nccwpck_require__(3220));
1246
1246
  const dynamicDefaults = (ajv) => ajv.addKeyword((0, dynamicDefaults_1.default)());
1247
1247
  exports["default"] = dynamicDefaults;
1248
1248
  module.exports = dynamicDefaults;
@@ -1250,7 +1250,7 @@ module.exports = dynamicDefaults;
1250
1250
 
1251
1251
  /***/ }),
1252
1252
 
1253
- /***/ 5319:
1253
+ /***/ 5304:
1254
1254
  /***/ (function(module, exports, __nccwpck_require__) {
1255
1255
 
1256
1256
  "use strict";
@@ -1259,7 +1259,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
1259
1259
  return (mod && mod.__esModule) ? mod : { "default": mod };
1260
1260
  };
1261
1261
  Object.defineProperty(exports, "__esModule", ({ value: true }));
1262
- const exclusiveRange_1 = __importDefault(__nccwpck_require__(327));
1262
+ const exclusiveRange_1 = __importDefault(__nccwpck_require__(541));
1263
1263
  const exclusiveRange = (ajv) => ajv.addKeyword((0, exclusiveRange_1.default)());
1264
1264
  exports["default"] = exclusiveRange;
1265
1265
  module.exports = exclusiveRange;
@@ -1267,7 +1267,7 @@ module.exports = exclusiveRange;
1267
1267
 
1268
1268
  /***/ }),
1269
1269
 
1270
- /***/ 1663:
1270
+ /***/ 4959:
1271
1271
  /***/ (function(module, exports, __nccwpck_require__) {
1272
1272
 
1273
1273
  "use strict";
@@ -1276,22 +1276,22 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
1276
1276
  return (mod && mod.__esModule) ? mod : { "default": mod };
1277
1277
  };
1278
1278
  Object.defineProperty(exports, "__esModule", ({ value: true }));
1279
- const typeof_1 = __importDefault(__nccwpck_require__(7650));
1280
- const instanceof_1 = __importDefault(__nccwpck_require__(7422));
1281
- const range_1 = __importDefault(__nccwpck_require__(6916));
1282
- const exclusiveRange_1 = __importDefault(__nccwpck_require__(5319));
1283
- const regexp_1 = __importDefault(__nccwpck_require__(1491));
1284
- const transform_1 = __importDefault(__nccwpck_require__(9));
1285
- const uniqueItemProperties_1 = __importDefault(__nccwpck_require__(9899));
1286
- const allRequired_1 = __importDefault(__nccwpck_require__(8921));
1287
- const anyRequired_1 = __importDefault(__nccwpck_require__(8865));
1288
- const oneRequired_1 = __importDefault(__nccwpck_require__(4178));
1289
- const patternRequired_1 = __importDefault(__nccwpck_require__(4234));
1290
- const prohibited_1 = __importDefault(__nccwpck_require__(4348));
1291
- const deepProperties_1 = __importDefault(__nccwpck_require__(2409));
1292
- const deepRequired_1 = __importDefault(__nccwpck_require__(1819));
1293
- const dynamicDefaults_1 = __importDefault(__nccwpck_require__(9598));
1294
- const select_1 = __importDefault(__nccwpck_require__(3994));
1279
+ const typeof_1 = __importDefault(__nccwpck_require__(6401));
1280
+ const instanceof_1 = __importDefault(__nccwpck_require__(7499));
1281
+ const range_1 = __importDefault(__nccwpck_require__(7119));
1282
+ const exclusiveRange_1 = __importDefault(__nccwpck_require__(5304));
1283
+ const regexp_1 = __importDefault(__nccwpck_require__(9033));
1284
+ const transform_1 = __importDefault(__nccwpck_require__(4573));
1285
+ const uniqueItemProperties_1 = __importDefault(__nccwpck_require__(2857));
1286
+ const allRequired_1 = __importDefault(__nccwpck_require__(237));
1287
+ const anyRequired_1 = __importDefault(__nccwpck_require__(484));
1288
+ const oneRequired_1 = __importDefault(__nccwpck_require__(3207));
1289
+ const patternRequired_1 = __importDefault(__nccwpck_require__(9417));
1290
+ const prohibited_1 = __importDefault(__nccwpck_require__(9832));
1291
+ const deepProperties_1 = __importDefault(__nccwpck_require__(4739));
1292
+ const deepRequired_1 = __importDefault(__nccwpck_require__(8360));
1293
+ const dynamicDefaults_1 = __importDefault(__nccwpck_require__(4515));
1294
+ const select_1 = __importDefault(__nccwpck_require__(2520));
1295
1295
  // TODO type
1296
1296
  const ajvKeywords = {
1297
1297
  typeof: typeof_1.default,
@@ -1317,7 +1317,7 @@ module.exports = ajvKeywords;
1317
1317
 
1318
1318
  /***/ }),
1319
1319
 
1320
- /***/ 7422:
1320
+ /***/ 7499:
1321
1321
  /***/ (function(module, exports, __nccwpck_require__) {
1322
1322
 
1323
1323
  "use strict";
@@ -1326,7 +1326,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
1326
1326
  return (mod && mod.__esModule) ? mod : { "default": mod };
1327
1327
  };
1328
1328
  Object.defineProperty(exports, "__esModule", ({ value: true }));
1329
- const instanceof_1 = __importDefault(__nccwpck_require__(687));
1329
+ const instanceof_1 = __importDefault(__nccwpck_require__(4785));
1330
1330
  const instanceofPlugin = (ajv) => ajv.addKeyword((0, instanceof_1.default)());
1331
1331
  exports["default"] = instanceofPlugin;
1332
1332
  module.exports = instanceofPlugin;
@@ -1334,7 +1334,7 @@ module.exports = instanceofPlugin;
1334
1334
 
1335
1335
  /***/ }),
1336
1336
 
1337
- /***/ 4178:
1337
+ /***/ 3207:
1338
1338
  /***/ (function(module, exports, __nccwpck_require__) {
1339
1339
 
1340
1340
  "use strict";
@@ -1343,7 +1343,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
1343
1343
  return (mod && mod.__esModule) ? mod : { "default": mod };
1344
1344
  };
1345
1345
  Object.defineProperty(exports, "__esModule", ({ value: true }));
1346
- const oneRequired_1 = __importDefault(__nccwpck_require__(4810));
1346
+ const oneRequired_1 = __importDefault(__nccwpck_require__(4656));
1347
1347
  const oneRequired = (ajv) => ajv.addKeyword((0, oneRequired_1.default)());
1348
1348
  exports["default"] = oneRequired;
1349
1349
  module.exports = oneRequired;
@@ -1351,7 +1351,7 @@ module.exports = oneRequired;
1351
1351
 
1352
1352
  /***/ }),
1353
1353
 
1354
- /***/ 4234:
1354
+ /***/ 9417:
1355
1355
  /***/ (function(module, exports, __nccwpck_require__) {
1356
1356
 
1357
1357
  "use strict";
@@ -1360,7 +1360,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
1360
1360
  return (mod && mod.__esModule) ? mod : { "default": mod };
1361
1361
  };
1362
1362
  Object.defineProperty(exports, "__esModule", ({ value: true }));
1363
- const patternRequired_1 = __importDefault(__nccwpck_require__(2638));
1363
+ const patternRequired_1 = __importDefault(__nccwpck_require__(1818));
1364
1364
  const patternRequired = (ajv) => ajv.addKeyword((0, patternRequired_1.default)());
1365
1365
  exports["default"] = patternRequired;
1366
1366
  module.exports = patternRequired;
@@ -1368,7 +1368,7 @@ module.exports = patternRequired;
1368
1368
 
1369
1369
  /***/ }),
1370
1370
 
1371
- /***/ 4348:
1371
+ /***/ 9832:
1372
1372
  /***/ (function(module, exports, __nccwpck_require__) {
1373
1373
 
1374
1374
  "use strict";
@@ -1377,7 +1377,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
1377
1377
  return (mod && mod.__esModule) ? mod : { "default": mod };
1378
1378
  };
1379
1379
  Object.defineProperty(exports, "__esModule", ({ value: true }));
1380
- const prohibited_1 = __importDefault(__nccwpck_require__(174));
1380
+ const prohibited_1 = __importDefault(__nccwpck_require__(7506));
1381
1381
  const prohibited = (ajv) => ajv.addKeyword((0, prohibited_1.default)());
1382
1382
  exports["default"] = prohibited;
1383
1383
  module.exports = prohibited;
@@ -1385,7 +1385,7 @@ module.exports = prohibited;
1385
1385
 
1386
1386
  /***/ }),
1387
1387
 
1388
- /***/ 6916:
1388
+ /***/ 7119:
1389
1389
  /***/ (function(module, exports, __nccwpck_require__) {
1390
1390
 
1391
1391
  "use strict";
@@ -1394,7 +1394,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
1394
1394
  return (mod && mod.__esModule) ? mod : { "default": mod };
1395
1395
  };
1396
1396
  Object.defineProperty(exports, "__esModule", ({ value: true }));
1397
- const range_1 = __importDefault(__nccwpck_require__(5108));
1397
+ const range_1 = __importDefault(__nccwpck_require__(2669));
1398
1398
  const range = (ajv) => ajv.addKeyword((0, range_1.default)());
1399
1399
  exports["default"] = range;
1400
1400
  module.exports = range;
@@ -1402,7 +1402,7 @@ module.exports = range;
1402
1402
 
1403
1403
  /***/ }),
1404
1404
 
1405
- /***/ 1491:
1405
+ /***/ 9033:
1406
1406
  /***/ (function(module, exports, __nccwpck_require__) {
1407
1407
 
1408
1408
  "use strict";
@@ -1411,7 +1411,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
1411
1411
  return (mod && mod.__esModule) ? mod : { "default": mod };
1412
1412
  };
1413
1413
  Object.defineProperty(exports, "__esModule", ({ value: true }));
1414
- const regexp_1 = __importDefault(__nccwpck_require__(2833));
1414
+ const regexp_1 = __importDefault(__nccwpck_require__(3163));
1415
1415
  const regexp = (ajv) => ajv.addKeyword((0, regexp_1.default)());
1416
1416
  exports["default"] = regexp;
1417
1417
  module.exports = regexp;
@@ -1419,7 +1419,7 @@ module.exports = regexp;
1419
1419
 
1420
1420
  /***/ }),
1421
1421
 
1422
- /***/ 3994:
1422
+ /***/ 2520:
1423
1423
  /***/ (function(module, exports, __nccwpck_require__) {
1424
1424
 
1425
1425
  "use strict";
@@ -1428,7 +1428,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
1428
1428
  return (mod && mod.__esModule) ? mod : { "default": mod };
1429
1429
  };
1430
1430
  Object.defineProperty(exports, "__esModule", ({ value: true }));
1431
- const select_1 = __importDefault(__nccwpck_require__(8096));
1431
+ const select_1 = __importDefault(__nccwpck_require__(2730));
1432
1432
  const select = (ajv, opts) => {
1433
1433
  (0, select_1.default)(opts).forEach((d) => ajv.addKeyword(d));
1434
1434
  return ajv;
@@ -1439,7 +1439,7 @@ module.exports = select;
1439
1439
 
1440
1440
  /***/ }),
1441
1441
 
1442
- /***/ 9:
1442
+ /***/ 4573:
1443
1443
  /***/ (function(module, exports, __nccwpck_require__) {
1444
1444
 
1445
1445
  "use strict";
@@ -1448,7 +1448,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
1448
1448
  return (mod && mod.__esModule) ? mod : { "default": mod };
1449
1449
  };
1450
1450
  Object.defineProperty(exports, "__esModule", ({ value: true }));
1451
- const transform_1 = __importDefault(__nccwpck_require__(6705));
1451
+ const transform_1 = __importDefault(__nccwpck_require__(6678));
1452
1452
  const transform = (ajv) => ajv.addKeyword((0, transform_1.default)());
1453
1453
  exports["default"] = transform;
1454
1454
  module.exports = transform;
@@ -1456,7 +1456,7 @@ module.exports = transform;
1456
1456
 
1457
1457
  /***/ }),
1458
1458
 
1459
- /***/ 7650:
1459
+ /***/ 6401:
1460
1460
  /***/ (function(module, exports, __nccwpck_require__) {
1461
1461
 
1462
1462
  "use strict";
@@ -1465,7 +1465,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
1465
1465
  return (mod && mod.__esModule) ? mod : { "default": mod };
1466
1466
  };
1467
1467
  Object.defineProperty(exports, "__esModule", ({ value: true }));
1468
- const typeof_1 = __importDefault(__nccwpck_require__(6040));
1468
+ const typeof_1 = __importDefault(__nccwpck_require__(2518));
1469
1469
  const typeofPlugin = (ajv) => ajv.addKeyword((0, typeof_1.default)());
1470
1470
  exports["default"] = typeofPlugin;
1471
1471
  module.exports = typeofPlugin;
@@ -1473,7 +1473,7 @@ module.exports = typeofPlugin;
1473
1473
 
1474
1474
  /***/ }),
1475
1475
 
1476
- /***/ 9899:
1476
+ /***/ 2857:
1477
1477
  /***/ (function(module, exports, __nccwpck_require__) {
1478
1478
 
1479
1479
  "use strict";
@@ -1482,7 +1482,7 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
1482
1482
  return (mod && mod.__esModule) ? mod : { "default": mod };
1483
1483
  };
1484
1484
  Object.defineProperty(exports, "__esModule", ({ value: true }));
1485
- const uniqueItemProperties_1 = __importDefault(__nccwpck_require__(8475));
1485
+ const uniqueItemProperties_1 = __importDefault(__nccwpck_require__(3530));
1486
1486
  const uniqueItemProperties = (ajv) => ajv.addKeyword((0, uniqueItemProperties_1.default)());
1487
1487
  exports["default"] = uniqueItemProperties;
1488
1488
  module.exports = uniqueItemProperties;
@@ -1490,17 +1490,17 @@ module.exports = uniqueItemProperties;
1490
1490
 
1491
1491
  /***/ }),
1492
1492
 
1493
- /***/ 309:
1493
+ /***/ 4711:
1494
1494
  /***/ (function(module, exports, __nccwpck_require__) {
1495
1495
 
1496
1496
  "use strict";
1497
1497
 
1498
1498
  Object.defineProperty(exports, "__esModule", ({ value: true }));
1499
1499
  exports.CodeGen = exports.Name = exports.nil = exports.stringify = exports.str = exports._ = exports.KeywordCxt = void 0;
1500
- const core_1 = __nccwpck_require__(3710);
1501
- const draft7_1 = __nccwpck_require__(6218);
1502
- const discriminator_1 = __nccwpck_require__(3626);
1503
- const draft7MetaSchema = __nccwpck_require__(6828);
1500
+ const core_1 = __nccwpck_require__(3834);
1501
+ const draft7_1 = __nccwpck_require__(8056);
1502
+ const discriminator_1 = __nccwpck_require__(8222);
1503
+ const draft7MetaSchema = __nccwpck_require__(9520);
1504
1504
  const META_SUPPORT_DATA = ["/properties"];
1505
1505
  const META_SCHEMA_ID = "http://json-schema.org/draft-07/schema";
1506
1506
  class Ajv extends core_1.default {
@@ -1528,9 +1528,9 @@ class Ajv extends core_1.default {
1528
1528
  module.exports = exports = Ajv;
1529
1529
  Object.defineProperty(exports, "__esModule", ({ value: true }));
1530
1530
  exports["default"] = Ajv;
1531
- var validate_1 = __nccwpck_require__(9850);
1531
+ var validate_1 = __nccwpck_require__(7357);
1532
1532
  Object.defineProperty(exports, "KeywordCxt", ({ enumerable: true, get: function () { return validate_1.KeywordCxt; } }));
1533
- var codegen_1 = __nccwpck_require__(3123);
1533
+ var codegen_1 = __nccwpck_require__(4109);
1534
1534
  Object.defineProperty(exports, "_", ({ enumerable: true, get: function () { return codegen_1._; } }));
1535
1535
  Object.defineProperty(exports, "str", ({ enumerable: true, get: function () { return codegen_1.str; } }));
1536
1536
  Object.defineProperty(exports, "stringify", ({ enumerable: true, get: function () { return codegen_1.stringify; } }));
@@ -1541,7 +1541,7 @@ Object.defineProperty(exports, "CodeGen", ({ enumerable: true, get: function ()
1541
1541
 
1542
1542
  /***/ }),
1543
1543
 
1544
- /***/ 5618:
1544
+ /***/ 3456:
1545
1545
  /***/ (function(__unused_webpack_module, exports) {
1546
1546
 
1547
1547
  "use strict";
@@ -1703,16 +1703,16 @@ exports.regexpCode = regexpCode;
1703
1703
 
1704
1704
  /***/ }),
1705
1705
 
1706
- /***/ 3123:
1706
+ /***/ 4109:
1707
1707
  /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
1708
1708
 
1709
1709
  "use strict";
1710
1710
 
1711
1711
  Object.defineProperty(exports, "__esModule", ({ value: true }));
1712
1712
  exports.or = exports.and = exports.not = exports.CodeGen = exports.operators = exports.varKinds = exports.ValueScopeName = exports.ValueScope = exports.Scope = exports.Name = exports.regexpCode = exports.stringify = exports.getProperty = exports.nil = exports.strConcat = exports.str = exports._ = void 0;
1713
- const code_1 = __nccwpck_require__(5618);
1714
- const scope_1 = __nccwpck_require__(4159);
1715
- var code_2 = __nccwpck_require__(5618);
1713
+ const code_1 = __nccwpck_require__(3456);
1714
+ const scope_1 = __nccwpck_require__(3078);
1715
+ var code_2 = __nccwpck_require__(3456);
1716
1716
  Object.defineProperty(exports, "_", ({ enumerable: true, get: function () { return code_2._; } }));
1717
1717
  Object.defineProperty(exports, "str", ({ enumerable: true, get: function () { return code_2.str; } }));
1718
1718
  Object.defineProperty(exports, "strConcat", ({ enumerable: true, get: function () { return code_2.strConcat; } }));
@@ -1721,7 +1721,7 @@ Object.defineProperty(exports, "getProperty", ({ enumerable: true, get: function
1721
1721
  Object.defineProperty(exports, "stringify", ({ enumerable: true, get: function () { return code_2.stringify; } }));
1722
1722
  Object.defineProperty(exports, "regexpCode", ({ enumerable: true, get: function () { return code_2.regexpCode; } }));
1723
1723
  Object.defineProperty(exports, "Name", ({ enumerable: true, get: function () { return code_2.Name; } }));
1724
- var scope_2 = __nccwpck_require__(4159);
1724
+ var scope_2 = __nccwpck_require__(3078);
1725
1725
  Object.defineProperty(exports, "Scope", ({ enumerable: true, get: function () { return scope_2.Scope; } }));
1726
1726
  Object.defineProperty(exports, "ValueScope", ({ enumerable: true, get: function () { return scope_2.ValueScope; } }));
1727
1727
  Object.defineProperty(exports, "ValueScopeName", ({ enumerable: true, get: function () { return scope_2.ValueScopeName; } }));
@@ -2407,14 +2407,14 @@ function par(x) {
2407
2407
 
2408
2408
  /***/ }),
2409
2409
 
2410
- /***/ 4159:
2410
+ /***/ 3078:
2411
2411
  /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
2412
2412
 
2413
2413
  "use strict";
2414
2414
 
2415
2415
  Object.defineProperty(exports, "__esModule", ({ value: true }));
2416
2416
  exports.ValueScope = exports.ValueScopeName = exports.Scope = exports.varKinds = exports.UsedValueState = void 0;
2417
- const code_1 = __nccwpck_require__(5618);
2417
+ const code_1 = __nccwpck_require__(3456);
2418
2418
  class ValueError extends Error {
2419
2419
  constructor(name) {
2420
2420
  super(`CodeGen: "code" for ${name} not defined`);
@@ -2557,16 +2557,16 @@ exports.ValueScope = ValueScope;
2557
2557
 
2558
2558
  /***/ }),
2559
2559
 
2560
- /***/ 5560:
2560
+ /***/ 1069:
2561
2561
  /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
2562
2562
 
2563
2563
  "use strict";
2564
2564
 
2565
2565
  Object.defineProperty(exports, "__esModule", ({ value: true }));
2566
2566
  exports.extendErrors = exports.resetErrorsCount = exports.reportExtraError = exports.reportError = exports.keyword$DataError = exports.keywordError = void 0;
2567
- const codegen_1 = __nccwpck_require__(3123);
2568
- const util_1 = __nccwpck_require__(4802);
2569
- const names_1 = __nccwpck_require__(2491);
2567
+ const codegen_1 = __nccwpck_require__(4109);
2568
+ const util_1 = __nccwpck_require__(7545);
2569
+ const names_1 = __nccwpck_require__(4492);
2570
2570
  exports.keywordError = {
2571
2571
  message: ({ keyword }) => (0, codegen_1.str) `must pass "${keyword}" keyword validation`,
2572
2572
  };
@@ -2687,19 +2687,19 @@ function extraErrorProps(cxt, { params, message }, keyValues) {
2687
2687
 
2688
2688
  /***/ }),
2689
2689
 
2690
- /***/ 4852:
2690
+ /***/ 960:
2691
2691
  /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
2692
2692
 
2693
2693
  "use strict";
2694
2694
 
2695
2695
  Object.defineProperty(exports, "__esModule", ({ value: true }));
2696
2696
  exports.resolveSchema = exports.getCompilingSchema = exports.resolveRef = exports.compileSchema = exports.SchemaEnv = void 0;
2697
- const codegen_1 = __nccwpck_require__(3123);
2698
- const validation_error_1 = __nccwpck_require__(5911);
2699
- const names_1 = __nccwpck_require__(2491);
2700
- const resolve_1 = __nccwpck_require__(1034);
2701
- const util_1 = __nccwpck_require__(4802);
2702
- const validate_1 = __nccwpck_require__(9850);
2697
+ const codegen_1 = __nccwpck_require__(4109);
2698
+ const validation_error_1 = __nccwpck_require__(5919);
2699
+ const names_1 = __nccwpck_require__(4492);
2700
+ const resolve_1 = __nccwpck_require__(3877);
2701
+ const util_1 = __nccwpck_require__(7545);
2702
+ const validate_1 = __nccwpck_require__(7357);
2703
2703
  class SchemaEnv {
2704
2704
  constructor(env) {
2705
2705
  var _a;
@@ -2936,13 +2936,13 @@ function getJsonPointer(parsedRef, { baseId, schema, root }) {
2936
2936
 
2937
2937
  /***/ }),
2938
2938
 
2939
- /***/ 2491:
2939
+ /***/ 4492:
2940
2940
  /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
2941
2941
 
2942
2942
  "use strict";
2943
2943
 
2944
2944
  Object.defineProperty(exports, "__esModule", ({ value: true }));
2945
- const codegen_1 = __nccwpck_require__(3123);
2945
+ const codegen_1 = __nccwpck_require__(4109);
2946
2946
  const names = {
2947
2947
  // validation function arguments
2948
2948
  data: new codegen_1.Name("data"),
@@ -2971,13 +2971,13 @@ exports["default"] = names;
2971
2971
 
2972
2972
  /***/ }),
2973
2973
 
2974
- /***/ 5477:
2974
+ /***/ 9984:
2975
2975
  /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
2976
2976
 
2977
2977
  "use strict";
2978
2978
 
2979
2979
  Object.defineProperty(exports, "__esModule", ({ value: true }));
2980
- const resolve_1 = __nccwpck_require__(1034);
2980
+ const resolve_1 = __nccwpck_require__(3877);
2981
2981
  class MissingRefError extends Error {
2982
2982
  constructor(resolver, baseId, ref, msg) {
2983
2983
  super(msg || `can't resolve reference ${ref} from id ${baseId}`);
@@ -2990,14 +2990,14 @@ exports["default"] = MissingRefError;
2990
2990
 
2991
2991
  /***/ }),
2992
2992
 
2993
- /***/ 1034:
2993
+ /***/ 3877:
2994
2994
  /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
2995
2995
 
2996
2996
  "use strict";
2997
2997
 
2998
2998
  Object.defineProperty(exports, "__esModule", ({ value: true }));
2999
2999
  exports.getSchemaRefs = exports.resolveUrl = exports.normalizeId = exports._getFullPath = exports.getFullPath = exports.inlineRef = void 0;
3000
- const util_1 = __nccwpck_require__(4802);
3000
+ const util_1 = __nccwpck_require__(7545);
3001
3001
  const equal = __nccwpck_require__(7447);
3002
3002
  const traverse = __nccwpck_require__(7243);
3003
3003
  // TODO refactor to use keyword definitions
@@ -3152,7 +3152,7 @@ exports.getSchemaRefs = getSchemaRefs;
3152
3152
 
3153
3153
  /***/ }),
3154
3154
 
3155
- /***/ 2199:
3155
+ /***/ 521:
3156
3156
  /***/ (function(__unused_webpack_module, exports) {
3157
3157
 
3158
3158
  "use strict";
@@ -3185,15 +3185,15 @@ exports.getRules = getRules;
3185
3185
 
3186
3186
  /***/ }),
3187
3187
 
3188
- /***/ 4802:
3188
+ /***/ 7545:
3189
3189
  /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
3190
3190
 
3191
3191
  "use strict";
3192
3192
 
3193
3193
  Object.defineProperty(exports, "__esModule", ({ value: true }));
3194
3194
  exports.checkStrictMode = exports.getErrorPath = exports.Type = exports.useFunc = exports.setEvaluated = exports.evaluatedPropsToName = exports.mergeEvaluated = exports.eachItem = exports.unescapeJsonPointer = exports.escapeJsonPointer = exports.escapeFragment = exports.unescapeFragment = exports.schemaRefOrVal = exports.schemaHasRulesButRef = exports.schemaHasRules = exports.checkUnknownRules = exports.alwaysValidSchema = exports.toHash = void 0;
3195
- const codegen_1 = __nccwpck_require__(3123);
3196
- const code_1 = __nccwpck_require__(5618);
3195
+ const codegen_1 = __nccwpck_require__(4109);
3196
+ const code_1 = __nccwpck_require__(3456);
3197
3197
  // TODO refactor to use Set
3198
3198
  function toHash(arr) {
3199
3199
  const hash = {};
@@ -3370,7 +3370,7 @@ exports.checkStrictMode = checkStrictMode;
3370
3370
 
3371
3371
  /***/ }),
3372
3372
 
3373
- /***/ 7278:
3373
+ /***/ 2175:
3374
3374
  /***/ (function(__unused_webpack_module, exports) {
3375
3375
 
3376
3376
  "use strict";
@@ -3396,16 +3396,16 @@ exports.shouldUseRule = shouldUseRule;
3396
3396
 
3397
3397
  /***/ }),
3398
3398
 
3399
- /***/ 8586:
3399
+ /***/ 4152:
3400
3400
  /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
3401
3401
 
3402
3402
  "use strict";
3403
3403
 
3404
3404
  Object.defineProperty(exports, "__esModule", ({ value: true }));
3405
3405
  exports.boolOrEmptySchema = exports.topBoolOrEmptySchema = void 0;
3406
- const errors_1 = __nccwpck_require__(5560);
3407
- const codegen_1 = __nccwpck_require__(3123);
3408
- const names_1 = __nccwpck_require__(2491);
3406
+ const errors_1 = __nccwpck_require__(1069);
3407
+ const codegen_1 = __nccwpck_require__(4109);
3408
+ const names_1 = __nccwpck_require__(4492);
3409
3409
  const boolError = {
3410
3410
  message: "boolean schema is false",
3411
3411
  };
@@ -3453,18 +3453,18 @@ function falseSchemaError(it, overrideAllErrors) {
3453
3453
 
3454
3454
  /***/ }),
3455
3455
 
3456
- /***/ 2404:
3456
+ /***/ 3967:
3457
3457
  /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
3458
3458
 
3459
3459
  "use strict";
3460
3460
 
3461
3461
  Object.defineProperty(exports, "__esModule", ({ value: true }));
3462
3462
  exports.reportTypeError = exports.checkDataTypes = exports.checkDataType = exports.coerceAndCheckDataType = exports.getJSONTypes = exports.getSchemaTypes = exports.DataType = void 0;
3463
- const rules_1 = __nccwpck_require__(2199);
3464
- const applicability_1 = __nccwpck_require__(7278);
3465
- const errors_1 = __nccwpck_require__(5560);
3466
- const codegen_1 = __nccwpck_require__(3123);
3467
- const util_1 = __nccwpck_require__(4802);
3463
+ const rules_1 = __nccwpck_require__(521);
3464
+ const applicability_1 = __nccwpck_require__(2175);
3465
+ const errors_1 = __nccwpck_require__(1069);
3466
+ const codegen_1 = __nccwpck_require__(4109);
3467
+ const util_1 = __nccwpck_require__(7545);
3468
3468
  var DataType;
3469
3469
  (function (DataType) {
3470
3470
  DataType[DataType["Correct"] = 0] = "Correct";
@@ -3662,15 +3662,15 @@ function getTypeErrorContext(it) {
3662
3662
 
3663
3663
  /***/ }),
3664
3664
 
3665
- /***/ 9055:
3665
+ /***/ 4017:
3666
3666
  /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
3667
3667
 
3668
3668
  "use strict";
3669
3669
 
3670
3670
  Object.defineProperty(exports, "__esModule", ({ value: true }));
3671
3671
  exports.assignDefaults = void 0;
3672
- const codegen_1 = __nccwpck_require__(3123);
3673
- const util_1 = __nccwpck_require__(4802);
3672
+ const codegen_1 = __nccwpck_require__(4109);
3673
+ const util_1 = __nccwpck_require__(7545);
3674
3674
  function assignDefaults(it, ty) {
3675
3675
  const { properties, items } = it.schema;
3676
3676
  if (ty === "object" && properties) {
@@ -3704,25 +3704,25 @@ function assignDefault(it, prop, defaultValue) {
3704
3704
 
3705
3705
  /***/ }),
3706
3706
 
3707
- /***/ 9850:
3707
+ /***/ 7357:
3708
3708
  /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
3709
3709
 
3710
3710
  "use strict";
3711
3711
 
3712
3712
  Object.defineProperty(exports, "__esModule", ({ value: true }));
3713
3713
  exports.getData = exports.KeywordCxt = exports.validateFunctionCode = void 0;
3714
- const boolSchema_1 = __nccwpck_require__(8586);
3715
- const dataType_1 = __nccwpck_require__(2404);
3716
- const applicability_1 = __nccwpck_require__(7278);
3717
- const dataType_2 = __nccwpck_require__(2404);
3718
- const defaults_1 = __nccwpck_require__(9055);
3719
- const keyword_1 = __nccwpck_require__(6854);
3720
- const subschema_1 = __nccwpck_require__(3676);
3721
- const codegen_1 = __nccwpck_require__(3123);
3722
- const names_1 = __nccwpck_require__(2491);
3723
- const resolve_1 = __nccwpck_require__(1034);
3724
- const util_1 = __nccwpck_require__(4802);
3725
- const errors_1 = __nccwpck_require__(5560);
3714
+ const boolSchema_1 = __nccwpck_require__(4152);
3715
+ const dataType_1 = __nccwpck_require__(3967);
3716
+ const applicability_1 = __nccwpck_require__(2175);
3717
+ const dataType_2 = __nccwpck_require__(3967);
3718
+ const defaults_1 = __nccwpck_require__(4017);
3719
+ const keyword_1 = __nccwpck_require__(272);
3720
+ const subschema_1 = __nccwpck_require__(7390);
3721
+ const codegen_1 = __nccwpck_require__(4109);
3722
+ const names_1 = __nccwpck_require__(4492);
3723
+ const resolve_1 = __nccwpck_require__(3877);
3724
+ const util_1 = __nccwpck_require__(7545);
3725
+ const errors_1 = __nccwpck_require__(1069);
3726
3726
  // schema compilation - generates validation function, subschemaCode (below) is used for subschemas
3727
3727
  function validateFunctionCode(it) {
3728
3728
  if (isSchemaObj(it)) {
@@ -4221,17 +4221,17 @@ exports.getData = getData;
4221
4221
 
4222
4222
  /***/ }),
4223
4223
 
4224
- /***/ 6854:
4224
+ /***/ 272:
4225
4225
  /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
4226
4226
 
4227
4227
  "use strict";
4228
4228
 
4229
4229
  Object.defineProperty(exports, "__esModule", ({ value: true }));
4230
4230
  exports.validateKeywordUsage = exports.validSchemaType = exports.funcKeywordCode = exports.macroKeywordCode = void 0;
4231
- const codegen_1 = __nccwpck_require__(3123);
4232
- const names_1 = __nccwpck_require__(2491);
4233
- const code_1 = __nccwpck_require__(8529);
4234
- const errors_1 = __nccwpck_require__(5560);
4231
+ const codegen_1 = __nccwpck_require__(4109);
4232
+ const names_1 = __nccwpck_require__(4492);
4233
+ const code_1 = __nccwpck_require__(6086);
4234
+ const errors_1 = __nccwpck_require__(1069);
4235
4235
  function macroKeywordCode(cxt, def) {
4236
4236
  const { gen, keyword, schema, parentSchema, it } = cxt;
4237
4237
  const macroSchema = def.macro.call(it.self, schema, parentSchema, it);
@@ -4352,15 +4352,15 @@ exports.validateKeywordUsage = validateKeywordUsage;
4352
4352
 
4353
4353
  /***/ }),
4354
4354
 
4355
- /***/ 3676:
4355
+ /***/ 7390:
4356
4356
  /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
4357
4357
 
4358
4358
  "use strict";
4359
4359
 
4360
4360
  Object.defineProperty(exports, "__esModule", ({ value: true }));
4361
4361
  exports.extendSubschemaMode = exports.extendSubschemaData = exports.getSubschema = void 0;
4362
- const codegen_1 = __nccwpck_require__(3123);
4363
- const util_1 = __nccwpck_require__(4802);
4362
+ const codegen_1 = __nccwpck_require__(4109);
4363
+ const util_1 = __nccwpck_require__(7545);
4364
4364
  function getSubschema(it, { keyword, schemaProp, schema, schemaPath, errSchemaPath, topSchemaRef }) {
4365
4365
  if (keyword !== undefined && schema !== undefined) {
4366
4366
  throw new Error('both "keyword" and "schema" passed, only one allowed');
@@ -4440,32 +4440,32 @@ exports.extendSubschemaMode = extendSubschemaMode;
4440
4440
 
4441
4441
  /***/ }),
4442
4442
 
4443
- /***/ 3710:
4443
+ /***/ 3834:
4444
4444
  /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
4445
4445
 
4446
4446
  "use strict";
4447
4447
 
4448
4448
  Object.defineProperty(exports, "__esModule", ({ value: true }));
4449
4449
  exports.CodeGen = exports.Name = exports.nil = exports.stringify = exports.str = exports._ = exports.KeywordCxt = void 0;
4450
- var validate_1 = __nccwpck_require__(9850);
4450
+ var validate_1 = __nccwpck_require__(7357);
4451
4451
  Object.defineProperty(exports, "KeywordCxt", ({ enumerable: true, get: function () { return validate_1.KeywordCxt; } }));
4452
- var codegen_1 = __nccwpck_require__(3123);
4452
+ var codegen_1 = __nccwpck_require__(4109);
4453
4453
  Object.defineProperty(exports, "_", ({ enumerable: true, get: function () { return codegen_1._; } }));
4454
4454
  Object.defineProperty(exports, "str", ({ enumerable: true, get: function () { return codegen_1.str; } }));
4455
4455
  Object.defineProperty(exports, "stringify", ({ enumerable: true, get: function () { return codegen_1.stringify; } }));
4456
4456
  Object.defineProperty(exports, "nil", ({ enumerable: true, get: function () { return codegen_1.nil; } }));
4457
4457
  Object.defineProperty(exports, "Name", ({ enumerable: true, get: function () { return codegen_1.Name; } }));
4458
4458
  Object.defineProperty(exports, "CodeGen", ({ enumerable: true, get: function () { return codegen_1.CodeGen; } }));
4459
- const validation_error_1 = __nccwpck_require__(5911);
4460
- const ref_error_1 = __nccwpck_require__(5477);
4461
- const rules_1 = __nccwpck_require__(2199);
4462
- const compile_1 = __nccwpck_require__(4852);
4463
- const codegen_2 = __nccwpck_require__(3123);
4464
- const resolve_1 = __nccwpck_require__(1034);
4465
- const dataType_1 = __nccwpck_require__(2404);
4466
- const util_1 = __nccwpck_require__(4802);
4467
- const $dataRefSchema = __nccwpck_require__(9235);
4468
- const uri_1 = __nccwpck_require__(7995);
4459
+ const validation_error_1 = __nccwpck_require__(5919);
4460
+ const ref_error_1 = __nccwpck_require__(9984);
4461
+ const rules_1 = __nccwpck_require__(521);
4462
+ const compile_1 = __nccwpck_require__(960);
4463
+ const codegen_2 = __nccwpck_require__(4109);
4464
+ const resolve_1 = __nccwpck_require__(3877);
4465
+ const dataType_1 = __nccwpck_require__(3967);
4466
+ const util_1 = __nccwpck_require__(7545);
4467
+ const $dataRefSchema = __nccwpck_require__(7918);
4468
+ const uri_1 = __nccwpck_require__(4095);
4469
4469
  const defaultRegExp = (str, flags) => new RegExp(str, flags);
4470
4470
  defaultRegExp.code = "new RegExp";
4471
4471
  const META_IGNORE_OPTIONS = ["removeAdditional", "useDefaults", "coerceTypes"];
@@ -5064,7 +5064,7 @@ function schemaOrData(schema) {
5064
5064
 
5065
5065
  /***/ }),
5066
5066
 
5067
- /***/ 6109:
5067
+ /***/ 9987:
5068
5068
  /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
5069
5069
 
5070
5070
  "use strict";
@@ -5078,7 +5078,7 @@ exports["default"] = equal;
5078
5078
 
5079
5079
  /***/ }),
5080
5080
 
5081
- /***/ 3882:
5081
+ /***/ 4624:
5082
5082
  /***/ (function(__unused_webpack_module, exports) {
5083
5083
 
5084
5084
  "use strict";
@@ -5109,7 +5109,7 @@ ucs2length.code = 'require("ajv/dist/runtime/ucs2length").default';
5109
5109
 
5110
5110
  /***/ }),
5111
5111
 
5112
- /***/ 7995:
5112
+ /***/ 4095:
5113
5113
  /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
5114
5114
 
5115
5115
  "use strict";
@@ -5122,7 +5122,7 @@ exports["default"] = uri;
5122
5122
 
5123
5123
  /***/ }),
5124
5124
 
5125
- /***/ 5911:
5125
+ /***/ 5919:
5126
5126
  /***/ (function(__unused_webpack_module, exports) {
5127
5127
 
5128
5128
  "use strict";
@@ -5140,15 +5140,15 @@ exports["default"] = ValidationError;
5140
5140
 
5141
5141
  /***/ }),
5142
5142
 
5143
- /***/ 9772:
5143
+ /***/ 8268:
5144
5144
  /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
5145
5145
 
5146
5146
  "use strict";
5147
5147
 
5148
5148
  Object.defineProperty(exports, "__esModule", ({ value: true }));
5149
5149
  exports.validateAdditionalItems = void 0;
5150
- const codegen_1 = __nccwpck_require__(3123);
5151
- const util_1 = __nccwpck_require__(4802);
5150
+ const codegen_1 = __nccwpck_require__(4109);
5151
+ const util_1 = __nccwpck_require__(7545);
5152
5152
  const error = {
5153
5153
  message: ({ params: { len } }) => (0, codegen_1.str) `must NOT have more than ${len} items`,
5154
5154
  params: ({ params: { len } }) => (0, codegen_1._) `{limit: ${len}}`,
@@ -5196,16 +5196,16 @@ exports["default"] = def;
5196
5196
 
5197
5197
  /***/ }),
5198
5198
 
5199
- /***/ 7947:
5199
+ /***/ 5506:
5200
5200
  /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
5201
5201
 
5202
5202
  "use strict";
5203
5203
 
5204
5204
  Object.defineProperty(exports, "__esModule", ({ value: true }));
5205
- const code_1 = __nccwpck_require__(8529);
5206
- const codegen_1 = __nccwpck_require__(3123);
5207
- const names_1 = __nccwpck_require__(2491);
5208
- const util_1 = __nccwpck_require__(4802);
5205
+ const code_1 = __nccwpck_require__(6086);
5206
+ const codegen_1 = __nccwpck_require__(4109);
5207
+ const names_1 = __nccwpck_require__(4492);
5208
+ const util_1 = __nccwpck_require__(7545);
5209
5209
  const error = {
5210
5210
  message: "must NOT have additional properties",
5211
5211
  params: ({ params }) => (0, codegen_1._) `{additionalProperty: ${params.additionalProperty}}`,
@@ -5309,13 +5309,13 @@ exports["default"] = def;
5309
5309
 
5310
5310
  /***/ }),
5311
5311
 
5312
- /***/ 813:
5312
+ /***/ 2962:
5313
5313
  /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
5314
5314
 
5315
5315
  "use strict";
5316
5316
 
5317
5317
  Object.defineProperty(exports, "__esModule", ({ value: true }));
5318
- const util_1 = __nccwpck_require__(4802);
5318
+ const util_1 = __nccwpck_require__(7545);
5319
5319
  const def = {
5320
5320
  keyword: "allOf",
5321
5321
  schemaType: "array",
@@ -5339,13 +5339,13 @@ exports["default"] = def;
5339
5339
 
5340
5340
  /***/ }),
5341
5341
 
5342
- /***/ 7806:
5342
+ /***/ 1549:
5343
5343
  /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
5344
5344
 
5345
5345
  "use strict";
5346
5346
 
5347
5347
  Object.defineProperty(exports, "__esModule", ({ value: true }));
5348
- const code_1 = __nccwpck_require__(8529);
5348
+ const code_1 = __nccwpck_require__(6086);
5349
5349
  const def = {
5350
5350
  keyword: "anyOf",
5351
5351
  schemaType: "array",
@@ -5358,14 +5358,14 @@ exports["default"] = def;
5358
5358
 
5359
5359
  /***/ }),
5360
5360
 
5361
- /***/ 4251:
5361
+ /***/ 9251:
5362
5362
  /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
5363
5363
 
5364
5364
  "use strict";
5365
5365
 
5366
5366
  Object.defineProperty(exports, "__esModule", ({ value: true }));
5367
- const codegen_1 = __nccwpck_require__(3123);
5368
- const util_1 = __nccwpck_require__(4802);
5367
+ const codegen_1 = __nccwpck_require__(4109);
5368
+ const util_1 = __nccwpck_require__(7545);
5369
5369
  const error = {
5370
5370
  message: ({ params: { min, max } }) => max === undefined
5371
5371
  ? (0, codegen_1.str) `must contain at least ${min} valid item(s)`
@@ -5460,16 +5460,16 @@ exports["default"] = def;
5460
5460
 
5461
5461
  /***/ }),
5462
5462
 
5463
- /***/ 3612:
5463
+ /***/ 8243:
5464
5464
  /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
5465
5465
 
5466
5466
  "use strict";
5467
5467
 
5468
5468
  Object.defineProperty(exports, "__esModule", ({ value: true }));
5469
5469
  exports.validateSchemaDeps = exports.validatePropertyDeps = exports.error = void 0;
5470
- const codegen_1 = __nccwpck_require__(3123);
5471
- const util_1 = __nccwpck_require__(4802);
5472
- const code_1 = __nccwpck_require__(8529);
5470
+ const codegen_1 = __nccwpck_require__(4109);
5471
+ const util_1 = __nccwpck_require__(7545);
5472
+ const code_1 = __nccwpck_require__(6086);
5473
5473
  exports.error = {
5474
5474
  message: ({ params: { property, depsCount, deps } }) => {
5475
5475
  const property_ies = depsCount === 1 ? "property" : "properties";
@@ -5552,14 +5552,14 @@ exports["default"] = def;
5552
5552
 
5553
5553
  /***/ }),
5554
5554
 
5555
- /***/ 765:
5555
+ /***/ 2062:
5556
5556
  /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
5557
5557
 
5558
5558
  "use strict";
5559
5559
 
5560
5560
  Object.defineProperty(exports, "__esModule", ({ value: true }));
5561
- const codegen_1 = __nccwpck_require__(3123);
5562
- const util_1 = __nccwpck_require__(4802);
5561
+ const codegen_1 = __nccwpck_require__(4109);
5562
+ const util_1 = __nccwpck_require__(7545);
5563
5563
  const error = {
5564
5564
  message: ({ params }) => (0, codegen_1.str) `must match "${params.ifClause}" schema`,
5565
5565
  params: ({ params }) => (0, codegen_1._) `{failingKeyword: ${params.ifClause}}`,
@@ -5625,28 +5625,28 @@ exports["default"] = def;
5625
5625
 
5626
5626
  /***/ }),
5627
5627
 
5628
- /***/ 3614:
5628
+ /***/ 4576:
5629
5629
  /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
5630
5630
 
5631
5631
  "use strict";
5632
5632
 
5633
5633
  Object.defineProperty(exports, "__esModule", ({ value: true }));
5634
- const additionalItems_1 = __nccwpck_require__(9772);
5635
- const prefixItems_1 = __nccwpck_require__(5082);
5636
- const items_1 = __nccwpck_require__(9851);
5637
- const items2020_1 = __nccwpck_require__(9976);
5638
- const contains_1 = __nccwpck_require__(4251);
5639
- const dependencies_1 = __nccwpck_require__(3612);
5640
- const propertyNames_1 = __nccwpck_require__(4452);
5641
- const additionalProperties_1 = __nccwpck_require__(7947);
5642
- const properties_1 = __nccwpck_require__(5469);
5643
- const patternProperties_1 = __nccwpck_require__(4566);
5644
- const not_1 = __nccwpck_require__(6388);
5645
- const anyOf_1 = __nccwpck_require__(7806);
5646
- const oneOf_1 = __nccwpck_require__(7639);
5647
- const allOf_1 = __nccwpck_require__(813);
5648
- const if_1 = __nccwpck_require__(765);
5649
- const thenElse_1 = __nccwpck_require__(4721);
5634
+ const additionalItems_1 = __nccwpck_require__(8268);
5635
+ const prefixItems_1 = __nccwpck_require__(6282);
5636
+ const items_1 = __nccwpck_require__(1198);
5637
+ const items2020_1 = __nccwpck_require__(4437);
5638
+ const contains_1 = __nccwpck_require__(9251);
5639
+ const dependencies_1 = __nccwpck_require__(8243);
5640
+ const propertyNames_1 = __nccwpck_require__(7558);
5641
+ const additionalProperties_1 = __nccwpck_require__(5506);
5642
+ const properties_1 = __nccwpck_require__(6096);
5643
+ const patternProperties_1 = __nccwpck_require__(4496);
5644
+ const not_1 = __nccwpck_require__(7676);
5645
+ const anyOf_1 = __nccwpck_require__(1549);
5646
+ const oneOf_1 = __nccwpck_require__(4201);
5647
+ const allOf_1 = __nccwpck_require__(2962);
5648
+ const if_1 = __nccwpck_require__(2062);
5649
+ const thenElse_1 = __nccwpck_require__(6918);
5650
5650
  function getApplicator(draft2020 = false) {
5651
5651
  const applicator = [
5652
5652
  // any
@@ -5676,16 +5676,16 @@ exports["default"] = getApplicator;
5676
5676
 
5677
5677
  /***/ }),
5678
5678
 
5679
- /***/ 9851:
5679
+ /***/ 1198:
5680
5680
  /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
5681
5681
 
5682
5682
  "use strict";
5683
5683
 
5684
5684
  Object.defineProperty(exports, "__esModule", ({ value: true }));
5685
5685
  exports.validateTuple = void 0;
5686
- const codegen_1 = __nccwpck_require__(3123);
5687
- const util_1 = __nccwpck_require__(4802);
5688
- const code_1 = __nccwpck_require__(8529);
5686
+ const codegen_1 = __nccwpck_require__(4109);
5687
+ const util_1 = __nccwpck_require__(7545);
5688
+ const code_1 = __nccwpck_require__(6086);
5689
5689
  const def = {
5690
5690
  keyword: "items",
5691
5691
  type: "array",
@@ -5735,16 +5735,16 @@ exports["default"] = def;
5735
5735
 
5736
5736
  /***/ }),
5737
5737
 
5738
- /***/ 9976:
5738
+ /***/ 4437:
5739
5739
  /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
5740
5740
 
5741
5741
  "use strict";
5742
5742
 
5743
5743
  Object.defineProperty(exports, "__esModule", ({ value: true }));
5744
- const codegen_1 = __nccwpck_require__(3123);
5745
- const util_1 = __nccwpck_require__(4802);
5746
- const code_1 = __nccwpck_require__(8529);
5747
- const additionalItems_1 = __nccwpck_require__(9772);
5744
+ const codegen_1 = __nccwpck_require__(4109);
5745
+ const util_1 = __nccwpck_require__(7545);
5746
+ const code_1 = __nccwpck_require__(6086);
5747
+ const additionalItems_1 = __nccwpck_require__(8268);
5748
5748
  const error = {
5749
5749
  message: ({ params: { len } }) => (0, codegen_1.str) `must NOT have more than ${len} items`,
5750
5750
  params: ({ params: { len } }) => (0, codegen_1._) `{limit: ${len}}`,
@@ -5772,13 +5772,13 @@ exports["default"] = def;
5772
5772
 
5773
5773
  /***/ }),
5774
5774
 
5775
- /***/ 6388:
5775
+ /***/ 7676:
5776
5776
  /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
5777
5777
 
5778
5778
  "use strict";
5779
5779
 
5780
5780
  Object.defineProperty(exports, "__esModule", ({ value: true }));
5781
- const util_1 = __nccwpck_require__(4802);
5781
+ const util_1 = __nccwpck_require__(7545);
5782
5782
  const def = {
5783
5783
  keyword: "not",
5784
5784
  schemaType: ["object", "boolean"],
@@ -5805,14 +5805,14 @@ exports["default"] = def;
5805
5805
 
5806
5806
  /***/ }),
5807
5807
 
5808
- /***/ 7639:
5808
+ /***/ 4201:
5809
5809
  /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
5810
5810
 
5811
5811
  "use strict";
5812
5812
 
5813
5813
  Object.defineProperty(exports, "__esModule", ({ value: true }));
5814
- const codegen_1 = __nccwpck_require__(3123);
5815
- const util_1 = __nccwpck_require__(4802);
5814
+ const codegen_1 = __nccwpck_require__(4109);
5815
+ const util_1 = __nccwpck_require__(7545);
5816
5816
  const error = {
5817
5817
  message: "must match exactly one schema in oneOf",
5818
5818
  params: ({ params }) => (0, codegen_1._) `{passingSchemas: ${params.passing}}`,
@@ -5872,16 +5872,16 @@ exports["default"] = def;
5872
5872
 
5873
5873
  /***/ }),
5874
5874
 
5875
- /***/ 4566:
5875
+ /***/ 4496:
5876
5876
  /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
5877
5877
 
5878
5878
  "use strict";
5879
5879
 
5880
5880
  Object.defineProperty(exports, "__esModule", ({ value: true }));
5881
- const code_1 = __nccwpck_require__(8529);
5882
- const codegen_1 = __nccwpck_require__(3123);
5883
- const util_1 = __nccwpck_require__(4802);
5884
- const util_2 = __nccwpck_require__(4802);
5881
+ const code_1 = __nccwpck_require__(6086);
5882
+ const codegen_1 = __nccwpck_require__(4109);
5883
+ const util_1 = __nccwpck_require__(7545);
5884
+ const util_2 = __nccwpck_require__(7545);
5885
5885
  const def = {
5886
5886
  keyword: "patternProperties",
5887
5887
  type: "object",
@@ -5954,13 +5954,13 @@ exports["default"] = def;
5954
5954
 
5955
5955
  /***/ }),
5956
5956
 
5957
- /***/ 5082:
5957
+ /***/ 6282:
5958
5958
  /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
5959
5959
 
5960
5960
  "use strict";
5961
5961
 
5962
5962
  Object.defineProperty(exports, "__esModule", ({ value: true }));
5963
- const items_1 = __nccwpck_require__(9851);
5963
+ const items_1 = __nccwpck_require__(1198);
5964
5964
  const def = {
5965
5965
  keyword: "prefixItems",
5966
5966
  type: "array",
@@ -5973,16 +5973,16 @@ exports["default"] = def;
5973
5973
 
5974
5974
  /***/ }),
5975
5975
 
5976
- /***/ 5469:
5976
+ /***/ 6096:
5977
5977
  /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
5978
5978
 
5979
5979
  "use strict";
5980
5980
 
5981
5981
  Object.defineProperty(exports, "__esModule", ({ value: true }));
5982
- const validate_1 = __nccwpck_require__(9850);
5983
- const code_1 = __nccwpck_require__(8529);
5984
- const util_1 = __nccwpck_require__(4802);
5985
- const additionalProperties_1 = __nccwpck_require__(7947);
5982
+ const validate_1 = __nccwpck_require__(7357);
5983
+ const code_1 = __nccwpck_require__(6086);
5984
+ const util_1 = __nccwpck_require__(7545);
5985
+ const additionalProperties_1 = __nccwpck_require__(5506);
5986
5986
  const def = {
5987
5987
  keyword: "properties",
5988
5988
  type: "object",
@@ -6034,14 +6034,14 @@ exports["default"] = def;
6034
6034
 
6035
6035
  /***/ }),
6036
6036
 
6037
- /***/ 4452:
6037
+ /***/ 7558:
6038
6038
  /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
6039
6039
 
6040
6040
  "use strict";
6041
6041
 
6042
6042
  Object.defineProperty(exports, "__esModule", ({ value: true }));
6043
- const codegen_1 = __nccwpck_require__(3123);
6044
- const util_1 = __nccwpck_require__(4802);
6043
+ const codegen_1 = __nccwpck_require__(4109);
6044
+ const util_1 = __nccwpck_require__(7545);
6045
6045
  const error = {
6046
6046
  message: "property name must be valid",
6047
6047
  params: ({ params }) => (0, codegen_1._) `{propertyName: ${params.propertyName}}`,
@@ -6079,13 +6079,13 @@ exports["default"] = def;
6079
6079
 
6080
6080
  /***/ }),
6081
6081
 
6082
- /***/ 4721:
6082
+ /***/ 6918:
6083
6083
  /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
6084
6084
 
6085
6085
  "use strict";
6086
6086
 
6087
6087
  Object.defineProperty(exports, "__esModule", ({ value: true }));
6088
- const util_1 = __nccwpck_require__(4802);
6088
+ const util_1 = __nccwpck_require__(7545);
6089
6089
  const def = {
6090
6090
  keyword: ["then", "else"],
6091
6091
  schemaType: ["object", "boolean"],
@@ -6099,17 +6099,17 @@ exports["default"] = def;
6099
6099
 
6100
6100
  /***/ }),
6101
6101
 
6102
- /***/ 8529:
6102
+ /***/ 6086:
6103
6103
  /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
6104
6104
 
6105
6105
  "use strict";
6106
6106
 
6107
6107
  Object.defineProperty(exports, "__esModule", ({ value: true }));
6108
6108
  exports.validateUnion = exports.validateArray = exports.usePattern = exports.callValidateCode = exports.schemaProperties = exports.allSchemaProperties = exports.noPropertyInData = exports.propertyInData = exports.isOwnProperty = exports.hasPropFunc = exports.reportMissingProp = exports.checkMissingProp = exports.checkReportMissingProp = void 0;
6109
- const codegen_1 = __nccwpck_require__(3123);
6110
- const util_1 = __nccwpck_require__(4802);
6111
- const names_1 = __nccwpck_require__(2491);
6112
- const util_2 = __nccwpck_require__(4802);
6109
+ const codegen_1 = __nccwpck_require__(4109);
6110
+ const util_1 = __nccwpck_require__(7545);
6111
+ const names_1 = __nccwpck_require__(4492);
6112
+ const util_2 = __nccwpck_require__(7545);
6113
6113
  function checkReportMissingProp(cxt, prop) {
6114
6114
  const { gen, data, it } = cxt;
6115
6115
  gen.if(noPropertyInData(gen, data, prop, it.opts.ownProperties), () => {
@@ -6237,7 +6237,7 @@ exports.validateUnion = validateUnion;
6237
6237
 
6238
6238
  /***/ }),
6239
6239
 
6240
- /***/ 91:
6240
+ /***/ 8795:
6241
6241
  /***/ (function(__unused_webpack_module, exports) {
6242
6242
 
6243
6243
  "use strict";
@@ -6254,14 +6254,14 @@ exports["default"] = def;
6254
6254
 
6255
6255
  /***/ }),
6256
6256
 
6257
- /***/ 597:
6257
+ /***/ 9827:
6258
6258
  /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
6259
6259
 
6260
6260
  "use strict";
6261
6261
 
6262
6262
  Object.defineProperty(exports, "__esModule", ({ value: true }));
6263
- const id_1 = __nccwpck_require__(91);
6264
- const ref_1 = __nccwpck_require__(5473);
6263
+ const id_1 = __nccwpck_require__(8795);
6264
+ const ref_1 = __nccwpck_require__(9873);
6265
6265
  const core = [
6266
6266
  "$schema",
6267
6267
  "$id",
@@ -6277,19 +6277,19 @@ exports["default"] = core;
6277
6277
 
6278
6278
  /***/ }),
6279
6279
 
6280
- /***/ 5473:
6280
+ /***/ 9873:
6281
6281
  /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
6282
6282
 
6283
6283
  "use strict";
6284
6284
 
6285
6285
  Object.defineProperty(exports, "__esModule", ({ value: true }));
6286
6286
  exports.callRef = exports.getValidate = void 0;
6287
- const ref_error_1 = __nccwpck_require__(5477);
6288
- const code_1 = __nccwpck_require__(8529);
6289
- const codegen_1 = __nccwpck_require__(3123);
6290
- const names_1 = __nccwpck_require__(2491);
6291
- const compile_1 = __nccwpck_require__(4852);
6292
- const util_1 = __nccwpck_require__(4802);
6287
+ const ref_error_1 = __nccwpck_require__(9984);
6288
+ const code_1 = __nccwpck_require__(6086);
6289
+ const codegen_1 = __nccwpck_require__(4109);
6290
+ const names_1 = __nccwpck_require__(4492);
6291
+ const compile_1 = __nccwpck_require__(960);
6292
+ const util_1 = __nccwpck_require__(7545);
6293
6293
  const def = {
6294
6294
  keyword: "$ref",
6295
6295
  schemaType: "string",
@@ -6406,16 +6406,16 @@ exports["default"] = def;
6406
6406
 
6407
6407
  /***/ }),
6408
6408
 
6409
- /***/ 3626:
6409
+ /***/ 8222:
6410
6410
  /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
6411
6411
 
6412
6412
  "use strict";
6413
6413
 
6414
6414
  Object.defineProperty(exports, "__esModule", ({ value: true }));
6415
- const codegen_1 = __nccwpck_require__(3123);
6416
- const types_1 = __nccwpck_require__(4061);
6417
- const compile_1 = __nccwpck_require__(4852);
6418
- const util_1 = __nccwpck_require__(4802);
6415
+ const codegen_1 = __nccwpck_require__(4109);
6416
+ const types_1 = __nccwpck_require__(3547);
6417
+ const compile_1 = __nccwpck_require__(960);
6418
+ const util_1 = __nccwpck_require__(7545);
6419
6419
  const error = {
6420
6420
  message: ({ params: { discrError, tagName } }) => discrError === types_1.DiscrError.Tag
6421
6421
  ? `tag "${tagName}" must be string`
@@ -6469,7 +6469,7 @@ const def = {
6469
6469
  for (let i = 0; i < oneOf.length; i++) {
6470
6470
  let sch = oneOf[i];
6471
6471
  if ((sch === null || sch === void 0 ? void 0 : sch.$ref) && !(0, util_1.schemaHasRulesButRef)(sch, it.self.RULES)) {
6472
- sch = compile_1.resolveRef.call(it.self, it.schemaEnv, it.baseId, sch === null || sch === void 0 ? void 0 : sch.$ref);
6472
+ sch = compile_1.resolveRef.call(it.self, it.schemaEnv.root, it.baseId, sch === null || sch === void 0 ? void 0 : sch.$ref);
6473
6473
  if (sch instanceof compile_1.SchemaEnv)
6474
6474
  sch = sch.schema;
6475
6475
  }
@@ -6513,7 +6513,7 @@ exports["default"] = def;
6513
6513
 
6514
6514
  /***/ }),
6515
6515
 
6516
- /***/ 4061:
6516
+ /***/ 3547:
6517
6517
  /***/ (function(__unused_webpack_module, exports) {
6518
6518
 
6519
6519
  "use strict";
@@ -6529,17 +6529,17 @@ var DiscrError;
6529
6529
 
6530
6530
  /***/ }),
6531
6531
 
6532
- /***/ 6218:
6532
+ /***/ 8056:
6533
6533
  /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
6534
6534
 
6535
6535
  "use strict";
6536
6536
 
6537
6537
  Object.defineProperty(exports, "__esModule", ({ value: true }));
6538
- const core_1 = __nccwpck_require__(597);
6539
- const validation_1 = __nccwpck_require__(1556);
6540
- const applicator_1 = __nccwpck_require__(3614);
6541
- const format_1 = __nccwpck_require__(5706);
6542
- const metadata_1 = __nccwpck_require__(342);
6538
+ const core_1 = __nccwpck_require__(9827);
6539
+ const validation_1 = __nccwpck_require__(4463);
6540
+ const applicator_1 = __nccwpck_require__(4576);
6541
+ const format_1 = __nccwpck_require__(7596);
6542
+ const metadata_1 = __nccwpck_require__(1654);
6543
6543
  const draft7Vocabularies = [
6544
6544
  core_1.default,
6545
6545
  validation_1.default,
@@ -6553,13 +6553,13 @@ exports["default"] = draft7Vocabularies;
6553
6553
 
6554
6554
  /***/ }),
6555
6555
 
6556
- /***/ 4371:
6556
+ /***/ 3875:
6557
6557
  /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
6558
6558
 
6559
6559
  "use strict";
6560
6560
 
6561
6561
  Object.defineProperty(exports, "__esModule", ({ value: true }));
6562
- const codegen_1 = __nccwpck_require__(3123);
6562
+ const codegen_1 = __nccwpck_require__(4109);
6563
6563
  const error = {
6564
6564
  message: ({ schemaCode }) => (0, codegen_1.str) `must match format "${schemaCode}"`,
6565
6565
  params: ({ schemaCode }) => (0, codegen_1._) `{format: ${schemaCode}}`,
@@ -6652,20 +6652,20 @@ exports["default"] = def;
6652
6652
 
6653
6653
  /***/ }),
6654
6654
 
6655
- /***/ 5706:
6655
+ /***/ 7596:
6656
6656
  /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
6657
6657
 
6658
6658
  "use strict";
6659
6659
 
6660
6660
  Object.defineProperty(exports, "__esModule", ({ value: true }));
6661
- const format_1 = __nccwpck_require__(4371);
6661
+ const format_1 = __nccwpck_require__(3875);
6662
6662
  const format = [format_1.default];
6663
6663
  exports["default"] = format;
6664
6664
  //# sourceMappingURL=index.js.map
6665
6665
 
6666
6666
  /***/ }),
6667
6667
 
6668
- /***/ 342:
6668
+ /***/ 1654:
6669
6669
  /***/ (function(__unused_webpack_module, exports) {
6670
6670
 
6671
6671
  "use strict";
@@ -6690,15 +6690,15 @@ exports.contentVocabulary = [
6690
6690
 
6691
6691
  /***/ }),
6692
6692
 
6693
- /***/ 9314:
6693
+ /***/ 3838:
6694
6694
  /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
6695
6695
 
6696
6696
  "use strict";
6697
6697
 
6698
6698
  Object.defineProperty(exports, "__esModule", ({ value: true }));
6699
- const codegen_1 = __nccwpck_require__(3123);
6700
- const util_1 = __nccwpck_require__(4802);
6701
- const equal_1 = __nccwpck_require__(6109);
6699
+ const codegen_1 = __nccwpck_require__(4109);
6700
+ const util_1 = __nccwpck_require__(7545);
6701
+ const equal_1 = __nccwpck_require__(9987);
6702
6702
  const error = {
6703
6703
  message: "must be equal to constant",
6704
6704
  params: ({ schemaCode }) => (0, codegen_1._) `{allowedValue: ${schemaCode}}`,
@@ -6722,15 +6722,15 @@ exports["default"] = def;
6722
6722
 
6723
6723
  /***/ }),
6724
6724
 
6725
- /***/ 7167:
6725
+ /***/ 6923:
6726
6726
  /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
6727
6727
 
6728
6728
  "use strict";
6729
6729
 
6730
6730
  Object.defineProperty(exports, "__esModule", ({ value: true }));
6731
- const codegen_1 = __nccwpck_require__(3123);
6732
- const util_1 = __nccwpck_require__(4802);
6733
- const equal_1 = __nccwpck_require__(6109);
6731
+ const codegen_1 = __nccwpck_require__(4109);
6732
+ const util_1 = __nccwpck_require__(7545);
6733
+ const equal_1 = __nccwpck_require__(9987);
6734
6734
  const error = {
6735
6735
  message: "must be equal to one of the allowed values",
6736
6736
  params: ({ schemaCode }) => (0, codegen_1._) `{allowedValues: ${schemaCode}}`,
@@ -6745,7 +6745,8 @@ const def = {
6745
6745
  if (!$data && schema.length === 0)
6746
6746
  throw new Error("enum must have non-empty array");
6747
6747
  const useLoop = schema.length >= it.opts.loopEnum;
6748
- const eql = (0, util_1.useFunc)(gen, equal_1.default);
6748
+ let eql;
6749
+ const getEql = () => (eql !== null && eql !== void 0 ? eql : (eql = (0, util_1.useFunc)(gen, equal_1.default)));
6749
6750
  let valid;
6750
6751
  if (useLoop || $data) {
6751
6752
  valid = gen.let("valid");
@@ -6761,12 +6762,12 @@ const def = {
6761
6762
  cxt.pass(valid);
6762
6763
  function loopEnum() {
6763
6764
  gen.assign(valid, false);
6764
- gen.forOf("v", schemaCode, (v) => gen.if((0, codegen_1._) `${eql}(${data}, ${v})`, () => gen.assign(valid, true).break()));
6765
+ gen.forOf("v", schemaCode, (v) => gen.if((0, codegen_1._) `${getEql()}(${data}, ${v})`, () => gen.assign(valid, true).break()));
6765
6766
  }
6766
6767
  function equalCode(vSchema, i) {
6767
6768
  const sch = schema[i];
6768
6769
  return typeof sch === "object" && sch !== null
6769
- ? (0, codegen_1._) `${eql}(${data}, ${vSchema}[${i}])`
6770
+ ? (0, codegen_1._) `${getEql()}(${data}, ${vSchema}[${i}])`
6770
6771
  : (0, codegen_1._) `${data} === ${sch}`;
6771
6772
  }
6772
6773
  },
@@ -6776,22 +6777,22 @@ exports["default"] = def;
6776
6777
 
6777
6778
  /***/ }),
6778
6779
 
6779
- /***/ 1556:
6780
+ /***/ 4463:
6780
6781
  /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
6781
6782
 
6782
6783
  "use strict";
6783
6784
 
6784
6785
  Object.defineProperty(exports, "__esModule", ({ value: true }));
6785
- const limitNumber_1 = __nccwpck_require__(5188);
6786
- const multipleOf_1 = __nccwpck_require__(6488);
6787
- const limitLength_1 = __nccwpck_require__(5176);
6788
- const pattern_1 = __nccwpck_require__(5146);
6789
- const limitProperties_1 = __nccwpck_require__(9327);
6790
- const required_1 = __nccwpck_require__(6646);
6791
- const limitItems_1 = __nccwpck_require__(4545);
6792
- const uniqueItems_1 = __nccwpck_require__(3735);
6793
- const const_1 = __nccwpck_require__(9314);
6794
- const enum_1 = __nccwpck_require__(7167);
6786
+ const limitNumber_1 = __nccwpck_require__(6974);
6787
+ const multipleOf_1 = __nccwpck_require__(873);
6788
+ const limitLength_1 = __nccwpck_require__(5534);
6789
+ const pattern_1 = __nccwpck_require__(6880);
6790
+ const limitProperties_1 = __nccwpck_require__(490);
6791
+ const required_1 = __nccwpck_require__(1022);
6792
+ const limitItems_1 = __nccwpck_require__(3480);
6793
+ const uniqueItems_1 = __nccwpck_require__(4214);
6794
+ const const_1 = __nccwpck_require__(3838);
6795
+ const enum_1 = __nccwpck_require__(6923);
6795
6796
  const validation = [
6796
6797
  // number
6797
6798
  limitNumber_1.default,
@@ -6816,13 +6817,13 @@ exports["default"] = validation;
6816
6817
 
6817
6818
  /***/ }),
6818
6819
 
6819
- /***/ 4545:
6820
+ /***/ 3480:
6820
6821
  /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
6821
6822
 
6822
6823
  "use strict";
6823
6824
 
6824
6825
  Object.defineProperty(exports, "__esModule", ({ value: true }));
6825
- const codegen_1 = __nccwpck_require__(3123);
6826
+ const codegen_1 = __nccwpck_require__(4109);
6826
6827
  const error = {
6827
6828
  message({ keyword, schemaCode }) {
6828
6829
  const comp = keyword === "maxItems" ? "more" : "fewer";
@@ -6847,15 +6848,15 @@ exports["default"] = def;
6847
6848
 
6848
6849
  /***/ }),
6849
6850
 
6850
- /***/ 5176:
6851
+ /***/ 5534:
6851
6852
  /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
6852
6853
 
6853
6854
  "use strict";
6854
6855
 
6855
6856
  Object.defineProperty(exports, "__esModule", ({ value: true }));
6856
- const codegen_1 = __nccwpck_require__(3123);
6857
- const util_1 = __nccwpck_require__(4802);
6858
- const ucs2length_1 = __nccwpck_require__(3882);
6857
+ const codegen_1 = __nccwpck_require__(4109);
6858
+ const util_1 = __nccwpck_require__(7545);
6859
+ const ucs2length_1 = __nccwpck_require__(4624);
6859
6860
  const error = {
6860
6861
  message({ keyword, schemaCode }) {
6861
6862
  const comp = keyword === "maxLength" ? "more" : "fewer";
@@ -6881,13 +6882,13 @@ exports["default"] = def;
6881
6882
 
6882
6883
  /***/ }),
6883
6884
 
6884
- /***/ 5188:
6885
+ /***/ 6974:
6885
6886
  /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
6886
6887
 
6887
6888
  "use strict";
6888
6889
 
6889
6890
  Object.defineProperty(exports, "__esModule", ({ value: true }));
6890
- const codegen_1 = __nccwpck_require__(3123);
6891
+ const codegen_1 = __nccwpck_require__(4109);
6891
6892
  const ops = codegen_1.operators;
6892
6893
  const KWDs = {
6893
6894
  maximum: { okStr: "<=", ok: ops.LTE, fail: ops.GT },
@@ -6915,17 +6916,17 @@ exports["default"] = def;
6915
6916
 
6916
6917
  /***/ }),
6917
6918
 
6918
- /***/ 9327:
6919
+ /***/ 490:
6919
6920
  /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
6920
6921
 
6921
6922
  "use strict";
6922
6923
 
6923
6924
  Object.defineProperty(exports, "__esModule", ({ value: true }));
6924
- const codegen_1 = __nccwpck_require__(3123);
6925
+ const codegen_1 = __nccwpck_require__(4109);
6925
6926
  const error = {
6926
6927
  message({ keyword, schemaCode }) {
6927
6928
  const comp = keyword === "maxProperties" ? "more" : "fewer";
6928
- return (0, codegen_1.str) `must NOT have ${comp} than ${schemaCode} items`;
6929
+ return (0, codegen_1.str) `must NOT have ${comp} than ${schemaCode} properties`;
6929
6930
  },
6930
6931
  params: ({ schemaCode }) => (0, codegen_1._) `{limit: ${schemaCode}}`,
6931
6932
  };
@@ -6946,13 +6947,13 @@ exports["default"] = def;
6946
6947
 
6947
6948
  /***/ }),
6948
6949
 
6949
- /***/ 6488:
6950
+ /***/ 873:
6950
6951
  /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
6951
6952
 
6952
6953
  "use strict";
6953
6954
 
6954
6955
  Object.defineProperty(exports, "__esModule", ({ value: true }));
6955
- const codegen_1 = __nccwpck_require__(3123);
6956
+ const codegen_1 = __nccwpck_require__(4109);
6956
6957
  const error = {
6957
6958
  message: ({ schemaCode }) => (0, codegen_1.str) `must be multiple of ${schemaCode}`,
6958
6959
  params: ({ schemaCode }) => (0, codegen_1._) `{multipleOf: ${schemaCode}}`,
@@ -6979,14 +6980,14 @@ exports["default"] = def;
6979
6980
 
6980
6981
  /***/ }),
6981
6982
 
6982
- /***/ 5146:
6983
+ /***/ 6880:
6983
6984
  /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
6984
6985
 
6985
6986
  "use strict";
6986
6987
 
6987
6988
  Object.defineProperty(exports, "__esModule", ({ value: true }));
6988
- const code_1 = __nccwpck_require__(8529);
6989
- const codegen_1 = __nccwpck_require__(3123);
6989
+ const code_1 = __nccwpck_require__(6086);
6990
+ const codegen_1 = __nccwpck_require__(4109);
6990
6991
  const error = {
6991
6992
  message: ({ schemaCode }) => (0, codegen_1.str) `must match pattern "${schemaCode}"`,
6992
6993
  params: ({ schemaCode }) => (0, codegen_1._) `{pattern: ${schemaCode}}`,
@@ -7010,15 +7011,15 @@ exports["default"] = def;
7010
7011
 
7011
7012
  /***/ }),
7012
7013
 
7013
- /***/ 6646:
7014
+ /***/ 1022:
7014
7015
  /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
7015
7016
 
7016
7017
  "use strict";
7017
7018
 
7018
7019
  Object.defineProperty(exports, "__esModule", ({ value: true }));
7019
- const code_1 = __nccwpck_require__(8529);
7020
- const codegen_1 = __nccwpck_require__(3123);
7021
- const util_1 = __nccwpck_require__(4802);
7020
+ const code_1 = __nccwpck_require__(6086);
7021
+ const codegen_1 = __nccwpck_require__(4109);
7022
+ const util_1 = __nccwpck_require__(7545);
7022
7023
  const error = {
7023
7024
  message: ({ params: { missingProperty } }) => (0, codegen_1.str) `must have required property '${missingProperty}'`,
7024
7025
  params: ({ params: { missingProperty } }) => (0, codegen_1._) `{missingProperty: ${missingProperty}}`,
@@ -7096,16 +7097,16 @@ exports["default"] = def;
7096
7097
 
7097
7098
  /***/ }),
7098
7099
 
7099
- /***/ 3735:
7100
+ /***/ 4214:
7100
7101
  /***/ (function(__unused_webpack_module, exports, __nccwpck_require__) {
7101
7102
 
7102
7103
  "use strict";
7103
7104
 
7104
7105
  Object.defineProperty(exports, "__esModule", ({ value: true }));
7105
- const dataType_1 = __nccwpck_require__(2404);
7106
- const codegen_1 = __nccwpck_require__(3123);
7107
- const util_1 = __nccwpck_require__(4802);
7108
- const equal_1 = __nccwpck_require__(6109);
7106
+ const dataType_1 = __nccwpck_require__(3967);
7107
+ const codegen_1 = __nccwpck_require__(4109);
7108
+ const util_1 = __nccwpck_require__(7545);
7109
+ const equal_1 = __nccwpck_require__(9987);
7109
7110
  const error = {
7110
7111
  message: ({ params: { i, j } }) => (0, codegen_1.str) `must NOT have duplicate items (items ## ${j} and ${i} are identical)`,
7111
7112
  params: ({ params: { i, j } }) => (0, codegen_1._) `{i: ${i}, j: ${j}}`,
@@ -7322,21 +7323,19 @@ function escapeJsonPtr(str) {
7322
7323
 
7323
7324
  /***/ }),
7324
7325
 
7325
- /***/ 3014:
7326
+ /***/ 387:
7326
7327
  /***/ (function(module, __unused_webpack_exports, __nccwpck_require__) {
7327
7328
 
7328
7329
  "use strict";
7329
7330
 
7330
7331
 
7331
7332
  /* eslint-disable class-methods-use-this */
7332
- const path = __nccwpck_require__(1017);
7333
7333
 
7334
+ const path = __nccwpck_require__(1017);
7334
7335
  const {
7335
7336
  validate
7336
7337
  } = __nccwpck_require__(9048);
7337
-
7338
- const schema = __nccwpck_require__(8396);
7339
-
7338
+ const schema = __nccwpck_require__(6930);
7340
7339
  const {
7341
7340
  trueFn,
7342
7341
  MODULE_TYPE,
@@ -7346,31 +7345,20 @@ const {
7346
7345
  compareModulesByIdentifier,
7347
7346
  getUndoPath,
7348
7347
  BASE_URI
7349
- } = __nccwpck_require__(615);
7350
- /** @typedef {import("schema-utils/declarations/validate").Schema} Schema */
7348
+ } = __nccwpck_require__(1279);
7351
7349
 
7350
+ /** @typedef {import("schema-utils/declarations/validate").Schema} Schema */
7352
7351
  /** @typedef {import("webpack").Compiler} Compiler */
7353
-
7354
7352
  /** @typedef {import("webpack").Compilation} Compilation */
7355
-
7356
7353
  /** @typedef {import("webpack").ChunkGraph} ChunkGraph */
7357
-
7358
7354
  /** @typedef {import("webpack").Chunk} Chunk */
7359
-
7360
7355
  /** @typedef {Parameters<import("webpack").Chunk["isInGroup"]>[0]} ChunkGroup */
7361
-
7362
7356
  /** @typedef {import("webpack").Module} Module */
7363
-
7364
7357
  /** @typedef {import("webpack").Dependency} Dependency */
7365
-
7366
7358
  /** @typedef {import("webpack").sources.Source} Source */
7367
-
7368
7359
  /** @typedef {import("webpack").Configuration} Configuration */
7369
-
7370
7360
  /** @typedef {import("webpack").WebpackError} WebpackError */
7371
-
7372
7361
  /** @typedef {import("webpack").AssetInfo} AssetInfo */
7373
-
7374
7362
  /** @typedef {import("./loader.js").Dependency} LoaderDependency */
7375
7363
 
7376
7364
  /**
@@ -7414,23 +7402,21 @@ const {
7414
7402
 
7415
7403
  /** @typedef {any} TODO */
7416
7404
 
7417
-
7418
7405
  const pluginName = "mini-css-extract-plugin";
7419
7406
  const pluginSymbol = Symbol(pluginName);
7420
7407
  const DEFAULT_FILENAME = "[name].css";
7421
7408
  /**
7422
7409
  * @type {Set<string>}
7423
7410
  */
7424
-
7425
7411
  const TYPES = new Set([MODULE_TYPE]);
7426
7412
  /**
7427
7413
  * @type {ReturnType<Module["codeGeneration"]>}
7428
7414
  */
7429
-
7430
7415
  const CODE_GENERATION_RESULT = {
7431
7416
  sources: new Map(),
7432
7417
  runtimeRequirements: new Set()
7433
7418
  };
7419
+
7434
7420
  /** @typedef {Module & { content: Buffer, media?: string, sourceMap?: Buffer, supports?: string, layer?: string, assets?: { [key: string]: TODO }, assetsInfo?: Map<string, AssetInfo> }} CssModule */
7435
7421
 
7436
7422
  /** @typedef {{ context: string | null, identifier: string, identifierIndex: number, content: Buffer, sourceMap?: Buffer, media?: string, supports?: string, layer?: TODO, assetsInfo?: Map<string, AssetInfo>, assets?: { [key: string]: TODO }}} CssModuleDependency */
@@ -7447,19 +7433,15 @@ const CODE_GENERATION_RESULT = {
7447
7433
  *
7448
7434
  * @type {WeakMap<Compiler["webpack"], CssModuleConstructor>}
7449
7435
  */
7450
-
7451
7436
  const cssModuleCache = new WeakMap();
7452
7437
  /**
7453
7438
  * @type {WeakMap<Compiler["webpack"], CssDependencyConstructor>}
7454
7439
  */
7455
-
7456
7440
  const cssDependencyCache = new WeakMap();
7457
7441
  /**
7458
7442
  * @type {WeakSet<Compiler["webpack"]>}
7459
7443
  */
7460
-
7461
7444
  const registered = new WeakSet();
7462
-
7463
7445
  class MiniCssExtractPlugin {
7464
7446
  /**
7465
7447
  * @param {Compiler["webpack"]} webpack
@@ -7470,12 +7452,9 @@ class MiniCssExtractPlugin {
7470
7452
  * Prevent creation of multiple CssModule classes to allow other integrations to get the current CssModule.
7471
7453
  */
7472
7454
  if (cssModuleCache.has(webpack)) {
7473
- return (
7474
- /** @type {CssModuleConstructor} */
7475
- cssModuleCache.get(webpack)
7455
+ return (/** @type {CssModuleConstructor} */cssModuleCache.get(webpack)
7476
7456
  );
7477
7457
  }
7478
-
7479
7458
  class CssModule extends webpack.Module {
7480
7459
  /**
7481
7460
  * @param {CssModuleDependency} dependency
@@ -7492,9 +7471,7 @@ class MiniCssExtractPlugin {
7492
7471
  assets,
7493
7472
  assetsInfo
7494
7473
  }) {
7495
- super(MODULE_TYPE,
7496
- /** @type {string | undefined} */
7497
- context);
7474
+ super(MODULE_TYPE, /** @type {string | undefined} */context);
7498
7475
  this.id = "";
7499
7476
  this._context = context;
7500
7477
  this._identifier = identifier;
@@ -7507,110 +7484,75 @@ class MiniCssExtractPlugin {
7507
7484
  this.assets = assets;
7508
7485
  this.assetsInfo = assetsInfo;
7509
7486
  this._needBuild = true;
7510
- } // no source() so webpack 4 doesn't do add stuff to the bundle
7487
+ }
7511
7488
 
7489
+ // no source() so webpack 4 doesn't do add stuff to the bundle
7512
7490
 
7513
7491
  size() {
7514
7492
  return this.content.length;
7515
7493
  }
7516
-
7517
7494
  identifier() {
7518
7495
  return `css|${this._identifier}|${this._identifierIndex}`;
7519
7496
  }
7497
+
7520
7498
  /**
7521
7499
  * @param {Parameters<Module["readableIdentifier"]>[0]} requestShortener
7522
7500
  * @returns {ReturnType<Module["readableIdentifier"]>}
7523
7501
  */
7524
-
7525
-
7526
7502
  readableIdentifier(requestShortener) {
7527
7503
  return `css ${requestShortener.shorten(this._identifier)}${this._identifierIndex ? ` (${this._identifierIndex})` : ""}`;
7528
- } // eslint-disable-next-line class-methods-use-this
7529
-
7504
+ }
7530
7505
 
7506
+ // eslint-disable-next-line class-methods-use-this
7531
7507
  getSourceTypes() {
7532
7508
  return TYPES;
7533
- } // eslint-disable-next-line class-methods-use-this
7534
-
7509
+ }
7535
7510
 
7511
+ // eslint-disable-next-line class-methods-use-this
7536
7512
  codeGeneration() {
7537
7513
  return CODE_GENERATION_RESULT;
7538
7514
  }
7539
-
7540
7515
  nameForCondition() {
7541
- const resource =
7542
- /** @type {string} */
7516
+ const resource = /** @type {string} */
7543
7517
  this._identifier.split("!").pop();
7544
-
7545
7518
  const idx = resource.indexOf("?");
7546
-
7547
7519
  if (idx >= 0) {
7548
7520
  return resource.substring(0, idx);
7549
7521
  }
7550
-
7551
7522
  return resource;
7552
7523
  }
7524
+
7553
7525
  /**
7554
7526
  * @param {Module} module
7555
7527
  */
7556
-
7557
-
7558
7528
  updateCacheModule(module) {
7559
- if (this.content !==
7560
- /** @type {CssModule} */
7561
- module.content || this.layer !==
7562
- /** @type {CssModule} */
7563
- module.layer || this.supports !==
7564
- /** @type {CssModule} */
7565
- module.supports || this.media !==
7566
- /** @type {CssModule} */
7567
- module.media || this.sourceMap !==
7568
- /** @type {CssModule} */
7569
- module.sourceMap || this.assets !==
7570
- /** @type {CssModule} */
7571
- module.assets || this.assetsInfo !==
7572
- /** @type {CssModule} */
7573
- module.assetsInfo) {
7529
+ if (this.content !== /** @type {CssModule} */module.content || this.layer !== /** @type {CssModule} */module.layer || this.supports !== /** @type {CssModule} */module.supports || this.media !== /** @type {CssModule} */module.media || this.sourceMap !== /** @type {CssModule} */module.sourceMap || this.assets !== /** @type {CssModule} */module.assets || this.assetsInfo !== /** @type {CssModule} */module.assetsInfo) {
7574
7530
  this._needBuild = true;
7575
- this.content =
7576
- /** @type {CssModule} */
7577
- module.content;
7578
- this.layer =
7579
- /** @type {CssModule} */
7580
- module.layer;
7581
- this.supports =
7582
- /** @type {CssModule} */
7583
- module.supports;
7584
- this.media =
7585
- /** @type {CssModule} */
7586
- module.media;
7587
- this.sourceMap =
7588
- /** @type {CssModule} */
7589
- module.sourceMap;
7590
- this.assets =
7591
- /** @type {CssModule} */
7592
- module.assets;
7593
- this.assetsInfo =
7594
- /** @type {CssModule} */
7595
- module.assetsInfo;
7596
- }
7597
- } // eslint-disable-next-line class-methods-use-this
7598
-
7531
+ this.content = /** @type {CssModule} */module.content;
7532
+ this.layer = /** @type {CssModule} */module.layer;
7533
+ this.supports = /** @type {CssModule} */module.supports;
7534
+ this.media = /** @type {CssModule} */module.media;
7535
+ this.sourceMap = /** @type {CssModule} */module.sourceMap;
7536
+ this.assets = /** @type {CssModule} */module.assets;
7537
+ this.assetsInfo = /** @type {CssModule} */module.assetsInfo;
7538
+ }
7539
+ }
7599
7540
 
7541
+ // eslint-disable-next-line class-methods-use-this
7600
7542
  needRebuild() {
7601
7543
  return this._needBuild;
7602
- } // eslint-disable-next-line class-methods-use-this
7544
+ }
7603
7545
 
7546
+ // eslint-disable-next-line class-methods-use-this
7604
7547
  /**
7605
7548
  * @param {Parameters<Module["needBuild"]>[0]} context context info
7606
7549
  * @param {Parameters<Module["needBuild"]>[1]} callback callback function, returns true, if the module needs a rebuild
7607
7550
  */
7608
-
7609
-
7610
7551
  needBuild(context, callback) {
7611
7552
  // eslint-disable-next-line no-undefined
7612
7553
  callback(undefined, this._needBuild);
7613
7554
  }
7555
+
7614
7556
  /**
7615
7557
  * @param {Parameters<Module["build"]>[0]} options
7616
7558
  * @param {Parameters<Module["build"]>[1]} compilation
@@ -7618,56 +7560,47 @@ class MiniCssExtractPlugin {
7618
7560
  * @param {Parameters<Module["build"]>[3]} fileSystem
7619
7561
  * @param {Parameters<Module["build"]>[4]} callback
7620
7562
  */
7621
-
7622
-
7623
7563
  build(options, compilation, resolver, fileSystem, callback) {
7624
7564
  this.buildInfo = {
7625
7565
  assets: this.assets,
7626
7566
  assetsInfo: this.assetsInfo,
7627
7567
  cacheable: true,
7628
- hash: this._computeHash(
7629
- /** @type {string} */
7630
- compilation.outputOptions.hashFunction)
7568
+ hash: this._computeHash( /** @type {string} */compilation.outputOptions.hashFunction)
7631
7569
  };
7632
7570
  this.buildMeta = {};
7633
7571
  this._needBuild = false;
7634
7572
  callback();
7635
7573
  }
7574
+
7636
7575
  /**
7637
7576
  * @private
7638
7577
  * @param {string} hashFunction
7639
7578
  * @returns {string | Buffer}
7640
7579
  */
7641
-
7642
-
7643
7580
  _computeHash(hashFunction) {
7644
7581
  const hash = webpack.util.createHash(hashFunction);
7645
7582
  hash.update(this.content);
7646
-
7647
7583
  if (this.layer) {
7648
7584
  hash.update(this.layer);
7649
7585
  }
7650
-
7651
7586
  hash.update(this.supports || "");
7652
7587
  hash.update(this.media || "");
7653
7588
  hash.update(this.sourceMap || "");
7654
7589
  return hash.digest("hex");
7655
7590
  }
7591
+
7656
7592
  /**
7657
7593
  * @param {Parameters<Module["updateHash"]>[0]} hash
7658
7594
  * @param {Parameters<Module["updateHash"]>[1]} context
7659
7595
  */
7660
-
7661
-
7662
7596
  updateHash(hash, context) {
7663
7597
  super.updateHash(hash, context);
7664
7598
  hash.update(this.buildInfo.hash);
7665
7599
  }
7600
+
7666
7601
  /**
7667
7602
  * @param {Parameters<Module["serialize"]>[0]} context
7668
7603
  */
7669
-
7670
-
7671
7604
  serialize(context) {
7672
7605
  const {
7673
7606
  write
@@ -7685,25 +7618,22 @@ class MiniCssExtractPlugin {
7685
7618
  write(this._needBuild);
7686
7619
  super.serialize(context);
7687
7620
  }
7621
+
7688
7622
  /**
7689
7623
  * @param {Parameters<Module["deserialize"]>[0]} context
7690
7624
  */
7691
-
7692
-
7693
7625
  deserialize(context) {
7694
7626
  this._needBuild = context.read();
7695
7627
  super.deserialize(context);
7696
7628
  }
7697
-
7698
7629
  }
7699
-
7700
7630
  cssModuleCache.set(webpack, CssModule);
7701
- webpack.util.serialization.register(CssModule, path.resolve(__dirname, "CssModule"), // @ts-ignore
7631
+ webpack.util.serialization.register(CssModule, path.resolve(__dirname, "CssModule"),
7632
+ // @ts-ignore
7702
7633
  null, {
7703
7634
  serialize(instance, context) {
7704
7635
  instance.serialize(context);
7705
7636
  },
7706
-
7707
7637
  deserialize(context) {
7708
7638
  const {
7709
7639
  read
@@ -7733,27 +7663,23 @@ class MiniCssExtractPlugin {
7733
7663
  dep.deserialize(context);
7734
7664
  return dep;
7735
7665
  }
7736
-
7737
7666
  });
7738
7667
  return CssModule;
7739
7668
  }
7669
+
7740
7670
  /**
7741
7671
  * @param {Compiler["webpack"]} webpack
7742
7672
  * @returns {CssDependencyConstructor}
7743
7673
  */
7744
-
7745
-
7746
7674
  static getCssDependency(webpack) {
7747
7675
  /**
7748
7676
  * Prevent creation of multiple CssDependency classes to allow other integrations to get the current CssDependency.
7749
7677
  */
7750
7678
  if (cssDependencyCache.has(webpack)) {
7751
- return (
7752
- /** @type {CssDependencyConstructor} */
7679
+ return (/** @type {CssDependencyConstructor} */
7753
7680
  cssDependencyCache.get(webpack)
7754
7681
  );
7755
7682
  }
7756
-
7757
7683
  class CssDependency extends webpack.Dependency {
7758
7684
  /**
7759
7685
  * @param {CssDependencyOptions} loaderDependency
@@ -7779,35 +7705,30 @@ class MiniCssExtractPlugin {
7779
7705
  this.context = context;
7780
7706
  /** @type {{ [key: string]: Source } | undefined}} */
7781
7707
  // eslint-disable-next-line no-undefined
7782
-
7783
7708
  this.assets = undefined;
7784
7709
  /** @type {Map<string, AssetInfo> | undefined} */
7785
7710
  // eslint-disable-next-line no-undefined
7786
-
7787
7711
  this.assetsInfo = undefined;
7788
7712
  }
7713
+
7789
7714
  /**
7790
7715
  * @returns {ReturnType<Dependency["getResourceIdentifier"]>}
7791
7716
  */
7792
-
7793
-
7794
7717
  getResourceIdentifier() {
7795
7718
  return `css-module-${this.identifier}-${this.identifierIndex}`;
7796
7719
  }
7720
+
7797
7721
  /**
7798
7722
  * @returns {ReturnType<Dependency["getModuleEvaluationSideEffectsState"]>}
7799
7723
  */
7800
7724
  // eslint-disable-next-line class-methods-use-this
7801
-
7802
-
7803
7725
  getModuleEvaluationSideEffectsState() {
7804
7726
  return webpack.ModuleGraphConnection.TRANSITIVE_ONLY;
7805
7727
  }
7728
+
7806
7729
  /**
7807
7730
  * @param {Parameters<Dependency["serialize"]>[0]} context
7808
7731
  */
7809
-
7810
-
7811
7732
  serialize(context) {
7812
7733
  const {
7813
7734
  write
@@ -7824,24 +7745,21 @@ class MiniCssExtractPlugin {
7824
7745
  write(this.assetsInfo);
7825
7746
  super.serialize(context);
7826
7747
  }
7748
+
7827
7749
  /**
7828
7750
  * @param {Parameters<Dependency["deserialize"]>[0]} context
7829
7751
  */
7830
-
7831
-
7832
7752
  deserialize(context) {
7833
7753
  super.deserialize(context);
7834
7754
  }
7835
-
7836
7755
  }
7837
-
7838
7756
  cssDependencyCache.set(webpack, CssDependency);
7839
- webpack.util.serialization.register(CssDependency, path.resolve(__dirname, "CssDependency"), // @ts-ignore
7757
+ webpack.util.serialization.register(CssDependency, path.resolve(__dirname, "CssDependency"),
7758
+ // @ts-ignore
7840
7759
  null, {
7841
7760
  serialize(instance, context) {
7842
7761
  instance.serialize(context);
7843
7762
  },
7844
-
7845
7763
  deserialize(context) {
7846
7764
  const {
7847
7765
  read
@@ -7861,33 +7779,29 @@ class MiniCssExtractPlugin {
7861
7779
  dep.deserialize(context);
7862
7780
  return dep;
7863
7781
  }
7864
-
7865
7782
  });
7866
7783
  return CssDependency;
7867
7784
  }
7785
+
7868
7786
  /**
7869
7787
  * @param {PluginOptions} [options]
7870
7788
  */
7871
-
7872
-
7873
7789
  constructor(options = {}) {
7874
- validate(
7875
- /** @type {Schema} */
7876
- schema, options, {
7790
+ validate( /** @type {Schema} */schema, options, {
7877
7791
  baseDataPath: "options"
7878
7792
  });
7793
+
7879
7794
  /**
7880
7795
  * @private
7881
7796
  * @type {WeakMap<Chunk, Set<CssModule>>}
7882
7797
  * @private
7883
7798
  */
7884
-
7885
7799
  this._sortedModulesCache = new WeakMap();
7800
+
7886
7801
  /**
7887
7802
  * @private
7888
7803
  * @type {NormalizedPluginOptions}
7889
7804
  */
7890
-
7891
7805
  this.options = Object.assign({
7892
7806
  filename: DEFAULT_FILENAME,
7893
7807
  ignoreOrder: false,
@@ -7896,45 +7810,36 @@ class MiniCssExtractPlugin {
7896
7810
  experimentalUseImportModule: undefined,
7897
7811
  runtime: true
7898
7812
  }, options);
7813
+
7899
7814
  /**
7900
7815
  * @private
7901
7816
  * @type {RuntimeOptions}
7902
7817
  */
7903
-
7904
7818
  this.runtimeOptions = {
7905
7819
  insert: options.insert,
7906
- linkType: // Todo in next major release set default to "false"
7907
- typeof options.linkType === "boolean" &&
7908
- /** @type {boolean} */
7909
- options.linkType === true || typeof options.linkType === "undefined" ? "text/css" : options.linkType,
7820
+ linkType:
7821
+ // Todo in next major release set default to "false"
7822
+ typeof options.linkType === "boolean" && /** @type {boolean} */options.linkType === true || typeof options.linkType === "undefined" ? "text/css" : options.linkType,
7910
7823
  attributes: options.attributes
7911
7824
  };
7912
-
7913
7825
  if (!this.options.chunkFilename) {
7914
7826
  const {
7915
7827
  filename
7916
7828
  } = this.options;
7917
-
7918
7829
  if (typeof filename !== "function") {
7919
- const hasName =
7920
- /** @type {string} */
7921
- filename.includes("[name]");
7922
- const hasId =
7923
- /** @type {string} */
7924
- filename.includes("[id]");
7925
- const hasChunkHash =
7926
- /** @type {string} */
7830
+ const hasName = /** @type {string} */filename.includes("[name]");
7831
+ const hasId = /** @type {string} */filename.includes("[id]");
7832
+ const hasChunkHash = /** @type {string} */
7927
7833
  filename.includes("[chunkhash]");
7928
- const hasContentHash =
7929
- /** @type {string} */
7930
- filename.includes("[contenthash]"); // Anything changing depending on chunk is fine
7834
+ const hasContentHash = /** @type {string} */
7835
+ filename.includes("[contenthash]");
7931
7836
 
7837
+ // Anything changing depending on chunk is fine
7932
7838
  if (hasChunkHash || hasContentHash || hasName || hasId) {
7933
7839
  this.options.chunkFilename = filename;
7934
7840
  } else {
7935
7841
  // Otherwise prefix "[id]." in front of the basename to make it changing
7936
- this.options.chunkFilename =
7937
- /** @type {string} */
7842
+ this.options.chunkFilename = /** @type {string} */
7938
7843
  filename.replace(/(^|\/)([^/]*(?:\?|$))/, "$1[id].$2");
7939
7844
  }
7940
7845
  } else {
@@ -7942,46 +7847,38 @@ class MiniCssExtractPlugin {
7942
7847
  }
7943
7848
  }
7944
7849
  }
7850
+
7945
7851
  /**
7946
7852
  * @param {Compiler} compiler
7947
7853
  */
7948
-
7949
-
7950
7854
  apply(compiler) {
7951
7855
  const {
7952
7856
  webpack
7953
7857
  } = compiler;
7954
-
7955
7858
  if (this.options.experimentalUseImportModule) {
7956
- if (typeof
7957
- /** @type {Compiler["options"]["experiments"] & { executeModule?: boolean }} */
7859
+ if (typeof /** @type {Compiler["options"]["experiments"] & { executeModule?: boolean }} */
7958
7860
  compiler.options.experiments.executeModule === "undefined") {
7959
7861
  /** @type {Compiler["options"]["experiments"] & { executeModule?: boolean }} */
7960
7862
  // eslint-disable-next-line no-param-reassign
7961
7863
  compiler.options.experiments.executeModule = true;
7962
7864
  }
7963
- } // TODO bug in webpack, remove it after it will be fixed
7964
- // webpack tries to `require` loader firstly when serializer doesn't found
7965
-
7865
+ }
7966
7866
 
7867
+ // TODO bug in webpack, remove it after it will be fixed
7868
+ // webpack tries to `require` loader firstly when serializer doesn't found
7967
7869
  if (!registered.has(webpack)) {
7968
7870
  registered.add(webpack);
7969
7871
  webpack.util.serialization.registerLoader(/^mini-css-extract-plugin\//, trueFn);
7970
7872
  }
7971
-
7972
7873
  const {
7973
7874
  splitChunks
7974
7875
  } = compiler.options.optimization;
7975
-
7976
7876
  if (splitChunks) {
7977
- if (
7978
- /** @type {string[]} */
7979
- splitChunks.defaultSizeTypes.includes("...")) {
7877
+ if ( /** @type {string[]} */splitChunks.defaultSizeTypes.includes("...")) {
7980
7878
  /** @type {string[]} */
7981
7879
  splitChunks.defaultSizeTypes.push(MODULE_TYPE);
7982
7880
  }
7983
7881
  }
7984
-
7985
7882
  const CssModule = MiniCssExtractPlugin.getCssModule(webpack);
7986
7883
  const CssDependency = MiniCssExtractPlugin.getCssDependency(webpack);
7987
7884
  const {
@@ -8013,22 +7910,16 @@ class MiniCssExtractPlugin {
8013
7910
  create({
8014
7911
  dependencies: [dependency]
8015
7912
  }, callback) {
7913
+ callback(
8016
7914
  // eslint-disable-next-line no-undefined
8017
- callback(undefined, new CssModule(
8018
- /** @type {CssDependency} */
8019
- dependency));
7915
+ undefined, new CssModule( /** @type {CssDependency} */dependency));
8020
7916
  }
8021
-
8022
7917
  }
8023
-
8024
7918
  compilation.dependencyFactories.set(CssDependency, new CssModuleFactory());
8025
-
8026
7919
  class CssDependencyTemplate {
8027
7920
  // eslint-disable-next-line class-methods-use-this
8028
7921
  apply() {}
8029
-
8030
7922
  }
8031
-
8032
7923
  compilation.dependencyTemplates.set(CssDependency, new CssDependencyTemplate());
8033
7924
  compilation.hooks.renderManifest.tap(pluginName,
8034
7925
  /**
@@ -8044,22 +7935,20 @@ class MiniCssExtractPlugin {
8044
7935
  } = compilation;
8045
7936
  const {
8046
7937
  HotUpdateChunk
8047
- } = webpack; // We don't need hot update chunks for css
8048
- // We will use the real asset instead to update
7938
+ } = webpack;
8049
7939
 
7940
+ // We don't need hot update chunks for css
7941
+ // We will use the real asset instead to update
8050
7942
  if (chunk instanceof HotUpdateChunk) {
8051
7943
  return;
8052
7944
  }
8053
- /** @type {CssModule[]} */
8054
7945
 
8055
-
8056
- const renderedModules = Array.from(
8057
7946
  /** @type {CssModule[]} */
7947
+ const renderedModules = Array.from( /** @type {CssModule[]} */
8058
7948
  this.getChunkModules(chunk, chunkGraph)).filter(module => module.type === MODULE_TYPE);
8059
- const filenameTemplate =
8060
- /** @type {string} */
8061
- chunk.canBeInitial() ? this.options.filename : this.options.chunkFilename;
7949
+ const filenameTemplate = /** @type {string} */
8062
7950
 
7951
+ chunk.canBeInitial() ? this.options.filename : this.options.chunkFilename;
8063
7952
  if (renderedModules.length > 0) {
8064
7953
  result.push({
8065
7954
  render: () => this.renderContentAsset(compiler, compilation, chunk, renderedModules, compilation.runtimeTemplate.requestShortener, filenameTemplate, {
@@ -8081,10 +7970,8 @@ class MiniCssExtractPlugin {
8081
7970
  outputOptions,
8082
7971
  chunkGraph
8083
7972
  } = compilation;
8084
- const modules = this.sortModules(compilation, chunk,
8085
- /** @type {CssModule[]} */
7973
+ const modules = this.sortModules(compilation, chunk, /** @type {CssModule[]} */
8086
7974
  chunkGraph.getChunkModulesIterableBySourceType(chunk, MODULE_TYPE), compilation.runtimeTemplate.requestShortener);
8087
-
8088
7975
  if (modules) {
8089
7976
  const {
8090
7977
  hashFunction,
@@ -8094,61 +7981,51 @@ class MiniCssExtractPlugin {
8094
7981
  const {
8095
7982
  createHash
8096
7983
  } = compiler.webpack.util;
8097
- const hash = createHash(
8098
- /** @type {string} */
8099
- hashFunction);
8100
-
7984
+ const hash = createHash( /** @type {string} */hashFunction);
8101
7985
  for (const m of modules) {
8102
7986
  hash.update(chunkGraph.getModuleHash(m, chunk.runtime));
8103
- } // eslint-disable-next-line no-param-reassign
8104
-
7987
+ }
8105
7988
 
8106
- chunk.contentHash[MODULE_TYPE] =
8107
- /** @type {string} */
7989
+ // eslint-disable-next-line no-param-reassign
7990
+ chunk.contentHash[MODULE_TYPE] = /** @type {string} */
8108
7991
  hash.digest(hashDigest).substring(0, hashDigestLength);
8109
7992
  }
8110
- }); // All the code below is dedicated to the runtime and can be skipped when the `runtime` option is `false`
7993
+ });
8111
7994
 
7995
+ // All the code below is dedicated to the runtime and can be skipped when the `runtime` option is `false`
8112
7996
  if (!this.options.runtime) {
8113
7997
  return;
8114
7998
  }
8115
-
8116
7999
  const {
8117
8000
  Template,
8118
8001
  RuntimeGlobals,
8119
8002
  RuntimeModule,
8120
8003
  runtime
8121
8004
  } = webpack;
8005
+
8122
8006
  /**
8123
8007
  * @param {Chunk} mainChunk
8124
8008
  * @param {Compilation} compilation
8125
8009
  * @returns {Record<string, number>}
8126
8010
  */
8127
8011
  // eslint-disable-next-line no-shadow
8128
-
8129
8012
  const getCssChunkObject = (mainChunk, compilation) => {
8130
8013
  /** @type {Record<string, number>} */
8131
8014
  const obj = {};
8132
8015
  const {
8133
8016
  chunkGraph
8134
8017
  } = compilation;
8135
-
8136
8018
  for (const chunk of mainChunk.getAllAsyncChunks()) {
8137
8019
  const modules = chunkGraph.getOrderedChunkModulesIterable(chunk, compareModulesByIdentifier);
8138
-
8139
8020
  for (const module of modules) {
8140
8021
  if (module.type === MODULE_TYPE) {
8141
- obj[
8142
- /** @type {string} */
8143
- chunk.id] = 1;
8022
+ obj[/** @type {string} */chunk.id] = 1;
8144
8023
  break;
8145
8024
  }
8146
8025
  }
8147
8026
  }
8148
-
8149
8027
  return obj;
8150
8028
  };
8151
-
8152
8029
  class CssLoadingRuntimeModule extends RuntimeModule {
8153
8030
  /**
8154
8031
  * @param {Set<string>} runtimeRequirements
@@ -8159,7 +8036,6 @@ class MiniCssExtractPlugin {
8159
8036
  this.runtimeRequirements = runtimeRequirements;
8160
8037
  this.runtimeOptions = runtimeOptions;
8161
8038
  }
8162
-
8163
8039
  generate() {
8164
8040
  const {
8165
8041
  chunk,
@@ -8174,38 +8050,30 @@ class MiniCssExtractPlugin {
8174
8050
  const chunkMap = getCssChunkObject(chunk, this.compilation);
8175
8051
  const withLoading = runtimeRequirements.has(RuntimeGlobals.ensureChunkHandlers) && Object.keys(chunkMap).length > 0;
8176
8052
  const withHmr = runtimeRequirements.has(RuntimeGlobals.hmrDownloadUpdateHandlers);
8177
-
8178
8053
  if (!withLoading && !withHmr) {
8179
8054
  return "";
8180
8055
  }
8181
-
8182
- return Template.asString([`var createStylesheet = ${runtimeTemplate.basicFunction("chunkId, fullhref, resolve, reject", ['var linkTag = document.createElement("link");', this.runtimeOptions.attributes ? Template.asString(Object.entries(this.runtimeOptions.attributes).map(entry => {
8056
+ return Template.asString(['if (typeof document === "undefined") return;', `var createStylesheet = ${runtimeTemplate.basicFunction("chunkId, fullhref, oldTag, resolve, reject", ['var linkTag = document.createElement("link");', this.runtimeOptions.attributes ? Template.asString(Object.entries(this.runtimeOptions.attributes).map(entry => {
8183
8057
  const [key, value] = entry;
8184
8058
  return `linkTag.setAttribute(${JSON.stringify(key)}, ${JSON.stringify(value)});`;
8185
- })) : "", 'linkTag.rel = "stylesheet";', this.runtimeOptions.linkType ? `linkTag.type = ${JSON.stringify(this.runtimeOptions.linkType)};` : "", `var onLinkComplete = ${runtimeTemplate.basicFunction("event", ["// avoid mem leaks.", "linkTag.onerror = linkTag.onload = null;", "if (event.type === 'load') {", Template.indent(["resolve();"]), "} else {", Template.indent(["var errorType = event && (event.type === 'load' ? 'missing' : event.type);", "var realHref = event && event.target && event.target.href || fullhref;", 'var err = new Error("Loading CSS chunk " + chunkId + " failed.\\n(" + realHref + ")");', 'err.code = "CSS_CHUNK_LOAD_FAILED";', "err.type = errorType;", "err.request = realHref;", "linkTag.parentNode.removeChild(linkTag)", "reject(err);"]), "}"])}`, "linkTag.onerror = linkTag.onload = onLinkComplete;", "linkTag.href = fullhref;", crossOriginLoading ? Template.asString([`if (linkTag.href.indexOf(window.location.origin + '/') !== 0) {`, Template.indent(`linkTag.crossOrigin = ${JSON.stringify(crossOriginLoading)};`), "}"]) : "", typeof this.runtimeOptions.insert !== "undefined" ? typeof this.runtimeOptions.insert === "function" ? `(${this.runtimeOptions.insert.toString()})(linkTag)` : Template.asString([`var target = document.querySelector("${this.runtimeOptions.insert}");`, `target.parentNode.insertBefore(linkTag, target.nextSibling);`]) : Template.asString(["document.head.appendChild(linkTag);"]), "return linkTag;"])};`, `var findStylesheet = ${runtimeTemplate.basicFunction("href, fullhref", ['var existingLinkTags = document.getElementsByTagName("link");', "for(var i = 0; i < existingLinkTags.length; i++) {", Template.indent(["var tag = existingLinkTags[i];", 'var dataHref = tag.getAttribute("data-href") || tag.getAttribute("href");', 'if(tag.rel === "stylesheet" && (dataHref === href || dataHref === fullhref)) return tag;']), "}", 'var existingStyleTags = document.getElementsByTagName("style");', "for(var i = 0; i < existingStyleTags.length; i++) {", Template.indent(["var tag = existingStyleTags[i];", 'var dataHref = tag.getAttribute("data-href");', "if(dataHref === href || dataHref === fullhref) return tag;"]), "}"])};`, `var loadStylesheet = ${runtimeTemplate.basicFunction("chunkId", `return new Promise(${runtimeTemplate.basicFunction("resolve, reject", [`var href = ${RuntimeGlobals.require}.miniCssF(chunkId);`, `var fullhref = ${RuntimeGlobals.publicPath} + href;`, "if(findStylesheet(href, fullhref)) return resolve();", "createStylesheet(chunkId, fullhref, resolve, reject);"])});`)}`, withLoading ? Template.asString(["// object to store loaded CSS chunks", "var installedCssChunks = {", Template.indent(
8186
- /** @type {string[]} */
8187
- chunk.ids.map(id => `${JSON.stringify(id)}: 0`).join(",\n")), "};", "", `${RuntimeGlobals.ensureChunkHandlers}.miniCss = ${runtimeTemplate.basicFunction("chunkId, promises", [`var cssChunks = ${JSON.stringify(chunkMap)};`, "if(installedCssChunks[chunkId]) promises.push(installedCssChunks[chunkId]);", "else if(installedCssChunks[chunkId] !== 0 && cssChunks[chunkId]) {", Template.indent([`promises.push(installedCssChunks[chunkId] = loadStylesheet(chunkId).then(${runtimeTemplate.basicFunction("", "installedCssChunks[chunkId] = 0;")}, ${runtimeTemplate.basicFunction("e", ["delete installedCssChunks[chunkId];", "throw e;"])}));`]), "}"])};`]) : "// no chunk loading", "", withHmr ? Template.asString(["var oldTags = [];", "var newTags = [];", `var applyHandler = ${runtimeTemplate.basicFunction("options", [`return { dispose: ${runtimeTemplate.basicFunction("", ["for(var i = 0; i < oldTags.length; i++) {", Template.indent(["var oldTag = oldTags[i];", "if(oldTag.parentNode) oldTag.parentNode.removeChild(oldTag);"]), "}", "oldTags.length = 0;"])}, apply: ${runtimeTemplate.basicFunction("", ['for(var i = 0; i < newTags.length; i++) newTags[i].rel = "stylesheet";', "newTags.length = 0;"])} };`])}`, `${RuntimeGlobals.hmrDownloadUpdateHandlers}.miniCss = ${runtimeTemplate.basicFunction("chunkIds, removedChunks, removedModules, promises, applyHandlers, updatedModulesList", ["applyHandlers.push(applyHandler);", `chunkIds.forEach(${runtimeTemplate.basicFunction("chunkId", [`var href = ${RuntimeGlobals.require}.miniCssF(chunkId);`, `var fullhref = ${RuntimeGlobals.publicPath} + href;`, "var oldTag = findStylesheet(href, fullhref);", "if(!oldTag) return;", `promises.push(new Promise(${runtimeTemplate.basicFunction("resolve, reject", [`var tag = createStylesheet(chunkId, fullhref, ${runtimeTemplate.basicFunction("", ['tag.as = "style";', 'tag.rel = "preload";', "resolve();"])}, reject);`, "oldTags.push(oldTag);", "newTags.push(tag);"])}));`])});`])}`]) : "// no hmr"]);
8059
+ })) : "", 'linkTag.rel = "stylesheet";', this.runtimeOptions.linkType ? `linkTag.type = ${JSON.stringify(this.runtimeOptions.linkType)};` : "", `var onLinkComplete = ${runtimeTemplate.basicFunction("event", ["// avoid mem leaks.", "linkTag.onerror = linkTag.onload = null;", "if (event.type === 'load') {", Template.indent(["resolve();"]), "} else {", Template.indent(["var errorType = event && (event.type === 'load' ? 'missing' : event.type);", "var realHref = event && event.target && event.target.href || fullhref;", 'var err = new Error("Loading CSS chunk " + chunkId + " failed.\\n(" + realHref + ")");', 'err.code = "CSS_CHUNK_LOAD_FAILED";', "err.type = errorType;", "err.request = realHref;", "linkTag.parentNode.removeChild(linkTag)", "reject(err);"]), "}"])}`, "linkTag.onerror = linkTag.onload = onLinkComplete;", "linkTag.href = fullhref;", crossOriginLoading ? Template.asString([`if (linkTag.href.indexOf(window.location.origin + '/') !== 0) {`, Template.indent(`linkTag.crossOrigin = ${JSON.stringify(crossOriginLoading)};`), "}"]) : "", typeof this.runtimeOptions.insert !== "undefined" ? typeof this.runtimeOptions.insert === "function" ? `(${this.runtimeOptions.insert.toString()})(linkTag)` : Template.asString([`var target = document.querySelector("${this.runtimeOptions.insert}");`, `target.parentNode.insertBefore(linkTag, target.nextSibling);`]) : Template.asString(["if (oldTag) {", Template.indent(["oldTag.parentNode.insertBefore(linkTag, oldTag.nextSibling);"]), "} else {", Template.indent(["document.head.appendChild(linkTag);"]), "}"]), "return linkTag;"])};`, `var findStylesheet = ${runtimeTemplate.basicFunction("href, fullhref", ['var existingLinkTags = document.getElementsByTagName("link");', "for(var i = 0; i < existingLinkTags.length; i++) {", Template.indent(["var tag = existingLinkTags[i];", 'var dataHref = tag.getAttribute("data-href") || tag.getAttribute("href");', 'if(tag.rel === "stylesheet" && (dataHref === href || dataHref === fullhref)) return tag;']), "}", 'var existingStyleTags = document.getElementsByTagName("style");', "for(var i = 0; i < existingStyleTags.length; i++) {", Template.indent(["var tag = existingStyleTags[i];", 'var dataHref = tag.getAttribute("data-href");', "if(dataHref === href || dataHref === fullhref) return tag;"]), "}"])};`, `var loadStylesheet = ${runtimeTemplate.basicFunction("chunkId", `return new Promise(${runtimeTemplate.basicFunction("resolve, reject", [`var href = ${RuntimeGlobals.require}.miniCssF(chunkId);`, `var fullhref = ${RuntimeGlobals.publicPath} + href;`, "if(findStylesheet(href, fullhref)) return resolve();", "createStylesheet(chunkId, fullhref, null, resolve, reject);"])});`)}`, withLoading ? Template.asString(["// object to store loaded CSS chunks", "var installedCssChunks = {", Template.indent( /** @type {string[]} */
8060
+ chunk.ids.map(id => `${JSON.stringify(id)}: 0`).join(",\n")), "};", "", `${RuntimeGlobals.ensureChunkHandlers}.miniCss = ${runtimeTemplate.basicFunction("chunkId, promises", [`var cssChunks = ${JSON.stringify(chunkMap)};`, "if(installedCssChunks[chunkId]) promises.push(installedCssChunks[chunkId]);", "else if(installedCssChunks[chunkId] !== 0 && cssChunks[chunkId]) {", Template.indent([`promises.push(installedCssChunks[chunkId] = loadStylesheet(chunkId).then(${runtimeTemplate.basicFunction("", "installedCssChunks[chunkId] = 0;")}, ${runtimeTemplate.basicFunction("e", ["delete installedCssChunks[chunkId];", "throw e;"])}));`]), "}"])};`]) : "// no chunk loading", "", withHmr ? Template.asString(["var oldTags = [];", "var newTags = [];", `var applyHandler = ${runtimeTemplate.basicFunction("options", [`return { dispose: ${runtimeTemplate.basicFunction("", ["for(var i = 0; i < oldTags.length; i++) {", Template.indent(["var oldTag = oldTags[i];", "if(oldTag.parentNode) oldTag.parentNode.removeChild(oldTag);"]), "}", "oldTags.length = 0;"])}, apply: ${runtimeTemplate.basicFunction("", ['for(var i = 0; i < newTags.length; i++) newTags[i].rel = "stylesheet";', "newTags.length = 0;"])} };`])}`, `${RuntimeGlobals.hmrDownloadUpdateHandlers}.miniCss = ${runtimeTemplate.basicFunction("chunkIds, removedChunks, removedModules, promises, applyHandlers, updatedModulesList", ["applyHandlers.push(applyHandler);", `chunkIds.forEach(${runtimeTemplate.basicFunction("chunkId", [`var href = ${RuntimeGlobals.require}.miniCssF(chunkId);`, `var fullhref = ${RuntimeGlobals.publicPath} + href;`, "var oldTag = findStylesheet(href, fullhref);", "if(!oldTag) return;", `promises.push(new Promise(${runtimeTemplate.basicFunction("resolve, reject", [`var tag = createStylesheet(chunkId, fullhref, oldTag, ${runtimeTemplate.basicFunction("", ['tag.as = "style";', 'tag.rel = "preload";', "resolve();"])}, reject);`, "oldTags.push(oldTag);", "newTags.push(tag);"])}));`])});`])}`]) : "// no hmr"]);
8188
8061
  }
8189
-
8190
8062
  }
8191
-
8192
8063
  const enabledChunks = new WeakSet();
8064
+
8193
8065
  /**
8194
8066
  * @param {Chunk} chunk
8195
8067
  * @param {Set<string>} set
8196
8068
  */
8197
-
8198
8069
  const handler = (chunk, set) => {
8199
8070
  if (enabledChunks.has(chunk)) {
8200
8071
  return;
8201
8072
  }
8202
-
8203
8073
  enabledChunks.add(chunk);
8204
-
8205
8074
  if (typeof this.options.chunkFilename === "string" && /\[(full)?hash(:\d+)?\]/.test(this.options.chunkFilename)) {
8206
8075
  set.add(RuntimeGlobals.getFullHash);
8207
8076
  }
8208
-
8209
8077
  set.add(RuntimeGlobals.publicPath);
8210
8078
  compilation.addRuntimeModule(chunk, new runtime.GetChunkFilenameRuntimeModule(MODULE_TYPE, "mini-css", `${RuntimeGlobals.require}.miniCssF`,
8211
8079
  /**
@@ -8216,27 +8084,25 @@ class MiniCssExtractPlugin {
8216
8084
  if (!referencedChunk.contentHash[MODULE_TYPE]) {
8217
8085
  return false;
8218
8086
  }
8219
-
8220
8087
  return referencedChunk.canBeInitial() ? this.options.filename : this.options.chunkFilename;
8221
8088
  }, false));
8222
8089
  compilation.addRuntimeModule(chunk, new CssLoadingRuntimeModule(set, this.runtimeOptions));
8223
8090
  };
8224
-
8225
8091
  compilation.hooks.runtimeRequirementInTree.for(RuntimeGlobals.ensureChunkHandlers).tap(pluginName, handler);
8226
8092
  compilation.hooks.runtimeRequirementInTree.for(RuntimeGlobals.hmrDownloadUpdateHandlers).tap(pluginName, handler);
8227
8093
  });
8228
8094
  }
8095
+
8229
8096
  /**
8230
8097
  * @private
8231
8098
  * @param {Chunk} chunk
8232
8099
  * @param {ChunkGraph} chunkGraph
8233
8100
  * @returns {Iterable<Module>}
8234
8101
  */
8235
-
8236
-
8237
8102
  getChunkModules(chunk, chunkGraph) {
8238
8103
  return typeof chunkGraph !== "undefined" ? chunkGraph.getOrderedChunkModulesIterable(chunk, compareModulesByIdentifier) : chunk.modulesIterable;
8239
8104
  }
8105
+
8240
8106
  /**
8241
8107
  * @private
8242
8108
  * @param {Compilation} compilation
@@ -8245,137 +8111,106 @@ class MiniCssExtractPlugin {
8245
8111
  * @param {Compilation["requestShortener"]} requestShortener
8246
8112
  * @returns {Set<CssModule>}
8247
8113
  */
8248
-
8249
-
8250
8114
  sortModules(compilation, chunk, modules, requestShortener) {
8251
8115
  let usedModules = this._sortedModulesCache.get(chunk);
8252
-
8253
8116
  if (usedModules || !modules) {
8254
- return (
8255
- /** @type {Set<CssModule>} */
8256
- usedModules
8117
+ return (/** @type {Set<CssModule>} */usedModules
8257
8118
  );
8258
8119
  }
8259
- /** @type {CssModule[]} */
8260
-
8261
-
8262
- const modulesList = [...modules]; // Store dependencies for modules
8263
8120
 
8121
+ /** @type {CssModule[]} */
8122
+ const modulesList = [...modules];
8123
+ // Store dependencies for modules
8264
8124
  /** @type {Map<CssModule, Set<CssModule>>} */
8265
-
8266
- const moduleDependencies = new Map(modulesList.map(m => [m,
8267
- /** @type {Set<CssModule>} */
8125
+ const moduleDependencies = new Map(modulesList.map(m => [m, /** @type {Set<CssModule>} */
8268
8126
  new Set()]));
8269
8127
  /** @type {Map<CssModule, Map<CssModule, Set<ChunkGroup>>>} */
8270
-
8271
- const moduleDependenciesReasons = new Map(modulesList.map(m => [m, new Map()])); // Get ordered list of modules per chunk group
8128
+ const moduleDependenciesReasons = new Map(modulesList.map(m => [m, new Map()]));
8129
+ // Get ordered list of modules per chunk group
8272
8130
  // This loop also gathers dependencies from the ordered lists
8273
8131
  // Lists are in reverse order to allow to use Array.pop()
8274
-
8275
8132
  /** @type {CssModule[][]} */
8276
-
8277
8133
  const modulesByChunkGroup = Array.from(chunk.groupsIterable, chunkGroup => {
8278
8134
  const sortedModules = modulesList.map(module => {
8279
8135
  return {
8280
8136
  module,
8281
8137
  index: chunkGroup.getModulePostOrderIndex(module)
8282
8138
  };
8283
- }) // eslint-disable-next-line no-undefined
8139
+ })
8140
+ // eslint-disable-next-line no-undefined
8284
8141
  .filter(item => item.index !== undefined).sort((a, b) => b.index - a.index).map(item => item.module);
8285
-
8286
8142
  for (let i = 0; i < sortedModules.length; i++) {
8287
8143
  const set = moduleDependencies.get(sortedModules[i]);
8288
- const reasons =
8289
- /** @type {Map<CssModule, Set<ChunkGroup>>} */
8144
+ const reasons = /** @type {Map<CssModule, Set<ChunkGroup>>} */
8290
8145
  moduleDependenciesReasons.get(sortedModules[i]);
8291
-
8292
8146
  for (let j = i + 1; j < sortedModules.length; j++) {
8293
8147
  const module = sortedModules[j];
8294
- /** @type {Set<CssModule>} */
8295
8148
 
8149
+ /** @type {Set<CssModule>} */
8296
8150
  set.add(module);
8297
- const reason = reasons.get(module) ||
8298
- /** @type {Set<ChunkGroup>} */
8299
- new Set();
8151
+ const reason = reasons.get(module) || /** @type {Set<ChunkGroup>} */new Set();
8300
8152
  reason.add(chunkGroup);
8301
8153
  reasons.set(module, reason);
8302
8154
  }
8303
8155
  }
8304
-
8305
8156
  return sortedModules;
8306
- }); // set with already included modules in correct order
8157
+ });
8307
8158
 
8159
+ // set with already included modules in correct order
8308
8160
  usedModules = new Set();
8161
+
8309
8162
  /**
8310
8163
  * @param {CssModule} m
8311
8164
  * @returns {boolean}
8312
8165
  */
8313
-
8314
- const unusedModulesFilter = m => !
8315
- /** @type {Set<CssModule>} */
8316
- usedModules.has(m);
8317
-
8166
+ const unusedModulesFilter = m => ! /** @type {Set<CssModule>} */usedModules.has(m);
8318
8167
  while (usedModules.size < modulesList.length) {
8319
8168
  let success = false;
8320
8169
  let bestMatch;
8321
- let bestMatchDeps; // get first module where dependencies are fulfilled
8170
+ let bestMatchDeps;
8322
8171
 
8172
+ // get first module where dependencies are fulfilled
8323
8173
  for (const list of modulesByChunkGroup) {
8324
8174
  // skip and remove already added modules
8325
8175
  while (list.length > 0 && usedModules.has(list[list.length - 1])) {
8326
8176
  list.pop();
8327
- } // skip empty lists
8328
-
8177
+ }
8329
8178
 
8179
+ // skip empty lists
8330
8180
  if (list.length !== 0) {
8331
8181
  const module = list[list.length - 1];
8332
- const deps = moduleDependencies.get(module); // determine dependencies that are not yet included
8333
-
8334
- const failedDeps = Array.from(
8335
- /** @type {Set<CssModule>} */
8336
- deps).filter(unusedModulesFilter); // store best match for fallback behavior
8182
+ const deps = moduleDependencies.get(module);
8183
+ // determine dependencies that are not yet included
8184
+ const failedDeps = Array.from( /** @type {Set<CssModule>} */
8185
+ deps).filter(unusedModulesFilter);
8337
8186
 
8187
+ // store best match for fallback behavior
8338
8188
  if (!bestMatchDeps || bestMatchDeps.length > failedDeps.length) {
8339
8189
  bestMatch = list;
8340
8190
  bestMatchDeps = failedDeps;
8341
8191
  }
8342
-
8343
8192
  if (failedDeps.length === 0) {
8344
8193
  // use this module and remove it from list
8345
- usedModules.add(
8346
- /** @type {CssModule} */
8347
- list.pop());
8194
+ usedModules.add( /** @type {CssModule} */list.pop());
8348
8195
  success = true;
8349
8196
  break;
8350
8197
  }
8351
8198
  }
8352
8199
  }
8353
-
8354
8200
  if (!success) {
8355
8201
  // no module found => there is a conflict
8356
8202
  // use list with fewest failed deps
8357
8203
  // and emit a warning
8358
- const fallbackModule =
8359
- /** @type {CssModule[]} */
8360
- bestMatch.pop();
8361
-
8204
+ const fallbackModule = /** @type {CssModule[]} */bestMatch.pop();
8362
8205
  if (!this.options.ignoreOrder) {
8363
- const reasons = moduleDependenciesReasons.get(
8364
- /** @type {CssModule} */
8365
- fallbackModule);
8366
- compilation.warnings.push(
8367
- /** @type {WebpackError} */
8206
+ const reasons = moduleDependenciesReasons.get( /** @type {CssModule} */fallbackModule);
8207
+ compilation.warnings.push( /** @type {WebpackError} */
8208
+
8368
8209
  new Error([`chunk ${chunk.name || chunk.id} [${pluginName}]`, "Conflicting order. Following module has been added:", ` * ${
8369
- /** @type {CssModule} */
8370
- fallbackModule.readableIdentifier(requestShortener)}`, "despite it was not able to fulfill desired ordering with these modules:", ...
8371
- /** @type {CssModule[]} */
8372
- bestMatchDeps.map(m => {
8210
+ /** @type {CssModule} */fallbackModule.readableIdentifier(requestShortener)}`, "despite it was not able to fulfill desired ordering with these modules:", ... /** @type {CssModule[]} */bestMatchDeps.map(m => {
8373
8211
  const goodReasonsMap = moduleDependenciesReasons.get(m);
8374
- const goodReasons = goodReasonsMap && goodReasonsMap.get(
8375
- /** @type {CssModule} */
8376
- fallbackModule);
8377
- const failedChunkGroups = Array.from(
8378
- /** @type {Set<ChunkGroup>} */
8212
+ const goodReasons = goodReasonsMap && goodReasonsMap.get( /** @type {CssModule} */fallbackModule);
8213
+ const failedChunkGroups = Array.from( /** @type {Set<ChunkGroup>} */
8379
8214
 
8380
8215
  /** @type {Map<CssModule, Set<ChunkGroup>>} */
8381
8216
  reasons.get(m), cg => cg.name).join(", ");
@@ -8383,17 +8218,13 @@ class MiniCssExtractPlugin {
8383
8218
  return [` * ${m.readableIdentifier(requestShortener)}`, ` - couldn't fulfill desired order of chunk group(s) ${failedChunkGroups}`, goodChunkGroups && ` - while fulfilling desired order of chunk group(s) ${goodChunkGroups}`].filter(Boolean).join("\n");
8384
8219
  })].join("\n")));
8385
8220
  }
8386
-
8387
- usedModules.add(
8388
- /** @type {CssModule} */
8389
- fallbackModule);
8221
+ usedModules.add( /** @type {CssModule} */fallbackModule);
8390
8222
  }
8391
8223
  }
8392
-
8393
8224
  this._sortedModulesCache.set(chunk, usedModules);
8394
-
8395
8225
  return usedModules;
8396
8226
  }
8227
+
8397
8228
  /**
8398
8229
  * @private
8399
8230
  * @param {Compiler} compiler
@@ -8405,8 +8236,6 @@ class MiniCssExtractPlugin {
8405
8236
  * @param {Parameters<Exclude<Required<Configuration>['output']['filename'], string | undefined>>[0]} pathData
8406
8237
  * @returns {Source}
8407
8238
  */
8408
-
8409
-
8410
8239
  renderContentAsset(compiler, compilation, chunk, modules, requestShortener, filenameTemplate, pathData) {
8411
8240
  const usedModules = this.sortModules(compilation, chunk, modules, requestShortener);
8412
8241
  const {
@@ -8416,13 +8245,11 @@ class MiniCssExtractPlugin {
8416
8245
  } = compiler.webpack.sources;
8417
8246
  const source = new ConcatSource();
8418
8247
  const externalsSource = new ConcatSource();
8419
-
8420
8248
  for (const module of usedModules) {
8421
8249
  let content = module.content.toString();
8422
8250
  const readableIdentifier = module.readableIdentifier(requestShortener);
8423
8251
  const startsWithAtRuleImport = /^@import url/.test(content);
8424
8252
  let header;
8425
-
8426
8253
  if (compilation.outputOptions.pathinfo) {
8427
8254
  // From https://github.com/webpack/webpack/blob/29eff8a74ecc2f87517b627dee451c2af9ed3f3f/lib/ModuleInfoHeaderPlugin.js#L191-L194
8428
8255
  const reqStr = readableIdentifier.replace(/\*\//g, "*_/");
@@ -8430,81 +8257,67 @@ class MiniCssExtractPlugin {
8430
8257
  const headerStr = `/*!****${reqStrStar}****!*\\\n !*** ${reqStr} ***!\n \\****${reqStrStar}****/\n`;
8431
8258
  header = new RawSource(headerStr);
8432
8259
  }
8433
-
8434
8260
  if (startsWithAtRuleImport) {
8435
8261
  if (typeof header !== "undefined") {
8436
8262
  externalsSource.add(header);
8437
- } // HACK for IE
8438
- // http://stackoverflow.com/a/14676665/1458162
8439
-
8263
+ }
8440
8264
 
8265
+ // HACK for IE
8266
+ // http://stackoverflow.com/a/14676665/1458162
8441
8267
  if (module.media) {
8442
8268
  // insert media into the @import
8443
8269
  // this is rar
8444
8270
  // TODO improve this and parse the CSS to support multiple medias
8445
8271
  content = content.replace(/;|\s*$/, module.media);
8446
8272
  }
8447
-
8448
8273
  externalsSource.add(content);
8449
8274
  externalsSource.add("\n");
8450
8275
  } else {
8451
8276
  if (typeof header !== "undefined") {
8452
8277
  source.add(header);
8453
8278
  }
8454
-
8455
8279
  if (module.supports) {
8456
8280
  source.add(`@supports (${module.supports}) {\n`);
8457
8281
  }
8458
-
8459
8282
  if (module.media) {
8460
8283
  source.add(`@media ${module.media} {\n`);
8461
8284
  }
8462
-
8463
8285
  const needLayer = typeof module.layer !== "undefined";
8464
-
8465
8286
  if (needLayer) {
8466
8287
  source.add(`@layer${module.layer.length > 0 ? ` ${module.layer}` : ""} {\n`);
8467
8288
  }
8468
-
8469
8289
  const {
8470
8290
  path: filename
8471
8291
  } = compilation.getPathWithInfo(filenameTemplate, pathData);
8472
- const undoPath = getUndoPath(filename, compiler.outputPath, false); // replacements
8292
+ const undoPath = getUndoPath(filename, compiler.outputPath, false);
8473
8293
 
8294
+ // replacements
8474
8295
  content = content.replace(new RegExp(ABSOLUTE_PUBLIC_PATH, "g"), "");
8475
8296
  content = content.replace(new RegExp(SINGLE_DOT_PATH_SEGMENT, "g"), ".");
8476
8297
  content = content.replace(new RegExp(AUTO_PUBLIC_PATH, "g"), undoPath);
8477
8298
  const entryOptions = chunk.getEntryOptions();
8478
8299
  const baseUriReplacement = entryOptions && entryOptions.baseUri || undoPath;
8479
8300
  content = content.replace(new RegExp(BASE_URI, "g"), baseUriReplacement);
8480
-
8481
8301
  if (module.sourceMap) {
8482
8302
  source.add(new SourceMapSource(content, readableIdentifier, module.sourceMap.toString()));
8483
8303
  } else {
8484
8304
  source.add(new RawSource(content));
8485
8305
  }
8486
-
8487
8306
  source.add("\n");
8488
-
8489
8307
  if (needLayer) {
8490
8308
  source.add("}\n");
8491
8309
  }
8492
-
8493
8310
  if (module.media) {
8494
8311
  source.add("}\n");
8495
8312
  }
8496
-
8497
8313
  if (module.supports) {
8498
8314
  source.add("}\n");
8499
8315
  }
8500
8316
  }
8501
8317
  }
8502
-
8503
8318
  return new ConcatSource(externalsSource, source);
8504
8319
  }
8505
-
8506
8320
  }
8507
-
8508
8321
  MiniCssExtractPlugin.pluginName = pluginName;
8509
8322
  MiniCssExtractPlugin.pluginSymbol = pluginSymbol;
8510
8323
  MiniCssExtractPlugin.loader = __nccwpck_require__.ab + "loader.js";
@@ -8512,142 +8325,123 @@ module.exports = MiniCssExtractPlugin;
8512
8325
 
8513
8326
  /***/ }),
8514
8327
 
8515
- /***/ 615:
8328
+ /***/ 1279:
8516
8329
  /***/ (function(module, __unused_webpack_exports, __nccwpck_require__) {
8517
8330
 
8518
8331
  "use strict";
8519
8332
 
8520
8333
 
8521
8334
  const NativeModule = __nccwpck_require__(8188);
8522
-
8523
8335
  const path = __nccwpck_require__(1017);
8524
- /** @typedef {import("webpack").Compilation} Compilation */
8525
8336
 
8337
+ /** @typedef {import("webpack").Compilation} Compilation */
8526
8338
  /** @typedef {import("webpack").Module} Module */
8527
-
8528
8339
  /** @typedef {import("webpack").LoaderContext<any>} LoaderContext */
8529
8340
 
8530
8341
  /**
8531
8342
  * @returns {boolean}
8532
8343
  */
8533
-
8534
-
8535
8344
  function trueFn() {
8536
8345
  return true;
8537
8346
  }
8347
+
8538
8348
  /**
8539
8349
  * @param {Compilation} compilation
8540
8350
  * @param {string | number} id
8541
8351
  * @returns {null | Module}
8542
8352
  */
8543
-
8544
-
8545
8353
  function findModuleById(compilation, id) {
8546
8354
  const {
8547
8355
  modules,
8548
8356
  chunkGraph
8549
8357
  } = compilation;
8550
-
8551
8358
  for (const module of modules) {
8552
8359
  const moduleId = typeof chunkGraph !== "undefined" ? chunkGraph.getModuleId(module) : module.id;
8553
-
8554
8360
  if (moduleId === id) {
8555
8361
  return module;
8556
8362
  }
8557
8363
  }
8558
-
8559
8364
  return null;
8560
8365
  }
8366
+
8561
8367
  /**
8562
8368
  * @param {LoaderContext} loaderContext
8563
8369
  * @param {string | Buffer} code
8564
8370
  * @param {string} filename
8565
8371
  * @returns {object}
8566
8372
  */
8567
-
8568
-
8569
8373
  function evalModuleCode(loaderContext, code, filename) {
8570
8374
  // @ts-ignore
8571
- const module = new NativeModule(filename, loaderContext); // @ts-ignore
8375
+ const module = new NativeModule(filename, loaderContext);
8572
8376
 
8377
+ // @ts-ignore
8573
8378
  module.paths = NativeModule._nodeModulePaths(loaderContext.context); // eslint-disable-line no-underscore-dangle
8574
-
8575
- module.filename = filename; // @ts-ignore
8576
-
8379
+ module.filename = filename;
8380
+ // @ts-ignore
8577
8381
  module._compile(code, filename); // eslint-disable-line no-underscore-dangle
8578
8382
 
8579
-
8580
8383
  return module.exports;
8581
8384
  }
8385
+
8582
8386
  /**
8583
8387
  * @param {string} a
8584
8388
  * @param {string} b
8585
8389
  * @returns {0 | 1 | -1}
8586
8390
  */
8587
-
8588
-
8589
8391
  function compareIds(a, b) {
8590
8392
  if (typeof a !== typeof b) {
8591
8393
  return typeof a < typeof b ? -1 : 1;
8592
8394
  }
8593
-
8594
8395
  if (a < b) {
8595
8396
  return -1;
8596
8397
  }
8597
-
8598
8398
  if (a > b) {
8599
8399
  return 1;
8600
8400
  }
8601
-
8602
8401
  return 0;
8603
8402
  }
8403
+
8604
8404
  /**
8605
8405
  * @param {Module} a
8606
8406
  * @param {Module} b
8607
8407
  * @returns {0 | 1 | -1}
8608
8408
  */
8609
-
8610
-
8611
8409
  function compareModulesByIdentifier(a, b) {
8612
8410
  return compareIds(a.identifier(), b.identifier());
8613
8411
  }
8614
-
8615
8412
  const MODULE_TYPE = "css/mini-extract";
8616
8413
  const AUTO_PUBLIC_PATH = "__mini_css_extract_plugin_public_path_auto__";
8617
8414
  const ABSOLUTE_PUBLIC_PATH = "webpack:///mini-css-extract-plugin/";
8618
8415
  const BASE_URI = "webpack://";
8619
8416
  const SINGLE_DOT_PATH_SEGMENT = "__mini_css_extract_plugin_single_dot_path_segment__";
8417
+
8620
8418
  /**
8621
8419
  * @param {string} str
8622
8420
  * @returns {boolean}
8623
8421
  */
8624
-
8625
8422
  function isAbsolutePath(str) {
8626
8423
  return path.posix.isAbsolute(str) || path.win32.isAbsolute(str);
8627
8424
  }
8628
-
8629
8425
  const RELATIVE_PATH_REGEXP = /^\.\.?[/\\]/;
8426
+
8630
8427
  /**
8631
8428
  * @param {string} str
8632
8429
  * @returns {boolean}
8633
8430
  */
8634
-
8635
8431
  function isRelativePath(str) {
8636
8432
  return RELATIVE_PATH_REGEXP.test(str);
8637
- } // TODO simplify for the next major release
8433
+ }
8638
8434
 
8435
+ // TODO simplify for the next major release
8639
8436
  /**
8640
8437
  * @param {LoaderContext} loaderContext
8641
8438
  * @param {string} request
8642
8439
  * @returns {string}
8643
8440
  */
8644
-
8645
-
8646
8441
  function stringifyRequest(loaderContext, request) {
8647
8442
  if (typeof loaderContext.utils !== "undefined" && typeof loaderContext.utils.contextify === "function") {
8648
8443
  return JSON.stringify(loaderContext.utils.contextify(loaderContext.context || loaderContext.rootContext, request));
8649
8444
  }
8650
-
8651
8445
  const splitted = request.split("!");
8652
8446
  const {
8653
8447
  context
@@ -8657,40 +8451,35 @@ function stringifyRequest(loaderContext, request) {
8657
8451
  const splittedPart = part.match(/^(.*?)(\?.*)/);
8658
8452
  const query = splittedPart ? splittedPart[2] : "";
8659
8453
  let singlePath = splittedPart ? splittedPart[1] : part;
8660
-
8661
8454
  if (isAbsolutePath(singlePath) && context) {
8662
8455
  singlePath = path.relative(context, singlePath);
8663
-
8664
8456
  if (isAbsolutePath(singlePath)) {
8665
8457
  // If singlePath still matches an absolute path, singlePath was on a different drive than context.
8666
8458
  // In this case, we leave the path platform-specific without replacing any separators.
8667
8459
  // @see https://github.com/webpack/loader-utils/pull/14
8668
8460
  return singlePath + query;
8669
8461
  }
8670
-
8671
8462
  if (isRelativePath(singlePath) === false) {
8672
8463
  // Ensure that the relative path starts at least with ./ otherwise it would be a request into the modules directory (like node_modules).
8673
8464
  singlePath = `./${singlePath}`;
8674
8465
  }
8675
8466
  }
8676
-
8677
8467
  return singlePath.replace(/\\/g, "/") + query;
8678
8468
  }).join("!"));
8679
8469
  }
8470
+
8680
8471
  /**
8681
8472
  * @param {string} filename
8682
8473
  * @param {string} outputPath
8683
8474
  * @param {boolean} enforceRelative
8684
8475
  * @returns {string}
8685
8476
  */
8686
-
8687
-
8688
8477
  function getUndoPath(filename, outputPath, enforceRelative) {
8689
8478
  let depth = -1;
8690
- let append = ""; // eslint-disable-next-line no-param-reassign
8479
+ let append = "";
8691
8480
 
8481
+ // eslint-disable-next-line no-param-reassign
8692
8482
  outputPath = outputPath.replace(/[\\/]$/, "");
8693
-
8694
8483
  for (const part of filename.split(/[/\\]+/)) {
8695
8484
  if (part === "..") {
8696
8485
  if (depth > -1) {
@@ -8700,13 +8489,12 @@ function getUndoPath(filename, outputPath, enforceRelative) {
8700
8489
  const i = outputPath.lastIndexOf("/");
8701
8490
  const j = outputPath.lastIndexOf("\\");
8702
8491
  const pos = i < 0 ? j : j < 0 ? i : Math.max(i, j);
8703
-
8704
8492
  if (pos < 0) {
8705
8493
  return `${outputPath}/`;
8706
8494
  }
8495
+ append = `${outputPath.slice(pos + 1)}/${append}`;
8707
8496
 
8708
- append = `${outputPath.slice(pos + 1)}/${append}`; // eslint-disable-next-line no-param-reassign
8709
-
8497
+ // eslint-disable-next-line no-param-reassign
8710
8498
  outputPath = outputPath.slice(0, pos);
8711
8499
  }
8712
8500
  } else if (part !== ".") {
@@ -8714,10 +8502,17 @@ function getUndoPath(filename, outputPath, enforceRelative) {
8714
8502
  depth++;
8715
8503
  }
8716
8504
  }
8717
-
8718
8505
  return depth > 0 ? `${"../".repeat(depth)}${append}` : enforceRelative ? `./${append}` : append;
8719
8506
  }
8720
8507
 
8508
+ /**
8509
+ *
8510
+ * @param {string | function} value
8511
+ * @returns {string}
8512
+ */
8513
+ function stringifyLocal(value) {
8514
+ return typeof value === "function" ? value.toString() : JSON.stringify(value);
8515
+ }
8721
8516
  module.exports = {
8722
8517
  trueFn,
8723
8518
  findModuleById,
@@ -8729,6 +8524,7 @@ module.exports = {
8729
8524
  BASE_URI,
8730
8525
  SINGLE_DOT_PATH_SEGMENT,
8731
8526
  stringifyRequest,
8527
+ stringifyLocal,
8732
8528
  getUndoPath
8733
8529
  };
8734
8530
 
@@ -10437,9 +10233,9 @@ var _ValidationError = _interopRequireDefault(__nccwpck_require__(1983));
10437
10233
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
10438
10234
 
10439
10235
  // Use CommonJS require for ajv libs so TypeScript consumers aren't locked into esModuleInterop (see #110).
10440
- const Ajv = (__nccwpck_require__(309)["default"]);
10236
+ const Ajv = (__nccwpck_require__(4711)["default"]);
10441
10237
 
10442
- const ajvKeywords = (__nccwpck_require__(6809)["default"]);
10238
+ const ajvKeywords = (__nccwpck_require__(4563)["default"]);
10443
10239
 
10444
10240
  const addFormats = (__nccwpck_require__(5679)["default"]);
10445
10241
  /** @typedef {import("json-schema").JSONSchema4} JSONSchema4 */
@@ -12058,7 +11854,7 @@ module.exports = require("path");
12058
11854
 
12059
11855
  /***/ }),
12060
11856
 
12061
- /***/ 9235:
11857
+ /***/ 7918:
12062
11858
  /***/ (function(module) {
12063
11859
 
12064
11860
  "use strict";
@@ -12066,7 +11862,7 @@ module.exports = JSON.parse('{"$id":"https://raw.githubusercontent.com/ajv-valid
12066
11862
 
12067
11863
  /***/ }),
12068
11864
 
12069
- /***/ 6828:
11865
+ /***/ 9520:
12070
11866
  /***/ (function(module) {
12071
11867
 
12072
11868
  "use strict";
@@ -12074,7 +11870,7 @@ module.exports = JSON.parse('{"$schema":"http://json-schema.org/draft-07/schema#
12074
11870
 
12075
11871
  /***/ }),
12076
11872
 
12077
- /***/ 8396:
11873
+ /***/ 6930:
12078
11874
  /***/ (function(module) {
12079
11875
 
12080
11876
  "use strict";
@@ -12124,7 +11920,7 @@ module.exports = JSON.parse('{"title":"Mini CSS Extract Plugin options","type":"
12124
11920
  /******/ // startup
12125
11921
  /******/ // Load entry module and return exports
12126
11922
  /******/ // This entry module is referenced by other modules so it can't be inlined
12127
- /******/ var __webpack_exports__ = __nccwpck_require__(3014);
11923
+ /******/ var __webpack_exports__ = __nccwpck_require__(387);
12128
11924
  /******/ module.exports = __webpack_exports__;
12129
11925
  /******/
12130
11926
  /******/ })()