@module-federation/enhanced 0.10.0 → 0.11.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (42) hide show
  1. package/dist/package.json +1 -1
  2. package/dist/src/lib/container/ContainerEntryDependency.d.ts +1 -4
  3. package/dist/src/lib/container/ContainerEntryDependency.js +1 -3
  4. package/dist/src/lib/container/ContainerEntryDependency.js.map +1 -1
  5. package/dist/src/lib/container/ContainerEntryModule.d.ts +1 -3
  6. package/dist/src/lib/container/ContainerEntryModule.js +4 -22
  7. package/dist/src/lib/container/ContainerEntryModule.js.map +1 -1
  8. package/dist/src/lib/container/ContainerEntryModuleFactory.js +1 -1
  9. package/dist/src/lib/container/ContainerEntryModuleFactory.js.map +1 -1
  10. package/dist/src/lib/container/ContainerPlugin.js +3 -5
  11. package/dist/src/lib/container/ContainerPlugin.js.map +1 -1
  12. package/dist/src/lib/container/ModuleFederationPlugin.js +7 -5
  13. package/dist/src/lib/container/ModuleFederationPlugin.js.map +1 -1
  14. package/dist/src/lib/container/runtime/EmbedFederationRuntimeModule.d.ts +1 -0
  15. package/dist/src/lib/container/runtime/EmbedFederationRuntimeModule.js +18 -2
  16. package/dist/src/lib/container/runtime/EmbedFederationRuntimeModule.js.map +1 -1
  17. package/dist/src/lib/container/runtime/EmbedFederationRuntimePlugin.d.ts +22 -0
  18. package/dist/src/lib/container/runtime/EmbedFederationRuntimePlugin.js +69 -5
  19. package/dist/src/lib/container/runtime/EmbedFederationRuntimePlugin.js.map +1 -1
  20. package/dist/src/lib/container/runtime/FederationRuntimePlugin.d.ts +1 -0
  21. package/dist/src/lib/container/runtime/FederationRuntimePlugin.js +42 -55
  22. package/dist/src/lib/container/runtime/FederationRuntimePlugin.js.map +1 -1
  23. package/dist/src/lib/startup/MfStartupChunkDependenciesPlugin.js +11 -5
  24. package/dist/src/lib/startup/MfStartupChunkDependenciesPlugin.js.map +1 -1
  25. package/dist/src/lib/startup/StartupHelpers.js +1 -0
  26. package/dist/src/lib/startup/StartupHelpers.js.map +1 -1
  27. package/dist/src/schemas/container/ContainerPlugin.check.d.ts +1 -1
  28. package/dist/src/schemas/container/ContainerPlugin.check.js +516 -544
  29. package/dist/src/schemas/container/ContainerPlugin.check.js.map +1 -1
  30. package/dist/src/schemas/container/ContainerPlugin.d.ts +3 -6
  31. package/dist/src/schemas/container/ContainerPlugin.js +3 -9
  32. package/dist/src/schemas/container/ContainerPlugin.js.map +1 -1
  33. package/dist/src/schemas/container/ModuleFederationPlugin.check.d.ts +0 -5
  34. package/dist/src/schemas/container/ModuleFederationPlugin.check.js +535 -604
  35. package/dist/src/schemas/container/ModuleFederationPlugin.check.js.map +1 -1
  36. package/dist/src/schemas/container/ModuleFederationPlugin.d.ts +3 -8
  37. package/dist/src/schemas/container/ModuleFederationPlugin.js +3 -11
  38. package/dist/src/schemas/container/ModuleFederationPlugin.js.map +1 -1
  39. package/package.json +12 -12
  40. package/dist/src/lib/container/runtime/RemoteEntryPlugin.d.ts +0 -8
  41. package/dist/src/lib/container/runtime/RemoteEntryPlugin.js +0 -32
  42. package/dist/src/lib/container/runtime/RemoteEntryPlugin.js.map +0 -1
@@ -7,10 +7,10 @@ exports.validate = void 0;
7
7
  * This file was automatically generated.
8
8
  * DO NOT MODIFY BY HAND.
9
9
  */
10
- const e = /^(?:[A-Za-z]:[\\/]|\\\\|\/)/;
10
+ const t = /^(?:[A-Za-z]:[\\/]|\\\\|\/)/;
11
11
  exports.validate = m;
12
12
  exports.default = m;
