@wix/cli-app 1.1.101 → 1.1.103

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (81) hide show
  1. package/build/{AddPermissionCommand-AQD2ALKK.js → AddPermissionCommand-47NX5FID.js} +2 -2
  2. package/build/{DevCommand-QWQNRPMT.js → DevCommand-R3ZGOMUJ.js} +10 -10
  3. package/build/{DevCommand-QWQNRPMT.js.map → DevCommand-R3ZGOMUJ.js.map} +1 -1
  4. package/build/{GenerateCommand-OQAZ7AQP.js → GenerateCommand-BNSFSYGT.js} +7 -7
  5. package/build/{LogsCommand-RQIJ3U7F.js → LogsCommand-B4XRPZLR.js} +3 -3
  6. package/build/PreviewCommand-WY3GWOX4.js +19 -0
  7. package/build/ReleaseCommand-KDD44AO7.js +23 -0
  8. package/build/{ServeCommand-WOUZHV2Y.js → ServeCommand-CNYCJPJS.js} +3 -3
  9. package/build/{build-C6DB6Y6E.js → build-A7OAZ226.js} +6 -6
  10. package/build/{chunk-4JT7QYEF.js → chunk-2FFNGH2K.js} +2 -2
  11. package/build/{chunk-KJN5NVSU.js → chunk-2PWMAOFK.js} +6 -6
  12. package/build/{chunk-JYS6G4NW.js → chunk-4BN6QXJE.js} +149 -37
  13. package/build/{chunk-JYS6G4NW.js.map → chunk-4BN6QXJE.js.map} +1 -1
  14. package/build/{chunk-FG7W5UDB.js → chunk-5HJEX4ZX.js} +633 -173
  15. package/build/{chunk-FG7W5UDB.js.map → chunk-5HJEX4ZX.js.map} +1 -1
  16. package/build/{chunk-HSSABJL6.js → chunk-ASICDRRU.js} +2 -2
  17. package/build/{chunk-P5CHCVB6.js → chunk-CLGKOJIA.js} +7 -7
  18. package/build/chunk-CLGKOJIA.js.map +1 -0
  19. package/build/{chunk-YK5OGTF3.js → chunk-D4HN4JQJ.js} +2 -2
  20. package/build/{chunk-VXAXSIUQ.js → chunk-EK3FDNFJ.js} +6 -6
  21. package/build/{chunk-NPPPO5AD.js → chunk-FQVLZZ37.js} +2 -2
  22. package/build/{chunk-OMC2SHRJ.js → chunk-HQWWEMUE.js} +7 -7
  23. package/build/{chunk-DAOCDBEQ.js → chunk-IJSYFKIP.js} +180 -2
  24. package/build/{chunk-DAOCDBEQ.js.map → chunk-IJSYFKIP.js.map} +1 -1
  25. package/build/{chunk-6XUQYB5M.js → chunk-LFE6DV2A.js} +3 -3
  26. package/build/{chunk-5PFWNTTF.js → chunk-N5BZMQKX.js} +2 -2
  27. package/build/{chunk-ZQWKIC6F.js → chunk-RBX7FQKV.js} +2 -2
  28. package/build/{chunk-CRTLCQQ3.js → chunk-UC4DVE5N.js} +4 -4
  29. package/build/{chunk-R66WIGA4.js → chunk-VDEKITDE.js} +2 -2
  30. package/build/{chunk-MRQDCRFF.js → chunk-WHR6NSJW.js} +2 -2
  31. package/build/cloudflare-runtime/entry.js +5 -2
  32. package/build/cloudflare-runtime/getRegisteredExtensions.js +5 -2
  33. package/build/index.js +23 -23
  34. package/build/platform-sdk/chunk-BBFFXVJD.js +2 -0
  35. package/build/platform-sdk/chunk-BBFFXVJD.js.map +1 -0
  36. package/build/platform-sdk/{chunk-ZBGVDXLX.js → chunk-MAZR75DI.js} +2 -2
  37. package/build/platform-sdk/chunk-MAZR75DI.js.map +1 -0
  38. package/build/platform-sdk/chunk-NHYZDMR5.js +2 -0
  39. package/build/platform-sdk/chunk-NHYZDMR5.js.map +1 -0
  40. package/build/platform-sdk/dashboard.js +1 -1
  41. package/build/platform-sdk/editor.js +2 -2
  42. package/build/platform-sdk/editor.js.map +1 -1
  43. package/build/platform-sdk/sdk-context.js +1 -1
  44. package/build/platform-sdk/sdk-context.js.map +1 -1
  45. package/build/platform-sdk/site.js +1 -1
  46. package/build/platform-sdk/site.js.map +1 -1
  47. package/build/{preview-I3VBWU7J.js → preview-O4LXNEA2.js} +12 -12
  48. package/build/{release-IXG7HZBL.js → release-3FUXB4BT.js} +14 -14
  49. package/build/{render-command-6MZYM2OA.js → render-command-WE3BHL5N.js} +5 -5
  50. package/package.json +4 -4
  51. package/build/PreviewCommand-SSA3LRRR.js +0 -19
  52. package/build/ReleaseCommand-BBWVLP2S.js +0 -23
  53. package/build/chunk-P5CHCVB6.js.map +0 -1
  54. package/build/platform-sdk/chunk-J3SVE4GM.js +0 -2
  55. package/build/platform-sdk/chunk-J3SVE4GM.js.map +0 -1
  56. package/build/platform-sdk/chunk-J7RIIVO6.js +0 -2
  57. package/build/platform-sdk/chunk-J7RIIVO6.js.map +0 -1
  58. package/build/platform-sdk/chunk-ZBGVDXLX.js.map +0 -1
  59. /package/build/{AddPermissionCommand-AQD2ALKK.js.map → AddPermissionCommand-47NX5FID.js.map} +0 -0
  60. /package/build/{GenerateCommand-OQAZ7AQP.js.map → GenerateCommand-BNSFSYGT.js.map} +0 -0
  61. /package/build/{LogsCommand-RQIJ3U7F.js.map → LogsCommand-B4XRPZLR.js.map} +0 -0
  62. /package/build/{PreviewCommand-SSA3LRRR.js.map → PreviewCommand-WY3GWOX4.js.map} +0 -0
  63. /package/build/{ReleaseCommand-BBWVLP2S.js.map → ReleaseCommand-KDD44AO7.js.map} +0 -0
  64. /package/build/{ServeCommand-WOUZHV2Y.js.map → ServeCommand-CNYCJPJS.js.map} +0 -0
  65. /package/build/{build-C6DB6Y6E.js.map → build-A7OAZ226.js.map} +0 -0
  66. /package/build/{chunk-4JT7QYEF.js.map → chunk-2FFNGH2K.js.map} +0 -0
  67. /package/build/{chunk-KJN5NVSU.js.map → chunk-2PWMAOFK.js.map} +0 -0
  68. /package/build/{chunk-HSSABJL6.js.map → chunk-ASICDRRU.js.map} +0 -0
  69. /package/build/{chunk-YK5OGTF3.js.map → chunk-D4HN4JQJ.js.map} +0 -0
  70. /package/build/{chunk-VXAXSIUQ.js.map → chunk-EK3FDNFJ.js.map} +0 -0
  71. /package/build/{chunk-NPPPO5AD.js.map → chunk-FQVLZZ37.js.map} +0 -0
  72. /package/build/{chunk-OMC2SHRJ.js.map → chunk-HQWWEMUE.js.map} +0 -0
  73. /package/build/{chunk-6XUQYB5M.js.map → chunk-LFE6DV2A.js.map} +0 -0
  74. /package/build/{chunk-5PFWNTTF.js.map → chunk-N5BZMQKX.js.map} +0 -0
  75. /package/build/{chunk-ZQWKIC6F.js.map → chunk-RBX7FQKV.js.map} +0 -0
  76. /package/build/{chunk-CRTLCQQ3.js.map → chunk-UC4DVE5N.js.map} +0 -0
  77. /package/build/{chunk-R66WIGA4.js.map → chunk-VDEKITDE.js.map} +0 -0
  78. /package/build/{chunk-MRQDCRFF.js.map → chunk-WHR6NSJW.js.map} +0 -0
  79. /package/build/{preview-I3VBWU7J.js.map → preview-O4LXNEA2.js.map} +0 -0
  80. /package/build/{release-IXG7HZBL.js.map → release-3FUXB4BT.js.map} +0 -0
  81. /package/build/{render-command-6MZYM2OA.js.map → render-command-WE3BHL5N.js.map} +0 -0
@@ -11449,11 +11449,11 @@ function __metadata(metadataKey, metadataValue) {
11449
11449
  }
