@wp-playground/blueprints 3.1.34 → 3.1.36

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
@@ -1,5 +1,5 @@
1
1
  import { cloneStreamMonitorProgress as Yr, cloneResponseMonitorProgress as Gr, ProgressTracker as Jr } from "@php-wasm/progress";
2
- import { randomFilename as or, phpVars as yr, joinPaths as ie, phpVar as we, dirname as hr, Semaphore as Ar, normalizePath as Xr, basename as Or } from "@php-wasm/util";
2
+ import { randomFilename as or, phpVars as yr, joinPaths as ie, phpVar as ce, dirname as hr, Semaphore as Ar, normalizePath as Xr, basename as Or } from "@php-wasm/util";
3
3
  import { writeFiles as gr, LatestSupportedPHPVersion as Kr, AllPHPVersions as et } from "@php-wasm/universal";
4
4
  import { resolveCommitHash as rt, listGitFiles as tt, listDescendantFiles as st, sparseCheckout as it, createDotGitDirectory as ot, GitAuthenticationError as Tr, OverlayFilesystem as at, InMemoryFilesystem as nt, FetchFilesystem as pt, ZipFilesystem as lt, ChrootFilesystem as ft } from "@wp-playground/storage";
5
5
  import { fetchWithCorsProxy as ut } from "@php-wasm/web-service-worker";