13
- const t = {
13
+ const e = {
14
14
  definitions: {
15
15
  RuntimePlugin: { type: 'array', items: { type: 'string' } },
16
16
  AmdContainer: { type: 'string', minLength: 1 },
@@ -162,9 +162,7 @@ const t = {
162
162
  experiments: {
163
163
  type: 'object',
164
164
  properties: {
165
- federationRuntime: {
166
- anyOf: [{ type: 'boolean' }, { enum: ['hoisted'] }],
167
- },
165
+ asyncStartup: { type: 'boolean' },
168
166
  externalRuntime: {
169
167
  anyOf: [{ type: 'boolean' }, { enum: ['provide'] }],
170
168
  },
@@ -174,17 +172,17 @@ const t = {
174
172
  },
175
173
  required: ['name', 'exposes'],
176
174
  }, r = { anyOf: [{ enum: [!1] }, { type: 'string', minLength: 1 }] };
177
- function n(e, { instancePath: t = '', parentData: r, parentDataProperty: s, rootData: o = e, } = {}) {
178
- if (!Array.isArray(e))
175
+ function n(t, { instancePath: e = '', parentData: r, parentDataProperty: s, rootData: a = t, } = {}) {
176
+ if (!Array.isArray(t))
179
177
  return (n.errors = [{ params: { type: 'array' } }]), !1;
180
178
  {
181
- const t = e.length;
182
- for (let r = 0; r < t; r++) {
183
- let t = e[r];
179
+ const e = t.length;
180
+ for (let r = 0; r < e; r++) {
181
+ let e = t[r];
184
182
  const s = 0;
185
- if ('string' != typeof t)
183
+ if ('string' != typeof e)
186
184
  return (n.errors = [{ params: { type: 'string' } }]), !1;
187
- if (t.length < 1)
185
+ if (e.length < 1)
188
186
  return (n.errors = [{ params: {} }]), !1;
189
187
  if (0 !== s)
190
188
  break;
@@ -192,66 +190,66 @@ function n(e, { instancePath: t = '', parentData: r, parentDataProperty: s, root
192
190
  }
193
191
  return (n.errors = null), !0;
194
192
  }
195
- function s(e, { instancePath: t = '', parentData: r, parentDataProperty: o, rootData: a = e, } = {}) {
196
- let i = null, l = 0;
197
- if (0 === l) {
198
- if (!e || 'object' != typeof e || Array.isArray(e))
193
+ function s(t, { instancePath: e = '', parentData: r, parentDataProperty: a, rootData: o = t, } = {}) {
194
+ let i = null, p = 0;
195
+ if (0 === p) {
196
+ if (!t || 'object' != typeof t || Array.isArray(t))
199
197
  return (s.errors = [{ params: { type: 'object' } }]), !1;
200
198
  {
201
199
  let r;
202
- if (void 0 === e.import && (r = 'import'))
200
+ if (void 0 === t.import && (r = 'import'))
203
201
  return (s.errors = [{ params: { missingProperty: r } }]), !1;
204
202
  {
205
- const r = l;
206
- for (const t in e)
207
- if ('import' !== t && 'name' !== t)
208
- return (s.errors = [{ params: { additionalProperty: t } }]), !1;
209
- if (r === l) {
210
- if (void 0 !== e.import) {
211
- let r = e.import;
212
- const o = l, m = l;
203
+ const r = p;
204
+ for (const e in t)
205
+ if ('import' !== e && 'name' !== e)
206
+ return (s.errors = [{ params: { additionalProperty: e } }]), !1;
207
+ if (r === p) {
208
+ if (void 0 !== t.import) {
209
+ let r = t.import;
210
+ const a = p, m = p;
213
211
  let u = !1;
214
- const c = l;
215
- if (l == l)
212
+ const c = p;
213
+ if (p == p)
216
214
  if ('string' == typeof r) {
217
215
  if (r.length < 1) {
218
- const e = { params: {} };
219
- null === i ? (i = [e]) : i.push(e), l++;
216
+ const t = { params: {} };
217
+ null === i ? (i = [t]) : i.push(t), p++;
220
218
  }
221
219
  }
222
220
  else {
223
- const e = { params: { type: 'string' } };
224
- null === i ? (i = [e]) : i.push(e), l++;
221
+ const t = { params: { type: 'string' } };
222
+ null === i ? (i = [t]) : i.push(t), p++;
225
223
  }
226
- var p = c === l;
227
- if (((u = u || p), !u)) {
228
- const s = l;
224
+ var l = c === p;
225
+ if (((u = u || l), !u)) {
226
+ const s = p;
229
227
  n(r, {
230
- instancePath: t + '/import',
231
- parentData: e,
228
+ instancePath: e + '/import',
229
+ parentData: t,
232
230
  parentDataProperty: 'import',
233
- rootData: a,
231
+ rootData: o,
234
232
  }) ||
235
233
  ((i = null === i ? n.errors : i.concat(n.errors)),
236
- (l = i.length)),
237
- (p = s === l),
238
- (u = u || p);
234
+ (p = i.length)),
235
+ (l = s === p),
236
+ (u = u || l);
239
237
  }
240
238
  if (!u) {
241
- const e = { params: {} };
242
- return (null === i ? (i = [e]) : i.push(e), l++, (s.errors = i), !1);
239
+ const t = { params: {} };
240
+ return (null === i ? (i = [t]) : i.push(t), p++, (s.errors = i), !1);
243
241
  }
244
- (l = m), null !== i && (m ? (i.length = m) : (i = null));
245
- var f = o === l;
242
+ (p = m), null !== i && (m ? (i.length = m) : (i = null));
243
+ var f = a === p;
246
244
  }
247
245
  else
248
246
  f = !0;
249
247
  if (f)
250
- if (void 0 !== e.name) {
251
- const t = l;
252
- if ('string' != typeof e.name)
248
+ if (void 0 !== t.name) {
249
+ const e = p;
250
+ if ('string' != typeof t.name)
253
251
  return (s.errors = [{ params: { type: 'string' } }]), !1;
254
- f = t === l;
252
+ f = e === p;
255
253
  }
256
254
  else
257
255
  f = !0;
@@ -259,132 +257,132 @@ function s(e, { instancePath: t = '', parentData: r, parentDataProperty: o, root
259
257
  }
260
258
  }
261
259
  }
262
- return (s.errors = i), 0 === l;
260
+ return (s.errors = i), 0 === p;
263
261
  }
264
- function o(e, { instancePath: t = '', parentData: r, parentDataProperty: a, rootData: i = e, } = {}) {
265
- let l = null, p = 0;
266
- if (0 === p) {
267
- if (!e || 'object' != typeof e || Array.isArray(e))
268
- return (o.errors = [{ params: { type: 'object' } }]), !1;
269
- for (const r in e) {
270
- let a = e[r];
271
- const m = p, u = p;
262
+ function a(t, { instancePath: e = '', parentData: r, parentDataProperty: o, rootData: i = t, } = {}) {
263
+ let p = null, l = 0;
264
+ if (0 === l) {
265
+ if (!t || 'object' != typeof t || Array.isArray(t))
266
+ return (a.errors = [{ params: { type: 'object' } }]), !1;
267
+ for (const r in t) {
268
+ let o = t[r];
269
+ const m = l, u = l;
272
270
  let c = !1;
273
- const y = p;
274
- s(a, {
275
- instancePath: t + '/' + r.replace(/~/g, '~0').replace(/\//g, '~1'),
276
- parentData: e,
271
+ const y = l;
272
+ s(o, {
273
+ instancePath: e + '/' + r.replace(/~/g, '~0').replace(/\//g, '~1'),
274
+ parentData: t,
277
275
  parentDataProperty: r,
278
276
  rootData: i,
279
- }) || ((l = null === l ? s.errors : l.concat(s.errors)), (p = l.length));
280
- var f = y === p;
277
+ }) || ((p = null === p ? s.errors : p.concat(s.errors)), (l = p.length));
278
+ var f = y === l;
281
279
  if (((c = c || f), !c)) {
282
- const s = p;
283
- if (p == p)
284
- if ('string' == typeof a) {
285
- if (a.length < 1) {
286
- const e = { params: {} };
287
- null === l ? (l = [e]) : l.push(e), p++;
280
+ const s = l;
281
+ if (l == l)
282
+ if ('string' == typeof o) {
283
+ if (o.length < 1) {
284
+ const t = { params: {} };
285
+ null === p ? (p = [t]) : p.push(t), l++;
288
286
  }
289
287
  }
290
288
  else {
291
- const e = { params: { type: 'string' } };
292
- null === l ? (l = [e]) : l.push(e), p++;
289
+ const t = { params: { type: 'string' } };
290
+ null === p ? (p = [t]) : p.push(t), l++;
293
291
  }
294
- if (((f = s === p), (c = c || f), !c)) {
295
- const s = p;
296
- n(a, {
297
- instancePath: t + '/' + r.replace(/~/g, '~0').replace(/\//g, '~1'),
298
- parentData: e,
292
+ if (((f = s === l), (c = c || f), !c)) {
293
+ const s = l;
294
+ n(o, {
295
+ instancePath: e + '/' + r.replace(/~/g, '~0').replace(/\//g, '~1'),
296
+ parentData: t,
299
297
  parentDataProperty: r,
300
298
  rootData: i,
301
299
  }) ||
302
- ((l = null === l ? n.errors : l.concat(n.errors)), (p = l.length)),
303
- (f = s === p),
300
+ ((p = null === p ? n.errors : p.concat(n.errors)), (l = p.length)),
301
+ (f = s === l),
304
302
  (c = c || f);
305
303
  }
306
304
  }
307
305
  if (!c) {
308
- const e = { params: {} };
309
- return null === l ? (l = [e]) : l.push(e), p++, (o.errors = l), !1;
306
+ const t = { params: {} };
307
+ return null === p ? (p = [t]) : p.push(t), l++, (a.errors = p), !1;
310
308
  }
311
- if (((p = u), null !== l && (u ? (l.length = u) : (l = null)), m !== p))
309
+ if (((l = u), null !== p && (u ? (p.length = u) : (p = null)), m !== l))
312
310
  break;
313
311
  }
314
312
  }
315
- return (o.errors = l), 0 === p;
313
+ return (a.errors = p), 0 === l;
316
314
  }
317
- function a(e, { instancePath: t = '', parentData: r, parentDataProperty: n, rootData: s = e, } = {}) {
318
- let i = null, l = 0;
319
- const p = l;
315
+ function o(t, { instancePath: e = '', parentData: r, parentDataProperty: n, rootData: s = t, } = {}) {
316
+ let i = null, p = 0;
317
+ const l = p;
320
318
  let f = !1;
321
- const m = l;
322
- if (l === m)
323
- if (Array.isArray(e)) {
324
- const r = e.length;
319
+ const m = p;
320
+ if (p === m)
321
+ if (Array.isArray(t)) {
322
+ const r = t.length;
325
323
  for (let n = 0; n < r; n++) {
326
- let r = e[n];
327
- const a = l, p = l;
324
+ let r = t[n];
325
+ const o = p, l = p;
328
326
  let f = !1;
329
- const m = l;
330
- if (l == l)
327
+ const m = p;
328
+ if (p == p)
331
329
  if ('string' == typeof r) {
332
330
  if (r.length < 1) {
333
- const e = { params: {} };
334
- null === i ? (i = [e]) : i.push(e), l++;
331
+ const t = { params: {} };
332
+ null === i ? (i = [t]) : i.push(t), p++;
335
333
  }
336
334
  }
337
335
  else {
338
- const e = { params: { type: 'string' } };
339
- null === i ? (i = [e]) : i.push(e), l++;
336
+ const t = { params: { type: 'string' } };
337
+ null === i ? (i = [t]) : i.push(t), p++;
340
338
  }
341
- var u = m === l;
339
+ var u = m === p;
342
340
  if (((f = f || u), !f)) {
343
- const a = l;
344
- o(r, {
345
- instancePath: t + '/' + n,
346
- parentData: e,
341
+ const o = p;
342
+ a(r, {
343
+ instancePath: e + '/' + n,
344
+ parentData: t,
347
345
  parentDataProperty: n,
348
346
  rootData: s,
349
347
  }) ||
350
- ((i = null === i ? o.errors : i.concat(o.errors)), (l = i.length)),
351
- (u = a === l),
348
+ ((i = null === i ? a.errors : i.concat(a.errors)), (p = i.length)),
349
+ (u = o === p),
352
350
  (f = f || u);
353
351
  }
354
352
  if (f)
355
- (l = p), null !== i && (p ? (i.length = p) : (i = null));
353
+ (p = l), null !== i && (l ? (i.length = l) : (i = null));
356
354
  else {
357
- const e = { params: {} };
358
- null === i ? (i = [e]) : i.push(e), l++;
355
+ const t = { params: {} };
356
+ null === i ? (i = [t]) : i.push(t), p++;
359
357
  }
360
- if (a !== l)
358
+ if (o !== p)
361
359
  break;
362
360
  }
363
361
  }
364
362
  else {
365
- const e = { params: { type: 'array' } };
366
- null === i ? (i = [e]) : i.push(e), l++;
363
+ const t = { params: { type: 'array' } };
364
+ null === i ? (i = [t]) : i.push(t), p++;
367
365
  }
368
- var c = m === l;
366
+ var c = m === p;
369
367
  if (((f = f || c), !f)) {
370
- const a = l;
371
- o(e, {
372
- instancePath: t,
368
+ const o = p;
369
+ a(t, {
370
+ instancePath: e,
373
371
  parentData: r,
374
372
  parentDataProperty: n,
375
373
  rootData: s,
376
- }) || ((i = null === i ? o.errors : i.concat(o.errors)), (l = i.length)),
377
- (c = a === l),
374
+ }) || ((i = null === i ? a.errors : i.concat(a.errors)), (p = i.length)),
375
+ (c = o === p),
378
376
  (f = f || c);
379
377
  }
380
378
  if (!f) {
381
- const e = { params: {} };
382
- return null === i ? (i = [e]) : i.push(e), l++, (a.errors = i), !1;
379
+ const t = { params: {} };
380
+ return null === i ? (i = [t]) : i.push(t), p++, (o.errors = i), !1;
383
381
  }
384
- return ((l = p),
385
- null !== i && (p ? (i.length = p) : (i = null)),
386
- (a.errors = i),
387
- 0 === l);
382
+ return ((p = l),
383
+ null !== i && (l ? (i.length = l) : (i = null)),
384
+ (o.errors = i),
385
+ 0 === p);
388
386
  }
389
387
  const i = {
390
388
  anyOf: [
@@ -413,71 +411,71 @@ const i = {
413
411
  { type: 'string' },
414
412
  ],
415
413
  };
416
- function l(e, { instancePath: t = '', parentData: r, parentDataProperty: n, rootData: s = e, } = {}) {
417
- let o = null, a = 0;
418
- const i = a;
419
- let p = !1;
420
- const f = a;
421
- if ('string' != typeof e) {
422
- const e = { params: { type: 'string' } };
423
- null === o ? (o = [e]) : o.push(e), a++;
414
+ function p(t, { instancePath: e = '', parentData: r, parentDataProperty: n, rootData: s = t, } = {}) {
415
+ let a = null, o = 0;
416
+ const i = o;
417
+ let l = !1;
418
+ const f = o;
419
+ if ('string' != typeof t) {
420
+ const t = { params: { type: 'string' } };
421
+ null === a ? (a = [t]) : a.push(t), o++;
424
422
  }
425
- var m = f === a;
426
- if (((p = p || m), !p)) {
427
- const t = a;
428
- if (a == a)
429
- if (e && 'object' == typeof e && !Array.isArray(e)) {
430
- const t = a;
431
- for (const t in e)
432
- if ('amd' !== t &&
433
- 'commonjs' !== t &&
434
- 'commonjs2' !== t &&
435
- 'root' !== t) {
436
- const e = { params: { additionalProperty: t } };
437
- null === o ? (o = [e]) : o.push(e), a++;
423
+ var m = f === o;
424
+ if (((l = l || m), !l)) {
425
+ const e = o;
426
+ if (o == o)
427
+ if (t && 'object' == typeof t && !Array.isArray(t)) {
428
+ const e = o;
429
+ for (const e in t)
430
+ if ('amd' !== e &&
431
+ 'commonjs' !== e &&
432
+ 'commonjs2' !== e &&
433
+ 'root' !== e) {
434
+ const t = { params: { additionalProperty: e } };
435
+ null === a ? (a = [t]) : a.push(t), o++;
438
436
  break;
439
437
  }
440
- if (t === a) {
441
- if (void 0 !== e.amd) {
442
- const t = a;
443
- if ('string' != typeof e.amd) {
444
- const e = { params: { type: 'string' } };
445
- null === o ? (o = [e]) : o.push(e), a++;
438
+ if (e === o) {
439
+ if (void 0 !== t.amd) {
440
+ const e = o;
441
+ if ('string' != typeof t.amd) {
442
+ const t = { params: { type: 'string' } };
443
+ null === a ? (a = [t]) : a.push(t), o++;
446
444
  }
447
- var u = t === a;
445
+ var u = e === o;
448
446
  }
449
447
  else
450
448
  u = !0;
451
449
  if (u) {
452
- if (void 0 !== e.commonjs) {
453
- const t = a;
454
- if ('string' != typeof e.commonjs) {
455
- const e = { params: { type: 'string' } };
456
- null === o ? (o = [e]) : o.push(e), a++;
450
+ if (void 0 !== t.commonjs) {
451
+ const e = o;
452
+ if ('string' != typeof t.commonjs) {
453
+ const t = { params: { type: 'string' } };
454
+ null === a ? (a = [t]) : a.push(t), o++;
457
455
  }
458
- u = t === a;
456
+ u = e === o;
459
457
  }
460
458
  else
461
459
  u = !0;
462
460
  if (u) {
463
- if (void 0 !== e.commonjs2) {
464
- const t = a;
465
- if ('string' != typeof e.commonjs2) {
466
- const e = { params: { type: 'string' } };
467
- null === o ? (o = [e]) : o.push(e), a++;
461
+ if (void 0 !== t.commonjs2) {
462
+ const e = o;
463
+ if ('string' != typeof t.commonjs2) {
464
+ const t = { params: { type: 'string' } };
465
+ null === a ? (a = [t]) : a.push(t), o++;
468
466
  }
469
- u = t === a;
467
+ u = e === o;
470
468
  }
471
469
  else
472
470
  u = !0;
473
471
  if (u)
474
- if (void 0 !== e.root) {
475
- const t = a;
476
- if ('string' != typeof e.root) {
477
- const e = { params: { type: 'string' } };
478
- null === o ? (o = [e]) : o.push(e), a++;
472
+ if (void 0 !== t.root) {
473
+ const e = o;
474
+ if ('string' != typeof t.root) {
475
+ const t = { params: { type: 'string' } };
476
+ null === a ? (a = [t]) : a.push(t), o++;
479
477
  }
480
- u = t === a;
478
+ u = e === o;
481
479
  }
482
480
  else
483
481
  u = !0;
@@ -486,172 +484,172 @@ function l(e, { instancePath: t = '', parentData: r, parentDataProperty: n, root
486
484
  }
487
485
  }
488
486
  else {
489
- const e = { params: { type: 'object' } };
490
- null === o ? (o = [e]) : o.push(e), a++;
487
+ const t = { params: { type: 'object' } };
488
+ null === a ? (a = [t]) : a.push(t), o++;
491
489
  }
492
- (m = t === a), (p = p || m);
490
+ (m = e === o), (l = l || m);
493
491
  }
494
- if (!p) {
495
- const e = { params: {} };
496
- return null === o ? (o = [e]) : o.push(e), a++, (l.errors = o), !1;
492
+ if (!l) {
493
+ const t = { params: {} };
494
+ return null === a ? (a = [t]) : a.push(t), o++, (p.errors = a), !1;
497
495
  }
498
- return ((a = i),
499
- null !== o && (i ? (o.length = i) : (o = null)),
500
- (l.errors = o),
501
- 0 === a);
496
+ return ((o = i),
497
+ null !== a && (i ? (a.length = i) : (a = null)),
498
+ (p.errors = a),
499
+ 0 === o);
502
500
  }
503
- function p(e, { instancePath: t = '', parentData: r, parentDataProperty: n, rootData: s = e, } = {}) {
504
- let o = null, a = 0;
505
- const i = a;
506
- let l = !1;
507
- const f = a;
508
- if (a === f)
509
- if (Array.isArray(e))
510
- if (e.length < 1) {
511
- const e = { params: { limit: 1 } };
512
- null === o ? (o = [e]) : o.push(e), a++;
501
+ function l(t, { instancePath: e = '', parentData: r, parentDataProperty: n, rootData: s = t, } = {}) {
502
+ let a = null, o = 0;
503
+ const i = o;
504
+ let p = !1;
505
+ const f = o;
506
+ if (o === f)
507
+ if (Array.isArray(t))
508
+ if (t.length < 1) {
509
+ const t = { params: { limit: 1 } };
510
+ null === a ? (a = [t]) : a.push(t), o++;
513
511
  }
514
512
  else {
515
- const t = e.length;
516
- for (let r = 0; r < t; r++) {
517
- let t = e[r];
518
- const n = a;
519
- if (a === n)
520
- if ('string' == typeof t) {
521
- if (t.length < 1) {
522
- const e = { params: {} };
523
- null === o ? (o = [e]) : o.push(e), a++;
513
+ const e = t.length;
514
+ for (let r = 0; r < e; r++) {
515
+ let e = t[r];
516
+ const n = o;
517
+ if (o === n)
518
+ if ('string' == typeof e) {
519
+ if (e.length < 1) {
520
+ const t = { params: {} };
521
+ null === a ? (a = [t]) : a.push(t), o++;
524
522
  }
525
523
  }
526
524
  else {
527
- const e = { params: { type: 'string' } };
528
- null === o ? (o = [e]) : o.push(e), a++;
525
+ const t = { params: { type: 'string' } };
526
+ null === a ? (a = [t]) : a.push(t), o++;
529
527
  }
530
- if (n !== a)
528
+ if (n !== o)
531
529
  break;
532
530
  }
533
531
  }
534
532
  else {
535
- const e = { params: { type: 'array' } };
536
- null === o ? (o = [e]) : o.push(e), a++;
533
+ const t = { params: { type: 'array' } };
534
+ null === a ? (a = [t]) : a.push(t), o++;
537
535
  }
538
- var m = f === a;
539
- if (((l = l || m), !l)) {
540
- const t = a;
541
- if (a === t)
542
- if ('string' == typeof e) {
543
- if (e.length < 1) {
544
- const e = { params: {} };
545
- null === o ? (o = [e]) : o.push(e), a++;
536
+ var m = f === o;
537
+ if (((p = p || m), !p)) {
538
+ const e = o;
539
+ if (o === e)
540
+ if ('string' == typeof t) {
541
+ if (t.length < 1) {
542
+ const t = { params: {} };
543
+ null === a ? (a = [t]) : a.push(t), o++;
546
544
  }
547
545
  }
548
546
  else {
549
- const e = { params: { type: 'string' } };
550
- null === o ? (o = [e]) : o.push(e), a++;
547
+ const t = { params: { type: 'string' } };
548
+ null === a ? (a = [t]) : a.push(t), o++;
551
549
  }
552
- if (((m = t === a), (l = l || m), !l)) {
553
- const t = a;
554
- if (a == a)
555
- if (e && 'object' == typeof e && !Array.isArray(e)) {
556
- const t = a;
557
- for (const t in e)
558
- if ('amd' !== t && 'commonjs' !== t && 'root' !== t) {
559
- const e = { params: { additionalProperty: t } };
560
- null === o ? (o = [e]) : o.push(e), a++;
550
+ if (((m = e === o), (p = p || m), !p)) {
551
+ const e = o;
552
+ if (o == o)
553
+ if (t && 'object' == typeof t && !Array.isArray(t)) {
554
+ const e = o;
555
+ for (const e in t)
556
+ if ('amd' !== e && 'commonjs' !== e && 'root' !== e) {
557
+ const t = { params: { additionalProperty: e } };
558
+ null === a ? (a = [t]) : a.push(t), o++;
561
559
  break;
562
560
  }
563
- if (t === a) {
564
- if (void 0 !== e.amd) {
565
- let t = e.amd;
566
- const r = a;
567
- if (a === r)
568
- if ('string' == typeof t) {
569
- if (t.length < 1) {
570
- const e = { params: {} };
571
- null === o ? (o = [e]) : o.push(e), a++;
561
+ if (e === o) {
562
+ if (void 0 !== t.amd) {
563
+ let e = t.amd;
564
+ const r = o;
565
+ if (o === r)
566
+ if ('string' == typeof e) {
567
+ if (e.length < 1) {
568
+ const t = { params: {} };
569
+ null === a ? (a = [t]) : a.push(t), o++;
572
570
  }
573
571
  }
574
572
  else {
575
- const e = { params: { type: 'string' } };
576
- null === o ? (o = [e]) : o.push(e), a++;
573
+ const t = { params: { type: 'string' } };
574
+ null === a ? (a = [t]) : a.push(t), o++;
577
575
  }
578
- var u = r === a;
576
+ var u = r === o;
579
577
  }
580
578
  else
581
579
  u = !0;
582
580
  if (u) {
583
- if (void 0 !== e.commonjs) {
584
- let t = e.commonjs;
585
- const r = a;
586
- if (a === r)
587
- if ('string' == typeof t) {
588
- if (t.length < 1) {
589
- const e = { params: {} };
590
- null === o ? (o = [e]) : o.push(e), a++;
581
+ if (void 0 !== t.commonjs) {
582
+ let e = t.commonjs;
583
+ const r = o;
584
+ if (o === r)
585
+ if ('string' == typeof e) {
586
+ if (e.length < 1) {
587
+ const t = { params: {} };
588
+ null === a ? (a = [t]) : a.push(t), o++;
591
589
  }
592
590
  }
593
591
  else {
594
- const e = { params: { type: 'string' } };
595
- null === o ? (o = [e]) : o.push(e), a++;
592
+ const t = { params: { type: 'string' } };
593
+ null === a ? (a = [t]) : a.push(t), o++;
596
594
  }
597
- u = r === a;
595
+ u = r === o;
598
596
  }
599
597
  else
600
598
  u = !0;
601
599
  if (u)
602
- if (void 0 !== e.root) {
603
- let t = e.root;
604
- const r = a, n = a;
600
+ if (void 0 !== t.root) {
601
+ let e = t.root;
602
+ const r = o, n = o;
605
603
  let s = !1;
606
- const i = a;
607
- if (a === i)
608
- if (Array.isArray(t)) {
609
- const e = t.length;
610
- for (let r = 0; r < e; r++) {
611
- let e = t[r];
612
- const n = a;
613
- if (a === n)
614
- if ('string' == typeof e) {
615
- if (e.length < 1) {
616
- const e = { params: {} };
617
- null === o ? (o = [e]) : o.push(e), a++;
604
+ const i = o;
605
+ if (o === i)
606
+ if (Array.isArray(e)) {
607
+ const t = e.length;
608
+ for (let r = 0; r < t; r++) {
609
+ let t = e[r];
610
+ const n = o;
611
+ if (o === n)
612
+ if ('string' == typeof t) {
613
+ if (t.length < 1) {
614
+ const t = { params: {} };
615
+ null === a ? (a = [t]) : a.push(t), o++;
618
616
  }
619
617
  }
620
618
  else {
621
- const e = { params: { type: 'string' } };
622
- null === o ? (o = [e]) : o.push(e), a++;
619
+ const t = { params: { type: 'string' } };
620
+ null === a ? (a = [t]) : a.push(t), o++;
623
621
  }
624
- if (n !== a)
622
+ if (n !== o)
625
623
  break;
626
624
  }
627
625
  }
628
626
  else {
629
- const e = { params: { type: 'array' } };
630
- null === o ? (o = [e]) : o.push(e), a++;
627
+ const t = { params: { type: 'array' } };
628
+ null === a ? (a = [t]) : a.push(t), o++;
631
629
  }
632
- var c = i === a;
630
+ var c = i === o;
633
631
  if (((s = s || c), !s)) {
634
- const e = a;
635
- if (a === e)
636
- if ('string' == typeof t) {
637
- if (t.length < 1) {
638
- const e = { params: {} };
639
- null === o ? (o = [e]) : o.push(e), a++;
632
+ const t = o;
633
+ if (o === t)
634
+ if ('string' == typeof e) {
635
+ if (e.length < 1) {
636
+ const t = { params: {} };
637
+ null === a ? (a = [t]) : a.push(t), o++;
640
638
  }
641
639
  }
642
640
  else {
643
- const e = { params: { type: 'string' } };
644
- null === o ? (o = [e]) : o.push(e), a++;
641
+ const t = { params: { type: 'string' } };
642
+ null === a ? (a = [t]) : a.push(t), o++;
645
643
  }
646
- (c = e === a), (s = s || c);
644
+ (c = t === o), (s = s || c);
647
645
  }
648
646
  if (s)
649
- (a = n), null !== o && (n ? (o.length = n) : (o = null));
647
+ (o = n), null !== a && (n ? (a.length = n) : (a = null));
650
648
  else {
651
- const e = { params: {} };
652
- null === o ? (o = [e]) : o.push(e), a++;
649
+ const t = { params: {} };
650
+ null === a ? (a = [t]) : a.push(t), o++;
653
651
  }
654
- u = r === a;
652
+ u = r === o;
655
653
  }
656
654
  else
657
655
  u = !0;
@@ -659,196 +657,196 @@ function p(e, { instancePath: t = '', parentData: r, parentDataProperty: n, root
659
657
  }
660
658
  }
661
659
  else {
662
- const e = { params: { type: 'object' } };
663
- null === o ? (o = [e]) : o.push(e), a++;
660
+ const t = { params: { type: 'object' } };
661
+ null === a ? (a = [t]) : a.push(t), o++;
664
662
  }
665
- (m = t === a), (l = l || m);
663
+ (m = e === o), (p = p || m);
666
664
  }
667
665
  }
668
- if (!l) {
669
- const e = { params: {} };
670
- return null === o ? (o = [e]) : o.push(e), a++, (p.errors = o), !1;
666
+ if (!p) {
667
+ const t = { params: {} };
668
+ return null === a ? (a = [t]) : a.push(t), o++, (l.errors = a), !1;
671
669
  }
672
- return ((a = i),
673
- null !== o && (i ? (o.length = i) : (o = null)),
674
- (p.errors = o),
675
- 0 === a);
670
+ return ((o = i),
671
+ null !== a && (i ? (a.length = i) : (a = null)),
672
+ (l.errors = a),
673
+ 0 === o);
676
674
  }
677
- function f(e, { instancePath: t = '', parentData: r, parentDataProperty: n, rootData: s = e, } = {}) {
678
- let o = null, a = 0;
679
- if (0 === a) {
680
- if (!e || 'object' != typeof e || Array.isArray(e))
675
+ function f(t, { instancePath: e = '', parentData: r, parentDataProperty: n, rootData: s = t, } = {}) {
676
+ let a = null, o = 0;
677
+ if (0 === o) {
678
+ if (!t || 'object' != typeof t || Array.isArray(t))
681
679
  return (f.errors = [{ params: { type: 'object' } }]), !1;
682
680
  {
683
681
  let r;
684
- if (void 0 === e.type && (r = 'type'))
682
+ if (void 0 === t.type && (r = 'type'))
685
683
  return (f.errors = [{ params: { missingProperty: r } }]), !1;
686
684
  {
687
- const r = a;
688
- for (const t in e)
689
- if ('amdContainer' !== t &&
690
- 'auxiliaryComment' !== t &&
691
- 'export' !== t &&
692
- 'name' !== t &&
693
- 'type' !== t &&
694
- 'umdNamedDefine' !== t)
695
- return (f.errors = [{ params: { additionalProperty: t } }]), !1;
696
- if (r === a) {
697
- if (void 0 !== e.amdContainer) {
698
- let t = e.amdContainer;
699
- const r = a;
700
- if (a == a) {
701
- if ('string' != typeof t)
685
+ const r = o;
686
+ for (const e in t)
687
+ if ('amdContainer' !== e &&
688
+ 'auxiliaryComment' !== e &&
689
+ 'export' !== e &&
690
+ 'name' !== e &&
691
+ 'type' !== e &&
692
+ 'umdNamedDefine' !== e)
693
+ return (f.errors = [{ params: { additionalProperty: e } }]), !1;
694
+ if (r === o) {
695
+ if (void 0 !== t.amdContainer) {
696
+ let e = t.amdContainer;
697
+ const r = o;
698
+ if (o == o) {
699
+ if ('string' != typeof e)
702
700
  return (f.errors = [{ params: { type: 'string' } }]), !1;
703
- if (t.length < 1)
701
+ if (e.length < 1)
704
702
  return (f.errors = [{ params: {} }]), !1;
705
703
  }
706
- var m = r === a;
704
+ var m = r === o;
707
705
  }
708
706
  else
709
707
  m = !0;
710
708
  if (m) {
711
- if (void 0 !== e.auxiliaryComment) {
712
- const r = a;
713
- l(e.auxiliaryComment, {
714
- instancePath: t + '/auxiliaryComment',
715
- parentData: e,
709
+ if (void 0 !== t.auxiliaryComment) {
710
+ const r = o;
711
+ p(t.auxiliaryComment, {
712
+ instancePath: e + '/auxiliaryComment',
713
+ parentData: t,
716
714
  parentDataProperty: 'auxiliaryComment',
717
715
  rootData: s,
718
716
  }) ||
719
- ((o = null === o ? l.errors : o.concat(l.errors)),
720
- (a = o.length)),
721
- (m = r === a);
717
+ ((a = null === a ? p.errors : a.concat(p.errors)),
718
+ (o = a.length)),
719
+ (m = r === o);
722
720
  }
723
721
  else
724
722
  m = !0;
725
723
  if (m) {
726
- if (void 0 !== e.export) {
727
- let t = e.export;
728
- const r = a, n = a;
724
+ if (void 0 !== t.export) {
725
+ let e = t.export;
726
+ const r = o, n = o;
729
727
  let s = !1;
730
- const i = a;
731
- if (a === i)
732
- if (Array.isArray(t)) {
733
- const e = t.length;
734
- for (let r = 0; r < e; r++) {
735
- let e = t[r];
736
- const n = a;
737
- if (a === n)
738
- if ('string' == typeof e) {
739
- if (e.length < 1) {
740
- const e = { params: {} };
741
- null === o ? (o = [e]) : o.push(e), a++;
728
+ const i = o;
729
+ if (o === i)
730
+ if (Array.isArray(e)) {
731
+ const t = e.length;
732
+ for (let r = 0; r < t; r++) {
733
+ let t = e[r];
734
+ const n = o;
735
+ if (o === n)
736
+ if ('string' == typeof t) {
737
+ if (t.length < 1) {
738
+ const t = { params: {} };
739
+ null === a ? (a = [t]) : a.push(t), o++;
742
740
  }
743
741
  }
744
742
  else {
745
- const e = { params: { type: 'string' } };
746
- null === o ? (o = [e]) : o.push(e), a++;
743
+ const t = { params: { type: 'string' } };
744
+ null === a ? (a = [t]) : a.push(t), o++;
747
745
  }
748
- if (n !== a)
746
+ if (n !== o)
749
747
  break;
750
748
  }
751
749
  }
752
750
  else {
753
- const e = { params: { type: 'array' } };
754
- null === o ? (o = [e]) : o.push(e), a++;
751
+ const t = { params: { type: 'array' } };
752
+ null === a ? (a = [t]) : a.push(t), o++;
755
753
  }
756
- var u = i === a;
754
+ var u = i === o;
757
755
  if (((s = s || u), !s)) {
758
- const e = a;
759
- if (a === e)
760
- if ('string' == typeof t) {
761
- if (t.length < 1) {
762
- const e = { params: {} };
763
- null === o ? (o = [e]) : o.push(e), a++;
756
+ const t = o;
757
+ if (o === t)
758
+ if ('string' == typeof e) {
759
+ if (e.length < 1) {
760
+ const t = { params: {} };
761
+ null === a ? (a = [t]) : a.push(t), o++;
764
762
  }
765
763
  }
766
764
  else {
767
- const e = { params: { type: 'string' } };
768
- null === o ? (o = [e]) : o.push(e), a++;
765
+ const t = { params: { type: 'string' } };
766
+ null === a ? (a = [t]) : a.push(t), o++;
769
767
  }
770
- (u = e === a), (s = s || u);
768
+ (u = t === o), (s = s || u);
771
769
  }
772
770
  if (!s) {
773
- const e = { params: {} };
774
- return (null === o ? (o = [e]) : o.push(e), a++, (f.errors = o), !1);
771
+ const t = { params: {} };
772
+ return (null === a ? (a = [t]) : a.push(t), o++, (f.errors = a), !1);
775
773
  }
776
- (a = n),
777
- null !== o && (n ? (o.length = n) : (o = null)),
778
- (m = r === a);
774
+ (o = n),
775
+ null !== a && (n ? (a.length = n) : (a = null)),
776
+ (m = r === o);
779
777
  }
780
778
  else
781
779
  m = !0;
782
780
  if (m) {
783
- if (void 0 !== e.name) {
784
- const r = a;
785
- p(e.name, {
786
- instancePath: t + '/name',
787
- parentData: e,
781
+ if (void 0 !== t.name) {
782
+ const r = o;
783
+ l(t.name, {
784
+ instancePath: e + '/name',
785
+ parentData: t,
788
786
  parentDataProperty: 'name',
789
787
  rootData: s,
790
788
  }) ||
791
- ((o = null === o ? p.errors : o.concat(p.errors)),
792
- (a = o.length)),
793
- (m = r === a);
789
+ ((a = null === a ? l.errors : a.concat(l.errors)),
790
+ (o = a.length)),
791
+ (m = r === o);
794
792
  }
795
793
  else
796
794
  m = !0;
797
795
  if (m) {
798
- if (void 0 !== e.type) {
799
- let t = e.type;
800
- const r = a, n = a;
796
+ if (void 0 !== t.type) {
797
+ let e = t.type;
798
+ const r = o, n = o;
801
799
  let s = !1;
802
- const l = a;
803
- if ('var' !== t &&
804
- 'module' !== t &&
805
- 'assign' !== t &&
806
- 'assign-properties' !== t &&
807
- 'this' !== t &&
808
- 'window' !== t &&
809
- 'self' !== t &&
810
- 'global' !== t &&
811
- 'commonjs' !== t &&
812
- 'commonjs2' !== t &&
813
- 'commonjs-module' !== t &&
814
- 'commonjs-static' !== t &&
815
- 'amd' !== t &&
816
- 'amd-require' !== t &&
817
- 'umd' !== t &&
818
- 'umd2' !== t &&
819
- 'jsonp' !== t &&
820
- 'system' !== t) {
821
- const e = { params: { allowedValues: i.anyOf[0].enum } };
822
- null === o ? (o = [e]) : o.push(e), a++;
800
+ const p = o;
801
+ if ('var' !== e &&
802
+ 'module' !== e &&
803
+ 'assign' !== e &&
804
+ 'assign-properties' !== e &&
805
+ 'this' !== e &&
806
+ 'window' !== e &&
807
+ 'self' !== e &&
808
+ 'global' !== e &&
809
+ 'commonjs' !== e &&
810
+ 'commonjs2' !== e &&
811
+ 'commonjs-module' !== e &&
812
+ 'commonjs-static' !== e &&
813
+ 'amd' !== e &&
814
+ 'amd-require' !== e &&
815
+ 'umd' !== e &&
816
+ 'umd2' !== e &&
817
+ 'jsonp' !== e &&
818
+ 'system' !== e) {
819
+ const t = { params: { allowedValues: i.anyOf[0].enum } };
820
+ null === a ? (a = [t]) : a.push(t), o++;
823
821
  }
824
- var c = l === a;
822
+ var c = p === o;
825
823
  if (((s = s || c), !s)) {
826
- const e = a;
827
- if ('string' != typeof t) {
828
- const e = { params: { type: 'string' } };
829
- null === o ? (o = [e]) : o.push(e), a++;
824
+ const t = o;
825
+ if ('string' != typeof e) {
826
+ const t = { params: { type: 'string' } };
827
+ null === a ? (a = [t]) : a.push(t), o++;
830
828
  }
831
- (c = e === a), (s = s || c);
829
+ (c = t === o), (s = s || c);
832
830
  }
833
831
  if (!s) {
834
- const e = { params: {} };
835
- return (null === o ? (o = [e]) : o.push(e),
836
- a++,
837
- (f.errors = o),
832
+ const t = { params: {} };
833
+ return (null === a ? (a = [t]) : a.push(t),
834
+ o++,
835
+ (f.errors = a),
838
836
  !1);
839
837
  }
840
- (a = n),
841
- null !== o && (n ? (o.length = n) : (o = null)),
842
- (m = r === a);
838
+ (o = n),
839
+ null !== a && (n ? (a.length = n) : (a = null)),
840
+ (m = r === o);
843
841
  }
844
842
  else
845
843
  m = !0;
846
844
  if (m)
847
- if (void 0 !== e.umdNamedDefine) {
848
- const t = a;
849
- if ('boolean' != typeof e.umdNamedDefine)
845
+ if (void 0 !== t.umdNamedDefine) {
846
+ const e = o;
847
+ if ('boolean' != typeof t.umdNamedDefine)
850
848
  return ((f.errors = [{ params: { type: 'boolean' } }]), !1);
851
- m = t === a;
849
+ m = e === o;
852
850
  }
853
851
  else
854
852
  m = !0;
@@ -860,55 +858,55 @@ function f(e, { instancePath: t = '', parentData: r, parentDataProperty: n, root
860
858
  }
861
859
  }
862
860
  }
863
- return (f.errors = o), 0 === a;
861
+ return (f.errors = a), 0 === o;
864
862
  }
865
- function m(n, { instancePath: s = '', parentData: o, parentDataProperty: i, rootData: l = n, } = {}) {
866
- let p = null, u = 0;
863
+ function m(n, { instancePath: s = '', parentData: a, parentDataProperty: i, rootData: p = n, } = {}) {
864
+ let l = null, u = 0;
867
865
  if (0 === u) {
868
866
  if (!n || 'object' != typeof n || Array.isArray(n))
869
867
  return (m.errors = [{ params: { type: 'object' } }]), !1;
870
868
  {
871
- let o;
872
- if ((void 0 === n.name && (o = 'name')) ||
873
- (void 0 === n.exposes && (o = 'exposes')))
874
- return (m.errors = [{ params: { missingProperty: o } }]), !1;
869
+ let a;
870
+ if ((void 0 === n.name && (a = 'name')) ||
871
+ (void 0 === n.exposes && (a = 'exposes')))
872
+ return (m.errors = [{ params: { missingProperty: a } }]), !1;
875
873
  {
876
- const o = u;
877
- for (const e in n)
878
- if ('exposes' !== e &&
879
- 'filename' !== e &&
880
- 'library' !== e &&
881
- 'name' !== e &&
882
- 'runtime' !== e &&
883
- 'runtimePlugins' !== e &&
884
- 'shareScope' !== e &&
885
- 'experiments' !== e)
886
- return (m.errors = [{ params: { additionalProperty: e } }]), !1;
887
- if (o === u) {
874
+ const a = u;
875
+ for (const t in n)
876
+ if ('exposes' !== t &&
877
+ 'filename' !== t &&
878
+ 'library' !== t &&
879
+ 'name' !== t &&
880
+ 'runtime' !== t &&
881
+ 'runtimePlugins' !== t &&
882
+ 'shareScope' !== t &&
883
+ 'experiments' !== t)
884
+ return (m.errors = [{ params: { additionalProperty: t } }]), !1;
885
+ if (a === u) {
888
886
  if (void 0 !== n.exposes) {
889
- const e = u;
890
- a(n.exposes, {
887
+ const t = u;
888
+ o(n.exposes, {
891
889
  instancePath: s + '/exposes',
892
890
  parentData: n,
893
891
  parentDataProperty: 'exposes',
894
- rootData: l,
892
+ rootData: p,
895
893
  }) ||
896
- ((p = null === p ? a.errors : p.concat(a.errors)),
897
- (u = p.length));
898
- var c = e === u;
894
+ ((l = null === l ? o.errors : l.concat(o.errors)),
895
+ (u = l.length));
896
+ var c = t === u;
899
897
  }
900
898
  else
901
899
  c = !0;
902
900
  if (c) {
903
901
  if (void 0 !== n.filename) {
904
- let t = n.filename;
902
+ let e = n.filename;
905
903
  const r = u;
906
904
  if (u === r) {
907
- if ('string' != typeof t)
905
+ if ('string' != typeof e)
908
906
  return (m.errors = [{ params: { type: 'string' } }]), !1;
909
- if (t.length < 1)
907
+ if (e.length < 1)
910
908
  return (m.errors = [{ params: {} }]), !1;
911
- if (t.includes('!') || !1 !== e.test(t))
909
+ if (e.includes('!') || !1 !== t.test(e))
912
910
  return (m.errors = [{ params: {} }]), !1;
913
911
  }
914
912
  c = r === u;
@@ -917,203 +915,177 @@ function m(n, { instancePath: s = '', parentData: o, parentDataProperty: i, root
917
915
  c = !0;
918
916
  if (c) {
919
917
  if (void 0 !== n.library) {
920
- const e = u;
918
+ const t = u;
921
919
  f(n.library, {
922
920
  instancePath: s + '/library',
923
921
  parentData: n,
924
922
  parentDataProperty: 'library',
925
- rootData: l,
923
+ rootData: p,
926
924
  }) ||
927
- ((p = null === p ? f.errors : p.concat(f.errors)),
928
- (u = p.length)),
929
- (c = e === u);
925
+ ((l = null === l ? f.errors : l.concat(f.errors)),
926
+ (u = l.length)),
927
+ (c = t === u);
930
928
  }
931
929
  else
932
930
  c = !0;
933
931
  if (c) {
934
932
  if (void 0 !== n.name) {
935
- let e = n.name;
936
- const t = u;
937
- if (u === t) {
938
- if ('string' != typeof e)
933
+ let t = n.name;
934
+ const e = u;
935
+ if (u === e) {
936
+ if ('string' != typeof t)
939
937
  return (m.errors = [{ params: { type: 'string' } }]), !1;
940
- if (e.length < 1)
938
+ if (t.length < 1)
941
939
  return (m.errors = [{ params: {} }]), !1;
942
940
  }
943
- c = t === u;
941
+ c = e === u;
944
942
  }
945
943
  else
946
944
  c = !0;
947
945
  if (c) {
948
946
  if (void 0 !== n.runtime) {
949
- let e = n.runtime;
950
- const t = u, s = u;
951
- let o = !1;
952
- const a = u;
953
- if (!1 !== e) {
954
- const e = { params: { allowedValues: r.anyOf[0].enum } };
955
- null === p ? (p = [e]) : p.push(e), u++;
947
+ let t = n.runtime;
948
+ const e = u, s = u;
949
+ let a = !1;
950
+ const o = u;
951
+ if (!1 !== t) {
952
+ const t = { params: { allowedValues: r.anyOf[0].enum } };
953
+ null === l ? (l = [t]) : l.push(t), u++;
956
954
  }
957
- var y = a === u;
958
- if (((o = o || y), !o)) {
959
- const t = u;
960
- if (u === t)
961
- if ('string' == typeof e) {
962
- if (e.length < 1) {
963
- const e = { params: {} };
964
- null === p ? (p = [e]) : p.push(e), u++;
955
+ var y = o === u;
956
+ if (((a = a || y), !a)) {
957
+ const e = u;
958
+ if (u === e)
959
+ if ('string' == typeof t) {
960
+ if (t.length < 1) {
961
+ const t = { params: {} };
962
+ null === l ? (l = [t]) : l.push(t), u++;
965
963
  }
966
964
  }
967
965
  else {
968
- const e = { params: { type: 'string' } };
969
- null === p ? (p = [e]) : p.push(e), u++;
966
+ const t = { params: { type: 'string' } };
967
+ null === l ? (l = [t]) : l.push(t), u++;
970
968
  }
971
- (y = t === u), (o = o || y);
969
+ (y = e === u), (a = a || y);
972
970
  }
973
- if (!o) {
974
- const e = { params: {} };
975
- return (null === p ? (p = [e]) : p.push(e),
971
+ if (!a) {
972
+ const t = { params: {} };
973
+ return (null === l ? (l = [t]) : l.push(t),
976
974
  u++,
977
- (m.errors = p),
975
+ (m.errors = l),
978
976
  !1);
979
977
  }
980
978
  (u = s),
981
- null !== p && (s ? (p.length = s) : (p = null)),
982
- (c = t === u);
979
+ null !== l && (s ? (l.length = s) : (l = null)),
980
+ (c = e === u);
983
981
  }
984
982
  else
985
983
  c = !0;
986
984
  if (c) {
987
985
  if (void 0 !== n.runtimePlugins) {
988
- let e = n.runtimePlugins;
989
- const t = u;
986
+ let t = n.runtimePlugins;
987
+ const e = u;
990
988
  if (u == u) {
991
- if (!Array.isArray(e))
989
+ if (!Array.isArray(t))
992
990
  return ((m.errors = [{ params: { type: 'array' } }]), !1);
993
991
  {
994
- const t = e.length;
995
- for (let r = 0; r < t; r++) {
996
- const t = u;
997
- if ('string' != typeof e[r])
992
+ const e = t.length;
993
+ for (let r = 0; r < e; r++) {
994
+ const e = u;
995
+ if ('string' != typeof t[r])
998
996
  return ((m.errors = [{ params: { type: 'string' } }]),
999
997
  !1);
1000
- if (t !== u)
998
+ if (e !== u)
1001
999
  break;
1002
1000
  }
1003
1001
  }
1004
1002
  }
1005
- c = t === u;
1003
+ c = e === u;
1006
1004
  }
1007
1005
  else
1008
1006
  c = !0;
1009
1007
  if (c) {
1010
1008
  if (void 0 !== n.shareScope) {
1011
- let e = n.shareScope;
1012
- const t = u;
1013
- if (u === t) {
1014
- if ('string' != typeof e)
1009
+ let t = n.shareScope;
1010
+ const e = u;
1011
+ if (u === e) {
1012
+ if ('string' != typeof t)
1015
1013
  return ((m.errors = [{ params: { type: 'string' } }]), !1);
1016
- if (e.length < 1)
1014
+ if (t.length < 1)
1017
1015
  return (m.errors = [{ params: {} }]), !1;
1018
1016
  }
1019
- c = t === u;
1017
+ c = e === u;
1020
1018
  }
1021
1019
  else
1022
1020
  c = !0;
1023
1021
  if (c)
1024
1022
  if (void 0 !== n.experiments) {
1025
- let e = n.experiments;
1023
+ let t = n.experiments;
1026
1024
  const r = u;
1027
1025
  if (u === r) {
1028
- if (!e || 'object' != typeof e || Array.isArray(e))
1026
+ if (!t || 'object' != typeof t || Array.isArray(t))
1029
1027
  return ((m.errors = [{ params: { type: 'object' } }]),
1030
1028
  !1);
1031
1029
  {
1032
1030
  const r = u;
1033
- for (const t in e)
1034
- if ('federationRuntime' !== t &&
1035
- 'externalRuntime' !== t)
1031
+ for (const e in t)
1032
+ if ('asyncStartup' !== e &&
1033
+ 'externalRuntime' !== e)
1036
1034
  return ((m.errors = [
1037
- { params: { additionalProperty: t } },
1035
+ { params: { additionalProperty: e } },
1038
1036
  ]),
1039
1037
  !1);
1040
1038
  if (r === u) {
1041
- if (void 0 !== e.federationRuntime) {
1042
- let r = e.federationRuntime;
1043
- const n = u, s = u;
1044
- let o = !1;
1045
- const a = u;
1046
- if ('boolean' != typeof r) {
1047
- const e = { params: { type: 'boolean' } };
1048
- null === p ? (p = [e]) : p.push(e), u++;
1049
- }
1050
- var g = a === u;
1051
- if (((o = o || g), !o)) {
1052
- const e = u;
1053
- if ('hoisted' !== r) {
1054
- const e = {
1055
- params: {
1056
- allowedValues: t.properties.experiments.properties
1057
- .federationRuntime.anyOf[1].enum,
1058
- },
1059
- };
1060
- null === p ? (p = [e]) : p.push(e), u++;
1061
- }
1062
- (g = e === u), (o = o || g);
1063
- }
1064
- if (!o) {
1065
- const e = { params: {} };
1066
- return (null === p ? (p = [e]) : p.push(e),
1067
- u++,
1068
- (m.errors = p),
1039
+ if (void 0 !== t.asyncStartup) {
1040
+ const e = u;
1041
+ if ('boolean' != typeof t.asyncStartup)
1042
+ return ((m.errors = [
1043
+ { params: { type: 'boolean' } },
1044
+ ]),
1069
1045
  !1);
1070
- }
1071
- (u = s),
1072
- null !== p &&
1073
- (s ? (p.length = s) : (p = null));
1074
- var d = n === u;
1046
+ var g = e === u;
1075
1047
  }
1076
1048
  else
1077
- d = !0;
1078
- if (d)
1079
- if (void 0 !== e.externalRuntime) {
1080
- let r = e.externalRuntime;
1049
+ g = !0;
1050
+ if (g)
1051
+ if (void 0 !== t.externalRuntime) {
1052
+ let r = t.externalRuntime;
1081
1053
  const n = u, s = u;
1082
- let o = !1;
1083
- const a = u;
1054
+ let a = !1;
1055
+ const o = u;
1084
1056
  if ('boolean' != typeof r) {
1085
- const e = { params: { type: 'boolean' } };
1086
- null === p ? (p = [e]) : p.push(e), u++;
1057
+ const t = { params: { type: 'boolean' } };
1058
+ null === l ? (l = [t]) : l.push(t), u++;
1087
1059
  }
1088
- var h = a === u;
1089
- if (((o = o || h), !o)) {
1090
- const e = u;
1060
+ var d = o === u;
1061
+ if (((a = a || d), !a)) {
1062
+ const t = u;
1091
1063
  if ('provide' !== r) {
1092
- const e = {
1064
+ const t = {
1093
1065
  params: {
1094
- allowedValues: t.properties.experiments
1066
+ allowedValues: e.properties.experiments
1095
1067
  .properties.externalRuntime
1096
1068
  .anyOf[1].enum,
1097
1069
  },
1098
1070
  };
1099
- null === p ? (p = [e]) : p.push(e), u++;
1071
+ null === l ? (l = [t]) : l.push(t), u++;
1100
1072
  }
1101
- (h = e === u), (o = o || h);
1073
+ (d = t === u), (a = a || d);
1102
1074
  }
1103
- if (!o) {
1104
- const e = { params: {} };
1105
- return (null === p ? (p = [e]) : p.push(e),
1075
+ if (!a) {
1076
+ const t = { params: {} };
1077
+ return (null === l ? (l = [t]) : l.push(t),
1106
1078
  u++,
1107
- (m.errors = p),
1079
+ (m.errors = l),
1108
1080
  !1);
1109
1081
  }
1110
1082
  (u = s),
1111
- null !== p &&
1112
- (s ? (p.length = s) : (p = null)),
1113
- (d = n === u);
1083
+ null !== l &&
1084
+ (s ? (l.length = s) : (l = null)),
1085
+ (g = n === u);
1114
1086
  }
1115
1087
  else
1116
- d = !0;
1088
+ g = !0;
1117
1089
  }
1118
1090
  }
1119
1091
  }
@@ -1131,6 +1103,6 @@ function m(n, { instancePath: s = '', parentData: o, parentDataProperty: i, root
1131
1103
  }
1132
1104
  }
1133
1105
  }
1134
- return (m.errors = p), 0 === u;
1106
+ return (m.errors = l), 0 === u;
1135
1107
  }
1136
1108
  //# sourceMappingURL=ContainerPlugin.check.js.map