@wp-playground/blueprints 1.0.3 → 1.0.5

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
@@ -116,20 +116,16 @@ const hr = [
116
116
  require_once ${i.docroot} . '/wp-load.php';
117
117
 
118
118
  $handle = fopen(${i.sqlFilename}, 'r');
119
- $buffer = '';
120
119
 
121
120
  global $wpdb;
122
121
 
123
- while ($bytes = fgets($handle)) {
124
- $buffer .= $bytes;
125
-
126
- if (!feof($handle) && substr($buffer, -1, 1) !== "
127
- ") {
122
+ while ($line = fgets($handle)) {
123
+ if(trim($line, "
124
+ ;") === '') {
128
125
  continue;
129
126
  }
130
127
 
131
- $wpdb->query($buffer);
132
- $buffer = '';
128
+ $wpdb->query($line);
133
129
  }
134
130
  `
135
131
  });
@@ -623,7 +619,7 @@ const Jr = async (r, { wpCliPath: t }) => {
623
619
  home: h
624
620
  }
625
621
  }), await _r(r, {
626
- command: `wp core multisite-convert --base="${c}"`
622
+ command: "wp core multisite-convert"
627
623
  });
628
624
  }, Kr = async (r, { fromPath: t, toPath: p }) => {
629
625
  await r.writeFile(
@@ -747,14 +743,14 @@ const Jr = async (r, { wpCliPath: t }) => {
747
743
  extractToPath: h
748
744
  }), h = ie(h, p);
749
745
  const i = ie(h, "wp-content"), e = ie(c, "wp-content");
750
- for (const j of hr) {
746
+ for (const q of hr) {
751
747
  const P = ie(
752
748
  i,
753
- j
749
+ q
754
750
  );
755
751
  await dr(r, P);
756
- const E = ie(e, j);
757
- await r.fileExists(E) && (await r.mkdir(mr(P)), await r.mv(E, P));
752
+ const $ = ie(e, q);
753
+ await r.fileExists($) && (await r.mkdir(mr(P)), await r.mv($, P));
758
754
  }
759
755
  const d = ie(
760
756
  h,
@@ -766,10 +762,10 @@ const Jr = async (r, { wpCliPath: t }) => {
766
762
  d
767
763
  );
768
764
  const g = await r.listFiles(h);
769
- for (const j of g)
770
- await dr(r, ie(c, j)), await r.mv(
771
- ie(h, j),
772
- ie(c, j)
765
+ for (const q of g)
766
+ await dr(r, ie(c, q)), await r.mv(
767
+ ie(h, q),
768
+ ie(c, q)
773
769
  );
774
770
  await r.rmdir(h), await Or(r, {
775
771
  siteUrl: await r.absoluteUrl
@@ -808,18 +804,18 @@ async function Er(r, {
808
804
  zipFile: p,
809
805
  extractToPath: x
810
806
  });
811
- let j = await r.listFiles(x, {
807
+ let q = await r.listFiles(x, {
812
808
  prependPath: !0
813
809
  });
814
- j = j.filter((y) => !y.endsWith("/__MACOSX"));
815
- const P = j.length === 1 && await r.isDir(j[0]);
816
- let E, L = "";
817
- P ? (L = j[0], E = j[0].split("/").pop()) : (L = x, E = e), h && h.length && (E = h);
818
- const N = `${t}/${E}`;
810
+ q = q.filter((m) => !m.endsWith("/__MACOSX"));
811
+ const P = q.length === 1 && await r.isDir(q[0]);
812
+ let $, L = "";
813
+ P ? (L = q[0], $ = q[0].split("/").pop()) : (L = x, $ = e), h && h.length && ($ = h);
814
+ const N = `${t}/${$}`;
819
815
  if (await r.fileExists(N)) {
820
816
  if (!await r.isDir(N))
821
817
  throw new Error(
822
- `Cannot install asset ${E} to ${N} because a file with the same name already exists. Note it's a file, not a directory! Is this by mistake?`
818
+ `Cannot install asset ${$} to ${N} because a file with the same name already exists. Note it's a file, not a directory! Is this by mistake?`
823
819
  );
824
820
  if (c === "overwrite")
825
821
  await r.rmdir(N, {
@@ -829,16 +825,16 @@ async function Er(r, {
829
825
  if (c === "skip")
830
826
  return {
831
827
  assetFolderPath: N,
832
- assetFolderName: E
828
+ assetFolderName: $
833
829
  };
834
830
  throw new Error(
835
- `Cannot install asset ${E} to ${t} because it already exists and the ifAlreadyInstalled option was set to ${c}`
831
+ `Cannot install asset ${$} to ${t} because it already exists and the ifAlreadyInstalled option was set to ${c}`
836
832
  );
837
833
  }
838
834
  }
839
835
  return await r.mv(L, N), {
840
836
  assetFolderPath: N,
841
- assetFolderName: E
837
+ assetFolderName: $
842
838
  };
843
839
  } finally {
844
840
  await r.rmdir(g, {
@@ -857,8 +853,8 @@ const at = async (r, { pluginData: t, pluginZipFile: p, ifAlreadyInstalled: c, o
857
853
  const e = "targetFolderName" in h ? h.targetFolderName : "";
858
854
  let d = "", g = "";
859
855
  if (t instanceof File) {
860
- const j = t.name.split("/").pop() || "plugin.zip";
861
- g = Ke(j), i == null || i.tracker.setCaption(`Installing the ${g} plugin`);
856
+ const q = t.name.split("/").pop() || "plugin.zip";
857
+ g = Ke(q), i == null || i.tracker.setCaption(`Installing the ${g} plugin`);
862
858
  const P = await Er(r, {
863
859
  ifAlreadyInstalled: c,
864
860
  zipFile: t,
@@ -868,15 +864,15 @@ const at = async (r, { pluginData: t, pluginZipFile: p, ifAlreadyInstalled: c, o
868
864
  d = P.assetFolderPath, g = P.assetFolderName;
869
865
  } else if (t) {
870
866
  g = t.name, i == null || i.tracker.setCaption(`Installing the ${g} plugin`);
871
- const j = ie(
867
+ const q = ie(
872
868
  await r.documentRoot,
873
869
  "wp-content",
874
870
  "plugins",
875
871
  e || t.name
876
872
  );
877
- await or(r, j, t.files, {
873
+ await or(r, q, t.files, {
878
874
  rmRoot: !0
879
- }), d = j;
875
+ }), d = q;
880
876
  }
881
877
  ("activate" in h ? h.activate : !0) && await gr(
882
878
  r,
@@ -1095,9 +1091,9 @@ const yt = async (r, { language: t }, p) => {
1095
1091
  )
1096
1092
  );`
1097
1093
  })).json;
1098
- for (const { slug: j, version: P } of d)
1094
+ for (const { slug: q, version: P } of d)
1099
1095
  i.push({
1100
- url: `https://downloads.wordpress.org/translation/plugin/${j}/${P}/${t}.zip`,
1096
+ url: `https://downloads.wordpress.org/translation/plugin/${q}/${P}/${t}.zip`,
1101
1097
  type: "plugin"
1102
1098
  });
1103
1099
  const x = (await r.run({
@@ -1118,31 +1114,31 @@ const yt = async (r, { language: t }, p) => {
1118
1114
  )
1119
1115
  );`
1120
1116
  })).json;
1121
- for (const { slug: j, version: P } of x)
1117
+ for (const { slug: q, version: P } of x)
1122
1118
  i.push({
1123
- url: `https://downloads.wordpress.org/translation/theme/${j}/${P}/${t}.zip`,
1119
+ url: `https://downloads.wordpress.org/translation/theme/${q}/${P}/${t}.zip`,
1124
1120
  type: "theme"
1125
1121
  });
1126
1122
  await r.isDir(`${c}/wp-content/languages/plugins`) || await r.mkdir(`${c}/wp-content/languages/plugins`), await r.isDir(`${c}/wp-content/languages/themes`) || await r.mkdir(`${c}/wp-content/languages/themes`);
1127
- for (const { url: j, type: P } of i)
1123
+ for (const { url: q, type: P } of i)
1128
1124
  try {
1129
- const E = await fetch(j);
1130
- if (!E.ok)
1125
+ const $ = await fetch(q);
1126
+ if (!$.ok)
1131
1127
  throw new Error(
1132
- `Failed to download translations for ${P}: ${E.statusText}`
1128
+ `Failed to download translations for ${P}: ${$.statusText}`
1133
1129
  );
1134
1130
  let L = `${c}/wp-content/languages`;
1135
1131
  P === "plugin" ? L += "/plugins" : P === "theme" && (L += "/themes"), await yr(
1136
1132
  r,
1137
- new File([await E.blob()], `${t}-${P}.zip`),
1133
+ new File([await $.blob()], `${t}-${P}.zip`),
1138
1134
  L
1139
1135
  );
1140
- } catch (E) {
1136
+ } catch ($) {
1141
1137
  if (P === "core")
1142
1138
  throw new Error(
1143
1139
  `Failed to download translations for WordPress. Please check if the language code ${t} is correct. You can find all available languages and translations on https://translate.wordpress.org/.`
1144
1140
  );
1145
- me.warn(`Error downloading translations for ${P}: ${E}`);
1141
+ me.warn(`Error downloading translations for ${P}: ${$}`);
1146
1142
  }
1147
1143
  }, ht = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1148
1144
  __proto__: null,
@@ -1419,7 +1415,7 @@ class kt extends Oe {
1419
1415
  }
1420
1416
  async resolve() {
1421
1417
  var d;
1422
- const t = (d = this.options) != null && d.corsProxy ? `${this.options.corsProxy}/${this.reference.url}` : this.reference.url, p = ["", "HEAD"].includes(this.reference.ref) ? "HEAD" : `refs/heads/${this.reference.ref}`, c = await Ir(t, p), h = this.reference.path.replace(/^\/+/, ""), i = Wr(c, h);
1418
+ const t = (d = this.options) != null && d.corsProxy ? `${this.options.corsProxy}?${this.reference.url}` : this.reference.url, p = ["", "HEAD"].includes(this.reference.ref) ? "HEAD" : `refs/heads/${this.reference.ref}`, c = await Ir(t, p), h = this.reference.path.replace(/^\/+/, ""), i = Wr(c, h);
1423
1419
  let e = await Ur(t, p, i);
1424
1420
  return e = Object.fromEntries(
1425
1421
  Object.entries(e).map(([g, x]) => (g = g.substring(this.reference.path.length), g = g.replace(/^\/+/, ""), [g, x]))
@@ -1559,8 +1555,7 @@ const qt = {
1559
1555
  description: "Extra libraries to preload into the Playground instance."
1560
1556
  },
1561
1557
  constants: {
1562
- type: "object",
1563
- additionalProperties: { type: "string" },
1558
+ $ref: "#/definitions/PHPConstants",
1564
1559
  description: "PHP Constants to define on every request"
1565
1560
  },
1566
1561
  plugins: {
@@ -1618,6 +1613,9 @@ const qt = {
1618
1613
  }, At = {
1619
1614
  type: "string",
1620
1615
  enum: ["8.3", "8.2", "8.1", "8.0", "7.4", "7.3", "7.2", "7.1", "7.0"]
1616
+ }, Rt = {
1617
+ type: "object",
1618
+ additionalProperties: { type: ["string", "boolean", "number"] }
1621
1619
  }, qr = Object.prototype.hasOwnProperty;
1622
1620
  function J(r, { instancePath: t = "", parentData: p, parentDataProperty: c, rootData: h = r } = {}) {
1623
1621
  let i = null, e = 0;
@@ -1628,32 +1626,32 @@ function J(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
1628
1626
  if (r && typeof r == "object" && !Array.isArray(r)) {
1629
1627
  let M;
1630
1628
  if (r.resource === void 0 && (M = "resource") || r.path === void 0 && (M = "path")) {
1631
- const T = {
1629
+ const E = {
1632
1630
  instancePath: t,
1633
1631
  schemaPath: "#/definitions/VFSReference/required",
1634
1632
  keyword: "required",
1635
1633
  params: { missingProperty: M },
1636
1634
  message: "must have required property '" + M + "'"
1637
1635
  };
1638
- i === null ? i = [T] : i.push(T), e++;
1636
+ i === null ? i = [E] : i.push(E), e++;
1639
1637
  } else {
1640
- const T = e;
1638
+ const E = e;
1641
1639
  for (const u in r)
1642
1640
  if (!(u === "resource" || u === "path")) {
1643
- const O = {
1641
+ const T = {
1644
1642
  instancePath: t,
1645
1643
  schemaPath: "#/definitions/VFSReference/additionalProperties",
1646
1644
  keyword: "additionalProperties",
1647
1645
  params: { additionalProperty: u },
1648
1646
  message: "must NOT have additional properties"
1649
1647
  };
1650
- i === null ? i = [O] : i.push(O), e++;
1648
+ i === null ? i = [T] : i.push(T), e++;
1651
1649
  break;
1652
1650
  }
1653
- if (T === e) {
1651
+ if (E === e) {
1654
1652
  if (r.resource !== void 0) {
1655
1653
  let u = r.resource;
1656
- const O = e;
1654
+ const T = e;
1657
1655
  if (typeof u != "string") {
1658
1656
  const z = {
1659
1657
  instancePath: t + "/resource",
@@ -1674,7 +1672,7 @@ function J(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
1674
1672
  };
1675
1673
  i === null ? i = [z] : i.push(z), e++;
1676
1674
  }
1677
- var P = O === e;
1675
+ var P = T === e;
1678
1676
  } else
1679
1677
  var P = !0;
1680
1678
  if (P)
@@ -1705,30 +1703,30 @@ function J(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
1705
1703
  };
1706
1704
  i === null ? i = [M] : i.push(M), e++;
1707
1705
  }
1708
- var E = x === e;
1709
- if (g = g || E, !g) {
1706
+ var $ = x === e;
1707
+ if (g = g || $, !g) {
1710
1708
  const M = e;
1711
1709
  if (e === e)
1712
1710
  if (r && typeof r == "object" && !Array.isArray(r)) {
1713
- let O;
1714
- if (r.resource === void 0 && (O = "resource") || r.name === void 0 && (O = "name") || r.contents === void 0 && (O = "contents")) {
1711
+ let T;
1712
+ if (r.resource === void 0 && (T = "resource") || r.name === void 0 && (T = "name") || r.contents === void 0 && (T = "contents")) {
1715
1713
  const z = {
1716
1714
  instancePath: t,
1717
1715
  schemaPath: "#/definitions/LiteralReference/required",
1718
1716
  keyword: "required",
1719
- params: { missingProperty: O },
1720
- message: "must have required property '" + O + "'"
1717
+ params: { missingProperty: T },
1718
+ message: "must have required property '" + T + "'"
1721
1719
  };
1722
1720
  i === null ? i = [z] : i.push(z), e++;
1723
1721
  } else {
1724
1722
  const z = e;
1725
- for (const m in r)
1726
- if (!(m === "resource" || m === "name" || m === "contents")) {
1723
+ for (const y in r)
1724
+ if (!(y === "resource" || y === "name" || y === "contents")) {
1727
1725
  const v = {
1728
1726
  instancePath: t,
1729
1727
  schemaPath: "#/definitions/LiteralReference/additionalProperties",
1730
1728
  keyword: "additionalProperties",
1731
- params: { additionalProperty: m },
1729
+ params: { additionalProperty: y },
1732
1730
  message: "must NOT have additional properties"
1733
1731
  };
1734
1732
  i === null ? i = [v] : i.push(v), e++;
@@ -1736,54 +1734,54 @@ function J(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
1736
1734
  }
1737
1735
  if (z === e) {
1738
1736
  if (r.resource !== void 0) {
1739
- let m = r.resource;
1737
+ let y = r.resource;
1740
1738
  const v = e;
1741
- if (typeof m != "string") {
1742
- const w = {
1739
+ if (typeof y != "string") {
1740
+ const b = {
1743
1741
  instancePath: t + "/resource",
1744
1742
  schemaPath: "#/definitions/LiteralReference/properties/resource/type",
1745
1743
  keyword: "type",
1746
1744
  params: { type: "string" },
1747
1745
  message: "must be string"
1748
1746
  };
1749
- i === null ? i = [w] : i.push(w), e++;
1747
+ i === null ? i = [b] : i.push(b), e++;
1750
1748
  }
1751
- if (m !== "literal") {
1752
- const w = {
1749
+ if (y !== "literal") {
1750
+ const b = {
1753
1751
  instancePath: t + "/resource",
1754
1752
  schemaPath: "#/definitions/LiteralReference/properties/resource/const",
1755
1753
  keyword: "const",
1756
1754
  params: { allowedValue: "literal" },
1757
1755
  message: "must be equal to constant"
1758
1756
  };
1759
- i === null ? i = [w] : i.push(w), e++;
1757
+ i === null ? i = [b] : i.push(b), e++;
1760
1758
  }
1761
1759
  var L = v === e;
1762
1760
  } else
1763
1761
  var L = !0;
1764
1762
  if (L) {
1765
1763
  if (r.name !== void 0) {
1766
- const m = e;
1764
+ const y = e;
1767
1765
  if (typeof r.name != "string") {
1768
- const w = {
1766
+ const b = {
1769
1767
  instancePath: t + "/name",
1770
1768
  schemaPath: "#/definitions/LiteralReference/properties/name/type",
1771
1769
  keyword: "type",
1772
1770
  params: { type: "string" },
1773
1771
  message: "must be string"
1774
1772
  };
1775
- i === null ? i = [w] : i.push(w), e++;
1773
+ i === null ? i = [b] : i.push(b), e++;
1776
1774
  }
1777
- var L = m === e;
1775
+ var L = y === e;
1778
1776
  } else
1779
1777
  var L = !0;
1780
1778
  if (L)
1781
1779
  if (r.contents !== void 0) {
1782
- let m = r.contents;
1783
- const v = e, w = e;
1784
- let q = !1;
1785
- const b = e;
1786
- if (typeof m != "string") {
1780
+ let y = r.contents;
1781
+ const v = e, b = e;
1782
+ let j = !1;
1783
+ const w = e;
1784
+ if (typeof y != "string") {
1787
1785
  const D = {
1788
1786
  instancePath: t + "/contents",
1789
1787
  schemaPath: "#/definitions/LiteralReference/properties/contents/anyOf/0/type",
@@ -1793,13 +1791,13 @@ function J(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
1793
1791
  };
1794
1792
  i === null ? i = [D] : i.push(D), e++;
1795
1793
  }
1796
- var N = b === e;
1797
- if (q = q || N, !q) {
1794
+ var N = w === e;
1795
+ if (j = j || N, !j) {
1798
1796
  const D = e;
1799
1797
  if (e === D)
1800
- if (m && typeof m == "object" && !Array.isArray(m)) {
1798
+ if (y && typeof y == "object" && !Array.isArray(y)) {
1801
1799
  let R;
1802
- if (m.BYTES_PER_ELEMENT === void 0 && (R = "BYTES_PER_ELEMENT") || m.buffer === void 0 && (R = "buffer") || m.byteLength === void 0 && (R = "byteLength") || m.byteOffset === void 0 && (R = "byteOffset") || m.length === void 0 && (R = "length")) {
1800
+ if (y.BYTES_PER_ELEMENT === void 0 && (R = "BYTES_PER_ELEMENT") || y.buffer === void 0 && (R = "buffer") || y.byteLength === void 0 && (R = "byteLength") || y.byteOffset === void 0 && (R = "byteOffset") || y.length === void 0 && (R = "length")) {
1803
1801
  const W = {
1804
1802
  instancePath: t + "/contents",
1805
1803
  schemaPath: "#/definitions/LiteralReference/properties/contents/anyOf/1/required",
@@ -1812,9 +1810,9 @@ function J(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
1812
1810
  i === null ? i = [W] : i.push(W), e++;
1813
1811
  } else {
1814
1812
  const W = e;
1815
- for (const F in m)
1813
+ for (const F in y)
1816
1814
  if (!(F === "BYTES_PER_ELEMENT" || F === "buffer" || F === "byteLength" || F === "byteOffset" || F === "length")) {
1817
- let H = m[F];
1815
+ let H = y[F];
1818
1816
  const te = e;
1819
1817
  if (!(typeof H == "number" && isFinite(
1820
1818
  H
@@ -1840,13 +1838,13 @@ function J(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
1840
1838
  G
1841
1839
  ), e++;
1842
1840
  }
1843
- var y = te === e;
1844
- if (!y)
1841
+ var m = te === e;
1842
+ if (!m)
1845
1843
  break;
1846
1844
  }
1847
1845
  if (W === e) {
1848
- if (m.BYTES_PER_ELEMENT !== void 0) {
1849
- let F = m.BYTES_PER_ELEMENT;
1846
+ if (y.BYTES_PER_ELEMENT !== void 0) {
1847
+ let F = y.BYTES_PER_ELEMENT;
1850
1848
  const H = e;
1851
1849
  if (!(typeof F == "number" && isFinite(
1852
1850
  F
@@ -1870,8 +1868,8 @@ function J(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
1870
1868
  } else
1871
1869
  var I = !0;
1872
1870
  if (I) {
1873
- if (m.buffer !== void 0) {
1874
- let F = m.buffer;
1871
+ if (y.buffer !== void 0) {
1872
+ let F = y.buffer;
1875
1873
  const H = e;
1876
1874
  if (e === H)
1877
1875
  if (F && typeof F == "object" && !Array.isArray(
@@ -1955,8 +1953,8 @@ function J(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
1955
1953
  } else
1956
1954
  var I = !0;
1957
1955
  if (I) {
1958
- if (m.byteLength !== void 0) {
1959
- let F = m.byteLength;
1956
+ if (y.byteLength !== void 0) {
1957
+ let F = y.byteLength;
1960
1958
  const H = e;
1961
1959
  if (!(typeof F == "number" && isFinite(
1962
1960
  F
@@ -1980,8 +1978,8 @@ function J(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
1980
1978
  } else
1981
1979
  var I = !0;
1982
1980
  if (I) {
1983
- if (m.byteOffset !== void 0) {
1984
- let F = m.byteOffset;
1981
+ if (y.byteOffset !== void 0) {
1982
+ let F = y.byteOffset;
1985
1983
  const H = e;
1986
1984
  if (!(typeof F == "number" && isFinite(
1987
1985
  F
@@ -2005,8 +2003,8 @@ function J(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
2005
2003
  } else
2006
2004
  var I = !0;
2007
2005
  if (I)
2008
- if (m.length !== void 0) {
2009
- let F = m.length;
2006
+ if (y.length !== void 0) {
2007
+ let F = y.length;
2010
2008
  const H = e;
2011
2009
  if (!(typeof F == "number" && isFinite(
2012
2010
  F
@@ -2045,10 +2043,10 @@ function J(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
2045
2043
  i === null ? i = [R] : i.push(R), e++;
2046
2044
  }
2047
2045
  var N = D === e;
2048
- q = q || N;
2046
+ j = j || N;
2049
2047
  }
2050
- if (q)
2051
- e = w, i !== null && (w ? i.length = w : i = null);
2048
+ if (j)
2049
+ e = b, i !== null && (b ? i.length = b : i = null);
2052
2050
  else {
2053
2051
  const D = {
2054
2052
  instancePath: t + "/contents",
@@ -2066,49 +2064,49 @@ function J(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
2066
2064
  }
2067
2065
  }
2068
2066
  } else {
2069
- const O = {
2067
+ const T = {
2070
2068
  instancePath: t,
2071
2069
  schemaPath: "#/definitions/LiteralReference/type",
2072
2070
  keyword: "type",
2073
2071
  params: { type: "object" },
2074
2072
  message: "must be object"
2075
2073
  };
2076
- i === null ? i = [O] : i.push(O), e++;
2074
+ i === null ? i = [T] : i.push(T), e++;
2077
2075
  }
2078
- var E = M === e;
2079
- if (g = g || E, !g) {
2080
- const O = e;
2076
+ var $ = M === e;
2077
+ if (g = g || $, !g) {
2078
+ const T = e;
2081
2079
  if (e === e)
2082
2080
  if (r && typeof r == "object" && !Array.isArray(r)) {
2083
2081
  let v;
2084
2082
  if (r.resource === void 0 && (v = "resource") || r.slug === void 0 && (v = "slug")) {
2085
- const w = {
2083
+ const b = {
2086
2084
  instancePath: t,
2087
2085
  schemaPath: "#/definitions/CoreThemeReference/required",
2088
2086
  keyword: "required",
2089
2087
  params: { missingProperty: v },
2090
2088
  message: "must have required property '" + v + "'"
2091
2089
  };
2092
- i === null ? i = [w] : i.push(w), e++;
2090
+ i === null ? i = [b] : i.push(b), e++;
2093
2091
  } else {
2094
- const w = e;
2095
- for (const q in r)
2096
- if (!(q === "resource" || q === "slug")) {
2097
- const b = {
2092
+ const b = e;
2093
+ for (const j in r)
2094
+ if (!(j === "resource" || j === "slug")) {
2095
+ const w = {
2098
2096
  instancePath: t,
2099
2097
  schemaPath: "#/definitions/CoreThemeReference/additionalProperties",
2100
2098
  keyword: "additionalProperties",
2101
- params: { additionalProperty: q },
2099
+ params: { additionalProperty: j },
2102
2100
  message: "must NOT have additional properties"
2103
2101
  };
2104
- i === null ? i = [b] : i.push(b), e++;
2102
+ i === null ? i = [w] : i.push(w), e++;
2105
2103
  break;
2106
2104
  }
2107
- if (w === e) {
2105
+ if (b === e) {
2108
2106
  if (r.resource !== void 0) {
2109
- let q = r.resource;
2110
- const b = e;
2111
- if (typeof q != "string") {
2107
+ let j = r.resource;
2108
+ const w = e;
2109
+ if (typeof j != "string") {
2112
2110
  const l = {
2113
2111
  instancePath: t + "/resource",
2114
2112
  schemaPath: "#/definitions/CoreThemeReference/properties/resource/type",
@@ -2118,7 +2116,7 @@ function J(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
2118
2116
  };
2119
2117
  i === null ? i = [l] : i.push(l), e++;
2120
2118
  }
2121
- if (q !== "wordpress.org/themes") {
2119
+ if (j !== "wordpress.org/themes") {
2122
2120
  const l = {
2123
2121
  instancePath: t + "/resource",
2124
2122
  schemaPath: "#/definitions/CoreThemeReference/properties/resource/const",
@@ -2130,12 +2128,12 @@ function J(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
2130
2128
  };
2131
2129
  i === null ? i = [l] : i.push(l), e++;
2132
2130
  }
2133
- var U = b === e;
2131
+ var U = w === e;
2134
2132
  } else
2135
2133
  var U = !0;
2136
2134
  if (U)
2137
2135
  if (r.slug !== void 0) {
2138
- const q = e;
2136
+ const j = e;
2139
2137
  if (typeof r.slug != "string") {
2140
2138
  const l = {
2141
2139
  instancePath: t + "/slug",
@@ -2146,7 +2144,7 @@ function J(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
2146
2144
  };
2147
2145
  i === null ? i = [l] : i.push(l), e++;
2148
2146
  }
2149
- var U = q === e;
2147
+ var U = j === e;
2150
2148
  } else
2151
2149
  var U = !0;
2152
2150
  }
@@ -2161,19 +2159,19 @@ function J(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
2161
2159
  };
2162
2160
  i === null ? i = [v] : i.push(v), e++;
2163
2161
  }
2164
- var E = O === e;
2165
- if (g = g || E, !g) {
2162
+ var $ = T === e;
2163
+ if (g = g || $, !g) {
2166
2164
  const v = e;
2167
2165
  if (e === e)
2168
2166
  if (r && typeof r == "object" && !Array.isArray(r)) {
2169
- let b;
2170
- if (r.resource === void 0 && (b = "resource") || r.slug === void 0 && (b = "slug")) {
2167
+ let w;
2168
+ if (r.resource === void 0 && (w = "resource") || r.slug === void 0 && (w = "slug")) {
2171
2169
  const l = {
2172
2170
  instancePath: t,
2173
2171
  schemaPath: "#/definitions/CorePluginReference/required",
2174
2172
  keyword: "required",
2175
- params: { missingProperty: b },
2176
- message: "must have required property '" + b + "'"
2173
+ params: { missingProperty: w },
2174
+ message: "must have required property '" + w + "'"
2177
2175
  };
2178
2176
  i === null ? i = [l] : i.push(l), e++;
2179
2177
  } else {
@@ -2238,18 +2236,18 @@ function J(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
2238
2236
  }
2239
2237
  }
2240
2238
  } else {
2241
- const b = {
2239
+ const w = {
2242
2240
  instancePath: t,
2243
2241
  schemaPath: "#/definitions/CorePluginReference/type",
2244
2242
  keyword: "type",
2245
2243
  params: { type: "object" },
2246
2244
  message: "must be object"
2247
2245
  };
2248
- i === null ? i = [b] : i.push(b), e++;
2246
+ i === null ? i = [w] : i.push(w), e++;
2249
2247
  }
2250
- var E = v === e;
2251
- if (g = g || E, !g) {
2252
- const b = e;
2248
+ var $ = v === e;
2249
+ if (g = g || $, !g) {
2250
+ const w = e;
2253
2251
  if (e === e)
2254
2252
  if (r && typeof r == "object" && !Array.isArray(r)) {
2255
2253
  let A;
@@ -2352,8 +2350,8 @@ function J(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
2352
2350
  };
2353
2351
  i === null ? i = [A] : i.push(A), e++;
2354
2352
  }
2355
- var E = b === e;
2356
- g = g || E;
2353
+ var $ = w === e;
2354
+ g = g || $;
2357
2355
  }
2358
2356
  }
2359
2357
  }
@@ -3073,7 +3071,7 @@ Only the username field is required for user authentication.`
3073
3071
  required: ["language", "step"]
3074
3072
  }
3075
3073
  ]
3076
- }, Rt = {
3074
+ }, Lt = {
3077
3075
  type: "object",
3078
3076
  additionalProperties: {
3079
3077
  anyOf: [
@@ -3088,11 +3086,11 @@ function Le(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
3088
3086
  if (e === 0)
3089
3087
  if (r && typeof r == "object" && !Array.isArray(r))
3090
3088
  for (const x in r) {
3091
- let j = r[x];
3092
- const P = e, E = e;
3089
+ let q = r[x];
3090
+ const P = e, $ = e;
3093
3091
  let L = !1;
3094
3092
  const N = e;
3095
- sr.validate(j, {
3093
+ sr.validate(q, {
3096
3094
  instancePath: t + "/" + x.replace(/~/g, "~0").replace(/\//g, "~1"),
3097
3095
  parentData: r,
3098
3096
  parentDataProperty: x,
@@ -3100,33 +3098,33 @@ function Le(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
3100
3098
  }) || (i = i === null ? sr.validate.errors : i.concat(sr.validate.errors), e = i.length);
3101
3099
  var d = N === e;
3102
3100
  if (L = L || d, !L) {
3103
- const y = e;
3104
- if (!(j && typeof j == "object" && !Array.isArray(j)) && typeof j != "string") {
3101
+ const m = e;
3102
+ if (!(q && typeof q == "object" && !Array.isArray(q)) && typeof q != "string") {
3105
3103
  const U = {
3106
3104
  instancePath: t + "/" + x.replace(/~/g, "~0").replace(/\//g, "~1"),
3107
3105
  schemaPath: "#/additionalProperties/anyOf/1/type",
3108
3106
  keyword: "type",
3109
3107
  params: {
3110
- type: Rt.additionalProperties.anyOf[1].type
3108
+ type: Lt.additionalProperties.anyOf[1].type
3111
3109
  },
3112
3110
  message: "must be object,string"
3113
3111
  };
3114
3112
  i === null ? i = [U] : i.push(U), e++;
3115
3113
  }
3116
- var d = y === e;
3114
+ var d = m === e;
3117
3115
  L = L || d;
3118
3116
  }
3119
3117
  if (L)
3120
- e = E, i !== null && (E ? i.length = E : i = null);
3118
+ e = $, i !== null && ($ ? i.length = $ : i = null);
3121
3119
  else {
3122
- const y = {
3120
+ const m = {
3123
3121
  instancePath: t + "/" + x.replace(/~/g, "~0").replace(/\//g, "~1"),
3124
3122
  schemaPath: "#/additionalProperties/anyOf",
3125
3123
  keyword: "anyOf",
3126
3124
  params: {},
3127
3125
  message: "must match a schema in anyOf"
3128
3126
  };
3129
- return i === null ? i = [y] : i.push(y), e++, Le.errors = i, !1;
3127
+ return i === null ? i = [m] : i.push(m), e++, Le.errors = i, !1;
3130
3128
  }
3131
3129
  var g = P === e;
3132
3130
  if (!g)
@@ -3161,22 +3159,22 @@ function ke(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
3161
3159
  ], !1;
3162
3160
  {
3163
3161
  const x = e;
3164
- for (const j in r)
3165
- if (!(j === "resource" || j === "files" || j === "name"))
3162
+ for (const q in r)
3163
+ if (!(q === "resource" || q === "files" || q === "name"))
3166
3164
  return ke.errors = [
3167
3165
  {
3168
3166
  instancePath: t,
3169
3167
  schemaPath: "#/additionalProperties",
3170
3168
  keyword: "additionalProperties",
3171
- params: { additionalProperty: j },
3169
+ params: { additionalProperty: q },
3172
3170
  message: "must NOT have additional properties"
3173
3171
  }
3174
3172
  ], !1;
3175
3173
  if (x === e) {
3176
3174
  if (r.resource !== void 0) {
3177
- let j = r.resource;
3175
+ let q = r.resource;
3178
3176
  const P = e;
3179
- if (typeof j != "string")
3177
+ if (typeof q != "string")
3180
3178
  return ke.errors = [
3181
3179
  {
3182
3180
  instancePath: t + "/resource",
@@ -3186,7 +3184,7 @@ function ke(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
3186
3184
  message: "must be string"
3187
3185
  }
3188
3186
  ], !1;
3189
- if (j !== "literal:directory")
3187
+ if (q !== "literal:directory")
3190
3188
  return ke.errors = [
3191
3189
  {
3192
3190
  instancePath: t + "/resource",
@@ -3203,19 +3201,19 @@ function ke(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
3203
3201
  var d = !0;
3204
3202
  if (d) {
3205
3203
  if (r.files !== void 0) {
3206
- const j = e;
3204
+ const q = e;
3207
3205
  Le(r.files, {
3208
3206
  instancePath: t + "/files",
3209
3207
  parentData: r,
3210
3208
  parentDataProperty: "files",
3211
3209
  rootData: h
3212
3210
  }) || (i = i === null ? Le.errors : i.concat(Le.errors), e = i.length);
3213
- var d = j === e;
3211
+ var d = q === e;
3214
3212
  } else
3215
3213
  var d = !0;
3216
3214
  if (d)
3217
3215
  if (r.name !== void 0) {
3218
- const j = e;
3216
+ const q = e;
3219
3217
  if (typeof r.name != "string")
3220
3218
  return ke.errors = [
3221
3219
  {
@@ -3226,7 +3224,7 @@ function ke(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
3226
3224
  message: "must be string"
3227
3225
  }
3228
3226
  ], !1;
3229
- var d = j === e;
3227
+ var d = q === e;
3230
3228
  } else
3231
3229
  var d = !0;
3232
3230
  }
@@ -3263,13 +3261,13 @@ function he(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
3263
3261
  i === null ? i = [N] : i.push(N), e++;
3264
3262
  } else {
3265
3263
  const N = e;
3266
- for (const y in r)
3267
- if (!(y === "resource" || y === "url" || y === "ref" || y === "path")) {
3264
+ for (const m in r)
3265
+ if (!(m === "resource" || m === "url" || m === "ref" || m === "path")) {
3268
3266
  const I = {
3269
3267
  instancePath: t,
3270
3268
  schemaPath: "#/definitions/GitDirectoryReference/additionalProperties",
3271
3269
  keyword: "additionalProperties",
3272
- params: { additionalProperty: y },
3270
+ params: { additionalProperty: m },
3273
3271
  message: "must NOT have additional properties"
3274
3272
  };
3275
3273
  i === null ? i = [I] : i.push(I), e++;
@@ -3277,9 +3275,9 @@ function he(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
3277
3275
  }
3278
3276
  if (N === e) {
3279
3277
  if (r.resource !== void 0) {
3280
- let y = r.resource;
3278
+ let m = r.resource;
3281
3279
  const I = e;
3282
- if (typeof y != "string") {
3280
+ if (typeof m != "string") {
3283
3281
  const U = {
3284
3282
  instancePath: t + "/resource",
3285
3283
  schemaPath: "#/definitions/GitDirectoryReference/properties/resource/type",
@@ -3289,7 +3287,7 @@ function he(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
3289
3287
  };
3290
3288
  i === null ? i = [U] : i.push(U), e++;
3291
3289
  }
3292
- if (y !== "git:directory") {
3290
+ if (m !== "git:directory") {
3293
3291
  const U = {
3294
3292
  instancePath: t + "/resource",
3295
3293
  schemaPath: "#/definitions/GitDirectoryReference/properties/resource/const",
@@ -3304,7 +3302,7 @@ function he(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
3304
3302
  var P = !0;
3305
3303
  if (P) {
3306
3304
  if (r.url !== void 0) {
3307
- const y = e;
3305
+ const m = e;
3308
3306
  if (typeof r.url != "string") {
3309
3307
  const U = {
3310
3308
  instancePath: t + "/url",
@@ -3315,12 +3313,12 @@ function he(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
3315
3313
  };
3316
3314
  i === null ? i = [U] : i.push(U), e++;
3317
3315
  }
3318
- var P = y === e;
3316
+ var P = m === e;
3319
3317
  } else
3320
3318
  var P = !0;
3321
3319
  if (P) {
3322
3320
  if (r.ref !== void 0) {
3323
- const y = e;
3321
+ const m = e;
3324
3322
  if (typeof r.ref != "string") {
3325
3323
  const U = {
3326
3324
  instancePath: t + "/ref",
@@ -3331,12 +3329,12 @@ function he(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
3331
3329
  };
3332
3330
  i === null ? i = [U] : i.push(U), e++;
3333
3331
  }
3334
- var P = y === e;
3332
+ var P = m === e;
3335
3333
  } else
3336
3334
  var P = !0;
3337
3335
  if (P)
3338
3336
  if (r.path !== void 0) {
3339
- const y = e;
3337
+ const m = e;
3340
3338
  if (typeof r.path != "string") {
3341
3339
  const U = {
3342
3340
  instancePath: t + "/path",
@@ -3347,7 +3345,7 @@ function he(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
3347
3345
  };
3348
3346
  i === null ? i = [U] : i.push(U), e++;
3349
3347
  }
3350
- var P = y === e;
3348
+ var P = m === e;
3351
3349
  } else
3352
3350
  var P = !0;
3353
3351
  }
@@ -3364,8 +3362,8 @@ function he(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
3364
3362
  };
3365
3363
  i === null ? i = [L] : i.push(L), e++;
3366
3364
  }
3367
- var E = x === e;
3368
- if (g = g || E, !g) {
3365
+ var $ = x === e;
3366
+ if (g = g || $, !g) {
3369
3367
  const L = e;
3370
3368
  ke(r, {
3371
3369
  instancePath: t,
@@ -3373,8 +3371,8 @@ function he(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
3373
3371
  parentDataProperty: c,
3374
3372
  rootData: h
3375
3373
  }) || (i = i === null ? ke.errors : i.concat(ke.errors), e = i.length);
3376
- var E = L === e;
3377
- g = g || E;
3374
+ var $ = L === e;
3375
+ g = g || $;
3378
3376
  }
3379
3377
  if (g)
3380
3378
  e = d, i !== null && (d ? i.length = d : i = null);
@@ -3471,12 +3469,12 @@ function ce(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
3471
3469
  const M = e;
3472
3470
  if (e === e)
3473
3471
  if (_ && typeof _ == "object" && !Array.isArray(_))
3474
- for (const O in _) {
3472
+ for (const T in _) {
3475
3473
  const z = e;
3476
- if (typeof _[O] != "string")
3474
+ if (typeof _[T] != "string")
3477
3475
  return ce.errors = [
3478
3476
  {
3479
- instancePath: t + "/headers/" + O.replace(
3477
+ instancePath: t + "/headers/" + T.replace(
3480
3478
  /~/g,
3481
3479
  "~0"
3482
3480
  ).replace(
@@ -3511,47 +3509,47 @@ function ce(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
3511
3509
  if (d)
3512
3510
  if (r.body !== void 0) {
3513
3511
  let _ = r.body;
3514
- const M = e, T = e;
3512
+ const M = e, E = e;
3515
3513
  let u = !1;
3516
- const O = e;
3514
+ const T = e;
3517
3515
  if (typeof _ != "string") {
3518
- const m = {
3516
+ const y = {
3519
3517
  instancePath: t + "/body",
3520
3518
  schemaPath: "#/properties/body/anyOf/0/type",
3521
3519
  keyword: "type",
3522
3520
  params: { type: "string" },
3523
3521
  message: "must be string"
3524
3522
  };
3525
- i === null ? i = [m] : i.push(m), e++;
3523
+ i === null ? i = [y] : i.push(y), e++;
3526
3524
  }
3527
- var x = O === e;
3525
+ var x = T === e;
3528
3526
  if (u = u || x, !u) {
3529
- const m = e;
3530
- if (e === m)
3527
+ const y = e;
3528
+ if (e === y)
3531
3529
  if (_ && typeof _ == "object" && !Array.isArray(_)) {
3532
- let w;
3533
- if (_.BYTES_PER_ELEMENT === void 0 && (w = "BYTES_PER_ELEMENT") || _.buffer === void 0 && (w = "buffer") || _.byteLength === void 0 && (w = "byteLength") || _.byteOffset === void 0 && (w = "byteOffset") || _.length === void 0 && (w = "length")) {
3534
- const q = {
3530
+ let b;
3531
+ if (_.BYTES_PER_ELEMENT === void 0 && (b = "BYTES_PER_ELEMENT") || _.buffer === void 0 && (b = "buffer") || _.byteLength === void 0 && (b = "byteLength") || _.byteOffset === void 0 && (b = "byteOffset") || _.length === void 0 && (b = "length")) {
3532
+ const j = {
3535
3533
  instancePath: t + "/body",
3536
3534
  schemaPath: "#/properties/body/anyOf/1/required",
3537
3535
  keyword: "required",
3538
3536
  params: {
3539
- missingProperty: w
3537
+ missingProperty: b
3540
3538
  },
3541
- message: "must have required property '" + w + "'"
3539
+ message: "must have required property '" + b + "'"
3542
3540
  };
3543
- i === null ? i = [q] : i.push(q), e++;
3541
+ i === null ? i = [j] : i.push(j), e++;
3544
3542
  } else {
3545
- const q = e;
3546
- for (const b in _)
3547
- if (!(b === "BYTES_PER_ELEMENT" || b === "buffer" || b === "byteLength" || b === "byteOffset" || b === "length")) {
3548
- let l = _[b];
3543
+ const j = e;
3544
+ for (const w in _)
3545
+ if (!(w === "BYTES_PER_ELEMENT" || w === "buffer" || w === "byteLength" || w === "byteOffset" || w === "length")) {
3546
+ let l = _[w];
3549
3547
  const D = e;
3550
3548
  if (!(typeof l == "number" && isFinite(
3551
3549
  l
3552
3550
  ))) {
3553
3551
  const A = {
3554
- instancePath: t + "/body/" + b.replace(
3552
+ instancePath: t + "/body/" + w.replace(
3555
3553
  /~/g,
3556
3554
  "~0"
3557
3555
  ).replace(
@@ -3571,16 +3569,16 @@ function ce(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
3571
3569
  A
3572
3570
  ), e++;
3573
3571
  }
3574
- var j = D === e;
3575
- if (!j)
3572
+ var q = D === e;
3573
+ if (!q)
3576
3574
  break;
3577
3575
  }
3578
- if (q === e) {
3576
+ if (j === e) {
3579
3577
  if (_.BYTES_PER_ELEMENT !== void 0) {
3580
- let b = _.BYTES_PER_ELEMENT;
3578
+ let w = _.BYTES_PER_ELEMENT;
3581
3579
  const l = e;
3582
- if (!(typeof b == "number" && isFinite(
3583
- b
3580
+ if (!(typeof w == "number" && isFinite(
3581
+ w
3584
3582
  ))) {
3585
3583
  const D = {
3586
3584
  instancePath: t + "/body/BYTES_PER_ELEMENT",
@@ -3602,14 +3600,14 @@ function ce(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
3602
3600
  var P = !0;
3603
3601
  if (P) {
3604
3602
  if (_.buffer !== void 0) {
3605
- let b = _.buffer;
3603
+ let w = _.buffer;
3606
3604
  const l = e;
3607
3605
  if (e === l)
3608
- if (b && typeof b == "object" && !Array.isArray(
3609
- b
3606
+ if (w && typeof w == "object" && !Array.isArray(
3607
+ w
3610
3608
  )) {
3611
3609
  let A;
3612
- if (b.byteLength === void 0 && (A = "byteLength")) {
3610
+ if (w.byteLength === void 0 && (A = "byteLength")) {
3613
3611
  const R = {
3614
3612
  instancePath: t + "/body/buffer",
3615
3613
  schemaPath: "#/properties/body/anyOf/1/properties/buffer/required",
@@ -3626,7 +3624,7 @@ function ce(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
3626
3624
  ), e++;
3627
3625
  } else {
3628
3626
  const R = e;
3629
- for (const W in b)
3627
+ for (const W in w)
3630
3628
  if (W !== "byteLength") {
3631
3629
  const F = {
3632
3630
  instancePath: t + "/body/buffer",
@@ -3644,8 +3642,8 @@ function ce(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
3644
3642
  ), e++;
3645
3643
  break;
3646
3644
  }
3647
- if (R === e && b.byteLength !== void 0) {
3648
- let W = b.byteLength;
3645
+ if (R === e && w.byteLength !== void 0) {
3646
+ let W = w.byteLength;
3649
3647
  if (!(typeof W == "number" && isFinite(
3650
3648
  W
3651
3649
  ))) {
@@ -3687,10 +3685,10 @@ function ce(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
3687
3685
  var P = !0;
3688
3686
  if (P) {
3689
3687
  if (_.byteLength !== void 0) {
3690
- let b = _.byteLength;
3688
+ let w = _.byteLength;
3691
3689
  const l = e;
3692
- if (!(typeof b == "number" && isFinite(
3693
- b
3690
+ if (!(typeof w == "number" && isFinite(
3691
+ w
3694
3692
  ))) {
3695
3693
  const A = {
3696
3694
  instancePath: t + "/body/byteLength",
@@ -3712,10 +3710,10 @@ function ce(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
3712
3710
  var P = !0;
3713
3711
  if (P) {
3714
3712
  if (_.byteOffset !== void 0) {
3715
- let b = _.byteOffset;
3713
+ let w = _.byteOffset;
3716
3714
  const l = e;
3717
- if (!(typeof b == "number" && isFinite(
3718
- b
3715
+ if (!(typeof w == "number" && isFinite(
3716
+ w
3719
3717
  ))) {
3720
3718
  const A = {
3721
3719
  instancePath: t + "/body/byteOffset",
@@ -3737,10 +3735,10 @@ function ce(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
3737
3735
  var P = !0;
3738
3736
  if (P)
3739
3737
  if (_.length !== void 0) {
3740
- let b = _.length;
3738
+ let w = _.length;
3741
3739
  const l = e;
3742
- if (!(typeof b == "number" && isFinite(
3743
- b
3740
+ if (!(typeof w == "number" && isFinite(
3741
+ w
3744
3742
  ))) {
3745
3743
  const A = {
3746
3744
  instancePath: t + "/body/length",
@@ -3766,28 +3764,28 @@ function ce(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
3766
3764
  }
3767
3765
  }
3768
3766
  } else {
3769
- const w = {
3767
+ const b = {
3770
3768
  instancePath: t + "/body",
3771
3769
  schemaPath: "#/properties/body/anyOf/1/type",
3772
3770
  keyword: "type",
3773
3771
  params: { type: "object" },
3774
3772
  message: "must be object"
3775
3773
  };
3776
- i === null ? i = [w] : i.push(w), e++;
3774
+ i === null ? i = [b] : i.push(b), e++;
3777
3775
  }
3778
- var x = m === e;
3776
+ var x = y === e;
3779
3777
  if (u = u || x, !u) {
3780
- const w = e;
3781
- if (e === w)
3778
+ const b = e;
3779
+ if (e === b)
3782
3780
  if (_ && typeof _ == "object" && !Array.isArray(_))
3783
- for (const b in _) {
3784
- let l = _[b];
3781
+ for (const w in _) {
3782
+ let l = _[w];
3785
3783
  const D = e, A = e;
3786
3784
  let R = !1;
3787
3785
  const W = e;
3788
3786
  if (typeof l != "string") {
3789
3787
  const F = {
3790
- instancePath: t + "/body/" + b.replace(
3788
+ instancePath: t + "/body/" + w.replace(
3791
3789
  /~/g,
3792
3790
  "~0"
3793
3791
  ).replace(
@@ -3807,8 +3805,8 @@ function ce(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
3807
3805
  F
3808
3806
  ), e++;
3809
3807
  }
3810
- var E = W === e;
3811
- if (R = R || E, !R) {
3808
+ var $ = W === e;
3809
+ if (R = R || $, !R) {
3812
3810
  const F = e;
3813
3811
  if (e === F)
3814
3812
  if (l && typeof l == "object" && !Array.isArray(
@@ -3817,7 +3815,7 @@ function ce(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
3817
3815
  let te;
3818
3816
  if (l.BYTES_PER_ELEMENT === void 0 && (te = "BYTES_PER_ELEMENT") || l.buffer === void 0 && (te = "buffer") || l.byteLength === void 0 && (te = "byteLength") || l.byteOffset === void 0 && (te = "byteOffset") || l.length === void 0 && (te = "length")) {
3819
3817
  const G = {
3820
- instancePath: t + "/body/" + b.replace(
3818
+ instancePath: t + "/body/" + w.replace(
3821
3819
  /~/g,
3822
3820
  "~0"
3823
3821
  ).replace(
@@ -3846,7 +3844,7 @@ function ce(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
3846
3844
  B
3847
3845
  ))) {
3848
3846
  const Y = {
3849
- instancePath: t + "/body/" + b.replace(
3847
+ instancePath: t + "/body/" + w.replace(
3850
3848
  /~/g,
3851
3849
  "~0"
3852
3850
  ).replace(
@@ -3884,7 +3882,7 @@ function ce(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
3884
3882
  C
3885
3883
  ))) {
3886
3884
  const Q = {
3887
- instancePath: t + "/body/" + b.replace(
3885
+ instancePath: t + "/body/" + w.replace(
3888
3886
  /~/g,
3889
3887
  "~0"
3890
3888
  ).replace(
@@ -3918,7 +3916,7 @@ function ce(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
3918
3916
  let Y;
3919
3917
  if (C.byteLength === void 0 && (Y = "byteLength")) {
3920
3918
  const oe = {
3921
- instancePath: t + "/body/" + b.replace(
3919
+ instancePath: t + "/body/" + w.replace(
3922
3920
  /~/g,
3923
3921
  "~0"
3924
3922
  ).replace(
@@ -3942,7 +3940,7 @@ function ce(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
3942
3940
  for (const pe in C)
3943
3941
  if (pe !== "byteLength") {
3944
3942
  const ge = {
3945
- instancePath: t + "/body/" + b.replace(
3943
+ instancePath: t + "/body/" + w.replace(
3946
3944
  /~/g,
3947
3945
  "~0"
3948
3946
  ).replace(
@@ -3969,7 +3967,7 @@ function ce(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
3969
3967
  pe
3970
3968
  ))) {
3971
3969
  const ge = {
3972
- instancePath: t + "/body/" + b.replace(
3970
+ instancePath: t + "/body/" + w.replace(
3973
3971
  /~/g,
3974
3972
  "~0"
3975
3973
  ).replace(
@@ -3993,7 +3991,7 @@ function ce(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
3993
3991
  }
3994
3992
  } else {
3995
3993
  const Y = {
3996
- instancePath: t + "/body/" + b.replace(
3994
+ instancePath: t + "/body/" + w.replace(
3997
3995
  /~/g,
3998
3996
  "~0"
3999
3997
  ).replace(
@@ -4024,7 +4022,7 @@ function ce(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
4024
4022
  C
4025
4023
  ))) {
4026
4024
  const Y = {
4027
- instancePath: t + "/body/" + b.replace(
4025
+ instancePath: t + "/body/" + w.replace(
4028
4026
  /~/g,
4029
4027
  "~0"
4030
4028
  ).replace(
@@ -4055,7 +4053,7 @@ function ce(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
4055
4053
  C
4056
4054
  ))) {
4057
4055
  const Y = {
4058
- instancePath: t + "/body/" + b.replace(
4056
+ instancePath: t + "/body/" + w.replace(
4059
4057
  /~/g,
4060
4058
  "~0"
4061
4059
  ).replace(
@@ -4086,7 +4084,7 @@ function ce(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
4086
4084
  C
4087
4085
  ))) {
4088
4086
  const Y = {
4089
- instancePath: t + "/body/" + b.replace(
4087
+ instancePath: t + "/body/" + w.replace(
4090
4088
  /~/g,
4091
4089
  "~0"
4092
4090
  ).replace(
@@ -4116,7 +4114,7 @@ function ce(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
4116
4114
  }
4117
4115
  } else {
4118
4116
  const te = {
4119
- instancePath: t + "/body/" + b.replace(
4117
+ instancePath: t + "/body/" + w.replace(
4120
4118
  /~/g,
4121
4119
  "~0"
4122
4120
  ).replace(
@@ -4136,8 +4134,8 @@ function ce(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
4136
4134
  te
4137
4135
  ), e++;
4138
4136
  }
4139
- var E = F === e;
4140
- if (R = R || E, !R) {
4137
+ var $ = F === e;
4138
+ if (R = R || $, !R) {
4141
4139
  const te = e;
4142
4140
  if (e === te)
4143
4141
  if (l && typeof l == "object" && !Array.isArray(
@@ -4146,7 +4144,7 @@ function ce(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
4146
4144
  let C;
4147
4145
  if (l.lastModified === void 0 && (C = "lastModified") || l.name === void 0 && (C = "name") || l.size === void 0 && (C = "size") || l.type === void 0 && (C = "type") || l.webkitRelativePath === void 0 && (C = "webkitRelativePath")) {
4148
4146
  const B = {
4149
- instancePath: t + "/body/" + b.replace(
4147
+ instancePath: t + "/body/" + w.replace(
4150
4148
  /~/g,
4151
4149
  "~0"
4152
4150
  ).replace(
@@ -4170,7 +4168,7 @@ function ce(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
4170
4168
  for (const Q in l)
4171
4169
  if (!(Q === "size" || Q === "type" || Q === "lastModified" || Q === "name" || Q === "webkitRelativePath")) {
4172
4170
  const Y = {
4173
- instancePath: t + "/body/" + b.replace(
4171
+ instancePath: t + "/body/" + w.replace(
4174
4172
  /~/g,
4175
4173
  "~0"
4176
4174
  ).replace(
@@ -4199,7 +4197,7 @@ function ce(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
4199
4197
  Q
4200
4198
  ))) {
4201
4199
  const oe = {
4202
- instancePath: t + "/body/" + b.replace(
4200
+ instancePath: t + "/body/" + w.replace(
4203
4201
  /~/g,
4204
4202
  "~0"
4205
4203
  ).replace(
@@ -4219,15 +4217,15 @@ function ce(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
4219
4217
  oe
4220
4218
  ), e++;
4221
4219
  }
4222
- var y = Y === e;
4220
+ var m = Y === e;
4223
4221
  } else
4224
- var y = !0;
4225
- if (y) {
4222
+ var m = !0;
4223
+ if (m) {
4226
4224
  if (l.type !== void 0) {
4227
4225
  const Q = e;
4228
4226
  if (typeof l.type != "string") {
4229
4227
  const oe = {
4230
- instancePath: t + "/body/" + b.replace(
4228
+ instancePath: t + "/body/" + w.replace(
4231
4229
  /~/g,
4232
4230
  "~0"
4233
4231
  ).replace(
@@ -4247,10 +4245,10 @@ function ce(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
4247
4245
  oe
4248
4246
  ), e++;
4249
4247
  }
4250
- var y = Q === e;
4248
+ var m = Q === e;
4251
4249
  } else
4252
- var y = !0;
4253
- if (y) {
4250
+ var m = !0;
4251
+ if (m) {
4254
4252
  if (l.lastModified !== void 0) {
4255
4253
  let Q = l.lastModified;
4256
4254
  const Y = e;
@@ -4258,7 +4256,7 @@ function ce(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
4258
4256
  Q
4259
4257
  ))) {
4260
4258
  const pe = {
4261
- instancePath: t + "/body/" + b.replace(
4259
+ instancePath: t + "/body/" + w.replace(
4262
4260
  /~/g,
4263
4261
  "~0"
4264
4262
  ).replace(
@@ -4278,15 +4276,15 @@ function ce(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
4278
4276
  pe
4279
4277
  ), e++;
4280
4278
  }
4281
- var y = Y === e;
4279
+ var m = Y === e;
4282
4280
  } else
4283
- var y = !0;
4284
- if (y) {
4281
+ var m = !0;
4282
+ if (m) {
4285
4283
  if (l.name !== void 0) {
4286
4284
  const Q = e;
4287
4285
  if (typeof l.name != "string") {
4288
4286
  const oe = {
4289
- instancePath: t + "/body/" + b.replace(
4287
+ instancePath: t + "/body/" + w.replace(
4290
4288
  /~/g,
4291
4289
  "~0"
4292
4290
  ).replace(
@@ -4306,15 +4304,15 @@ function ce(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
4306
4304
  oe
4307
4305
  ), e++;
4308
4306
  }
4309
- var y = Q === e;
4307
+ var m = Q === e;
4310
4308
  } else
4311
- var y = !0;
4312
- if (y)
4309
+ var m = !0;
4310
+ if (m)
4313
4311
  if (l.webkitRelativePath !== void 0) {
4314
4312
  const Q = e;
4315
4313
  if (typeof l.webkitRelativePath != "string") {
4316
4314
  const oe = {
4317
- instancePath: t + "/body/" + b.replace(
4315
+ instancePath: t + "/body/" + w.replace(
4318
4316
  /~/g,
4319
4317
  "~0"
4320
4318
  ).replace(
@@ -4334,9 +4332,9 @@ function ce(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
4334
4332
  oe
4335
4333
  ), e++;
4336
4334
  }
4337
- var y = Q === e;
4335
+ var m = Q === e;
4338
4336
  } else
4339
- var y = !0;
4337
+ var m = !0;
4340
4338
  }
4341
4339
  }
4342
4340
  }
@@ -4344,7 +4342,7 @@ function ce(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
4344
4342
  }
4345
4343
  } else {
4346
4344
  const C = {
4347
- instancePath: t + "/body/" + b.replace(
4345
+ instancePath: t + "/body/" + w.replace(
4348
4346
  /~/g,
4349
4347
  "~0"
4350
4348
  ).replace(
@@ -4364,15 +4362,15 @@ function ce(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
4364
4362
  C
4365
4363
  ), e++;
4366
4364
  }
4367
- var E = te === e;
4368
- R = R || E;
4365
+ var $ = te === e;
4366
+ R = R || $;
4369
4367
  }
4370
4368
  }
4371
4369
  if (R)
4372
4370
  e = A, i !== null && (A ? i.length = A : i = null);
4373
4371
  else {
4374
4372
  const F = {
4375
- instancePath: t + "/body/" + b.replace(
4373
+ instancePath: t + "/body/" + w.replace(
4376
4374
  /~/g,
4377
4375
  "~0"
4378
4376
  ).replace(
@@ -4395,7 +4393,7 @@ function ce(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
4395
4393
  break;
4396
4394
  }
4397
4395
  else {
4398
- const b = {
4396
+ const w = {
4399
4397
  instancePath: t + "/body",
4400
4398
  schemaPath: "#/properties/body/anyOf/2/type",
4401
4399
  keyword: "type",
@@ -4404,23 +4402,23 @@ function ce(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
4404
4402
  },
4405
4403
  message: "must be object"
4406
4404
  };
4407
- i === null ? i = [b] : i.push(b), e++;
4405
+ i === null ? i = [w] : i.push(w), e++;
4408
4406
  }
4409
- var x = w === e;
4407
+ var x = b === e;
4410
4408
  u = u || x;
4411
4409
  }
4412
4410
  }
4413
4411
  if (u)
4414
- e = T, i !== null && (T ? i.length = T : i = null);
4412
+ e = E, i !== null && (E ? i.length = E : i = null);
4415
4413
  else {
4416
- const m = {
4414
+ const y = {
4417
4415
  instancePath: t + "/body",
4418
4416
  schemaPath: "#/properties/body/anyOf",
4419
4417
  keyword: "anyOf",
4420
4418
  params: {},
4421
4419
  message: "must match a schema in anyOf"
4422
4420
  };
4423
- return i === null ? i = [m] : i.push(m), e++, ce.errors = i, !1;
4421
+ return i === null ? i = [y] : i.push(y), e++, ce.errors = i, !1;
4424
4422
  }
4425
4423
  var d = M === e;
4426
4424
  } else
@@ -4441,7 +4439,7 @@ function ce(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
4441
4439
  ], !1;
4442
4440
  return ce.errors = i, e === 0;
4443
4441
  }
4444
- const Lt = {
4442
+ const Ft = {
4445
4443
  type: "object",
4446
4444
  properties: {
4447
4445
  relativeUri: {
@@ -4512,20 +4510,20 @@ function ne(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
4512
4510
  if (e === 0)
4513
4511
  if (r && typeof r == "object" && !Array.isArray(r)) {
4514
4512
  const N = e;
4515
- for (const y in r)
4516
- if (!qr.call(Lt.properties, y))
4513
+ for (const m in r)
4514
+ if (!qr.call(Ft.properties, m))
4517
4515
  return ne.errors = [
4518
4516
  {
4519
4517
  instancePath: t,
4520
4518
  schemaPath: "#/additionalProperties",
4521
4519
  keyword: "additionalProperties",
4522
- params: { additionalProperty: y },
4520
+ params: { additionalProperty: m },
4523
4521
  message: "must NOT have additional properties"
4524
4522
  }
4525
4523
  ], !1;
4526
4524
  if (N === e) {
4527
4525
  if (r.relativeUri !== void 0) {
4528
- const y = e;
4526
+ const m = e;
4529
4527
  if (typeof r.relativeUri != "string")
4530
4528
  return ne.errors = [
4531
4529
  {
@@ -4536,12 +4534,12 @@ function ne(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
4536
4534
  message: "must be string"
4537
4535
  }
4538
4536
  ], !1;
4539
- var d = y === e;
4537
+ var d = m === e;
4540
4538
  } else
4541
4539
  var d = !0;
4542
4540
  if (d) {
4543
4541
  if (r.scriptPath !== void 0) {
4544
- const y = e;
4542
+ const m = e;
4545
4543
  if (typeof r.scriptPath != "string")
4546
4544
  return ne.errors = [
4547
4545
  {
@@ -4552,12 +4550,12 @@ function ne(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
4552
4550
  message: "must be string"
4553
4551
  }
4554
4552
  ], !1;
4555
- var d = y === e;
4553
+ var d = m === e;
4556
4554
  } else
4557
4555
  var d = !0;
4558
4556
  if (d) {
4559
4557
  if (r.protocol !== void 0) {
4560
- const y = e;
4558
+ const m = e;
4561
4559
  if (typeof r.protocol != "string")
4562
4560
  return ne.errors = [
4563
4561
  {
@@ -4568,14 +4566,14 @@ function ne(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
4568
4566
  message: "must be string"
4569
4567
  }
4570
4568
  ], !1;
4571
- var d = y === e;
4569
+ var d = m === e;
4572
4570
  } else
4573
4571
  var d = !0;
4574
4572
  if (d) {
4575
4573
  if (r.method !== void 0) {
4576
- let y = r.method;
4574
+ let m = r.method;
4577
4575
  const I = e;
4578
- if (typeof y != "string")
4576
+ if (typeof m != "string")
4579
4577
  return ne.errors = [
4580
4578
  {
4581
4579
  instancePath: t + "/method",
@@ -4585,7 +4583,7 @@ function ne(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
4585
4583
  message: "must be string"
4586
4584
  }
4587
4585
  ], !1;
4588
- if (!(y === "GET" || y === "POST" || y === "HEAD" || y === "OPTIONS" || y === "PATCH" || y === "PUT" || y === "DELETE"))
4586
+ if (!(m === "GET" || m === "POST" || m === "HEAD" || m === "OPTIONS" || m === "PATCH" || m === "PUT" || m === "DELETE"))
4589
4587
  return ne.errors = [
4590
4588
  {
4591
4589
  instancePath: t + "/method",
@@ -4602,13 +4600,13 @@ function ne(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
4602
4600
  var d = !0;
4603
4601
  if (d) {
4604
4602
  if (r.headers !== void 0) {
4605
- let y = r.headers;
4603
+ let m = r.headers;
4606
4604
  const I = e;
4607
4605
  if (e === e)
4608
- if (y && typeof y == "object" && !Array.isArray(y))
4609
- for (const _ in y) {
4606
+ if (m && typeof m == "object" && !Array.isArray(m))
4607
+ for (const _ in m) {
4610
4608
  const M = e;
4611
- if (typeof y[_] != "string")
4609
+ if (typeof m[_] != "string")
4612
4610
  return ne.errors = [
4613
4611
  {
4614
4612
  instancePath: t + "/headers/" + _.replace(
@@ -4645,48 +4643,48 @@ function ne(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
4645
4643
  var d = !0;
4646
4644
  if (d) {
4647
4645
  if (r.body !== void 0) {
4648
- let y = r.body;
4646
+ let m = r.body;
4649
4647
  const I = e, U = e;
4650
4648
  let Z = !1;
4651
4649
  const _ = e;
4652
- if (typeof y != "string") {
4653
- const T = {
4650
+ if (typeof m != "string") {
4651
+ const E = {
4654
4652
  instancePath: t + "/body",
4655
4653
  schemaPath: "#/properties/body/anyOf/0/type",
4656
4654
  keyword: "type",
4657
4655
  params: { type: "string" },
4658
4656
  message: "must be string"
4659
4657
  };
4660
- i === null ? i = [T] : i.push(T), e++;
4658
+ i === null ? i = [E] : i.push(E), e++;
4661
4659
  }
4662
4660
  var x = _ === e;
4663
4661
  if (Z = Z || x, !Z) {
4664
- const T = e;
4665
- if (e === T)
4666
- if (y && typeof y == "object" && !Array.isArray(y)) {
4667
- let O;
4668
- if (y.BYTES_PER_ELEMENT === void 0 && (O = "BYTES_PER_ELEMENT") || y.buffer === void 0 && (O = "buffer") || y.byteLength === void 0 && (O = "byteLength") || y.byteOffset === void 0 && (O = "byteOffset") || y.length === void 0 && (O = "length")) {
4662
+ const E = e;
4663
+ if (e === E)
4664
+ if (m && typeof m == "object" && !Array.isArray(m)) {
4665
+ let T;
4666
+ if (m.BYTES_PER_ELEMENT === void 0 && (T = "BYTES_PER_ELEMENT") || m.buffer === void 0 && (T = "buffer") || m.byteLength === void 0 && (T = "byteLength") || m.byteOffset === void 0 && (T = "byteOffset") || m.length === void 0 && (T = "length")) {
4669
4667
  const z = {
4670
4668
  instancePath: t + "/body",
4671
4669
  schemaPath: "#/properties/body/anyOf/1/required",
4672
4670
  keyword: "required",
4673
4671
  params: {
4674
- missingProperty: O
4672
+ missingProperty: T
4675
4673
  },
4676
- message: "must have required property '" + O + "'"
4674
+ message: "must have required property '" + T + "'"
4677
4675
  };
4678
4676
  i === null ? i = [z] : i.push(z), e++;
4679
4677
  } else {
4680
4678
  const z = e;
4681
- for (const m in y)
4682
- if (!(m === "BYTES_PER_ELEMENT" || m === "buffer" || m === "byteLength" || m === "byteOffset" || m === "length")) {
4683
- let v = y[m];
4684
- const w = e;
4679
+ for (const y in m)
4680
+ if (!(y === "BYTES_PER_ELEMENT" || y === "buffer" || y === "byteLength" || y === "byteOffset" || y === "length")) {
4681
+ let v = m[y];
4682
+ const b = e;
4685
4683
  if (!(typeof v == "number" && isFinite(
4686
4684
  v
4687
4685
  ))) {
4688
- const q = {
4689
- instancePath: t + "/body/" + m.replace(
4686
+ const j = {
4687
+ instancePath: t + "/body/" + y.replace(
4690
4688
  /~/g,
4691
4689
  "~0"
4692
4690
  ).replace(
@@ -4701,23 +4699,23 @@ function ne(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
4701
4699
  message: "must be number"
4702
4700
  };
4703
4701
  i === null ? i = [
4704
- q
4702
+ j
4705
4703
  ] : i.push(
4706
- q
4704
+ j
4707
4705
  ), e++;
4708
4706
  }
4709
- var j = w === e;
4710
- if (!j)
4707
+ var q = b === e;
4708
+ if (!q)
4711
4709
  break;
4712
4710
  }
4713
4711
  if (z === e) {
4714
- if (y.BYTES_PER_ELEMENT !== void 0) {
4715
- let m = y.BYTES_PER_ELEMENT;
4712
+ if (m.BYTES_PER_ELEMENT !== void 0) {
4713
+ let y = m.BYTES_PER_ELEMENT;
4716
4714
  const v = e;
4717
- if (!(typeof m == "number" && isFinite(
4718
- m
4715
+ if (!(typeof y == "number" && isFinite(
4716
+ y
4719
4717
  ))) {
4720
- const w = {
4718
+ const b = {
4721
4719
  instancePath: t + "/body/BYTES_PER_ELEMENT",
4722
4720
  schemaPath: "#/properties/body/anyOf/1/properties/BYTES_PER_ELEMENT/type",
4723
4721
  keyword: "type",
@@ -4727,41 +4725,41 @@ function ne(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
4727
4725
  message: "must be number"
4728
4726
  };
4729
4727
  i === null ? i = [
4730
- w
4728
+ b
4731
4729
  ] : i.push(
4732
- w
4730
+ b
4733
4731
  ), e++;
4734
4732
  }
4735
4733
  var P = v === e;
4736
4734
  } else
4737
4735
  var P = !0;
4738
4736
  if (P) {
4739
- if (y.buffer !== void 0) {
4740
- let m = y.buffer;
4737
+ if (m.buffer !== void 0) {
4738
+ let y = m.buffer;
4741
4739
  const v = e;
4742
4740
  if (e === v)
4743
- if (m && typeof m == "object" && !Array.isArray(
4744
- m
4741
+ if (y && typeof y == "object" && !Array.isArray(
4742
+ y
4745
4743
  )) {
4746
- let q;
4747
- if (m.byteLength === void 0 && (q = "byteLength")) {
4748
- const b = {
4744
+ let j;
4745
+ if (y.byteLength === void 0 && (j = "byteLength")) {
4746
+ const w = {
4749
4747
  instancePath: t + "/body/buffer",
4750
4748
  schemaPath: "#/properties/body/anyOf/1/properties/buffer/required",
4751
4749
  keyword: "required",
4752
4750
  params: {
4753
- missingProperty: q
4751
+ missingProperty: j
4754
4752
  },
4755
- message: "must have required property '" + q + "'"
4753
+ message: "must have required property '" + j + "'"
4756
4754
  };
4757
4755
  i === null ? i = [
4758
- b
4756
+ w
4759
4757
  ] : i.push(
4760
- b
4758
+ w
4761
4759
  ), e++;
4762
4760
  } else {
4763
- const b = e;
4764
- for (const l in m)
4761
+ const w = e;
4762
+ for (const l in y)
4765
4763
  if (l !== "byteLength") {
4766
4764
  const D = {
4767
4765
  instancePath: t + "/body/buffer",
@@ -4779,8 +4777,8 @@ function ne(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
4779
4777
  ), e++;
4780
4778
  break;
4781
4779
  }
4782
- if (b === e && m.byteLength !== void 0) {
4783
- let l = m.byteLength;
4780
+ if (w === e && y.byteLength !== void 0) {
4781
+ let l = y.byteLength;
4784
4782
  if (!(typeof l == "number" && isFinite(
4785
4783
  l
4786
4784
  ))) {
@@ -4802,7 +4800,7 @@ function ne(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
4802
4800
  }
4803
4801
  }
4804
4802
  } else {
4805
- const q = {
4803
+ const j = {
4806
4804
  instancePath: t + "/body/buffer",
4807
4805
  schemaPath: "#/properties/body/anyOf/1/properties/buffer/type",
4808
4806
  keyword: "type",
@@ -4812,22 +4810,22 @@ function ne(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
4812
4810
  message: "must be object"
4813
4811
  };
4814
4812
  i === null ? i = [
4815
- q
4813
+ j
4816
4814
  ] : i.push(
4817
- q
4815
+ j
4818
4816
  ), e++;
4819
4817
  }
4820
4818
  var P = v === e;
4821
4819
  } else
4822
4820
  var P = !0;
4823
4821
  if (P) {
4824
- if (y.byteLength !== void 0) {
4825
- let m = y.byteLength;
4822
+ if (m.byteLength !== void 0) {
4823
+ let y = m.byteLength;
4826
4824
  const v = e;
4827
- if (!(typeof m == "number" && isFinite(
4828
- m
4825
+ if (!(typeof y == "number" && isFinite(
4826
+ y
4829
4827
  ))) {
4830
- const q = {
4828
+ const j = {
4831
4829
  instancePath: t + "/body/byteLength",
4832
4830
  schemaPath: "#/properties/body/anyOf/1/properties/byteLength/type",
4833
4831
  keyword: "type",
@@ -4837,22 +4835,22 @@ function ne(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
4837
4835
  message: "must be number"
4838
4836
  };
4839
4837
  i === null ? i = [
4840
- q
4838
+ j
4841
4839
  ] : i.push(
4842
- q
4840
+ j
4843
4841
  ), e++;
4844
4842
  }
4845
4843
  var P = v === e;
4846
4844
  } else
4847
4845
  var P = !0;
4848
4846
  if (P) {
4849
- if (y.byteOffset !== void 0) {
4850
- let m = y.byteOffset;
4847
+ if (m.byteOffset !== void 0) {
4848
+ let y = m.byteOffset;
4851
4849
  const v = e;
4852
- if (!(typeof m == "number" && isFinite(
4853
- m
4850
+ if (!(typeof y == "number" && isFinite(
4851
+ y
4854
4852
  ))) {
4855
- const q = {
4853
+ const j = {
4856
4854
  instancePath: t + "/body/byteOffset",
4857
4855
  schemaPath: "#/properties/body/anyOf/1/properties/byteOffset/type",
4858
4856
  keyword: "type",
@@ -4862,22 +4860,22 @@ function ne(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
4862
4860
  message: "must be number"
4863
4861
  };
4864
4862
  i === null ? i = [
4865
- q
4863
+ j
4866
4864
  ] : i.push(
4867
- q
4865
+ j
4868
4866
  ), e++;
4869
4867
  }
4870
4868
  var P = v === e;
4871
4869
  } else
4872
4870
  var P = !0;
4873
4871
  if (P)
4874
- if (y.length !== void 0) {
4875
- let m = y.length;
4872
+ if (m.length !== void 0) {
4873
+ let y = m.length;
4876
4874
  const v = e;
4877
- if (!(typeof m == "number" && isFinite(
4878
- m
4875
+ if (!(typeof y == "number" && isFinite(
4876
+ y
4879
4877
  ))) {
4880
- const q = {
4878
+ const j = {
4881
4879
  instancePath: t + "/body/length",
4882
4880
  schemaPath: "#/properties/body/anyOf/1/properties/length/type",
4883
4881
  keyword: "type",
@@ -4887,9 +4885,9 @@ function ne(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
4887
4885
  message: "must be number"
4888
4886
  };
4889
4887
  i === null ? i = [
4890
- q
4888
+ j
4891
4889
  ] : i.push(
4892
- q
4890
+ j
4893
4891
  ), e++;
4894
4892
  }
4895
4893
  var P = v === e;
@@ -4901,7 +4899,7 @@ function ne(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
4901
4899
  }
4902
4900
  }
4903
4901
  } else {
4904
- const O = {
4902
+ const T = {
4905
4903
  instancePath: t + "/body",
4906
4904
  schemaPath: "#/properties/body/anyOf/1/type",
4907
4905
  keyword: "type",
@@ -4910,35 +4908,35 @@ function ne(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
4910
4908
  },
4911
4909
  message: "must be object"
4912
4910
  };
4913
- i === null ? i = [O] : i.push(O), e++;
4911
+ i === null ? i = [T] : i.push(T), e++;
4914
4912
  }
4915
- var x = T === e;
4913
+ var x = E === e;
4916
4914
  Z = Z || x;
4917
4915
  }
4918
4916
  if (Z)
4919
4917
  e = U, i !== null && (U ? i.length = U : i = null);
4920
4918
  else {
4921
- const T = {
4919
+ const E = {
4922
4920
  instancePath: t + "/body",
4923
4921
  schemaPath: "#/properties/body/anyOf",
4924
4922
  keyword: "anyOf",
4925
4923
  params: {},
4926
4924
  message: "must match a schema in anyOf"
4927
4925
  };
4928
- return i === null ? i = [T] : i.push(T), e++, ne.errors = i, !1;
4926
+ return i === null ? i = [E] : i.push(E), e++, ne.errors = i, !1;
4929
4927
  }
4930
4928
  var d = I === e;
4931
4929
  } else
4932
4930
  var d = !0;
4933
4931
  if (d) {
4934
4932
  if (r.env !== void 0) {
4935
- let y = r.env;
4933
+ let m = r.env;
4936
4934
  const I = e;
4937
4935
  if (e === I)
4938
- if (y && typeof y == "object" && !Array.isArray(y))
4939
- for (const Z in y) {
4936
+ if (m && typeof m == "object" && !Array.isArray(m))
4937
+ for (const Z in m) {
4940
4938
  const _ = e;
4941
- if (typeof y[Z] != "string")
4939
+ if (typeof m[Z] != "string")
4942
4940
  return ne.errors = [
4943
4941
  {
4944
4942
  instancePath: t + "/env/" + Z.replace(
@@ -4956,8 +4954,8 @@ function ne(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
4956
4954
  message: "must be string"
4957
4955
  }
4958
4956
  ], !1;
4959
- var E = _ === e;
4960
- if (!E)
4957
+ var $ = _ === e;
4958
+ if (!$)
4961
4959
  break;
4962
4960
  }
4963
4961
  else
@@ -4977,13 +4975,13 @@ function ne(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
4977
4975
  var d = !0;
4978
4976
  if (d) {
4979
4977
  if (r.$_SERVER !== void 0) {
4980
- let y = r.$_SERVER;
4978
+ let m = r.$_SERVER;
4981
4979
  const I = e;
4982
4980
  if (e === I)
4983
- if (y && typeof y == "object" && !Array.isArray(y))
4984
- for (const Z in y) {
4981
+ if (m && typeof m == "object" && !Array.isArray(m))
4982
+ for (const Z in m) {
4985
4983
  const _ = e;
4986
- if (typeof y[Z] != "string")
4984
+ if (typeof m[Z] != "string")
4987
4985
  return ne.errors = [
4988
4986
  {
4989
4987
  instancePath: t + "/$_SERVER/" + Z.replace(
@@ -5022,7 +5020,7 @@ function ne(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
5022
5020
  var d = !0;
5023
5021
  if (d)
5024
5022
  if (r.code !== void 0) {
5025
- const y = e;
5023
+ const m = e;
5026
5024
  if (typeof r.code != "string")
5027
5025
  return ne.errors = [
5028
5026
  {
@@ -5035,7 +5033,7 @@ function ne(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
5035
5033
  message: "must be string"
5036
5034
  }
5037
5035
  ], !1;
5038
- var d = y === e;
5036
+ var d = m === e;
5039
5037
  } else
5040
5038
  var d = !0;
5041
5039
  }
@@ -5130,7 +5128,7 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
5130
5128
  if (k === e) {
5131
5129
  if (s.weight !== void 0) {
5132
5130
  let n = s.weight;
5133
- const $ = e;
5131
+ const O = e;
5134
5132
  if (!(typeof n == "number" && isFinite(
5135
5133
  n
5136
5134
  )))
@@ -5145,7 +5143,7 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
5145
5143
  message: "must be number"
5146
5144
  }
5147
5145
  ], !1;
5148
- var d = $ === e;
5146
+ var d = O === e;
5149
5147
  } else
5150
5148
  var d = !0;
5151
5149
  if (d)
@@ -5317,7 +5315,7 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
5317
5315
  if (k === e) {
5318
5316
  if (s.weight !== void 0) {
5319
5317
  let n = s.weight;
5320
- const $ = e;
5318
+ const O = e;
5321
5319
  if (!(typeof n == "number" && isFinite(
5322
5320
  n
5323
5321
  )))
@@ -5332,7 +5330,7 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
5332
5330
  message: "must be number"
5333
5331
  }
5334
5332
  ], !1;
5335
- var x = $ === e;
5333
+ var x = O === e;
5336
5334
  } else
5337
5335
  var x = !0;
5338
5336
  if (x)
@@ -5366,10 +5364,10 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
5366
5364
  message: "must be object"
5367
5365
  }
5368
5366
  ], !1;
5369
- var j = a === e;
5367
+ var q = a === e;
5370
5368
  } else
5371
- var j = !0;
5372
- if (j) {
5369
+ var q = !0;
5370
+ if (q) {
5373
5371
  if (r.step !== void 0) {
5374
5372
  let s = r.step;
5375
5373
  const a = e;
@@ -5397,10 +5395,10 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
5397
5395
  message: "must be equal to constant"
5398
5396
  }
5399
5397
  ], !1;
5400
- var j = a === e;
5398
+ var q = a === e;
5401
5399
  } else
5402
- var j = !0;
5403
- if (j)
5400
+ var q = !0;
5401
+ if (q)
5404
5402
  if (r.themeFolderName !== void 0) {
5405
5403
  const s = e;
5406
5404
  if (typeof r.themeFolderName != "string")
@@ -5415,9 +5413,9 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
5415
5413
  message: "must be string"
5416
5414
  }
5417
5415
  ], !1;
5418
- var j = s === e;
5416
+ var q = s === e;
5419
5417
  } else
5420
- var j = !0;
5418
+ var q = !0;
5421
5419
  }
5422
5420
  }
5423
5421
  }
@@ -5485,7 +5483,7 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
5485
5483
  if (k === e) {
5486
5484
  if (s.weight !== void 0) {
5487
5485
  let n = s.weight;
5488
- const $ = e;
5486
+ const O = e;
5489
5487
  if (!(typeof n == "number" && isFinite(
5490
5488
  n
5491
5489
  )))
@@ -5500,7 +5498,7 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
5500
5498
  message: "must be number"
5501
5499
  }
5502
5500
  ], !1;
5503
- var P = $ === e;
5501
+ var P = O === e;
5504
5502
  } else
5505
5503
  var P = !0;
5506
5504
  if (P)
@@ -5534,10 +5532,10 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
5534
5532
  message: "must be object"
5535
5533
  }
5536
5534
  ], !1;
5537
- var E = a === e;
5535
+ var $ = a === e;
5538
5536
  } else
5539
- var E = !0;
5540
- if (E) {
5537
+ var $ = !0;
5538
+ if ($) {
5541
5539
  if (r.step !== void 0) {
5542
5540
  let s = r.step;
5543
5541
  const a = e;
@@ -5565,10 +5563,10 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
5565
5563
  message: "must be equal to constant"
5566
5564
  }
5567
5565
  ], !1;
5568
- var E = a === e;
5566
+ var $ = a === e;
5569
5567
  } else
5570
- var E = !0;
5571
- if (E) {
5568
+ var $ = !0;
5569
+ if ($) {
5572
5570
  if (r.fromPath !== void 0) {
5573
5571
  const s = e;
5574
5572
  if (typeof r.fromPath != "string")
@@ -5583,10 +5581,10 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
5583
5581
  message: "must be string"
5584
5582
  }
5585
5583
  ], !1;
5586
- var E = s === e;
5584
+ var $ = s === e;
5587
5585
  } else
5588
- var E = !0;
5589
- if (E)
5586
+ var $ = !0;
5587
+ if ($)
5590
5588
  if (r.toPath !== void 0) {
5591
5589
  const s = e;
5592
5590
  if (typeof r.toPath != "string")
@@ -5601,9 +5599,9 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
5601
5599
  message: "must be string"
5602
5600
  }
5603
5601
  ], !1;
5604
- var E = s === e;
5602
+ var $ = s === e;
5605
5603
  } else
5606
- var E = !0;
5604
+ var $ = !0;
5607
5605
  }
5608
5606
  }
5609
5607
  }
@@ -5672,7 +5670,7 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
5672
5670
  if (k === e) {
5673
5671
  if (s.weight !== void 0) {
5674
5672
  let n = s.weight;
5675
- const $ = e;
5673
+ const O = e;
5676
5674
  if (!(typeof n == "number" && isFinite(
5677
5675
  n
5678
5676
  )))
@@ -5687,7 +5685,7 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
5687
5685
  message: "must be number"
5688
5686
  }
5689
5687
  ], !1;
5690
- var L = $ === e;
5688
+ var L = O === e;
5691
5689
  } else
5692
5690
  var L = !0;
5693
5691
  if (L)
@@ -5894,7 +5892,7 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
5894
5892
  if (k === e) {
5895
5893
  if (s.weight !== void 0) {
5896
5894
  let n = s.weight;
5897
- const $ = e;
5895
+ const O = e;
5898
5896
  if (!(typeof n == "number" && isFinite(
5899
5897
  n
5900
5898
  )))
@@ -5909,10 +5907,10 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
5909
5907
  message: "must be number"
5910
5908
  }
5911
5909
  ], !1;
5912
- var y = $ === e;
5910
+ var m = O === e;
5913
5911
  } else
5914
- var y = !0;
5915
- if (y)
5912
+ var m = !0;
5913
+ if (m)
5916
5914
  if (s.caption !== void 0) {
5917
5915
  const n = e;
5918
5916
  if (typeof s.caption != "string")
@@ -5927,9 +5925,9 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
5927
5925
  message: "must be string"
5928
5926
  }
5929
5927
  ], !1;
5930
- var y = n === e;
5928
+ var m = n === e;
5931
5929
  } else
5932
- var y = !0;
5930
+ var m = !0;
5933
5931
  }
5934
5932
  } else
5935
5933
  return o.errors = [
@@ -6062,7 +6060,7 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
6062
6060
  if (k === e) {
6063
6061
  if (s.weight !== void 0) {
6064
6062
  let n = s.weight;
6065
- const $ = e;
6063
+ const O = e;
6066
6064
  if (!(typeof n == "number" && isFinite(
6067
6065
  n
6068
6066
  )))
@@ -6077,7 +6075,7 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
6077
6075
  message: "must be number"
6078
6076
  }
6079
6077
  ], !1;
6080
- var U = $ === e;
6078
+ var U = O === e;
6081
6079
  } else
6082
6080
  var U = !0;
6083
6081
  if (U)
@@ -6230,7 +6228,7 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
6230
6228
  if (k === e) {
6231
6229
  if (s.weight !== void 0) {
6232
6230
  let n = s.weight;
6233
- const $ = e;
6231
+ const O = e;
6234
6232
  if (!(typeof n == "number" && isFinite(
6235
6233
  n
6236
6234
  )))
@@ -6245,7 +6243,7 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
6245
6243
  message: "must be number"
6246
6244
  }
6247
6245
  ], !1;
6248
- var _ = $ === e;
6246
+ var _ = O === e;
6249
6247
  } else
6250
6248
  var _ = !0;
6251
6249
  if (_)
@@ -6394,7 +6392,7 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
6394
6392
  if (k === e) {
6395
6393
  if (s.weight !== void 0) {
6396
6394
  let n = s.weight;
6397
- const $ = e;
6395
+ const O = e;
6398
6396
  if (!(typeof n == "number" && isFinite(
6399
6397
  n
6400
6398
  )))
@@ -6409,10 +6407,10 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
6409
6407
  message: "must be number"
6410
6408
  }
6411
6409
  ], !1;
6412
- var T = $ === e;
6410
+ var E = O === e;
6413
6411
  } else
6414
- var T = !0;
6415
- if (T)
6412
+ var E = !0;
6413
+ if (E)
6416
6414
  if (s.caption !== void 0) {
6417
6415
  const n = e;
6418
6416
  if (typeof s.caption != "string")
@@ -6427,9 +6425,9 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
6427
6425
  message: "must be string"
6428
6426
  }
6429
6427
  ], !1;
6430
- var T = n === e;
6428
+ var E = n === e;
6431
6429
  } else
6432
- var T = !0;
6430
+ var E = !0;
6433
6431
  }
6434
6432
  } else
6435
6433
  return o.errors = [
@@ -6562,7 +6560,7 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
6562
6560
  if (k === e) {
6563
6561
  if (s.weight !== void 0) {
6564
6562
  let n = s.weight;
6565
- const $ = e;
6563
+ const O = e;
6566
6564
  if (!(typeof n == "number" && isFinite(
6567
6565
  n
6568
6566
  )))
@@ -6577,10 +6575,10 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
6577
6575
  message: "must be number"
6578
6576
  }
6579
6577
  ], !1;
6580
- var O = $ === e;
6578
+ var T = O === e;
6581
6579
  } else
6582
- var O = !0;
6583
- if (O)
6580
+ var T = !0;
6581
+ if (T)
6584
6582
  if (s.caption !== void 0) {
6585
6583
  const n = e;
6586
6584
  if (typeof s.caption != "string")
@@ -6595,9 +6593,9 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
6595
6593
  message: "must be string"
6596
6594
  }
6597
6595
  ], !1;
6598
- var O = n === e;
6596
+ var T = n === e;
6599
6597
  } else
6600
- var O = !0;
6598
+ var T = !0;
6601
6599
  }
6602
6600
  } else
6603
6601
  return o.errors = [
@@ -6748,7 +6746,7 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
6748
6746
  if (k === e) {
6749
6747
  if (s.weight !== void 0) {
6750
6748
  let n = s.weight;
6751
- const $ = e;
6749
+ const O = e;
6752
6750
  if (!(typeof n == "number" && isFinite(
6753
6751
  n
6754
6752
  )))
@@ -6763,10 +6761,10 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
6763
6761
  message: "must be number"
6764
6762
  }
6765
6763
  ], !1;
6766
- var m = $ === e;
6764
+ var y = O === e;
6767
6765
  } else
6768
- var m = !0;
6769
- if (m)
6766
+ var y = !0;
6767
+ if (y)
6770
6768
  if (s.caption !== void 0) {
6771
6769
  const n = e;
6772
6770
  if (typeof s.caption != "string")
@@ -6781,9 +6779,9 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
6781
6779
  message: "must be string"
6782
6780
  }
6783
6781
  ], !1;
6784
- var m = n === e;
6782
+ var y = n === e;
6785
6783
  } else
6786
- var m = !0;
6784
+ var y = !0;
6787
6785
  }
6788
6786
  } else
6789
6787
  return o.errors = [
@@ -6867,7 +6865,7 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
6867
6865
  let s = r.pluginData;
6868
6866
  const a = e, k = e;
6869
6867
  let n = !1;
6870
- const $ = e;
6868
+ const O = e;
6871
6869
  J(
6872
6870
  s,
6873
6871
  {
@@ -6879,8 +6877,8 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
6879
6877
  ) || (i = i === null ? J.errors : i.concat(
6880
6878
  J.errors
6881
6879
  ), e = i.length);
6882
- var w = $ === e;
6883
- if (n = n || w, !n) {
6880
+ var b = O === e;
6881
+ if (n = n || b, !n) {
6884
6882
  const se = e;
6885
6883
  he(
6886
6884
  s,
@@ -6893,8 +6891,8 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
6893
6891
  ) || (i = i === null ? he.errors : i.concat(
6894
6892
  he.errors
6895
6893
  ), e = i.length);
6896
- var w = se === e;
6897
- n = n || w;
6894
+ var b = se === e;
6895
+ n = n || b;
6898
6896
  }
6899
6897
  if (n)
6900
6898
  e = k, i !== null && (k ? i.length = k : i = null);
@@ -6940,7 +6938,7 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
6940
6938
  if (s && typeof s == "object" && !Array.isArray(
6941
6939
  s
6942
6940
  )) {
6943
- const $ = e;
6941
+ const O = e;
6944
6942
  for (const re in s)
6945
6943
  if (!(re === "activate" || re === "targetFolderName"))
6946
6944
  return o.errors = [
@@ -6954,7 +6952,7 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
6954
6952
  message: "must NOT have additional properties"
6955
6953
  }
6956
6954
  ], !1;
6957
- if ($ === e) {
6955
+ if (O === e) {
6958
6956
  if (s.activate !== void 0) {
6959
6957
  const re = e;
6960
6958
  if (typeof s.activate != "boolean")
@@ -6969,10 +6967,10 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
6969
6967
  message: "must be boolean"
6970
6968
  }
6971
6969
  ], !1;
6972
- var q = re === e;
6970
+ var j = re === e;
6973
6971
  } else
6974
- var q = !0;
6975
- if (q)
6972
+ var j = !0;
6973
+ if (j)
6976
6974
  if (s.targetFolderName !== void 0) {
6977
6975
  const re = e;
6978
6976
  if (typeof s.targetFolderName != "string")
@@ -6987,9 +6985,9 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
6987
6985
  message: "must be string"
6988
6986
  }
6989
6987
  ], !1;
6990
- var q = re === e;
6988
+ var j = re === e;
6991
6989
  } else
6992
- var q = !0;
6990
+ var j = !0;
6993
6991
  }
6994
6992
  } else
6995
6993
  return o.errors = [
@@ -7076,7 +7074,7 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
7076
7074
  if (k === e) {
7077
7075
  if (s.weight !== void 0) {
7078
7076
  let n = s.weight;
7079
- const $ = e;
7077
+ const O = e;
7080
7078
  if (!(typeof n == "number" && isFinite(
7081
7079
  n
7082
7080
  )))
@@ -7091,10 +7089,10 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
7091
7089
  message: "must be number"
7092
7090
  }
7093
7091
  ], !1;
7094
- var b = $ === e;
7092
+ var w = O === e;
7095
7093
  } else
7096
- var b = !0;
7097
- if (b)
7094
+ var w = !0;
7095
+ if (w)
7098
7096
  if (s.caption !== void 0) {
7099
7097
  const n = e;
7100
7098
  if (typeof s.caption != "string")
@@ -7109,9 +7107,9 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
7109
7107
  message: "must be string"
7110
7108
  }
7111
7109
  ], !1;
7112
- var b = n === e;
7110
+ var w = n === e;
7113
7111
  } else
7114
- var b = !0;
7112
+ var w = !0;
7115
7113
  }
7116
7114
  } else
7117
7115
  return o.errors = [
@@ -7195,7 +7193,7 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
7195
7193
  let s = r.themeData;
7196
7194
  const a = e, k = e;
7197
7195
  let n = !1;
7198
- const $ = e;
7196
+ const O = e;
7199
7197
  J(
7200
7198
  s,
7201
7199
  {
@@ -7207,7 +7205,7 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
7207
7205
  ) || (i = i === null ? J.errors : i.concat(
7208
7206
  J.errors
7209
7207
  ), e = i.length);
7210
- var D = $ === e;
7208
+ var D = O === e;
7211
7209
  if (n = n || D, !n) {
7212
7210
  const se = e;
7213
7211
  he(
@@ -7268,7 +7266,7 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
7268
7266
  if (s && typeof s == "object" && !Array.isArray(
7269
7267
  s
7270
7268
  )) {
7271
- const $ = e;
7269
+ const O = e;
7272
7270
  for (const re in s)
7273
7271
  if (!(re === "activate" || re === "importStarterContent" || re === "targetFolderName"))
7274
7272
  return o.errors = [
@@ -7282,7 +7280,7 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
7282
7280
  message: "must NOT have additional properties"
7283
7281
  }
7284
7282
  ], !1;
7285
- if ($ === e) {
7283
+ if (O === e) {
7286
7284
  if (s.activate !== void 0) {
7287
7285
  const re = e;
7288
7286
  if (typeof s.activate != "boolean")
@@ -7423,7 +7421,7 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
7423
7421
  if (k === e) {
7424
7422
  if (s.weight !== void 0) {
7425
7423
  let n = s.weight;
7426
- const $ = e;
7424
+ const O = e;
7427
7425
  if (!(typeof n == "number" && isFinite(
7428
7426
  n
7429
7427
  )))
@@ -7438,7 +7436,7 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
7438
7436
  message: "must be number"
7439
7437
  }
7440
7438
  ], !1;
7441
- var R = $ === e;
7439
+ var R = O === e;
7442
7440
  } else
7443
7441
  var R = !0;
7444
7442
  if (R)
@@ -7610,7 +7608,7 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
7610
7608
  if (k === e) {
7611
7609
  if (s.weight !== void 0) {
7612
7610
  let n = s.weight;
7613
- const $ = e;
7611
+ const O = e;
7614
7612
  if (!(typeof n == "number" && isFinite(
7615
7613
  n
7616
7614
  )))
@@ -7625,7 +7623,7 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
7625
7623
  message: "must be number"
7626
7624
  }
7627
7625
  ], !1;
7628
- var F = $ === e;
7626
+ var F = O === e;
7629
7627
  } else
7630
7628
  var F = !0;
7631
7629
  if (F)
@@ -7778,7 +7776,7 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
7778
7776
  if (k === e) {
7779
7777
  if (s.weight !== void 0) {
7780
7778
  let n = s.weight;
7781
- const $ = e;
7779
+ const O = e;
7782
7780
  if (!(typeof n == "number" && isFinite(
7783
7781
  n
7784
7782
  )))
@@ -7793,7 +7791,7 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
7793
7791
  message: "must be number"
7794
7792
  }
7795
7793
  ], !1;
7796
- var te = $ === e;
7794
+ var te = O === e;
7797
7795
  } else
7798
7796
  var te = !0;
7799
7797
  if (te)
@@ -7965,7 +7963,7 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
7965
7963
  if (k === e) {
7966
7964
  if (s.weight !== void 0) {
7967
7965
  let n = s.weight;
7968
- const $ = e;
7966
+ const O = e;
7969
7967
  if (!(typeof n == "number" && isFinite(
7970
7968
  n
7971
7969
  )))
@@ -7980,7 +7978,7 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
7980
7978
  message: "must be number"
7981
7979
  }
7982
7980
  ], !1;
7983
- var C = $ === e;
7981
+ var C = O === e;
7984
7982
  } else
7985
7983
  var C = !0;
7986
7984
  if (C)
@@ -8114,7 +8112,7 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
8114
8112
  if (k === e) {
8115
8113
  if (s.weight !== void 0) {
8116
8114
  let n = s.weight;
8117
- const $ = e;
8115
+ const O = e;
8118
8116
  if (!(typeof n == "number" && isFinite(
8119
8117
  n
8120
8118
  )))
@@ -8129,7 +8127,7 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
8129
8127
  message: "must be number"
8130
8128
  }
8131
8129
  ], !1;
8132
- var Q = $ === e;
8130
+ var Q = O === e;
8133
8131
  } else
8134
8132
  var Q = !0;
8135
8133
  if (Q)
@@ -8281,7 +8279,7 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
8281
8279
  if (k === e) {
8282
8280
  if (s.weight !== void 0) {
8283
8281
  let n = s.weight;
8284
- const $ = e;
8282
+ const O = e;
8285
8283
  if (!(typeof n == "number" && isFinite(
8286
8284
  n
8287
8285
  )))
@@ -8296,7 +8294,7 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
8296
8294
  message: "must be number"
8297
8295
  }
8298
8296
  ], !1;
8299
- var oe = $ === e;
8297
+ var oe = O === e;
8300
8298
  } else
8301
8299
  var oe = !0;
8302
8300
  if (oe)
@@ -8449,7 +8447,7 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
8449
8447
  if (k === e) {
8450
8448
  if (s.weight !== void 0) {
8451
8449
  let n = s.weight;
8452
- const $ = e;
8450
+ const O = e;
8453
8451
  if (!(typeof n == "number" && isFinite(
8454
8452
  n
8455
8453
  )))
@@ -8464,7 +8462,7 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
8464
8462
  message: "must be number"
8465
8463
  }
8466
8464
  ], !1;
8467
- var ge = $ === e;
8465
+ var ge = O === e;
8468
8466
  } else
8469
8467
  var ge = !0;
8470
8468
  if (ge)
@@ -8617,7 +8615,7 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
8617
8615
  if (k === e) {
8618
8616
  if (s.weight !== void 0) {
8619
8617
  let n = s.weight;
8620
- const $ = e;
8618
+ const O = e;
8621
8619
  if (!(typeof n == "number" && isFinite(
8622
8620
  n
8623
8621
  )))
@@ -8632,7 +8630,7 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
8632
8630
  message: "must be number"
8633
8631
  }
8634
8632
  ], !1;
8635
- var De = $ === e;
8633
+ var De = O === e;
8636
8634
  } else
8637
8635
  var De = !0;
8638
8636
  if (De)
@@ -8785,7 +8783,7 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
8785
8783
  if (k === e) {
8786
8784
  if (s.weight !== void 0) {
8787
8785
  let n = s.weight;
8788
- const $ = e;
8786
+ const O = e;
8789
8787
  if (!(typeof n == "number" && isFinite(
8790
8788
  n
8791
8789
  )))
@@ -8800,7 +8798,7 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
8800
8798
  message: "must be number"
8801
8799
  }
8802
8800
  ], !1;
8803
- var xe = $ === e;
8801
+ var xe = O === e;
8804
8802
  } else
8805
8803
  var xe = !0;
8806
8804
  if (xe)
@@ -8952,7 +8950,7 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
8952
8950
  if (k === e) {
8953
8951
  if (s.weight !== void 0) {
8954
8952
  let n = s.weight;
8955
- const $ = e;
8953
+ const O = e;
8956
8954
  if (!(typeof n == "number" && isFinite(
8957
8955
  n
8958
8956
  )))
@@ -8967,7 +8965,7 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
8967
8965
  message: "must be number"
8968
8966
  }
8969
8967
  ], !1;
8970
- var Ce = $ === e;
8968
+ var Ce = O === e;
8971
8969
  } else
8972
8970
  var Ce = !0;
8973
8971
  if (Ce)
@@ -9043,7 +9041,7 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
9043
9041
  if (s && typeof s == "object" && !Array.isArray(
9044
9042
  s
9045
9043
  )) {
9046
- const $ = e;
9044
+ const O = e;
9047
9045
  for (const re in s)
9048
9046
  if (!(re === "adminUsername" || re === "adminPassword"))
9049
9047
  return o.errors = [
@@ -9057,7 +9055,7 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
9057
9055
  message: "must NOT have additional properties"
9058
9056
  }
9059
9057
  ], !1;
9060
- if ($ === e) {
9058
+ if (O === e) {
9061
9059
  if (s.adminUsername !== void 0) {
9062
9060
  const re = e;
9063
9061
  if (typeof s.adminUsername != "string")
@@ -9176,7 +9174,7 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
9176
9174
  if (k === e) {
9177
9175
  if (s.weight !== void 0) {
9178
9176
  let n = s.weight;
9179
- const $ = e;
9177
+ const O = e;
9180
9178
  if (!(typeof n == "number" && isFinite(
9181
9179
  n
9182
9180
  )))
@@ -9191,7 +9189,7 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
9191
9189
  message: "must be number"
9192
9190
  }
9193
9191
  ], !1;
9194
- var We = $ === e;
9192
+ var We = O === e;
9195
9193
  } else
9196
9194
  var We = !0;
9197
9195
  if (We)
@@ -9340,7 +9338,7 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
9340
9338
  if (k === e) {
9341
9339
  if (s.weight !== void 0) {
9342
9340
  let n = s.weight;
9343
- const $ = e;
9341
+ const O = e;
9344
9342
  if (!(typeof n == "number" && isFinite(
9345
9343
  n
9346
9344
  )))
@@ -9355,7 +9353,7 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
9355
9353
  message: "must be number"
9356
9354
  }
9357
9355
  ], !1;
9358
- var Ue = $ === e;
9356
+ var Ue = O === e;
9359
9357
  } else
9360
9358
  var Ue = !0;
9361
9359
  if (Ue)
@@ -9511,7 +9509,7 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
9511
9509
  if (k === e) {
9512
9510
  if (s.weight !== void 0) {
9513
9511
  let n = s.weight;
9514
- const $ = e;
9512
+ const O = e;
9515
9513
  if (!(typeof n == "number" && isFinite(
9516
9514
  n
9517
9515
  )))
@@ -9526,7 +9524,7 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
9526
9524
  message: "must be number"
9527
9525
  }
9528
9526
  ], !1;
9529
- var Me = $ === e;
9527
+ var Me = O === e;
9530
9528
  } else
9531
9529
  var Me = !0;
9532
9530
  if (Me)
@@ -9716,7 +9714,7 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
9716
9714
  if (k === e) {
9717
9715
  if (s.weight !== void 0) {
9718
9716
  let n = s.weight;
9719
- const $ = e;
9717
+ const O = e;
9720
9718
  if (!(typeof n == "number" && isFinite(
9721
9719
  n
9722
9720
  )))
@@ -9731,7 +9729,7 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
9731
9729
  message: "must be number"
9732
9730
  }
9733
9731
  ], !1;
9734
- var ze = $ === e;
9732
+ var ze = O === e;
9735
9733
  } else
9736
9734
  var ze = !0;
9737
9735
  if (ze)
@@ -9909,7 +9907,7 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
9909
9907
  if (k === e) {
9910
9908
  if (s.weight !== void 0) {
9911
9909
  let n = s.weight;
9912
- const $ = e;
9910
+ const O = e;
9913
9911
  if (!(typeof n == "number" && isFinite(
9914
9912
  n
9915
9913
  )))
@@ -9924,7 +9922,7 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
9924
9922
  message: "must be number"
9925
9923
  }
9926
9924
  ], !1;
9927
- var Ve = $ === e;
9925
+ var Ve = O === e;
9928
9926
  } else
9929
9927
  var Ve = !0;
9930
9928
  if (Ve)
@@ -10015,7 +10013,7 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
10015
10013
  let s = r.data;
10016
10014
  const a = e, k = e;
10017
10015
  let n = !1;
10018
- const $ = e;
10016
+ const O = e;
10019
10017
  J(
10020
10018
  s,
10021
10019
  {
@@ -10027,7 +10025,7 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
10027
10025
  ) || (i = i === null ? J.errors : i.concat(
10028
10026
  J.errors
10029
10027
  ), e = i.length);
10030
- var Fe = $ === e;
10028
+ var Fe = O === e;
10031
10029
  if (n = n || Fe, !n) {
10032
10030
  const se = e;
10033
10031
  if (typeof s != "string") {
@@ -10400,7 +10398,7 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
10400
10398
  if (k === e) {
10401
10399
  if (s.weight !== void 0) {
10402
10400
  let n = s.weight;
10403
- const $ = e;
10401
+ const O = e;
10404
10402
  if (!(typeof n == "number" && isFinite(
10405
10403
  n
10406
10404
  )))
@@ -10415,7 +10413,7 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
10415
10413
  message: "must be number"
10416
10414
  }
10417
10415
  ], !1;
10418
- var Be = $ === e;
10416
+ var Be = O === e;
10419
10417
  } else
10420
10418
  var Be = !0;
10421
10419
  if (Be)
@@ -10586,7 +10584,7 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
10586
10584
  if (k === e) {
10587
10585
  if (s.weight !== void 0) {
10588
10586
  let n = s.weight;
10589
- const $ = e;
10587
+ const O = e;
10590
10588
  if (!(typeof n == "number" && isFinite(
10591
10589
  n
10592
10590
  )))
@@ -10601,7 +10599,7 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
10601
10599
  message: "must be number"
10602
10600
  }
10603
10601
  ], !1;
10604
- var He = $ === e;
10602
+ var He = O === e;
10605
10603
  } else
10606
10604
  var He = !0;
10607
10605
  if (He)
@@ -10674,7 +10672,7 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
10674
10672
  let s = r.command;
10675
10673
  const a = e, k = e;
10676
10674
  let n = !1;
10677
- const $ = e;
10675
+ const O = e;
10678
10676
  if (typeof s != "string") {
10679
10677
  const se = {
10680
10678
  instancePath: t + "/command",
@@ -10687,7 +10685,7 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
10687
10685
  };
10688
10686
  i === null ? i = [se] : i.push(se), e++;
10689
10687
  }
10690
- var er = $ === e;
10688
+ var er = O === e;
10691
10689
  if (n = n || er, !n) {
10692
10690
  const se = e;
10693
10691
  if (e === se)
@@ -10838,7 +10836,7 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
10838
10836
  if (k === e) {
10839
10837
  if (s.weight !== void 0) {
10840
10838
  let n = s.weight;
10841
- const $ = e;
10839
+ const O = e;
10842
10840
  if (!(typeof n == "number" && isFinite(
10843
10841
  n
10844
10842
  )))
@@ -10853,7 +10851,7 @@ function o(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
10853
10851
  message: "must be number"
10854
10852
  }
10855
10853
  ], !1;
10856
- var Ge = $ === e;
10854
+ var Ge = O === e;
10857
10855
  } else
10858
10856
  var Ge = !0;
10859
10857
  if (Ge)
@@ -10997,7 +10995,7 @@ function V(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
10997
10995
  let i = null, e = 0;
10998
10996
  if (e === 0)
10999
10997
  if (r && typeof r == "object" && !Array.isArray(r)) {
11000
- const T = e;
10998
+ const E = e;
11001
10999
  for (const u in r)
11002
11000
  if (!qr.call(qt.properties, u))
11003
11001
  return V.errors = [
@@ -11009,7 +11007,7 @@ function V(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
11009
11007
  message: "must NOT have additional properties"
11010
11008
  }
11011
11009
  ], !1;
11012
- if (T === e) {
11010
+ if (E === e) {
11013
11011
  if (r.landingPage !== void 0) {
11014
11012
  const u = e;
11015
11013
  if (typeof r.landingPage != "string")
@@ -11044,40 +11042,40 @@ function V(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
11044
11042
  if (d) {
11045
11043
  if (r.meta !== void 0) {
11046
11044
  let u = r.meta;
11047
- const O = e;
11048
- if (e === O)
11045
+ const T = e;
11046
+ if (e === T)
11049
11047
  if (u && typeof u == "object" && !Array.isArray(u)) {
11050
- let m;
11051
- if (u.title === void 0 && (m = "title") || u.author === void 0 && (m = "author"))
11048
+ let y;
11049
+ if (u.title === void 0 && (y = "title") || u.author === void 0 && (y = "author"))
11052
11050
  return V.errors = [
11053
11051
  {
11054
11052
  instancePath: t + "/meta",
11055
11053
  schemaPath: "#/properties/meta/required",
11056
11054
  keyword: "required",
11057
11055
  params: {
11058
- missingProperty: m
11056
+ missingProperty: y
11059
11057
  },
11060
- message: "must have required property '" + m + "'"
11058
+ message: "must have required property '" + y + "'"
11061
11059
  }
11062
11060
  ], !1;
11063
11061
  {
11064
11062
  const v = e;
11065
- for (const w in u)
11066
- if (!(w === "title" || w === "description" || w === "author" || w === "categories"))
11063
+ for (const b in u)
11064
+ if (!(b === "title" || b === "description" || b === "author" || b === "categories"))
11067
11065
  return V.errors = [
11068
11066
  {
11069
11067
  instancePath: t + "/meta",
11070
11068
  schemaPath: "#/properties/meta/additionalProperties",
11071
11069
  keyword: "additionalProperties",
11072
11070
  params: {
11073
- additionalProperty: w
11071
+ additionalProperty: b
11074
11072
  },
11075
11073
  message: "must NOT have additional properties"
11076
11074
  }
11077
11075
  ], !1;
11078
11076
  if (v === e) {
11079
11077
  if (u.title !== void 0) {
11080
- const w = e;
11078
+ const b = e;
11081
11079
  if (typeof u.title != "string")
11082
11080
  return V.errors = [
11083
11081
  {
@@ -11090,12 +11088,12 @@ function V(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
11090
11088
  message: "must be string"
11091
11089
  }
11092
11090
  ], !1;
11093
- var g = w === e;
11091
+ var g = b === e;
11094
11092
  } else
11095
11093
  var g = !0;
11096
11094
  if (g) {
11097
11095
  if (u.description !== void 0) {
11098
- const w = e;
11096
+ const b = e;
11099
11097
  if (typeof u.description != "string")
11100
11098
  return V.errors = [
11101
11099
  {
@@ -11108,12 +11106,12 @@ function V(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
11108
11106
  message: "must be string"
11109
11107
  }
11110
11108
  ], !1;
11111
- var g = w === e;
11109
+ var g = b === e;
11112
11110
  } else
11113
11111
  var g = !0;
11114
11112
  if (g) {
11115
11113
  if (u.author !== void 0) {
11116
- const w = e;
11114
+ const b = e;
11117
11115
  if (typeof u.author != "string")
11118
11116
  return V.errors = [
11119
11117
  {
@@ -11126,22 +11124,22 @@ function V(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
11126
11124
  message: "must be string"
11127
11125
  }
11128
11126
  ], !1;
11129
- var g = w === e;
11127
+ var g = b === e;
11130
11128
  } else
11131
11129
  var g = !0;
11132
11130
  if (g)
11133
11131
  if (u.categories !== void 0) {
11134
- let w = u.categories;
11135
- const q = e;
11136
- if (e === q)
11132
+ let b = u.categories;
11133
+ const j = e;
11134
+ if (e === j)
11137
11135
  if (Array.isArray(
11138
- w
11136
+ b
11139
11137
  )) {
11140
11138
  var x = !0;
11141
- const l = w.length;
11139
+ const l = b.length;
11142
11140
  for (let D = 0; D < l; D++) {
11143
11141
  const A = e;
11144
- if (typeof w[D] != "string")
11142
+ if (typeof b[D] != "string")
11145
11143
  return V.errors = [
11146
11144
  {
11147
11145
  instancePath: t + "/meta/categories/" + D,
@@ -11169,7 +11167,7 @@ function V(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
11169
11167
  message: "must be array"
11170
11168
  }
11171
11169
  ], !1;
11172
- var g = q === e;
11170
+ var g = j === e;
11173
11171
  } else
11174
11172
  var g = !0;
11175
11173
  }
@@ -11186,50 +11184,50 @@ function V(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
11186
11184
  message: "must be object"
11187
11185
  }
11188
11186
  ], !1;
11189
- var d = O === e;
11187
+ var d = T === e;
11190
11188
  } else
11191
11189
  var d = !0;
11192
11190
  if (d) {
11193
11191
  if (r.preferredVersions !== void 0) {
11194
11192
  let u = r.preferredVersions;
11195
- const O = e;
11196
- if (e === O)
11193
+ const T = e;
11194
+ if (e === T)
11197
11195
  if (u && typeof u == "object" && !Array.isArray(u)) {
11198
- let m;
11199
- if (u.php === void 0 && (m = "php") || u.wp === void 0 && (m = "wp"))
11196
+ let y;
11197
+ if (u.php === void 0 && (y = "php") || u.wp === void 0 && (y = "wp"))
11200
11198
  return V.errors = [
11201
11199
  {
11202
11200
  instancePath: t + "/preferredVersions",
11203
11201
  schemaPath: "#/properties/preferredVersions/required",
11204
11202
  keyword: "required",
11205
11203
  params: {
11206
- missingProperty: m
11204
+ missingProperty: y
11207
11205
  },
11208
- message: "must have required property '" + m + "'"
11206
+ message: "must have required property '" + y + "'"
11209
11207
  }
11210
11208
  ], !1;
11211
11209
  {
11212
11210
  const v = e;
11213
- for (const w in u)
11214
- if (!(w === "php" || w === "wp"))
11211
+ for (const b in u)
11212
+ if (!(b === "php" || b === "wp"))
11215
11213
  return V.errors = [
11216
11214
  {
11217
11215
  instancePath: t + "/preferredVersions",
11218
11216
  schemaPath: "#/properties/preferredVersions/additionalProperties",
11219
11217
  keyword: "additionalProperties",
11220
11218
  params: {
11221
- additionalProperty: w
11219
+ additionalProperty: b
11222
11220
  },
11223
11221
  message: "must NOT have additional properties"
11224
11222
  }
11225
11223
  ], !1;
11226
11224
  if (v === e) {
11227
11225
  if (u.php !== void 0) {
11228
- let w = u.php;
11229
- const q = e, b = e;
11226
+ let b = u.php;
11227
+ const j = e, w = e;
11230
11228
  let l = !1;
11231
11229
  const D = e;
11232
- if (typeof w != "string") {
11230
+ if (typeof b != "string") {
11233
11231
  const A = {
11234
11232
  instancePath: t + "/preferredVersions/php",
11235
11233
  schemaPath: "#/definitions/SupportedPHPVersion/type",
@@ -11241,7 +11239,7 @@ function V(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
11241
11239
  };
11242
11240
  i === null ? i = [A] : i.push(A), e++;
11243
11241
  }
11244
- if (!(w === "8.3" || w === "8.2" || w === "8.1" || w === "8.0" || w === "7.4" || w === "7.3" || w === "7.2" || w === "7.1" || w === "7.0")) {
11242
+ if (!(b === "8.3" || b === "8.2" || b === "8.1" || b === "8.0" || b === "7.4" || b === "7.3" || b === "7.2" || b === "7.1" || b === "7.0")) {
11245
11243
  const A = {
11246
11244
  instancePath: t + "/preferredVersions/php",
11247
11245
  schemaPath: "#/definitions/SupportedPHPVersion/enum",
@@ -11253,10 +11251,10 @@ function V(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
11253
11251
  };
11254
11252
  i === null ? i = [A] : i.push(A), e++;
11255
11253
  }
11256
- var j = D === e;
11257
- if (l = l || j, !l) {
11254
+ var q = D === e;
11255
+ if (l = l || q, !l) {
11258
11256
  const A = e;
11259
- if (typeof w != "string") {
11257
+ if (typeof b != "string") {
11260
11258
  const W = {
11261
11259
  instancePath: t + "/preferredVersions/php",
11262
11260
  schemaPath: "#/properties/preferredVersions/properties/php/anyOf/1/type",
@@ -11272,7 +11270,7 @@ function V(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
11272
11270
  W
11273
11271
  ), e++;
11274
11272
  }
11275
- if (w !== "latest") {
11273
+ if (b !== "latest") {
11276
11274
  const W = {
11277
11275
  instancePath: t + "/preferredVersions/php",
11278
11276
  schemaPath: "#/properties/preferredVersions/properties/php/anyOf/1/const",
@@ -11288,11 +11286,11 @@ function V(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
11288
11286
  W
11289
11287
  ), e++;
11290
11288
  }
11291
- var j = A === e;
11292
- l = l || j;
11289
+ var q = A === e;
11290
+ l = l || q;
11293
11291
  }
11294
11292
  if (l)
11295
- e = b, i !== null && (b ? i.length = b : i = null);
11293
+ e = w, i !== null && (w ? i.length = w : i = null);
11296
11294
  else {
11297
11295
  const A = {
11298
11296
  instancePath: t + "/preferredVersions/php",
@@ -11303,12 +11301,12 @@ function V(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
11303
11301
  };
11304
11302
  return i === null ? i = [A] : i.push(A), e++, V.errors = i, !1;
11305
11303
  }
11306
- var P = q === e;
11304
+ var P = j === e;
11307
11305
  } else
11308
11306
  var P = !0;
11309
11307
  if (P)
11310
11308
  if (u.wp !== void 0) {
11311
- const w = e;
11309
+ const b = e;
11312
11310
  if (typeof u.wp != "string")
11313
11311
  return V.errors = [
11314
11312
  {
@@ -11321,7 +11319,7 @@ function V(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
11321
11319
  message: "must be string"
11322
11320
  }
11323
11321
  ], !1;
11324
- var P = w === e;
11322
+ var P = b === e;
11325
11323
  } else
11326
11324
  var P = !0;
11327
11325
  }
@@ -11336,16 +11334,16 @@ function V(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
11336
11334
  message: "must be object"
11337
11335
  }
11338
11336
  ], !1;
11339
- var d = O === e;
11337
+ var d = T === e;
11340
11338
  } else
11341
11339
  var d = !0;
11342
11340
  if (d) {
11343
11341
  if (r.features !== void 0) {
11344
11342
  let u = r.features;
11345
- const O = e;
11346
- if (e === O)
11343
+ const T = e;
11344
+ if (e === T)
11347
11345
  if (u && typeof u == "object" && !Array.isArray(u)) {
11348
- const m = e;
11346
+ const y = e;
11349
11347
  for (const v in u)
11350
11348
  if (v !== "networking")
11351
11349
  return V.errors = [
@@ -11359,7 +11357,7 @@ function V(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
11359
11357
  message: "must NOT have additional properties"
11360
11358
  }
11361
11359
  ], !1;
11362
- if (m === e && u.networking !== void 0 && typeof u.networking != "boolean")
11360
+ if (y === e && u.networking !== void 0 && typeof u.networking != "boolean")
11363
11361
  return V.errors = [
11364
11362
  {
11365
11363
  instancePath: t + "/features/networking",
@@ -11381,21 +11379,21 @@ function V(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
11381
11379
  message: "must be object"
11382
11380
  }
11383
11381
  ], !1;
11384
- var d = O === e;
11382
+ var d = T === e;
11385
11383
  } else
11386
11384
  var d = !0;
11387
11385
  if (d) {
11388
11386
  if (r.extraLibraries !== void 0) {
11389
11387
  let u = r.extraLibraries;
11390
- const O = e;
11391
- if (e === O)
11388
+ const T = e;
11389
+ if (e === T)
11392
11390
  if (Array.isArray(u)) {
11393
- var E = !0;
11394
- const m = u.length;
11395
- for (let v = 0; v < m; v++) {
11396
- let w = u[v];
11397
- const q = e;
11398
- if (typeof w != "string")
11391
+ var $ = !0;
11392
+ const y = u.length;
11393
+ for (let v = 0; v < y; v++) {
11394
+ let b = u[v];
11395
+ const j = e;
11396
+ if (typeof b != "string")
11399
11397
  return V.errors = [
11400
11398
  {
11401
11399
  instancePath: t + "/extraLibraries/" + v,
@@ -11407,7 +11405,7 @@ function V(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
11407
11405
  message: "must be string"
11408
11406
  }
11409
11407
  ], !1;
11410
- if (w !== "wp-cli")
11408
+ if (b !== "wp-cli")
11411
11409
  return V.errors = [
11412
11410
  {
11413
11411
  instancePath: t + "/extraLibraries/" + v,
@@ -11419,8 +11417,8 @@ function V(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
11419
11417
  message: "must be equal to constant"
11420
11418
  }
11421
11419
  ], !1;
11422
- var E = q === e;
11423
- if (!E)
11420
+ var $ = j === e;
11421
+ if (!$)
11424
11422
  break;
11425
11423
  }
11426
11424
  } else
@@ -11435,36 +11433,37 @@ function V(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
11435
11433
  message: "must be array"
11436
11434
  }
11437
11435
  ], !1;
11438
- var d = O === e;
11436
+ var d = T === e;
11439
11437
  } else
11440
11438
  var d = !0;
11441
11439
  if (d) {
11442
11440
  if (r.constants !== void 0) {
11443
11441
  let u = r.constants;
11444
- const O = e;
11445
- if (e === O)
11442
+ const T = e;
11443
+ if (e === e)
11446
11444
  if (u && typeof u == "object" && !Array.isArray(u))
11447
- for (const m in u) {
11448
- const v = e;
11449
- if (typeof u[m] != "string")
11445
+ for (const v in u) {
11446
+ let b = u[v];
11447
+ const j = e;
11448
+ if (typeof b != "string" && typeof b != "boolean" && !(typeof b == "number" && isFinite(b)))
11450
11449
  return V.errors = [
11451
11450
  {
11452
- instancePath: t + "/constants/" + m.replace(
11451
+ instancePath: t + "/constants/" + v.replace(
11453
11452
  /~/g,
11454
11453
  "~0"
11455
11454
  ).replace(
11456
11455
  /\//g,
11457
11456
  "~1"
11458
11457
  ),
11459
- schemaPath: "#/properties/constants/additionalProperties/type",
11458
+ schemaPath: "#/definitions/PHPConstants/additionalProperties/type",
11460
11459
  keyword: "type",
11461
11460
  params: {
11462
- type: "string"
11461
+ type: Rt.additionalProperties.type
11463
11462
  },
11464
- message: "must be string"
11463
+ message: "must be string,boolean,number"
11465
11464
  }
11466
11465
  ], !1;
11467
- var L = v === e;
11466
+ var L = j === e;
11468
11467
  if (!L)
11469
11468
  break;
11470
11469
  }
@@ -11472,7 +11471,7 @@ function V(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
11472
11471
  return V.errors = [
11473
11472
  {
11474
11473
  instancePath: t + "/constants",
11475
- schemaPath: "#/properties/constants/type",
11474
+ schemaPath: "#/definitions/PHPConstants/type",
11476
11475
  keyword: "type",
11477
11476
  params: {
11478
11477
  type: "object"
@@ -11480,23 +11479,23 @@ function V(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
11480
11479
  message: "must be object"
11481
11480
  }
11482
11481
  ], !1;
11483
- var d = O === e;
11482
+ var d = T === e;
11484
11483
  } else
11485
11484
  var d = !0;
11486
11485
  if (d) {
11487
11486
  if (r.plugins !== void 0) {
11488
11487
  let u = r.plugins;
11489
- const O = e;
11490
- if (e === O)
11488
+ const T = e;
11489
+ if (e === T)
11491
11490
  if (Array.isArray(u)) {
11492
11491
  var N = !0;
11493
- const m = u.length;
11494
- for (let v = 0; v < m; v++) {
11495
- let w = u[v];
11496
- const q = e, b = e;
11492
+ const y = u.length;
11493
+ for (let v = 0; v < y; v++) {
11494
+ let b = u[v];
11495
+ const j = e, w = e;
11497
11496
  let l = !1;
11498
11497
  const D = e;
11499
- if (typeof w != "string") {
11498
+ if (typeof b != "string") {
11500
11499
  const R = {
11501
11500
  instancePath: t + "/plugins/" + v,
11502
11501
  schemaPath: "#/properties/plugins/items/anyOf/0/type",
@@ -11512,11 +11511,11 @@ function V(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
11512
11511
  R
11513
11512
  ), e++;
11514
11513
  }
11515
- var y = D === e;
11516
- if (l = l || y, !l) {
11514
+ var m = D === e;
11515
+ if (l = l || m, !l) {
11517
11516
  const R = e;
11518
11517
  J(
11519
- w,
11518
+ b,
11520
11519
  {
11521
11520
  instancePath: t + "/plugins/" + v,
11522
11521
  parentData: u,
@@ -11526,11 +11525,11 @@ function V(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
11526
11525
  ) || (i = i === null ? J.errors : i.concat(
11527
11526
  J.errors
11528
11527
  ), e = i.length);
11529
- var y = R === e;
11530
- l = l || y;
11528
+ var m = R === e;
11529
+ l = l || m;
11531
11530
  }
11532
11531
  if (l)
11533
- e = b, i !== null && (b ? i.length = b : i = null);
11532
+ e = w, i !== null && (w ? i.length = w : i = null);
11534
11533
  else {
11535
11534
  const R = {
11536
11535
  instancePath: t + "/plugins/" + v,
@@ -11545,7 +11544,7 @@ function V(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
11545
11544
  R
11546
11545
  ), e++, V.errors = i, !1;
11547
11546
  }
11548
- var N = q === e;
11547
+ var N = j === e;
11549
11548
  if (!N)
11550
11549
  break;
11551
11550
  }
@@ -11561,21 +11560,21 @@ function V(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
11561
11560
  message: "must be array"
11562
11561
  }
11563
11562
  ], !1;
11564
- var d = O === e;
11563
+ var d = T === e;
11565
11564
  } else
11566
11565
  var d = !0;
11567
11566
  if (d) {
11568
11567
  if (r.siteOptions !== void 0) {
11569
11568
  let u = r.siteOptions;
11570
- const O = e;
11571
- if (e === O)
11569
+ const T = e;
11570
+ if (e === T)
11572
11571
  if (u && typeof u == "object" && !Array.isArray(
11573
11572
  u
11574
11573
  )) {
11575
- const m = e;
11574
+ const y = e;
11576
11575
  for (const v in u)
11577
11576
  if (v !== "blogname") {
11578
- const w = e;
11577
+ const b = e;
11579
11578
  if (typeof u[v] != "string")
11580
11579
  return V.errors = [
11581
11580
  {
@@ -11594,11 +11593,11 @@ function V(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
11594
11593
  message: "must be string"
11595
11594
  }
11596
11595
  ], !1;
11597
- var I = w === e;
11596
+ var I = b === e;
11598
11597
  if (!I)
11599
11598
  break;
11600
11599
  }
11601
- if (m === e && u.blogname !== void 0 && typeof u.blogname != "string")
11600
+ if (y === e && u.blogname !== void 0 && typeof u.blogname != "string")
11602
11601
  return V.errors = [
11603
11602
  {
11604
11603
  instancePath: t + "/siteOptions/blogname",
@@ -11622,17 +11621,17 @@ function V(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
11622
11621
  message: "must be object"
11623
11622
  }
11624
11623
  ], !1;
11625
- var d = O === e;
11624
+ var d = T === e;
11626
11625
  } else
11627
11626
  var d = !0;
11628
11627
  if (d) {
11629
11628
  if (r.login !== void 0) {
11630
11629
  let u = r.login;
11631
- const O = e, z = e;
11632
- let m = !1;
11630
+ const T = e, z = e;
11631
+ let y = !1;
11633
11632
  const v = e;
11634
11633
  if (typeof u != "boolean") {
11635
- const q = {
11634
+ const j = {
11636
11635
  instancePath: t + "/login",
11637
11636
  schemaPath: "#/properties/login/anyOf/0/type",
11638
11637
  keyword: "type",
@@ -11642,15 +11641,15 @@ function V(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
11642
11641
  message: "must be boolean"
11643
11642
  };
11644
11643
  i === null ? i = [
11645
- q
11644
+ j
11646
11645
  ] : i.push(
11647
- q
11646
+ j
11648
11647
  ), e++;
11649
11648
  }
11650
11649
  var U = v === e;
11651
- if (m = m || U, !m) {
11652
- const q = e;
11653
- if (e === q)
11650
+ if (y = y || U, !y) {
11651
+ const j = e;
11652
+ if (e === j)
11654
11653
  if (u && typeof u == "object" && !Array.isArray(
11655
11654
  u
11656
11655
  )) {
@@ -11752,13 +11751,13 @@ function V(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
11752
11751
  l
11753
11752
  ), e++;
11754
11753
  }
11755
- var U = q === e;
11756
- m = m || U;
11754
+ var U = j === e;
11755
+ y = y || U;
11757
11756
  }
11758
- if (m)
11757
+ if (y)
11759
11758
  e = z, i !== null && (z ? i.length = z : i = null);
11760
11759
  else {
11761
- const q = {
11760
+ const j = {
11762
11761
  instancePath: t + "/login",
11763
11762
  schemaPath: "#/properties/login/anyOf",
11764
11763
  keyword: "anyOf",
@@ -11766,31 +11765,31 @@ function V(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
11766
11765
  message: "must match a schema in anyOf"
11767
11766
  };
11768
11767
  return i === null ? i = [
11769
- q
11768
+ j
11770
11769
  ] : i.push(
11771
- q
11770
+ j
11772
11771
  ), e++, V.errors = i, !1;
11773
11772
  }
11774
- var d = O === e;
11773
+ var d = T === e;
11775
11774
  } else
11776
11775
  var d = !0;
11777
11776
  if (d) {
11778
11777
  if (r.steps !== void 0) {
11779
11778
  let u = r.steps;
11780
- const O = e;
11781
- if (e === O)
11779
+ const T = e;
11780
+ if (e === T)
11782
11781
  if (Array.isArray(
11783
11782
  u
11784
11783
  )) {
11785
11784
  var _ = !0;
11786
- const m = u.length;
11787
- for (let v = 0; v < m; v++) {
11788
- let w = u[v];
11789
- const q = e, b = e;
11785
+ const y = u.length;
11786
+ for (let v = 0; v < y; v++) {
11787
+ let b = u[v];
11788
+ const j = e, w = e;
11790
11789
  let l = !1;
11791
11790
  const D = e;
11792
11791
  o(
11793
- w,
11792
+ b,
11794
11793
  {
11795
11794
  instancePath: t + "/steps/" + v,
11796
11795
  parentData: u,
@@ -11803,7 +11802,7 @@ function V(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
11803
11802
  var M = D === e;
11804
11803
  if (l = l || M, !l) {
11805
11804
  const R = e;
11806
- if (typeof w != "string") {
11805
+ if (typeof b != "string") {
11807
11806
  const F = {
11808
11807
  instancePath: t + "/steps/" + v,
11809
11808
  schemaPath: "#/properties/steps/items/anyOf/1/type",
@@ -11836,7 +11835,7 @@ function V(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
11836
11835
  var M = F === e;
11837
11836
  if (l = l || M, !l) {
11838
11837
  const G = e;
11839
- if (typeof w != "boolean") {
11838
+ if (typeof b != "boolean") {
11840
11839
  const B = {
11841
11840
  instancePath: t + "/steps/" + v,
11842
11841
  schemaPath: "#/properties/steps/items/anyOf/3/type",
@@ -11852,7 +11851,7 @@ function V(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
11852
11851
  B
11853
11852
  ), e++;
11854
11853
  }
11855
- if (w !== !1) {
11854
+ if (b !== !1) {
11856
11855
  const B = {
11857
11856
  instancePath: t + "/steps/" + v,
11858
11857
  schemaPath: "#/properties/steps/items/anyOf/3/const",
@@ -11871,7 +11870,7 @@ function V(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
11871
11870
  var M = G === e;
11872
11871
  if (l = l || M, !l) {
11873
11872
  const B = e;
11874
- if (w !== null) {
11873
+ if (b !== null) {
11875
11874
  const Y = {
11876
11875
  instancePath: t + "/steps/" + v,
11877
11876
  schemaPath: "#/properties/steps/items/anyOf/4/type",
@@ -11894,7 +11893,7 @@ function V(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
11894
11893
  }
11895
11894
  }
11896
11895
  if (l)
11897
- e = b, i !== null && (b ? i.length = b : i = null);
11896
+ e = w, i !== null && (w ? i.length = w : i = null);
11898
11897
  else {
11899
11898
  const R = {
11900
11899
  instancePath: t + "/steps/" + v,
@@ -11909,7 +11908,7 @@ function V(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
11909
11908
  R
11910
11909
  ), e++, V.errors = i, !1;
11911
11910
  }
11912
- var _ = q === e;
11911
+ var _ = j === e;
11913
11912
  if (!_)
11914
11913
  break;
11915
11914
  }
@@ -11925,7 +11924,7 @@ function V(r, { instancePath: t = "", parentData: p, parentDataProperty: c, root
11925
11924
  message: "must be array"
11926
11925
  }
11927
11926
  ], !1;
11928
- var d = O === e;
11927
+ var d = T === e;
11929
11928
  } else
11930
11929
  var d = !0;
11931
11930
  if (d)
@@ -11978,29 +11977,29 @@ function Je(r, { instancePath: t = "", parentData: p, parentDataProperty: c, roo
11978
11977
  rootData: h
11979
11978
  }) || (i = i === null ? V.errors : i.concat(V.errors), e = i.length), Je.errors = i, e === 0;
11980
11979
  }
11981
- const { wpCLI: Ft, ...ur } = ht, St = {
11980
+ const { wpCLI: St, ...ur } = ht, Nt = {
11982
11981
  ...ur,
11983
- "wp-cli": Ft,
11982
+ "wp-cli": St,
11984
11983
  importFile: ur.importWxr
11985
11984
  };
11986
- function Yt(r, {
11985
+ function Zt(r, {
11987
11986
  progress: t = new Cr(),
11988
11987
  semaphore: p = new Sr({ concurrency: 3 }),
11989
11988
  onStepCompleted: c = () => {
11990
11989
  },
11991
11990
  corsProxy: h
11992
11991
  } = {}) {
11993
- var E, L, N, y, I, U, Z, _, M;
11992
+ var $, L, N, m, I, U, Z, _, M;
11994
11993
  r = structuredClone(r), r = {
11995
11994
  ...r,
11996
- steps: (r.steps || []).filter(xt).filter(Ct)
11995
+ steps: (r.steps || []).filter(Ct).filter(It)
11997
11996
  };
11998
- for (const T of r.steps)
11999
- !T || typeof T != "object" || (T.step === "importFile" ? (T.step = "importWxr", me.warn(
11997
+ for (const E of r.steps)
11998
+ !E || typeof E != "object" || (E.step === "importFile" ? (E.step = "importWxr", me.warn(
12000
11999
  'The "importFile" step is deprecated. Use "importWxr" instead.'
12001
- )) : (T == null ? void 0 : T.step) === "installPlugin" && "pluginZipFile" in T ? (T.pluginData = T.pluginZipFile, me.warn(
12000
+ )) : (E == null ? void 0 : E.step) === "installPlugin" && "pluginZipFile" in E ? (E.pluginData = E.pluginZipFile, me.warn(
12002
12001
  'The "pluginZipFile" option of the "installPlugin" step is deprecated. Use "pluginData" instead.'
12003
- )) : (T == null ? void 0 : T.step) === "installTheme" && "themeZipFile" in T && (T.themeData = T.themeZipFile, me.warn(
12002
+ )) : (E == null ? void 0 : E.step) === "installTheme" && "themeZipFile" in E && (E.themeData = E.themeZipFile, me.warn(
12004
12003
  'The "themeZipFile" option of the "installTheme" step is deprecated. Use "themeData" instead.'
12005
12004
  )));
12006
12005
  if (r.constants && r.steps.unshift({
@@ -12010,7 +12009,7 @@ function Yt(r, {
12010
12009
  step: "setSiteOptions",
12011
12010
  options: r.siteOptions
12012
12011
  }), r.plugins) {
12013
- const T = r.plugins.map((u) => typeof u == "string" ? u.startsWith("https://") ? {
12012
+ const E = r.plugins.map((u) => typeof u == "string" ? u.startsWith("https://") ? {
12014
12013
  resource: "url",
12015
12014
  url: u
12016
12015
  } : {
@@ -12020,29 +12019,29 @@ function Yt(r, {
12020
12019
  step: "installPlugin",
12021
12020
  pluginData: u
12022
12021
  }));
12023
- r.steps.unshift(...T);
12022
+ r.steps.unshift(...E);
12024
12023
  }
12025
12024
  r.login && r.steps.push({
12026
12025
  step: "login",
12027
12026
  ...r.login === !0 ? { username: "admin" } : r.login
12028
12027
  });
12029
- const i = ((E = r.steps) == null ? void 0 : E.findIndex(
12030
- (T) => typeof T == "object" && (T == null ? void 0 : T.step) && ["wp-cli", "enableMultisite"].includes(T.step)
12028
+ const i = (($ = r.steps) == null ? void 0 : $.findIndex(
12029
+ (E) => typeof E == "object" && (E == null ? void 0 : E.step) && ["wp-cli", "enableMultisite"].includes(E.step)
12031
12030
  )) ?? -1;
12032
12031
  if ((L = r == null ? void 0 : r.extraLibraries) != null && L.includes("wp-cli") || i !== -1) {
12033
- const T = {
12032
+ const E = {
12034
12033
  step: "writeFile",
12035
12034
  data: Qr,
12036
12035
  path: ar
12037
12036
  };
12038
- i === -1 ? (N = r.steps) == null || N.push(T) : (y = r.steps) == null || y.splice(
12037
+ i === -1 ? (N = r.steps) == null || N.push(E) : (m = r.steps) == null || m.splice(
12039
12038
  i,
12040
12039
  0,
12041
- T
12040
+ E
12042
12041
  );
12043
12042
  }
12044
12043
  const e = (I = r.steps) == null ? void 0 : I.findIndex(
12045
- (T) => typeof T == "object" && (T == null ? void 0 : T.step) === "importWxr"
12044
+ (E) => typeof E == "object" && (E == null ? void 0 : E.step) === "importWxr"
12046
12045
  );
12047
12046
  e !== void 0 && e > -1 && ((U = r.steps) == null || U.splice(e, 0, {
12048
12047
  step: "installPlugin",
@@ -12052,30 +12051,30 @@ function Yt(r, {
12052
12051
  caption: "Downloading the WordPress Importer plugin"
12053
12052
  }
12054
12053
  }));
12055
- const { valid: d, errors: g } = Nt(r);
12054
+ const { valid: d, errors: g } = Dt(r);
12056
12055
  if (!d) {
12057
- const T = new Error(
12056
+ const E = new Error(
12058
12057
  `Invalid blueprint: ${g[0].message} at ${g[0].instancePath}`
12059
12058
  );
12060
- throw T.errors = g, T;
12059
+ throw E.errors = g, E;
12061
12060
  }
12062
- const x = r.steps || [], j = x.reduce(
12063
- (T, u) => {
12064
- var O;
12065
- return T + (((O = u.progress) == null ? void 0 : O.weight) || 1);
12061
+ const x = r.steps || [], q = x.reduce(
12062
+ (E, u) => {
12063
+ var T;
12064
+ return E + (((T = u.progress) == null ? void 0 : T.weight) || 1);
12066
12065
  },
12067
12066
  0
12068
12067
  ), P = x.map(
12069
- (T) => It(T, {
12068
+ (E) => Wt(E, {
12070
12069
  semaphore: p,
12071
12070
  rootProgressTracker: t,
12072
- totalProgressWeight: j,
12071
+ totalProgressWeight: q,
12073
12072
  corsProxy: h
12074
12073
  })
12075
12074
  );
12076
12075
  return {
12077
12076
  versions: {
12078
- php: Dt(
12077
+ php: xt(
12079
12078
  (Z = r.preferredVersions) == null ? void 0 : Z.php,
12080
12079
  Dr,
12081
12080
  Nr
@@ -12087,26 +12086,26 @@ function Yt(r, {
12087
12086
  networking: ((M = r.features) == null ? void 0 : M.networking) ?? !1
12088
12087
  },
12089
12088
  extraLibraries: r.extraLibraries || [],
12090
- run: async (T) => {
12089
+ run: async (E) => {
12091
12090
  try {
12092
12091
  for (const { resources: u } of P)
12093
- for (const O of u)
12094
- O.setPlayground(T), O.isAsync && O.resolve();
12095
- for (const [u, { run: O, step: z }] of Object.entries(P))
12092
+ for (const T of u)
12093
+ T.setPlayground(E), T.isAsync && T.resolve();
12094
+ for (const [u, { run: T, step: z }] of Object.entries(P))
12096
12095
  try {
12097
- const m = await O(T);
12098
- c(m, z);
12099
- } catch (m) {
12100
- throw me.error(m), new Error(
12096
+ const y = await T(E);
12097
+ c(y, z);
12098
+ } catch (y) {
12099
+ throw me.error(y), new Error(
12101
12100
  `Error when executing the blueprint step #${u} (${JSON.stringify(
12102
12101
  z
12103
- )}) ${m instanceof Error ? `: ${m.message}` : m}`,
12104
- { cause: m }
12102
+ )}) ${y instanceof Error ? `: ${y.message}` : y}`,
12103
+ { cause: y }
12105
12104
  );
12106
12105
  }
12107
12106
  } finally {
12108
12107
  try {
12109
- await T.goTo(
12108
+ await E.goTo(
12110
12109
  r.landingPage || "/"
12111
12110
  );
12112
12111
  } catch {
@@ -12116,7 +12115,7 @@ function Yt(r, {
12116
12115
  }
12117
12116
  };
12118
12117
  }
12119
- function Nt(r) {
12118
+ function Dt(r) {
12120
12119
  var h;
12121
12120
  const t = Je(r);
12122
12121
  if (t)
@@ -12132,18 +12131,18 @@ function Nt(r) {
12132
12131
  errors: c
12133
12132
  };
12134
12133
  }
12135
- function Dt(r, t, p) {
12134
+ function xt(r, t, p) {
12136
12135
  return r && t.includes(r) ? r : p;
12137
12136
  }
12138
- function xt(r) {
12137
+ function Ct(r) {
12139
12138
  return !!(typeof r == "object" && r);
12140
12139
  }
12141
- function Ct(r) {
12140
+ function It(r) {
12142
12141
  return ["setPhpIniEntry", "request"].includes(r.step) ? (me.warn(
12143
12142
  `The "${r.step}" Blueprint is no longer supported and you can remove it from your Blueprint.`
12144
12143
  ), !1) : !0;
12145
12144
  }
12146
- function It(r, {
12145
+ function Wt(r, {
12147
12146
  semaphore: t,
12148
12147
  rootProgressTracker: p,
12149
12148
  totalProgressWeight: c,
@@ -12153,19 +12152,19 @@ function It(r, {
12153
12152
  const i = p.stage(
12154
12153
  (((P = r.progress) == null ? void 0 : P.weight) || 1) / c
12155
12154
  ), e = {};
12156
- for (const E of Object.keys(r)) {
12157
- let L = r[E];
12155
+ for (const $ of Object.keys(r)) {
12156
+ let L = r[$];
12158
12157
  bt(L) && (L = Oe.create(L, {
12159
12158
  semaphore: t,
12160
12159
  corsProxy: h
12161
- })), e[E] = L;
12160
+ })), e[$] = L;
12162
12161
  }
12163
- const d = async (E) => {
12162
+ const d = async ($) => {
12164
12163
  var L;
12165
12164
  try {
12166
- return i.fillSlowly(), await St[r.step](
12167
- E,
12168
- await Wt(e),
12165
+ return i.fillSlowly(), await Nt[r.step](
12166
+ $,
12167
+ await Ut(e),
12169
12168
  {
12170
12169
  tracker: i,
12171
12170
  initialCaption: (L = r.progress) == null ? void 0 : L.caption
@@ -12175,10 +12174,10 @@ function It(r, {
12175
12174
  i.finish();
12176
12175
  }
12177
12176
  }, g = cr(e), x = cr(e).filter(
12178
- (E) => E.isAsync
12179
- ), j = 1 / (x.length + 1);
12180
- for (const E of x)
12181
- E.progress = i.stage(j);
12177
+ ($) => $.isAsync
12178
+ ), q = 1 / (x.length + 1);
12179
+ for (const $ of x)
12180
+ $.progress = i.stage(q);
12182
12181
  return { run: d, step: r, resources: g };
12183
12182
  }
12184
12183
  function cr(r) {
@@ -12189,7 +12188,7 @@ function cr(r) {
12189
12188
  }
12190
12189
  return t;
12191
12190
  }
12192
- async function Wt(r) {
12191
+ async function Ut(r) {
12193
12192
  const t = {};
12194
12193
  for (const p in r) {
12195
12194
  const c = r[p];
@@ -12197,15 +12196,15 @@ async function Wt(r) {
12197
12196
  }
12198
12197
  return t;
12199
12198
  }
12200
- async function Zt(r, t) {
12199
+ async function Qt(r, t) {
12201
12200
  await r.run(t);
12202
12201
  }
12203
- function Qt() {
12202
+ function Xt() {
12204
12203
  }
12205
12204
  export {
12206
12205
  gr as activatePlugin,
12207
12206
  br as activateTheme,
12208
- Yt as compileBlueprint,
12207
+ Zt as compileBlueprint,
12209
12208
  Kr as cp,
12210
12209
  Or as defineSiteUrl,
12211
12210
  nr as defineWpConfigConsts,
@@ -12223,12 +12222,12 @@ export {
12223
12222
  lt as resetData,
12224
12223
  wr as rm,
12225
12224
  tt as rmdir,
12226
- Zt as runBlueprintSteps,
12225
+ Qt as runBlueprintSteps,
12227
12226
  Mr as runPHP,
12228
12227
  zr as runPHPWithOptions,
12229
12228
  Vr as runSql,
12230
12229
  dt as runWpInstallationWizard,
12231
- Qt as setPluginProxyURL,
12230
+ Xt as setPluginProxyURL,
12232
12231
  yt as setSiteLanguage,
12233
12232
  vr as setSiteOptions,
12234
12233
  pr as unzip,