@@ -1074,8 +1074,8 @@ const Cr = async (r, { options: t }) => {
1074
1074
  const n = await r.documentRoot;
1075
1075
  await r.run({
1076
1076
  code: `<?php
1077
- include ${we(n)} . '/wp-load.php';
1078
- $site_options = ${we(t)};
1077
+ include ${ce(n)} . '/wp-load.php';
1078
+ $site_options = ${ce(t)};
1079
1079
  foreach($site_options as $name => $value) {
1080
1080
  update_option($name, $value);
1081
1081
  }
@@ -1086,10 +1086,10 @@ const Cr = async (r, { options: t }) => {
1086
1086
  const l = await r.documentRoot;
1087
1087
  await r.run({
1088
1088
  code: `<?php
1089
- include ${we(l)} . '/wp-load.php';
1090
- $meta = ${we(t)};
1089
+ include ${ce(l)} . '/wp-load.php';
1090
+ $meta = ${ce(t)};
1091
1091
  foreach($meta as $name => $value) {
1092
- update_user_meta(${we(n)}, $name, $value);
1092
+ update_user_meta(${ce(n)}, $name, $value);
1093
1093
  }
1094
1094
  `
1095
1095
  });
@@ -1166,7 +1166,7 @@ This will ensure your code works reliably regardless of the current working dire
1166
1166
  $GLOBALS['argv'] = array_merge([
1167
1167
  "/tmp/wp-cli.phar",
1168
1168
  "--path=${p}"
1169
- ], ${we(e)});
1169
+ ], ${ce(e)});
1170
1170
 
1171
1171
  // Provide stdin, stdout, stderr streams outside of
1172
1172
  // the CLI SAPI.
@@ -1174,7 +1174,7 @@ This will ensure your code works reliably regardless of the current working dire
1174
1174
  define('STDOUT', fopen('php://stdout', 'wb'));
1175
1175
  define('STDERR', fopen('php://stderr', 'wb'));
1176
1176
 
1177
- require( ${we(n)} );
1177
+ require( ${ce(n)} );
1178
1178
  `
1179
1179
  );
1180
1180
  const d = await r.run({
@@ -1219,7 +1219,7 @@ const Yt = async (r, { wpCliPath: t }) => {
1219
1219
  p.includes("$_SERVER['HTTP_HOST']") || (d = p.replace(
1220
1220
  /^<\?php\s*/i,
1221
1221
  `<?php
1222
- $_SERVER['HTTP_HOST'] = ${we(n.hostname)};
1222
+ $_SERVER['HTTP_HOST'] = ${ce(n.hostname)};
1223
1223
  `
1224
1224
  )), await r.writeFile(e, d);
1225
1225
  }, Gt = async (r, { fromPath: t, toPath: n }) => {
@@ -1442,7 +1442,7 @@ const Wr = async (r, { themeSlug: t = "" }, n) => {
1442
1442
  * See _wp_customize_include()
1443
1443
  */
1444
1444
  $_REQUEST['wp_customize'] = 'on';
1445
- $_REQUEST['customize_theme'] = ${we(t)} ?: get_stylesheet();
1445
+ $_REQUEST['customize_theme'] = ${ce(t)} ?: get_stylesheet();
1446
1446
 
1447
1447
  /*
1448
1448
  * Claim this is a ajax request saving settings, to avoid the preview filters being applied.
@@ -1454,7 +1454,7 @@ const Wr = async (r, { themeSlug: t = "" }, n) => {
1454
1454
  }
1455
1455
  playground_add_filter( 'plugins_loaded', 'importThemeStarterContent_plugins_loaded', 0 );
1456
1456
 
1457
- require ${we(l)} . '/wp-load.php';
1457
+ require ${ce(l)} . '/wp-load.php';
1458
1458
 
1459
1459
  // Return early if there's no starter content.
1460
1460
  if ( ! get_theme_starter_content() ) {
@@ -1519,8 +1519,8 @@ const Wr = async (r, { themeSlug: t = "" }, n) => {
1519
1519
  T
1520
1520
  );
1521
1521
  await $r(r, j);
1522
- const b = ie(d, T);
1523
- await r.fileExists(b) && (await r.mkdir(hr(j)), await r.mv(b, j));
1522
+ const w = ie(d, T);
1523
+ await r.fileExists(w) && (await r.mkdir(hr(j)), await r.mv(w, j));
1524
1524
  }
1525
1525
  const h = ie(
1526
1526
  u,
@@ -1542,7 +1542,7 @@ const Wr = async (r, { themeSlug: t = "" }, n) => {
1542
1542
  e || (e = await os(r, l)), await Ir(r, {
1543
1543
  siteUrl: y
1544
1544
  });
1545
- const O = we(
1545
+ const O = ce(
1546
1546
  ie(l, "wp-admin", "upgrade.php")
1547
1547
  );
1548
1548
  await r.run({
@@ -1659,7 +1659,7 @@ async function Mr(r, {
1659
1659
  let P = await r.listFiles(h, {
1660
1660
  prependPath: !0
1661
1661
  });
1662
- P = P.filter((b) => !b.endsWith("/__MACOSX"));
1662
+ P = P.filter((w) => !w.endsWith("/__MACOSX"));
1663
1663
  const y = P.length === 1 && await r.isDir(P[0]);
1664
1664
  let O, T = "";
1665
1665
  y ? (T = P[0], O = P[0].split("/").pop()) : (T = h, O = e), u && u.length && (O = u);
@@ -1947,8 +1947,15 @@ const ys = async (r, t) => {
1947
1947
  );
1948
1948
  return u.package;
1949
1949
  }, hs = async (r, { language: t }, n) => {
1950
- n == null || n.tracker.setCaption((n == null ? void 0 : n.initialCaption) || "Translating"), await r.defineConstant("WPLANG", t);
1951
- const l = await r.documentRoot, u = (await r.run({
1950
+ n == null || n.tracker.setCaption((n == null ? void 0 : n.initialCaption) || "Translating");
1951
+ const l = await r.documentRoot;
1952
+ await r.defineConstant("WPLANG", t), await r.run({
1953
+ code: `<?php
1954
+ require_once ${ce(l)} . '/wp-load.php';
1955
+ update_option('WPLANG', ${ce(t)});
1956
+ `
1957
+ });
1958
+ const u = (await r.run({
1952
1959
  code: `<?php
1953
1960
  require '${l}/wp-includes/version.php';
1954
1961
  echo $wp_version;
@@ -2018,14 +2025,14 @@ const ys = async (r, t) => {
2018
2025
  throw new Error(
2019
2026
  `Failed to download translations for ${T}: ${j.statusText}`
2020
2027
  );
2021
- let b = `${l}/wp-content/languages`;
2022
- T === "plugin" ? b += "/plugins" : T === "theme" && (b += "/themes"), await Rr(
2028
+ let w = `${l}/wp-content/languages`;
2029
+ T === "plugin" ? w += "/plugins" : T === "theme" && (w += "/themes"), await Rr(
2023
2030
  r,
2024
2031
  new File(
2025
2032
  [await j.arrayBuffer()],
2026
2033
  `${t}-${T}.zip`
2027
2034
  ),
2028
- b
2035
+ w
2029
2036
  );
2030
2037
  } catch (j) {
2031
2038
  if (T === "core")
@@ -2220,20 +2227,20 @@ function Ie(r, { instancePath: t = "", parentData: n, parentDataProperty: l, roo
2220
2227
  if (typeof r != "string") {
2221
2228
  const y = {
2222
2229
  instancePath: t,
2223
- schemaPath: "#/definitions/SupportedPHPVersion/type",
2230
+ schemaPath: "#/definitions/PHPNextVersion/type",
2224
2231
  keyword: "type",
2225
2232
  params: { type: "string" },
2226
2233
  message: "must be string"
2227
2234
  };
2228
2235
  s === null ? s = [y] : s.push(y), e++;
2229
2236
  }
2230
- if (!(r === "8.5" || r === "8.4" || r === "8.3" || r === "8.2" || r === "8.1" || r === "8.0" || r === "7.4")) {
2237
+ if (r !== "next") {
2231
2238
  const y = {
2232
2239
  instancePath: t,
2233
- schemaPath: "#/definitions/SupportedPHPVersion/enum",
2234
- keyword: "enum",
2235
- params: { allowedValues: vs.enum },
2236
- message: "must be equal to one of the allowed values"
2240
+ schemaPath: "#/definitions/PHPNextVersion/const",
2241
+ keyword: "const",
2242
+ params: { allowedValue: "next" },
2243
+ message: "must be equal to constant"
2237
2244
  };
2238
2245
  s === null ? s = [y] : s.push(y), e++;
2239
2246
  }
@@ -2243,25 +2250,49 @@ function Ie(r, { instancePath: t = "", parentData: n, parentDataProperty: l, roo
2243
2250
  if (typeof r != "string") {
2244
2251
  const T = {
2245
2252
  instancePath: t,
2246
- schemaPath: "#/definitions/LegacyPHPVersion/type",
2253
+ schemaPath: "#/definitions/SupportedPHPVersion/type",
2247
2254
  keyword: "type",
2248
2255
  params: { type: "string" },
2249
2256
  message: "must be string"
2250
2257
  };
2251
2258
  s === null ? s = [T] : s.push(T), e++;
2252
2259
  }
2253
- if (r !== "5.2") {
2260
+ if (!(r === "8.5" || r === "8.4" || r === "8.3" || r === "8.2" || r === "8.1" || r === "8.0" || r === "7.4")) {
2254
2261
  const T = {
2255
2262
  instancePath: t,
2256
- schemaPath: "#/definitions/LegacyPHPVersion/enum",
2263
+ schemaPath: "#/definitions/SupportedPHPVersion/enum",
2257
2264
  keyword: "enum",
2258
- params: { allowedValues: Ps.enum },
2265
+ params: { allowedValues: vs.enum },
2259
2266
  message: "must be equal to one of the allowed values"
2260
2267
  };
2261
2268
  s === null ? s = [T] : s.push(T), e++;
2262
2269
  }
2263
2270
  var P = y === e;
2264
- d = d || P;
2271
+ if (d = d || P, !d) {
2272
+ const T = e;
2273
+ if (typeof r != "string") {
2274
+ const w = {
2275
+ instancePath: t,
2276
+ schemaPath: "#/definitions/LegacyPHPVersion/type",
2277
+ keyword: "type",
2278
+ params: { type: "string" },
2279
+ message: "must be string"
2280
+ };
2281
+ s === null ? s = [w] : s.push(w), e++;
2282
+ }
2283
+ if (r !== "5.2") {
2284
+ const w = {
2285
+ instancePath: t,
2286
+ schemaPath: "#/definitions/LegacyPHPVersion/enum",
2287
+ keyword: "enum",
2288
+ params: { allowedValues: Ps.enum },
2289
+ message: "must be equal to one of the allowed values"
2290
+ };
2291
+ s === null ? s = [w] : s.push(w), e++;
2292
+ }
2293
+ var P = T === e;
2294
+ d = d || P;
2295
+ }
2265
2296
  }
2266
2297
  if (d)
2267
2298
  e = p, s !== null && (p ? s.length = p : s = null);
@@ -2315,24 +2346,24 @@ function We(r, { instancePath: t = "", parentData: n, parentDataProperty: l, roo
2315
2346
  if (d = d || P, !d) {
2316
2347
  const T = e;
2317
2348
  if (typeof r != "string") {
2318
- const b = {
2349
+ const w = {
2319
2350
  instancePath: t,
2320
2351
  schemaPath: "#/anyOf/2/type",
2321
2352
  keyword: "type",
2322
2353
  params: { type: "string" },
2323
2354
  message: "must be string"
2324
2355
  };
2325
- s === null ? s = [b] : s.push(b), e++;
2356
+ s === null ? s = [w] : s.push(w), e++;
2326
2357
  }
2327
2358
  if (r !== "7.3") {
2328
- const b = {
2359
+ const w = {
2329
2360
  instancePath: t,
2330
2361
  schemaPath: "#/anyOf/2/const",
2331
2362
  keyword: "const",
2332
2363
  params: { allowedValue: "7.3" },
2333
2364
  message: "must be equal to constant"
2334
2365
  };
2335
- s === null ? s = [b] : s.push(b), e++;
2366
+ s === null ? s = [w] : s.push(w), e++;
2336
2367
  }
2337
2368
  var P = T === e;
2338
2369
  d = d || P;
@@ -2544,7 +2575,7 @@ function xe(r, { instancePath: t = "", parentData: n, parentDataProperty: l, roo
2544
2575
  }) || (s = s === null ? cr.validate.errors : s.concat(cr.validate.errors), e = s.length);
2545
2576
  var p = j === e;
2546
2577
  if (T = T || p, !T) {
2547
- const b = e;
2578
+ const w = e;
2548
2579
  if (!(P && typeof P == "object" && !Array.isArray(P)) && typeof P != "string") {
2549
2580
  const Q = {
2550
2581
  instancePath: t + "/" + h.replace(/~/g, "~0").replace(/\//g, "~1"),
@@ -2557,20 +2588,20 @@ function xe(r, { instancePath: t = "", parentData: n, parentDataProperty: l, roo
2557
2588
  };
2558
2589
  s === null ? s = [Q] : s.push(Q), e++;
2559
2590
  }
2560
- var p = b === e;
2591
+ var p = w === e;
2561
2592
  T = T || p;
2562
2593
  }
2563
2594
  if (T)
2564
2595
  e = O, s !== null && (O ? s.length = O : s = null);
2565
2596
  else {
2566
- const b = {
2597
+ const w = {
2567
2598
  instancePath: t + "/" + h.replace(/~/g, "~0").replace(/\//g, "~1"),
2568
2599
  schemaPath: "#/additionalProperties/anyOf",
2569
2600
  keyword: "anyOf",
2570
2601
  params: {},
2571
2602
  message: "must match a schema in anyOf"
2572
2603
  };
2573
- return s === null ? s = [b] : s.push(b), e++, xe.errors = s, !1;
2604
+ return s === null ? s = [w] : s.push(w), e++, xe.errors = s, !1;
2574
2605
  }
2575
2606
  var d = y === e;
2576
2607
  if (!d)
@@ -2688,7 +2719,7 @@ function $e(r, { instancePath: t = "", parentData: n, parentDataProperty: l, roo
2688
2719
  ], !1;
2689
2720
  return $e.errors = s, e === 0;
2690
2721
  }
2691
- function ce(r, { instancePath: t = "", parentData: n, parentDataProperty: l, rootData: u = r } = {}) {
2722
+ function me(r, { instancePath: t = "", parentData: n, parentDataProperty: l, rootData: u = r } = {}) {
2692
2723
  let s = null, e = 0;
2693
2724
  const p = e;
2694
2725
  let d = !1;
@@ -2721,9 +2752,9 @@ function ce(r, { instancePath: t = "", parentData: n, parentDataProperty: l, roo
2721
2752
  params: {},
2722
2753
  message: "must match a schema in anyOf"
2723
2754
  };
2724
- return s === null ? s = [y] : s.push(y), e++, ce.errors = s, !1;
2755
+ return s === null ? s = [y] : s.push(y), e++, me.errors = s, !1;
2725
2756
  }
2726
- return ce.errors = s, e === 0;
2757
+ return me.errors = s, e === 0;
2727
2758
  }
2728
2759
  function ve(r, { instancePath: t = "", parentData: n, parentDataProperty: l, rootData: u = r } = {}) {
2729
2760
  let s = null, e = 0;
@@ -2785,7 +2816,7 @@ function ve(r, { instancePath: t = "", parentData: n, parentDataProperty: l, roo
2785
2816
  let y = r.inner;
2786
2817
  const O = e, T = e;
2787
2818
  let j = !1;
2788
- const b = e;
2819
+ const w = e;
2789
2820
  dr.validate(y, {
2790
2821
  instancePath: t + "/inner",
2791
2822
  parentData: r,
@@ -2794,15 +2825,15 @@ function ve(r, { instancePath: t = "", parentData: n, parentDataProperty: l, roo
2794
2825
  }) || (s = s === null ? dr.validate.errors : s.concat(
2795
2826
  dr.validate.errors
2796
2827
  ), e = s.length);
2797
- var d = b === e;
2828
+ var d = w === e;
2798
2829
  if (j = j || d, !j) {
2799
2830
  const Q = e;
2800
- ce(y, {
2831
+ me(y, {
2801
2832
  instancePath: t + "/inner",
2802
2833
  parentData: r,
2803
2834
  parentDataProperty: "inner",
2804
2835
  rootData: u
2805
- }) || (s = s === null ? ce.errors : s.concat(ce.errors), e = s.length);
2836
+ }) || (s = s === null ? me.errors : s.concat(me.errors), e = s.length);
2806
2837
  var d = Q === e;
2807
2838
  j = j || d;
2808
2839
  }
@@ -2873,20 +2904,20 @@ function G(r, { instancePath: t = "", parentData: n, parentDataProperty: l, root
2873
2904
  const z = e;
2874
2905
  for (const H in r)
2875
2906
  if (!(H === "resource" || H === "path")) {
2876
- const w = {
2907
+ const b = {
2877
2908
  instancePath: t,
2878
2909
  schemaPath: "#/definitions/VFSReference/additionalProperties",
2879
2910
  keyword: "additionalProperties",
2880
2911
  params: { additionalProperty: H },
2881
2912
  message: "must NOT have additional properties"
2882
2913
  };
2883
- s === null ? s = [w] : s.push(w), e++;
2914
+ s === null ? s = [b] : s.push(b), e++;
2884
2915
  break;
2885
2916
  }
2886
2917
  if (z === e) {
2887
2918
  if (r.resource !== void 0) {
2888
2919
  let H = r.resource;
2889
- const w = e;
2920
+ const b = e;
2890
2921
  if (typeof H != "string") {
2891
2922
  const $ = {
2892
2923
  instancePath: t + "/resource",
@@ -2907,7 +2938,7 @@ function G(r, { instancePath: t = "", parentData: n, parentDataProperty: l, root
2907
2938
  };
2908
2939
  s === null ? s = [$] : s.push($), e++;
2909
2940
  }
2910
- var y = w === e;
2941
+ var y = b === e;
2911
2942
  } else
2912
2943
  var y = !0;
2913
2944
  if (y)
@@ -2943,14 +2974,14 @@ function G(r, { instancePath: t = "", parentData: n, parentDataProperty: l, root
2943
2974
  const V = e;
2944
2975
  if (e === e)
2945
2976
  if (r && typeof r == "object" && !Array.isArray(r)) {
2946
- let w;
2947
- if (r.resource === void 0 && (w = "resource") || r.name === void 0 && (w = "name") || r.contents === void 0 && (w = "contents")) {
2977
+ let b;
2978
+ if (r.resource === void 0 && (b = "resource") || r.name === void 0 && (b = "name") || r.contents === void 0 && (b = "contents")) {
2948
2979
  const $ = {
2949
2980
  instancePath: t,
2950
2981
  schemaPath: "#/definitions/LiteralReference/required",
2951
2982
  keyword: "required",
2952
- params: { missingProperty: w },
2953
- message: "must have required property '" + w + "'"
2983
+ params: { missingProperty: b },
2984
+ message: "must have required property '" + b + "'"
2954
2985
  };
2955
2986
  s === null ? s = [$] : s.push($), e++;
2956
2987
  } else {
@@ -3073,8 +3104,8 @@ function G(r, { instancePath: t = "", parentData: n, parentDataProperty: l, root
3073
3104
  R
3074
3105
  ), e++;
3075
3106
  }
3076
- var b = X === e;
3077
- if (!b)
3107
+ var w = X === e;
3108
+ if (!w)
3078
3109
  break;
3079
3110
  }
3080
3111
  if (L === e) {
@@ -3299,18 +3330,18 @@ function G(r, { instancePath: t = "", parentData: n, parentDataProperty: l, root
3299
3330
  }
3300
3331
  }
3301
3332
  } else {
3302
- const w = {
3333
+ const b = {
3303
3334
  instancePath: t,
3304
3335
  schemaPath: "#/definitions/LiteralReference/type",
3305
3336
  keyword: "type",
3306
3337
  params: { type: "object" },
3307
3338
  message: "must be object"
3308
3339
  };
3309
- s === null ? s = [w] : s.push(w), e++;
3340
+ s === null ? s = [b] : s.push(b), e++;
3310
3341
  }
3311
3342
  var O = V === e;
3312
3343
  if (d = d || O, !d) {
3313
- const w = e;
3344
+ const b = e;
3314
3345
  if (e === e)
3315
3346
  if (r && typeof r == "object" && !Array.isArray(r)) {
3316
3347
  let E;
@@ -3394,7 +3425,7 @@ function G(r, { instancePath: t = "", parentData: n, parentDataProperty: l, root
3394
3425
  };
3395
3426
  s === null ? s = [E] : s.push(E), e++;
3396
3427
  }
3397
- var O = w === e;
3428
+ var O = b === e;
3398
3429
  if (d = d || O, !d) {
3399
3430
  const E = e;
3400
3431
  if (e === e)
@@ -4430,13 +4461,13 @@ Only the username field is required for user authentication.`
4430
4461
  }, zr = {
4431
4462
  enum: ["GET", "POST", "HEAD", "OPTIONS", "PATCH", "PUT", "DELETE"]
4432
4463
  };
4433
- function ge(r, { instancePath: t = "", parentData: n, parentDataProperty: l, rootData: u = r } = {}) {
4464
+ function we(r, { instancePath: t = "", parentData: n, parentDataProperty: l, rootData: u = r } = {}) {
4434
4465
  let s = null, e = 0;
4435
4466
  if (e === 0)
4436
4467
  if (r && typeof r == "object" && !Array.isArray(r)) {
4437
4468
  let Q;
4438
4469
  if (r.url === void 0 && (Q = "url"))
4439
- return ge.errors = [
4470
+ return we.errors = [
4440
4471
  {
4441
4472
  instancePath: t,
4442
4473
  schemaPath: "#/required",
@@ -4449,7 +4480,7 @@ function ge(r, { instancePath: t = "", parentData: n, parentDataProperty: l, roo
4449
4480
  const J = e;
4450
4481
  for (const A in r)
4451
4482
  if (!(A === "method" || A === "url" || A === "headers" || A === "body"))
4452
- return ge.errors = [
4483
+ return we.errors = [
4453
4484
  {
4454
4485
  instancePath: t,
4455
4486
  schemaPath: "#/additionalProperties",
@@ -4463,7 +4494,7 @@ function ge(r, { instancePath: t = "", parentData: n, parentDataProperty: l, roo
4463
4494
  let A = r.method;
4464
4495
  const re = e;
4465
4496
  if (typeof A != "string")
4466
- return ge.errors = [
4497
+ return we.errors = [
4467
4498
  {
4468
4499
  instancePath: t + "/method",
4469
4500
  schemaPath: "#/definitions/HTTPMethod/type",
@@ -4473,7 +4504,7 @@ function ge(r, { instancePath: t = "", parentData: n, parentDataProperty: l, roo
4473
4504
  }
4474
4505
  ], !1;
4475
4506
  if (!(A === "GET" || A === "POST" || A === "HEAD" || A === "OPTIONS" || A === "PATCH" || A === "PUT" || A === "DELETE"))
4476
- return ge.errors = [
4507
+ return we.errors = [
4477
4508
  {
4478
4509
  instancePath: t + "/method",
4479
4510
  schemaPath: "#/definitions/HTTPMethod/enum",
@@ -4489,7 +4520,7 @@ function ge(r, { instancePath: t = "", parentData: n, parentDataProperty: l, roo
4489
4520
  if (r.url !== void 0) {
4490
4521
  const A = e;
4491
4522
  if (typeof r.url != "string")
4492
- return ge.errors = [
4523
+ return we.errors = [
4493
4524
  {
4494
4525
  instancePath: t + "/url",
4495
4526
  schemaPath: "#/properties/url/type",
@@ -4508,9 +4539,9 @@ function ge(r, { instancePath: t = "", parentData: n, parentDataProperty: l, roo
4508
4539
  if (e === e)
4509
4540
  if (A && typeof A == "object" && !Array.isArray(A))
4510
4541
  for (const H in A) {
4511
- const w = e;
4542
+ const b = e;
4512
4543
  if (typeof A[H] != "string")
4513
- return ge.errors = [
4544
+ return we.errors = [
4514
4545
  {
4515
4546
  instancePath: t + "/headers/" + H.replace(
4516
4547
  /~/g,
@@ -4527,12 +4558,12 @@ function ge(r, { instancePath: t = "", parentData: n, parentDataProperty: l, roo
4527
4558
  message: "must be string"
4528
4559
  }
4529
4560
  ], !1;
4530
- var d = w === e;
4561
+ var d = b === e;
4531
4562
  if (!d)
4532
4563
  break;
4533
4564
  }
4534
4565
  else
4535
- return ge.errors = [
4566
+ return we.errors = [
4536
4567
  {
4537
4568
  instancePath: t + "/headers",
4538
4569
  schemaPath: "#/definitions/PHPRequestHeaders/type",
@@ -5255,10 +5286,10 @@ function ge(r, { instancePath: t = "", parentData: n, parentDataProperty: l, roo
5255
5286
  ae
5256
5287
  ), e++;
5257
5288
  }
5258
- var b = I === e;
5289
+ var w = I === e;
5259
5290
  } else
5260
- var b = !0;
5261
- if (b) {
5291
+ var w = !0;
5292
+ if (w) {
5262
5293
  if (g.type !== void 0) {
5263
5294
  const Z = e;
5264
5295
  if (typeof g.type != "string") {
@@ -5283,10 +5314,10 @@ function ge(r, { instancePath: t = "", parentData: n, parentDataProperty: l, roo
5283
5314
  ae
5284
5315
  ), e++;
5285
5316
  }
5286
- var b = Z === e;
5317
+ var w = Z === e;
5287
5318
  } else
5288
- var b = !0;
5289
- if (b) {
5319
+ var w = !0;
5320
+ if (w) {
5290
5321
  if (g.lastModified !== void 0) {
5291
5322
  let Z = g.lastModified;
5292
5323
  const I = e;
@@ -5314,10 +5345,10 @@ function ge(r, { instancePath: t = "", parentData: n, parentDataProperty: l, roo
5314
5345
  pe
5315
5346
  ), e++;
5316
5347
  }
5317
- var b = I === e;
5348
+ var w = I === e;
5318
5349
  } else
5319
- var b = !0;
5320
- if (b) {
5350
+ var w = !0;
5351
+ if (w) {
5321
5352
  if (g.name !== void 0) {
5322
5353
  const Z = e;
5323
5354
  if (typeof g.name != "string") {
@@ -5342,10 +5373,10 @@ function ge(r, { instancePath: t = "", parentData: n, parentDataProperty: l, roo
5342
5373
  ae
5343
5374
  ), e++;
5344
5375
  }
5345
- var b = Z === e;
5376
+ var w = Z === e;
5346
5377
  } else
5347
- var b = !0;
5348
- if (b)
5378
+ var w = !0;
5379
+ if (w)
5349
5380
  if (g.webkitRelativePath !== void 0) {
5350
5381
  const Z = e;
5351
5382
  if (typeof g.webkitRelativePath != "string") {
@@ -5370,9 +5401,9 @@ function ge(r, { instancePath: t = "", parentData: n, parentDataProperty: l, roo
5370
5401
  ae
5371
5402
  ), e++;
5372
5403
  }
5373
- var b = Z === e;
5404
+ var w = Z === e;
5374
5405
  } else
5375
- var b = !0;
5406
+ var w = !0;
5376
5407
  }
5377
5408
  }
5378
5409
  }
@@ -5456,7 +5487,7 @@ function ge(r, { instancePath: t = "", parentData: n, parentDataProperty: l, roo
5456
5487
  params: {},
5457
5488
  message: "must match a schema in anyOf"
5458
5489
  };
5459
- return s === null ? s = [$] : s.push($), e++, ge.errors = s, !1;
5490
+ return s === null ? s = [$] : s.push($), e++, we.errors = s, !1;
5460
5491
  }
5461
5492
  var p = re === e;
5462
5493
  } else
@@ -5466,7 +5497,7 @@ function ge(r, { instancePath: t = "", parentData: n, parentDataProperty: l, roo
5466
5497
  }
5467
5498
  }
5468
5499
  } else
5469
- return ge.errors = [
5500
+ return we.errors = [
5470
5501
  {
5471
5502
  instancePath: t,
5472
5503
  schemaPath: "#/type",
@@ -5475,7 +5506,7 @@ function ge(r, { instancePath: t = "", parentData: n, parentDataProperty: l, roo
5475
5506
  message: "must be object"
5476
5507
  }
5477
5508
  ], !1;
5478
- return ge.errors = s, e === 0;
5509
+ return we.errors = s, e === 0;
5479
5510
  }
5480
5511
  const Os = {
5481
5512
  properties: {
@@ -5546,20 +5577,20 @@ function le(r, { instancePath: t = "", parentData: n, parentDataProperty: l, roo
5546
5577
  if (e === 0)
5547
5578
  if (r && typeof r == "object" && !Array.isArray(r)) {
5548
5579
  const j = e;
5549
- for (const b in r)
5550
- if (!Vr.call(Os.properties, b))
5580
+ for (const w in r)
5581
+ if (!Vr.call(Os.properties, w))
5551
5582
  return le.errors = [
5552
5583
  {
5553
5584
  instancePath: t,
5554
5585
  schemaPath: "#/additionalProperties",
5555
5586
  keyword: "additionalProperties",
5556
- params: { additionalProperty: b },
5587
+ params: { additionalProperty: w },
5557
5588
  message: "must NOT have additional properties"
5558
5589
  }
5559
5590
  ], !1;
5560
5591
  if (j === e) {
5561
5592
  if (r.relativeUri !== void 0) {
5562
- const b = e;
5593
+ const w = e;
5563
5594
  if (typeof r.relativeUri != "string")
5564
5595
  return le.errors = [
5565
5596
  {
@@ -5570,12 +5601,12 @@ function le(r, { instancePath: t = "", parentData: n, parentDataProperty: l, roo
5570
5601
  message: "must be string"
5571
5602
  }
5572
5603
  ], !1;
5573
- var p = b === e;
5604
+ var p = w === e;
5574
5605
  } else
5575
5606
  var p = !0;
5576
5607
  if (p) {
5577
5608
  if (r.scriptPath !== void 0) {
5578
- const b = e;
5609
+ const w = e;
5579
5610
  if (typeof r.scriptPath != "string")
5580
5611
  return le.errors = [
5581
5612
  {
@@ -5586,12 +5617,12 @@ function le(r, { instancePath: t = "", parentData: n, parentDataProperty: l, roo
5586
5617
  message: "must be string"
5587
5618
  }
5588
5619
  ], !1;
5589
- var p = b === e;
5620
+ var p = w === e;
5590
5621
  } else
5591
5622
  var p = !0;
5592
5623
  if (p) {
5593
5624
  if (r.protocol !== void 0) {
5594
- const b = e;
5625
+ const w = e;
5595
5626
  if (typeof r.protocol != "string")
5596
5627
  return le.errors = [
5597
5628
  {
@@ -5602,14 +5633,14 @@ function le(r, { instancePath: t = "", parentData: n, parentDataProperty: l, roo
5602
5633
  message: "must be string"
5603
5634
  }
5604
5635
  ], !1;
5605
- var p = b === e;
5636
+ var p = w === e;
5606
5637
  } else
5607
5638
  var p = !0;
5608
5639
  if (p) {
5609
5640
  if (r.method !== void 0) {
5610
- let b = r.method;
5641
+ let w = r.method;
5611
5642
  const W = e;
5612
- if (typeof b != "string")
5643
+ if (typeof w != "string")
5613
5644
  return le.errors = [
5614
5645
  {
5615
5646
  instancePath: t + "/method",
@@ -5619,7 +5650,7 @@ function le(r, { instancePath: t = "", parentData: n, parentDataProperty: l, roo
5619
5650
  message: "must be string"
5620
5651
  }
5621
5652
  ], !1;
5622
- if (!(b === "GET" || b === "POST" || b === "HEAD" || b === "OPTIONS" || b === "PATCH" || b === "PUT" || b === "DELETE"))
5653
+ if (!(w === "GET" || w === "POST" || w === "HEAD" || w === "OPTIONS" || w === "PATCH" || w === "PUT" || w === "DELETE"))
5623
5654
  return le.errors = [
5624
5655
  {
5625
5656
  instancePath: t + "/method",
@@ -5636,13 +5667,13 @@ function le(r, { instancePath: t = "", parentData: n, parentDataProperty: l, roo
5636
5667
  var p = !0;
5637
5668
  if (p) {
5638
5669
  if (r.headers !== void 0) {
5639
- let b = r.headers;
5670
+ let w = r.headers;
5640
5671
  const W = e;
5641
5672
  if (e === e)
5642
- if (b && typeof b == "object" && !Array.isArray(b))
5643
- for (const A in b) {
5673
+ if (w && typeof w == "object" && !Array.isArray(w))
5674
+ for (const A in w) {
5644
5675
  const re = e;
5645
- if (typeof b[A] != "string")
5676
+ if (typeof w[A] != "string")
5646
5677
  return le.errors = [
5647
5678
  {
5648
5679
  instancePath: t + "/headers/" + A.replace(
@@ -5679,11 +5710,11 @@ function le(r, { instancePath: t = "", parentData: n, parentDataProperty: l, roo
5679
5710
  var p = !0;
5680
5711
  if (p) {
5681
5712
  if (r.body !== void 0) {
5682
- let b = r.body;
5713
+ let w = r.body;
5683
5714
  const W = e, Q = e;
5684
5715
  let J = !1;
5685
5716
  const A = e;
5686
- if (typeof b != "string") {
5717
+ if (typeof w != "string") {
5687
5718
  const V = {
5688
5719
  instancePath: t + "/body",
5689
5720
  schemaPath: "#/properties/body/anyOf/0/type",
@@ -5697,10 +5728,10 @@ function le(r, { instancePath: t = "", parentData: n, parentDataProperty: l, roo
5697
5728
  if (J = J || h, !J) {
5698
5729
  const V = e;
5699
5730
  if (e === V)
5700
- if (b && typeof b == "object" && !Array.isArray(b)) {
5731
+ if (w && typeof w == "object" && !Array.isArray(w)) {
5701
5732
  let H;
5702
- if (b.BYTES_PER_ELEMENT === void 0 && (H = "BYTES_PER_ELEMENT") || b.buffer === void 0 && (H = "buffer") || b.byteLength === void 0 && (H = "byteLength") || b.byteOffset === void 0 && (H = "byteOffset") || b.length === void 0 && (H = "length")) {
5703
- const w = {
5733
+ if (w.BYTES_PER_ELEMENT === void 0 && (H = "BYTES_PER_ELEMENT") || w.buffer === void 0 && (H = "buffer") || w.byteLength === void 0 && (H = "byteLength") || w.byteOffset === void 0 && (H = "byteOffset") || w.length === void 0 && (H = "length")) {
5734
+ const b = {
5704
5735
  instancePath: t + "/body",
5705
5736
  schemaPath: "#/properties/body/anyOf/1/required",
5706
5737
  keyword: "required",
@@ -5709,12 +5740,12 @@ function le(r, { instancePath: t = "", parentData: n, parentDataProperty: l, roo
5709
5740
  },
5710
5741
  message: "must have required property '" + H + "'"
5711
5742
  };
5712
- s === null ? s = [w] : s.push(w), e++;
5743
+ s === null ? s = [b] : s.push(b), e++;
5713
5744
  } else {
5714
- const w = e;
5715
- for (const $ in b)
5745
+ const b = e;
5746
+ for (const $ in w)
5716
5747
  if (!($ === "BYTES_PER_ELEMENT" || $ === "buffer" || $ === "byteLength" || $ === "byteOffset" || $ === "length")) {
5717
- let v = b[$];
5748
+ let v = w[$];
5718
5749
  const E = e;
5719
5750
  if (!(typeof v == "number" && isFinite(
5720
5751
  v
@@ -5744,9 +5775,9 @@ function le(r, { instancePath: t = "", parentData: n, parentDataProperty: l, roo
5744
5775
  if (!P)
5745
5776
  break;
5746
5777
  }
5747
- if (w === e) {
5748
- if (b.BYTES_PER_ELEMENT !== void 0) {
5749
- let $ = b.BYTES_PER_ELEMENT;
5778
+ if (b === e) {
5779
+ if (w.BYTES_PER_ELEMENT !== void 0) {
5780
+ let $ = w.BYTES_PER_ELEMENT;
5750
5781
  const v = e;
5751
5782
  if (!(typeof $ == "number" && isFinite(
5752
5783
  $
@@ -5770,8 +5801,8 @@ function le(r, { instancePath: t = "", parentData: n, parentDataProperty: l, roo
5770
5801
  } else
5771
5802
  var y = !0;
5772
5803
  if (y) {
5773
- if (b.buffer !== void 0) {
5774
- let $ = b.buffer;
5804
+ if (w.buffer !== void 0) {
5805
+ let $ = w.buffer;
5775
5806
  const v = e;
5776
5807
  if (e === v)
5777
5808
  if ($ && typeof $ == "object" && !Array.isArray(
@@ -5855,8 +5886,8 @@ function le(r, { instancePath: t = "", parentData: n, parentDataProperty: l, roo
5855
5886
  } else
5856
5887
  var y = !0;
5857
5888
  if (y) {
5858
- if (b.byteLength !== void 0) {
5859
- let $ = b.byteLength;
5889
+ if (w.byteLength !== void 0) {
5890
+ let $ = w.byteLength;
5860
5891
  const v = e;
5861
5892
  if (!(typeof $ == "number" && isFinite(
5862
5893
  $
@@ -5880,8 +5911,8 @@ function le(r, { instancePath: t = "", parentData: n, parentDataProperty: l, roo
5880
5911
  } else
5881
5912
  var y = !0;
5882
5913
  if (y) {
5883
- if (b.byteOffset !== void 0) {
5884
- let $ = b.byteOffset;
5914
+ if (w.byteOffset !== void 0) {
5915
+ let $ = w.byteOffset;
5885
5916
  const v = e;
5886
5917
  if (!(typeof $ == "number" && isFinite(
5887
5918
  $
@@ -5905,8 +5936,8 @@ function le(r, { instancePath: t = "", parentData: n, parentDataProperty: l, roo
5905
5936
  } else
5906
5937
  var y = !0;
5907
5938
  if (y)
5908
- if (b.length !== void 0) {
5909
- let $ = b.length;
5939
+ if (w.length !== void 0) {
5940
+ let $ = w.length;
5910
5941
  const v = e;
5911
5942
  if (!(typeof $ == "number" && isFinite(
5912
5943
  $
@@ -5966,13 +5997,13 @@ function le(r, { instancePath: t = "", parentData: n, parentDataProperty: l, roo
5966
5997
  var p = !0;
5967
5998
  if (p) {
5968
5999
  if (r.env !== void 0) {
5969
- let b = r.env;
6000
+ let w = r.env;
5970
6001
  const W = e;
5971
6002
  if (e === W)
5972
- if (b && typeof b == "object" && !Array.isArray(b))
5973
- for (const J in b) {
6003
+ if (w && typeof w == "object" && !Array.isArray(w))
6004
+ for (const J in w) {
5974
6005
  const A = e;
5975
- if (typeof b[J] != "string")
6006
+ if (typeof w[J] != "string")
5976
6007
  return le.errors = [
5977
6008
  {
5978
6009
  instancePath: t + "/env/" + J.replace(
@@ -6011,13 +6042,13 @@ function le(r, { instancePath: t = "", parentData: n, parentDataProperty: l, roo
6011
6042
  var p = !0;
6012
6043
  if (p) {
6013
6044
  if (r.$_SERVER !== void 0) {
6014
- let b = r.$_SERVER;
6045
+ let w = r.$_SERVER;
6015
6046
  const W = e;
6016
6047
  if (e === W)
6017
- if (b && typeof b == "object" && !Array.isArray(b))
6018
- for (const J in b) {
6048
+ if (w && typeof w == "object" && !Array.isArray(w))
6049
+ for (const J in w) {
6019
6050
  const A = e;
6020
- if (typeof b[J] != "string")
6051
+ if (typeof w[J] != "string")
6021
6052
  return le.errors = [
6022
6053
  {
6023
6054
  instancePath: t + "/$_SERVER/" + J.replace(
@@ -6056,7 +6087,7 @@ function le(r, { instancePath: t = "", parentData: n, parentDataProperty: l, roo
6056
6087
  var p = !0;
6057
6088
  if (p)
6058
6089
  if (r.code !== void 0) {
6059
- const b = e;
6090
+ const w = e;
6060
6091
  if (typeof r.code != "string")
6061
6092
  return le.errors = [
6062
6093
  {
@@ -6069,7 +6100,7 @@ function le(r, { instancePath: t = "", parentData: n, parentDataProperty: l, roo
6069
6100
  message: "must be string"
6070
6101
  }
6071
6102
  ], !1;
6072
- var p = b === e;
6103
+ var p = w === e;
6073
6104
  } else
6074
6105
  var p = !0;
6075
6106
  }
@@ -6943,10 +6974,10 @@ function o(r, { instancePath: t = "", parentData: n, parentDataProperty: l, root
6943
6974
  message: "must be number"
6944
6975
  }
6945
6976
  ], !1;
6946
- var b = S === e;
6977
+ var w = S === e;
6947
6978
  } else
6948
- var b = !0;
6949
- if (b)
6979
+ var w = !0;
6980
+ if (w)
6950
6981
  if (i.caption !== void 0) {
6951
6982
  const a = e;
6952
6983
  if (typeof i.caption != "string")
@@ -6961,9 +6992,9 @@ function o(r, { instancePath: t = "", parentData: n, parentDataProperty: l, root
6961
6992
  message: "must be string"
6962
6993
  }
6963
6994
  ], !1;
6964
- var b = a === e;
6995
+ var w = a === e;
6965
6996
  } else
6966
- var b = !0;
6997
+ var w = !0;
6967
6998
  }
6968
6999
  } else
6969
7000
  return o.errors = [
@@ -7677,10 +7708,10 @@ function o(r, { instancePath: t = "", parentData: n, parentDataProperty: l, root
7677
7708
  message: "must be object"
7678
7709
  }
7679
7710
  ], !1;
7680
- var w = f === e;
7711
+ var b = f === e;
7681
7712
  } else
7682
- var w = !0;
7683
- if (w) {
7713
+ var b = !0;
7714
+ if (b) {
7684
7715
  if (r.step !== void 0) {
7685
7716
  let i = r.step;
7686
7717
  const f = e;
@@ -7708,10 +7739,10 @@ function o(r, { instancePath: t = "", parentData: n, parentDataProperty: l, root
7708
7739
  message: "must be equal to constant"
7709
7740
  }
7710
7741
  ], !1;
7711
- var w = f === e;
7742
+ var b = f === e;
7712
7743
  } else
7713
- var w = !0;
7714
- if (w) {
7744
+ var b = !0;
7745
+ if (b) {
7715
7746
  if (r.wordPressFilesZip !== void 0) {
7716
7747
  const i = e;
7717
7748
  G(
@@ -7725,10 +7756,10 @@ function o(r, { instancePath: t = "", parentData: n, parentDataProperty: l, root
7725
7756
  ) || (s = s === null ? G.errors : s.concat(
7726
7757
  G.errors
7727
7758
  ), e = s.length);
7728
- var w = i === e;
7759
+ var b = i === e;
7729
7760
  } else
7730
- var w = !0;
7731
- if (w)
7761
+ var b = !0;
7762
+ if (b)
7732
7763
  if (r.pathInZip !== void 0) {
7733
7764
  const i = e;
7734
7765
  if (typeof r.pathInZip != "string")
@@ -7743,9 +7774,9 @@ function o(r, { instancePath: t = "", parentData: n, parentDataProperty: l, root
7743
7774
  message: "must be string"
7744
7775
  }
7745
7776
  ], !1;
7746
- var w = i === e;
7777
+ var b = i === e;
7747
7778
  } else
7748
- var w = !0;
7779
+ var b = !0;
7749
7780
  }
7750
7781
  }
7751
7782
  }
@@ -7948,7 +7979,7 @@ function o(r, { instancePath: t = "", parentData: n, parentDataProperty: l, root
7948
7979
  var E = S === e;
7949
7980
  if (a = a || E, !a) {
7950
7981
  const ee = e;
7951
- ce(
7982
+ me(
7952
7983
  i,
7953
7984
  {
7954
7985
  instancePath: t + "/pluginData",
@@ -7956,8 +7987,8 @@ function o(r, { instancePath: t = "", parentData: n, parentDataProperty: l, root
7956
7987
  parentDataProperty: "pluginData",
7957
7988
  rootData: u
7958
7989
  }
7959
- ) || (s = s === null ? ce.errors : s.concat(
7960
- ce.errors
7990
+ ) || (s = s === null ? me.errors : s.concat(
7991
+ me.errors
7961
7992
  ), e = s.length);
7962
7993
  var E = ee === e;
7963
7994
  a = a || E;
@@ -8276,7 +8307,7 @@ function o(r, { instancePath: t = "", parentData: n, parentDataProperty: l, root
8276
8307
  var U = S === e;
8277
8308
  if (a = a || U, !a) {
8278
8309
  const ee = e;
8279
- ce(
8310
+ me(
8280
8311
  i,
8281
8312
  {
8282
8313
  instancePath: t + "/themeData",
@@ -8284,8 +8315,8 @@ function o(r, { instancePath: t = "", parentData: n, parentDataProperty: l, root
8284
8315
  parentDataProperty: "themeData",
8285
8316
  rootData: u
8286
8317
  }
8287
- ) || (s = s === null ? ce.errors : s.concat(
8288
- ce.errors
8318
+ ) || (s = s === null ? me.errors : s.concat(
8319
+ me.errors
8289
8320
  ), e = s.length);
8290
8321
  var U = ee === e;
8291
8322
  a = a || U;
@@ -9266,7 +9297,7 @@ function o(r, { instancePath: t = "", parentData: n, parentDataProperty: l, root
9266
9297
  if (I)
9267
9298
  if (r.request !== void 0) {
9268
9299
  const i = e;
9269
- ge(
9300
+ we(
9270
9301
  r.request,
9271
9302
  {
9272
9303
  instancePath: t + "/request",
@@ -9274,8 +9305,8 @@ function o(r, { instancePath: t = "", parentData: n, parentDataProperty: l, root
9274
9305
  parentDataProperty: "request",
9275
9306
  rootData: u
9276
9307
  }
9277
- ) || (s = s === null ? ge.errors : s.concat(
9278
- ge.errors
9308
+ ) || (s = s === null ? we.errors : s.concat(
9309
+ we.errors
9279
9310
  ), e = s.length);
9280
9311
  var I = i === e;
9281
9312
  } else
@@ -10749,10 +10780,10 @@ function o(r, { instancePath: t = "", parentData: n, parentDataProperty: l, root
10749
10780
  message: "must be object"
10750
10781
  }
10751
10782
  ], !1;
10752
- var me = f === e;
10783
+ var ye = f === e;
10753
10784
  } else
10754
- var me = !0;
10755
- if (me) {
10785
+ var ye = !0;
10786
+ if (ye) {
10756
10787
  if (r.step !== void 0) {
10757
10788
  let i = r.step;
10758
10789
  const f = e;
@@ -10780,10 +10811,10 @@ function o(r, { instancePath: t = "", parentData: n, parentDataProperty: l, root
10780
10811
  message: "must be equal to constant"
10781
10812
  }
10782
10813
  ], !1;
10783
- var me = f === e;
10814
+ var ye = f === e;
10784
10815
  } else
10785
- var me = !0;
10786
- if (me) {
10816
+ var ye = !0;
10817
+ if (ye) {
10787
10818
  if (r.zipFile !== void 0) {
10788
10819
  const i = e;
10789
10820
  G(
@@ -10797,10 +10828,10 @@ function o(r, { instancePath: t = "", parentData: n, parentDataProperty: l, root
10797
10828
  ) || (s = s === null ? G.errors : s.concat(
10798
10829
  G.errors
10799
10830
  ), e = s.length);
10800
- var me = i === e;
10831
+ var ye = i === e;
10801
10832
  } else
10802
- var me = !0;
10803
- if (me) {
10833
+ var ye = !0;
10834
+ if (ye) {
10804
10835
  if (r.zipPath !== void 0) {
10805
10836
  const i = e;
10806
10837
  if (typeof r.zipPath != "string")
@@ -10815,10 +10846,10 @@ function o(r, { instancePath: t = "", parentData: n, parentDataProperty: l, root
10815
10846
  message: "must be string"
10816
10847
  }
10817
10848
  ], !1;
10818
- var me = i === e;
10849
+ var ye = i === e;
10819
10850
  } else
10820
- var me = !0;
10821
- if (me)
10851
+ var ye = !0;
10852
+ if (ye)
10822
10853
  if (r.extractToPath !== void 0) {
10823
10854
  const i = e;
10824
10855
  if (typeof r.extractToPath != "string")
@@ -10833,9 +10864,9 @@ function o(r, { instancePath: t = "", parentData: n, parentDataProperty: l, root
10833
10864
  message: "must be string"
10834
10865
  }
10835
10866
  ], !1;
10836
- var me = i === e;
10867
+ var ye = i === e;
10837
10868
  } else
10838
- var me = !0;
10869
+ var ye = !0;
10839
10870
  }
10840
10871
  }
10841
10872
  }
@@ -11262,10 +11293,10 @@ function o(r, { instancePath: t = "", parentData: n, parentDataProperty: l, root
11262
11293
  const Ee = e;
11263
11294
  for (const Y in i)
11264
11295
  if (!(Y === "BYTES_PER_ELEMENT" || Y === "buffer" || Y === "byteLength" || Y === "byteOffset" || Y === "length")) {
11265
- let he = i[Y];
11296
+ let ge = i[Y];
11266
11297
  const rr = e;
11267
- if (!(typeof he == "number" && isFinite(
11268
- he
11298
+ if (!(typeof ge == "number" && isFinite(
11299
+ ge
11269
11300
  ))) {
11270
11301
  const ue = {
11271
11302
  instancePath: t + "/data/" + Y.replace(
@@ -11295,7 +11326,7 @@ function o(r, { instancePath: t = "", parentData: n, parentDataProperty: l, root
11295
11326
  if (Ee === e) {
11296
11327
  if (i.BYTES_PER_ELEMENT !== void 0) {
11297
11328
  let Y = i.BYTES_PER_ELEMENT;
11298
- const he = e;
11329
+ const ge = e;
11299
11330
  if (!(typeof Y == "number" && isFinite(
11300
11331
  Y
11301
11332
  ))) {
@@ -11314,14 +11345,14 @@ function o(r, { instancePath: t = "", parentData: n, parentDataProperty: l, root
11314
11345
  rr
11315
11346
  ), e++;
11316
11347
  }
11317
- var ye = he === e;
11348
+ var he = ge === e;
11318
11349
  } else
11319
- var ye = !0;
11320
- if (ye) {
11350
+ var he = !0;
11351
+ if (he) {
11321
11352
  if (i.buffer !== void 0) {
11322
11353
  let Y = i.buffer;
11323
- const he = e;
11324
- if (e === he)
11354
+ const ge = e;
11355
+ if (e === ge)
11325
11356
  if (Y && typeof Y == "object" && !Array.isArray(
11326
11357
  Y
11327
11358
  )) {
@@ -11399,13 +11430,13 @@ function o(r, { instancePath: t = "", parentData: n, parentDataProperty: l, root
11399
11430
  ue
11400
11431
  ), e++;
11401
11432
  }
11402
- var ye = he === e;
11433
+ var he = ge === e;
11403
11434
  } else
11404
- var ye = !0;
11405
- if (ye) {
11435
+ var he = !0;
11436
+ if (he) {
11406
11437
  if (i.byteLength !== void 0) {
11407
11438
  let Y = i.byteLength;
11408
- const he = e;
11439
+ const ge = e;
11409
11440
  if (!(typeof Y == "number" && isFinite(
11410
11441
  Y
11411
11442
  ))) {
@@ -11424,13 +11455,13 @@ function o(r, { instancePath: t = "", parentData: n, parentDataProperty: l, root
11424
11455
  ue
11425
11456
  ), e++;
11426
11457
  }
11427
- var ye = he === e;
11458
+ var he = ge === e;
11428
11459
  } else
11429
- var ye = !0;
11430
- if (ye) {
11460
+ var he = !0;
11461
+ if (he) {
11431
11462
  if (i.byteOffset !== void 0) {
11432
11463
  let Y = i.byteOffset;
11433
- const he = e;
11464
+ const ge = e;
11434
11465
  if (!(typeof Y == "number" && isFinite(
11435
11466
  Y
11436
11467
  ))) {
@@ -11449,13 +11480,13 @@ function o(r, { instancePath: t = "", parentData: n, parentDataProperty: l, root
11449
11480
  ue
11450
11481
  ), e++;
11451
11482
  }
11452
- var ye = he === e;
11483
+ var he = ge === e;
11453
11484
  } else
11454
- var ye = !0;
11455
- if (ye)
11485
+ var he = !0;
11486
+ if (he)
11456
11487
  if (i.length !== void 0) {
11457
11488
  let Y = i.length;
11458
- const he = e;
11489
+ const ge = e;
11459
11490
  if (!(typeof Y == "number" && isFinite(
11460
11491
  Y
11461
11492
  ))) {
@@ -11474,9 +11505,9 @@ function o(r, { instancePath: t = "", parentData: n, parentDataProperty: l, root
11474
11505
  ue
11475
11506
  ), e++;
11476
11507
  }
11477
- var ye = he === e;
11508
+ var he = ge === e;
11478
11509
  } else
11479
- var ye = !0;
11510
+ var he = !0;
11480
11511
  }
11481
11512
  }
11482
11513
  }
@@ -11693,7 +11724,7 @@ function o(r, { instancePath: t = "", parentData: n, parentDataProperty: l, root
11693
11724
  if (Oe)
11694
11725
  if (r.filesTree !== void 0) {
11695
11726
  const i = e;
11696
- ce(
11727
+ me(
11697
11728
  r.filesTree,
11698
11729
  {
11699
11730
  instancePath: t + "/filesTree",
@@ -11701,8 +11732,8 @@ function o(r, { instancePath: t = "", parentData: n, parentDataProperty: l, root
11701
11732
  parentDataProperty: "filesTree",
11702
11733
  rootData: u
11703
11734
  }
11704
- ) || (s = s === null ? ce.errors : s.concat(
11705
- ce.errors
11735
+ ) || (s = s === null ? me.errors : s.concat(
11736
+ me.errors
11706
11737
  ), e = s.length);
11707
11738
  var Oe = i === e;
11708
11739
  } else
@@ -12187,20 +12218,20 @@ function M(r, { instancePath: t = "", parentData: n, parentDataProperty: l, root
12187
12218
  if (e === 0)
12188
12219
  if (r && typeof r == "object" && !Array.isArray(r)) {
12189
12220
  const H = e;
12190
- for (const w in r)
12191
- if (!Vr.call(ws.properties, w))
12221
+ for (const b in r)
12222
+ if (!Vr.call(ws.properties, b))
12192
12223
  return M.errors = [
12193
12224
  {
12194
12225
  instancePath: t,
12195
12226
  schemaPath: "#/additionalProperties",
12196
12227
  keyword: "additionalProperties",
12197
- params: { additionalProperty: w },
12228
+ params: { additionalProperty: b },
12198
12229
  message: "must NOT have additional properties"
12199
12230
  }
12200
12231
  ], !1;
12201
12232
  if (H === e) {
12202
12233
  if (r.landingPage !== void 0) {
12203
- const w = e;
12234
+ const b = e;
12204
12235
  if (typeof r.landingPage != "string")
12205
12236
  return M.errors = [
12206
12237
  {
@@ -12211,12 +12242,12 @@ function M(r, { instancePath: t = "", parentData: n, parentDataProperty: l, root
12211
12242
  message: "must be string"
12212
12243
  }
12213
12244
  ], !1;
12214
- var p = w === e;
12245
+ var p = b === e;
12215
12246
  } else
12216
12247
  var p = !0;
12217
12248
  if (p) {
12218
12249
  if (r.description !== void 0) {
12219
- const w = e;
12250
+ const b = e;
12220
12251
  if (typeof r.description != "string")
12221
12252
  return M.errors = [
12222
12253
  {
@@ -12227,17 +12258,17 @@ function M(r, { instancePath: t = "", parentData: n, parentDataProperty: l, root
12227
12258
  message: "must be string"
12228
12259
  }
12229
12260
  ], !1;
12230
- var p = w === e;
12261
+ var p = b === e;
12231
12262
  } else
12232
12263
  var p = !0;
12233
12264
  if (p) {
12234
12265
  if (r.meta !== void 0) {
12235
- let w = r.meta;
12266
+ let b = r.meta;
12236
12267
  const $ = e;
12237
12268
  if (e === $)
12238
- if (w && typeof w == "object" && !Array.isArray(w)) {
12269
+ if (b && typeof b == "object" && !Array.isArray(b)) {
12239
12270
  let E;
12240
- if (w.title === void 0 && (E = "title") || w.author === void 0 && (E = "author"))
12271
+ if (b.title === void 0 && (E = "title") || b.author === void 0 && (E = "author"))
12241
12272
  return M.errors = [
12242
12273
  {
12243
12274
  instancePath: t + "/meta",
@@ -12251,7 +12282,7 @@ function M(r, { instancePath: t = "", parentData: n, parentDataProperty: l, root
12251
12282
  ], !1;
12252
12283
  {
12253
12284
  const _ = e;
12254
- for (const m in w)
12285
+ for (const m in b)
12255
12286
  if (!(m === "title" || m === "description" || m === "author" || m === "categories"))
12256
12287
  return M.errors = [
12257
12288
  {
@@ -12265,9 +12296,9 @@ function M(r, { instancePath: t = "", parentData: n, parentDataProperty: l, root
12265
12296
  }
12266
12297
  ], !1;
12267
12298
  if (_ === e) {
12268
- if (w.title !== void 0) {
12299
+ if (b.title !== void 0) {
12269
12300
  const m = e;
12270
- if (typeof w.title != "string")
12301
+ if (typeof b.title != "string")
12271
12302
  return M.errors = [
12272
12303
  {
12273
12304
  instancePath: t + "/meta/title",
@@ -12283,9 +12314,9 @@ function M(r, { instancePath: t = "", parentData: n, parentDataProperty: l, root
12283
12314
  } else
12284
12315
  var d = !0;
12285
12316
  if (d) {
12286
- if (w.description !== void 0) {
12317
+ if (b.description !== void 0) {
12287
12318
  const m = e;
12288
- if (typeof w.description != "string")
12319
+ if (typeof b.description != "string")
12289
12320
  return M.errors = [
12290
12321
  {
12291
12322
  instancePath: t + "/meta/description",
@@ -12301,9 +12332,9 @@ function M(r, { instancePath: t = "", parentData: n, parentDataProperty: l, root
12301
12332
  } else
12302
12333
  var d = !0;
12303
12334
  if (d) {
12304
- if (w.author !== void 0) {
12335
+ if (b.author !== void 0) {
12305
12336
  const m = e;
12306
- if (typeof w.author != "string")
12337
+ if (typeof b.author != "string")
12307
12338
  return M.errors = [
12308
12339
  {
12309
12340
  instancePath: t + "/meta/author",
@@ -12319,8 +12350,8 @@ function M(r, { instancePath: t = "", parentData: n, parentDataProperty: l, root
12319
12350
  } else
12320
12351
  var d = !0;
12321
12352
  if (d)
12322
- if (w.categories !== void 0) {
12323
- let m = w.categories;
12353
+ if (b.categories !== void 0) {
12354
+ let m = b.categories;
12324
12355
  const g = e;
12325
12356
  if (e === g)
12326
12357
  if (Array.isArray(
@@ -12380,12 +12411,12 @@ function M(r, { instancePath: t = "", parentData: n, parentDataProperty: l, root
12380
12411
  var p = !0;
12381
12412
  if (p) {
12382
12413
  if (r.preferredVersions !== void 0) {
12383
- let w = r.preferredVersions;
12414
+ let b = r.preferredVersions;
12384
12415
  const $ = e;
12385
12416
  if (e === $)
12386
- if (w && typeof w == "object" && !Array.isArray(w)) {
12417
+ if (b && typeof b == "object" && !Array.isArray(b)) {
12387
12418
  let E;
12388
- if (w.php === void 0 && (E = "php") || w.wp === void 0 && (E = "wp"))
12419
+ if (b.php === void 0 && (E = "php") || b.wp === void 0 && (E = "wp"))
12389
12420
  return M.errors = [
12390
12421
  {
12391
12422
  instancePath: t + "/preferredVersions",
@@ -12399,7 +12430,7 @@ function M(r, { instancePath: t = "", parentData: n, parentDataProperty: l, root
12399
12430
  ], !1;
12400
12431
  {
12401
12432
  const _ = e;
12402
- for (const m in w)
12433
+ for (const m in b)
12403
12434
  if (!(m === "php" || m === "wp"))
12404
12435
  return M.errors = [
12405
12436
  {
@@ -12413,14 +12444,14 @@ function M(r, { instancePath: t = "", parentData: n, parentDataProperty: l, root
12413
12444
  }
12414
12445
  ], !1;
12415
12446
  if (_ === e) {
12416
- if (w.php !== void 0) {
12417
- let m = w.php;
12447
+ if (b.php !== void 0) {
12448
+ let m = b.php;
12418
12449
  const g = e, U = e;
12419
12450
  let k = !1;
12420
12451
  const D = e;
12421
12452
  We(m, {
12422
12453
  instancePath: t + "/preferredVersions/php",
12423
- parentData: w,
12454
+ parentData: b,
12424
12455
  parentDataProperty: "php",
12425
12456
  rootData: u
12426
12457
  }) || (s = s === null ? We.errors : s.concat(
@@ -12480,8 +12511,8 @@ function M(r, { instancePath: t = "", parentData: n, parentDataProperty: l, root
12480
12511
  } else
12481
12512
  var y = !0;
12482
12513
  if (y)
12483
- if (w.wp !== void 0) {
12484
- let m = w.wp;
12514
+ if (b.wp !== void 0) {
12515
+ let m = b.wp;
12485
12516
  const g = e, U = e;
12486
12517
  let k = !1;
12487
12518
  const D = e;
@@ -12611,12 +12642,12 @@ function M(r, { instancePath: t = "", parentData: n, parentDataProperty: l, root
12611
12642
  var p = !0;
12612
12643
  if (p) {
12613
12644
  if (r.features !== void 0) {
12614
- let w = r.features;
12645
+ let b = r.features;
12615
12646
  const $ = e;
12616
12647
  if (e === $)
12617
- if (w && typeof w == "object" && !Array.isArray(w)) {
12648
+ if (b && typeof b == "object" && !Array.isArray(b)) {
12618
12649
  const E = e;
12619
- for (const _ in w)
12650
+ for (const _ in b)
12620
12651
  if (!(_ === "intl" || _ === "networking"))
12621
12652
  return M.errors = [
12622
12653
  {
@@ -12630,9 +12661,9 @@ function M(r, { instancePath: t = "", parentData: n, parentDataProperty: l, root
12630
12661
  }
12631
12662
  ], !1;
12632
12663
  if (E === e) {
12633
- if (w.intl !== void 0) {
12664
+ if (b.intl !== void 0) {
12634
12665
  const _ = e;
12635
- if (typeof w.intl != "boolean")
12666
+ if (typeof b.intl != "boolean")
12636
12667
  return M.errors = [
12637
12668
  {
12638
12669
  instancePath: t + "/features/intl",
@@ -12648,9 +12679,9 @@ function M(r, { instancePath: t = "", parentData: n, parentDataProperty: l, root
12648
12679
  } else
12649
12680
  var T = !0;
12650
12681
  if (T)
12651
- if (w.networking !== void 0) {
12682
+ if (b.networking !== void 0) {
12652
12683
  const _ = e;
12653
- if (typeof w.networking != "boolean")
12684
+ if (typeof b.networking != "boolean")
12654
12685
  return M.errors = [
12655
12686
  {
12656
12687
  instancePath: t + "/features/networking",
@@ -12681,14 +12712,14 @@ function M(r, { instancePath: t = "", parentData: n, parentDataProperty: l, root
12681
12712
  var p = !0;
12682
12713
  if (p) {
12683
12714
  if (r.extraLibraries !== void 0) {
12684
- let w = r.extraLibraries;
12715
+ let b = r.extraLibraries;
12685
12716
  const $ = e;
12686
12717
  if (e === $)
12687
- if (Array.isArray(w)) {
12718
+ if (Array.isArray(b)) {
12688
12719
  var j = !0;
12689
- const E = w.length;
12720
+ const E = b.length;
12690
12721
  for (let _ = 0; _ < E; _++) {
12691
- let m = w[_];
12722
+ let m = b[_];
12692
12723
  const g = e;
12693
12724
  if (typeof m != "string")
12694
12725
  return M.errors = [
@@ -12735,12 +12766,12 @@ function M(r, { instancePath: t = "", parentData: n, parentDataProperty: l, root
12735
12766
  var p = !0;
12736
12767
  if (p) {
12737
12768
  if (r.constants !== void 0) {
12738
- let w = r.constants;
12769
+ let b = r.constants;
12739
12770
  const $ = e;
12740
12771
  if (e === e)
12741
- if (w && typeof w == "object" && !Array.isArray(w))
12742
- for (const _ in w) {
12743
- let m = w[_];
12772
+ if (b && typeof b == "object" && !Array.isArray(b))
12773
+ for (const _ in b) {
12774
+ let m = b[_];
12744
12775
  const g = e;
12745
12776
  if (typeof m != "string" && typeof m != "boolean" && !(typeof m == "number" && isFinite(m)))
12746
12777
  return M.errors = [
@@ -12760,8 +12791,8 @@ function M(r, { instancePath: t = "", parentData: n, parentDataProperty: l, root
12760
12791
  message: "must be string,boolean,number"
12761
12792
  }
12762
12793
  ], !1;
12763
- var b = g === e;
12764
- if (!b)
12794
+ var w = g === e;
12795
+ if (!w)
12765
12796
  break;
12766
12797
  }
12767
12798
  else
@@ -12781,14 +12812,14 @@ function M(r, { instancePath: t = "", parentData: n, parentDataProperty: l, root
12781
12812
  var p = !0;
12782
12813
  if (p) {
12783
12814
  if (r.plugins !== void 0) {
12784
- let w = r.plugins;
12815
+ let b = r.plugins;
12785
12816
  const $ = e;
12786
12817
  if (e === $)
12787
- if (Array.isArray(w)) {
12818
+ if (Array.isArray(b)) {
12788
12819
  var W = !0;
12789
- const E = w.length;
12820
+ const E = b.length;
12790
12821
  for (let _ = 0; _ < E; _++) {
12791
- let m = w[_];
12822
+ let m = b[_];
12792
12823
  const g = e, U = e;
12793
12824
  let k = !1;
12794
12825
  const D = e;
@@ -12815,7 +12846,7 @@ function M(r, { instancePath: t = "", parentData: n, parentDataProperty: l, root
12815
12846
  m,
12816
12847
  {
12817
12848
  instancePath: t + "/plugins/" + _,
12818
- parentData: w,
12849
+ parentData: b,
12819
12850
  parentDataProperty: _,
12820
12851
  rootData: u
12821
12852
  }
@@ -12862,17 +12893,17 @@ function M(r, { instancePath: t = "", parentData: n, parentDataProperty: l, root
12862
12893
  var p = !0;
12863
12894
  if (p) {
12864
12895
  if (r.siteOptions !== void 0) {
12865
- let w = r.siteOptions;
12896
+ let b = r.siteOptions;
12866
12897
  const $ = e;
12867
12898
  if (e === $)
12868
- if (w && typeof w == "object" && !Array.isArray(
12869
- w
12899
+ if (b && typeof b == "object" && !Array.isArray(
12900
+ b
12870
12901
  )) {
12871
12902
  const E = e;
12872
- for (const _ in w)
12903
+ for (const _ in b)
12873
12904
  if (_ !== "blogname") {
12874
12905
  const m = e;
12875
- if (typeof w[_] != "string")
12906
+ if (typeof b[_] != "string")
12876
12907
  return M.errors = [
12877
12908
  {
12878
12909
  instancePath: t + "/siteOptions/" + _.replace(
@@ -12894,7 +12925,7 @@ function M(r, { instancePath: t = "", parentData: n, parentDataProperty: l, root
12894
12925
  if (!J)
12895
12926
  break;
12896
12927
  }
12897
- if (E === e && w.blogname !== void 0 && typeof w.blogname != "string")
12928
+ if (E === e && b.blogname !== void 0 && typeof b.blogname != "string")
12898
12929
  return M.errors = [
12899
12930
  {
12900
12931
  instancePath: t + "/siteOptions/blogname",
@@ -12923,11 +12954,11 @@ function M(r, { instancePath: t = "", parentData: n, parentDataProperty: l, root
12923
12954
  var p = !0;
12924
12955
  if (p) {
12925
12956
  if (r.login !== void 0) {
12926
- let w = r.login;
12957
+ let b = r.login;
12927
12958
  const $ = e, v = e;
12928
12959
  let E = !1;
12929
12960
  const _ = e;
12930
- if (typeof w != "boolean") {
12961
+ if (typeof b != "boolean") {
12931
12962
  const g = {
12932
12963
  instancePath: t + "/login",
12933
12964
  schemaPath: "#/properties/login/anyOf/0/type",
@@ -12947,11 +12978,11 @@ function M(r, { instancePath: t = "", parentData: n, parentDataProperty: l, root
12947
12978
  if (E = E || A, !E) {
12948
12979
  const g = e;
12949
12980
  if (e === g)
12950
- if (w && typeof w == "object" && !Array.isArray(
12951
- w
12981
+ if (b && typeof b == "object" && !Array.isArray(
12982
+ b
12952
12983
  )) {
12953
12984
  let k;
12954
- if (w.username === void 0 && (k = "username") || w.password === void 0 && (k = "password")) {
12985
+ if (b.username === void 0 && (k = "username") || b.password === void 0 && (k = "password")) {
12955
12986
  const D = {
12956
12987
  instancePath: t + "/login",
12957
12988
  schemaPath: "#/properties/login/anyOf/1/required",
@@ -12968,7 +12999,7 @@ function M(r, { instancePath: t = "", parentData: n, parentDataProperty: l, root
12968
12999
  ), e++;
12969
13000
  } else {
12970
13001
  const D = e;
12971
- for (const N in w)
13002
+ for (const N in b)
12972
13003
  if (!(N === "username" || N === "password")) {
12973
13004
  const L = {
12974
13005
  instancePath: t + "/login",
@@ -12987,9 +13018,9 @@ function M(r, { instancePath: t = "", parentData: n, parentDataProperty: l, root
12987
13018
  break;
12988
13019
  }
12989
13020
  if (D === e) {
12990
- if (w.username !== void 0) {
13021
+ if (b.username !== void 0) {
12991
13022
  const N = e;
12992
- if (typeof w.username != "string") {
13023
+ if (typeof b.username != "string") {
12993
13024
  const L = {
12994
13025
  instancePath: t + "/login/username",
12995
13026
  schemaPath: "#/properties/login/anyOf/1/properties/username/type",
@@ -13009,9 +13040,9 @@ function M(r, { instancePath: t = "", parentData: n, parentDataProperty: l, root
13009
13040
  } else
13010
13041
  var re = !0;
13011
13042
  if (re)
13012
- if (w.password !== void 0) {
13043
+ if (b.password !== void 0) {
13013
13044
  const N = e;
13014
- if (typeof w.password != "string") {
13045
+ if (typeof b.password != "string") {
13015
13046
  const x = {
13016
13047
  instancePath: t + "/login/password",
13017
13048
  schemaPath: "#/properties/login/anyOf/1/properties/password/type",
@@ -13072,16 +13103,16 @@ function M(r, { instancePath: t = "", parentData: n, parentDataProperty: l, root
13072
13103
  var p = !0;
13073
13104
  if (p) {
13074
13105
  if (r.steps !== void 0) {
13075
- let w = r.steps;
13106
+ let b = r.steps;
13076
13107
  const $ = e;
13077
13108
  if (e === $)
13078
13109
  if (Array.isArray(
13079
- w
13110
+ b
13080
13111
  )) {
13081
13112
  var V = !0;
13082
- const E = w.length;
13113
+ const E = b.length;
13083
13114
  for (let _ = 0; _ < E; _++) {
13084
- let m = w[_];
13115
+ let m = b[_];
13085
13116
  const g = e, U = e;
13086
13117
  let k = !1;
13087
13118
  const D = e;
@@ -13089,7 +13120,7 @@ function M(r, { instancePath: t = "", parentData: n, parentDataProperty: l, root
13089
13120
  m,
13090
13121
  {
13091
13122
  instancePath: t + "/steps/" + _,
13092
- parentData: w,
13123
+ parentData: b,
13093
13124
  parentDataProperty: _,
13094
13125
  rootData: u
13095
13126
  }
@@ -13226,7 +13257,7 @@ function M(r, { instancePath: t = "", parentData: n, parentDataProperty: l, root
13226
13257
  var p = !0;
13227
13258
  if (p)
13228
13259
  if (r.$schema !== void 0) {
13229
- const w = e;
13260
+ const b = e;
13230
13261
  if (typeof r.$schema != "string")
13231
13262
  return M.errors = [
13232
13263
  {
@@ -13239,7 +13270,7 @@ function M(r, { instancePath: t = "", parentData: n, parentDataProperty: l, root
13239
13270
  message: "must be string"
13240
13271
  }
13241
13272
  ], !1;
13242
- var p = w === e;
13273
+ var p = b === e;
13243
13274
  } else
13244
13275
  var p = !0;
13245
13276
  }
@@ -13321,11 +13352,11 @@ function As(r, {
13321
13352
  gitAdditionalHeadersCallback: p,
13322
13353
  additionalSteps: d
13323
13354
  } = {}) {
13324
- var b, W, Q, J, A, re, V, z, H, w, $;
13355
+ var w, W, Q, J, A, re, V, z, H, b, $;
13325
13356
  r = structuredClone(r), r = {
13326
13357
  ...r,
13327
13358
  steps: (r.steps || []).filter(Fs).filter(Ns)
13328
- }, r.steps = [...r.steps || [], ...d || []], ((b = r.preferredVersions) == null ? void 0 : b.wp) === !1 && Us(r);
13359
+ }, r.steps = [...r.steps || [], ...d || []], ((w = r.preferredVersions) == null ? void 0 : w.wp) === !1 && Us(r);
13329
13360
  for (const v of r.steps)
13330
13361
  !v || typeof v != "object" || (v.step === "importFile" ? (v.step = "importWxr", oe.warn(
13331
13362
  'The "importFile" step is deprecated. Use "importWxr" instead.'
@@ -13431,7 +13462,7 @@ Please review your Blueprint and fix these issues. Learn more about the Blueprin
13431
13462
  },
13432
13463
  features: {
13433
13464
  // Disable intl by default to reduce the transfer size
13434
- intl: ((w = r.features) == null ? void 0 : w.intl) ?? !1,
13465
+ intl: ((b = r.features) == null ? void 0 : b.intl) ?? !1,
13435
13466
  // Enable network access by default
13436
13467
  networking: (($ = r.features) == null ? void 0 : $.networking) ?? !0
13437
13468
  },
@@ -13553,23 +13584,23 @@ function xs(r, {
13553
13584
  (((T = r.progress) == null ? void 0 : T.weight) || 1) / l
13554
13585
  ), d = {};
13555
13586
  for (const j of Object.keys(r)) {
13556
- let b = r[j];
13557
- _t(b) && (b = be.create(b, {
13587
+ let w = r[j];
13588
+ _t(w) && (w = be.create(w, {
13558
13589
  semaphore: t,
13559
13590
  corsProxy: u,
13560
13591
  streamBundledFile: s,
13561
13592
  gitAdditionalHeadersCallback: e
13562
- })), d[j] = b;
13593
+ })), d[j] = w;
13563
13594
  }
13564
13595
  const h = async (j) => {
13565
- var b;
13596
+ var w;
13566
13597
  try {
13567
13598
  return p.fillSlowly(), await Es[r.step](
13568
13599
  j,
13569
13600
  await Cs(d),
13570
13601
  {
13571
13602
  tracker: p,
13572
- initialCaption: (b = r.progress) == null ? void 0 : b.caption
13603
+ initialCaption: (w = r.progress) == null ? void 0 : w.caption
13573
13604
  }
13574
13605
  );
13575
13606
  } finally {
@@ -13728,7 +13759,7 @@ playground_add_filter('blueprint.target_resolved', 'playground_on_blueprint_targ
13728
13759
 
13729
13760
  playground_add_filter('blueprint.resolved', 'playground_on_blueprint_resolved');
13730
13761
  function playground_on_blueprint_resolved($blueprint) {
13731
- $additional_blueprint_steps = json_decode(${we(
13762
+ $additional_blueprint_steps = json_decode(${ce(
13732
13763
  JSON.stringify(((P = r.blueprintOverrides) == null ? void 0 : P.additionalSteps) || [])
13733
13764
  )}, true);
13734
13765
  if(count($additional_blueprint_steps) > 0) {
@@ -13738,7 +13769,7 @@ function playground_on_blueprint_resolved($blueprint) {
13738
13769
  );
13739
13770
  }
13740
13771
 
13741
- $wp_version_override = json_decode(${we(
13772
+ $wp_version_override = json_decode(${ce(
13742
13773
  JSON.stringify(((y = r.blueprintOverrides) == null ? void 0 : y.wordpressVersion) || null)
13743
13774
  )}, true);
13744
13775
  if($wp_version_override) {