11450
11450
  function __awaiter(thisArg, _arguments, P, generator) {
11451
11451
  function adopt(value2) {
11452
- return value2 instanceof P ? value2 : new P(function(resolve3) {
11453
- resolve3(value2);
11452
+ return value2 instanceof P ? value2 : new P(function(resolve4) {
11453
+ resolve4(value2);
11454
11454
  });
11455
11455
  }
11456
- return new (P || (P = Promise))(function(resolve3, reject) {
11456
+ return new (P || (P = Promise))(function(resolve4, reject) {
11457
11457
  function fulfilled(value2) {
11458
11458
  try {
11459
11459
  step(generator.next(value2));
@@ -11469,7 +11469,7 @@ function __awaiter(thisArg, _arguments, P, generator) {
11469
11469
  }
11470
11470
  }
11471
11471
  function step(result) {
11472
- result.done ? resolve3(result.value) : adopt(result.value).then(fulfilled, rejected);
11472
+ result.done ? resolve4(result.value) : adopt(result.value).then(fulfilled, rejected);
11473
11473
  }
11474
11474
  step((generator = generator.apply(thisArg, _arguments || [])).next());
11475
11475
  });
@@ -11660,14 +11660,14 @@ function __asyncValues(o) {
11660
11660
  }, i2);
11661
11661
  function verb(n2) {
11662
11662
  i2[n2] = o[n2] && function(v) {
11663
- return new Promise(function(resolve3, reject) {
11664
- v = o[n2](v), settle(resolve3, reject, v.done, v.value);
11663
+ return new Promise(function(resolve4, reject) {
11664
+ v = o[n2](v), settle(resolve4, reject, v.done, v.value);
11665
11665
  });
11666
11666
  };
11667
11667
  }
11668
- function settle(resolve3, reject, d, v) {
11668
+ function settle(resolve4, reject, d, v) {
11669
11669
  Promise.resolve(v).then(function(v2) {
11670
- resolve3({ value: v2, done: d });
11670
+ resolve4({ value: v2, done: d });
11671
11671
  }, reject);
11672
11672
  }
11673
11673
  }
@@ -12763,10 +12763,10 @@ var require_settle = __commonJS({
12763
12763
  "use strict";
12764
12764
  init_esm_shims();
12765
12765
  var createError = require_createError();
12766
- module2.exports = function settle(resolve3, reject, response) {
12766
+ module2.exports = function settle(resolve4, reject, response) {
12767
12767
  var validateStatus = response.config.validateStatus;
12768
12768
  if (!response.status || !validateStatus || validateStatus(response.status)) {
12769
- resolve3(response);
12769
+ resolve4(response);
12770
12770
  } else {
12771
12771
  reject(createError(
12772
12772
  "Request failed with status code " + response.status,
@@ -14173,7 +14173,7 @@ var require_http = __commonJS({
14173
14173
  }
14174
14174
  module2.exports = function httpAdapter(config) {
14175
14175
  return new Promise(function dispatchHttpRequest(resolvePromise, rejectPromise) {
14176
- var resolve3 = function resolve4(value2) {
14176
+ var resolve4 = function resolve5(value2) {
14177
14177
  resolvePromise(value2);
14178
14178
  };
14179
14179
  var reject = function reject2(value2) {
@@ -14321,7 +14321,7 @@ var require_http = __commonJS({
14321
14321
  };
14322
14322
  if (config.responseType === "stream") {
14323
14323
  response.data = stream;
14324
- settle(resolve3, reject, response);
14324
+ settle(resolve4, reject, response);
14325
14325
  } else {
14326
14326
  var responseBuffer = [];
14327
14327
  var totalResponseBytes = 0;
@@ -14351,7 +14351,7 @@ var require_http = __commonJS({
14351
14351
  }
14352
14352
  }
14353
14353
  response.data = responseData;
14354
- settle(resolve3, reject, response);
14354
+ settle(resolve4, reject, response);
14355
14355
  });
14356
14356
  }
14357
14357
  });
@@ -14618,7 +14618,7 @@ var require_xhr = __commonJS({
14618
14618
  var isURLSameOrigin = require_isURLSameOrigin();
14619
14619
  var createError = require_createError();
14620
14620
  module2.exports = function xhrAdapter(config) {
14621
- return new Promise(function dispatchXhrRequest(resolve3, reject) {
14621
+ return new Promise(function dispatchXhrRequest(resolve4, reject) {
14622
14622
  var requestData = config.data;
14623
14623
  var requestHeaders = config.headers;
14624
14624
  var responseType = config.responseType;
@@ -14648,7 +14648,7 @@ var require_xhr = __commonJS({
14648
14648
  config,
14649
14649
  request
14650
14650
  };
14651
- settle(resolve3, reject, response);
14651
+ settle(resolve4, reject, response);
14652
14652
  request = null;
14653
14653
  }
14654
14654
  if ("onloadend" in request) {
@@ -15236,8 +15236,8 @@ var require_CancelToken = __commonJS({
15236
15236
  throw new TypeError("executor must be a function.");
15237
15237
  }
15238
15238
  var resolvePromise;
15239
- this.promise = new Promise(function promiseExecutor(resolve3) {
15240
- resolvePromise = resolve3;
15239
+ this.promise = new Promise(function promiseExecutor(resolve4) {
15240
+ resolvePromise = resolve4;
15241
15241
  });
15242
15242
  var token2 = this;
15243
15243
  executor(function cancel(message) {
@@ -53985,7 +53985,7 @@ ${rootStack}`;
53985
53985
  }
53986
53986
  url.path = path5;
53987
53987
  }
53988
- function resolve3(input, base) {
53988
+ function resolve4(input, base) {
53989
53989
  if (!input && !base)
53990
53990
  return "";
53991
53991
  const url = parseUrl(input);
@@ -54038,7 +54038,7 @@ ${rootStack}`;
54038
54038
  return url.scheme + "//" + url.user + url.host + url.port + url.path + queryHash;
54039
54039
  }
54040
54040
  }
54041
- return resolve3;
54041
+ return resolve4;
54042
54042
  });
54043
54043
  }
54044
54044
  });
@@ -54049,7 +54049,7 @@ ${rootStack}`;
54049
54049
  typeof exports2 === "object" && typeof module22 !== "undefined" ? factory(exports2, require_sourcemap_codec_umd(), require_resolve_uri_umd()) : typeof define === "function" && define.amd ? define(["exports", "@jridgewell/sourcemap-codec", "@jridgewell/resolve-uri"], factory) : (global2 = typeof globalThis !== "undefined" ? globalThis : global2 || self, factory(global2.traceMapping = {}, global2.sourcemapCodec, global2.resolveURI));
54050
54050
  })(exports2, function(exports3, sourcemapCodec, resolveUri) {
54051
54051
  "use strict";
54052
- function resolve3(input, base) {
54052
+ function resolve4(input, base) {
54053
54053
  if (base && !base.endsWith("/"))
54054
54054
  base += "/";
54055
54055
  return resolveUri(input, base);
@@ -54301,8 +54301,8 @@ ${rootStack}`;
54301
54301
  this.sources = sources;
54302
54302
  this.sourcesContent = sourcesContent;
54303
54303
  this.ignoreList = parsed.ignoreList || parsed.x_google_ignoreList || void 0;
54304
- const from = resolve3(sourceRoot || "", stripFilename(mapUrl));
54305
- this.resolvedSources = sources.map((s2) => resolve3(s2 || "", from));
54304
+ const from = resolve4(sourceRoot || "", stripFilename(mapUrl));
54305
+ this.resolvedSources = sources.map((s2) => resolve4(s2 || "", from));
54306
54306
  const { mappings } = parsed;
54307
54307
  if (typeof mappings === "string") {
54308
54308
  this._encoded = mappings;
@@ -62699,7 +62699,7 @@ ${" ".repeat(indentSize)}`);
62699
62699
  exports2.isStatic = isStatic;
62700
62700
  exports2.matchesPattern = matchesPattern;
62701
62701
  exports2.referencesImport = referencesImport;
62702
- exports2.resolve = resolve3;
62702
+ exports2.resolve = resolve4;
62703
62703
  exports2.willIMaybeExecuteBefore = willIMaybeExecuteBefore;
62704
62704
  var _t = require_lib3();
62705
62705
  var {
@@ -62961,7 +62961,7 @@ ${" ".repeat(indentSize)}`);
62961
62961
  nodeMap.set(target.node, result);
62962
62962
  return result;
62963
62963
  }
62964
- function resolve3(dangerous, resolved) {
62964
+ function resolve4(dangerous, resolved) {
62965
62965
  return _resolve.call(this, dangerous, resolved) || this;
62966
62966
  }
62967
62967
  function _resolve(dangerous, resolved) {
@@ -67601,10 +67601,10 @@ ${" ".repeat(indentSize)}`);
67601
67601
  const items = Array.from(args[0]);
67602
67602
  return items.map((item) => evaluateSync(item));
67603
67603
  },
67604
- async: function(args, resolve3, reject) {
67604
+ async: function(args, resolve4, reject) {
67605
67605
  const items = Array.from(args[0]);
67606
67606
  if (items.length === 0) {
67607
- Promise.resolve().then(() => resolve3([]));
67607
+ Promise.resolve().then(() => resolve4([]));
67608
67608
  return;
67609
67609
  }
67610
67610
  let count = 0;
@@ -67615,7 +67615,7 @@ ${" ".repeat(indentSize)}`);
67615
67615
  (val) => {
67616
67616
  results[i2] = val;
67617
67617
  count += 1;
67618
- if (count === results.length) resolve3(results);
67618
+ if (count === results.length) resolve4(results);
67619
67619
  },
67620
67620
  reject
67621
67621
  );
@@ -67632,13 +67632,13 @@ ${" ".repeat(indentSize)}`);
67632
67632
  }
67633
67633
  return evaluateSync(items[0]);
67634
67634
  },
67635
- async: function(args, resolve3, reject) {
67635
+ async: function(args, resolve4, reject) {
67636
67636
  const items = Array.from(args[0]);
67637
67637
  if (items.length === 0) {
67638
67638
  throw makeError("Must race at least 1 item", GENSYNC_RACE_NONEMPTY);
67639
67639
  }
67640
67640
  for (const item of items) {
67641
- evaluateAsync(item, resolve3, reject);
67641
+ evaluateAsync(item, resolve4, reject);
67642
67642
  }
67643
67643
  }
67644
67644
  })
@@ -67650,8 +67650,8 @@ ${" ".repeat(indentSize)}`);
67650
67650
  return evaluateSync(genFn.apply(this, args));
67651
67651
  },
67652
67652
  async: function(...args) {
67653
- return new Promise((resolve3, reject) => {
67654
- evaluateAsync(genFn.apply(this, args), resolve3, reject);
67653
+ return new Promise((resolve4, reject) => {
67654
+ evaluateAsync(genFn.apply(this, args), resolve4, reject);
67655
67655
  });
67656
67656
  },
67657
67657
  errback: function(...args) {
@@ -67749,16 +67749,16 @@ ${" ".repeat(indentSize)}`);
67749
67749
  sync: function(args) {
67750
67750
  return sync.apply(this, args);
67751
67751
  },
67752
- async: function(args, resolve3, reject) {
67752
+ async: function(args, resolve4, reject) {
67753
67753
  if (async) {
67754
- async.apply(this, args).then(resolve3, reject);
67754
+ async.apply(this, args).then(resolve4, reject);
67755
67755
  } else if (errback) {
67756
67756
  errback.call(this, ...args, (err, value2) => {
67757
- if (err == null) resolve3(value2);
67757
+ if (err == null) resolve4(value2);
67758
67758
  else reject(err);
67759
67759
  });
67760
67760
  } else {
67761
- resolve3(sync.apply(this, args));
67761
+ resolve4(sync.apply(this, args));
67762
67762
  }
67763
67763
  }
67764
67764
  });
@@ -67809,7 +67809,7 @@ ${" ".repeat(indentSize)}`);
67809
67809
  }
67810
67810
  return value2;
67811
67811
  }
67812
- function evaluateAsync(gen, resolve3, reject) {
67812
+ function evaluateAsync(gen, resolve4, reject) {
67813
67813
  (function step() {
67814
67814
  try {
67815
67815
  let value2;
@@ -67830,7 +67830,7 @@ ${" ".repeat(indentSize)}`);
67830
67830
  return;
67831
67831
  }
67832
67832
  }
67833
- return resolve3(value2);
67833
+ return resolve4(value2);
67834
67834
  } catch (err) {
67835
67835
  return reject(err);
67836
67836
  }
@@ -68288,8 +68288,8 @@ ${" ".repeat(indentSize)}`);
68288
68288
  this.released = false;
68289
68289
  this.promise = void 0;
68290
68290
  this._resolve = void 0;
68291
- this.promise = new Promise((resolve3) => {
68292
- this._resolve = resolve3;
68291
+ this.promise = new Promise((resolve4) => {
68292
+ this._resolve = resolve4;
68293
68293
  });
68294
68294
  }
68295
68295
  release(value2) {
@@ -69821,9 +69821,9 @@ ${" ".repeat(indentSize)}`);
69821
69821
  };
69822
69822
  }
69823
69823
  } else {
69824
- let resolve3, reject;
69824
+ let resolve4, reject;
69825
69825
  resultP = new Promise((res, rej) => {
69826
- resolve3 = res;
69826
+ resolve4 = res;
69827
69827
  reject = rej;
69828
69828
  });
69829
69829
  try {
@@ -69832,7 +69832,7 @@ ${" ".repeat(indentSize)}`);
69832
69832
  value: yield* fn()
69833
69833
  };
69834
69834
  resultP = null;
69835
- if (promiseReferenced) resolve3(result.value);
69835
+ if (promiseReferenced) resolve4(result.value);
69836
69836
  } catch (error) {
69837
69837
  result = {
69838
69838
  ok: false,
@@ -70967,7 +70967,7 @@ ${" ".repeat(indentSize)}`);
70967
70967
  function isSupported(flags, withPartial) {
70968
70968
  return typeof flags === "string" && (flags.indexOf("y") >= 0 || withPartial && flags.indexOf("a") >= 0);
70969
70969
  }
70970
- function resolve3(queries, context) {
70970
+ function resolve4(queries, context) {
70971
70971
  return parse32(QUERIES, queries).reduce(function(result, node, index) {
70972
70972
  if (node.not && index === 0) {
70973
70973
  throw new BrowserslistError(
@@ -71054,7 +71054,7 @@ ${" ".repeat(indentSize)}`);
71054
71054
  }
71055
71055
  var cacheKey = JSON.stringify([queries, context]);
71056
71056
  if (cache3[cacheKey]) return cache3[cacheKey];
71057
- var result = uniq(resolve3(queries, context)).sort(function(name1, name2) {
71057
+ var result = uniq(resolve4(queries, context)).sort(function(name1, name2) {
71058
71058
  name1 = name1.split(" ");
71059
71059
  name2 = name2.split(" ");
71060
71060
  if (name1[0] === name2[0]) {
@@ -71651,7 +71651,7 @@ ${" ".repeat(indentSize)}`);
71651
71651
  matches: [],
71652
71652
  regexp: /^current\s+node$/i,
71653
71653
  select: function(context) {
71654
- return [env2.currentNode(resolve3, context)];
71654
+ return [env2.currentNode(resolve4, context)];
71655
71655
  }
71656
71656
  },
71657
71657
  maintained_node: {
@@ -71664,7 +71664,7 @@ ${" ".repeat(indentSize)}`);
71664
71664
  }).map(function(key2) {
71665
71665
  return "node " + key2.slice(1);
71666
71666
  });
71667
- return resolve3(queries, context);
71667
+ return resolve4(queries, context);
71668
71668
  }
71669
71669
  },
71670
71670
  phantomjs_1_9: {
@@ -71722,14 +71722,14 @@ ${" ".repeat(indentSize)}`);
71722
71722
  matches: ["config"],
71723
71723
  regexp: /^extends (.+)$/i,
71724
71724
  select: function(context, node) {
71725
- return resolve3(env2.loadQueries(context, node.config), context);
71725
+ return resolve4(env2.loadQueries(context, node.config), context);
71726
71726
  }
71727
71727
  },
71728
71728
  defaults: {
71729
71729
  matches: [],
71730
71730
  regexp: /^defaults$/i,
71731
71731
  select: function(context) {
71732
- return resolve3(browserslist.defaults, context);
71732
+ return resolve4(browserslist.defaults, context);
71733
71733
  }
71734
71734
  },
71735
71735
  dead: {
@@ -71744,7 +71744,7 @@ ${" ".repeat(indentSize)}`);
71744
71744
  "op_mob <= 12.1",
71745
71745
  "samsung 4"
71746
71746
  ];
71747
- return resolve3(dead, context);
71747
+ return resolve4(dead, context);
71748
71748
  }
71749
71749
  },
71750
71750
  unknown: {
@@ -85460,7 +85460,7 @@ module.exports = function(api) {
85460
85460
  value: true
85461
85461
  });
85462
85462
  exports2.moduleResolve = moduleResolve;
85463
- exports2.resolve = resolve3;
85463
+ exports2.resolve = resolve4;
85464
85464
  function _assert() {
85465
85465
  const data = __require("assert");
85466
85466
  _assert = function() {
@@ -86503,7 +86503,7 @@ Default "index" lookups for the main are deprecated for ES modules.`, "Deprecati
86503
86503
  })
86504
86504
  };
86505
86505
  }
86506
- function resolve3(specifier, parent) {
86506
+ function resolve4(specifier, parent) {
86507
86507
  if (!parent) {
86508
86508
  throw new Error("Please pass `parent`: `import-meta-resolve` cannot ponyfill that");
86509
86509
  }
@@ -87828,7 +87828,7 @@ It seems like none of the "@sentry/cli" package's optional dependencies got inst
87828
87828
  ]);
87829
87829
  args = [...headers, ...args];
87830
87830
  }
87831
- return new Promise((resolve3, reject) => {
87831
+ return new Promise((resolve4, reject) => {
87832
87832
  if (live === true) {
87833
87833
  const output = silent ? "ignore" : "inherit";
87834
87834
  const pid = childProcess2.spawn(getPath3(), args, {
@@ -87837,14 +87837,14 @@ It seems like none of the "@sentry/cli" package's optional dependencies got inst
87837
87837
  stdio: ["ignore", output, output]
87838
87838
  });
87839
87839
  pid.on("exit", () => {
87840
- resolve3();
87840
+ resolve4();
87841
87841
  });
87842
87842
  } else {
87843
87843
  childProcess2.execFile(getPath3(), args, { env: env2 }, (err, stdout) => {
87844
87844
  if (err) {
87845
87845
  reject(err);
87846
87846
  } else {
87847
- resolve3(stdout);
87847
+ resolve4(stdout);
87848
87848
  }
87849
87849
  });
87850
87850
  }
@@ -91936,10 +91936,10 @@ It seems like none of the "@sentry/cli" package's optional dependencies got inst
91936
91936
  * Return a void Promise that resolves once the stream ends.
91937
91937
  */
91938
91938
  async promise() {
91939
- return new Promise((resolve3, reject) => {
91939
+ return new Promise((resolve4, reject) => {
91940
91940
  this.on(DESTROYED, () => reject(new Error("stream destroyed")));
91941
91941
  this.on("error", (er) => reject(er));
91942
- this.on("end", () => resolve3());
91942
+ this.on("end", () => resolve4());
91943
91943
  });
91944
91944
  }
91945
91945
  /**
@@ -91963,7 +91963,7 @@ It seems like none of the "@sentry/cli" package's optional dependencies got inst
91963
91963
  return Promise.resolve({ done: false, value: res });
91964
91964
  if (this[EOF])
91965
91965
  return stop();
91966
- let resolve3;
91966
+ let resolve4;
91967
91967
  let reject;
91968
91968
  const onerr = (er) => {
91969
91969
  this.off("data", ondata);
@@ -91977,19 +91977,19 @@ It seems like none of the "@sentry/cli" package's optional dependencies got inst
91977
91977
  this.off("end", onend);
91978
91978
  this.off(DESTROYED, ondestroy);
91979
91979
  this.pause();
91980
- resolve3({ value: value2, done: !!this[EOF] });
91980
+ resolve4({ value: value2, done: !!this[EOF] });
91981
91981
  };
91982
91982
  const onend = () => {
91983
91983
  this.off("error", onerr);
91984
91984
  this.off("data", ondata);
91985
91985
  this.off(DESTROYED, ondestroy);
91986
91986
  stop();
91987
- resolve3({ done: true, value: void 0 });
91987
+ resolve4({ done: true, value: void 0 });
91988
91988
  };
91989
91989
  const ondestroy = () => onerr(new Error("stream destroyed"));
91990
91990
  return new Promise((res2, rej) => {
91991
91991
  reject = rej;
91992
- resolve3 = res2;
91992
+ resolve4 = res2;
91993
91993
  this.once(DESTROYED, ondestroy);
91994
91994
  this.once("error", onerr);
91995
91995
  this.once("end", onend);
@@ -92999,9 +92999,9 @@ It seems like none of the "@sentry/cli" package's optional dependencies got inst
92999
92999
  if (this.#asyncReaddirInFlight) {
93000
93000
  await this.#asyncReaddirInFlight;
93001
93001
  } else {
93002
- let resolve3 = () => {
93002
+ let resolve4 = () => {
93003
93003
  };
93004
- this.#asyncReaddirInFlight = new Promise((res) => resolve3 = res);
93004
+ this.#asyncReaddirInFlight = new Promise((res) => resolve4 = res);
93005
93005
  try {
93006
93006
  for (const e2 of await this.#fs.promises.readdir(fullpath, {
93007
93007
  withFileTypes: true
@@ -93014,7 +93014,7 @@ It seems like none of the "@sentry/cli" package's optional dependencies got inst
93014
93014
  children.provisional = 0;
93015
93015
  }
93016
93016
  this.#asyncReaddirInFlight = void 0;
93017
- resolve3();
93017
+ resolve4();
93018
93018
  }
93019
93019
  return children.slice(0, children.provisional);
93020
93020
  }
@@ -94456,10 +94456,10 @@ It seems like none of the "@sentry/cli" package's optional dependencies got inst
94456
94456
  }
94457
94457
  // stream.promise().then(() => done, er => emitted error)
94458
94458
  promise() {
94459
- return new Promise((resolve3, reject) => {
94459
+ return new Promise((resolve4, reject) => {
94460
94460
  this.on(DESTROYED, () => reject(new Error("stream destroyed")));
94461
94461
  this.on("error", (er) => reject(er));
94462
- this.on("end", () => resolve3());
94462
+ this.on("end", () => resolve4());
94463
94463
  });
94464
94464
  }
94465
94465
  // for await (let chunk of stream)
@@ -94475,7 +94475,7 @@ It seems like none of the "@sentry/cli" package's optional dependencies got inst
94475
94475
  const res = this.read();
94476
94476
  if (res !== null) return Promise.resolve({ done: false, value: res });
94477
94477
  if (this[EOF]) return stop();
94478
- let resolve3 = null;
94478
+ let resolve4 = null;
94479
94479
  let reject = null;
94480
94480
  const onerr = (er) => {
94481
94481
  this.removeListener("data", ondata);
@@ -94489,19 +94489,19 @@ It seems like none of the "@sentry/cli" package's optional dependencies got inst
94489
94489
  this.removeListener("end", onend);
94490
94490
  this.removeListener(DESTROYED, ondestroy);
94491
94491
  this.pause();
94492
- resolve3({ value: value2, done: !!this[EOF] });
94492
+ resolve4({ value: value2, done: !!this[EOF] });
94493
94493
  };
94494
94494
  const onend = () => {
94495
94495
  this.removeListener("error", onerr);
94496
94496
  this.removeListener("data", ondata);
94497
94497
  this.removeListener(DESTROYED, ondestroy);
94498
94498
  stop();
94499
- resolve3({ done: true });
94499
+ resolve4({ done: true });
94500
94500
  };
94501
94501
  const ondestroy = () => onerr(new Error("stream destroyed"));
94502
94502
  return new Promise((res2, rej) => {
94503
94503
  reject = rej;
94504
- resolve3 = res2;
94504
+ resolve4 = res2;
94505
94505
  this.once(DESTROYED, ondestroy);
94506
94506
  this.once("error", onerr);
94507
94507
  this.once("end", onend);
@@ -98408,9 +98408,9 @@ It seems like none of the "@sentry/cli" package's optional dependencies got inst
98408
98408
  return new ReaddirpStream(options);
98409
98409
  };
98410
98410
  var readdirpPromise = (root2, options = {}) => {
98411
- return new Promise((resolve3, reject) => {
98411
+ return new Promise((resolve4, reject) => {
98412
98412
  const files = [];
98413
- readdirp(root2, options).on("data", (entry) => files.push(entry)).on("end", () => resolve3(files)).on("error", (error) => reject(error));
98413
+ readdirp(root2, options).on("data", (entry) => files.push(entry)).on("end", () => resolve4(files)).on("error", (error) => reject(error));
98414
98414
  });
98415
98415
  };
98416
98416
  readdirp.promise = readdirpPromise;
@@ -101951,13 +101951,13 @@ It seems like none of the "@sentry/cli" package's optional dependencies got inst
101951
101951
  }
101952
101952
  }).on(EV_ERROR, this._boundHandleError);
101953
101953
  return new Promise(
101954
- (resolve3) => stream.once(STR_END, () => {
101954
+ (resolve4) => stream.once(STR_END, () => {
101955
101955
  if (this.fsw.closed) {
101956
101956
  stream = void 0;
101957
101957
  return;
101958
101958
  }
101959
101959
  const wasThrottled = throttler ? throttler.clear() : false;
101960
- resolve3();
101960
+ resolve4();
101961
101961
  previous.getChildren().filter((item) => {
101962
101962
  return item !== directory && !current.has(item) && // in case of intersecting globs;
101963
101963
  // a path may have been filtered out of this readdir, but
@@ -111987,7 +111987,7 @@ It seems like none of the "@sentry/cli" package's optional dependencies got inst
111987
111987
  }
111988
111988
  url.path = path22;
111989
111989
  }
111990
- function resolve3(input, base) {
111990
+ function resolve4(input, base) {
111991
111991
  if (!input && !base)
111992
111992
  return "";
111993
111993
  const url = parseUrl(input);
@@ -112016,7 +112016,7 @@ It seems like none of the "@sentry/cli" package's optional dependencies got inst
112016
112016
  function resolve22(input, base) {
112017
112017
  if (base && !base.endsWith("/"))
112018
112018
  base += "/";
112019
- return resolve3(input, base);
112019
+ return resolve4(input, base);
112020
112020
  }
112021
112021
  function stripFilename(path22) {
112022
112022
  if (!path22)
@@ -113550,18 +113550,18 @@ Did you specify these with the most recent transformation maps first?`);
113550
113550
  queue.dequeue()();
113551
113551
  }
113552
113552
  };
113553
- const run = async (fn, resolve3, ...args) => {
113553
+ const run = async (fn, resolve4, ...args) => {
113554
113554
  activeCount++;
113555
113555
  const result = (async () => fn(...args))();
113556
- resolve3(result);
113556
+ resolve4(result);
113557
113557
  try {
113558
113558
  await result;
113559
113559
  } catch {
113560
113560
  }
113561
113561
  next();
113562
113562
  };
113563
- const enqueue = (fn, resolve3, ...args) => {
113564
- queue.enqueue(run.bind(null, fn, resolve3, ...args));
113563
+ const enqueue = (fn, resolve4, ...args) => {
113564
+ queue.enqueue(run.bind(null, fn, resolve4, ...args));
113565
113565
  (async () => {
113566
113566
  await Promise.resolve();
113567
113567
  if (activeCount < concurrency && queue.size > 0) {
@@ -113569,8 +113569,8 @@ Did you specify these with the most recent transformation maps first?`);
113569
113569
  }
113570
113570
  })();
113571
113571
  };
113572
- const generator = (fn, ...args) => new Promise((resolve3) => {
113573
- enqueue(fn, resolve3, ...args);
113572
+ const generator = (fn, ...args) => new Promise((resolve4) => {
113573
+ enqueue(fn, resolve4, ...args);
113574
113574
  });
113575
113575
  Object.defineProperties(generator, {
113576
113576
  activeCount: {
@@ -113923,18 +113923,18 @@ Did you specify these with the most recent transformation maps first?`);
113923
113923
  });
113924
113924
  }
113925
113925
  function AsyncIterator2(generator, PromiseImpl) {
113926
- function invoke(method, arg, resolve3, reject) {
113926
+ function invoke(method, arg, resolve4, reject) {
113927
113927
  var record = tryCatch(generator[method], generator, arg);
113928
113928
  if ("throw" !== record.type) {
113929
113929
  var result = record.arg, value2 = result.value;
113930
113930
  return value2 && "object" == typeof value2 && hasOwn2.call(value2, "__await") ? PromiseImpl.resolve(value2.__await).then(function(value3) {
113931
- invoke("next", value3, resolve3, reject);
113931
+ invoke("next", value3, resolve4, reject);
113932
113932
  }, function(err) {
113933
- invoke("throw", err, resolve3, reject);
113933
+ invoke("throw", err, resolve4, reject);
113934
113934
  }) : PromiseImpl.resolve(value2).then(function(unwrapped) {
113935
- result.value = unwrapped, resolve3(result);
113935
+ result.value = unwrapped, resolve4(result);
113936
113936
  }, function(error) {
113937
- return invoke("throw", error, resolve3, reject);
113937
+ return invoke("throw", error, resolve4, reject);
113938
113938
  });
113939
113939
  }
113940
113940
  reject(record.arg);
@@ -113943,8 +113943,8 @@ Did you specify these with the most recent transformation maps first?`);
113943
113943
  defineProperty(this, "_invoke", {
113944
113944
  value: function(method, arg) {
113945
113945
  function callInvokeWithMethodAndArg() {
113946
- return new PromiseImpl(function(resolve3, reject) {
113947
- invoke(method, arg, resolve3, reject);
113946
+ return new PromiseImpl(function(resolve4, reject) {
113947
+ invoke(method, arg, resolve4, reject);
113948
113948
  });
113949
113949
  }
113950
113950
  return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
@@ -114156,7 +114156,7 @@ Did you specify these with the most recent transformation maps first?`);
114156
114156
  return obj2 && "function" == typeof Symbol && obj2.constructor === Symbol && obj2 !== Symbol.prototype ? "symbol" : typeof obj2;
114157
114157
  }, _typeof(obj);
114158
114158
  }
114159
- function asyncGeneratorStep(gen, resolve3, reject, _next, _throw, key2, arg) {
114159
+ function asyncGeneratorStep(gen, resolve4, reject, _next, _throw, key2, arg) {
114160
114160
  try {
114161
114161
  var info = gen[key2](arg);
114162
114162
  var value2 = info.value;
@@ -114165,7 +114165,7 @@ Did you specify these with the most recent transformation maps first?`);
114165
114165
  return;
114166
114166
  }
114167
114167
  if (info.done) {
114168
- resolve3(value2);
114168
+ resolve4(value2);
114169
114169
  } else {
114170
114170
  Promise.resolve(value2).then(_next, _throw);
114171
114171
  }
@@ -114173,13 +114173,13 @@ Did you specify these with the most recent transformation maps first?`);
114173
114173
  function _asyncToGenerator(fn) {
114174
114174
  return function() {
114175
114175
  var self2 = this, args = arguments;
114176
- return new Promise(function(resolve3, reject) {
114176
+ return new Promise(function(resolve4, reject) {
114177
114177
  var gen = fn.apply(self2, args);
114178
114178
  function _next(value2) {
114179
- asyncGeneratorStep(gen, resolve3, reject, _next, _throw, "next", value2);
114179
+ asyncGeneratorStep(gen, resolve4, reject, _next, _throw, "next", value2);
114180
114180
  }
114181
114181
  function _throw(err) {
114182
- asyncGeneratorStep(gen, resolve3, reject, _next, _throw, "throw", err);
114182
+ asyncGeneratorStep(gen, resolve4, reject, _next, _throw, "throw", err);
114183
114183
  }
114184
114184
  _next(void 0);
114185
114185
  });
@@ -115029,8 +115029,8 @@ Error:`,
115029
115029
  States2[States2["REJECTED"] = REJECTED] = "REJECTED";
115030
115030
  })(States || (States = {}));
115031
115031
  function resolvedSyncPromise(value2) {
115032
- return new SyncPromise((resolve3) => {
115033
- resolve3(value2);
115032
+ return new SyncPromise((resolve4) => {
115033
+ resolve4(value2);
115034
115034
  });
115035
115035
  }
115036
115036
  function rejectedSyncPromise(reason) {
@@ -115054,15 +115054,15 @@ Error:`,
115054
115054
  }
115055
115055
  /** JSDoc */
115056
115056
  then(onfulfilled, onrejected) {
115057
- return new _SyncPromise((resolve3, reject) => {
115057
+ return new _SyncPromise((resolve4, reject) => {
115058
115058
  this._handlers.push([
115059
115059
  false,
115060
115060
  (result) => {
115061
115061
  if (!onfulfilled) {
115062
- resolve3(result);
115062
+ resolve4(result);
115063
115063
  } else {
115064
115064
  try {
115065
- resolve3(onfulfilled(result));
115065
+ resolve4(onfulfilled(result));
115066
115066
  } catch (e2) {
115067
115067
  reject(e2);
115068
115068
  }
@@ -115073,7 +115073,7 @@ Error:`,
115073
115073
  reject(reason);
115074
115074
  } else {
115075
115075
  try {
115076
- resolve3(onrejected(reason));
115076
+ resolve4(onrejected(reason));
115077
115077
  } catch (e2) {
115078
115078
  reject(e2);
115079
115079
  }
@@ -115089,7 +115089,7 @@ Error:`,
115089
115089
  }
115090
115090
  /** JSDoc */
115091
115091
  finally(onfinally) {
115092
- return new _SyncPromise((resolve3, reject) => {
115092
+ return new _SyncPromise((resolve4, reject) => {
115093
115093
  let val;
115094
115094
  let isRejected;
115095
115095
  return this.then(
@@ -115112,7 +115112,7 @@ Error:`,
115112
115112
  reject(val);
115113
115113
  return;
115114
115114
  }
115115
- resolve3(val);
115115
+ resolve4(val);
115116
115116
  });
115117
115117
  });
115118
115118
  }
@@ -115190,21 +115190,21 @@ Error:`,
115190
115190
  return task;
115191
115191
  }
115192
115192
  function drain(timeout) {
115193
- return new SyncPromise((resolve3, reject) => {
115193
+ return new SyncPromise((resolve4, reject) => {
115194
115194
  let counter = buffer2.length;
115195
115195
  if (!counter) {
115196
- return resolve3(true);
115196
+ return resolve4(true);
115197
115197
  }
115198
115198
  const capturedSetTimeout = setTimeout(() => {
115199
115199
  if (timeout && timeout > 0) {
115200
- resolve3(false);
115200
+ resolve4(false);
115201
115201
  }
115202
115202
  }, timeout);
115203
115203
  buffer2.forEach((item) => {
115204
115204
  void resolvedSyncPromise(item).then(() => {
115205
115205
  if (!--counter) {
115206
115206
  clearTimeout(capturedSetTimeout);
115207
- resolve3(true);
115207
+ resolve4(true);
115208
115208
  }
115209
115209
  }, reject);
115210
115210
  });
@@ -117401,17 +117401,17 @@ ${JSON.stringify(itemHeaders)}
117401
117401
  } : (callback) => callback();
117402
117402
  }
117403
117403
  function notifyEventProcessors(processors, event, hint, index = 0) {
117404
- return new SyncPromise((resolve3, reject) => {
117404
+ return new SyncPromise((resolve4, reject) => {
117405
117405
  const processor = processors[index];
117406
117406
  if (event === null || typeof processor !== "function") {
117407
- resolve3(event);
117407
+ resolve4(event);
117408
117408
  } else {
117409
117409
  const result = processor({ ...event }, hint);
117410
117410
  DEBUG_BUILD && processor.id && result === null && logger.log(`Event processor "${processor.id}" dropped event`);
117411
117411
  if (isThenable(result)) {
117412
- void result.then((final) => notifyEventProcessors(processors, final, hint, index + 1).then(resolve3)).then(null, reject);
117412
+ void result.then((final) => notifyEventProcessors(processors, final, hint, index + 1).then(resolve4)).then(null, reject);
117413
117413
  } else {
117414
- void notifyEventProcessors(processors, result, hint, index + 1).then(resolve3).then(null, reject);
117414
+ void notifyEventProcessors(processors, result, hint, index + 1).then(resolve4).then(null, reject);
117415
117415
  }
117416
117416
  }
117417
117417
  });
@@ -118188,18 +118188,18 @@ ${JSON.stringify(itemHeaders)}
118188
118188
  * `false` otherwise
118189
118189
  */
118190
118190
  _isClientDoneProcessing(timeout) {
118191
- return new SyncPromise((resolve3) => {
118191
+ return new SyncPromise((resolve4) => {
118192
118192
  let ticked = 0;
118193
118193
  const tick = 1;
118194
118194
  const interval = setInterval(() => {
118195
118195
  if (this._numProcessing == 0) {
118196
118196
  clearInterval(interval);
118197
- resolve3(true);
118197
+ resolve4(true);
118198
118198
  } else {
118199
118199
  ticked += tick;
118200
118200
  if (timeout && ticked >= timeout) {
118201
118201
  clearInterval(interval);
118202
- resolve3(false);
118202
+ resolve4(false);
118203
118203
  }
118204
118204
  }
118205
118205
  }, tick);
@@ -119098,7 +119098,7 @@ Reason: ${reason}`
119098
119098
  function createRequestExecutor(options) {
119099
119099
  var _URL = new URL(options.url), hostname = _URL.hostname, pathname = _URL.pathname, port = _URL.port, protocol = _URL.protocol, search = _URL.search;
119100
119100
  return function makeRequest(request) {
119101
- return new Promise(function(resolve3, reject) {
119101
+ return new Promise(function(resolve4, reject) {
119102
119102
  suppressTracing(function() {
119103
119103
  var body = streamFromBody(request.body);
119104
119104
  var headers = {};
@@ -119122,7 +119122,7 @@ Reason: ${reason}`
119122
119122
  res.setEncoding("utf8");
119123
119123
  var retryAfterHeader = (_res$headers$retryAf = res.headers["retry-after"]) !== null && _res$headers$retryAf !== void 0 ? _res$headers$retryAf : null;
119124
119124
  var rateLimitsHeader = (_res$headers$xSentry = res.headers["x-sentry-rate-limits"]) !== null && _res$headers$xSentry !== void 0 ? _res$headers$xSentry : null;
119125
- resolve3({
119125
+ resolve4({
119126
119126
  statusCode: res.statusCode,
119127
119127
  headers: {
119128
119128
  "retry-after": retryAfterHeader,
@@ -119674,14 +119674,14 @@ Reason: ${reason}`
119674
119674
  };
119675
119675
  }
119676
119676
  function waitUntilBuildArtifactDependenciesAreFreed() {
119677
- return new Promise(function(resolve3) {
119677
+ return new Promise(function(resolve4) {
119678
119678
  buildArtifactsDependencySubscribers.push(function() {
119679
119679
  if (dependenciesOnBuildArtifacts.size === 0) {
119680
- resolve3();
119680
+ resolve4();
119681
119681
  }
119682
119682
  });
119683
119683
  if (dependenciesOnBuildArtifacts.size === 0) {
119684
- resolve3();
119684
+ resolve4();
119685
119685
  }
119686
119686
  });
119687
119687
  }
@@ -129636,41 +129636,41 @@ var require_queue = __commonJS({
129636
129636
  queue.drained = drained;
129637
129637
  return queue;
129638
129638
  function push2(value2) {
129639
- var p = new Promise(function(resolve3, reject) {
129639
+ var p = new Promise(function(resolve4, reject) {
129640
129640
  pushCb(value2, function(err, result) {
129641
129641
  if (err) {
129642
129642
  reject(err);
129643
129643
  return;
129644
129644
  }
129645
- resolve3(result);
129645
+ resolve4(result);
129646
129646
  });
129647
129647
  });
129648
129648
  p.catch(noop7);
129649
129649
  return p;
129650
129650
  }
129651
129651
  function unshift(value2) {
129652
- var p = new Promise(function(resolve3, reject) {
129652
+ var p = new Promise(function(resolve4, reject) {
129653
129653
  unshiftCb(value2, function(err, result) {
129654
129654
  if (err) {
129655
129655
  reject(err);
129656
129656
  return;
129657
129657
  }
129658
- resolve3(result);
129658
+ resolve4(result);
129659
129659
  });
129660
129660
  });
129661
129661
  p.catch(noop7);
129662
129662
  return p;
129663
129663
  }
129664
129664
  function drained() {
129665
- var p = new Promise(function(resolve3) {
129665
+ var p = new Promise(function(resolve4) {
129666
129666
  process.nextTick(function() {
129667
129667
  if (queue.idle()) {
129668
- resolve3();
129668
+ resolve4();
129669
129669
  } else {
129670
129670
  var previousDrain = queue.drain;
129671
129671
  queue.drain = function() {
129672
129672
  if (typeof previousDrain === "function") previousDrain();
129673
- resolve3();
129673
+ resolve4();
129674
129674
  queue.drain = previousDrain;
129675
129675
  };
129676
129676
  }
@@ -130167,9 +130167,9 @@ var require_stream3 = __commonJS({
130167
130167
  });
130168
130168
  }
130169
130169
  _getStat(filepath) {
130170
- return new Promise((resolve3, reject) => {
130170
+ return new Promise((resolve4, reject) => {
130171
130171
  this._stat(filepath, this._fsStatSettings, (error, stats) => {
130172
- return error === null ? resolve3(stats) : reject(error);
130172
+ return error === null ? resolve4(stats) : reject(error);
130173
130173
  });
130174
130174
  });
130175
130175
  }
@@ -130194,10 +130194,10 @@ var require_async5 = __commonJS({
130194
130194
  this._readerStream = new stream_1.default(this._settings);
130195
130195
  }
130196
130196
  dynamic(root, options) {
130197
- return new Promise((resolve3, reject) => {
130197
+ return new Promise((resolve4, reject) => {
130198
130198
  this._walkAsync(root, options, (error, entries) => {
130199
130199
  if (error === null) {
130200
- resolve3(entries);
130200
+ resolve4(entries);
130201
130201
  } else {
130202
130202
  reject(error);
130203
130203
  }
@@ -130207,10 +130207,10 @@ var require_async5 = __commonJS({
130207
130207
  async static(patterns, options) {
130208
130208
  const entries = [];
130209
130209
  const stream = this._readerStream.static(patterns, options);
130210
- return new Promise((resolve3, reject) => {
130210
+ return new Promise((resolve4, reject) => {
130211
130211
  stream.once("error", reject);
130212
130212
  stream.on("data", (entry) => entries.push(entry));
130213
- stream.once("end", () => resolve3(entries));
130213
+ stream.once("end", () => resolve4(entries));
130214
130214
  });
130215
130215
  }
130216
130216
  };
@@ -141732,9 +141732,9 @@ var require_readdirp = __commonJS({
141732
141732
  return new ReaddirpStream(options);
141733
141733
  };
141734
141734
  var readdirpPromise = (root, options = {}) => {
141735
- return new Promise((resolve3, reject) => {
141735
+ return new Promise((resolve4, reject) => {
141736
141736
  const files = [];
141737
- readdirp(root, options).on("data", (entry) => files.push(entry)).on("end", () => resolve3(files)).on("error", (error) => reject(error));
141737
+ readdirp(root, options).on("data", (entry) => files.push(entry)).on("end", () => resolve4(files)).on("error", (error) => reject(error));
141738
141738
  });
141739
141739
  };
141740
141740
  readdirp.promise = readdirpPromise;
@@ -142559,13 +142559,13 @@ var require_nodefs_handler = __commonJS({
142559
142559
  }
142560
142560
  }).on(EV_ERROR, this._boundHandleError);
142561
142561
  return new Promise(
142562
- (resolve3) => stream.once(STR_END, () => {
142562
+ (resolve4) => stream.once(STR_END, () => {
142563
142563
  if (this.fsw.closed) {
142564
142564
  stream = void 0;
142565
142565
  return;
142566
142566
  }
142567
142567
  const wasThrottled = throttler ? throttler.clear() : false;
142568
- resolve3();
142568
+ resolve4();
142569
142569
  previous.getChildren().filter((item) => {
142570
142570
  return item !== directory && !current.has(item) && // in case of intersecting globs;
142571
142571
  // a path may have been filtered out of this readdir, but
@@ -143832,7 +143832,7 @@ var require_chokidar = __commonJS({
143832
143832
  var package_default = {
143833
143833
  name: "@wix/cli-app",
143834
143834
  description: "CLI tool for Wix apps",
143835
- version: "1.1.101",
143835
+ version: "1.1.103",
143836
143836
  author: "Amit Dahan",
143837
143837
  dependencies: {
143838
143838
  esbuild: "^0.25.0",
@@ -143850,10 +143850,10 @@ var package_default = {
143850
143850
  "@wix/ambassador-cli-site-override-service-v1-site-override": "^1.0.10",
143851
143851
  "@wix/ambassador-ctp-app-cloud-backend-service-v1-app-cloud-backend-deployment": "^1.0.12",
143852
143852
  "@wix/ambassador-ctp-gradual-rollout-v1-app-config": "^1.0.79",
143853
- "@wix/ambassador-devcenter-apps-v1-app-old": "^1.0.47",
143853
+ "@wix/ambassador-devcenter-apps-v1-app-old": "^1.0.56",
143854
143854
  "@wix/app-cloud-uploader": "^1.18.0",
143855
143855
  "@wix/arm-client": "workspace:*",
143856
- "@wix/bi-logger-dev-tools-data": "^1.112.0",
143856
+ "@wix/bi-logger-dev-tools-data": "^1.114.0",
143857
143857
  "@wix/cli-app-definitions": "workspace:*",
143858
143858
  "@wix/cli-app-manifest": "workspace:*",
143859
143859
  "@wix/cli-app-platform-sdk": "workspace:*",
@@ -144132,6 +144132,7 @@ var CliSystemErrorCode = (0, import_variant.variant)({
144132
144132
  FailedCreatingAppProject: {},
144133
144133
  FailedCreatingAppDeployment: {},
144134
144134
  FailedFinalizingAppDeployment: {},
144135
+ FailedCreatingNewFunnelProject: {},
144135
144136
  FailedToFindAstroConfig: {}
144136
144137
  });
144137
144138
  var CliUserErrorCode = (0, import_variant.variant)({
@@ -144244,7 +144245,8 @@ var CliUserErrorCode = (0, import_variant.variant)({
144244
144245
  FailedToSyncVeloCLIServerDocumentUpdate: {},
144245
144246
  AppReleaseConfigViolations: (0, import_variant.fields)(),
144246
144247
  ProjectIsAlreadyLinked: {},
144247
- ProjectIsNotLinkable: {}
144248
+ ProjectIsNotLinkable: {},
144249
+ MissingPresetCssForSiteComponent: (0, import_variant.fields)()
144248
144250
  });
144249
144251
  var CliErrorCode = (0, import_variant.variant)({
144250
144252
  ...CliSystemErrorCode,
@@ -152886,8 +152888,8 @@ var Ink = class {
152886
152888
  }
152887
152889
  async waitUntilExit() {
152888
152890
  if (!this.exitPromise) {
152889
- this.exitPromise = new Promise((resolve3, reject) => {
152890
- this.resolveExitPromise = resolve3;
152891
+ this.exitPromise = new Promise((resolve4, reject) => {
152892
+ this.resolveExitPromise = resolve4;
152891
152893
  this.rejectExitPromise = reject;
152892
152894
  });
152893
152895
  }
@@ -156087,11 +156089,11 @@ var useTranslation = (ns, props = {}) => {
156087
156089
  ret.ready = ready;
156088
156090
  if (ready) return ret;
156089
156091
  if (!ready && !useSuspense) return ret;
156090
- throw new Promise((resolve3) => {
156092
+ throw new Promise((resolve4) => {
156091
156093
  if (props.lng) {
156092
- loadLanguages(i18n, props.lng, namespaces, () => resolve3());
156094
+ loadLanguages(i18n, props.lng, namespaces, () => resolve4());
156093
156095
  } else {
156094
- loadNamespaces(i18n, namespaces, () => resolve3());
156096
+ loadNamespaces(i18n, namespaces, () => resolve4());
156095
156097
  }
156096
156098
  });
156097
156099
  };
@@ -159682,8 +159684,8 @@ var isString2 = (obj) => typeof obj === "string";
159682
159684
  var defer = () => {
159683
159685
  let res;
159684
159686
  let rej;
159685
- const promise = new Promise((resolve3, reject) => {
159686
- res = resolve3;
159687
+ const promise = new Promise((resolve4, reject) => {
159688
+ res = resolve4;
159687
159689
  rej = reject;
159688
159690
  });
159689
159691
  promise.resolve = res;
@@ -163603,6 +163605,9 @@ ${errorMessage}`
163603
163605
  FailedFinalizingAppDeployment: () => {
163604
163606
  return () => /* @__PURE__ */ import_react79.default.createElement(SystemErrorMessage, { message: "An error occoured while completing app deployment." });
163605
163607
  },
163608
+ FailedCreatingNewFunnelProject: () => {
163609
+ return () => /* @__PURE__ */ import_react79.default.createElement(SystemErrorMessage, { message: "An error occurred while creating a new business." });
163610
+ },
163606
163611
  BuildOutputMissing: ({ reason }) => {
163607
163612
  return () => /* @__PURE__ */ import_react79.default.createElement(
163608
163613
  ErrorMessage,
@@ -163631,6 +163636,14 @@ ${errorMessage}`
163631
163636
  },
163632
163637
  ProjectIsNotLinkable: () => {
163633
163638
  return () => /* @__PURE__ */ import_react79.default.createElement(ErrorMessage, { message: "Only Astro projects can be linked to Wix. The current project is missing an Astro configuration file." });
163639
+ },
163640
+ MissingPresetCssForSiteComponent: ({ componentId, presetName }) => {
163641
+ return () => /* @__PURE__ */ import_react79.default.createElement(
163642
+ ErrorMessage,
163643
+ {
163644
+ message: `Site component "${componentId}" is missing preset CSS file for the preset key "${presetName}".`
163645
+ }
163646
+ );
163634
163647
  }
163635
163648
  });
163636
163649
  }
@@ -163734,7 +163747,7 @@ var decorateErrorWithCounts = (error, attemptNumber, options) => {
163734
163747
  return error;
163735
163748
  };
163736
163749
  async function pRetry(input, options) {
163737
- return new Promise((resolve3, reject) => {
163750
+ return new Promise((resolve4, reject) => {
163738
163751
  options = { ...options };
163739
163752
  options.onFailedAttempt ??= () => {
163740
163753
  };
@@ -163756,7 +163769,7 @@ async function pRetry(input, options) {
163756
163769
  try {
163757
163770
  const result = await input(attemptNumber);
163758
163771
  cleanUp();
163759
- resolve3(result);
163772
+ resolve4(result);
163760
163773
  } catch (error) {
163761
163774
  try {
163762
163775
  if (!(error instanceof Error)) {
@@ -164978,20 +164991,20 @@ function pLimit(concurrency) {
164978
164991
  activeCount--;
164979
164992
  resumeNext();
164980
164993
  };
164981
- const run = async (function_, resolve3, arguments_) => {
164994
+ const run = async (function_, resolve4, arguments_) => {
164982
164995
  const result = (async () => function_(...arguments_))();
164983
- resolve3(result);
164996
+ resolve4(result);
164984
164997
  try {
164985
164998
  await result;
164986
164999
  } catch {
164987
165000
  }
164988
165001
  next();
164989
165002
  };
164990
- const enqueue = (function_, resolve3, arguments_) => {
165003
+ const enqueue = (function_, resolve4, arguments_) => {
164991
165004
  new Promise((internalResolve) => {
164992
165005
  queue.enqueue(internalResolve);
164993
165006
  }).then(
164994
- run.bind(void 0, function_, resolve3, arguments_)
165007
+ run.bind(void 0, function_, resolve4, arguments_)
164995
165008
  );
164996
165009
  (async () => {
164997
165010
  await Promise.resolve();
@@ -165000,8 +165013,8 @@ function pLimit(concurrency) {
165000
165013
  }
165001
165014
  })();
165002
165015
  };
165003
- const generator = (function_, ...arguments_) => new Promise((resolve3) => {
165004
- enqueue(function_, resolve3, arguments_);
165016
+ const generator = (function_, ...arguments_) => new Promise((resolve4) => {
165017
+ enqueue(function_, resolve4, arguments_);
165005
165018
  });
165006
165019
  Object.defineProperties(generator, {
165007
165020
  activeCount: {
@@ -165071,7 +165084,7 @@ function pTimeout(promise, options) {
165071
165084
  } = options;
165072
165085
  let timer;
165073
165086
  let abortHandler;
165074
- const wrappedPromise = new Promise((resolve3, reject) => {
165087
+ const wrappedPromise = new Promise((resolve4, reject) => {
165075
165088
  if (typeof milliseconds !== "number" || Math.sign(milliseconds) !== 1) {
165076
165089
  throw new TypeError(`Expected \`milliseconds\` to be a positive number, got \`${milliseconds}\``);
165077
165090
  }
@@ -165086,14 +165099,14 @@ function pTimeout(promise, options) {
165086
165099
  signal.addEventListener("abort", abortHandler, { once: true });
165087
165100
  }
165088
165101
  if (milliseconds === Number.POSITIVE_INFINITY) {
165089
- promise.then(resolve3, reject);
165102
+ promise.then(resolve4, reject);
165090
165103
  return;
165091
165104
  }
165092
165105
  const timeoutError = new TimeoutError();
165093
165106
  timer = customTimers.setTimeout.call(void 0, () => {
165094
165107
  if (fallback) {
165095
165108
  try {
165096
- resolve3(fallback());
165109
+ resolve4(fallback());
165097
165110
  } catch (error) {
165098
165111
  reject(error);
165099
165112
  }
@@ -165103,7 +165116,7 @@ function pTimeout(promise, options) {
165103
165116
  promise.cancel();
165104
165117
  }
165105
165118
  if (message === false) {
165106
- resolve3();
165119
+ resolve4();
165107
165120
  } else if (message instanceof Error) {
165108
165121
  reject(message);
165109
165122
  } else {
@@ -165113,7 +165126,7 @@ function pTimeout(promise, options) {
165113
165126
  }, milliseconds);
165114
165127
  (async () => {
165115
165128
  try {
165116
- resolve3(await promise);
165129
+ resolve4(await promise);
165117
165130
  } catch (error) {
165118
165131
  reject(error);
165119
165132
  }
@@ -165142,16 +165155,16 @@ async function pWaitFor(condition, options = {}) {
165142
165155
  } = options;
165143
165156
  let retryTimeout;
165144
165157
  let abort = false;
165145
- const promise = new Promise((resolve3, reject) => {
165158
+ const promise = new Promise((resolve4, reject) => {
165146
165159
  const check = async () => {
165147
165160
  try {
165148
165161
  const value2 = await condition();
165149
165162
  if (typeof value2 === "object" && value2[resolveValue]) {
165150
- resolve3(value2[resolveValue]);
165163
+ resolve4(value2[resolveValue]);
165151
165164
  } else if (typeof value2 !== "boolean") {
165152
165165
  throw new TypeError("Expected condition to return a boolean");
165153
165166
  } else if (value2 === true) {
165154
- resolve3();
165167
+ resolve4();
165155
165168
  } else if (!abort) {
165156
165169
  retryTimeout = setTimeout(check, interval);
165157
165170
  }
@@ -165841,14 +165854,14 @@ var baseOpen = async (options) => {
165841
165854
  }
165842
165855
  const subprocess = childProcess.spawn(command, cliArguments, childProcessOptions);
165843
165856
  if (options.wait) {
165844
- return new Promise((resolve3, reject) => {
165857
+ return new Promise((resolve4, reject) => {
165845
165858
  subprocess.once("error", reject);
165846
165859
  subprocess.once("close", (exitCode) => {
165847
165860
  if (!options.allowNonzeroExitCode && exitCode > 0) {
165848
165861
  reject(new Error(`Exited with code ${exitCode}`));
165849
165862
  return;
165850
165863
  }
165851
- resolve3(subprocess);
165864
+ resolve4(subprocess);
165852
165865
  });
165853
165866
  });
165854
165867
  }
@@ -166447,6 +166460,7 @@ var ComponentType;
166447
166460
  ComponentType3["VIEWER_SERVICE"] = "VIEWER_SERVICE";
166448
166461
  ComponentType3["WIX_PAYMENTS_PROVIDER_ACCOUNT_SERVICE_PLUGIN"] = "WIX_PAYMENTS_PROVIDER_ACCOUNT_SERVICE_PLUGIN";
166449
166462
  ComponentType3["CONTACTS_SEGMENTS_V2_FILTER_PROVIDER"] = "CONTACTS_SEGMENTS_V2_FILTER_PROVIDER";
166463
+ ComponentType3["ANALYTICS_PRODUCT_CATALOG"] = "ANALYTICS_PRODUCT_CATALOG";
166450
166464
  })(ComponentType || (ComponentType = {}));
166451
166465
  var WidgetVertical;
166452
166466
  (function(WidgetVertical3) {
@@ -166839,6 +166853,8 @@ var Tag;
166839
166853
  Tag3["ECOM_DELIVERY_PROFILES"] = "ECOM_DELIVERY_PROFILES";
166840
166854
  Tag3["ADD_TO_CATEGORY"] = "ADD_TO_CATEGORY";
166841
166855
  Tag3["MY_BUSINESS"] = "MY_BUSINESS";
166856
+ Tag3["PIPELINE_LINKED_ENTITY"] = "PIPELINE_LINKED_ENTITY";
166857
+ Tag3["GET_PAID"] = "GET_PAID";
166842
166858
  })(Tag || (Tag = {}));
166843
166859
  var FilterSelectionType;
166844
166860
  (function(FilterSelectionType3) {
@@ -167099,6 +167115,43 @@ var FontType;
167099
167115
  FontType3["PX"] = "PX";
167100
167116
  FontType3["EM"] = "EM";
167101
167117
  })(FontType || (FontType = {}));
167118
+ var ImageStylesPosition;
167119
+ (function(ImageStylesPosition3) {
167120
+ ImageStylesPosition3["START"] = "START";
167121
+ ImageStylesPosition3["END"] = "END";
167122
+ ImageStylesPosition3["TOP"] = "TOP";
167123
+ })(ImageStylesPosition || (ImageStylesPosition = {}));
167124
+ var AspectRatio;
167125
+ (function(AspectRatio3) {
167126
+ AspectRatio3["SQUARE"] = "SQUARE";
167127
+ AspectRatio3["RECTANGLE"] = "RECTANGLE";
167128
+ })(AspectRatio || (AspectRatio = {}));
167129
+ var Resizing;
167130
+ (function(Resizing3) {
167131
+ Resizing3["FILL"] = "FILL";
167132
+ Resizing3["FIT"] = "FIT";
167133
+ })(Resizing || (Resizing = {}));
167134
+ var Placement;
167135
+ (function(Placement3) {
167136
+ Placement3["IMAGE"] = "IMAGE";
167137
+ Placement3["PRODUCT_INFO"] = "PRODUCT_INFO";
167138
+ })(Placement || (Placement = {}));
167139
+ var CardStylesType;
167140
+ (function(CardStylesType3) {
167141
+ CardStylesType3["CONTAINED"] = "CONTAINED";
167142
+ CardStylesType3["FRAMELESS"] = "FRAMELESS";
167143
+ })(CardStylesType || (CardStylesType = {}));
167144
+ var CardStylesAlignment;
167145
+ (function(CardStylesAlignment3) {
167146
+ CardStylesAlignment3["START"] = "START";
167147
+ CardStylesAlignment3["CENTER"] = "CENTER";
167148
+ CardStylesAlignment3["END"] = "END";
167149
+ })(CardStylesAlignment || (CardStylesAlignment = {}));
167150
+ var CardStylesLayout;
167151
+ (function(CardStylesLayout3) {
167152
+ CardStylesLayout3["STACKED"] = "STACKED";
167153
+ CardStylesLayout3["SIDE_BY_SIDE"] = "SIDE_BY_SIDE";
167154
+ })(CardStylesLayout || (CardStylesLayout = {}));
167102
167155
  var AppType;
167103
167156
  (function(AppType4) {
167104
167157
  AppType4["PRODUCT"] = "PRODUCT";
@@ -167869,6 +167922,124 @@ var CssDataType;
167869
167922
  CssDataType3["string"] = "string";
167870
167923
  CssDataType3["time"] = "time";
167871
167924
  })(CssDataType || (CssDataType = {}));
167925
+ var StyleType;
167926
+ (function(StyleType3) {
167927
+ StyleType3["UNKNOWN_StyleType"] = "UNKNOWN_StyleType";
167928
+ StyleType3["number"] = "number";
167929
+ StyleType3["string"] = "string";
167930
+ StyleType3["angle"] = "angle";
167931
+ StyleType3["length"] = "length";
167932
+ StyleType3["percentage"] = "percentage";
167933
+ StyleType3["lengthPercentage"] = "lengthPercentage";
167934
+ StyleType3["blendMode"] = "blendMode";
167935
+ StyleType3["customEnum"] = "customEnum";
167936
+ StyleType3["time"] = "time";
167937
+ StyleType3["background"] = "background";
167938
+ StyleType3["backgroundSize"] = "backgroundSize";
167939
+ StyleType3["backgroundColor"] = "backgroundColor";
167940
+ StyleType3["backgroundImage"] = "backgroundImage";
167941
+ StyleType3["backgroundClip"] = "backgroundClip";
167942
+ StyleType3["backgroundOrigin"] = "backgroundOrigin";
167943
+ StyleType3["backgroundPosition"] = "backgroundPosition";
167944
+ StyleType3["backgroundRepeat"] = "backgroundRepeat";
167945
+ StyleType3["backgroundAttachment"] = "backgroundAttachment";
167946
+ StyleType3["margin"] = "margin";
167947
+ StyleType3["marginTop"] = "marginTop";
167948
+ StyleType3["marginRight"] = "marginRight";
167949
+ StyleType3["marginBottom"] = "marginBottom";
167950
+ StyleType3["marginLeft"] = "marginLeft";
167951
+ StyleType3["marginInlineStart"] = "marginInlineStart";
167952
+ StyleType3["marginInlineEnd"] = "marginInlineEnd";
167953
+ StyleType3["padding"] = "padding";
167954
+ StyleType3["paddingTop"] = "paddingTop";
167955
+ StyleType3["paddingRight"] = "paddingRight";
167956
+ StyleType3["paddingBottom"] = "paddingBottom";
167957
+ StyleType3["paddingLeft"] = "paddingLeft";
167958
+ StyleType3["paddingInlineStart"] = "paddingInlineStart";
167959
+ StyleType3["paddingInlineEnd"] = "paddingInlineEnd";
167960
+ StyleType3["border"] = "border";
167961
+ StyleType3["borderWidth"] = "borderWidth";
167962
+ StyleType3["borderStyle"] = "borderStyle";
167963
+ StyleType3["borderColor"] = "borderColor";
167964
+ StyleType3["borderTop"] = "borderTop";
167965
+ StyleType3["borderTopColor"] = "borderTopColor";
167966
+ StyleType3["borderTopWidth"] = "borderTopWidth";
167967
+ StyleType3["borderTopStyle"] = "borderTopStyle";
167968
+ StyleType3["borderRight"] = "borderRight";
167969
+ StyleType3["borderRightColor"] = "borderRightColor";
167970
+ StyleType3["borderRightWidth"] = "borderRightWidth";
167971
+ StyleType3["borderRightStyle"] = "borderRightStyle";
167972
+ StyleType3["borderBottom"] = "borderBottom";
167973
+ StyleType3["borderBottomColor"] = "borderBottomColor";
167974
+ StyleType3["borderBottomWidth"] = "borderBottomWidth";
167975
+ StyleType3["borderBottomStyle"] = "borderBottomStyle";
167976
+ StyleType3["borderLeft"] = "borderLeft";
167977
+ StyleType3["borderLeftColor"] = "borderLeftColor";
167978
+ StyleType3["borderLeftWidth"] = "borderLeftWidth";
167979
+ StyleType3["borderLeftStyle"] = "borderLeftStyle";
167980
+ StyleType3["borderInlineStart"] = "borderInlineStart";
167981
+ StyleType3["borderInlineStartColor"] = "borderInlineStartColor";
167982
+ StyleType3["borderInlineStartWidth"] = "borderInlineStartWidth";
167983
+ StyleType3["borderInlineStartStyle"] = "borderInlineStartStyle";
167984
+ StyleType3["borderInlineEnd"] = "borderInlineEnd";
167985
+ StyleType3["borderInlineEndColor"] = "borderInlineEndColor";
167986
+ StyleType3["borderInlineEndWidth"] = "borderInlineEndWidth";
167987
+ StyleType3["borderInlineEndStyle"] = "borderInlineEndStyle";
167988
+ StyleType3["borderRadius"] = "borderRadius";
167989
+ StyleType3["borderTopLeftRadius"] = "borderTopLeftRadius";
167990
+ StyleType3["borderTopRightRadius"] = "borderTopRightRadius";
167991
+ StyleType3["borderBottomRightRadius"] = "borderBottomRightRadius";
167992
+ StyleType3["borderBottomLeftRadius"] = "borderBottomLeftRadius";
167993
+ StyleType3["borderStartStartRadius"] = "borderStartStartRadius";
167994
+ StyleType3["borderStartEndRadius"] = "borderStartEndRadius";
167995
+ StyleType3["borderEndStartRadius"] = "borderEndStartRadius";
167996
+ StyleType3["borderEndEndRadius"] = "borderEndEndRadius";
167997
+ StyleType3["font"] = "font";
167998
+ StyleType3["fontFamily"] = "fontFamily";
167999
+ StyleType3["fontSize"] = "fontSize";
168000
+ StyleType3["fontStretch"] = "fontStretch";
168001
+ StyleType3["fontStyle"] = "fontStyle";
168002
+ StyleType3["fontVariant"] = "fontVariant";
168003
+ StyleType3["fontWeight"] = "fontWeight";
168004
+ StyleType3["lineHeight"] = "lineHeight";
168005
+ StyleType3["color"] = "color";
168006
+ StyleType3["letterSpacing"] = "letterSpacing";
168007
+ StyleType3["writingMode"] = "writingMode";
168008
+ StyleType3["textAlign"] = "textAlign";
168009
+ StyleType3["textTransform"] = "textTransform";
168010
+ StyleType3["textShadow"] = "textShadow";
168011
+ StyleType3["textOverflow"] = "textOverflow";
168012
+ StyleType3["textIndent"] = "textIndent";
168013
+ StyleType3["textDecoration"] = "textDecoration";
168014
+ StyleType3["textDecorationColor"] = "textDecorationColor";
168015
+ StyleType3["textDecorationLine"] = "textDecorationLine";
168016
+ StyleType3["textDecorationStyle"] = "textDecorationStyle";
168017
+ StyleType3["textDecorationThickness"] = "textDecorationThickness";
168018
+ StyleType3["boxShadow"] = "boxShadow";
168019
+ StyleType3["opacity"] = "opacity";
168020
+ StyleType3["overflow"] = "overflow";
168021
+ StyleType3["display"] = "display";
168022
+ StyleType3["alignSelf"] = "alignSelf";
168023
+ StyleType3["justifyContent"] = "justifyContent";
168024
+ StyleType3["alignItems"] = "alignItems";
168025
+ StyleType3["flexDirection"] = "flexDirection";
168026
+ StyleType3["height"] = "height";
168027
+ StyleType3["width"] = "width";
168028
+ StyleType3["gap"] = "gap";
168029
+ StyleType3["columnGap"] = "columnGap";
168030
+ StyleType3["rowGap"] = "rowGap";
168031
+ StyleType3["filter"] = "filter";
168032
+ StyleType3["backdropFilter"] = "backdropFilter";
168033
+ StyleType3["objectFit"] = "objectFit";
168034
+ StyleType3["objectPosition"] = "objectPosition";
168035
+ StyleType3["mixBlendMode"] = "mixBlendMode";
168036
+ StyleType3["isolation"] = "isolation";
168037
+ StyleType3["stroke"] = "stroke";
168038
+ StyleType3["strokeWidth"] = "strokeWidth";
168039
+ StyleType3["strokeOpacity"] = "strokeOpacity";
168040
+ StyleType3["fill"] = "fill";
168041
+ StyleType3["fillOpacity"] = "fillOpacity";
168042
+ })(StyleType || (StyleType = {}));
167872
168043
  var FilterFunction;
167873
168044
  (function(FilterFunction3) {
167874
168045
  FilterFunction3["UNKNOWN_FilterFunctions"] = "UNKNOWN_FilterFunctions";
@@ -167915,6 +168086,20 @@ var BackgroundModeEnum;
167915
168086
  BackgroundModeEnum3["UNKNOWN_BackgroundModeEnum"] = "UNKNOWN_BackgroundModeEnum";
167916
168087
  BackgroundModeEnum3["shapeDividerSvg"] = "shapeDividerSvg";
167917
168088
  })(BackgroundModeEnum || (BackgroundModeEnum = {}));
168089
+ var CssDataTypeEnumCssDataType;
168090
+ (function(CssDataTypeEnumCssDataType3) {
168091
+ CssDataTypeEnumCssDataType3["UNKNOWN_CssDataType"] = "UNKNOWN_CssDataType";
168092
+ CssDataTypeEnumCssDataType3["number"] = "number";
168093
+ CssDataTypeEnumCssDataType3["string"] = "string";
168094
+ CssDataTypeEnumCssDataType3["angle"] = "angle";
168095
+ CssDataTypeEnumCssDataType3["color"] = "color";
168096
+ CssDataTypeEnumCssDataType3["length"] = "length";
168097
+ CssDataTypeEnumCssDataType3["percentage"] = "percentage";
168098
+ CssDataTypeEnumCssDataType3["lengthPercentage"] = "lengthPercentage";
168099
+ CssDataTypeEnumCssDataType3["blendMode"] = "blendMode";
168100
+ CssDataTypeEnumCssDataType3["customEnum"] = "customEnum";
168101
+ CssDataTypeEnumCssDataType3["time"] = "time";
168102
+ })(CssDataTypeEnumCssDataType || (CssDataTypeEnumCssDataType = {}));
167918
168103
  var DataType;
167919
168104
  (function(DataType3) {
167920
168105
  DataType3["UNKNOWN_DataType"] = "UNKNOWN_DataType";
@@ -168036,6 +168221,7 @@ var ActionName;
168036
168221
  ActionName3["manageItems"] = "manageItems";
168037
168222
  ActionName3["dashboard"] = "dashboard";
168038
168223
  ActionName3["custom"] = "custom";
168224
+ ActionName3["manageMenu"] = "manageMenu";
168039
168225
  })(ActionName || (ActionName = {}));
168040
168226
  var SizingType;
168041
168227
  (function(SizingType3) {
@@ -168112,6 +168298,11 @@ var InteractionsTrigger;
168112
168298
  InteractionsTrigger3["pointerMove"] = "pointerMove";
168113
168299
  InteractionsTrigger3["animationEnd"] = "animationEnd";
168114
168300
  })(InteractionsTrigger || (InteractionsTrigger = {}));
168301
+ var EffectGroup;
168302
+ (function(EffectGroup3) {
168303
+ EffectGroup3["UNKNOWN_EFFECT_GROUP"] = "UNKNOWN_EFFECT_GROUP";
168304
+ EffectGroup3["background"] = "background";
168305
+ })(EffectGroup || (EffectGroup = {}));
168115
168306
  var RestrictionLevel;
168116
168307
  (function(RestrictionLevel3) {
168117
168308
  RestrictionLevel3["UNKNOWN_RESTRICTION_TYPE"] = "UNKNOWN_RESTRICTION_TYPE";
@@ -168297,6 +168488,7 @@ var SITE_WIDGETS_DIR = join4(SITE_DIR, "widgets", CUSTOM_ELEMENTS_DIR);
168297
168488
  var SITE_PLUGINS_DIR = join4(SITE_DIR, "plugins", CUSTOM_ELEMENTS_DIR);
168298
168489
  var BLOCKS_WIDGETS_DIR = join4(SITE_DIR, "widgets", "blocks");
168299
168490
  var PANELS_DIR = "panels";
168491
+ var PRESETS_DIR = "presets";
168300
168492
  var WORKER_STATICS_FOLDER = "worker";
168301
168493
  var BROWSER_STATICS_FOLDER = "browser";
168302
168494
  var SSR_STATICS_FOLDER = "ssr";
@@ -168715,14 +168907,22 @@ var supportedServicePlugin = z.union([
168715
168907
  z.literal(ComponentType.ECOM_PAYMENT_SETTINGS),
168716
168908
  z.literal(ComponentType.GIFT_CARDS_PROVIDER)
168717
168909
  ]);
168910
+ var siteComponentPresetConfigSchema = z.object({
168911
+ displayName: z.string(),
168912
+ thumbnailUrl: staticAssetConfigSchema.optional().describe("The element preset icon")
168913
+ }).passthrough();
168718
168914
  var siteComponentConfigSchema = z.object({
168719
168915
  ...baseConfig,
168720
168916
  id: z.string().uuid().describe(
168721
168917
  "The ID (GUID) is used to register the component in Wix Developers Center. The ID must be unique across all extensions in the app."
168722
168918
  ),
168723
168919
  description: z.string(),
168724
- editorElement: z.unknown(),
168725
- installation: z.unknown()
168920
+ installation: z.unknown(),
168921
+ editorElement: z.object({
168922
+ displayName: z.string().min(1).max(20),
168923
+ selector: z.string(),
168924
+ presets: z.record(z.string(), siteComponentPresetConfigSchema).optional()
168925
+ }).passthrough().optional()
168726
168926
  }).strict();
168727
168927
  var siteComponentPanelConfigSchema = z.object({
168728
168928
  ...baseConfig,
@@ -172444,6 +172644,7 @@ var ComponentType2;
172444
172644
  ComponentType3["VIEWER_SERVICE"] = "VIEWER_SERVICE";
172445
172645
  ComponentType3["WIX_PAYMENTS_PROVIDER_ACCOUNT_SERVICE_PLUGIN"] = "WIX_PAYMENTS_PROVIDER_ACCOUNT_SERVICE_PLUGIN";
172446
172646
  ComponentType3["CONTACTS_SEGMENTS_V2_FILTER_PROVIDER"] = "CONTACTS_SEGMENTS_V2_FILTER_PROVIDER";
172647
+ ComponentType3["ANALYTICS_PRODUCT_CATALOG"] = "ANALYTICS_PRODUCT_CATALOG";
172447
172648
  })(ComponentType2 || (ComponentType2 = {}));
172448
172649
  var WidgetVertical2;
172449
172650
  (function(WidgetVertical3) {
@@ -172836,6 +173037,8 @@ var Tag2;
172836
173037
  Tag3["ECOM_DELIVERY_PROFILES"] = "ECOM_DELIVERY_PROFILES";
172837
173038
  Tag3["ADD_TO_CATEGORY"] = "ADD_TO_CATEGORY";
172838
173039
  Tag3["MY_BUSINESS"] = "MY_BUSINESS";
173040
+ Tag3["PIPELINE_LINKED_ENTITY"] = "PIPELINE_LINKED_ENTITY";
173041
+ Tag3["GET_PAID"] = "GET_PAID";
172839
173042
  })(Tag2 || (Tag2 = {}));
172840
173043
  var FilterSelectionType2;
172841
173044
  (function(FilterSelectionType3) {
@@ -173096,6 +173299,43 @@ var FontType2;
173096
173299
  FontType3["PX"] = "PX";
173097
173300
  FontType3["EM"] = "EM";
173098
173301
  })(FontType2 || (FontType2 = {}));
173302
+ var ImageStylesPosition2;
173303
+ (function(ImageStylesPosition3) {
173304
+ ImageStylesPosition3["START"] = "START";
173305
+ ImageStylesPosition3["END"] = "END";
173306
+ ImageStylesPosition3["TOP"] = "TOP";
173307
+ })(ImageStylesPosition2 || (ImageStylesPosition2 = {}));
173308
+ var AspectRatio2;
173309
+ (function(AspectRatio3) {
173310
+ AspectRatio3["SQUARE"] = "SQUARE";
173311
+ AspectRatio3["RECTANGLE"] = "RECTANGLE";
173312
+ })(AspectRatio2 || (AspectRatio2 = {}));
173313
+ var Resizing2;
173314
+ (function(Resizing3) {
173315
+ Resizing3["FILL"] = "FILL";
173316
+ Resizing3["FIT"] = "FIT";
173317
+ })(Resizing2 || (Resizing2 = {}));
173318
+ var Placement2;
173319
+ (function(Placement3) {
173320
+ Placement3["IMAGE"] = "IMAGE";
173321
+ Placement3["PRODUCT_INFO"] = "PRODUCT_INFO";
173322
+ })(Placement2 || (Placement2 = {}));
173323
+ var CardStylesType2;
173324
+ (function(CardStylesType3) {
173325
+ CardStylesType3["CONTAINED"] = "CONTAINED";
173326
+ CardStylesType3["FRAMELESS"] = "FRAMELESS";
173327
+ })(CardStylesType2 || (CardStylesType2 = {}));
173328
+ var CardStylesAlignment2;
173329
+ (function(CardStylesAlignment3) {
173330
+ CardStylesAlignment3["START"] = "START";
173331
+ CardStylesAlignment3["CENTER"] = "CENTER";
173332
+ CardStylesAlignment3["END"] = "END";
173333
+ })(CardStylesAlignment2 || (CardStylesAlignment2 = {}));
173334
+ var CardStylesLayout2;
173335
+ (function(CardStylesLayout3) {
173336
+ CardStylesLayout3["STACKED"] = "STACKED";
173337
+ CardStylesLayout3["SIDE_BY_SIDE"] = "SIDE_BY_SIDE";
173338
+ })(CardStylesLayout2 || (CardStylesLayout2 = {}));
173099
173339
  var AppType2;
173100
173340
  (function(AppType4) {
173101
173341
  AppType4["PRODUCT"] = "PRODUCT";
@@ -173866,6 +174106,124 @@ var CssDataType2;
173866
174106
  CssDataType3["string"] = "string";
173867
174107
  CssDataType3["time"] = "time";
173868
174108
  })(CssDataType2 || (CssDataType2 = {}));
174109
+ var StyleType2;
174110
+ (function(StyleType3) {
174111
+ StyleType3["UNKNOWN_StyleType"] = "UNKNOWN_StyleType";
174112
+ StyleType3["number"] = "number";
174113
+ StyleType3["string"] = "string";
174114
+ StyleType3["angle"] = "angle";
174115
+ StyleType3["length"] = "length";
174116
+ StyleType3["percentage"] = "percentage";
174117
+ StyleType3["lengthPercentage"] = "lengthPercentage";
174118
+ StyleType3["blendMode"] = "blendMode";
174119
+ StyleType3["customEnum"] = "customEnum";
174120
+ StyleType3["time"] = "time";
174121
+ StyleType3["background"] = "background";
174122
+ StyleType3["backgroundSize"] = "backgroundSize";
174123
+ StyleType3["backgroundColor"] = "backgroundColor";
174124
+ StyleType3["backgroundImage"] = "backgroundImage";
174125
+ StyleType3["backgroundClip"] = "backgroundClip";
174126
+ StyleType3["backgroundOrigin"] = "backgroundOrigin";
174127
+ StyleType3["backgroundPosition"] = "backgroundPosition";
174128
+ StyleType3["backgroundRepeat"] = "backgroundRepeat";
174129
+ StyleType3["backgroundAttachment"] = "backgroundAttachment";
174130
+ StyleType3["margin"] = "margin";
174131
+ StyleType3["marginTop"] = "marginTop";
174132
+ StyleType3["marginRight"] = "marginRight";
174133
+ StyleType3["marginBottom"] = "marginBottom";
174134
+ StyleType3["marginLeft"] = "marginLeft";
174135
+ StyleType3["marginInlineStart"] = "marginInlineStart";
174136
+ StyleType3["marginInlineEnd"] = "marginInlineEnd";
174137
+ StyleType3["padding"] = "padding";
174138
+ StyleType3["paddingTop"] = "paddingTop";
174139
+ StyleType3["paddingRight"] = "paddingRight";
174140
+ StyleType3["paddingBottom"] = "paddingBottom";
174141
+ StyleType3["paddingLeft"] = "paddingLeft";
174142
+ StyleType3["paddingInlineStart"] = "paddingInlineStart";
174143
+ StyleType3["paddingInlineEnd"] = "paddingInlineEnd";
174144
+ StyleType3["border"] = "border";
174145
+ StyleType3["borderWidth"] = "borderWidth";
174146
+ StyleType3["borderStyle"] = "borderStyle";
174147
+ StyleType3["borderColor"] = "borderColor";
174148
+ StyleType3["borderTop"] = "borderTop";
174149
+ StyleType3["borderTopColor"] = "borderTopColor";
174150
+ StyleType3["borderTopWidth"] = "borderTopWidth";
174151
+ StyleType3["borderTopStyle"] = "borderTopStyle";
174152
+ StyleType3["borderRight"] = "borderRight";
174153
+ StyleType3["borderRightColor"] = "borderRightColor";
174154
+ StyleType3["borderRightWidth"] = "borderRightWidth";
174155
+ StyleType3["borderRightStyle"] = "borderRightStyle";
174156
+ StyleType3["borderBottom"] = "borderBottom";
174157
+ StyleType3["borderBottomColor"] = "borderBottomColor";
174158
+ StyleType3["borderBottomWidth"] = "borderBottomWidth";
174159
+ StyleType3["borderBottomStyle"] = "borderBottomStyle";
174160
+ StyleType3["borderLeft"] = "borderLeft";
174161
+ StyleType3["borderLeftColor"] = "borderLeftColor";
174162
+ StyleType3["borderLeftWidth"] = "borderLeftWidth";
174163
+ StyleType3["borderLeftStyle"] = "borderLeftStyle";
174164
+ StyleType3["borderInlineStart"] = "borderInlineStart";
174165
+ StyleType3["borderInlineStartColor"] = "borderInlineStartColor";
174166
+ StyleType3["borderInlineStartWidth"] = "borderInlineStartWidth";
174167
+ StyleType3["borderInlineStartStyle"] = "borderInlineStartStyle";
174168
+ StyleType3["borderInlineEnd"] = "borderInlineEnd";
174169
+ StyleType3["borderInlineEndColor"] = "borderInlineEndColor";
174170
+ StyleType3["borderInlineEndWidth"] = "borderInlineEndWidth";
174171
+ StyleType3["borderInlineEndStyle"] = "borderInlineEndStyle";
174172
+ StyleType3["borderRadius"] = "borderRadius";
174173
+ StyleType3["borderTopLeftRadius"] = "borderTopLeftRadius";
174174
+ StyleType3["borderTopRightRadius"] = "borderTopRightRadius";
174175
+ StyleType3["borderBottomRightRadius"] = "borderBottomRightRadius";
174176
+ StyleType3["borderBottomLeftRadius"] = "borderBottomLeftRadius";
174177
+ StyleType3["borderStartStartRadius"] = "borderStartStartRadius";
174178
+ StyleType3["borderStartEndRadius"] = "borderStartEndRadius";
174179
+ StyleType3["borderEndStartRadius"] = "borderEndStartRadius";
174180
+ StyleType3["borderEndEndRadius"] = "borderEndEndRadius";
174181
+ StyleType3["font"] = "font";
174182
+ StyleType3["fontFamily"] = "fontFamily";
174183
+ StyleType3["fontSize"] = "fontSize";
174184
+ StyleType3["fontStretch"] = "fontStretch";
174185
+ StyleType3["fontStyle"] = "fontStyle";
174186
+ StyleType3["fontVariant"] = "fontVariant";
174187
+ StyleType3["fontWeight"] = "fontWeight";
174188
+ StyleType3["lineHeight"] = "lineHeight";
174189
+ StyleType3["color"] = "color";
174190
+ StyleType3["letterSpacing"] = "letterSpacing";
174191
+ StyleType3["writingMode"] = "writingMode";
174192
+ StyleType3["textAlign"] = "textAlign";
174193
+ StyleType3["textTransform"] = "textTransform";
174194
+ StyleType3["textShadow"] = "textShadow";
174195
+ StyleType3["textOverflow"] = "textOverflow";
174196
+ StyleType3["textIndent"] = "textIndent";
174197
+ StyleType3["textDecoration"] = "textDecoration";
174198
+ StyleType3["textDecorationColor"] = "textDecorationColor";
174199
+ StyleType3["textDecorationLine"] = "textDecorationLine";
174200
+ StyleType3["textDecorationStyle"] = "textDecorationStyle";
174201
+ StyleType3["textDecorationThickness"] = "textDecorationThickness";
174202
+ StyleType3["boxShadow"] = "boxShadow";
174203
+ StyleType3["opacity"] = "opacity";
174204
+ StyleType3["overflow"] = "overflow";
174205
+ StyleType3["display"] = "display";
174206
+ StyleType3["alignSelf"] = "alignSelf";
174207
+ StyleType3["justifyContent"] = "justifyContent";
174208
+ StyleType3["alignItems"] = "alignItems";
174209
+ StyleType3["flexDirection"] = "flexDirection";
174210
+ StyleType3["height"] = "height";
174211
+ StyleType3["width"] = "width";
174212
+ StyleType3["gap"] = "gap";
174213
+ StyleType3["columnGap"] = "columnGap";
174214
+ StyleType3["rowGap"] = "rowGap";
174215
+ StyleType3["filter"] = "filter";
174216
+ StyleType3["backdropFilter"] = "backdropFilter";
174217
+ StyleType3["objectFit"] = "objectFit";
174218
+ StyleType3["objectPosition"] = "objectPosition";
174219
+ StyleType3["mixBlendMode"] = "mixBlendMode";
174220
+ StyleType3["isolation"] = "isolation";
174221
+ StyleType3["stroke"] = "stroke";
174222
+ StyleType3["strokeWidth"] = "strokeWidth";
174223
+ StyleType3["strokeOpacity"] = "strokeOpacity";
174224
+ StyleType3["fill"] = "fill";
174225
+ StyleType3["fillOpacity"] = "fillOpacity";
174226
+ })(StyleType2 || (StyleType2 = {}));
173869
174227
  var FilterFunction2;
173870
174228
  (function(FilterFunction3) {
173871
174229
  FilterFunction3["UNKNOWN_FilterFunctions"] = "UNKNOWN_FilterFunctions";
@@ -173912,6 +174270,20 @@ var BackgroundModeEnum2;
173912
174270
  BackgroundModeEnum3["UNKNOWN_BackgroundModeEnum"] = "UNKNOWN_BackgroundModeEnum";
173913
174271
  BackgroundModeEnum3["shapeDividerSvg"] = "shapeDividerSvg";
173914
174272
  })(BackgroundModeEnum2 || (BackgroundModeEnum2 = {}));
174273
+ var CssDataTypeEnumCssDataType2;
174274
+ (function(CssDataTypeEnumCssDataType3) {
174275
+ CssDataTypeEnumCssDataType3["UNKNOWN_CssDataType"] = "UNKNOWN_CssDataType";
174276
+ CssDataTypeEnumCssDataType3["number"] = "number";
174277
+ CssDataTypeEnumCssDataType3["string"] = "string";
174278
+ CssDataTypeEnumCssDataType3["angle"] = "angle";
174279
+ CssDataTypeEnumCssDataType3["color"] = "color";
174280
+ CssDataTypeEnumCssDataType3["length"] = "length";
174281
+ CssDataTypeEnumCssDataType3["percentage"] = "percentage";
174282
+ CssDataTypeEnumCssDataType3["lengthPercentage"] = "lengthPercentage";
174283
+ CssDataTypeEnumCssDataType3["blendMode"] = "blendMode";
174284
+ CssDataTypeEnumCssDataType3["customEnum"] = "customEnum";
174285
+ CssDataTypeEnumCssDataType3["time"] = "time";
174286
+ })(CssDataTypeEnumCssDataType2 || (CssDataTypeEnumCssDataType2 = {}));
173915
174287
  var DataType2;
173916
174288
  (function(DataType3) {
173917
174289
  DataType3["UNKNOWN_DataType"] = "UNKNOWN_DataType";
@@ -174017,6 +174389,7 @@ var ActionType2;
174017
174389
  ActionType3["panel"] = "panel";
174018
174390
  ActionType3["forward"] = "forward";
174019
174391
  ActionType3["style"] = "style";
174392
+ ActionType3["displayGroup"] = "displayGroup";
174020
174393
  })(ActionType2 || (ActionType2 = {}));
174021
174394
  var PanelType2;
174022
174395
  (function(PanelType3) {
@@ -174033,6 +174406,7 @@ var ActionName2;
174033
174406
  ActionName3["manageItems"] = "manageItems";
174034
174407
  ActionName3["dashboard"] = "dashboard";
174035
174408
  ActionName3["custom"] = "custom";
174409
+ ActionName3["manageMenu"] = "manageMenu";
174036
174410
  })(ActionName2 || (ActionName2 = {}));
174037
174411
  var SizingType2;
174038
174412
  (function(SizingType3) {
@@ -174090,6 +174464,26 @@ var NativeStateType2;
174090
174464
  NativeStateType3["disabled"] = "disabled";
174091
174465
  NativeStateType3["invalid"] = "invalid";
174092
174466
  })(NativeStateType2 || (NativeStateType2 = {}));
174467
+ var GroupType;
174468
+ (function(GroupType2) {
174469
+ GroupType2["UNKNOWN_GroupType"] = "UNKNOWN_GroupType";
174470
+ GroupType2["cssDataTypeItems"] = "cssDataTypeItems";
174471
+ GroupType2["dataItems"] = "dataItems";
174472
+ GroupType2["background"] = "background";
174473
+ GroupType2["margin"] = "margin";
174474
+ GroupType2["padding"] = "padding";
174475
+ GroupType2["border"] = "border";
174476
+ GroupType2["borderTop"] = "borderTop";
174477
+ GroupType2["borderRight"] = "borderRight";
174478
+ GroupType2["borderBottom"] = "borderBottom";
174479
+ GroupType2["borderLeft"] = "borderLeft";
174480
+ GroupType2["borderRadius"] = "borderRadius";
174481
+ GroupType2["borderInlineStart"] = "borderInlineStart";
174482
+ GroupType2["borderInlineEnd"] = "borderInlineEnd";
174483
+ GroupType2["font"] = "font";
174484
+ GroupType2["textDecoration"] = "textDecoration";
174485
+ GroupType2["gap"] = "gap";
174486
+ })(GroupType || (GroupType = {}));
174093
174487
  var ContentResizeDirection2;
174094
174488
  (function(ContentResizeDirection3) {
174095
174489
  ContentResizeDirection3["UNKNOWN_ContentResizeDirection"] = "UNKNOWN_ContentResizeDirection";
@@ -174109,6 +174503,11 @@ var InteractionsTrigger2;
174109
174503
  InteractionsTrigger3["pointerMove"] = "pointerMove";
174110
174504
  InteractionsTrigger3["animationEnd"] = "animationEnd";
174111
174505
  })(InteractionsTrigger2 || (InteractionsTrigger2 = {}));
174506
+ var EffectGroup2;
174507
+ (function(EffectGroup3) {
174508
+ EffectGroup3["UNKNOWN_EFFECT_GROUP"] = "UNKNOWN_EFFECT_GROUP";
174509
+ EffectGroup3["background"] = "background";
174510
+ })(EffectGroup2 || (EffectGroup2 = {}));
174112
174511
  var RestrictionLevel2;
174113
174512
  (function(RestrictionLevel3) {
174114
174513
  RestrictionLevel3["UNKNOWN_RESTRICTION_TYPE"] = "UNKNOWN_RESTRICTION_TYPE";
@@ -174464,7 +174863,8 @@ var managedAppsSchema = z.object({
174464
174863
  z.object({
174465
174864
  appId: z.string(),
174466
174865
  installationDetails: z.object({
174467
- group: z.nativeEnum(AppGroup)
174866
+ group: z.nativeEnum(AppGroup),
174867
+ incompleteSetupReason: z.nativeEnum(IncompleteSetupReason)
174468
174868
  })
174469
174869
  })
174470
174870
  )
@@ -174910,7 +175310,7 @@ var DevCenterClient = class {
174910
175310
  };
174911
175311
  isAppInstalledInEditor = async (appId) => {
174912
175312
  const installationDetails = await this.getAppInstallationDetails(appId);
174913
- return installationDetails?.group === AppGroup.INSTALLED;
175313
+ return installationDetails?.group === AppGroup.INSTALLED && installationDetails.incompleteSetupReason !== IncompleteSetupReason.PENDING_EDITOR;
174914
175314
  };
174915
175315
  };
174916
175316
 
@@ -175056,7 +175456,7 @@ var decorateErrorWithCounts2 = (error, attemptNumber, options) => {
175056
175456
  var isNetworkError2 = (errorMessage) => networkErrorMsgs.has(errorMessage);
175057
175457
  var getDOMException2 = (errorMessage) => globalThis.DOMException === void 0 ? new Error(errorMessage) : new DOMException(errorMessage);
175058
175458
  async function pRetry2(input, options) {
175059
- return new Promise((resolve3, reject) => {
175459
+ return new Promise((resolve4, reject) => {
175060
175460
  options = {
175061
175461
  onFailedAttempt() {
175062
175462
  },
@@ -175066,7 +175466,7 @@ async function pRetry2(input, options) {
175066
175466
  const operation = import_retry2.default.operation(options);
175067
175467
  operation.attempt(async (attemptNumber) => {
175068
175468
  try {
175069
- resolve3(await input(attemptNumber));
175469
+ resolve4(await input(attemptNumber));
175070
175470
  } catch (error) {
175071
175471
  if (!(error instanceof Error)) {
175072
175472
  reject(new TypeError(`Non-error was thrown: "${error}". You should only throw errors.`));
@@ -175506,7 +175906,7 @@ var Uploader = class {
175506
175906
  return formData;
175507
175907
  }
175508
175908
  async submitForm(url, formData) {
175509
- await new Promise((resolve3, reject) => {
175909
+ await new Promise((resolve4, reject) => {
175510
175910
  let data = "";
175511
175911
  formData.submit(url, (err, res) => {
175512
175912
  if (err !== null) {
@@ -175518,7 +175918,7 @@ var Uploader = class {
175518
175918
  });
175519
175919
  res.on("end", () => {
175520
175920
  if ([200, 204].includes(res.statusCode)) {
175521
- resolve3();
175921
+ resolve4();
175522
175922
  } else {
175523
175923
  reject(data);
175524
175924
  }
@@ -176255,7 +176655,7 @@ import { randomUUID as randomUUID2 } from "node:crypto";
176255
176655
 
176256
176656
  // src/dev-center/components/site/config.ts
176257
176657
  init_esm_shims();
176258
- import { join as join9, dirname as dirname3 } from "node:path";
176658
+ import { join as join9, dirname as dirname3, resolve as resolve3 } from "node:path";
176259
176659
  var import_variant28 = __toESM(require_lib(), 1);
176260
176660
  async function loadEmbeddedScriptComponentConfig(embeddedScriptPath) {
176261
176661
  const configPath = replaceExtension(embeddedScriptPath, "json");
@@ -176444,6 +176844,31 @@ function virtualSiteComponentPanelScriptAssets(model) {
176444
176844
  ])
176445
176845
  );
176446
176846
  }
176847
+ function virtualPresetIdForSiteComponent(componentId, presetFolder) {
176848
+ return `${componentId}-preset-${presetFolder}.css`;
176849
+ }
176850
+ function virtualSiteComponentPresetAssets(model) {
176851
+ const entries = [];
176852
+ const siteComponents = model.components.filter(
176853
+ (0, import_variant28.isType)(DevCenterComponent.SiteComponent)
176854
+ );
176855
+ for (const comp of siteComponents) {
176856
+ if (comp.editorElement?.presets) {
176857
+ const componentDir = dirname3(comp.relativePath);
176858
+ for (const presetFolder in comp.editorElement.presets) {
176859
+ const assetPath = resolve3(
176860
+ model.projectFolder,
176861
+ join9(componentDir, PRESETS_DIR, `${presetFolder}.css`)
176862
+ );
176863
+ entries.push([
176864
+ virtualPresetIdForSiteComponent(comp.id, presetFolder),
176865
+ assetPath
176866
+ ]);
176867
+ }
176868
+ }
176869
+ }
176870
+ return new Map(entries);
176871
+ }
176447
176872
  function virtualModuleIdForSiteComponentSdkScriptAsset(componentId) {
176448
176873
  return `wix/scripts/site-component-asset/sdk-${componentId}.js`;
176449
176874
  }
@@ -176550,6 +176975,12 @@ var SITE_COMPONENTS_PANEL_PATTERN = join10(
176550
176975
  "**",
176551
176976
  PANEL_PATTERN
176552
176977
  );
176978
+ var PRESET_PATTERN = join10(PRESETS_DIR, "*.css");
176979
+ var SITE_COMPONENTS_PRESETS_PATTERN = join10(
176980
+ SITE_COMPONENTS_DIR,
176981
+ "*",
176982
+ PRESET_PATTERN
176983
+ );
176553
176984
  var SITE_COMPONENTS_SDK_PATTERN = join10(
176554
176985
  SITE_COMPONENTS_DIR,
176555
176986
  "**",
@@ -176877,6 +177308,31 @@ async function loadSiteComponentAndPanels(projectFolder, relativePath) {
176877
177308
  });
176878
177309
  })
176879
177310
  );
177311
+ if (config.editorElement?.presets) {
177312
+ const presetCssFiles = await globby(
177313
+ normalizeGlobbyPattern(PRESET_PATTERN),
177314
+ {
177315
+ cwd: join10(projectFolder, componentRelativeDir)
177316
+ }
177317
+ );
177318
+ const presetsCssFiles = new Set(
177319
+ presetCssFiles.map((presetCss) => {
177320
+ const { name: presetName } = parse5(presetCss);
177321
+ return presetName;
177322
+ })
177323
+ );
177324
+ for (const presetName in config.editorElement.presets) {
177325
+ if (!presetsCssFiles.has(presetName)) {
177326
+ throw new CliError({
177327
+ code: CliErrorCode.MissingPresetCssForSiteComponent({
177328
+ componentId: config.id,
177329
+ presetName
177330
+ }),
177331
+ cause: null
177332
+ });
177333
+ }
177334
+ }
177335
+ }
176880
177336
  return [
176881
177337
  DevCenterComponent.SiteComponent({
176882
177338
  ...config,
@@ -177829,6 +178285,7 @@ export {
177829
178285
  SITE_WIDGETS_DIR,
177830
178286
  SITE_PLUGINS_DIR,
177831
178287
  PANELS_DIR,
178288
+ PRESETS_DIR,
177832
178289
  WORKER_STATICS_FOLDER,
177833
178290
  BROWSER_STATICS_FOLDER,
177834
178291
  SSR_STATICS_FOLDER,
@@ -177904,10 +178361,13 @@ export {
177904
178361
  virtualSiteComponentScriptAssets,
177905
178362
  virtualModuleIdForSiteComponentPanelScriptAsset,
177906
178363
  virtualSiteComponentPanelScriptAssets,
178364
+ virtualPresetIdForSiteComponent,
178365
+ virtualSiteComponentPresetAssets,
177907
178366
  virtualModuleIdForSiteComponentSdkScriptAsset,
177908
178367
  virtualSiteComponentSdkScriptAssets,
177909
178368
  SITE_COMPONENTS_PATTERN,
177910
178369
  SITE_COMPONENTS_PANEL_PATTERN,
178370
+ SITE_COMPONENTS_PRESETS_PATTERN,
177911
178371
  SITE_COMPONENTS_SDK_PATTERN,
177912
178372
  SITE_WIDGETS_ELEMENT_PATTERN,
177913
178373
  SITE_WIDGETS_PANEL_PATTERN,
@@ -178100,4 +178560,4 @@ mustache/mustache.mjs:
178100
178560
  * http://github.com/janl/mustache.js
178101
178561
  *)
178102
178562
  */
178103
- //# sourceMappingURL=chunk-FG7W5UDB.js.map
178563
+ //# sourceMappingURL=chunk-5HJEX4ZX.js.map