@wp-playground/blueprints 2.0.0 → 2.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/index.js CHANGED
@@ -304,9 +304,39 @@ const _r = async (r, { options: t }) => {
304
304
  let d;
305
305
  if (typeof t == "string" ? (t = t.trim(), d = at(t)) : d = t, d.shift() !== "wp")
306
306
  throw new Error('The first argument must be "wp".');
307
- const s = await r.documentRoot;
307
+ let s = !1;
308
+ const e = d.map((x) => x.startsWith("wordpress/") ? (s = !0, `/${x}`) : x);
309
+ s && ae.error(
310
+ `
311
+ The wp-cli step in your Blueprint refers to a relative path.
312
+
313
+ Playground recently changed the working directory from '/' to '/wordpress' to better mimic
314
+ how real web servers work. This means relative paths that used to work may no longer
315
+ point to the correct location.
316
+
317
+ Playground automatically updated the path for you, but at one point path rewriting will be removed. Please
318
+ update your code to use an absolute path instead:
319
+
320
+ Instead of:
321
+
322
+ {
323
+ "step": "wp-cli",
324
+ "command": "wp media import wordpress/wp-content/Select-storage-method.png --post_id=4 --title='Select your storage method' --featured_image"
325
+ }
326
+
327
+ Use:
328
+
329
+ {
330
+ "step": "wp-cli",
331
+ "command": "wp media import /wordpress/wp-content/Select-storage-method.png --post_id=4 --title='Select your storage method' --featured_image"
332
+ }
333
+
334
+ This will ensure your code works reliably regardless of the current working directory.
335
+ `.trim()
336
+ );
337
+ const f = await r.documentRoot;
308
338
  await r.writeFile("/tmp/stdout", ""), await r.writeFile("/tmp/stderr", ""), await r.writeFile(
309
- se(s, "run-cli.php"),
339
+ se(f, "run-cli.php"),
310
340
  `<?php
311
341
  // Set up the environment to emulate a shell script
312
342
  // call.
@@ -319,8 +349,8 @@ const _r = async (r, { options: t }) => {
319
349
  // Set the argv global.
320
350
  $GLOBALS['argv'] = array_merge([
321
351
  "/tmp/wp-cli.phar",
322
- "--path=${s}"
323
- ], ${ye(d)});
352
+ "--path=${f}"
353
+ ], ${ye(e)});
324
354
 
325
355
  // Provide stdin, stdout, stderr streams outside of
326
356
  // the CLI SAPI.
@@ -331,20 +361,20 @@ const _r = async (r, { options: t }) => {
331
361
  require( ${ye(p)} );
332
362
  `
333
363
  );
334
- const e = await r.run({
335
- scriptPath: se(s, "run-cli.php")
364
+ const y = await r.run({
365
+ scriptPath: se(f, "run-cli.php")
336
366
  });
337
- if (e.errors)
338
- throw new Error(e.errors);
339
- return e;
367
+ if (y.errors)
368
+ throw new Error(y.errors);
369
+ return y;
340
370
  };
341
371
  function at(r) {
342
372
  let d = 0, u = "";
343
373
  const s = [];
344
374
  let e = "";
345
375
  for (let f = 0; f < r.length; f++) {
346
- const g = r[f];
347
- d === 0 ? g === '"' || g === "'" ? (d = 1, u = g) : g.match(/\s/) ? (e && s.push(e), e = "") : e += g : d === 1 && (g === "\\" ? (f++, e += r[f]) : g === u ? (d = 0, u = "") : e += g);
376
+ const y = r[f];
377
+ d === 0 ? y === '"' || y === "'" ? (d = 1, u = y) : y.match(/\s/) ? (e && s.push(e), e = "") : e += y : d === 1 && (y === "\\" ? (f++, e += r[f]) : y === u ? (d = 0, u = "") : e += y);
348
378
  }
349
379
  return e && s.push(e), s;
350
380
  }
@@ -625,8 +655,8 @@ const jr = async (r, { themeSlug: t = "" }, p) => {
625
655
  se(d, "wp-content", "database"),
626
656
  f
627
657
  );
628
- const g = await r.listFiles(u);
629
- for (const S of g)
658
+ const y = await r.listFiles(u);
659
+ for (const S of y)
630
660
  await dr(r, se(d, S)), await r.mv(
631
661
  se(u, S),
632
662
  se(d, S)
@@ -634,13 +664,13 @@ const jr = async (r, { themeSlug: t = "" }, p) => {
634
664
  await r.rmdir(u), await Dr(r, d), await Tr(r, {
635
665
  siteUrl: await r.absoluteUrl
636
666
  });
637
- const I = ye(
667
+ const x = ye(
638
668
  se(d, "wp-admin", "upgrade.php")
639
669
  );
640
670
  await r.run({
641
671
  code: `<?php
642
672
  $_GET['step'] = 'upgrade_db';
643
- require ${I};
673
+ require ${x};
644
674
  `
645
675
  });
646
676
  };
@@ -659,22 +689,22 @@ async function Er(r, {
659
689
  ifAlreadyInstalled: d = "overwrite",
660
690
  targetFolderName: u = ""
661
691
  }) {
662
- const e = p.name.replace(/\.zip$/, ""), f = se(await r.documentRoot, "wp-content"), g = se(f, Nr()), I = se(g, "assets", e);
663
- await r.fileExists(I) && await r.rmdir(g, {
692
+ const e = p.name.replace(/\.zip$/, ""), f = se(await r.documentRoot, "wp-content"), y = se(f, Nr()), x = se(y, "assets", e);
693
+ await r.fileExists(x) && await r.rmdir(y, {
664
694
  recursive: !0
665
- }), await r.mkdir(g);
695
+ }), await r.mkdir(y);
666
696
  try {
667
697
  await pr(r, {
668
698
  zipFile: p,
669
- extractToPath: I
699
+ extractToPath: x
670
700
  });
671
- let S = await r.listFiles(I, {
701
+ let S = await r.listFiles(x, {
672
702
  prependPath: !0
673
703
  });
674
704
  S = S.filter((m) => !m.endsWith("/__MACOSX"));
675
705
  const j = S.length === 1 && await r.isDir(S[0]);
676
706
  let k, O = "";
677
- j ? (O = S[0], k = S[0].split("/").pop()) : (O = I, k = e), u && u.length && (k = u);
707
+ j ? (O = S[0], k = S[0].split("/").pop()) : (O = x, k = e), u && u.length && (k = u);
678
708
  const R = `${t}/${k}`;
679
709
  if (await r.fileExists(R)) {
680
710
  if (!await r.isDir(R))
@@ -701,7 +731,7 @@ async function Er(r, {
701
731
  assetFolderName: k
702
732
  };
703
733
  } finally {
704
- await r.rmdir(g, {
734
+ await r.rmdir(y, {
705
735
  recursive: !0
706
736
  });
707
737
  }
@@ -719,7 +749,7 @@ const gt = async (r, { pluginData: t, pluginZipFile: p, ifAlreadyInstalled: d, o
719
749
  "wp-content",
720
750
  "plugins"
721
751
  ), f = "targetFolderName" in u ? u.targetFolderName : "";
722
- let g = "", I = "";
752
+ let y = "", x = "";
723
753
  const S = async (k) => {
724
754
  if (k.name.toLowerCase().endsWith(".zip"))
725
755
  return !0;
@@ -729,8 +759,8 @@ const gt = async (r, { pluginData: t, pluginZipFile: p, ifAlreadyInstalled: d, o
729
759
  if (t instanceof File)
730
760
  if (await S(t)) {
731
761
  const k = t.name.split("/").pop() || "plugin.zip";
732
- I = er(k), s == null || s.tracker.setCaption(
733
- `Installing the ${I} plugin`
762
+ x = er(k), s == null || s.tracker.setCaption(
763
+ `Installing the ${x} plugin`
734
764
  );
735
765
  const O = await Er(r, {
736
766
  ifAlreadyInstalled: d,
@@ -738,7 +768,7 @@ const gt = async (r, { pluginData: t, pluginZipFile: p, ifAlreadyInstalled: d, o
738
768
  targetPath: `${await r.documentRoot}/wp-content/plugins`,
739
769
  targetFolderName: f
740
770
  });
741
- g = O.assetFolderPath, I = O.assetFolderName;
771
+ y = O.assetFolderPath, x = O.assetFolderName;
742
772
  } else if (t.name.endsWith(".php")) {
743
773
  const k = se(
744
774
  e,
@@ -747,26 +777,26 @@ const gt = async (r, { pluginData: t, pluginZipFile: p, ifAlreadyInstalled: d, o
747
777
  await nr(r, {
748
778
  path: k,
749
779
  data: t
750
- }), g = e, I = t.name;
780
+ }), y = e, x = t.name;
751
781
  } else
752
782
  throw new Error(
753
783
  "pluginData looks like a file but does not look like a .zip or .php file."
754
784
  );
755
785
  else if (t) {
756
- I = t.name, s == null || s.tracker.setCaption(`Installing the ${I} plugin`);
786
+ x = t.name, s == null || s.tracker.setCaption(`Installing the ${x} plugin`);
757
787
  const k = se(
758
788
  e,
759
789
  f || t.name
760
790
  );
761
791
  await ir(r, k, t.files, {
762
792
  rmRoot: !0
763
- }), g = k;
793
+ }), y = k;
764
794
  }
765
795
  ("activate" in u ? u.activate : !0) && await wr(
766
796
  r,
767
797
  {
768
- pluginPath: g,
769
- pluginName: I
798
+ pluginPath: y,
799
+ pluginName: x
770
800
  },
771
801
  s
772
802
  );
@@ -775,17 +805,17 @@ const gt = async (r, { pluginData: t, pluginZipFile: p, ifAlreadyInstalled: d, o
775
805
  'The "themeZipFile" option is deprecated. Use "themeData" instead.'
776
806
  ));
777
807
  const e = "targetFolderName" in u ? u.targetFolderName : "";
778
- let f = "", g = "";
808
+ let f = "", y = "";
779
809
  if (t instanceof File) {
780
810
  const j = t.name.split("/").pop() || "theme.zip";
781
- g = er(j), s == null || s.tracker.setCaption(`Installing the ${g} theme`), f = (await Er(r, {
811
+ y = er(j), s == null || s.tracker.setCaption(`Installing the ${y} theme`), f = (await Er(r, {
782
812
  ifAlreadyInstalled: d,
783
813
  zipFile: t,
784
814
  targetPath: `${await r.documentRoot}/wp-content/themes`,
785
815
  targetFolderName: e
786
816
  })).assetFolderName;
787
817
  } else {
788
- g = t.name, f = e || g, s == null || s.tracker.setCaption(`Installing the ${g} theme`);
818
+ y = t.name, f = e || y, s == null || s.tracker.setCaption(`Installing the ${y} theme`);
789
819
  const j = se(
790
820
  await r.documentRoot,
791
821
  "wp-content",
@@ -855,15 +885,15 @@ const gt = async (r, { pluginData: t, pluginZipFile: p, ifAlreadyInstalled: d, o
855
885
  }, _t = async (r, { selfContained: t = !1 } = {}) => {
856
886
  const p = "/tmp/wordpress-playground.zip", d = await r.documentRoot, u = se(d, "wp-content");
857
887
  let s = br;
858
- t && (s = s.filter((g) => !g.startsWith("themes/twenty")).filter(
859
- (g) => g !== "mu-plugins/sqlite-database-integration"
888
+ t && (s = s.filter((y) => !y.startsWith("themes/twenty")).filter(
889
+ (y) => y !== "mu-plugins/sqlite-database-integration"
860
890
  ));
861
891
  const e = mr({
862
892
  zipPath: p,
863
893
  wpContentPath: u,
864
894
  documentRoot: d,
865
895
  exceptPaths: s.map(
866
- (g) => se(d, "wp-content", g)
896
+ (y) => se(d, "wp-content", y)
867
897
  ),
868
898
  additionalPaths: t ? {
869
899
  [se(d, "wp-config.php")]: "wp-config.php"
@@ -996,7 +1026,7 @@ const Tt = async (r, t) => {
996
1026
  url: `https://downloads.wordpress.org/translation/plugin/${k}/${O}/${t}.zip`,
997
1027
  type: "plugin"
998
1028
  });
999
- const I = (await r.run({
1029
+ const x = (await r.run({
1000
1030
  code: `<?php
1001
1031
  require_once('${d}/wp-load.php');
1002
1032
  require_once('${d}/wp-admin/includes/theme.php');
@@ -1014,7 +1044,7 @@ const Tt = async (r, t) => {
1014
1044
  )
1015
1045
  );`
1016
1046
  })).json;
1017
- for (const { slug: k, version: O } of I)
1047
+ for (const { slug: k, version: O } of x)
1018
1048
  s.push({
1019
1049
  url: `https://downloads.wordpress.org/translation/theme/${k}/${O}/${t}.zip`,
1020
1050
  type: "theme"
@@ -1351,7 +1381,7 @@ class St extends Oe {
1351
1381
  let e = await Hr(t, p, s);
1352
1382
  return e = Nt(
1353
1383
  e,
1354
- (g) => g.substring(u.length).replace(/^\/+/, "")
1384
+ (y) => y.substring(u.length).replace(/^\/+/, "")
1355
1385
  ), {
1356
1386
  name: yr(this.reference.path) || this.reference.url.replaceAll(/[^a-zA-Z0-9-.]/g, "-").replaceAll(/-+/g, "-"),
1357
1387
  files: e
@@ -1447,8 +1477,8 @@ class Ut extends Oe {
1447
1477
  u.stream(),
1448
1478
  s,
1449
1479
  (f) => {
1450
- var g;
1451
- (g = this.progress) == null || g.set(
1480
+ var y;
1481
+ (y = this.progress) == null || y.set(
1452
1482
  f.detail.loaded / f.detail.total * 100
1453
1483
  );
1454
1484
  }
@@ -1608,8 +1638,8 @@ const zt = {
1608
1638
  function Q(r, { instancePath: t = "", parentData: p, parentDataProperty: d, rootData: u = r } = {}) {
1609
1639
  let s = null, e = 0;
1610
1640
  const f = e;
1611
- let g = !1;
1612
- const I = e;
1641
+ let y = !1;
1642
+ const x = e;
1613
1643
  if (e === e)
1614
1644
  if (r && typeof r == "object" && !Array.isArray(r)) {
1615
1645
  let z;
@@ -1691,8 +1721,8 @@ function Q(r, { instancePath: t = "", parentData: p, parentDataProperty: d, root
1691
1721
  };
1692
1722
  s === null ? s = [z] : s.push(z), e++;
1693
1723
  }
1694
- var k = I === e;
1695
- if (g = g || k, !g) {
1724
+ var k = x === e;
1725
+ if (y = y || k, !y) {
1696
1726
  const z = e;
1697
1727
  if (e === e)
1698
1728
  if (r && typeof r == "object" && !Array.isArray(r)) {
@@ -1725,24 +1755,24 @@ function Q(r, { instancePath: t = "", parentData: p, parentDataProperty: d, root
1725
1755
  let v = r.resource;
1726
1756
  const P = e;
1727
1757
  if (typeof v != "string") {
1728
- const y = {
1758
+ const h = {
1729
1759
  instancePath: t + "/resource",
1730
1760
  schemaPath: "#/definitions/LiteralReference/properties/resource/type",
1731
1761
  keyword: "type",
1732
1762
  params: { type: "string" },
1733
1763
  message: "must be string"
1734
1764
  };
1735
- s === null ? s = [y] : s.push(y), e++;
1765
+ s === null ? s = [h] : s.push(h), e++;
1736
1766
  }
1737
1767
  if (v !== "literal") {
1738
- const y = {
1768
+ const h = {
1739
1769
  instancePath: t + "/resource",
1740
1770
  schemaPath: "#/definitions/LiteralReference/properties/resource/const",
1741
1771
  keyword: "const",
1742
1772
  params: { allowedValue: "literal" },
1743
1773
  message: "must be equal to constant"
1744
1774
  };
1745
- s === null ? s = [y] : s.push(y), e++;
1775
+ s === null ? s = [h] : s.push(h), e++;
1746
1776
  }
1747
1777
  var O = P === e;
1748
1778
  } else
@@ -1751,14 +1781,14 @@ function Q(r, { instancePath: t = "", parentData: p, parentDataProperty: d, root
1751
1781
  if (r.name !== void 0) {
1752
1782
  const v = e;
1753
1783
  if (typeof r.name != "string") {
1754
- const y = {
1784
+ const h = {
1755
1785
  instancePath: t + "/name",
1756
1786
  schemaPath: "#/definitions/LiteralReference/properties/name/type",
1757
1787
  keyword: "type",
1758
1788
  params: { type: "string" },
1759
1789
  message: "must be string"
1760
1790
  };
1761
- s === null ? s = [y] : s.push(y), e++;
1791
+ s === null ? s = [h] : s.push(h), e++;
1762
1792
  }
1763
1793
  var O = v === e;
1764
1794
  } else
@@ -1766,9 +1796,9 @@ function Q(r, { instancePath: t = "", parentData: p, parentDataProperty: d, root
1766
1796
  if (O)
1767
1797
  if (r.contents !== void 0) {
1768
1798
  let v = r.contents;
1769
- const P = e, y = e;
1799
+ const P = e, h = e;
1770
1800
  let w = !1;
1771
- const h = e;
1801
+ const g = e;
1772
1802
  if (typeof v != "string") {
1773
1803
  const L = {
1774
1804
  instancePath: t + "/contents",
@@ -1779,7 +1809,7 @@ function Q(r, { instancePath: t = "", parentData: p, parentDataProperty: d, root
1779
1809
  };
1780
1810
  s === null ? s = [L] : s.push(L), e++;
1781
1811
  }
1782
- var R = h === e;
1812
+ var R = g === e;
1783
1813
  if (w = w || R, !w) {
1784
1814
  const L = e;
1785
1815
  if (e === L)
@@ -1798,15 +1828,15 @@ function Q(r, { instancePath: t = "", parentData: p, parentDataProperty: d, root
1798
1828
  s === null ? s = [U] : s.push(U), e++;
1799
1829
  } else {
1800
1830
  const U = e;
1801
- for (const D in v)
1802
- if (!(D === "BYTES_PER_ELEMENT" || D === "buffer" || D === "byteLength" || D === "byteOffset" || D === "length")) {
1803
- let C = v[D];
1831
+ for (const C in v)
1832
+ if (!(C === "BYTES_PER_ELEMENT" || C === "buffer" || C === "byteLength" || C === "byteOffset" || C === "length")) {
1833
+ let I = v[C];
1804
1834
  const K = e;
1805
- if (!(typeof C == "number" && isFinite(
1806
- C
1835
+ if (!(typeof I == "number" && isFinite(
1836
+ I
1807
1837
  ))) {
1808
1838
  const A = {
1809
- instancePath: t + "/contents/" + D.replace(
1839
+ instancePath: t + "/contents/" + C.replace(
1810
1840
  /~/g,
1811
1841
  "~0"
1812
1842
  ).replace(
@@ -1832,10 +1862,10 @@ function Q(r, { instancePath: t = "", parentData: p, parentDataProperty: d, root
1832
1862
  }
1833
1863
  if (U === e) {
1834
1864
  if (v.BYTES_PER_ELEMENT !== void 0) {
1835
- let D = v.BYTES_PER_ELEMENT;
1836
- const C = e;
1837
- if (!(typeof D == "number" && isFinite(
1838
- D
1865
+ let C = v.BYTES_PER_ELEMENT;
1866
+ const I = e;
1867
+ if (!(typeof C == "number" && isFinite(
1868
+ C
1839
1869
  ))) {
1840
1870
  const K = {
1841
1871
  instancePath: t + "/contents/BYTES_PER_ELEMENT",
@@ -1852,19 +1882,19 @@ function Q(r, { instancePath: t = "", parentData: p, parentDataProperty: d, root
1852
1882
  K
1853
1883
  ), e++;
1854
1884
  }
1855
- var W = C === e;
1885
+ var W = I === e;
1856
1886
  } else
1857
1887
  var W = !0;
1858
1888
  if (W) {
1859
1889
  if (v.buffer !== void 0) {
1860
- let D = v.buffer;
1861
- const C = e;
1862
- if (e === C)
1863
- if (D && typeof D == "object" && !Array.isArray(
1864
- D
1890
+ let C = v.buffer;
1891
+ const I = e;
1892
+ if (e === I)
1893
+ if (C && typeof C == "object" && !Array.isArray(
1894
+ C
1865
1895
  )) {
1866
1896
  let A;
1867
- if (D.byteLength === void 0 && (A = "byteLength")) {
1897
+ if (C.byteLength === void 0 && (A = "byteLength")) {
1868
1898
  const Z = {
1869
1899
  instancePath: t + "/contents/buffer",
1870
1900
  schemaPath: "#/definitions/LiteralReference/properties/contents/anyOf/1/properties/buffer/required",
@@ -1881,7 +1911,7 @@ function Q(r, { instancePath: t = "", parentData: p, parentDataProperty: d, root
1881
1911
  ), e++;
1882
1912
  } else {
1883
1913
  const Z = e;
1884
- for (const B in D)
1914
+ for (const B in C)
1885
1915
  if (B !== "byteLength") {
1886
1916
  const V = {
1887
1917
  instancePath: t + "/contents/buffer",
@@ -1899,8 +1929,8 @@ function Q(r, { instancePath: t = "", parentData: p, parentDataProperty: d, root
1899
1929
  ), e++;
1900
1930
  break;
1901
1931
  }
1902
- if (Z === e && D.byteLength !== void 0) {
1903
- let B = D.byteLength;
1932
+ if (Z === e && C.byteLength !== void 0) {
1933
+ let B = C.byteLength;
1904
1934
  if (!(typeof B == "number" && isFinite(
1905
1935
  B
1906
1936
  ))) {
@@ -1937,15 +1967,15 @@ function Q(r, { instancePath: t = "", parentData: p, parentDataProperty: d, root
1937
1967
  A
1938
1968
  ), e++;
1939
1969
  }
1940
- var W = C === e;
1970
+ var W = I === e;
1941
1971
  } else
1942
1972
  var W = !0;
1943
1973
  if (W) {
1944
1974
  if (v.byteLength !== void 0) {
1945
- let D = v.byteLength;
1946
- const C = e;
1947
- if (!(typeof D == "number" && isFinite(
1948
- D
1975
+ let C = v.byteLength;
1976
+ const I = e;
1977
+ if (!(typeof C == "number" && isFinite(
1978
+ C
1949
1979
  ))) {
1950
1980
  const A = {
1951
1981
  instancePath: t + "/contents/byteLength",
@@ -1962,15 +1992,15 @@ function Q(r, { instancePath: t = "", parentData: p, parentDataProperty: d, root
1962
1992
  A
1963
1993
  ), e++;
1964
1994
  }
1965
- var W = C === e;
1995
+ var W = I === e;
1966
1996
  } else
1967
1997
  var W = !0;
1968
1998
  if (W) {
1969
1999
  if (v.byteOffset !== void 0) {
1970
- let D = v.byteOffset;
1971
- const C = e;
1972
- if (!(typeof D == "number" && isFinite(
1973
- D
2000
+ let C = v.byteOffset;
2001
+ const I = e;
2002
+ if (!(typeof C == "number" && isFinite(
2003
+ C
1974
2004
  ))) {
1975
2005
  const A = {
1976
2006
  instancePath: t + "/contents/byteOffset",
@@ -1987,15 +2017,15 @@ function Q(r, { instancePath: t = "", parentData: p, parentDataProperty: d, root
1987
2017
  A
1988
2018
  ), e++;
1989
2019
  }
1990
- var W = C === e;
2020
+ var W = I === e;
1991
2021
  } else
1992
2022
  var W = !0;
1993
2023
  if (W)
1994
2024
  if (v.length !== void 0) {
1995
- let D = v.length;
1996
- const C = e;
1997
- if (!(typeof D == "number" && isFinite(
1998
- D
2025
+ let C = v.length;
2026
+ const I = e;
2027
+ if (!(typeof C == "number" && isFinite(
2028
+ C
1999
2029
  ))) {
2000
2030
  const A = {
2001
2031
  instancePath: t + "/contents/length",
@@ -2012,7 +2042,7 @@ function Q(r, { instancePath: t = "", parentData: p, parentDataProperty: d, root
2012
2042
  A
2013
2043
  ), e++;
2014
2044
  }
2015
- var W = C === e;
2045
+ var W = I === e;
2016
2046
  } else
2017
2047
  var W = !0;
2018
2048
  }
@@ -2034,7 +2064,7 @@ function Q(r, { instancePath: t = "", parentData: p, parentDataProperty: d, root
2034
2064
  w = w || R;
2035
2065
  }
2036
2066
  if (w)
2037
- e = y, s !== null && (y ? s.length = y : s = null);
2067
+ e = h, s !== null && (h ? s.length = h : s = null);
2038
2068
  else {
2039
2069
  const L = {
2040
2070
  instancePath: t + "/contents",
@@ -2062,38 +2092,38 @@ function Q(r, { instancePath: t = "", parentData: p, parentDataProperty: d, root
2062
2092
  s === null ? s = [b] : s.push(b), e++;
2063
2093
  }
2064
2094
  var k = z === e;
2065
- if (g = g || k, !g) {
2095
+ if (y = y || k, !y) {
2066
2096
  const b = e;
2067
2097
  if (e === e)
2068
2098
  if (r && typeof r == "object" && !Array.isArray(r)) {
2069
2099
  let P;
2070
2100
  if (r.resource === void 0 && (P = "resource") || r.slug === void 0 && (P = "slug")) {
2071
- const y = {
2101
+ const h = {
2072
2102
  instancePath: t,
2073
2103
  schemaPath: "#/definitions/CoreThemeReference/required",
2074
2104
  keyword: "required",
2075
2105
  params: { missingProperty: P },
2076
2106
  message: "must have required property '" + P + "'"
2077
2107
  };
2078
- s === null ? s = [y] : s.push(y), e++;
2108
+ s === null ? s = [h] : s.push(h), e++;
2079
2109
  } else {
2080
- const y = e;
2110
+ const h = e;
2081
2111
  for (const w in r)
2082
2112
  if (!(w === "resource" || w === "slug")) {
2083
- const h = {
2113
+ const g = {
2084
2114
  instancePath: t,
2085
2115
  schemaPath: "#/definitions/CoreThemeReference/additionalProperties",
2086
2116
  keyword: "additionalProperties",
2087
2117
  params: { additionalProperty: w },
2088
2118
  message: "must NOT have additional properties"
2089
2119
  };
2090
- s === null ? s = [h] : s.push(h), e++;
2120
+ s === null ? s = [g] : s.push(g), e++;
2091
2121
  break;
2092
2122
  }
2093
- if (y === e) {
2123
+ if (h === e) {
2094
2124
  if (r.resource !== void 0) {
2095
2125
  let w = r.resource;
2096
- const h = e;
2126
+ const g = e;
2097
2127
  if (typeof w != "string") {
2098
2128
  const q = {
2099
2129
  instancePath: t + "/resource",
@@ -2116,7 +2146,7 @@ function Q(r, { instancePath: t = "", parentData: p, parentDataProperty: d, root
2116
2146
  };
2117
2147
  s === null ? s = [q] : s.push(q), e++;
2118
2148
  }
2119
- var M = h === e;
2149
+ var M = g === e;
2120
2150
  } else
2121
2151
  var M = !0;
2122
2152
  if (M)
@@ -2148,38 +2178,38 @@ function Q(r, { instancePath: t = "", parentData: p, parentDataProperty: d, root
2148
2178
  s === null ? s = [P] : s.push(P), e++;
2149
2179
  }
2150
2180
  var k = b === e;
2151
- if (g = g || k, !g) {
2181
+ if (y = y || k, !y) {
2152
2182
  const P = e;
2153
2183
  if (e === e)
2154
2184
  if (r && typeof r == "object" && !Array.isArray(r)) {
2155
- let h;
2156
- if (r.resource === void 0 && (h = "resource") || r.slug === void 0 && (h = "slug")) {
2185
+ let g;
2186
+ if (r.resource === void 0 && (g = "resource") || r.slug === void 0 && (g = "slug")) {
2157
2187
  const q = {
2158
2188
  instancePath: t,
2159
2189
  schemaPath: "#/definitions/CorePluginReference/required",
2160
2190
  keyword: "required",
2161
- params: { missingProperty: h },
2162
- message: "must have required property '" + h + "'"
2191
+ params: { missingProperty: g },
2192
+ message: "must have required property '" + g + "'"
2163
2193
  };
2164
2194
  s === null ? s = [q] : s.push(q), e++;
2165
2195
  } else {
2166
2196
  const q = e;
2167
2197
  for (const L in r)
2168
2198
  if (!(L === "resource" || L === "slug")) {
2169
- const x = {
2199
+ const D = {
2170
2200
  instancePath: t,
2171
2201
  schemaPath: "#/definitions/CorePluginReference/additionalProperties",
2172
2202
  keyword: "additionalProperties",
2173
2203
  params: { additionalProperty: L },
2174
2204
  message: "must NOT have additional properties"
2175
2205
  };
2176
- s === null ? s = [x] : s.push(x), e++;
2206
+ s === null ? s = [D] : s.push(D), e++;
2177
2207
  break;
2178
2208
  }
2179
2209
  if (q === e) {
2180
2210
  if (r.resource !== void 0) {
2181
2211
  let L = r.resource;
2182
- const x = e;
2212
+ const D = e;
2183
2213
  if (typeof L != "string") {
2184
2214
  const F = {
2185
2215
  instancePath: t + "/resource",
@@ -2202,7 +2232,7 @@ function Q(r, { instancePath: t = "", parentData: p, parentDataProperty: d, root
2202
2232
  };
2203
2233
  s === null ? s = [F] : s.push(F), e++;
2204
2234
  }
2205
- var Y = x === e;
2235
+ var Y = D === e;
2206
2236
  } else
2207
2237
  var Y = !0;
2208
2238
  if (Y)
@@ -2224,35 +2254,35 @@ function Q(r, { instancePath: t = "", parentData: p, parentDataProperty: d, root
2224
2254
  }
2225
2255
  }
2226
2256
  } else {
2227
- const h = {
2257
+ const g = {
2228
2258
  instancePath: t,
2229
2259
  schemaPath: "#/definitions/CorePluginReference/type",
2230
2260
  keyword: "type",
2231
2261
  params: { type: "object" },
2232
2262
  message: "must be object"
2233
2263
  };
2234
- s === null ? s = [h] : s.push(h), e++;
2264
+ s === null ? s = [g] : s.push(g), e++;
2235
2265
  }
2236
2266
  var k = P === e;
2237
- if (g = g || k, !g) {
2238
- const h = e;
2267
+ if (y = y || k, !y) {
2268
+ const g = e;
2239
2269
  if (e === e)
2240
2270
  if (r && typeof r == "object" && !Array.isArray(r)) {
2241
- let x;
2242
- if (r.resource === void 0 && (x = "resource") || r.url === void 0 && (x = "url")) {
2271
+ let D;
2272
+ if (r.resource === void 0 && (D = "resource") || r.url === void 0 && (D = "url")) {
2243
2273
  const F = {
2244
2274
  instancePath: t,
2245
2275
  schemaPath: "#/definitions/UrlReference/required",
2246
2276
  keyword: "required",
2247
- params: { missingProperty: x },
2248
- message: "must have required property '" + x + "'"
2277
+ params: { missingProperty: D },
2278
+ message: "must have required property '" + D + "'"
2249
2279
  };
2250
2280
  s === null ? s = [F] : s.push(F), e++;
2251
2281
  } else {
2252
2282
  const F = e;
2253
2283
  for (const U in r)
2254
2284
  if (!(U === "resource" || U === "url" || U === "caption")) {
2255
- const D = {
2285
+ const C = {
2256
2286
  instancePath: t,
2257
2287
  schemaPath: "#/definitions/UrlReference/additionalProperties",
2258
2288
  keyword: "additionalProperties",
@@ -2261,48 +2291,48 @@ function Q(r, { instancePath: t = "", parentData: p, parentDataProperty: d, root
2261
2291
  },
2262
2292
  message: "must NOT have additional properties"
2263
2293
  };
2264
- s === null ? s = [D] : s.push(D), e++;
2294
+ s === null ? s = [C] : s.push(C), e++;
2265
2295
  break;
2266
2296
  }
2267
2297
  if (F === e) {
2268
2298
  if (r.resource !== void 0) {
2269
2299
  let U = r.resource;
2270
- const D = e;
2300
+ const C = e;
2271
2301
  if (typeof U != "string") {
2272
- const C = {
2302
+ const I = {
2273
2303
  instancePath: t + "/resource",
2274
2304
  schemaPath: "#/definitions/UrlReference/properties/resource/type",
2275
2305
  keyword: "type",
2276
2306
  params: { type: "string" },
2277
2307
  message: "must be string"
2278
2308
  };
2279
- s === null ? s = [C] : s.push(C), e++;
2309
+ s === null ? s = [I] : s.push(I), e++;
2280
2310
  }
2281
2311
  if (U !== "url") {
2282
- const C = {
2312
+ const I = {
2283
2313
  instancePath: t + "/resource",
2284
2314
  schemaPath: "#/definitions/UrlReference/properties/resource/const",
2285
2315
  keyword: "const",
2286
2316
  params: { allowedValue: "url" },
2287
2317
  message: "must be equal to constant"
2288
2318
  };
2289
- s === null ? s = [C] : s.push(C), e++;
2319
+ s === null ? s = [I] : s.push(I), e++;
2290
2320
  }
2291
- var _ = D === e;
2321
+ var _ = C === e;
2292
2322
  } else
2293
2323
  var _ = !0;
2294
2324
  if (_) {
2295
2325
  if (r.url !== void 0) {
2296
2326
  const U = e;
2297
2327
  if (typeof r.url != "string") {
2298
- const C = {
2328
+ const I = {
2299
2329
  instancePath: t + "/url",
2300
2330
  schemaPath: "#/definitions/UrlReference/properties/url/type",
2301
2331
  keyword: "type",
2302
2332
  params: { type: "string" },
2303
2333
  message: "must be string"
2304
2334
  };
2305
- s === null ? s = [C] : s.push(C), e++;
2335
+ s === null ? s = [I] : s.push(I), e++;
2306
2336
  }
2307
2337
  var _ = U === e;
2308
2338
  } else
@@ -2311,7 +2341,7 @@ function Q(r, { instancePath: t = "", parentData: p, parentDataProperty: d, root
2311
2341
  if (r.caption !== void 0) {
2312
2342
  const U = e;
2313
2343
  if (typeof r.caption != "string") {
2314
- const C = {
2344
+ const I = {
2315
2345
  instancePath: t + "/caption",
2316
2346
  schemaPath: "#/definitions/UrlReference/properties/caption/type",
2317
2347
  keyword: "type",
@@ -2320,7 +2350,7 @@ function Q(r, { instancePath: t = "", parentData: p, parentDataProperty: d, root
2320
2350
  },
2321
2351
  message: "must be string"
2322
2352
  };
2323
- s === null ? s = [C] : s.push(C), e++;
2353
+ s === null ? s = [I] : s.push(I), e++;
2324
2354
  }
2325
2355
  var _ = U === e;
2326
2356
  } else
@@ -2329,32 +2359,32 @@ function Q(r, { instancePath: t = "", parentData: p, parentDataProperty: d, root
2329
2359
  }
2330
2360
  }
2331
2361
  } else {
2332
- const x = {
2362
+ const D = {
2333
2363
  instancePath: t,
2334
2364
  schemaPath: "#/definitions/UrlReference/type",
2335
2365
  keyword: "type",
2336
2366
  params: { type: "object" },
2337
2367
  message: "must be object"
2338
2368
  };
2339
- s === null ? s = [x] : s.push(x), e++;
2369
+ s === null ? s = [D] : s.push(D), e++;
2340
2370
  }
2341
- var k = h === e;
2342
- if (g = g || k, !g) {
2343
- const x = e;
2371
+ var k = g === e;
2372
+ if (y = y || k, !y) {
2373
+ const D = e;
2344
2374
  if (e === e)
2345
2375
  if (r && typeof r == "object" && !Array.isArray(r)) {
2346
- let D;
2347
- if (r.resource === void 0 && (D = "resource") || r.path === void 0 && (D = "path")) {
2348
- const C = {
2376
+ let C;
2377
+ if (r.resource === void 0 && (C = "resource") || r.path === void 0 && (C = "path")) {
2378
+ const I = {
2349
2379
  instancePath: t,
2350
2380
  schemaPath: "#/definitions/BundledReference/required",
2351
2381
  keyword: "required",
2352
- params: { missingProperty: D },
2353
- message: "must have required property '" + D + "'"
2382
+ params: { missingProperty: C },
2383
+ message: "must have required property '" + C + "'"
2354
2384
  };
2355
- s === null ? s = [C] : s.push(C), e++;
2385
+ s === null ? s = [I] : s.push(I), e++;
2356
2386
  } else {
2357
- const C = e;
2387
+ const I = e;
2358
2388
  for (const K in r)
2359
2389
  if (!(K === "resource" || K === "path")) {
2360
2390
  const A = {
@@ -2369,7 +2399,7 @@ function Q(r, { instancePath: t = "", parentData: p, parentDataProperty: d, root
2369
2399
  s === null ? s = [A] : s.push(A), e++;
2370
2400
  break;
2371
2401
  }
2372
- if (C === e) {
2402
+ if (I === e) {
2373
2403
  if (r.resource !== void 0) {
2374
2404
  let K = r.resource;
2375
2405
  const A = e;
@@ -2419,23 +2449,23 @@ function Q(r, { instancePath: t = "", parentData: p, parentDataProperty: d, root
2419
2449
  }
2420
2450
  }
2421
2451
  } else {
2422
- const D = {
2452
+ const C = {
2423
2453
  instancePath: t,
2424
2454
  schemaPath: "#/definitions/BundledReference/type",
2425
2455
  keyword: "type",
2426
2456
  params: { type: "object" },
2427
2457
  message: "must be object"
2428
2458
  };
2429
- s === null ? s = [D] : s.push(D), e++;
2459
+ s === null ? s = [C] : s.push(C), e++;
2430
2460
  }
2431
- var k = x === e;
2432
- g = g || k;
2461
+ var k = D === e;
2462
+ y = y || k;
2433
2463
  }
2434
2464
  }
2435
2465
  }
2436
2466
  }
2437
2467
  }
2438
- if (g)
2468
+ if (y)
2439
2469
  e = f, s !== null && (f ? s.length = f : s = null);
2440
2470
  else {
2441
2471
  const z = {
@@ -3165,15 +3195,15 @@ function Le(r, { instancePath: t = "", parentData: p, parentDataProperty: d, roo
3165
3195
  let s = null, e = 0;
3166
3196
  if (e === 0)
3167
3197
  if (r && typeof r == "object" && !Array.isArray(r))
3168
- for (const I in r) {
3169
- let S = r[I];
3198
+ for (const x in r) {
3199
+ let S = r[x];
3170
3200
  const j = e, k = e;
3171
3201
  let O = !1;
3172
3202
  const R = e;
3173
3203
  sr.validate(S, {
3174
- instancePath: t + "/" + I.replace(/~/g, "~0").replace(/\//g, "~1"),
3204
+ instancePath: t + "/" + x.replace(/~/g, "~0").replace(/\//g, "~1"),
3175
3205
  parentData: r,
3176
- parentDataProperty: I,
3206
+ parentDataProperty: x,
3177
3207
  rootData: u
3178
3208
  }) || (s = s === null ? sr.validate.errors : s.concat(sr.validate.errors), e = s.length);
3179
3209
  var f = R === e;
@@ -3181,7 +3211,7 @@ function Le(r, { instancePath: t = "", parentData: p, parentDataProperty: d, roo
3181
3211
  const m = e;
3182
3212
  if (!(S && typeof S == "object" && !Array.isArray(S)) && typeof S != "string") {
3183
3213
  const M = {
3184
- instancePath: t + "/" + I.replace(/~/g, "~0").replace(/\//g, "~1"),
3214
+ instancePath: t + "/" + x.replace(/~/g, "~0").replace(/\//g, "~1"),
3185
3215
  schemaPath: "#/additionalProperties/anyOf/1/type",
3186
3216
  keyword: "type",
3187
3217
  params: {
@@ -3198,7 +3228,7 @@ function Le(r, { instancePath: t = "", parentData: p, parentDataProperty: d, roo
3198
3228
  e = k, s !== null && (k ? s.length = k : s = null);
3199
3229
  else {
3200
3230
  const m = {
3201
- instancePath: t + "/" + I.replace(/~/g, "~0").replace(/\//g, "~1"),
3231
+ instancePath: t + "/" + x.replace(/~/g, "~0").replace(/\//g, "~1"),
3202
3232
  schemaPath: "#/additionalProperties/anyOf",
3203
3233
  keyword: "anyOf",
3204
3234
  params: {},
@@ -3206,8 +3236,8 @@ function Le(r, { instancePath: t = "", parentData: p, parentDataProperty: d, roo
3206
3236
  };
3207
3237
  return s === null ? s = [m] : s.push(m), e++, Le.errors = s, !1;
3208
3238
  }
3209
- var g = j === e;
3210
- if (!g)
3239
+ var y = j === e;
3240
+ if (!y)
3211
3241
  break;
3212
3242
  }
3213
3243
  else
@@ -3226,19 +3256,19 @@ function ke(r, { instancePath: t = "", parentData: p, parentDataProperty: d, roo
3226
3256
  let s = null, e = 0;
3227
3257
  if (e === 0)
3228
3258
  if (r && typeof r == "object" && !Array.isArray(r)) {
3229
- let g;
3230
- if (r.files === void 0 && (g = "files") || r.name === void 0 && (g = "name") || r.resource === void 0 && (g = "resource"))
3259
+ let y;
3260
+ if (r.files === void 0 && (y = "files") || r.name === void 0 && (y = "name") || r.resource === void 0 && (y = "resource"))
3231
3261
  return ke.errors = [
3232
3262
  {
3233
3263
  instancePath: t,
3234
3264
  schemaPath: "#/required",
3235
3265
  keyword: "required",
3236
- params: { missingProperty: g },
3237
- message: "must have required property '" + g + "'"
3266
+ params: { missingProperty: y },
3267
+ message: "must have required property '" + y + "'"
3238
3268
  }
3239
3269
  ], !1;
3240
3270
  {
3241
- const I = e;
3271
+ const x = e;
3242
3272
  for (const S in r)
3243
3273
  if (!(S === "resource" || S === "files" || S === "name"))
3244
3274
  return ke.errors = [
@@ -3250,7 +3280,7 @@ function ke(r, { instancePath: t = "", parentData: p, parentDataProperty: d, roo
3250
3280
  message: "must NOT have additional properties"
3251
3281
  }
3252
3282
  ], !1;
3253
- if (I === e) {
3283
+ if (x === e) {
3254
3284
  if (r.resource !== void 0) {
3255
3285
  let S = r.resource;
3256
3286
  const j = e;
@@ -3325,8 +3355,8 @@ function ke(r, { instancePath: t = "", parentData: p, parentDataProperty: d, roo
3325
3355
  function he(r, { instancePath: t = "", parentData: p, parentDataProperty: d, rootData: u = r } = {}) {
3326
3356
  let s = null, e = 0;
3327
3357
  const f = e;
3328
- let g = !1;
3329
- const I = e;
3358
+ let y = !1;
3359
+ const x = e;
3330
3360
  if (e === e)
3331
3361
  if (r && typeof r == "object" && !Array.isArray(r)) {
3332
3362
  let O;
@@ -3442,8 +3472,8 @@ function he(r, { instancePath: t = "", parentData: p, parentDataProperty: d, roo
3442
3472
  };
3443
3473
  s === null ? s = [O] : s.push(O), e++;
3444
3474
  }
3445
- var k = I === e;
3446
- if (g = g || k, !g) {
3475
+ var k = x === e;
3476
+ if (y = y || k, !y) {
3447
3477
  const O = e;
3448
3478
  ke(r, {
3449
3479
  instancePath: t,
@@ -3452,9 +3482,9 @@ function he(r, { instancePath: t = "", parentData: p, parentDataProperty: d, roo
3452
3482
  rootData: u
3453
3483
  }) || (s = s === null ? ke.errors : s.concat(ke.errors), e = s.length);
3454
3484
  var k = O === e;
3455
- g = g || k;
3485
+ y = y || k;
3456
3486
  }
3457
- if (g)
3487
+ if (y)
3458
3488
  e = f, s !== null && (f ? s.length = f : s = null);
3459
3489
  else {
3460
3490
  const O = {
@@ -3568,8 +3598,8 @@ function ce(r, { instancePath: t = "", parentData: p, parentDataProperty: d, roo
3568
3598
  message: "must be string"
3569
3599
  }
3570
3600
  ], !1;
3571
- var g = b === e;
3572
- if (!g)
3601
+ var y = b === e;
3602
+ if (!y)
3573
3603
  break;
3574
3604
  }
3575
3605
  else
@@ -3601,14 +3631,14 @@ function ce(r, { instancePath: t = "", parentData: p, parentDataProperty: d, roo
3601
3631
  };
3602
3632
  s === null ? s = [E] : s.push(E), e++;
3603
3633
  }
3604
- var I = c === e;
3605
- if (ee = ee || I, !ee) {
3634
+ var x = c === e;
3635
+ if (ee = ee || x, !ee) {
3606
3636
  const E = e;
3607
3637
  if (e === E)
3608
3638
  if (_ && typeof _ == "object" && !Array.isArray(_)) {
3609
3639
  let P;
3610
3640
  if (_.BYTES_PER_ELEMENT === void 0 && (P = "BYTES_PER_ELEMENT") || _.buffer === void 0 && (P = "buffer") || _.byteLength === void 0 && (P = "byteLength") || _.byteOffset === void 0 && (P = "byteOffset") || _.length === void 0 && (P = "length")) {
3611
- const y = {
3641
+ const h = {
3612
3642
  instancePath: t + "/body",
3613
3643
  schemaPath: "#/properties/body/anyOf/1/required",
3614
3644
  keyword: "required",
@@ -3617,15 +3647,15 @@ function ce(r, { instancePath: t = "", parentData: p, parentDataProperty: d, roo
3617
3647
  },
3618
3648
  message: "must have required property '" + P + "'"
3619
3649
  };
3620
- s === null ? s = [y] : s.push(y), e++;
3650
+ s === null ? s = [h] : s.push(h), e++;
3621
3651
  } else {
3622
- const y = e;
3652
+ const h = e;
3623
3653
  for (const w in _)
3624
3654
  if (!(w === "BYTES_PER_ELEMENT" || w === "buffer" || w === "byteLength" || w === "byteOffset" || w === "length")) {
3625
- let h = _[w];
3655
+ let g = _[w];
3626
3656
  const q = e;
3627
- if (!(typeof h == "number" && isFinite(
3628
- h
3657
+ if (!(typeof g == "number" && isFinite(
3658
+ g
3629
3659
  ))) {
3630
3660
  const L = {
3631
3661
  instancePath: t + "/body/" + w.replace(
@@ -3652,10 +3682,10 @@ function ce(r, { instancePath: t = "", parentData: p, parentDataProperty: d, roo
3652
3682
  if (!S)
3653
3683
  break;
3654
3684
  }
3655
- if (y === e) {
3685
+ if (h === e) {
3656
3686
  if (_.BYTES_PER_ELEMENT !== void 0) {
3657
3687
  let w = _.BYTES_PER_ELEMENT;
3658
- const h = e;
3688
+ const g = e;
3659
3689
  if (!(typeof w == "number" && isFinite(
3660
3690
  w
3661
3691
  ))) {
@@ -3674,20 +3704,20 @@ function ce(r, { instancePath: t = "", parentData: p, parentDataProperty: d, roo
3674
3704
  q
3675
3705
  ), e++;
3676
3706
  }
3677
- var j = h === e;
3707
+ var j = g === e;
3678
3708
  } else
3679
3709
  var j = !0;
3680
3710
  if (j) {
3681
3711
  if (_.buffer !== void 0) {
3682
3712
  let w = _.buffer;
3683
- const h = e;
3684
- if (e === h)
3713
+ const g = e;
3714
+ if (e === g)
3685
3715
  if (w && typeof w == "object" && !Array.isArray(
3686
3716
  w
3687
3717
  )) {
3688
3718
  let L;
3689
3719
  if (w.byteLength === void 0 && (L = "byteLength")) {
3690
- const x = {
3720
+ const D = {
3691
3721
  instancePath: t + "/body/buffer",
3692
3722
  schemaPath: "#/properties/body/anyOf/1/properties/buffer/required",
3693
3723
  keyword: "required",
@@ -3697,12 +3727,12 @@ function ce(r, { instancePath: t = "", parentData: p, parentDataProperty: d, roo
3697
3727
  message: "must have required property '" + L + "'"
3698
3728
  };
3699
3729
  s === null ? s = [
3700
- x
3730
+ D
3701
3731
  ] : s.push(
3702
- x
3732
+ D
3703
3733
  ), e++;
3704
3734
  } else {
3705
- const x = e;
3735
+ const D = e;
3706
3736
  for (const F in w)
3707
3737
  if (F !== "byteLength") {
3708
3738
  const U = {
@@ -3721,7 +3751,7 @@ function ce(r, { instancePath: t = "", parentData: p, parentDataProperty: d, roo
3721
3751
  ), e++;
3722
3752
  break;
3723
3753
  }
3724
- if (x === e && w.byteLength !== void 0) {
3754
+ if (D === e && w.byteLength !== void 0) {
3725
3755
  let F = w.byteLength;
3726
3756
  if (!(typeof F == "number" && isFinite(
3727
3757
  F
@@ -3759,13 +3789,13 @@ function ce(r, { instancePath: t = "", parentData: p, parentDataProperty: d, roo
3759
3789
  L
3760
3790
  ), e++;
3761
3791
  }
3762
- var j = h === e;
3792
+ var j = g === e;
3763
3793
  } else
3764
3794
  var j = !0;
3765
3795
  if (j) {
3766
3796
  if (_.byteLength !== void 0) {
3767
3797
  let w = _.byteLength;
3768
- const h = e;
3798
+ const g = e;
3769
3799
  if (!(typeof w == "number" && isFinite(
3770
3800
  w
3771
3801
  ))) {
@@ -3784,13 +3814,13 @@ function ce(r, { instancePath: t = "", parentData: p, parentDataProperty: d, roo
3784
3814
  L
3785
3815
  ), e++;
3786
3816
  }
3787
- var j = h === e;
3817
+ var j = g === e;
3788
3818
  } else
3789
3819
  var j = !0;
3790
3820
  if (j) {
3791
3821
  if (_.byteOffset !== void 0) {
3792
3822
  let w = _.byteOffset;
3793
- const h = e;
3823
+ const g = e;
3794
3824
  if (!(typeof w == "number" && isFinite(
3795
3825
  w
3796
3826
  ))) {
@@ -3809,13 +3839,13 @@ function ce(r, { instancePath: t = "", parentData: p, parentDataProperty: d, roo
3809
3839
  L
3810
3840
  ), e++;
3811
3841
  }
3812
- var j = h === e;
3842
+ var j = g === e;
3813
3843
  } else
3814
3844
  var j = !0;
3815
3845
  if (j)
3816
3846
  if (_.length !== void 0) {
3817
3847
  let w = _.length;
3818
- const h = e;
3848
+ const g = e;
3819
3849
  if (!(typeof w == "number" && isFinite(
3820
3850
  w
3821
3851
  ))) {
@@ -3834,7 +3864,7 @@ function ce(r, { instancePath: t = "", parentData: p, parentDataProperty: d, roo
3834
3864
  L
3835
3865
  ), e++;
3836
3866
  }
3837
- var j = h === e;
3867
+ var j = g === e;
3838
3868
  } else
3839
3869
  var j = !0;
3840
3870
  }
@@ -3852,17 +3882,17 @@ function ce(r, { instancePath: t = "", parentData: p, parentDataProperty: d, roo
3852
3882
  };
3853
3883
  s === null ? s = [P] : s.push(P), e++;
3854
3884
  }
3855
- var I = E === e;
3856
- if (ee = ee || I, !ee) {
3885
+ var x = E === e;
3886
+ if (ee = ee || x, !ee) {
3857
3887
  const P = e;
3858
3888
  if (e === P)
3859
3889
  if (_ && typeof _ == "object" && !Array.isArray(_))
3860
3890
  for (const w in _) {
3861
- let h = _[w];
3891
+ let g = _[w];
3862
3892
  const q = e, L = e;
3863
- let x = !1;
3893
+ let D = !1;
3864
3894
  const F = e;
3865
- if (typeof h != "string") {
3895
+ if (typeof g != "string") {
3866
3896
  const U = {
3867
3897
  instancePath: t + "/body/" + w.replace(
3868
3898
  /~/g,
@@ -3885,14 +3915,14 @@ function ce(r, { instancePath: t = "", parentData: p, parentDataProperty: d, roo
3885
3915
  ), e++;
3886
3916
  }
3887
3917
  var k = F === e;
3888
- if (x = x || k, !x) {
3918
+ if (D = D || k, !D) {
3889
3919
  const U = e;
3890
3920
  if (e === U)
3891
- if (h && typeof h == "object" && !Array.isArray(
3892
- h
3921
+ if (g && typeof g == "object" && !Array.isArray(
3922
+ g
3893
3923
  )) {
3894
- let C;
3895
- if (h.BYTES_PER_ELEMENT === void 0 && (C = "BYTES_PER_ELEMENT") || h.buffer === void 0 && (C = "buffer") || h.byteLength === void 0 && (C = "byteLength") || h.byteOffset === void 0 && (C = "byteOffset") || h.length === void 0 && (C = "length")) {
3924
+ let I;
3925
+ if (g.BYTES_PER_ELEMENT === void 0 && (I = "BYTES_PER_ELEMENT") || g.buffer === void 0 && (I = "buffer") || g.byteLength === void 0 && (I = "byteLength") || g.byteOffset === void 0 && (I = "byteOffset") || g.length === void 0 && (I = "length")) {
3896
3926
  const K = {
3897
3927
  instancePath: t + "/body/" + w.replace(
3898
3928
  /~/g,
@@ -3904,9 +3934,9 @@ function ce(r, { instancePath: t = "", parentData: p, parentDataProperty: d, roo
3904
3934
  schemaPath: "#/properties/body/anyOf/2/additionalProperties/anyOf/1/required",
3905
3935
  keyword: "required",
3906
3936
  params: {
3907
- missingProperty: C
3937
+ missingProperty: I
3908
3938
  },
3909
- message: "must have required property '" + C + "'"
3939
+ message: "must have required property '" + I + "'"
3910
3940
  };
3911
3941
  s === null ? s = [
3912
3942
  K
@@ -3915,9 +3945,9 @@ function ce(r, { instancePath: t = "", parentData: p, parentDataProperty: d, roo
3915
3945
  ), e++;
3916
3946
  } else {
3917
3947
  const K = e;
3918
- for (const A in h)
3948
+ for (const A in g)
3919
3949
  if (!(A === "BYTES_PER_ELEMENT" || A === "buffer" || A === "byteLength" || A === "byteOffset" || A === "length")) {
3920
- let Z = h[A];
3950
+ let Z = g[A];
3921
3951
  const B = e;
3922
3952
  if (!(typeof Z == "number" && isFinite(
3923
3953
  Z
@@ -3954,8 +3984,8 @@ function ce(r, { instancePath: t = "", parentData: p, parentDataProperty: d, roo
3954
3984
  break;
3955
3985
  }
3956
3986
  if (K === e) {
3957
- if (h.BYTES_PER_ELEMENT !== void 0) {
3958
- let A = h.BYTES_PER_ELEMENT;
3987
+ if (g.BYTES_PER_ELEMENT !== void 0) {
3988
+ let A = g.BYTES_PER_ELEMENT;
3959
3989
  const Z = e;
3960
3990
  if (!(typeof A == "number" && isFinite(
3961
3991
  A
@@ -3985,8 +4015,8 @@ function ce(r, { instancePath: t = "", parentData: p, parentDataProperty: d, roo
3985
4015
  } else
3986
4016
  var R = !0;
3987
4017
  if (R) {
3988
- if (h.buffer !== void 0) {
3989
- let A = h.buffer;
4018
+ if (g.buffer !== void 0) {
4019
+ let A = g.buffer;
3990
4020
  const Z = e;
3991
4021
  if (e === Z)
3992
4022
  if (A && typeof A == "object" && !Array.isArray(
@@ -4094,8 +4124,8 @@ function ce(r, { instancePath: t = "", parentData: p, parentDataProperty: d, roo
4094
4124
  } else
4095
4125
  var R = !0;
4096
4126
  if (R) {
4097
- if (h.byteLength !== void 0) {
4098
- let A = h.byteLength;
4127
+ if (g.byteLength !== void 0) {
4128
+ let A = g.byteLength;
4099
4129
  const Z = e;
4100
4130
  if (!(typeof A == "number" && isFinite(
4101
4131
  A
@@ -4125,8 +4155,8 @@ function ce(r, { instancePath: t = "", parentData: p, parentDataProperty: d, roo
4125
4155
  } else
4126
4156
  var R = !0;
4127
4157
  if (R) {
4128
- if (h.byteOffset !== void 0) {
4129
- let A = h.byteOffset;
4158
+ if (g.byteOffset !== void 0) {
4159
+ let A = g.byteOffset;
4130
4160
  const Z = e;
4131
4161
  if (!(typeof A == "number" && isFinite(
4132
4162
  A
@@ -4156,8 +4186,8 @@ function ce(r, { instancePath: t = "", parentData: p, parentDataProperty: d, roo
4156
4186
  } else
4157
4187
  var R = !0;
4158
4188
  if (R)
4159
- if (h.length !== void 0) {
4160
- let A = h.length;
4189
+ if (g.length !== void 0) {
4190
+ let A = g.length;
4161
4191
  const Z = e;
4162
4192
  if (!(typeof A == "number" && isFinite(
4163
4193
  A
@@ -4192,7 +4222,7 @@ function ce(r, { instancePath: t = "", parentData: p, parentDataProperty: d, roo
4192
4222
  }
4193
4223
  }
4194
4224
  } else {
4195
- const C = {
4225
+ const I = {
4196
4226
  instancePath: t + "/body/" + w.replace(
4197
4227
  /~/g,
4198
4228
  "~0"
@@ -4208,20 +4238,20 @@ function ce(r, { instancePath: t = "", parentData: p, parentDataProperty: d, roo
4208
4238
  message: "must be object"
4209
4239
  };
4210
4240
  s === null ? s = [
4211
- C
4241
+ I
4212
4242
  ] : s.push(
4213
- C
4243
+ I
4214
4244
  ), e++;
4215
4245
  }
4216
4246
  var k = U === e;
4217
- if (x = x || k, !x) {
4218
- const C = e;
4219
- if (e === C)
4220
- if (h && typeof h == "object" && !Array.isArray(
4221
- h
4247
+ if (D = D || k, !D) {
4248
+ const I = e;
4249
+ if (e === I)
4250
+ if (g && typeof g == "object" && !Array.isArray(
4251
+ g
4222
4252
  )) {
4223
4253
  let A;
4224
- if (h.lastModified === void 0 && (A = "lastModified") || h.name === void 0 && (A = "name") || h.size === void 0 && (A = "size") || h.type === void 0 && (A = "type") || h.webkitRelativePath === void 0 && (A = "webkitRelativePath")) {
4254
+ if (g.lastModified === void 0 && (A = "lastModified") || g.name === void 0 && (A = "name") || g.size === void 0 && (A = "size") || g.type === void 0 && (A = "type") || g.webkitRelativePath === void 0 && (A = "webkitRelativePath")) {
4225
4255
  const Z = {
4226
4256
  instancePath: t + "/body/" + w.replace(
4227
4257
  /~/g,
@@ -4244,7 +4274,7 @@ function ce(r, { instancePath: t = "", parentData: p, parentDataProperty: d, roo
4244
4274
  ), e++;
4245
4275
  } else {
4246
4276
  const Z = e;
4247
- for (const B in h)
4277
+ for (const B in g)
4248
4278
  if (!(B === "size" || B === "type" || B === "lastModified" || B === "name" || B === "webkitRelativePath")) {
4249
4279
  const V = {
4250
4280
  instancePath: t + "/body/" + w.replace(
@@ -4269,8 +4299,8 @@ function ce(r, { instancePath: t = "", parentData: p, parentDataProperty: d, roo
4269
4299
  break;
4270
4300
  }
4271
4301
  if (Z === e) {
4272
- if (h.size !== void 0) {
4273
- let B = h.size;
4302
+ if (g.size !== void 0) {
4303
+ let B = g.size;
4274
4304
  const V = e;
4275
4305
  if (!(typeof B == "number" && isFinite(
4276
4306
  B
@@ -4300,9 +4330,9 @@ function ce(r, { instancePath: t = "", parentData: p, parentDataProperty: d, roo
4300
4330
  } else
4301
4331
  var m = !0;
4302
4332
  if (m) {
4303
- if (h.type !== void 0) {
4333
+ if (g.type !== void 0) {
4304
4334
  const B = e;
4305
- if (typeof h.type != "string") {
4335
+ if (typeof g.type != "string") {
4306
4336
  const ie = {
4307
4337
  instancePath: t + "/body/" + w.replace(
4308
4338
  /~/g,
@@ -4328,8 +4358,8 @@ function ce(r, { instancePath: t = "", parentData: p, parentDataProperty: d, roo
4328
4358
  } else
4329
4359
  var m = !0;
4330
4360
  if (m) {
4331
- if (h.lastModified !== void 0) {
4332
- let B = h.lastModified;
4361
+ if (g.lastModified !== void 0) {
4362
+ let B = g.lastModified;
4333
4363
  const V = e;
4334
4364
  if (!(typeof B == "number" && isFinite(
4335
4365
  B
@@ -4359,9 +4389,9 @@ function ce(r, { instancePath: t = "", parentData: p, parentDataProperty: d, roo
4359
4389
  } else
4360
4390
  var m = !0;
4361
4391
  if (m) {
4362
- if (h.name !== void 0) {
4392
+ if (g.name !== void 0) {
4363
4393
  const B = e;
4364
- if (typeof h.name != "string") {
4394
+ if (typeof g.name != "string") {
4365
4395
  const ie = {
4366
4396
  instancePath: t + "/body/" + w.replace(
4367
4397
  /~/g,
@@ -4387,9 +4417,9 @@ function ce(r, { instancePath: t = "", parentData: p, parentDataProperty: d, roo
4387
4417
  } else
4388
4418
  var m = !0;
4389
4419
  if (m)
4390
- if (h.webkitRelativePath !== void 0) {
4420
+ if (g.webkitRelativePath !== void 0) {
4391
4421
  const B = e;
4392
- if (typeof h.webkitRelativePath != "string") {
4422
+ if (typeof g.webkitRelativePath != "string") {
4393
4423
  const ie = {
4394
4424
  instancePath: t + "/body/" + w.replace(
4395
4425
  /~/g,
@@ -4441,11 +4471,11 @@ function ce(r, { instancePath: t = "", parentData: p, parentDataProperty: d, roo
4441
4471
  A
4442
4472
  ), e++;
4443
4473
  }
4444
- var k = C === e;
4445
- x = x || k;
4474
+ var k = I === e;
4475
+ D = D || k;
4446
4476
  }
4447
4477
  }
4448
- if (x)
4478
+ if (D)
4449
4479
  e = L, s !== null && (L ? s.length = L : s = null);
4450
4480
  else {
4451
4481
  const U = {
@@ -4483,8 +4513,8 @@ function ce(r, { instancePath: t = "", parentData: p, parentDataProperty: d, roo
4483
4513
  };
4484
4514
  s === null ? s = [w] : s.push(w), e++;
4485
4515
  }
4486
- var I = P === e;
4487
- ee = ee || I;
4516
+ var x = P === e;
4517
+ ee = ee || x;
4488
4518
  }
4489
4519
  }
4490
4520
  if (ee)
@@ -4701,8 +4731,8 @@ function ne(r, { instancePath: t = "", parentData: p, parentDataProperty: d, roo
4701
4731
  message: "must be string"
4702
4732
  }
4703
4733
  ], !1;
4704
- var g = X === e;
4705
- if (!g)
4734
+ var y = X === e;
4735
+ if (!y)
4706
4736
  break;
4707
4737
  }
4708
4738
  else
@@ -4734,8 +4764,8 @@ function ne(r, { instancePath: t = "", parentData: p, parentDataProperty: d, roo
4734
4764
  };
4735
4765
  s === null ? s = [z] : s.push(z), e++;
4736
4766
  }
4737
- var I = _ === e;
4738
- if (Y = Y || I, !Y) {
4767
+ var x = _ === e;
4768
+ if (Y = Y || x, !Y) {
4739
4769
  const z = e;
4740
4770
  if (e === z)
4741
4771
  if (m && typeof m == "object" && !Array.isArray(m)) {
@@ -4760,7 +4790,7 @@ function ne(r, { instancePath: t = "", parentData: p, parentDataProperty: d, roo
4760
4790
  if (!(typeof v == "number" && isFinite(
4761
4791
  v
4762
4792
  ))) {
4763
- const y = {
4793
+ const h = {
4764
4794
  instancePath: t + "/body/" + E.replace(
4765
4795
  /~/g,
4766
4796
  "~0"
@@ -4776,9 +4806,9 @@ function ne(r, { instancePath: t = "", parentData: p, parentDataProperty: d, roo
4776
4806
  message: "must be number"
4777
4807
  };
4778
4808
  s === null ? s = [
4779
- y
4809
+ h
4780
4810
  ] : s.push(
4781
- y
4811
+ h
4782
4812
  ), e++;
4783
4813
  }
4784
4814
  var S = P === e;
@@ -4818,16 +4848,16 @@ function ne(r, { instancePath: t = "", parentData: p, parentDataProperty: d, roo
4818
4848
  if (E && typeof E == "object" && !Array.isArray(
4819
4849
  E
4820
4850
  )) {
4821
- let y;
4822
- if (E.byteLength === void 0 && (y = "byteLength")) {
4851
+ let h;
4852
+ if (E.byteLength === void 0 && (h = "byteLength")) {
4823
4853
  const w = {
4824
4854
  instancePath: t + "/body/buffer",
4825
4855
  schemaPath: "#/properties/body/anyOf/1/properties/buffer/required",
4826
4856
  keyword: "required",
4827
4857
  params: {
4828
- missingProperty: y
4858
+ missingProperty: h
4829
4859
  },
4830
- message: "must have required property '" + y + "'"
4860
+ message: "must have required property '" + h + "'"
4831
4861
  };
4832
4862
  s === null ? s = [
4833
4863
  w
@@ -4836,14 +4866,14 @@ function ne(r, { instancePath: t = "", parentData: p, parentDataProperty: d, roo
4836
4866
  ), e++;
4837
4867
  } else {
4838
4868
  const w = e;
4839
- for (const h in E)
4840
- if (h !== "byteLength") {
4869
+ for (const g in E)
4870
+ if (g !== "byteLength") {
4841
4871
  const q = {
4842
4872
  instancePath: t + "/body/buffer",
4843
4873
  schemaPath: "#/properties/body/anyOf/1/properties/buffer/additionalProperties",
4844
4874
  keyword: "additionalProperties",
4845
4875
  params: {
4846
- additionalProperty: h
4876
+ additionalProperty: g
4847
4877
  },
4848
4878
  message: "must NOT have additional properties"
4849
4879
  };
@@ -4855,9 +4885,9 @@ function ne(r, { instancePath: t = "", parentData: p, parentDataProperty: d, roo
4855
4885
  break;
4856
4886
  }
4857
4887
  if (w === e && E.byteLength !== void 0) {
4858
- let h = E.byteLength;
4859
- if (!(typeof h == "number" && isFinite(
4860
- h
4888
+ let g = E.byteLength;
4889
+ if (!(typeof g == "number" && isFinite(
4890
+ g
4861
4891
  ))) {
4862
4892
  const q = {
4863
4893
  instancePath: t + "/body/buffer/byteLength",
@@ -4877,7 +4907,7 @@ function ne(r, { instancePath: t = "", parentData: p, parentDataProperty: d, roo
4877
4907
  }
4878
4908
  }
4879
4909
  } else {
4880
- const y = {
4910
+ const h = {
4881
4911
  instancePath: t + "/body/buffer",
4882
4912
  schemaPath: "#/properties/body/anyOf/1/properties/buffer/type",
4883
4913
  keyword: "type",
@@ -4887,9 +4917,9 @@ function ne(r, { instancePath: t = "", parentData: p, parentDataProperty: d, roo
4887
4917
  message: "must be object"
4888
4918
  };
4889
4919
  s === null ? s = [
4890
- y
4920
+ h
4891
4921
  ] : s.push(
4892
- y
4922
+ h
4893
4923
  ), e++;
4894
4924
  }
4895
4925
  var j = v === e;
@@ -4902,7 +4932,7 @@ function ne(r, { instancePath: t = "", parentData: p, parentDataProperty: d, roo
4902
4932
  if (!(typeof E == "number" && isFinite(
4903
4933
  E
4904
4934
  ))) {
4905
- const y = {
4935
+ const h = {
4906
4936
  instancePath: t + "/body/byteLength",
4907
4937
  schemaPath: "#/properties/body/anyOf/1/properties/byteLength/type",
4908
4938
  keyword: "type",
@@ -4912,9 +4942,9 @@ function ne(r, { instancePath: t = "", parentData: p, parentDataProperty: d, roo
4912
4942
  message: "must be number"
4913
4943
  };
4914
4944
  s === null ? s = [
4915
- y
4945
+ h
4916
4946
  ] : s.push(
4917
- y
4947
+ h
4918
4948
  ), e++;
4919
4949
  }
4920
4950
  var j = v === e;
@@ -4927,7 +4957,7 @@ function ne(r, { instancePath: t = "", parentData: p, parentDataProperty: d, roo
4927
4957
  if (!(typeof E == "number" && isFinite(
4928
4958
  E
4929
4959
  ))) {
4930
- const y = {
4960
+ const h = {
4931
4961
  instancePath: t + "/body/byteOffset",
4932
4962
  schemaPath: "#/properties/body/anyOf/1/properties/byteOffset/type",
4933
4963
  keyword: "type",
@@ -4937,9 +4967,9 @@ function ne(r, { instancePath: t = "", parentData: p, parentDataProperty: d, roo
4937
4967
  message: "must be number"
4938
4968
  };
4939
4969
  s === null ? s = [
4940
- y
4970
+ h
4941
4971
  ] : s.push(
4942
- y
4972
+ h
4943
4973
  ), e++;
4944
4974
  }
4945
4975
  var j = v === e;
@@ -4952,7 +4982,7 @@ function ne(r, { instancePath: t = "", parentData: p, parentDataProperty: d, roo
4952
4982
  if (!(typeof E == "number" && isFinite(
4953
4983
  E
4954
4984
  ))) {
4955
- const y = {
4985
+ const h = {
4956
4986
  instancePath: t + "/body/length",
4957
4987
  schemaPath: "#/properties/body/anyOf/1/properties/length/type",
4958
4988
  keyword: "type",
@@ -4962,9 +4992,9 @@ function ne(r, { instancePath: t = "", parentData: p, parentDataProperty: d, roo
4962
4992
  message: "must be number"
4963
4993
  };
4964
4994
  s === null ? s = [
4965
- y
4995
+ h
4966
4996
  ] : s.push(
4967
- y
4997
+ h
4968
4998
  ), e++;
4969
4999
  }
4970
5000
  var j = v === e;
@@ -4987,8 +5017,8 @@ function ne(r, { instancePath: t = "", parentData: p, parentDataProperty: d, roo
4987
5017
  };
4988
5018
  s === null ? s = [c] : s.push(c), e++;
4989
5019
  }
4990
- var I = z === e;
4991
- Y = Y || I;
5020
+ var x = z === e;
5021
+ Y = Y || x;
4992
5022
  }
4993
5023
  if (Y)
4994
5024
  e = M, s !== null && (M ? s.length = M : s = null);
@@ -5254,10 +5284,10 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: d, root
5254
5284
  message: "must be object"
5255
5285
  }
5256
5286
  ], !1;
5257
- var g = n === e;
5287
+ var y = n === e;
5258
5288
  } else
5259
- var g = !0;
5260
- if (g) {
5289
+ var y = !0;
5290
+ if (y) {
5261
5291
  if (r.step !== void 0) {
5262
5292
  let i = r.step;
5263
5293
  const n = e;
@@ -5285,10 +5315,10 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: d, root
5285
5315
  message: "must be equal to constant"
5286
5316
  }
5287
5317
  ], !1;
5288
- var g = n === e;
5318
+ var y = n === e;
5289
5319
  } else
5290
- var g = !0;
5291
- if (g) {
5320
+ var y = !0;
5321
+ if (y) {
5292
5322
  if (r.pluginPath !== void 0) {
5293
5323
  const i = e;
5294
5324
  if (typeof r.pluginPath != "string")
@@ -5303,10 +5333,10 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: d, root
5303
5333
  message: "must be string"
5304
5334
  }
5305
5335
  ], !1;
5306
- var g = i === e;
5336
+ var y = i === e;
5307
5337
  } else
5308
- var g = !0;
5309
- if (g)
5338
+ var y = !0;
5339
+ if (y)
5310
5340
  if (r.pluginName !== void 0) {
5311
5341
  const i = e;
5312
5342
  if (typeof r.pluginName != "string")
@@ -5321,9 +5351,9 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: d, root
5321
5351
  message: "must be string"
5322
5352
  }
5323
5353
  ], !1;
5324
- var g = i === e;
5354
+ var y = i === e;
5325
5355
  } else
5326
- var g = !0;
5356
+ var y = !0;
5327
5357
  }
5328
5358
  }
5329
5359
  }
@@ -5407,10 +5437,10 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: d, root
5407
5437
  message: "must be number"
5408
5438
  }
5409
5439
  ], !1;
5410
- var I = $ === e;
5440
+ var x = $ === e;
5411
5441
  } else
5412
- var I = !0;
5413
- if (I)
5442
+ var x = !0;
5443
+ if (x)
5414
5444
  if (i.caption !== void 0) {
5415
5445
  const a = e;
5416
5446
  if (typeof i.caption != "string")
@@ -5425,9 +5455,9 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: d, root
5425
5455
  message: "must be string"
5426
5456
  }
5427
5457
  ], !1;
5428
- var I = a === e;
5458
+ var x = a === e;
5429
5459
  } else
5430
- var I = !0;
5460
+ var x = !0;
5431
5461
  }
5432
5462
  } else
5433
5463
  return o.errors = [
@@ -7076,10 +7106,10 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: d, root
7076
7106
  message: "must be boolean"
7077
7107
  }
7078
7108
  ], !1;
7079
- var y = te === e;
7109
+ var h = te === e;
7080
7110
  } else
7081
- var y = !0;
7082
- if (y)
7111
+ var h = !0;
7112
+ if (h)
7083
7113
  if (i.targetFolderName !== void 0) {
7084
7114
  const te = e;
7085
7115
  if (typeof i.targetFolderName != "string")
@@ -7094,9 +7124,9 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: d, root
7094
7124
  message: "must be string"
7095
7125
  }
7096
7126
  ], !1;
7097
- var y = te === e;
7127
+ var h = te === e;
7098
7128
  } else
7099
- var y = !0;
7129
+ var h = !0;
7100
7130
  }
7101
7131
  } else
7102
7132
  return o.errors = [
@@ -7232,10 +7262,10 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: d, root
7232
7262
  message: "must be object"
7233
7263
  }
7234
7264
  ], !1;
7235
- var h = n === e;
7265
+ var g = n === e;
7236
7266
  } else
7237
- var h = !0;
7238
- if (h) {
7267
+ var g = !0;
7268
+ if (g) {
7239
7269
  if (r.ifAlreadyInstalled !== void 0) {
7240
7270
  let i = r.ifAlreadyInstalled;
7241
7271
  const n = e;
@@ -7263,10 +7293,10 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: d, root
7263
7293
  message: "must be equal to one of the allowed values"
7264
7294
  }
7265
7295
  ], !1;
7266
- var h = n === e;
7296
+ var g = n === e;
7267
7297
  } else
7268
- var h = !0;
7269
- if (h) {
7298
+ var g = !0;
7299
+ if (g) {
7270
7300
  if (r.step !== void 0) {
7271
7301
  let i = r.step;
7272
7302
  const n = e;
@@ -7294,10 +7324,10 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: d, root
7294
7324
  message: "must be equal to constant"
7295
7325
  }
7296
7326
  ], !1;
7297
- var h = n === e;
7327
+ var g = n === e;
7298
7328
  } else
7299
- var h = !0;
7300
- if (h) {
7329
+ var g = !0;
7330
+ if (g) {
7301
7331
  if (r.themeData !== void 0) {
7302
7332
  let i = r.themeData;
7303
7333
  const n = e, T = e;
@@ -7347,10 +7377,10 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: d, root
7347
7377
  oe
7348
7378
  ), e++, o.errors = s, !1;
7349
7379
  }
7350
- var h = n === e;
7380
+ var g = n === e;
7351
7381
  } else
7352
- var h = !0;
7353
- if (h) {
7382
+ var g = !0;
7383
+ if (g) {
7354
7384
  if (r.themeZipFile !== void 0) {
7355
7385
  const i = e;
7356
7386
  Q(
@@ -7364,10 +7394,10 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: d, root
7364
7394
  ) || (s = s === null ? Q.errors : s.concat(
7365
7395
  Q.errors
7366
7396
  ), e = s.length);
7367
- var h = i === e;
7397
+ var g = i === e;
7368
7398
  } else
7369
- var h = !0;
7370
- if (h)
7399
+ var g = !0;
7400
+ if (g)
7371
7401
  if (r.options !== void 0) {
7372
7402
  let i = r.options;
7373
7403
  const n = e;
@@ -7457,9 +7487,9 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: d, root
7457
7487
  message: "must be object"
7458
7488
  }
7459
7489
  ], !1;
7460
- var h = n === e;
7490
+ var g = n === e;
7461
7491
  } else
7462
- var h = !0;
7492
+ var g = !0;
7463
7493
  }
7464
7494
  }
7465
7495
  }
@@ -7545,10 +7575,10 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: d, root
7545
7575
  message: "must be number"
7546
7576
  }
7547
7577
  ], !1;
7548
- var x = $ === e;
7578
+ var D = $ === e;
7549
7579
  } else
7550
- var x = !0;
7551
- if (x)
7580
+ var D = !0;
7581
+ if (D)
7552
7582
  if (i.caption !== void 0) {
7553
7583
  const a = e;
7554
7584
  if (typeof i.caption != "string")
@@ -7563,9 +7593,9 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: d, root
7563
7593
  message: "must be string"
7564
7594
  }
7565
7595
  ], !1;
7566
- var x = a === e;
7596
+ var D = a === e;
7567
7597
  } else
7568
- var x = !0;
7598
+ var D = !0;
7569
7599
  }
7570
7600
  } else
7571
7601
  return o.errors = [
@@ -7766,10 +7796,10 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: d, root
7766
7796
  message: "must be object"
7767
7797
  }
7768
7798
  ], !1;
7769
- var D = n === e;
7799
+ var C = n === e;
7770
7800
  } else
7771
- var D = !0;
7772
- if (D) {
7801
+ var C = !0;
7802
+ if (C) {
7773
7803
  if (r.step !== void 0) {
7774
7804
  let i = r.step;
7775
7805
  const n = e;
@@ -7797,10 +7827,10 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: d, root
7797
7827
  message: "must be equal to constant"
7798
7828
  }
7799
7829
  ], !1;
7800
- var D = n === e;
7830
+ var C = n === e;
7801
7831
  } else
7802
- var D = !0;
7803
- if (D)
7832
+ var C = !0;
7833
+ if (C)
7804
7834
  if (r.path !== void 0) {
7805
7835
  const i = e;
7806
7836
  if (typeof r.path != "string")
@@ -7815,9 +7845,9 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: d, root
7815
7845
  message: "must be string"
7816
7846
  }
7817
7847
  ], !1;
7818
- var D = i === e;
7848
+ var C = i === e;
7819
7849
  } else
7820
- var D = !0;
7850
+ var C = !0;
7821
7851
  }
7822
7852
  }
7823
7853
  }
@@ -7900,10 +7930,10 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: d, root
7900
7930
  message: "must be number"
7901
7931
  }
7902
7932
  ], !1;
7903
- var C = $ === e;
7933
+ var I = $ === e;
7904
7934
  } else
7905
- var C = !0;
7906
- if (C)
7935
+ var I = !0;
7936
+ if (I)
7907
7937
  if (i.caption !== void 0) {
7908
7938
  const a = e;
7909
7939
  if (typeof i.caption != "string")
@@ -7918,9 +7948,9 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: d, root
7918
7948
  message: "must be string"
7919
7949
  }
7920
7950
  ], !1;
7921
- var C = a === e;
7951
+ var I = a === e;
7922
7952
  } else
7923
- var C = !0;
7953
+ var I = !0;
7924
7954
  }
7925
7955
  } else
7926
7956
  return o.errors = [
@@ -11169,22 +11199,22 @@ function H(r, { instancePath: t = "", parentData: p, parentDataProperty: d, root
11169
11199
  ], !1;
11170
11200
  {
11171
11201
  const P = e;
11172
- for (const y in c)
11173
- if (!(y === "title" || y === "description" || y === "author" || y === "categories"))
11202
+ for (const h in c)
11203
+ if (!(h === "title" || h === "description" || h === "author" || h === "categories"))
11174
11204
  return H.errors = [
11175
11205
  {
11176
11206
  instancePath: t + "/meta",
11177
11207
  schemaPath: "#/properties/meta/additionalProperties",
11178
11208
  keyword: "additionalProperties",
11179
11209
  params: {
11180
- additionalProperty: y
11210
+ additionalProperty: h
11181
11211
  },
11182
11212
  message: "must NOT have additional properties"
11183
11213
  }
11184
11214
  ], !1;
11185
11215
  if (P === e) {
11186
11216
  if (c.title !== void 0) {
11187
- const y = e;
11217
+ const h = e;
11188
11218
  if (typeof c.title != "string")
11189
11219
  return H.errors = [
11190
11220
  {
@@ -11197,12 +11227,12 @@ function H(r, { instancePath: t = "", parentData: p, parentDataProperty: d, root
11197
11227
  message: "must be string"
11198
11228
  }
11199
11229
  ], !1;
11200
- var g = y === e;
11230
+ var y = h === e;
11201
11231
  } else
11202
- var g = !0;
11203
- if (g) {
11232
+ var y = !0;
11233
+ if (y) {
11204
11234
  if (c.description !== void 0) {
11205
- const y = e;
11235
+ const h = e;
11206
11236
  if (typeof c.description != "string")
11207
11237
  return H.errors = [
11208
11238
  {
@@ -11215,12 +11245,12 @@ function H(r, { instancePath: t = "", parentData: p, parentDataProperty: d, root
11215
11245
  message: "must be string"
11216
11246
  }
11217
11247
  ], !1;
11218
- var g = y === e;
11248
+ var y = h === e;
11219
11249
  } else
11220
- var g = !0;
11221
- if (g) {
11250
+ var y = !0;
11251
+ if (y) {
11222
11252
  if (c.author !== void 0) {
11223
- const y = e;
11253
+ const h = e;
11224
11254
  if (typeof c.author != "string")
11225
11255
  return H.errors = [
11226
11256
  {
@@ -11233,22 +11263,22 @@ function H(r, { instancePath: t = "", parentData: p, parentDataProperty: d, root
11233
11263
  message: "must be string"
11234
11264
  }
11235
11265
  ], !1;
11236
- var g = y === e;
11266
+ var y = h === e;
11237
11267
  } else
11238
- var g = !0;
11239
- if (g)
11268
+ var y = !0;
11269
+ if (y)
11240
11270
  if (c.categories !== void 0) {
11241
- let y = c.categories;
11271
+ let h = c.categories;
11242
11272
  const w = e;
11243
11273
  if (e === w)
11244
11274
  if (Array.isArray(
11245
- y
11275
+ h
11246
11276
  )) {
11247
- var I = !0;
11248
- const q = y.length;
11277
+ var x = !0;
11278
+ const q = h.length;
11249
11279
  for (let L = 0; L < q; L++) {
11250
- const x = e;
11251
- if (typeof y[L] != "string")
11280
+ const D = e;
11281
+ if (typeof h[L] != "string")
11252
11282
  return H.errors = [
11253
11283
  {
11254
11284
  instancePath: t + "/meta/categories/" + L,
@@ -11260,8 +11290,8 @@ function H(r, { instancePath: t = "", parentData: p, parentDataProperty: d, root
11260
11290
  message: "must be string"
11261
11291
  }
11262
11292
  ], !1;
11263
- var I = x === e;
11264
- if (!I)
11293
+ var x = D === e;
11294
+ if (!x)
11265
11295
  break;
11266
11296
  }
11267
11297
  } else
@@ -11276,9 +11306,9 @@ function H(r, { instancePath: t = "", parentData: p, parentDataProperty: d, root
11276
11306
  message: "must be array"
11277
11307
  }
11278
11308
  ], !1;
11279
- var g = w === e;
11309
+ var y = w === e;
11280
11310
  } else
11281
- var g = !0;
11311
+ var y = !0;
11282
11312
  }
11283
11313
  }
11284
11314
  }
@@ -11317,27 +11347,27 @@ function H(r, { instancePath: t = "", parentData: p, parentDataProperty: d, root
11317
11347
  ], !1;
11318
11348
  {
11319
11349
  const P = e;
11320
- for (const y in c)
11321
- if (!(y === "php" || y === "wp"))
11350
+ for (const h in c)
11351
+ if (!(h === "php" || h === "wp"))
11322
11352
  return H.errors = [
11323
11353
  {
11324
11354
  instancePath: t + "/preferredVersions",
11325
11355
  schemaPath: "#/properties/preferredVersions/additionalProperties",
11326
11356
  keyword: "additionalProperties",
11327
11357
  params: {
11328
- additionalProperty: y
11358
+ additionalProperty: h
11329
11359
  },
11330
11360
  message: "must NOT have additional properties"
11331
11361
  }
11332
11362
  ], !1;
11333
11363
  if (P === e) {
11334
11364
  if (c.php !== void 0) {
11335
- let y = c.php;
11336
- const w = e, h = e;
11365
+ let h = c.php;
11366
+ const w = e, g = e;
11337
11367
  let q = !1;
11338
11368
  const L = e;
11339
- if (typeof y != "string") {
11340
- const x = {
11369
+ if (typeof h != "string") {
11370
+ const D = {
11341
11371
  instancePath: t + "/preferredVersions/php",
11342
11372
  schemaPath: "#/definitions/SupportedPHPVersion/type",
11343
11373
  keyword: "type",
@@ -11346,10 +11376,10 @@ function H(r, { instancePath: t = "", parentData: p, parentDataProperty: d, root
11346
11376
  },
11347
11377
  message: "must be string"
11348
11378
  };
11349
- s === null ? s = [x] : s.push(x), e++;
11379
+ s === null ? s = [D] : s.push(D), e++;
11350
11380
  }
11351
- if (!(y === "8.4" || y === "8.3" || y === "8.2" || y === "8.1" || y === "8.0" || y === "7.4" || y === "7.3" || y === "7.2")) {
11352
- const x = {
11381
+ if (!(h === "8.4" || h === "8.3" || h === "8.2" || h === "8.1" || h === "8.0" || h === "7.4" || h === "7.3" || h === "7.2")) {
11382
+ const D = {
11353
11383
  instancePath: t + "/preferredVersions/php",
11354
11384
  schemaPath: "#/definitions/SupportedPHPVersion/enum",
11355
11385
  keyword: "enum",
@@ -11358,12 +11388,12 @@ function H(r, { instancePath: t = "", parentData: p, parentDataProperty: d, root
11358
11388
  },
11359
11389
  message: "must be equal to one of the allowed values"
11360
11390
  };
11361
- s === null ? s = [x] : s.push(x), e++;
11391
+ s === null ? s = [D] : s.push(D), e++;
11362
11392
  }
11363
11393
  var S = L === e;
11364
11394
  if (q = q || S, !q) {
11365
- const x = e;
11366
- if (typeof y != "string") {
11395
+ const D = e;
11396
+ if (typeof h != "string") {
11367
11397
  const U = {
11368
11398
  instancePath: t + "/preferredVersions/php",
11369
11399
  schemaPath: "#/properties/preferredVersions/properties/php/anyOf/1/type",
@@ -11379,7 +11409,7 @@ function H(r, { instancePath: t = "", parentData: p, parentDataProperty: d, root
11379
11409
  U
11380
11410
  ), e++;
11381
11411
  }
11382
- if (y !== "latest") {
11412
+ if (h !== "latest") {
11383
11413
  const U = {
11384
11414
  instancePath: t + "/preferredVersions/php",
11385
11415
  schemaPath: "#/properties/preferredVersions/properties/php/anyOf/1/const",
@@ -11395,27 +11425,27 @@ function H(r, { instancePath: t = "", parentData: p, parentDataProperty: d, root
11395
11425
  U
11396
11426
  ), e++;
11397
11427
  }
11398
- var S = x === e;
11428
+ var S = D === e;
11399
11429
  q = q || S;
11400
11430
  }
11401
11431
  if (q)
11402
- e = h, s !== null && (h ? s.length = h : s = null);
11432
+ e = g, s !== null && (g ? s.length = g : s = null);
11403
11433
  else {
11404
- const x = {
11434
+ const D = {
11405
11435
  instancePath: t + "/preferredVersions/php",
11406
11436
  schemaPath: "#/properties/preferredVersions/properties/php/anyOf",
11407
11437
  keyword: "anyOf",
11408
11438
  params: {},
11409
11439
  message: "must match a schema in anyOf"
11410
11440
  };
11411
- return s === null ? s = [x] : s.push(x), e++, H.errors = s, !1;
11441
+ return s === null ? s = [D] : s.push(D), e++, H.errors = s, !1;
11412
11442
  }
11413
11443
  var j = w === e;
11414
11444
  } else
11415
11445
  var j = !0;
11416
11446
  if (j)
11417
11447
  if (c.wp !== void 0) {
11418
- const y = e;
11448
+ const h = e;
11419
11449
  if (typeof c.wp != "string")
11420
11450
  return H.errors = [
11421
11451
  {
@@ -11428,7 +11458,7 @@ function H(r, { instancePath: t = "", parentData: p, parentDataProperty: d, root
11428
11458
  message: "must be string"
11429
11459
  }
11430
11460
  ], !1;
11431
- var j = y === e;
11461
+ var j = h === e;
11432
11462
  } else
11433
11463
  var j = !0;
11434
11464
  }
@@ -11525,9 +11555,9 @@ function H(r, { instancePath: t = "", parentData: p, parentDataProperty: d, root
11525
11555
  var O = !0;
11526
11556
  const v = c.length;
11527
11557
  for (let P = 0; P < v; P++) {
11528
- let y = c[P];
11558
+ let h = c[P];
11529
11559
  const w = e;
11530
- if (typeof y != "string")
11560
+ if (typeof h != "string")
11531
11561
  return H.errors = [
11532
11562
  {
11533
11563
  instancePath: t + "/extraLibraries/" + P,
@@ -11539,7 +11569,7 @@ function H(r, { instancePath: t = "", parentData: p, parentDataProperty: d, root
11539
11569
  message: "must be string"
11540
11570
  }
11541
11571
  ], !1;
11542
- if (y !== "wp-cli")
11572
+ if (h !== "wp-cli")
11543
11573
  return H.errors = [
11544
11574
  {
11545
11575
  instancePath: t + "/extraLibraries/" + P,
@@ -11577,9 +11607,9 @@ function H(r, { instancePath: t = "", parentData: p, parentDataProperty: d, root
11577
11607
  if (e === e)
11578
11608
  if (c && typeof c == "object" && !Array.isArray(c))
11579
11609
  for (const P in c) {
11580
- let y = c[P];
11610
+ let h = c[P];
11581
11611
  const w = e;
11582
- if (typeof y != "string" && typeof y != "boolean" && !(typeof y == "number" && isFinite(y)))
11612
+ if (typeof h != "string" && typeof h != "boolean" && !(typeof h == "number" && isFinite(h)))
11583
11613
  return H.errors = [
11584
11614
  {
11585
11615
  instancePath: t + "/constants/" + P.replace(
@@ -11625,11 +11655,11 @@ function H(r, { instancePath: t = "", parentData: p, parentDataProperty: d, root
11625
11655
  var m = !0;
11626
11656
  const v = c.length;
11627
11657
  for (let P = 0; P < v; P++) {
11628
- let y = c[P];
11629
- const w = e, h = e;
11658
+ let h = c[P];
11659
+ const w = e, g = e;
11630
11660
  let q = !1;
11631
11661
  const L = e;
11632
- if (typeof y != "string") {
11662
+ if (typeof h != "string") {
11633
11663
  const F = {
11634
11664
  instancePath: t + "/plugins/" + P,
11635
11665
  schemaPath: "#/properties/plugins/items/anyOf/0/type",
@@ -11649,7 +11679,7 @@ function H(r, { instancePath: t = "", parentData: p, parentDataProperty: d, root
11649
11679
  if (q = q || W, !q) {
11650
11680
  const F = e;
11651
11681
  Q(
11652
- y,
11682
+ h,
11653
11683
  {
11654
11684
  instancePath: t + "/plugins/" + P,
11655
11685
  parentData: c,
@@ -11663,7 +11693,7 @@ function H(r, { instancePath: t = "", parentData: p, parentDataProperty: d, root
11663
11693
  q = q || W;
11664
11694
  }
11665
11695
  if (q)
11666
- e = h, s !== null && (h ? s.length = h : s = null);
11696
+ e = g, s !== null && (g ? s.length = g : s = null);
11667
11697
  else {
11668
11698
  const F = {
11669
11699
  instancePath: t + "/plugins/" + P,
@@ -11708,7 +11738,7 @@ function H(r, { instancePath: t = "", parentData: p, parentDataProperty: d, root
11708
11738
  const v = e;
11709
11739
  for (const P in c)
11710
11740
  if (P !== "blogname") {
11711
- const y = e;
11741
+ const h = e;
11712
11742
  if (typeof c[P] != "string")
11713
11743
  return H.errors = [
11714
11744
  {
@@ -11727,7 +11757,7 @@ function H(r, { instancePath: t = "", parentData: p, parentDataProperty: d, root
11727
11757
  message: "must be string"
11728
11758
  }
11729
11759
  ], !1;
11730
- var M = y === e;
11760
+ var M = h === e;
11731
11761
  if (!M)
11732
11762
  break;
11733
11763
  }
@@ -11805,14 +11835,14 @@ function H(r, { instancePath: t = "", parentData: p, parentDataProperty: d, root
11805
11835
  ), e++;
11806
11836
  } else {
11807
11837
  const L = e;
11808
- for (const x in c)
11809
- if (!(x === "username" || x === "password")) {
11838
+ for (const D in c)
11839
+ if (!(D === "username" || D === "password")) {
11810
11840
  const F = {
11811
11841
  instancePath: t + "/login",
11812
11842
  schemaPath: "#/properties/login/anyOf/1/additionalProperties",
11813
11843
  keyword: "additionalProperties",
11814
11844
  params: {
11815
- additionalProperty: x
11845
+ additionalProperty: D
11816
11846
  },
11817
11847
  message: "must NOT have additional properties"
11818
11848
  };
@@ -11825,7 +11855,7 @@ function H(r, { instancePath: t = "", parentData: p, parentDataProperty: d, root
11825
11855
  }
11826
11856
  if (L === e) {
11827
11857
  if (c.username !== void 0) {
11828
- const x = e;
11858
+ const D = e;
11829
11859
  if (typeof c.username != "string") {
11830
11860
  const F = {
11831
11861
  instancePath: t + "/login/username",
@@ -11842,12 +11872,12 @@ function H(r, { instancePath: t = "", parentData: p, parentDataProperty: d, root
11842
11872
  F
11843
11873
  ), e++;
11844
11874
  }
11845
- var _ = x === e;
11875
+ var _ = D === e;
11846
11876
  } else
11847
11877
  var _ = !0;
11848
11878
  if (_)
11849
11879
  if (c.password !== void 0) {
11850
- const x = e;
11880
+ const D = e;
11851
11881
  if (typeof c.password != "string") {
11852
11882
  const U = {
11853
11883
  instancePath: t + "/login/password",
@@ -11864,7 +11894,7 @@ function H(r, { instancePath: t = "", parentData: p, parentDataProperty: d, root
11864
11894
  U
11865
11895
  ), e++;
11866
11896
  }
11867
- var _ = x === e;
11897
+ var _ = D === e;
11868
11898
  } else
11869
11899
  var _ = !0;
11870
11900
  }
@@ -11918,12 +11948,12 @@ function H(r, { instancePath: t = "", parentData: p, parentDataProperty: d, root
11918
11948
  var X = !0;
11919
11949
  const v = c.length;
11920
11950
  for (let P = 0; P < v; P++) {
11921
- let y = c[P];
11922
- const w = e, h = e;
11951
+ let h = c[P];
11952
+ const w = e, g = e;
11923
11953
  let q = !1;
11924
11954
  const L = e;
11925
11955
  o(
11926
- y,
11956
+ h,
11927
11957
  {
11928
11958
  instancePath: t + "/steps/" + P,
11929
11959
  parentData: c,
@@ -11936,8 +11966,8 @@ function H(r, { instancePath: t = "", parentData: p, parentDataProperty: d, root
11936
11966
  var z = L === e;
11937
11967
  if (q = q || z, !q) {
11938
11968
  const F = e;
11939
- if (typeof y != "string") {
11940
- const D = {
11969
+ if (typeof h != "string") {
11970
+ const C = {
11941
11971
  instancePath: t + "/steps/" + P,
11942
11972
  schemaPath: "#/properties/steps/items/anyOf/1/type",
11943
11973
  keyword: "type",
@@ -11947,14 +11977,14 @@ function H(r, { instancePath: t = "", parentData: p, parentDataProperty: d, root
11947
11977
  message: "must be string"
11948
11978
  };
11949
11979
  s === null ? s = [
11950
- D
11980
+ C
11951
11981
  ] : s.push(
11952
- D
11982
+ C
11953
11983
  ), e++;
11954
11984
  }
11955
11985
  var z = F === e;
11956
11986
  if (q = q || z, !q) {
11957
- const D = e, C = {
11987
+ const C = e, I = {
11958
11988
  instancePath: t + "/steps/" + P,
11959
11989
  schemaPath: "#/properties/steps/items/anyOf/2/not",
11960
11990
  keyword: "not",
@@ -11962,14 +11992,14 @@ function H(r, { instancePath: t = "", parentData: p, parentDataProperty: d, root
11962
11992
  message: "must NOT be valid"
11963
11993
  };
11964
11994
  s === null ? s = [
11965
- C
11995
+ I
11966
11996
  ] : s.push(
11967
- C
11997
+ I
11968
11998
  ), e++;
11969
- var z = D === e;
11999
+ var z = C === e;
11970
12000
  if (q = q || z, !q) {
11971
12001
  const A = e;
11972
- if (typeof y != "boolean") {
12002
+ if (typeof h != "boolean") {
11973
12003
  const B = {
11974
12004
  instancePath: t + "/steps/" + P,
11975
12005
  schemaPath: "#/properties/steps/items/anyOf/3/type",
@@ -11985,7 +12015,7 @@ function H(r, { instancePath: t = "", parentData: p, parentDataProperty: d, root
11985
12015
  B
11986
12016
  ), e++;
11987
12017
  }
11988
- if (y !== !1) {
12018
+ if (h !== !1) {
11989
12019
  const B = {
11990
12020
  instancePath: t + "/steps/" + P,
11991
12021
  schemaPath: "#/properties/steps/items/anyOf/3/const",
@@ -12004,7 +12034,7 @@ function H(r, { instancePath: t = "", parentData: p, parentDataProperty: d, root
12004
12034
  var z = A === e;
12005
12035
  if (q = q || z, !q) {
12006
12036
  const B = e;
12007
- if (y !== null) {
12037
+ if (h !== null) {
12008
12038
  const ie = {
12009
12039
  instancePath: t + "/steps/" + P,
12010
12040
  schemaPath: "#/properties/steps/items/anyOf/4/type",
@@ -12027,7 +12057,7 @@ function H(r, { instancePath: t = "", parentData: p, parentDataProperty: d, root
12027
12057
  }
12028
12058
  }
12029
12059
  if (q)
12030
- e = h, s !== null && (h ? s.length = h : s = null);
12060
+ e = g, s !== null && (g ? s.length = g : s = null);
12031
12061
  else {
12032
12062
  const F = {
12033
12063
  instancePath: t + "/steps/" + P,
@@ -12194,10 +12224,10 @@ function Qt(r, {
12194
12224
  b
12195
12225
  );
12196
12226
  }
12197
- const g = (Y = r.steps) == null ? void 0 : Y.findIndex(
12227
+ const y = (Y = r.steps) == null ? void 0 : Y.findIndex(
12198
12228
  (b) => typeof b == "object" && (b == null ? void 0 : b.step) === "importWxr"
12199
12229
  );
12200
- g !== void 0 && g > -1 && ((_ = r.steps) == null || _.splice(g, 0, {
12230
+ y !== void 0 && y > -1 && ((_ = r.steps) == null || _.splice(y, 0, {
12201
12231
  step: "installPlugin",
12202
12232
  pluginData: {
12203
12233
  resource: "url",
@@ -12205,8 +12235,8 @@ function Qt(r, {
12205
12235
  caption: "Downloading the WordPress Importer plugin"
12206
12236
  }
12207
12237
  }));
12208
- const { valid: I, errors: S } = Jt(r);
12209
- if (!I) {
12238
+ const { valid: x, errors: S } = Jt(r);
12239
+ if (!x) {
12210
12240
  const b = new Error(
12211
12241
  `Invalid blueprint: ${S[0].message} at ${S[0].instancePath}`
12212
12242
  );
@@ -12251,14 +12281,14 @@ function Qt(r, {
12251
12281
  });
12252
12282
  for (const [E, { run: v, step: P }] of Object.entries(O))
12253
12283
  try {
12254
- const y = await v(b);
12255
- d(y, P);
12256
- } catch (y) {
12284
+ const h = await v(b);
12285
+ d(h, P);
12286
+ } catch (h) {
12257
12287
  throw new Error(
12258
12288
  `Error when executing the blueprint step #${E} (${JSON.stringify(
12259
12289
  P
12260
- )}) ${y instanceof Error ? `: ${y.message}` : y}`,
12261
- { cause: y }
12290
+ )}) ${h instanceof Error ? `: ${h.message}` : h}`,
12291
+ { cause: h }
12262
12292
  );
12263
12293
  }
12264
12294
  } finally {
@@ -12319,7 +12349,7 @@ function rs(r, {
12319
12349
  streamBundledFile: s
12320
12350
  })), f[O] = R;
12321
12351
  }
12322
- const g = async (O) => {
12352
+ const y = async (O) => {
12323
12353
  var R;
12324
12354
  try {
12325
12355
  return e.fillSlowly(), await Yt[r.step](
@@ -12333,12 +12363,12 @@ function rs(r, {
12333
12363
  } finally {
12334
12364
  e.finish();
12335
12365
  }
12336
- }, I = cr(f), S = cr(f).filter(
12366
+ }, x = cr(f), S = cr(f).filter(
12337
12367
  (O) => O.isAsync
12338
12368
  ), j = 1 / (S.length + 1);
12339
12369
  for (const O of S)
12340
12370
  O.progress = e.stage(j);
12341
- return { run: g, step: r, resources: I };
12371
+ return { run: y, step: r, resources: x };
12342
12372
  }
12343
12373
  function cr(r) {
12344
12374
  const t = [];