@wix/create-app 0.0.124 → 0.0.125

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/build/index.js CHANGED
@@ -6815,21 +6815,21 @@ var require_stack_utils = __commonJS({
6815
6815
  return res;
6816
6816
  }
6817
6817
  parseLine(line) {
6818
- const match22 = line && line.match(re);
6819
- if (!match22) {
6818
+ const match23 = line && line.match(re);
6819
+ if (!match23) {
6820
6820
  return null;
6821
6821
  }
6822
- const ctor = match22[1] === "new";
6823
- let fname = match22[2];
6824
- const evalOrigin = match22[3];
6825
- const evalFile = match22[4];
6826
- const evalLine = Number(match22[5]);
6827
- const evalCol = Number(match22[6]);
6828
- let file = match22[7];
6829
- const lnum = match22[8];
6830
- const col = match22[9];
6831
- const native = match22[10] === "native";
6832
- const closeParen = match22[11] === ")";
6822
+ const ctor = match23[1] === "new";
6823
+ let fname = match23[2];
6824
+ const evalOrigin = match23[3];
6825
+ const evalFile = match23[4];
6826
+ const evalLine = Number(match23[5]);
6827
+ const evalCol = Number(match23[6]);
6828
+ let file = match23[7];
6829
+ const lnum = match23[8];
6830
+ const col = match23[9];
6831
+ const native = match23[10] === "native";
6832
+ const closeParen = match23[11] === ")";
6833
6833
  let method;
6834
6834
  const res = {};
6835
6835
  if (lnum) {
@@ -7033,14 +7033,14 @@ var require_variant = __commonJS({
7033
7033
  return Object.assign(Object.assign({}, result), { [creator.output.type]: creator });
7034
7034
  }, {});
7035
7035
  }
7036
- function variant14(template) {
7036
+ function variant16(template) {
7037
7037
  if (Array.isArray(template)) {
7038
7038
  return variantList(template);
7039
7039
  } else {
7040
7040
  return variantModule(template);
7041
7041
  }
7042
7042
  }
7043
- return { descope, scoped: scope, variant: variant14, variantList, variantModule, variation };
7043
+ return { descope, scoped: scope, variant: variant16, variantList, variantModule, variation };
7044
7044
  }
7045
7045
  exports.variantImpl = variantImpl;
7046
7046
  }
@@ -7067,12 +7067,12 @@ var require_match = __commonJS({
7067
7067
  var variant_1 = require_variant();
7068
7068
  var precepts_1 = require_precepts();
7069
7069
  function matchImpl(key) {
7070
- const prematch = (_2) => (handler) => (instance2) => match22(instance2, handler);
7071
- function match22(...args) {
7070
+ const prematch = (_2) => (handler) => (instance2) => match23(instance2, handler);
7071
+ function match23(...args) {
7072
7072
  var _a3, _b;
7073
7073
  if (args.length === 1) {
7074
7074
  const [handler] = args;
7075
- return (instance2) => match22(instance2, handler);
7075
+ return (instance2) => match23(instance2, handler);
7076
7076
  } else if (args.length === 2) {
7077
7077
  const [instanceOrTypeOrCreator, handlerParam] = args;
7078
7078
  const instanceOrCreator = typeof instanceOrTypeOrCreator === "string" ? ofLiteral(instanceOrTypeOrCreator) : instanceOrTypeOrCreator;
@@ -7092,7 +7092,7 @@ var require_match = __commonJS({
7092
7092
  [key]: instance2
7093
7093
  };
7094
7094
  }
7095
- function lookup2(handler) {
7095
+ function lookup3(handler) {
7096
7096
  const handlerWithFuncs = Object.keys(handler).reduce((acc, cur) => {
7097
7097
  return Object.assign(Object.assign({}, acc), { [cur]: () => handler[cur] });
7098
7098
  }, {});
@@ -7104,7 +7104,7 @@ var require_match = __commonJS({
7104
7104
  function withFallback(handler, fallback) {
7105
7105
  return (_2) => Object.assign(Object.assign({}, handler), { default: fallback });
7106
7106
  }
7107
- return { match: match22, ofLiteral, onLiteral, otherwise, partial: partial2, prematch, lookup: lookup2, withFallback };
7107
+ return { match: match23, ofLiteral, onLiteral, otherwise, partial: partial2, prematch, lookup: lookup3, withFallback };
7108
7108
  }
7109
7109
  exports.matchImpl = matchImpl;
7110
7110
  }
@@ -7170,11 +7170,11 @@ var require_isOfVariant = __commonJS({
7170
7170
  function isOfVariantImpl(key) {
7171
7171
  function isOfVariant3(...args) {
7172
7172
  if (args.length === 1) {
7173
- const [variant14] = args;
7174
- return (instance2) => instance2 != void 0 && Object.values(variant14).some((vc) => vc.output.type === instance2[key]);
7173
+ const [variant16] = args;
7174
+ return (instance2) => instance2 != void 0 && Object.values(variant16).some((vc) => vc.output.type === instance2[key]);
7175
7175
  } else if (args.length === 2) {
7176
- const [instance2, variant14] = args;
7177
- return instance2 != void 0 && Object.values(variant14).some((vc) => vc.output.type === instance2[key]);
7176
+ const [instance2, variant16] = args;
7177
+ return instance2 != void 0 && Object.values(variant16).some((vc) => vc.output.type === instance2[key]);
7178
7178
  }
7179
7179
  return false;
7180
7180
  }
@@ -7202,7 +7202,7 @@ var require_remote = __commonJS({
7202
7202
  })(CompareResult = exports.CompareResult || (exports.CompareResult = {}));
7203
7203
  function remoteImpl(key) {
7204
7204
  const { isType: isType16 } = (0, isType_1.isTypeImpl)(key);
7205
- const { match: match22 } = (0, match_1.matchImpl)(key);
7205
+ const { match: match23 } = (0, match_1.matchImpl)(key);
7206
7206
  const { variantList } = (0, variant_1.variantImpl)(key);
7207
7207
  function isFunctions(vmod) {
7208
7208
  const keys = Object.keys(vmod);
@@ -7215,7 +7215,7 @@ var require_remote = __commonJS({
7215
7215
  key,
7216
7216
  is: isFunctions(vmod),
7217
7217
  new: vmod,
7218
- match: match22
7218
+ match: match23
7219
7219
  };
7220
7220
  }
7221
7221
  ;
@@ -7611,15 +7611,15 @@ var require_typeCatalog = __commonJS({
7611
7611
  init_esm_shims();
7612
7612
  Object.defineProperty(exports, "__esModule", { value: true });
7613
7613
  exports.typeMap = exports.typeCatalog = void 0;
7614
- function typeCatalog(variant14) {
7615
- return Object.values(variant14).reduce((result, vc) => {
7614
+ function typeCatalog(variant16) {
7615
+ return Object.values(variant16).reduce((result, vc) => {
7616
7616
  return Object.assign(Object.assign({}, result), { [vc.output.type]: vc.output.type });
7617
7617
  }, {});
7618
7618
  }
7619
7619
  exports.typeCatalog = typeCatalog;
7620
- function typeMap(variant14) {
7621
- return Object.keys(variant14).reduce((result, key) => {
7622
- return Object.assign(Object.assign({}, result), { [key]: variant14[key].output.type });
7620
+ function typeMap(variant16) {
7621
+ return Object.keys(variant16).reduce((result, key) => {
7622
+ return Object.assign(Object.assign({}, result), { [key]: variant16[key].output.type });
7623
7623
  }, {});
7624
7624
  }
7625
7625
  exports.typeMap = typeMap;
@@ -7668,13 +7668,13 @@ var require_variant_tools = __commonJS({
7668
7668
  init_esm_shims();
7669
7669
  Object.defineProperty(exports, "__esModule", { value: true });
7670
7670
  exports.nil = exports.payload = exports.fields = void 0;
7671
- function fields9(defaults2 = {}) {
7671
+ function fields10(defaults2 = {}) {
7672
7672
  return (...args) => {
7673
7673
  const [arg] = args;
7674
7674
  return Object.assign(Object.assign({}, defaults2), arg);
7675
7675
  };
7676
7676
  }
7677
- exports.fields = fields9;
7677
+ exports.fields = fields10;
7678
7678
  function payload5(_example) {
7679
7679
  return (payload6) => ({ payload: payload6 });
7680
7680
  }
@@ -10577,7 +10577,7 @@ var require_extsprintf = __commonJS({
10577
10577
  var args = Array.prototype.slice.call(arguments, 1);
10578
10578
  var fmt = ofmt;
10579
10579
  var flags, width, precision, conversion;
10580
- var left, pad, sign, arg, match22;
10580
+ var left, pad, sign, arg, match23;
10581
10581
  var ret = "";
10582
10582
  var argn = 1;
10583
10583
  var posn = 0;
@@ -10588,16 +10588,16 @@ var require_extsprintf = __commonJS({
10588
10588
  typeof fmt,
10589
10589
  "first argument must be a format string"
10590
10590
  );
10591
- while ((match22 = re.exec(fmt)) !== null) {
10592
- ret += match22[1];
10593
- fmt = fmt.substring(match22[0].length);
10594
- curconv = match22[0].substring(match22[1].length);
10595
- convposn = posn + match22[1].length + 1;
10596
- posn += match22[0].length;
10597
- flags = match22[2] || "";
10598
- width = match22[3] || 0;
10599
- precision = match22[4] || "";
10600
- conversion = match22[6];
10591
+ while ((match23 = re.exec(fmt)) !== null) {
10592
+ ret += match23[1];
10593
+ fmt = fmt.substring(match23[0].length);
10594
+ curconv = match23[0].substring(match23[1].length);
10595
+ convposn = posn + match23[1].length + 1;
10596
+ posn += match23[0].length;
10597
+ flags = match23[2] || "";
10598
+ width = match23[3] || 0;
10599
+ precision = match23[4] || "";
10600
+ conversion = match23[6];
10601
10601
  left = false;
10602
10602
  sign = false;
10603
10603
  pad = " ";
@@ -12845,14 +12845,14 @@ var require_ms = __commonJS({
12845
12845
  if (str.length > 100) {
12846
12846
  return;
12847
12847
  }
12848
- var match22 = /^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(
12848
+ var match23 = /^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(
12849
12849
  str
12850
12850
  );
12851
- if (!match22) {
12851
+ if (!match23) {
12852
12852
  return;
12853
12853
  }
12854
- var n2 = parseFloat(match22[1]);
12855
- var type = (match22[2] || "ms").toLowerCase();
12854
+ var n2 = parseFloat(match23[1]);
12855
+ var type = (match23[2] || "ms").toLowerCase();
12856
12856
  switch (type) {
12857
12857
  case "years":
12858
12858
  case "year":
@@ -12985,19 +12985,19 @@ var require_common = __commonJS({
12985
12985
  args.unshift("%O");
12986
12986
  }
12987
12987
  let index = 0;
12988
- args[0] = args[0].replace(/%([a-zA-Z%])/g, (match22, format2) => {
12989
- if (match22 === "%%") {
12988
+ args[0] = args[0].replace(/%([a-zA-Z%])/g, (match23, format2) => {
12989
+ if (match23 === "%%") {
12990
12990
  return "%";
12991
12991
  }
12992
12992
  index++;
12993
12993
  const formatter = createDebug.formatters[format2];
12994
12994
  if (typeof formatter === "function") {
12995
12995
  const val = args[index];
12996
- match22 = formatter.call(self2, val);
12996
+ match23 = formatter.call(self2, val);
12997
12997
  args.splice(index, 1);
12998
12998
  index--;
12999
12999
  }
13000
- return match22;
13000
+ return match23;
13001
13001
  });
13002
13002
  createDebug.formatArgs.call(self2, args);
13003
13003
  const logFn = self2.log || createDebug.log;
@@ -13234,12 +13234,12 @@ var require_browser = __commonJS({
13234
13234
  args.splice(1, 0, c2, "color: inherit");
13235
13235
  let index = 0;
13236
13236
  let lastC = 0;
13237
- args[0].replace(/%[a-zA-Z%]/g, (match22) => {
13238
- if (match22 === "%%") {
13237
+ args[0].replace(/%[a-zA-Z%]/g, (match23) => {
13238
+ if (match23 === "%%") {
13239
13239
  return;
13240
13240
  }
13241
13241
  index++;
13242
- if (match22 === "%c") {
13242
+ if (match23 === "%c") {
13243
13243
  lastC = index;
13244
13244
  }
13245
13245
  });
@@ -14425,8 +14425,8 @@ var require_cookies = __commonJS({
14425
14425
  document.cookie = cookie.join("; ");
14426
14426
  },
14427
14427
  read: function read(name) {
14428
- var match22 = document.cookie.match(new RegExp("(^|;\\s*)(" + name + ")=([^;]*)"));
14429
- return match22 ? decodeURIComponent(match22[3]) : null;
14428
+ var match23 = document.cookie.match(new RegExp("(^|;\\s*)(" + name + ")=([^;]*)"));
14429
+ return match23 ? decodeURIComponent(match23[3]) : null;
14430
14430
  },
14431
14431
  remove: function remove(name) {
14432
14432
  this.write(name, "", Date.now() - 864e5);
@@ -15739,10 +15739,10 @@ var require_main = __commonJS({
15739
15739
  const obj = {};
15740
15740
  let lines = src.toString();
15741
15741
  lines = lines.replace(/\r\n?/mg, "\n");
15742
- let match22;
15743
- while ((match22 = LINE.exec(lines)) != null) {
15744
- const key = match22[1];
15745
- let value2 = match22[2] || "";
15742
+ let match23;
15743
+ while ((match23 = LINE.exec(lines)) != null) {
15744
+ const key = match23[1];
15745
+ let value2 = match23[2] || "";
15746
15746
  value2 = value2.trim();
15747
15747
  const maybeQuote = value2[0];
15748
15748
  value2 = value2.replace(/^(['"`])([\s\S]*)\1$/mg, "$2");
@@ -17071,15 +17071,15 @@ var init_TraceState = __esm({
17071
17071
 
17072
17072
  // ../../node_modules/@opentelemetry/core/build/esm/trace/W3CTraceContextPropagator.js
17073
17073
  function parseTraceParent(traceParent) {
17074
- var match22 = TRACE_PARENT_REGEX.exec(traceParent);
17075
- if (!match22)
17074
+ var match23 = TRACE_PARENT_REGEX.exec(traceParent);
17075
+ if (!match23)
17076
17076
  return null;
17077
- if (match22[1] === "00" && match22[5])
17077
+ if (match23[1] === "00" && match23[5])
17078
17078
  return null;
17079
17079
  return {
17080
- traceId: match22[2],
17081
- spanId: match22[3],
17082
- traceFlags: parseInt(match22[4], 16)
17080
+ traceId: match23[2],
17081
+ spanId: match23[3],
17082
+ traceFlags: parseInt(match23[4], 16)
17083
17083
  };
17084
17084
  }
17085
17085
  var TRACE_PARENT_HEADER, TRACE_STATE_HEADER, VERSION2, VERSION_PART, TRACE_ID_PART, PARENT_ID_PART, FLAGS_PART, TRACE_PARENT_REGEX, W3CTraceContextPropagator;
@@ -18181,8 +18181,8 @@ var require_semver = __commonJS({
18181
18181
  }
18182
18182
  if (identifier) {
18183
18183
  const r2 = new RegExp(`^${this.options.loose ? src[t3.PRERELEASELOOSE] : src[t3.PRERELEASE]}$`);
18184
- const match22 = `-${identifier}`.match(r2);
18185
- if (!match22 || match22[1] !== identifier) {
18184
+ const match23 = `-${identifier}`.match(r2);
18185
+ if (!match23 || match23[1] !== identifier) {
18186
18186
  throw new Error(`invalid identifier: ${identifier}`);
18187
18187
  }
18188
18188
  }
@@ -18665,28 +18665,28 @@ var require_coerce = __commonJS({
18665
18665
  return null;
18666
18666
  }
18667
18667
  options = options || {};
18668
- let match22 = null;
18668
+ let match23 = null;
18669
18669
  if (!options.rtl) {
18670
- match22 = version.match(options.includePrerelease ? re[t3.COERCEFULL] : re[t3.COERCE]);
18670
+ match23 = version.match(options.includePrerelease ? re[t3.COERCEFULL] : re[t3.COERCE]);
18671
18671
  } else {
18672
18672
  const coerceRtlRegex = options.includePrerelease ? re[t3.COERCERTLFULL] : re[t3.COERCERTL];
18673
18673
  let next;
18674
- while ((next = coerceRtlRegex.exec(version)) && (!match22 || match22.index + match22[0].length !== version.length)) {
18675
- if (!match22 || next.index + next[0].length !== match22.index + match22[0].length) {
18676
- match22 = next;
18674
+ while ((next = coerceRtlRegex.exec(version)) && (!match23 || match23.index + match23[0].length !== version.length)) {
18675
+ if (!match23 || next.index + next[0].length !== match23.index + match23[0].length) {
18676
+ match23 = next;
18677
18677
  }
18678
18678
  coerceRtlRegex.lastIndex = next.index + next[1].length + next[2].length;
18679
18679
  }
18680
18680
  coerceRtlRegex.lastIndex = -1;
18681
18681
  }
18682
- if (match22 === null) {
18682
+ if (match23 === null) {
18683
18683
  return null;
18684
18684
  }
18685
- const major = match22[2];
18686
- const minor = match22[3] || "0";
18687
- const patch = match22[4] || "0";
18688
- const prerelease = options.includePrerelease && match22[5] ? `-${match22[5]}` : "";
18689
- const build = options.includePrerelease && match22[6] ? `+${match22[6]}` : "";
18685
+ const major = match23[2];
18686
+ const minor = match23[3] || "0";
18687
+ const patch = match23[4] || "0";
18688
+ const prerelease = options.includePrerelease && match23[5] ? `-${match23[5]}` : "";
18689
+ const build = options.includePrerelease && match23[6] ? `+${match23[6]}` : "";
18690
18690
  return parse2(`${major}.${minor}.${patch}${prerelease}${build}`, options);
18691
18691
  };
18692
18692
  module2.exports = coerce2;
@@ -24687,10 +24687,10 @@ var require_utils6 = __commonJS({
24687
24687
  if (!type || typeof type.getFields !== "function" || type[symbols_1.OTEL_PATCHED_SYMBOL]) {
24688
24688
  return;
24689
24689
  }
24690
- const fields9 = type.getFields();
24690
+ const fields10 = type.getFields();
24691
24691
  type[symbols_1.OTEL_PATCHED_SYMBOL] = true;
24692
- Object.keys(fields9).forEach((key) => {
24693
- const field = fields9[key];
24692
+ Object.keys(fields10).forEach((key) => {
24693
+ const field = fields10[key];
24694
24694
  if (!field) {
24695
24695
  return;
24696
24696
  }
@@ -26391,7 +26391,7 @@ var require_instrumentation5 = __commonJS({
26391
26391
  }
26392
26392
  _patchCallbackQuery(span, parentContext) {
26393
26393
  return (originalCallback) => {
26394
- return function(err, results, fields9) {
26394
+ return function(err, results, fields10) {
26395
26395
  if (err) {
26396
26396
  span.setStatus({
26397
26397
  code: api_1.SpanStatusCode.ERROR,
@@ -26704,7 +26704,7 @@ var require_instrumentation6 = __commonJS({
26704
26704
  }
26705
26705
  _patchCallbackQuery(endSpan) {
26706
26706
  return (originalCallback) => {
26707
- return function(err, results, fields9) {
26707
+ return function(err, results, fields10) {
26708
26708
  endSpan(err, results);
26709
26709
  return originalCallback(...arguments);
26710
26710
  };
@@ -32751,20 +32751,20 @@ Expecting one of '${allowedValues.join("', '")}'`);
32751
32751
  let debugOption;
32752
32752
  let debugHost = "127.0.0.1";
32753
32753
  let debugPort = "9229";
32754
- let match22;
32755
- if ((match22 = arg.match(/^(--inspect(-brk)?)$/)) !== null) {
32756
- debugOption = match22[1];
32757
- } else if ((match22 = arg.match(/^(--inspect(-brk|-port)?)=([^:]+)$/)) !== null) {
32758
- debugOption = match22[1];
32759
- if (/^\d+$/.test(match22[3])) {
32760
- debugPort = match22[3];
32754
+ let match23;
32755
+ if ((match23 = arg.match(/^(--inspect(-brk)?)$/)) !== null) {
32756
+ debugOption = match23[1];
32757
+ } else if ((match23 = arg.match(/^(--inspect(-brk|-port)?)=([^:]+)$/)) !== null) {
32758
+ debugOption = match23[1];
32759
+ if (/^\d+$/.test(match23[3])) {
32760
+ debugPort = match23[3];
32761
32761
  } else {
32762
- debugHost = match22[3];
32762
+ debugHost = match23[3];
32763
32763
  }
32764
- } else if ((match22 = arg.match(/^(--inspect(-brk|-port)?)=([^:]+):(\d+)$/)) !== null) {
32765
- debugOption = match22[1];
32766
- debugHost = match22[3];
32767
- debugPort = match22[4];
32764
+ } else if ((match23 = arg.match(/^(--inspect(-brk|-port)?)=([^:]+):(\d+)$/)) !== null) {
32765
+ debugOption = match23[1];
32766
+ debugHost = match23[3];
32767
+ debugPort = match23[4];
32768
32768
  }
32769
32769
  if (debugOption && debugPort !== "0") {
32770
32770
  return `${debugOption}=${debugHost}:${parseInt(debugPort) + 1}`;
@@ -33129,7 +33129,7 @@ var require_batch_queue = __commonJS({
33129
33129
  var fieldCounts = {};
33130
33130
  var batchLen = batch.e.length;
33131
33131
  var events = batch.e.map(function(event) {
33132
- var fields9 = Object.keys(event.f).map(function(field) {
33132
+ var fields10 = Object.keys(event.f).map(function(field) {
33133
33133
  var value2 = event.f[field];
33134
33134
  var key = field + "|" + value2;
33135
33135
  fieldCounts[key] = fieldCounts[key] || 0;
@@ -33137,12 +33137,12 @@ var require_batch_queue = __commonJS({
33137
33137
  return [field, value2, key];
33138
33138
  });
33139
33139
  return _extends2({}, event, {
33140
- f: fields9
33140
+ f: fields10
33141
33141
  });
33142
33142
  });
33143
33143
  var globalFields = {};
33144
33144
  events = events.map(function(event) {
33145
- var fields9 = event.f.reduce(function(res, _ref) {
33145
+ var fields10 = event.f.reduce(function(res, _ref) {
33146
33146
  var _ref2 = _slicedToArray(_ref, 3), field = _ref2[0], value2 = _ref2[1], key = _ref2[2];
33147
33147
  if (fieldCounts[key] === batchLen) {
33148
33148
  globalFields[field] = value2;
@@ -33152,7 +33152,7 @@ var require_batch_queue = __commonJS({
33152
33152
  return res;
33153
33153
  }, {});
33154
33154
  return _extends2({}, event, {
33155
- f: fields9
33155
+ f: fields10
33156
33156
  });
33157
33157
  });
33158
33158
  return _extends2({}, batch, {
@@ -34217,11 +34217,11 @@ var require_shebang_command = __commonJS({
34217
34217
  init_esm_shims();
34218
34218
  var shebangRegex = require_shebang_regex();
34219
34219
  module2.exports = (string = "") => {
34220
- const match22 = string.match(shebangRegex);
34221
- if (!match22) {
34220
+ const match23 = string.match(shebangRegex);
34221
+ if (!match23) {
34222
34222
  return null;
34223
34223
  }
34224
- const [path8, argument] = match22[0].replace(/#! ?/, "").split(" ");
34224
+ const [path8, argument] = match23[0].replace(/#! ?/, "").split(" ");
34225
34225
  const binary = path8.split("/").pop();
34226
34226
  if (binary === "env") {
34227
34227
  return argument;
@@ -34568,10 +34568,10 @@ var require_is_extglob = __commonJS({
34568
34568
  if (typeof str !== "string" || str === "") {
34569
34569
  return false;
34570
34570
  }
34571
- var match22;
34572
- while (match22 = /(\\).|([@?!+*]\(.*\))/g.exec(str)) {
34573
- if (match22[2]) return true;
34574
- str = str.slice(match22.index + match22[0].length);
34571
+ var match23;
34572
+ while (match23 = /(\\).|([@?!+*]\(.*\))/g.exec(str)) {
34573
+ if (match23[2]) return true;
34574
+ str = str.slice(match23.index + match23[0].length);
34575
34575
  }
34576
34576
  return false;
34577
34577
  };
@@ -36050,8 +36050,8 @@ var require_utils17 = __commonJS({
36050
36050
  exports.escapeRegex = (str) => str.replace(REGEX_SPECIAL_CHARS_GLOBAL, "\\$1");
36051
36051
  exports.toPosixSlashes = (str) => str.replace(REGEX_BACKSLASH, "/");
36052
36052
  exports.removeBackslashes = (str) => {
36053
- return str.replace(REGEX_REMOVE_BACKSLASH, (match22) => {
36054
- return match22 === "\\" ? "" : match22;
36053
+ return str.replace(REGEX_REMOVE_BACKSLASH, (match23) => {
36054
+ return match23 === "\\" ? "" : match23;
36055
36055
  });
36056
36056
  };
36057
36057
  exports.supportsLookbehinds = () => {
@@ -36674,10 +36674,10 @@ var require_parse4 = __commonJS({
36674
36674
  push({ type: "text", value: value2 });
36675
36675
  continue;
36676
36676
  }
36677
- const match22 = /^\\+/.exec(remaining());
36677
+ const match23 = /^\\+/.exec(remaining());
36678
36678
  let slashes = 0;
36679
- if (match22 && match22[0].length > 2) {
36680
- slashes = match22[0].length;
36679
+ if (match23 && match23[0].length > 2) {
36680
+ slashes = match23[0].length;
36681
36681
  state.index += slashes;
36682
36682
  if (slashes % 2 !== 0) {
36683
36683
  value2 += "\\";
@@ -36965,10 +36965,10 @@ var require_parse4 = __commonJS({
36965
36965
  if (value2 === "$" || value2 === "^") {
36966
36966
  value2 = `\\${value2}`;
36967
36967
  }
36968
- const match22 = REGEX_NON_SPECIAL_CHARS.exec(remaining());
36969
- if (match22) {
36970
- value2 += match22[0];
36971
- state.index += match22[0].length;
36968
+ const match23 = REGEX_NON_SPECIAL_CHARS.exec(remaining());
36969
+ if (match23) {
36970
+ value2 += match23[0];
36971
+ state.index += match23[0].length;
36972
36972
  }
36973
36973
  push({ type: "text", value: value2 });
36974
36974
  continue;
@@ -37179,11 +37179,11 @@ var require_parse4 = __commonJS({
37179
37179
  case "**/.*":
37180
37180
  return `(?:${nodot}${globstar(opts)}${SLASH_LITERAL})?${DOT_LITERAL}${ONE_CHAR}${star}`;
37181
37181
  default: {
37182
- const match22 = /^(.*?)\.(\w+)$/.exec(str);
37183
- if (!match22) return;
37184
- const source2 = create3(match22[1]);
37182
+ const match23 = /^(.*?)\.(\w+)$/.exec(str);
37183
+ if (!match23) return;
37184
+ const source2 = create3(match23[1]);
37185
37185
  if (!source2) return;
37186
- return source2 + DOT_LITERAL + match22[2];
37186
+ return source2 + DOT_LITERAL + match23[2];
37187
37187
  }
37188
37188
  }
37189
37189
  };
@@ -37236,8 +37236,8 @@ var require_picomatch = __commonJS({
37236
37236
  isIgnored = picomatch(opts.ignore, ignoreOpts, returnState);
37237
37237
  }
37238
37238
  const matcher3 = (input, returnObject = false) => {
37239
- const { isMatch, match: match22, output } = picomatch.test(input, regex2, options, { glob, posix: posix2 });
37240
- const result = { glob, state, regex: regex2, posix: posix2, input, output, match: match22, isMatch };
37239
+ const { isMatch, match: match23, output } = picomatch.test(input, regex2, options, { glob, posix: posix2 });
37240
+ const result = { glob, state, regex: regex2, posix: posix2, input, output, match: match23, isMatch };
37241
37241
  if (typeof opts.onResult === "function") {
37242
37242
  opts.onResult(result);
37243
37243
  }
@@ -37271,20 +37271,20 @@ var require_picomatch = __commonJS({
37271
37271
  }
37272
37272
  const opts = options || {};
37273
37273
  const format2 = opts.format || (posix2 ? utils.toPosixSlashes : null);
37274
- let match22 = input === glob;
37275
- let output = match22 && format2 ? format2(input) : input;
37276
- if (match22 === false) {
37274
+ let match23 = input === glob;
37275
+ let output = match23 && format2 ? format2(input) : input;
37276
+ if (match23 === false) {
37277
37277
  output = format2 ? format2(input) : input;
37278
- match22 = output === glob;
37278
+ match23 = output === glob;
37279
37279
  }
37280
- if (match22 === false || opts.capture === true) {
37280
+ if (match23 === false || opts.capture === true) {
37281
37281
  if (opts.matchBase === true || opts.basename === true) {
37282
- match22 = picomatch.matchBase(input, regex2, options, posix2);
37282
+ match23 = picomatch.matchBase(input, regex2, options, posix2);
37283
37283
  } else {
37284
- match22 = regex2.exec(output);
37284
+ match23 = regex2.exec(output);
37285
37285
  }
37286
37286
  }
37287
- return { isMatch: Boolean(match22), match: match22, output };
37287
+ return { isMatch: Boolean(match23), match: match23, output };
37288
37288
  };
37289
37289
  picomatch.matchBase = (input, glob, options, posix2 = utils.isWindows(options)) => {
37290
37290
  const regex2 = glob instanceof RegExp ? glob : picomatch.makeRe(glob, options);
@@ -37382,8 +37382,8 @@ var require_micromatch = __commonJS({
37382
37382
  if (negated) negatives++;
37383
37383
  for (let item of list) {
37384
37384
  let matched = isMatch(item, true);
37385
- let match22 = negated ? !matched.isMatch : matched.isMatch;
37386
- if (!match22) continue;
37385
+ let match23 = negated ? !matched.isMatch : matched.isMatch;
37386
+ if (!match23) continue;
37387
37387
  if (negated) {
37388
37388
  omit2.add(matched.output);
37389
37389
  } else {
@@ -37479,9 +37479,9 @@ var require_micromatch = __commonJS({
37479
37479
  micromatch.capture = (glob, input, options) => {
37480
37480
  let posix2 = utils.isWindows(options);
37481
37481
  let regex2 = picomatch.makeRe(String(glob), { ...options, capture: true });
37482
- let match22 = regex2.exec(posix2 ? utils.toPosixSlashes(input) : input);
37483
- if (match22) {
37484
- return match22.slice(1).map((v) => v === void 0 ? "" : v);
37482
+ let match23 = regex2.exec(posix2 ? utils.toPosixSlashes(input) : input);
37483
+ if (match23) {
37484
+ return match23.slice(1).map((v) => v === void 0 ? "" : v);
37485
37485
  }
37486
37486
  };
37487
37487
  micromatch.makeRe = (...args) => picomatch.makeRe(...args);
@@ -39410,7 +39410,7 @@ var require_partial = __commonJS({
39410
39410
  if (!pattern.complete && levels > section.length) {
39411
39411
  return true;
39412
39412
  }
39413
- const match22 = parts.every((part, index) => {
39413
+ const match23 = parts.every((part, index) => {
39414
39414
  const segment = pattern.segments[index];
39415
39415
  if (segment.dynamic && segment.patternRe.test(part)) {
39416
39416
  return true;
@@ -39420,7 +39420,7 @@ var require_partial = __commonJS({
39420
39420
  }
39421
39421
  return false;
39422
39422
  });
39423
- if (match22) {
39423
+ if (match23) {
39424
39424
  return true;
39425
39425
  }
39426
39426
  }
@@ -40036,7 +40036,7 @@ var require_ignore = __commonJS({
40036
40036
  var RETURN_FALSE = () => false;
40037
40037
  var sanitizeRange = (range) => range.replace(
40038
40038
  REGEX_REGEXP_RANGE,
40039
- (match22, from, to) => from.charCodeAt(0) <= to.charCodeAt(0) ? match22 : EMPTY
40039
+ (match23, from, to) => from.charCodeAt(0) <= to.charCodeAt(0) ? match23 : EMPTY
40040
40040
  );
40041
40041
  var cleanRangeBackSlash = (slashes) => {
40042
40042
  const { length } = slashes;
@@ -40088,7 +40088,7 @@ var require_ignore = __commonJS({
40088
40088
  // > These special characters are often called "metacharacters".
40089
40089
  [
40090
40090
  /[\\$.|*+(){^]/g,
40091
- (match22) => `\\${match22}`
40091
+ (match23) => `\\${match23}`
40092
40092
  ],
40093
40093
  [
40094
40094
  // > a question mark (?) matches a single character
@@ -40170,7 +40170,7 @@ var require_ignore = __commonJS({
40170
40170
  // > can be used to match one of the characters in a range.
40171
40171
  // `\` is escaped by step 3
40172
40172
  /(\\)?\[([^\]/]*?)(\\*)($|\])/g,
40173
- (match22, leadEscape, range, endEscape, close2) => leadEscape === ESCAPE ? `\\[${range}${cleanRangeBackSlash(endEscape)}${close2}` : close2 === "]" ? endEscape.length % 2 === 0 ? `[${sanitizeRange(range)}${endEscape}]` : "[]" : "[]"
40173
+ (match23, leadEscape, range, endEscape, close2) => leadEscape === ESCAPE ? `\\[${range}${cleanRangeBackSlash(endEscape)}${close2}` : close2 === "]" ? endEscape.length % 2 === 0 ? `[${sanitizeRange(range)}${endEscape}]` : "[]" : "[]"
40174
40174
  ],
40175
40175
  // ending
40176
40176
  [
@@ -40187,7 +40187,7 @@ var require_ignore = __commonJS({
40187
40187
  // 'js*' will not match 'a.js'
40188
40188
  // 'js/' will not match 'a.js'
40189
40189
  // 'js' will match 'a.js' and 'a.js/'
40190
- (match22) => /\/$/.test(match22) ? `${match22}$` : `${match22}(?=$|\\/$)`
40190
+ (match23) => /\/$/.test(match23) ? `${match23}$` : `${match23}(?=$|\\/$)`
40191
40191
  ]
40192
40192
  ];
40193
40193
  var REGEX_REPLACE_TRAILING_WILDCARD = /(^|\\\/)?\\\*$/;
@@ -40533,11 +40533,11 @@ var require_ini = __commonJS({
40533
40533
  lines.forEach(function(line, _2, __) {
40534
40534
  if (!line || line.match(/^\s*[;#]/))
40535
40535
  return;
40536
- var match22 = line.match(re);
40537
- if (!match22)
40536
+ var match23 = line.match(re);
40537
+ if (!match23)
40538
40538
  return;
40539
- if (match22[1] !== void 0) {
40540
- section = unsafe(match22[1]);
40539
+ if (match23[1] !== void 0) {
40540
+ section = unsafe(match23[1]);
40541
40541
  if (section === "__proto__") {
40542
40542
  p = {};
40543
40543
  return;
@@ -40545,10 +40545,10 @@ var require_ini = __commonJS({
40545
40545
  p = out[section] = out[section] || {};
40546
40546
  return;
40547
40547
  }
40548
- var key = unsafe(match22[2]);
40548
+ var key = unsafe(match23[2]);
40549
40549
  if (key === "__proto__")
40550
40550
  return;
40551
- var value2 = match22[3] ? unsafe(match22[4]) : true;
40551
+ var value2 = match23[3] ? unsafe(match23[4]) : true;
40552
40552
  switch (value2) {
40553
40553
  case "true":
40554
40554
  case "false":
@@ -41089,7 +41089,7 @@ var require_rc = __commonJS({
41089
41089
  "use strict";
41090
41090
  init_esm_shims();
41091
41091
  var cc = require_utils20();
41092
- var join14 = __require("path").join;
41092
+ var join15 = __require("path").join;
41093
41093
  var deepExtend2 = require_deep_extend();
41094
41094
  var etc = "/etc";
41095
41095
  var win = process.platform === "win32";
@@ -41114,15 +41114,15 @@ var require_rc = __commonJS({
41114
41114
  }
41115
41115
  if (!win)
41116
41116
  [
41117
- join14(etc, name, "config"),
41118
- join14(etc, name + "rc")
41117
+ join15(etc, name, "config"),
41118
+ join15(etc, name + "rc")
41119
41119
  ].forEach(addConfigFile);
41120
41120
  if (home)
41121
41121
  [
41122
- join14(home, ".config", name, "config"),
41123
- join14(home, ".config", name),
41124
- join14(home, "." + name, "config"),
41125
- join14(home, "." + name + "rc")
41122
+ join15(home, ".config", name, "config"),
41123
+ join15(home, ".config", name),
41124
+ join15(home, "." + name, "config"),
41125
+ join15(home, "." + name + "rc")
41126
41126
  ].forEach(addConfigFile);
41127
41127
  addConfigFile(cc.find("." + name + "rc"));
41128
41128
  if (env3.config) addConfigFile(env3.config);
@@ -43798,8 +43798,8 @@ function encode_char(c) {
43798
43798
  }
43799
43799
  };
43800
43800
  exports.hyphenToCamel = function(str) {
43801
- return str.replace(/-[a-z]/g, function(match22) {
43802
- return match22[1].toUpperCase();
43801
+ return str.replace(/-[a-z]/g, function(match23) {
43802
+ return match23[1].toUpperCase();
43803
43803
  });
43804
43804
  };
43805
43805
  exports.createNullProtoObjWherePossible = function() {
@@ -43937,8 +43937,8 @@ var require_ejs = __commonJS({
43937
43937
  var includePath;
43938
43938
  var filePath;
43939
43939
  var views = options.views;
43940
- var match22 = /^[A-Za-z]+:\\|^\//.exec(path9);
43941
- if (match22 && match22.length) {
43940
+ var match23 = /^[A-Za-z]+:\\|^\//.exec(path9);
43941
+ if (match23 && match23.length) {
43942
43942
  path9 = path9.replace(/^\/*/, "");
43943
43943
  if (Array.isArray(options.root)) {
43944
43944
  includePath = resolvePaths(path9, options.root);
@@ -45136,31 +45136,31 @@ var require_timestamp = __commonJS({
45136
45136
  return false;
45137
45137
  }
45138
45138
  function constructYamlTimestamp(data) {
45139
- var match22, year, month, day, hour, minute, second, fraction = 0, delta = null, tz_hour, tz_minute, date;
45140
- match22 = YAML_DATE_REGEXP.exec(data);
45141
- if (match22 === null) match22 = YAML_TIMESTAMP_REGEXP.exec(data);
45142
- if (match22 === null) throw new Error("Date resolve error");
45143
- year = +match22[1];
45144
- month = +match22[2] - 1;
45145
- day = +match22[3];
45146
- if (!match22[4]) {
45139
+ var match23, year, month, day, hour, minute, second, fraction = 0, delta = null, tz_hour, tz_minute, date;
45140
+ match23 = YAML_DATE_REGEXP.exec(data);
45141
+ if (match23 === null) match23 = YAML_TIMESTAMP_REGEXP.exec(data);
45142
+ if (match23 === null) throw new Error("Date resolve error");
45143
+ year = +match23[1];
45144
+ month = +match23[2] - 1;
45145
+ day = +match23[3];
45146
+ if (!match23[4]) {
45147
45147
  return new Date(Date.UTC(year, month, day));
45148
45148
  }
45149
- hour = +match22[4];
45150
- minute = +match22[5];
45151
- second = +match22[6];
45152
- if (match22[7]) {
45153
- fraction = match22[7].slice(0, 3);
45149
+ hour = +match23[4];
45150
+ minute = +match23[5];
45151
+ second = +match23[6];
45152
+ if (match23[7]) {
45153
+ fraction = match23[7].slice(0, 3);
45154
45154
  while (fraction.length < 3) {
45155
45155
  fraction += "0";
45156
45156
  }
45157
45157
  fraction = +fraction;
45158
45158
  }
45159
- if (match22[9]) {
45160
- tz_hour = +match22[10];
45161
- tz_minute = +(match22[11] || 0);
45159
+ if (match23[9]) {
45160
+ tz_hour = +match23[10];
45161
+ tz_minute = +(match23[11] || 0);
45162
45162
  delta = (tz_hour * 60 + tz_minute) * 6e4;
45163
- if (match22[9] === "-") delta = -delta;
45163
+ if (match23[9] === "-") delta = -delta;
45164
45164
  }
45165
45165
  date = new Date(Date.UTC(year, month, day, hour, minute, second, fraction));
45166
45166
  if (delta) date.setTime(date.getTime() - delta);
@@ -45685,19 +45685,19 @@ var require_loader = __commonJS({
45685
45685
  }
45686
45686
  var directiveHandlers = {
45687
45687
  YAML: function handleYamlDirective(state, name, args) {
45688
- var match22, major, minor;
45688
+ var match23, major, minor;
45689
45689
  if (state.version !== null) {
45690
45690
  throwError(state, "duplication of %YAML directive");
45691
45691
  }
45692
45692
  if (args.length !== 1) {
45693
45693
  throwError(state, "YAML directive accepts exactly one argument");
45694
45694
  }
45695
- match22 = /^([0-9]+)\.([0-9]+)$/.exec(args[0]);
45696
- if (match22 === null) {
45695
+ match23 = /^([0-9]+)\.([0-9]+)$/.exec(args[0]);
45696
+ if (match23 === null) {
45697
45697
  throwError(state, "ill-formed argument of the YAML directive");
45698
45698
  }
45699
- major = parseInt(match22[1], 10);
45700
- minor = parseInt(match22[2], 10);
45699
+ major = parseInt(match23[1], 10);
45700
+ minor = parseInt(match23[2], 10);
45701
45701
  if (major !== 1) {
45702
45702
  throwError(state, "unacceptable YAML version of the document");
45703
45703
  }
@@ -46944,9 +46944,9 @@ var require_dumper = __commonJS({
46944
46944
  }();
46945
46945
  var prevMoreIndented = string[0] === "\n" || string[0] === " ";
46946
46946
  var moreIndented;
46947
- var match22;
46948
- while (match22 = lineRe.exec(string)) {
46949
- var prefix = match22[1], line = match22[2];
46947
+ var match23;
46948
+ while (match23 = lineRe.exec(string)) {
46949
+ var prefix = match23[1], line = match23[2];
46950
46950
  moreIndented = line[0] === " ";
46951
46951
  result += prefix + (!prevMoreIndented && !moreIndented && line !== "" ? "\n" : "") + foldLine(line, width);
46952
46952
  prevMoreIndented = moreIndented;
@@ -46956,11 +46956,11 @@ var require_dumper = __commonJS({
46956
46956
  function foldLine(line, width) {
46957
46957
  if (line === "" || line[0] === " ") return line;
46958
46958
  var breakRe = / [^ ]/g;
46959
- var match22;
46959
+ var match23;
46960
46960
  var start = 0, end, curr = 0, next = 0;
46961
46961
  var result = "";
46962
- while (match22 = breakRe.exec(line)) {
46963
- next = match22.index;
46962
+ while (match23 = breakRe.exec(line)) {
46963
+ next = match23.index;
46964
46964
  if (next - start > width) {
46965
46965
  end = curr > start ? curr : next;
46966
46966
  result += "\n" + line.slice(start, end);
@@ -47297,10 +47297,10 @@ var require_front_matter = __commonJS({
47297
47297
  };
47298
47298
  }
47299
47299
  }
47300
- function computeLocation(match22, body) {
47300
+ function computeLocation(match23, body) {
47301
47301
  var line = 1;
47302
47302
  var pos = body.indexOf("\n");
47303
- var offset = match22.index + match22[0].length;
47303
+ var offset = match23.index + match23[0].length;
47304
47304
  while (pos !== -1) {
47305
47305
  if (pos >= offset) {
47306
47306
  return line;
@@ -47311,8 +47311,8 @@ var require_front_matter = __commonJS({
47311
47311
  return line;
47312
47312
  }
47313
47313
  function parse2(string, allowUnsafe) {
47314
- var match22 = regex2.exec(string);
47315
- if (!match22) {
47314
+ var match23 = regex2.exec(string);
47315
+ if (!match23) {
47316
47316
  return {
47317
47317
  attributes: {},
47318
47318
  body: string,
@@ -47320,10 +47320,10 @@ var require_front_matter = __commonJS({
47320
47320
  };
47321
47321
  }
47322
47322
  var loader = allowUnsafe ? parser.load : parser.safeLoad;
47323
- var yaml = match22[match22.length - 1].replace(/^\s+|\s+$/g, "");
47323
+ var yaml = match23[match23.length - 1].replace(/^\s+|\s+$/g, "");
47324
47324
  var attributes = loader(yaml) || {};
47325
- var body = string.replace(match22[0], "");
47326
- var line = computeLocation(match22, string);
47325
+ var body = string.replace(match23[0], "");
47326
+ var line = computeLocation(match23, string);
47327
47327
  return {
47328
47328
  attributes,
47329
47329
  body,
@@ -47340,7 +47340,7 @@ var require_front_matter = __commonJS({
47340
47340
 
47341
47341
  // src/index.tsx
47342
47342
  init_esm_shims();
47343
- var import_react115 = __toESM(require_react(), 1);
47343
+ var import_react117 = __toESM(require_react(), 1);
47344
47344
  import { cwd as cwd2 } from "node:process";
47345
47345
 
47346
47346
  // ../cli-telemetry-react/src/index.ts
@@ -47520,12 +47520,12 @@ var getAllProperties = (object) => {
47520
47520
  };
47521
47521
  function autoBind(self2, { include, exclude } = {}) {
47522
47522
  const filter = (key) => {
47523
- const match22 = (pattern) => typeof pattern === "string" ? key === pattern : pattern.test(key);
47523
+ const match23 = (pattern) => typeof pattern === "string" ? key === pattern : pattern.test(key);
47524
47524
  if (include) {
47525
- return include.some(match22);
47525
+ return include.some(match23);
47526
47526
  }
47527
47527
  if (exclude) {
47528
- return !exclude.some(match22);
47528
+ return !exclude.some(match23);
47529
47529
  }
47530
47530
  return true;
47531
47531
  };
@@ -57998,6 +57998,7 @@ var CliSystemErrorCode = (0, import_variant11.variant)({
57998
57998
  FailedCreatingAppProject: {},
57999
57999
  FailedCreatingAppDeployment: {},
58000
58000
  FailedFinalizingAppDeployment: {},
58001
+ FailedCreatingNewFunnelProject: {},
58001
58002
  FailedToFindAstroConfig: {}
58002
58003
  });
58003
58004
  var CliUserErrorCode = (0, import_variant11.variant)({
@@ -61041,9 +61042,9 @@ init_esm_shims();
61041
61042
  var DATE_TIME_REGEX = /(?:[Eec]{1,6}|G{1,5}|[Qq]{1,5}|(?:[yYur]+|U{1,5})|[ML]{1,5}|d{1,2}|D{1,3}|F{1}|[abB]{1,5}|[hkHK]{1,2}|w{1,2}|W{1}|m{1,2}|s{1,2}|[zZOvVxX]{1,4})(?=([^']*'[^']*')*[^']*$)/g;
61042
61043
  function parseDateTimeSkeleton(skeleton) {
61043
61044
  var result = {};
61044
- skeleton.replace(DATE_TIME_REGEX, function(match22) {
61045
- var len = match22.length;
61046
- switch (match22[0]) {
61045
+ skeleton.replace(DATE_TIME_REGEX, function(match23) {
61046
+ var len = match23.length;
61047
+ switch (match23[0]) {
61047
61048
  // Era
61048
61049
  case "G":
61049
61050
  result.era = len === 4 ? "long" : len === 5 ? "narrow" : "short";
@@ -63053,21 +63054,21 @@ if (REGEX_SUPPORTS_U_AND_Y) {
63053
63054
  matchIdentifierAtIndex = function matchIdentifierAtIndex2(s2, index) {
63054
63055
  var _a3;
63055
63056
  IDENTIFIER_PREFIX_RE_1.lastIndex = index;
63056
- var match22 = IDENTIFIER_PREFIX_RE_1.exec(s2);
63057
- return (_a3 = match22[1]) !== null && _a3 !== void 0 ? _a3 : "";
63057
+ var match23 = IDENTIFIER_PREFIX_RE_1.exec(s2);
63058
+ return (_a3 = match23[1]) !== null && _a3 !== void 0 ? _a3 : "";
63058
63059
  };
63059
63060
  } else {
63060
63061
  matchIdentifierAtIndex = function matchIdentifierAtIndex2(s2, index) {
63061
- var match22 = [];
63062
+ var match23 = [];
63062
63063
  while (true) {
63063
63064
  var c2 = codePointAt(s2, index);
63064
63065
  if (c2 === void 0 || _isWhiteSpace(c2) || _isPatternSyntax(c2)) {
63065
63066
  break;
63066
63067
  }
63067
- match22.push(c2);
63068
+ match23.push(c2);
63068
63069
  index += c2 >= 65536 ? 2 : 1;
63069
63070
  }
63070
- return fromCodePoint.apply(void 0, match22);
63071
+ return fromCodePoint.apply(void 0, match23);
63071
63072
  };
63072
63073
  }
63073
63074
  var IDENTIFIER_PREFIX_RE_1;
@@ -65490,7 +65491,7 @@ var Interpolator = class {
65490
65491
  this.nestingRegexp = getOrResetRegExp(this.nestingRegexp, `${this.nestingPrefix}(.+?)${this.nestingSuffix}`);
65491
65492
  }
65492
65493
  interpolate(str, data, lng, options) {
65493
- let match22;
65494
+ let match23;
65494
65495
  let value2;
65495
65496
  let replaces;
65496
65497
  const defaultData = this.options && this.options.interpolation && this.options.interpolation.defaultVariables || {};
@@ -65524,17 +65525,17 @@ var Interpolator = class {
65524
65525
  }];
65525
65526
  todos.forEach((todo) => {
65526
65527
  replaces = 0;
65527
- while (match22 = todo.regex.exec(str)) {
65528
- const matchedVar = match22[1].trim();
65528
+ while (match23 = todo.regex.exec(str)) {
65529
+ const matchedVar = match23[1].trim();
65529
65530
  value2 = handleFormat(matchedVar);
65530
65531
  if (value2 === void 0) {
65531
65532
  if (typeof missingInterpolationHandler === "function") {
65532
- const temp = missingInterpolationHandler(str, match22, options);
65533
+ const temp = missingInterpolationHandler(str, match23, options);
65533
65534
  value2 = isString2(temp) ? temp : "";
65534
65535
  } else if (options && Object.prototype.hasOwnProperty.call(options, matchedVar)) {
65535
65536
  value2 = "";
65536
65537
  } else if (skipOnVariables) {
65537
- value2 = match22[0];
65538
+ value2 = match23[0];
65538
65539
  continue;
65539
65540
  } else {
65540
65541
  this.logger.warn(`missed to pass in variable ${matchedVar} for interpolating ${str}`);
@@ -65544,10 +65545,10 @@ var Interpolator = class {
65544
65545
  value2 = makeString(value2);
65545
65546
  }
65546
65547
  const safeValue = todo.safeValue(value2);
65547
- str = str.replace(match22[0], safeValue);
65548
+ str = str.replace(match23[0], safeValue);
65548
65549
  if (skipOnVariables) {
65549
65550
  todo.regex.lastIndex += value2.length;
65550
- todo.regex.lastIndex -= match22[0].length;
65551
+ todo.regex.lastIndex -= match23[0].length;
65551
65552
  } else {
65552
65553
  todo.regex.lastIndex = 0;
65553
65554
  }
@@ -65561,7 +65562,7 @@ var Interpolator = class {
65561
65562
  }
65562
65563
  nest(str, fc) {
65563
65564
  let options = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : {};
65564
- let match22;
65565
+ let match23;
65565
65566
  let value2;
65566
65567
  let clonedOptions;
65567
65568
  const handleHasOptions = (key, inheritedOptions) => {
@@ -65589,7 +65590,7 @@ var Interpolator = class {
65589
65590
  if (clonedOptions.defaultValue && clonedOptions.defaultValue.indexOf(this.prefix) > -1) delete clonedOptions.defaultValue;
65590
65591
  return key;
65591
65592
  };
65592
- while (match22 = this.nestingRegexp.exec(str)) {
65593
+ while (match23 = this.nestingRegexp.exec(str)) {
65593
65594
  let formatters = [];
65594
65595
  clonedOptions = {
65595
65596
  ...options
@@ -65598,26 +65599,26 @@ var Interpolator = class {
65598
65599
  clonedOptions.applyPostProcessor = false;
65599
65600
  delete clonedOptions.defaultValue;
65600
65601
  let doReduce = false;
65601
- if (match22[0].indexOf(this.formatSeparator) !== -1 && !/{.*}/.test(match22[1])) {
65602
- const r2 = match22[1].split(this.formatSeparator).map((elem) => elem.trim());
65603
- match22[1] = r2.shift();
65602
+ if (match23[0].indexOf(this.formatSeparator) !== -1 && !/{.*}/.test(match23[1])) {
65603
+ const r2 = match23[1].split(this.formatSeparator).map((elem) => elem.trim());
65604
+ match23[1] = r2.shift();
65604
65605
  formatters = r2;
65605
65606
  doReduce = true;
65606
65607
  }
65607
- value2 = fc(handleHasOptions.call(this, match22[1].trim(), clonedOptions), clonedOptions);
65608
- if (value2 && match22[0] === str && !isString2(value2)) return value2;
65608
+ value2 = fc(handleHasOptions.call(this, match23[1].trim(), clonedOptions), clonedOptions);
65609
+ if (value2 && match23[0] === str && !isString2(value2)) return value2;
65609
65610
  if (!isString2(value2)) value2 = makeString(value2);
65610
65611
  if (!value2) {
65611
- this.logger.warn(`missed to resolve ${match22[1]} for nesting ${str}`);
65612
+ this.logger.warn(`missed to resolve ${match23[1]} for nesting ${str}`);
65612
65613
  value2 = "";
65613
65614
  }
65614
65615
  if (doReduce) {
65615
65616
  value2 = formatters.reduce((v, f) => this.format(v, f, options.lng, {
65616
65617
  ...options,
65617
- interpolationkey: match22[1].trim()
65618
+ interpolationkey: match23[1].trim()
65618
65619
  }), value2.trim());
65619
65620
  }
65620
- str = str.replace(match22[0], value2);
65621
+ str = str.replace(match23[0], value2);
65621
65622
  this.regexp.lastIndex = 0;
65622
65623
  }
65623
65624
  return str;
@@ -66740,8 +66741,8 @@ async function defaultBrowserId() {
66740
66741
  throw new Error("macOS only");
66741
66742
  }
66742
66743
  const { stdout } = await execFileAsync("defaults", ["read", "com.apple.LaunchServices/com.apple.launchservices.secure", "LSHandlers"]);
66743
- const match22 = /LSHandlerRoleAll = "(?!-)(?<id>[^"]+?)";\s+?LSHandlerURLScheme = (?:http|https);/.exec(stdout);
66744
- return match22?.groups.id ?? "com.apple.Safari";
66744
+ const match23 = /LSHandlerRoleAll = "(?!-)(?<id>[^"]+?)";\s+?LSHandlerURLScheme = (?:http|https);/.exec(stdout);
66745
+ return match23?.groups.id ?? "com.apple.Safari";
66745
66746
  }
66746
66747
 
66747
66748
  // ../../node_modules/bundle-name/index.js
@@ -66795,11 +66796,11 @@ async function defaultBrowser(_execFileAsync = execFileAsync3) {
66795
66796
  "/v",
66796
66797
  "ProgId"
66797
66798
  ]);
66798
- const match22 = /ProgId\s*REG_SZ\s*(?<id>\S+)/.exec(stdout);
66799
- if (!match22) {
66799
+ const match23 = /ProgId\s*REG_SZ\s*(?<id>\S+)/.exec(stdout);
66800
+ if (!match23) {
66800
66801
  throw new UnknownBrowserError(`Cannot find Windows browser in stdout: ${JSON.stringify(stdout)}`);
66801
66802
  }
66802
- const { id } = match22.groups;
66803
+ const { id } = match23.groups;
66803
66804
  const browser = windowsBrowserProgIds[id];
66804
66805
  if (!browser) {
66805
66806
  throw new UnknownBrowserError(`Unknown browser ID: ${id}`);
@@ -67206,9 +67207,9 @@ var reDetectIndentation = /(?:\r\n|\r|\n)([ \t]*)(?:[^ \t\r\n]|$)/;
67206
67207
  var reOnlyWhitespaceWithAtLeastOneNewline = /^[ \t]*[\r\n][ \t\r\n]*$/;
67207
67208
  function _outdentArray(strings, firstInterpolatedValueSetsIndentationLevel, options) {
67208
67209
  var indentationLevel = 0;
67209
- var match22 = strings[0].match(reDetectIndentation);
67210
- if (match22) {
67211
- indentationLevel = match22[1].length;
67210
+ var match23 = strings[0].match(reDetectIndentation);
67211
+ if (match23) {
67212
+ indentationLevel = match23[1].length;
67212
67213
  }
67213
67214
  var reSource = "(\\r\\n|\\r|\\n).{0," + indentationLevel + "}";
67214
67215
  var reMatchIndent = new RegExp(reSource, "g");
@@ -68695,6 +68696,9 @@ ${errorMessage2}`
68695
68696
  FailedFinalizingAppDeployment: () => {
68696
68697
  return () => /* @__PURE__ */ import_react77.default.createElement(SystemErrorMessage, { message: "An error occoured while completing app deployment." });
68697
68698
  },
68699
+ FailedCreatingNewFunnelProject: () => {
68700
+ return () => /* @__PURE__ */ import_react77.default.createElement(SystemErrorMessage, { message: "An error occurred while creating a new business." });
68701
+ },
68698
68702
  BuildOutputMissing: ({ reason }) => {
68699
68703
  return () => /* @__PURE__ */ import_react77.default.createElement(
68700
68704
  ErrorMessage,
@@ -69380,8 +69384,8 @@ var LINUX_VERSIONS = {
69380
69384
  ubuntu: (content) => matchFirst(/distrib_release=(.*)/, content)
69381
69385
  };
69382
69386
  function matchFirst(regex2, text) {
69383
- const match22 = regex2.exec(text);
69384
- return match22 ? match22[1] : void 0;
69387
+ const match23 = regex2.exec(text);
69388
+ return match23 ? match23[1] : void 0;
69385
69389
  }
69386
69390
  async function getDarwinInfo() {
69387
69391
  const darwinInfo = {
@@ -72266,7 +72270,7 @@ function reportCommandStartEvent({
72266
72270
  var package_default = {
72267
72271
  name: "@wix/create-app",
72268
72272
  description: "Create Wix apps",
72269
- version: "0.0.124",
72273
+ version: "0.0.125",
72270
72274
  author: "Ihor Machuzhak",
72271
72275
  bin: "bin/index.cjs",
72272
72276
  devDependencies: {
@@ -72395,8 +72399,8 @@ var createBiLogger2 = async (errorReporter2, userId) => {
72395
72399
 
72396
72400
  // src/components/CreateAppCommand.tsx
72397
72401
  init_esm_shims();
72398
- var import_react114 = __toESM(require_react(), 1);
72399
- var import_variant41 = __toESM(require_lib(), 1);
72402
+ var import_react116 = __toESM(require_react(), 1);
72403
+ var import_variant43 = __toESM(require_lib(), 1);
72400
72404
 
72401
72405
  // ../package-manager/src/index.ts
72402
72406
  init_esm_shims();
@@ -75674,8 +75678,8 @@ var AuthProvider = ({ userInfo: userInfo2, children }) => {
75674
75678
 
75675
75679
  // src/components/Questions/Questions.tsx
75676
75680
  init_esm_shims();
75677
- var import_react110 = __toESM(require_react(), 1);
75678
- var import_variant37 = __toESM(require_lib(), 1);
75681
+ var import_react111 = __toESM(require_react(), 1);
75682
+ var import_variant39 = __toESM(require_lib(), 1);
75679
75683
 
75680
75684
  // ../dev-center-client/src/index.ts
75681
75685
  init_esm_shims();
@@ -78262,6 +78266,7 @@ var Tag;
78262
78266
  Tag3["ADD_TO_CATEGORY"] = "ADD_TO_CATEGORY";
78263
78267
  Tag3["MY_BUSINESS"] = "MY_BUSINESS";
78264
78268
  Tag3["PIPELINE_LINKED_ENTITY"] = "PIPELINE_LINKED_ENTITY";
78269
+ Tag3["GET_PAID"] = "GET_PAID";
78265
78270
  })(Tag || (Tag = {}));
78266
78271
  var FilterSelectionType;
78267
78272
  (function(FilterSelectionType3) {
@@ -79329,6 +79334,124 @@ var CssDataType;
79329
79334
  CssDataType3["string"] = "string";
79330
79335
  CssDataType3["time"] = "time";
79331
79336
  })(CssDataType || (CssDataType = {}));
79337
+ var StyleType;
79338
+ (function(StyleType3) {
79339
+ StyleType3["UNKNOWN_StyleType"] = "UNKNOWN_StyleType";
79340
+ StyleType3["number"] = "number";
79341
+ StyleType3["string"] = "string";
79342
+ StyleType3["angle"] = "angle";
79343
+ StyleType3["length"] = "length";
79344
+ StyleType3["percentage"] = "percentage";
79345
+ StyleType3["lengthPercentage"] = "lengthPercentage";
79346
+ StyleType3["blendMode"] = "blendMode";
79347
+ StyleType3["customEnum"] = "customEnum";
79348
+ StyleType3["time"] = "time";
79349
+ StyleType3["background"] = "background";
79350
+ StyleType3["backgroundSize"] = "backgroundSize";
79351
+ StyleType3["backgroundColor"] = "backgroundColor";
79352
+ StyleType3["backgroundImage"] = "backgroundImage";
79353
+ StyleType3["backgroundClip"] = "backgroundClip";
79354
+ StyleType3["backgroundOrigin"] = "backgroundOrigin";
79355
+ StyleType3["backgroundPosition"] = "backgroundPosition";
79356
+ StyleType3["backgroundRepeat"] = "backgroundRepeat";
79357
+ StyleType3["backgroundAttachment"] = "backgroundAttachment";
79358
+ StyleType3["margin"] = "margin";
79359
+ StyleType3["marginTop"] = "marginTop";
79360
+ StyleType3["marginRight"] = "marginRight";
79361
+ StyleType3["marginBottom"] = "marginBottom";
79362
+ StyleType3["marginLeft"] = "marginLeft";
79363
+ StyleType3["marginInlineStart"] = "marginInlineStart";
79364
+ StyleType3["marginInlineEnd"] = "marginInlineEnd";
79365
+ StyleType3["padding"] = "padding";
79366
+ StyleType3["paddingTop"] = "paddingTop";
79367
+ StyleType3["paddingRight"] = "paddingRight";
79368
+ StyleType3["paddingBottom"] = "paddingBottom";
79369
+ StyleType3["paddingLeft"] = "paddingLeft";
79370
+ StyleType3["paddingInlineStart"] = "paddingInlineStart";
79371
+ StyleType3["paddingInlineEnd"] = "paddingInlineEnd";
79372
+ StyleType3["border"] = "border";
79373
+ StyleType3["borderWidth"] = "borderWidth";
79374
+ StyleType3["borderStyle"] = "borderStyle";
79375
+ StyleType3["borderColor"] = "borderColor";
79376
+ StyleType3["borderTop"] = "borderTop";
79377
+ StyleType3["borderTopColor"] = "borderTopColor";
79378
+ StyleType3["borderTopWidth"] = "borderTopWidth";
79379
+ StyleType3["borderTopStyle"] = "borderTopStyle";
79380
+ StyleType3["borderRight"] = "borderRight";
79381
+ StyleType3["borderRightColor"] = "borderRightColor";
79382
+ StyleType3["borderRightWidth"] = "borderRightWidth";
79383
+ StyleType3["borderRightStyle"] = "borderRightStyle";
79384
+ StyleType3["borderBottom"] = "borderBottom";
79385
+ StyleType3["borderBottomColor"] = "borderBottomColor";
79386
+ StyleType3["borderBottomWidth"] = "borderBottomWidth";
79387
+ StyleType3["borderBottomStyle"] = "borderBottomStyle";
79388
+ StyleType3["borderLeft"] = "borderLeft";
79389
+ StyleType3["borderLeftColor"] = "borderLeftColor";
79390
+ StyleType3["borderLeftWidth"] = "borderLeftWidth";
79391
+ StyleType3["borderLeftStyle"] = "borderLeftStyle";
79392
+ StyleType3["borderInlineStart"] = "borderInlineStart";
79393
+ StyleType3["borderInlineStartColor"] = "borderInlineStartColor";
79394
+ StyleType3["borderInlineStartWidth"] = "borderInlineStartWidth";
79395
+ StyleType3["borderInlineStartStyle"] = "borderInlineStartStyle";
79396
+ StyleType3["borderInlineEnd"] = "borderInlineEnd";
79397
+ StyleType3["borderInlineEndColor"] = "borderInlineEndColor";
79398
+ StyleType3["borderInlineEndWidth"] = "borderInlineEndWidth";
79399
+ StyleType3["borderInlineEndStyle"] = "borderInlineEndStyle";
79400
+ StyleType3["borderRadius"] = "borderRadius";
79401
+ StyleType3["borderTopLeftRadius"] = "borderTopLeftRadius";
79402
+ StyleType3["borderTopRightRadius"] = "borderTopRightRadius";
79403
+ StyleType3["borderBottomRightRadius"] = "borderBottomRightRadius";
79404
+ StyleType3["borderBottomLeftRadius"] = "borderBottomLeftRadius";
79405
+ StyleType3["borderStartStartRadius"] = "borderStartStartRadius";
79406
+ StyleType3["borderStartEndRadius"] = "borderStartEndRadius";
79407
+ StyleType3["borderEndStartRadius"] = "borderEndStartRadius";
79408
+ StyleType3["borderEndEndRadius"] = "borderEndEndRadius";
79409
+ StyleType3["font"] = "font";
79410
+ StyleType3["fontFamily"] = "fontFamily";
79411
+ StyleType3["fontSize"] = "fontSize";
79412
+ StyleType3["fontStretch"] = "fontStretch";
79413
+ StyleType3["fontStyle"] = "fontStyle";
79414
+ StyleType3["fontVariant"] = "fontVariant";
79415
+ StyleType3["fontWeight"] = "fontWeight";
79416
+ StyleType3["lineHeight"] = "lineHeight";
79417
+ StyleType3["color"] = "color";
79418
+ StyleType3["letterSpacing"] = "letterSpacing";
79419
+ StyleType3["writingMode"] = "writingMode";
79420
+ StyleType3["textAlign"] = "textAlign";
79421
+ StyleType3["textTransform"] = "textTransform";
79422
+ StyleType3["textShadow"] = "textShadow";
79423
+ StyleType3["textOverflow"] = "textOverflow";
79424
+ StyleType3["textIndent"] = "textIndent";
79425
+ StyleType3["textDecoration"] = "textDecoration";
79426
+ StyleType3["textDecorationColor"] = "textDecorationColor";
79427
+ StyleType3["textDecorationLine"] = "textDecorationLine";
79428
+ StyleType3["textDecorationStyle"] = "textDecorationStyle";
79429
+ StyleType3["textDecorationThickness"] = "textDecorationThickness";
79430
+ StyleType3["boxShadow"] = "boxShadow";
79431
+ StyleType3["opacity"] = "opacity";
79432
+ StyleType3["overflow"] = "overflow";
79433
+ StyleType3["display"] = "display";
79434
+ StyleType3["alignSelf"] = "alignSelf";
79435
+ StyleType3["justifyContent"] = "justifyContent";
79436
+ StyleType3["alignItems"] = "alignItems";
79437
+ StyleType3["flexDirection"] = "flexDirection";
79438
+ StyleType3["height"] = "height";
79439
+ StyleType3["width"] = "width";
79440
+ StyleType3["gap"] = "gap";
79441
+ StyleType3["columnGap"] = "columnGap";
79442
+ StyleType3["rowGap"] = "rowGap";
79443
+ StyleType3["filter"] = "filter";
79444
+ StyleType3["backdropFilter"] = "backdropFilter";
79445
+ StyleType3["objectFit"] = "objectFit";
79446
+ StyleType3["objectPosition"] = "objectPosition";
79447
+ StyleType3["mixBlendMode"] = "mixBlendMode";
79448
+ StyleType3["isolation"] = "isolation";
79449
+ StyleType3["stroke"] = "stroke";
79450
+ StyleType3["strokeWidth"] = "strokeWidth";
79451
+ StyleType3["strokeOpacity"] = "strokeOpacity";
79452
+ StyleType3["fill"] = "fill";
79453
+ StyleType3["fillOpacity"] = "fillOpacity";
79454
+ })(StyleType || (StyleType = {}));
79332
79455
  var FilterFunction;
79333
79456
  (function(FilterFunction3) {
79334
79457
  FilterFunction3["UNKNOWN_FilterFunctions"] = "UNKNOWN_FilterFunctions";
@@ -79375,6 +79498,20 @@ var BackgroundModeEnum;
79375
79498
  BackgroundModeEnum3["UNKNOWN_BackgroundModeEnum"] = "UNKNOWN_BackgroundModeEnum";
79376
79499
  BackgroundModeEnum3["shapeDividerSvg"] = "shapeDividerSvg";
79377
79500
  })(BackgroundModeEnum || (BackgroundModeEnum = {}));
79501
+ var CssDataTypeEnumCssDataType;
79502
+ (function(CssDataTypeEnumCssDataType3) {
79503
+ CssDataTypeEnumCssDataType3["UNKNOWN_CssDataType"] = "UNKNOWN_CssDataType";
79504
+ CssDataTypeEnumCssDataType3["number"] = "number";
79505
+ CssDataTypeEnumCssDataType3["string"] = "string";
79506
+ CssDataTypeEnumCssDataType3["angle"] = "angle";
79507
+ CssDataTypeEnumCssDataType3["color"] = "color";
79508
+ CssDataTypeEnumCssDataType3["length"] = "length";
79509
+ CssDataTypeEnumCssDataType3["percentage"] = "percentage";
79510
+ CssDataTypeEnumCssDataType3["lengthPercentage"] = "lengthPercentage";
79511
+ CssDataTypeEnumCssDataType3["blendMode"] = "blendMode";
79512
+ CssDataTypeEnumCssDataType3["customEnum"] = "customEnum";
79513
+ CssDataTypeEnumCssDataType3["time"] = "time";
79514
+ })(CssDataTypeEnumCssDataType || (CssDataTypeEnumCssDataType = {}));
79378
79515
  var DataType;
79379
79516
  (function(DataType3) {
79380
79517
  DataType3["UNKNOWN_DataType"] = "UNKNOWN_DataType";
@@ -79480,6 +79617,7 @@ var ActionType;
79480
79617
  ActionType3["panel"] = "panel";
79481
79618
  ActionType3["forward"] = "forward";
79482
79619
  ActionType3["style"] = "style";
79620
+ ActionType3["displayGroup"] = "displayGroup";
79483
79621
  })(ActionType || (ActionType = {}));
79484
79622
  var PanelType;
79485
79623
  (function(PanelType3) {
@@ -79496,6 +79634,7 @@ var ActionName;
79496
79634
  ActionName3["manageItems"] = "manageItems";
79497
79635
  ActionName3["dashboard"] = "dashboard";
79498
79636
  ActionName3["custom"] = "custom";
79637
+ ActionName3["manageMenu"] = "manageMenu";
79499
79638
  })(ActionName || (ActionName = {}));
79500
79639
  var SizingType;
79501
79640
  (function(SizingType3) {
@@ -79553,6 +79692,26 @@ var NativeStateType;
79553
79692
  NativeStateType3["disabled"] = "disabled";
79554
79693
  NativeStateType3["invalid"] = "invalid";
79555
79694
  })(NativeStateType || (NativeStateType = {}));
79695
+ var GroupType;
79696
+ (function(GroupType2) {
79697
+ GroupType2["UNKNOWN_GroupType"] = "UNKNOWN_GroupType";
79698
+ GroupType2["cssDataTypeItems"] = "cssDataTypeItems";
79699
+ GroupType2["dataItems"] = "dataItems";
79700
+ GroupType2["background"] = "background";
79701
+ GroupType2["margin"] = "margin";
79702
+ GroupType2["padding"] = "padding";
79703
+ GroupType2["border"] = "border";
79704
+ GroupType2["borderTop"] = "borderTop";
79705
+ GroupType2["borderRight"] = "borderRight";
79706
+ GroupType2["borderBottom"] = "borderBottom";
79707
+ GroupType2["borderLeft"] = "borderLeft";
79708
+ GroupType2["borderRadius"] = "borderRadius";
79709
+ GroupType2["borderInlineStart"] = "borderInlineStart";
79710
+ GroupType2["borderInlineEnd"] = "borderInlineEnd";
79711
+ GroupType2["font"] = "font";
79712
+ GroupType2["textDecoration"] = "textDecoration";
79713
+ GroupType2["gap"] = "gap";
79714
+ })(GroupType || (GroupType = {}));
79556
79715
  var ContentResizeDirection;
79557
79716
  (function(ContentResizeDirection3) {
79558
79717
  ContentResizeDirection3["UNKNOWN_ContentResizeDirection"] = "UNKNOWN_ContentResizeDirection";
@@ -80370,6 +80529,7 @@ var Tag2;
80370
80529
  Tag3["ADD_TO_CATEGORY"] = "ADD_TO_CATEGORY";
80371
80530
  Tag3["MY_BUSINESS"] = "MY_BUSINESS";
80372
80531
  Tag3["PIPELINE_LINKED_ENTITY"] = "PIPELINE_LINKED_ENTITY";
80532
+ Tag3["GET_PAID"] = "GET_PAID";
80373
80533
  })(Tag2 || (Tag2 = {}));
80374
80534
  var FilterSelectionType2;
80375
80535
  (function(FilterSelectionType3) {
@@ -81437,6 +81597,124 @@ var CssDataType2;
81437
81597
  CssDataType3["string"] = "string";
81438
81598
  CssDataType3["time"] = "time";
81439
81599
  })(CssDataType2 || (CssDataType2 = {}));
81600
+ var StyleType2;
81601
+ (function(StyleType3) {
81602
+ StyleType3["UNKNOWN_StyleType"] = "UNKNOWN_StyleType";
81603
+ StyleType3["number"] = "number";
81604
+ StyleType3["string"] = "string";
81605
+ StyleType3["angle"] = "angle";
81606
+ StyleType3["length"] = "length";
81607
+ StyleType3["percentage"] = "percentage";
81608
+ StyleType3["lengthPercentage"] = "lengthPercentage";
81609
+ StyleType3["blendMode"] = "blendMode";
81610
+ StyleType3["customEnum"] = "customEnum";
81611
+ StyleType3["time"] = "time";
81612
+ StyleType3["background"] = "background";
81613
+ StyleType3["backgroundSize"] = "backgroundSize";
81614
+ StyleType3["backgroundColor"] = "backgroundColor";
81615
+ StyleType3["backgroundImage"] = "backgroundImage";
81616
+ StyleType3["backgroundClip"] = "backgroundClip";
81617
+ StyleType3["backgroundOrigin"] = "backgroundOrigin";
81618
+ StyleType3["backgroundPosition"] = "backgroundPosition";
81619
+ StyleType3["backgroundRepeat"] = "backgroundRepeat";
81620
+ StyleType3["backgroundAttachment"] = "backgroundAttachment";
81621
+ StyleType3["margin"] = "margin";
81622
+ StyleType3["marginTop"] = "marginTop";
81623
+ StyleType3["marginRight"] = "marginRight";
81624
+ StyleType3["marginBottom"] = "marginBottom";
81625
+ StyleType3["marginLeft"] = "marginLeft";
81626
+ StyleType3["marginInlineStart"] = "marginInlineStart";
81627
+ StyleType3["marginInlineEnd"] = "marginInlineEnd";
81628
+ StyleType3["padding"] = "padding";
81629
+ StyleType3["paddingTop"] = "paddingTop";
81630
+ StyleType3["paddingRight"] = "paddingRight";
81631
+ StyleType3["paddingBottom"] = "paddingBottom";
81632
+ StyleType3["paddingLeft"] = "paddingLeft";
81633
+ StyleType3["paddingInlineStart"] = "paddingInlineStart";
81634
+ StyleType3["paddingInlineEnd"] = "paddingInlineEnd";
81635
+ StyleType3["border"] = "border";
81636
+ StyleType3["borderWidth"] = "borderWidth";
81637
+ StyleType3["borderStyle"] = "borderStyle";
81638
+ StyleType3["borderColor"] = "borderColor";
81639
+ StyleType3["borderTop"] = "borderTop";
81640
+ StyleType3["borderTopColor"] = "borderTopColor";
81641
+ StyleType3["borderTopWidth"] = "borderTopWidth";
81642
+ StyleType3["borderTopStyle"] = "borderTopStyle";
81643
+ StyleType3["borderRight"] = "borderRight";
81644
+ StyleType3["borderRightColor"] = "borderRightColor";
81645
+ StyleType3["borderRightWidth"] = "borderRightWidth";
81646
+ StyleType3["borderRightStyle"] = "borderRightStyle";
81647
+ StyleType3["borderBottom"] = "borderBottom";
81648
+ StyleType3["borderBottomColor"] = "borderBottomColor";
81649
+ StyleType3["borderBottomWidth"] = "borderBottomWidth";
81650
+ StyleType3["borderBottomStyle"] = "borderBottomStyle";
81651
+ StyleType3["borderLeft"] = "borderLeft";
81652
+ StyleType3["borderLeftColor"] = "borderLeftColor";
81653
+ StyleType3["borderLeftWidth"] = "borderLeftWidth";
81654
+ StyleType3["borderLeftStyle"] = "borderLeftStyle";
81655
+ StyleType3["borderInlineStart"] = "borderInlineStart";
81656
+ StyleType3["borderInlineStartColor"] = "borderInlineStartColor";
81657
+ StyleType3["borderInlineStartWidth"] = "borderInlineStartWidth";
81658
+ StyleType3["borderInlineStartStyle"] = "borderInlineStartStyle";
81659
+ StyleType3["borderInlineEnd"] = "borderInlineEnd";
81660
+ StyleType3["borderInlineEndColor"] = "borderInlineEndColor";
81661
+ StyleType3["borderInlineEndWidth"] = "borderInlineEndWidth";
81662
+ StyleType3["borderInlineEndStyle"] = "borderInlineEndStyle";
81663
+ StyleType3["borderRadius"] = "borderRadius";
81664
+ StyleType3["borderTopLeftRadius"] = "borderTopLeftRadius";
81665
+ StyleType3["borderTopRightRadius"] = "borderTopRightRadius";
81666
+ StyleType3["borderBottomRightRadius"] = "borderBottomRightRadius";
81667
+ StyleType3["borderBottomLeftRadius"] = "borderBottomLeftRadius";
81668
+ StyleType3["borderStartStartRadius"] = "borderStartStartRadius";
81669
+ StyleType3["borderStartEndRadius"] = "borderStartEndRadius";
81670
+ StyleType3["borderEndStartRadius"] = "borderEndStartRadius";
81671
+ StyleType3["borderEndEndRadius"] = "borderEndEndRadius";
81672
+ StyleType3["font"] = "font";
81673
+ StyleType3["fontFamily"] = "fontFamily";
81674
+ StyleType3["fontSize"] = "fontSize";
81675
+ StyleType3["fontStretch"] = "fontStretch";
81676
+ StyleType3["fontStyle"] = "fontStyle";
81677
+ StyleType3["fontVariant"] = "fontVariant";
81678
+ StyleType3["fontWeight"] = "fontWeight";
81679
+ StyleType3["lineHeight"] = "lineHeight";
81680
+ StyleType3["color"] = "color";
81681
+ StyleType3["letterSpacing"] = "letterSpacing";
81682
+ StyleType3["writingMode"] = "writingMode";
81683
+ StyleType3["textAlign"] = "textAlign";
81684
+ StyleType3["textTransform"] = "textTransform";
81685
+ StyleType3["textShadow"] = "textShadow";
81686
+ StyleType3["textOverflow"] = "textOverflow";
81687
+ StyleType3["textIndent"] = "textIndent";
81688
+ StyleType3["textDecoration"] = "textDecoration";
81689
+ StyleType3["textDecorationColor"] = "textDecorationColor";
81690
+ StyleType3["textDecorationLine"] = "textDecorationLine";
81691
+ StyleType3["textDecorationStyle"] = "textDecorationStyle";
81692
+ StyleType3["textDecorationThickness"] = "textDecorationThickness";
81693
+ StyleType3["boxShadow"] = "boxShadow";
81694
+ StyleType3["opacity"] = "opacity";
81695
+ StyleType3["overflow"] = "overflow";
81696
+ StyleType3["display"] = "display";
81697
+ StyleType3["alignSelf"] = "alignSelf";
81698
+ StyleType3["justifyContent"] = "justifyContent";
81699
+ StyleType3["alignItems"] = "alignItems";
81700
+ StyleType3["flexDirection"] = "flexDirection";
81701
+ StyleType3["height"] = "height";
81702
+ StyleType3["width"] = "width";
81703
+ StyleType3["gap"] = "gap";
81704
+ StyleType3["columnGap"] = "columnGap";
81705
+ StyleType3["rowGap"] = "rowGap";
81706
+ StyleType3["filter"] = "filter";
81707
+ StyleType3["backdropFilter"] = "backdropFilter";
81708
+ StyleType3["objectFit"] = "objectFit";
81709
+ StyleType3["objectPosition"] = "objectPosition";
81710
+ StyleType3["mixBlendMode"] = "mixBlendMode";
81711
+ StyleType3["isolation"] = "isolation";
81712
+ StyleType3["stroke"] = "stroke";
81713
+ StyleType3["strokeWidth"] = "strokeWidth";
81714
+ StyleType3["strokeOpacity"] = "strokeOpacity";
81715
+ StyleType3["fill"] = "fill";
81716
+ StyleType3["fillOpacity"] = "fillOpacity";
81717
+ })(StyleType2 || (StyleType2 = {}));
81440
81718
  var FilterFunction2;
81441
81719
  (function(FilterFunction3) {
81442
81720
  FilterFunction3["UNKNOWN_FilterFunctions"] = "UNKNOWN_FilterFunctions";
@@ -81483,6 +81761,20 @@ var BackgroundModeEnum2;
81483
81761
  BackgroundModeEnum3["UNKNOWN_BackgroundModeEnum"] = "UNKNOWN_BackgroundModeEnum";
81484
81762
  BackgroundModeEnum3["shapeDividerSvg"] = "shapeDividerSvg";
81485
81763
  })(BackgroundModeEnum2 || (BackgroundModeEnum2 = {}));
81764
+ var CssDataTypeEnumCssDataType2;
81765
+ (function(CssDataTypeEnumCssDataType3) {
81766
+ CssDataTypeEnumCssDataType3["UNKNOWN_CssDataType"] = "UNKNOWN_CssDataType";
81767
+ CssDataTypeEnumCssDataType3["number"] = "number";
81768
+ CssDataTypeEnumCssDataType3["string"] = "string";
81769
+ CssDataTypeEnumCssDataType3["angle"] = "angle";
81770
+ CssDataTypeEnumCssDataType3["color"] = "color";
81771
+ CssDataTypeEnumCssDataType3["length"] = "length";
81772
+ CssDataTypeEnumCssDataType3["percentage"] = "percentage";
81773
+ CssDataTypeEnumCssDataType3["lengthPercentage"] = "lengthPercentage";
81774
+ CssDataTypeEnumCssDataType3["blendMode"] = "blendMode";
81775
+ CssDataTypeEnumCssDataType3["customEnum"] = "customEnum";
81776
+ CssDataTypeEnumCssDataType3["time"] = "time";
81777
+ })(CssDataTypeEnumCssDataType2 || (CssDataTypeEnumCssDataType2 = {}));
81486
81778
  var DataType2;
81487
81779
  (function(DataType3) {
81488
81780
  DataType3["UNKNOWN_DataType"] = "UNKNOWN_DataType";
@@ -82624,8 +82916,8 @@ var CreateAppOrExtendExisting = ({
82624
82916
 
82625
82917
  // src/components/Questions/NewAppFlow.tsx
82626
82918
  init_esm_shims();
82627
- var import_react106 = __toESM(require_react(), 1);
82628
- var import_variant35 = __toESM(require_lib(), 1);
82919
+ var import_react107 = __toESM(require_react(), 1);
82920
+ var import_variant37 = __toESM(require_lib(), 1);
82629
82921
 
82630
82922
  // src/components/ChooseAppName.tsx
82631
82923
  init_esm_shims();
@@ -82669,7 +82961,7 @@ var ConfirmPackagePath = ({
82669
82961
  const { t: t3 } = useTranslation();
82670
82962
  const { cliFlowStepAnswered } = useCreateAppBi();
82671
82963
  const [cancelled, setCancelled] = (0, import_react99.useState)(false);
82672
- return /* @__PURE__ */ import_react99.default.createElement(import_react99.default.Fragment, null, /* @__PURE__ */ import_react99.default.createElement(Box_default, { marginLeft: -2 }, /* @__PURE__ */ import_react99.default.createElement(
82964
+ return /* @__PURE__ */ import_react99.default.createElement(import_react99.default.Fragment, null, /* @__PURE__ */ import_react99.default.createElement(Box_default, { marginLeft: -2, marginBottom: 1 }, /* @__PURE__ */ import_react99.default.createElement(
82673
82965
  ConfirmInput,
82674
82966
  {
82675
82967
  label: t3("create_app.confirm_path_message", {
@@ -82688,7 +82980,7 @@ var ConfirmPackagePath = ({
82688
82980
  }
82689
82981
  }
82690
82982
  }
82691
- )), cancelled && /* @__PURE__ */ import_react99.default.createElement(Box_default, { marginTop: 1 }, /* @__PURE__ */ import_react99.default.createElement(Text2, null, t3("create_app.confirm_path_exit_message"))));
82983
+ )), cancelled && /* @__PURE__ */ import_react99.default.createElement(Box_default, { marginBottom: 1 }, /* @__PURE__ */ import_react99.default.createElement(Text2, null, t3("create_app.confirm_path_exit_message"))));
82692
82984
  };
82693
82985
 
82694
82986
  // src/components/ChoosePackageName.tsx
@@ -82895,7 +83187,7 @@ var RegisteringApp = () => {
82895
83187
  init_esm_shims();
82896
83188
  var import_react105 = __toESM(require_react(), 1);
82897
83189
  var AppRegistered = ({ appName }) => {
82898
- return /* @__PURE__ */ import_react105.default.createElement(Box_default, { marginLeft: -2, marginTop: 1 }, /* @__PURE__ */ import_react105.default.createElement(Alert, { type: "success" }, /* @__PURE__ */ import_react105.default.createElement(Badge, { skin: "success" }, /* @__PURE__ */ import_react105.default.createElement(Trans2, { i18nKey: "create_app.success" })), " ", /* @__PURE__ */ import_react105.default.createElement(
83190
+ return /* @__PURE__ */ import_react105.default.createElement(Box_default, { marginLeft: -2 }, /* @__PURE__ */ import_react105.default.createElement(Alert, { type: "success" }, /* @__PURE__ */ import_react105.default.createElement(Badge, { skin: "success" }, /* @__PURE__ */ import_react105.default.createElement(Trans2, { i18nKey: "create_app.success" })), " ", /* @__PURE__ */ import_react105.default.createElement(
82899
83191
  Trans2,
82900
83192
  {
82901
83193
  i18nKey: "create_app.create_new.app_registered_successfully",
@@ -82905,6 +83197,104 @@ var AppRegistered = ({ appName }) => {
82905
83197
  )));
82906
83198
  };
82907
83199
 
83200
+ // src/components/mcp/ConfigMcp.tsx
83201
+ init_esm_shims();
83202
+ var import_react106 = __toESM(require_react(), 1);
83203
+ var import_variant35 = __toESM(require_lib(), 1);
83204
+ var IdeForMcp = (0, import_variant35.variant)({
83205
+ VsCode: {},
83206
+ Cursor: {}
83207
+ });
83208
+ var ConfigMcp = ({ onSelected }) => {
83209
+ const { t: t3 } = useTranslation();
83210
+ const { cliFlowStepAnswered } = useCreateAppBi();
83211
+ return /* @__PURE__ */ import_react106.default.createElement(
83212
+ SelectInput2,
83213
+ {
83214
+ label: t3("create_app.choose_ide_for_mcp.question"),
83215
+ info: /* @__PURE__ */ import_react106.default.createElement(
83216
+ Trans2,
83217
+ {
83218
+ i18nKey: "create_app.choose_ide_for_mcp.description",
83219
+ components: [
83220
+ /* @__PURE__ */ import_react106.default.createElement(Link, { url: "https://www.wix.com/studio/developers/mcp-server" })
83221
+ ]
83222
+ }
83223
+ ),
83224
+ options: [
83225
+ {
83226
+ title: t3("create_app.choose_ide_for_mcp.answer.cursor"),
83227
+ key: "cursor",
83228
+ value: IdeForMcp.Cursor()
83229
+ },
83230
+ {
83231
+ title: t3("create_app.choose_ide_for_mcp.answer.vscode"),
83232
+ key: "vscode",
83233
+ value: IdeForMcp.VsCode()
83234
+ },
83235
+ {
83236
+ title: t3("create_app.choose_ide_for_mcp.answer.no"),
83237
+ key: "no",
83238
+ value: void 0
83239
+ }
83240
+ ],
83241
+ onSubmit: ({ value: value2 }) => {
83242
+ cliFlowStepAnswered({
83243
+ question: t3("create_app.choose_ide_for_mcp.question"),
83244
+ questionKey: "create_app.choose_ide_for_mcp.question",
83245
+ answer: value2?.type ?? "No"
83246
+ });
83247
+ onSelected(value2);
83248
+ }
83249
+ }
83250
+ );
83251
+ };
83252
+
83253
+ // src/components/mcp/getMcpResult.ts
83254
+ init_esm_shims();
83255
+ var import_variant36 = __toESM(require_lib(), 1);
83256
+ import { join as join12 } from "node:path";
83257
+ var McpConfigResult = (0, import_variant36.variant)({
83258
+ Created: (0, import_variant36.fields)(),
83259
+ Canceled: {}
83260
+ });
83261
+ var getMcpData = ({
83262
+ ideForMcp,
83263
+ packageFolder
83264
+ }) => {
83265
+ const configFolderName = (0, import_variant36.match)(
83266
+ ideForMcp,
83267
+ (0, import_variant36.lookup)({
83268
+ Cursor: ".cursor",
83269
+ VsCode: ".vscode"
83270
+ })
83271
+ );
83272
+ const configFolderPath = join12(packageFolder, configFolderName);
83273
+ const mcpPath = join12(configFolderPath, "mcp.json");
83274
+ return McpConfigResult.Created({
83275
+ mcpPath,
83276
+ ideForMcp,
83277
+ docsUrl: (0, import_variant36.match)(
83278
+ ideForMcp,
83279
+ (0, import_variant36.lookup)({
83280
+ Cursor: "https://docs.cursor.com/context/model-context-protocol",
83281
+ VsCode: "https://code.visualstudio.com/docs/copilot/chat/mcp-servers"
83282
+ })
83283
+ )
83284
+ });
83285
+ };
83286
+ var getMcpResult = ({
83287
+ ideForMcp,
83288
+ targetParentFolder: targetParentFolder2,
83289
+ packageName
83290
+ }) => {
83291
+ const packageFolder = join12(targetParentFolder2, packageName);
83292
+ return ideForMcp ? getMcpData({
83293
+ ideForMcp,
83294
+ packageFolder
83295
+ }) : McpConfigResult.Canceled();
83296
+ };
83297
+
82908
83298
  // src/components/Questions/NewAppFlow.tsx
82909
83299
  var NewAppFlow = ({
82910
83300
  onSubmit,
@@ -82915,15 +83305,16 @@ var NewAppFlow = ({
82915
83305
  }) => {
82916
83306
  const devCenterClient = useDevCenterClient();
82917
83307
  const biLogger = useBiLogger();
82918
- const [templateData, setTemplateData] = (0, import_react106.useState)(
83308
+ const [templateData, setTemplateData] = (0, import_react107.useState)(
82919
83309
  templateFromOptions
82920
83310
  );
82921
- const [appName, setAppName] = (0, import_react106.useState)();
83311
+ const [appName, setAppName] = (0, import_react107.useState)();
83312
+ const [packageName, setPackageName] = (0, import_react107.useState)();
82922
83313
  const createAppCallback = useAsyncCallback3(
82923
- async (_2, { appName: appName2, packageName, template }) => {
82924
- const { id: appId } = await (0, import_variant35.match)(
83314
+ async (_2, { appName: appName2, packageName: packageName2, template, mcpConfigResult }) => {
83315
+ const { id: appId } = await (0, import_variant37.match)(
82925
83316
  template,
82926
- (0, import_variant35.partial)({
83317
+ (0, import_variant37.partial)({
82927
83318
  App: ({ payload: payload5 }) => devCenterClient.createAppFromTemplate(
82928
83319
  {
82929
83320
  name: appName2,
@@ -82940,7 +83331,8 @@ var NewAppFlow = ({
82940
83331
  onSubmit({
82941
83332
  template,
82942
83333
  appData: { appName: appName2, appId },
82943
- packageName
83334
+ packageName: packageName2,
83335
+ mcpConfigResult
82944
83336
  });
82945
83337
  return {
82946
83338
  appId,
@@ -82948,52 +83340,74 @@ var NewAppFlow = ({
82948
83340
  };
82949
83341
  }
82950
83342
  );
82951
- const autoCreateApp = (0, import_variant35.isType)(appNameFromOptions, "Provided") && !!templateFromOptions;
83343
+ const autoCreateApp = (0, import_variant37.isType)(appNameFromOptions, "Provided") && !!templateFromOptions;
82952
83344
  useAsync2(async () => {
82953
83345
  if (autoCreateApp) {
82954
83346
  return createAppCallback.execute({
82955
83347
  appName: appNameFromOptions.appName,
82956
83348
  packageName: appNameFromOptions.packageName,
82957
- template: templateFromOptions
83349
+ template: templateFromOptions,
83350
+ mcpConfigResult: McpConfigResult.Canceled()
82958
83351
  });
82959
83352
  }
82960
83353
  }, []);
82961
- return /* @__PURE__ */ import_react106.default.createElement(import_react106.default.Fragment, null, !templateFromOptions && /* @__PURE__ */ import_react106.default.createElement(ChooseTemplateFlow, { onTemplateChoose: setTemplateData }), templateData && !autoCreateApp && /* @__PURE__ */ import_react106.default.createElement(ChooseAppName, { onSubmit: setAppName }), appName && templateData && !autoCreateApp && /* @__PURE__ */ import_react106.default.createElement(
83354
+ return /* @__PURE__ */ import_react107.default.createElement(import_react107.default.Fragment, null, !templateFromOptions && /* @__PURE__ */ import_react107.default.createElement(ChooseTemplateFlow, { onTemplateChoose: setTemplateData }), templateData && !autoCreateApp && /* @__PURE__ */ import_react107.default.createElement(ChooseAppName, { onSubmit: setAppName }), appName && templateData && !autoCreateApp && /* @__PURE__ */ import_react107.default.createElement(
82962
83355
  ChoosePackageName,
82963
83356
  {
82964
83357
  appName,
82965
83358
  targetParentFolder: targetParentFolder2,
82966
83359
  repoType,
82967
- onSelected: (packageName) => {
83360
+ onSelected: (userPackageName) => {
83361
+ if ((0, import_variant37.isType)(repoType, RepoType.Monorepo)) {
83362
+ void createAppCallback.execute({
83363
+ appName,
83364
+ packageName: userPackageName,
83365
+ template: templateData,
83366
+ mcpConfigResult: McpConfigResult.Canceled()
83367
+ });
83368
+ } else {
83369
+ setPackageName(userPackageName);
83370
+ }
83371
+ }
83372
+ }
83373
+ ), appName && packageName && templateData && !autoCreateApp && /* @__PURE__ */ import_react107.default.createElement(import_react107.default.Fragment, null, /* @__PURE__ */ import_react107.default.createElement(
83374
+ ConfigMcp,
83375
+ {
83376
+ onSelected: (ideForMcp) => {
82968
83377
  void createAppCallback.execute({
82969
83378
  appName,
82970
83379
  packageName,
82971
- template: templateData
83380
+ template: templateData,
83381
+ mcpConfigResult: getMcpResult({
83382
+ ideForMcp,
83383
+ targetParentFolder: targetParentFolder2,
83384
+ packageName
83385
+ })
82972
83386
  });
82973
83387
  }
82974
83388
  }
82975
- ), (0, import_variant35.match)(createAppCallback.status, {
83389
+ )), (0, import_variant37.match)(createAppCallback.status, {
82976
83390
  Error: () => null,
82977
- Loading: () => /* @__PURE__ */ import_react106.default.createElement(RegisteringApp, null),
82978
- Success: ({ result }) => /* @__PURE__ */ import_react106.default.createElement(AppRegistered, { ...result }),
83391
+ Loading: () => /* @__PURE__ */ import_react107.default.createElement(RegisteringApp, null),
83392
+ Success: ({ result }) => /* @__PURE__ */ import_react107.default.createElement(AppRegistered, { ...result }),
82979
83393
  NotRequested: () => null
82980
83394
  }));
82981
83395
  };
82982
83396
 
82983
83397
  // src/components/Questions/ExistingAppFlow.tsx
82984
83398
  init_esm_shims();
82985
- var import_react108 = __toESM(require_react(), 1);
83399
+ var import_react109 = __toESM(require_react(), 1);
82986
83400
 
82987
83401
  // src/components/ExtendExistingApp.tsx
82988
83402
  init_esm_shims();
82989
- var import_react107 = __toESM(require_react(), 1);
83403
+ var import_react108 = __toESM(require_react(), 1);
82990
83404
  var ExtendExistingApp = ({
82991
83405
  developerApps,
82992
83406
  onSelected
82993
83407
  }) => {
82994
83408
  const { t: t3 } = useTranslation();
82995
83409
  const { cliFlowStepAnswered } = useCreateAppBi();
82996
- return /* @__PURE__ */ import_react107.default.createElement(
83410
+ return /* @__PURE__ */ import_react108.default.createElement(
82997
83411
  SelectInput2,
82998
83412
  {
82999
83413
  label: t3("create_app.extend_existing.select_app.label"),
@@ -83028,8 +83442,8 @@ var ExistingAppFlow = ({
83028
83442
  repoType
83029
83443
  }) => {
83030
83444
  const biLogger = useBiLogger();
83031
- const [appData, setAppData] = (0, import_react108.useState)();
83032
- return /* @__PURE__ */ import_react108.default.createElement(import_react108.default.Fragment, null, /* @__PURE__ */ import_react108.default.createElement(
83445
+ const [appData, setAppData] = (0, import_react109.useState)();
83446
+ return /* @__PURE__ */ import_react109.default.createElement(import_react109.default.Fragment, null, /* @__PURE__ */ import_react109.default.createElement(
83033
83447
  ExtendExistingApp,
83034
83448
  {
83035
83449
  developerApps,
@@ -83040,7 +83454,7 @@ var ExistingAppFlow = ({
83040
83454
  setAppData(appData2);
83041
83455
  }
83042
83456
  }
83043
- ), appData && /* @__PURE__ */ import_react108.default.createElement(
83457
+ ), appData && /* @__PURE__ */ import_react109.default.createElement(
83044
83458
  ChoosePackageName,
83045
83459
  {
83046
83460
  appName: appData.appName,
@@ -83050,7 +83464,8 @@ var ExistingAppFlow = ({
83050
83464
  onSubmit({
83051
83465
  appData,
83052
83466
  packageName,
83053
- template: TemplateSource.Default()
83467
+ template: TemplateSource.Default(),
83468
+ mcpConfigResult: McpConfigResult.Canceled()
83054
83469
  });
83055
83470
  }
83056
83471
  }
@@ -83059,45 +83474,45 @@ var ExistingAppFlow = ({
83059
83474
 
83060
83475
  // src/components/StartFromTemplateMessage.tsx
83061
83476
  init_esm_shims();
83062
- var import_react109 = __toESM(require_react(), 1);
83063
- var import_variant36 = __toESM(require_lib(), 1);
83477
+ var import_react110 = __toESM(require_react(), 1);
83478
+ var import_variant38 = __toESM(require_lib(), 1);
83064
83479
  var StartFromTemplateMessage = ({
83065
83480
  template
83066
83481
  }) => {
83067
- const messageComponent = (0, import_variant36.match)(template, {
83068
- App: ({ payload: payload5 }) => /* @__PURE__ */ import_react109.default.createElement(
83482
+ const messageComponent = (0, import_variant38.match)(template, {
83483
+ App: ({ payload: payload5 }) => /* @__PURE__ */ import_react110.default.createElement(
83069
83484
  Trans2,
83070
83485
  {
83071
83486
  i18nKey: "create_app.template_is_set_from_options.template_id",
83072
83487
  values: {
83073
83488
  templateName: payload5.title
83074
83489
  },
83075
- components: [/* @__PURE__ */ import_react109.default.createElement(Text2, { bold: true })]
83490
+ components: [/* @__PURE__ */ import_react110.default.createElement(Text2, { bold: true })]
83076
83491
  }
83077
83492
  ),
83078
- GitRepo: ({ url: url2 }) => /* @__PURE__ */ import_react109.default.createElement(
83493
+ GitRepo: ({ url: url2 }) => /* @__PURE__ */ import_react110.default.createElement(
83079
83494
  Trans2,
83080
83495
  {
83081
83496
  i18nKey: "create_app.template_is_set_from_options.git_repository",
83082
83497
  values: {
83083
83498
  templateRepoUrl: url2
83084
83499
  },
83085
- components: [/* @__PURE__ */ import_react109.default.createElement(Text2, { bold: true })]
83500
+ components: [/* @__PURE__ */ import_react110.default.createElement(Text2, { bold: true })]
83086
83501
  }
83087
83502
  ),
83088
- Local: ({ path: path8 }) => /* @__PURE__ */ import_react109.default.createElement(
83503
+ Local: ({ path: path8 }) => /* @__PURE__ */ import_react110.default.createElement(
83089
83504
  Trans2,
83090
83505
  {
83091
83506
  i18nKey: "create_app.template_is_set_from_options.local",
83092
83507
  values: {
83093
83508
  templatePath: path8
83094
83509
  },
83095
- components: [/* @__PURE__ */ import_react109.default.createElement(Text2, { bold: true })]
83510
+ components: [/* @__PURE__ */ import_react110.default.createElement(Text2, { bold: true })]
83096
83511
  }
83097
83512
  ),
83098
83513
  Default: () => null
83099
83514
  });
83100
- return /* @__PURE__ */ import_react109.default.createElement(Box_default, { marginBottom: 1 }, messageComponent);
83515
+ return /* @__PURE__ */ import_react110.default.createElement(Box_default, { marginBottom: 1 }, messageComponent);
83101
83516
  };
83102
83517
 
83103
83518
  // src/components/Questions/Questions.tsx
@@ -83111,7 +83526,7 @@ var Questions = ({
83111
83526
  const devCenterClient = useDevCenterClient();
83112
83527
  const { reportError: reportError2 } = useErrorReporter();
83113
83528
  const { getDeveloperApps } = useDevCenterClient();
83114
- const [appCreationFlow, setAppCreationFlow] = (0, import_react110.useState)();
83529
+ const [appCreationFlow, setAppCreationFlow] = (0, import_react111.useState)();
83115
83530
  const { status } = useAsync2(async () => {
83116
83531
  const { template, appName } = await parseCommandOptions(
83117
83532
  targetParentFolder2,
@@ -83142,14 +83557,14 @@ var Questions = ({
83142
83557
  };
83143
83558
  }
83144
83559
  }, []);
83145
- return (0, import_variant37.match)(status, {
83560
+ return (0, import_variant39.match)(status, {
83146
83561
  Error: () => null,
83147
- Loading: () => /* @__PURE__ */ import_react110.default.createElement(Spinner2, { text: t3("general.loading") }),
83562
+ Loading: () => /* @__PURE__ */ import_react111.default.createElement(Spinner2, { text: t3("general.loading") }),
83148
83563
  Success: ({
83149
83564
  result: { template, appName, developerApps, developerAppsStatus }
83150
83565
  }) => {
83151
83566
  if (template) {
83152
- return /* @__PURE__ */ import_react110.default.createElement(import_react110.default.Fragment, null, /* @__PURE__ */ import_react110.default.createElement(StartFromTemplateMessage, { template }), /* @__PURE__ */ import_react110.default.createElement(
83567
+ return /* @__PURE__ */ import_react111.default.createElement(import_react111.default.Fragment, null, /* @__PURE__ */ import_react111.default.createElement(StartFromTemplateMessage, { template }), /* @__PURE__ */ import_react111.default.createElement(
83153
83568
  NewAppFlow,
83154
83569
  {
83155
83570
  onSubmit,
@@ -83160,8 +83575,8 @@ var Questions = ({
83160
83575
  }
83161
83576
  ));
83162
83577
  }
83163
- if ((0, import_variant37.isType)(developerAppsStatus, "NoApps")) {
83164
- return /* @__PURE__ */ import_react110.default.createElement(
83578
+ if ((0, import_variant39.isType)(developerAppsStatus, "NoApps")) {
83579
+ return /* @__PURE__ */ import_react111.default.createElement(
83165
83580
  NewAppFlow,
83166
83581
  {
83167
83582
  onSubmit,
@@ -83170,20 +83585,20 @@ var Questions = ({
83170
83585
  }
83171
83586
  );
83172
83587
  }
83173
- return /* @__PURE__ */ import_react110.default.createElement(import_react110.default.Fragment, null, /* @__PURE__ */ import_react110.default.createElement(
83588
+ return /* @__PURE__ */ import_react111.default.createElement(import_react111.default.Fragment, null, /* @__PURE__ */ import_react111.default.createElement(
83174
83589
  CreateAppOrExtendExisting,
83175
83590
  {
83176
83591
  developerAppsStatus,
83177
83592
  onStartCreationFlow: setAppCreationFlow
83178
83593
  }
83179
- ), appCreationFlow === "new" && /* @__PURE__ */ import_react110.default.createElement(
83594
+ ), appCreationFlow === "new" && /* @__PURE__ */ import_react111.default.createElement(
83180
83595
  NewAppFlow,
83181
83596
  {
83182
83597
  onSubmit,
83183
83598
  targetParentFolder: targetParentFolder2,
83184
83599
  repoType
83185
83600
  }
83186
- ), appCreationFlow === "existing" && /* @__PURE__ */ import_react110.default.createElement(
83601
+ ), appCreationFlow === "existing" && /* @__PURE__ */ import_react111.default.createElement(
83187
83602
  ExistingAppFlow,
83188
83603
  {
83189
83604
  developerApps,
@@ -83198,16 +83613,16 @@ var Questions = ({
83198
83613
 
83199
83614
  // src/tasks.ts
83200
83615
  init_esm_shims();
83201
- var import_variant39 = __toESM(require_lib(), 1);
83616
+ var import_variant41 = __toESM(require_lib(), 1);
83202
83617
  import { mkdir as mkdir2 } from "node:fs/promises";
83203
- import { join as join13 } from "node:path";
83618
+ import { join as join14 } from "node:path";
83204
83619
 
83205
83620
  // src/services/generator/index.ts
83206
83621
  init_esm_shims();
83207
83622
 
83208
83623
  // src/services/generator/generator-service.ts
83209
83624
  init_esm_shims();
83210
- var import_variant38 = __toESM(require_lib(), 1);
83625
+ var import_variant40 = __toESM(require_lib(), 1);
83211
83626
  import { randomUUID as randomUUID3 } from "node:crypto";
83212
83627
 
83213
83628
  // ../gena/src/index.ts
@@ -83281,7 +83696,7 @@ init_esm_shims();
83281
83696
 
83282
83697
  // src/services/generator/template-fetcher.ts
83283
83698
  init_esm_shims();
83284
- import { join as join12 } from "node:path";
83699
+ import { join as join13 } from "node:path";
83285
83700
  import { rm as rm2 } from "node:fs/promises";
83286
83701
 
83287
83702
  // ../../node_modules/tempy/index.js
@@ -83437,7 +83852,7 @@ async function downloadAndExtractRepo(url2) {
83437
83852
  const repoDir = temporaryDirectory2({ prefix: "wix-create-app" });
83438
83853
  try {
83439
83854
  await gitClone(url2, repoDir);
83440
- await rm2(join12(repoDir, ".git"), { recursive: true, force: true });
83855
+ await rm2(join13(repoDir, ".git"), { recursive: true, force: true });
83441
83856
  return repoDir;
83442
83857
  } catch (e2) {
83443
83858
  throw new CliError({
@@ -83455,7 +83870,7 @@ async function fetchTemplate(url2, path8 = ".") {
83455
83870
  });
83456
83871
  }
83457
83872
  const repoDir = await downloadAndExtractRepo(url2);
83458
- const templateDirInRepo = join12(repoDir, path8);
83873
+ const templateDirInRepo = join13(repoDir, path8);
83459
83874
  if (!await pathExists(templateDirInRepo)) {
83460
83875
  throw new CliError({
83461
83876
  code: CliErrorCode.TemplatePathNotFound({ templatePath: path8 }),
@@ -83475,7 +83890,8 @@ async function generateApp({
83475
83890
  packageManager,
83476
83891
  repoType,
83477
83892
  template,
83478
- templateParams
83893
+ templateParams,
83894
+ ideForMcp
83479
83895
  }) {
83480
83896
  const model = {
83481
83897
  packageName,
@@ -83489,11 +83905,12 @@ async function generateApp({
83489
83905
  installCmd: packageManager.getInstallCmd(),
83490
83906
  runCmd: packageManager.getRunCmd()
83491
83907
  },
83492
- isMonorepo: (0, import_variant38.isType)(repoType, RepoType.Monorepo),
83908
+ isMonorepo: (0, import_variant40.isType)(repoType, RepoType.Monorepo),
83493
83909
  templateParams,
83494
- generatePageID: () => randomUUID3()
83910
+ generatePageID: () => randomUUID3(),
83911
+ ideForMcpType: ideForMcp?.type
83495
83912
  };
83496
- const templateFolder = await (0, import_variant38.match)(template, {
83913
+ const templateFolder = await (0, import_variant40.match)(template, {
83497
83914
  App: ({ payload: { cliCloneData } }) => fetchTemplate(cliCloneData.repositoryUrl, cliCloneData.pathInRepository),
83498
83915
  GitRepo: ({ url: url2, path: path8 }) => fetchTemplate(url2, path8),
83499
83916
  Local: ({ path: path8 }) => path8,
@@ -83516,9 +83933,10 @@ function getTasks({
83516
83933
  templateParams,
83517
83934
  targetParentFolder: targetParentFolder2,
83518
83935
  skipInstall,
83519
- skipGit
83936
+ skipGit,
83937
+ mcpConfigResult
83520
83938
  }, t3) {
83521
- const packageFolder = join13(targetParentFolder2, packageName);
83939
+ const packageFolder = join14(targetParentFolder2, packageName);
83522
83940
  const generateProject = async () => {
83523
83941
  try {
83524
83942
  await mkdir2(packageFolder, { recursive: true });
@@ -83535,7 +83953,12 @@ function getTasks({
83535
83953
  packageManager,
83536
83954
  repoType,
83537
83955
  template,
83538
- templateParams
83956
+ templateParams,
83957
+ ideForMcp: (0, import_variant41.match)(mcpConfigResult, {
83958
+ Created: ({ ideForMcp }) => ideForMcp,
83959
+ Canceled: () => {
83960
+ }
83961
+ })
83539
83962
  });
83540
83963
  await packageManager.setup(packageFolder);
83541
83964
  };
@@ -83595,7 +84018,7 @@ function getTasks({
83595
84018
  successText: t3("create_app.generate_project.git_commit.done")
83596
84019
  };
83597
84020
  const optionalInstallTask = skipInstall ? [] : [installDependenciesTask];
83598
- return (0, import_variant39.match)(repoType, {
84021
+ return (0, import_variant41.match)(repoType, {
83599
84022
  None: () => [
83600
84023
  generateProjectTask,
83601
84024
  ...skipGit ? [] : [initializeGitTask],
@@ -83609,10 +84032,10 @@ function getTasks({
83609
84032
 
83610
84033
  // src/components/FinishedSuccessfullyMessage.tsx
83611
84034
  init_esm_shims();
83612
- var import_react111 = __toESM(require_react(), 1);
84035
+ var import_react112 = __toESM(require_react(), 1);
83613
84036
  var FinishedSuccessfullyMessage = ({ packageName, appData: { appName, appId }, packageManager }) => {
83614
84037
  const { t: t3 } = useTranslation();
83615
- return /* @__PURE__ */ import_react111.default.createElement(
84038
+ return /* @__PURE__ */ import_react112.default.createElement(
83616
84039
  Box_default,
83617
84040
  {
83618
84041
  borderColor: "blue",
@@ -83622,25 +84045,24 @@ var FinishedSuccessfullyMessage = ({ packageName, appData: { appName, appId }, p
83622
84045
  paddingX: 3,
83623
84046
  gap: 1,
83624
84047
  marginLeft: -2,
83625
- marginTop: 1,
83626
84048
  marginBottom: 1
83627
84049
  },
83628
- /* @__PURE__ */ import_react111.default.createElement(Box_default, { marginTop: -2, marginLeft: -4 }, /* @__PURE__ */ import_react111.default.createElement(Text2, { skin: "question", bold: true }, t3("create_app.results"), " ")),
83629
- /* @__PURE__ */ import_react111.default.createElement(Text2, null, /* @__PURE__ */ import_react111.default.createElement(
84050
+ /* @__PURE__ */ import_react112.default.createElement(Box_default, { marginTop: -2, marginLeft: -4 }, /* @__PURE__ */ import_react112.default.createElement(Text2, { skin: "question", bold: true }, t3("create_app.results"), " ")),
84051
+ /* @__PURE__ */ import_react112.default.createElement(Text2, null, /* @__PURE__ */ import_react112.default.createElement(
83630
84052
  Trans2,
83631
84053
  {
83632
84054
  i18nKey: "create_app.generate_project.finished.ready_to_start",
83633
- components: [/* @__PURE__ */ import_react111.default.createElement(Text2, { bold: true })],
84055
+ components: [/* @__PURE__ */ import_react112.default.createElement(Text2, { bold: true })],
83634
84056
  values: { appName }
83635
84057
  }
83636
84058
  )),
83637
- /* @__PURE__ */ import_react111.default.createElement(Text2, { bold: true }, t3("create_app.generate_project.finished.next_steps")),
83638
- /* @__PURE__ */ import_react111.default.createElement(UnorderedList, { gap: 1 }, /* @__PURE__ */ import_react111.default.createElement(UnorderedList.Item, { marker: "\u{1F45F}" }, /* @__PURE__ */ import_react111.default.createElement(Text2, null, t3("create_app.generate_project.finished.run_local_development")), /* @__PURE__ */ import_react111.default.createElement(Text2, { skin: "info" }, `cd ${packageName}`), /* @__PURE__ */ import_react111.default.createElement(Text2, { skin: "info" }, `${packageManager.getRunCmd()} dev`)), /* @__PURE__ */ import_react111.default.createElement(UnorderedList.Item, { marker: "\u{1F3AF}" }, /* @__PURE__ */ import_react111.default.createElement(Text2, null, t3("create_app.generate_project.finished.generate_extensions")), /* @__PURE__ */ import_react111.default.createElement(Text2, { skin: "info" }, `${packageManager.getRunCmd()} generate`)), /* @__PURE__ */ import_react111.default.createElement(UnorderedList.Item, { marker: "\u{1F91D}" }, /* @__PURE__ */ import_react111.default.createElement(
84059
+ /* @__PURE__ */ import_react112.default.createElement(Text2, { bold: true }, t3("create_app.generate_project.finished.next_steps")),
84060
+ /* @__PURE__ */ import_react112.default.createElement(UnorderedList, { gap: 1 }, /* @__PURE__ */ import_react112.default.createElement(UnorderedList.Item, { marker: "\u{1F45F}" }, /* @__PURE__ */ import_react112.default.createElement(Text2, null, t3("create_app.generate_project.finished.run_local_development")), /* @__PURE__ */ import_react112.default.createElement(Text2, { skin: "info" }, `cd ${packageName}`), /* @__PURE__ */ import_react112.default.createElement(Text2, { skin: "info" }, `${packageManager.getRunCmd()} dev`)), /* @__PURE__ */ import_react112.default.createElement(UnorderedList.Item, { marker: "\u{1F3AF}" }, /* @__PURE__ */ import_react112.default.createElement(Text2, null, t3("create_app.generate_project.finished.generate_extensions")), /* @__PURE__ */ import_react112.default.createElement(Text2, { skin: "info" }, `${packageManager.getRunCmd()} generate`)), /* @__PURE__ */ import_react112.default.createElement(UnorderedList.Item, { marker: "\u{1F91D}" }, /* @__PURE__ */ import_react112.default.createElement(
83639
84061
  Trans2,
83640
84062
  {
83641
84063
  i18nKey: "create_app.create_new.app_on_dev_center",
83642
84064
  components: [
83643
- /* @__PURE__ */ import_react111.default.createElement(
84065
+ /* @__PURE__ */ import_react112.default.createElement(
83644
84066
  Link,
83645
84067
  {
83646
84068
  skin: "info",
@@ -83649,12 +84071,12 @@ var FinishedSuccessfullyMessage = ({ packageName, appData: { appName, appId }, p
83649
84071
  )
83650
84072
  ]
83651
84073
  }
83652
- )), /* @__PURE__ */ import_react111.default.createElement(UnorderedList.Item, { marker: /* @__PURE__ */ import_react111.default.createElement(Learn, null) }, /* @__PURE__ */ import_react111.default.createElement(
84074
+ )), /* @__PURE__ */ import_react112.default.createElement(UnorderedList.Item, { marker: /* @__PURE__ */ import_react112.default.createElement(Learn, null) }, /* @__PURE__ */ import_react112.default.createElement(
83653
84075
  Trans2,
83654
84076
  {
83655
84077
  i18nKey: "create_app.generate_project.finished.visit_docs",
83656
84078
  components: [
83657
- /* @__PURE__ */ import_react111.default.createElement(
84079
+ /* @__PURE__ */ import_react112.default.createElement(
83658
84080
  Link,
83659
84081
  {
83660
84082
  skin: "info",
@@ -83663,12 +84085,12 @@ var FinishedSuccessfullyMessage = ({ packageName, appData: { appName, appId }, p
83663
84085
  )
83664
84086
  ]
83665
84087
  }
83666
- )), /* @__PURE__ */ import_react111.default.createElement(UnorderedList.Item, { marker: "\u{1F4AC}" }, /* @__PURE__ */ import_react111.default.createElement(
84088
+ )), /* @__PURE__ */ import_react112.default.createElement(UnorderedList.Item, { marker: "\u{1F4AC}" }, /* @__PURE__ */ import_react112.default.createElement(
83667
84089
  Trans2,
83668
84090
  {
83669
84091
  i18nKey: "create_app.generate_project.finished.join_community",
83670
84092
  components: [
83671
- /* @__PURE__ */ import_react111.default.createElement(Link, { skin: "info", url: "https://discord.gg/wixstudio" })
84093
+ /* @__PURE__ */ import_react112.default.createElement(Link, { skin: "info", url: "https://discord.gg/wixstudio" })
83672
84094
  ]
83673
84095
  }
83674
84096
  )))
@@ -83677,23 +84099,23 @@ var FinishedSuccessfullyMessage = ({ packageName, appData: { appName, appId }, p
83677
84099
 
83678
84100
  // src/components/TaskList.tsx
83679
84101
  init_esm_shims();
83680
- var import_react112 = __toESM(require_react(), 1);
84102
+ var import_react113 = __toESM(require_react(), 1);
83681
84103
  var TaskList = ({ tasks, totalTaskCount }) => {
83682
- return /* @__PURE__ */ import_react112.default.createElement(import_react112.default.Fragment, null, tasks.map((task, index) => {
84104
+ return /* @__PURE__ */ import_react113.default.createElement(import_react113.default.Fragment, null, tasks.map((task, index) => {
83683
84105
  const stepper = `[${index + 1}/${totalTaskCount}]`;
83684
84106
  const fullText = `${stepper} ${task.text}`;
83685
84107
  if (task.status === "running") {
83686
- return /* @__PURE__ */ import_react112.default.createElement(Spinner2, { key: index, text: fullText });
84108
+ return /* @__PURE__ */ import_react113.default.createElement(Spinner2, { key: index, text: fullText });
83687
84109
  }
83688
- return /* @__PURE__ */ import_react112.default.createElement(Alert, { key: index, type: "success" }, fullText);
84110
+ return /* @__PURE__ */ import_react113.default.createElement(Alert, { key: index, type: "success" }, fullText);
83689
84111
  }));
83690
84112
  };
83691
84113
 
83692
84114
  // src/task-runner.ts
83693
84115
  init_esm_shims();
83694
- var import_react113 = __toESM(require_react(), 1);
83695
- var import_variant40 = __toESM(require_lib(), 1);
83696
- var TaskRunnerStatus = (0, import_variant40.variant)({
84116
+ var import_react114 = __toESM(require_react(), 1);
84117
+ var import_variant42 = __toESM(require_lib(), 1);
84118
+ var TaskRunnerStatus = (0, import_variant42.variant)({
83697
84119
  Idle: {},
83698
84120
  Running: (runningTasks, totalTaskCount) => {
83699
84121
  const taskStatuses = runningTasks.map((task, index) => {
@@ -83717,7 +84139,7 @@ var TaskRunnerStatus = (0, import_variant40.variant)({
83717
84139
  }
83718
84140
  });
83719
84141
  function useTaskRunner() {
83720
- const [status, setStatus] = (0, import_react113.useState)(
84142
+ const [status, setStatus] = (0, import_react114.useState)(
83721
84143
  TaskRunnerStatus.Idle()
83722
84144
  );
83723
84145
  const { execute } = useAsyncCallback3(async (_2, tasks) => {
@@ -83735,15 +84157,38 @@ function useTaskRunner() {
83735
84157
  };
83736
84158
  }
83737
84159
 
84160
+ // src/components/mcp/McpConfigCreated.tsx
84161
+ init_esm_shims();
84162
+ var import_react115 = __toESM(require_react(), 1);
84163
+ var McpConfigCreated = ({
84164
+ mcpPath,
84165
+ docsUrl
84166
+ }) => {
84167
+ return /* @__PURE__ */ import_react115.default.createElement(Box_default, { flexDirection: "column", marginBottom: 1 }, /* @__PURE__ */ import_react115.default.createElement(Box_default, { marginLeft: -2 }, /* @__PURE__ */ import_react115.default.createElement(Alert, { type: "success" }, /* @__PURE__ */ import_react115.default.createElement(Badge, { skin: "success" }, /* @__PURE__ */ import_react115.default.createElement(Trans2, { i18nKey: "create_app.mcp_config_created_badge" })), " ")), /* @__PURE__ */ import_react115.default.createElement(Box_default, { marginTop: 1, flexDirection: "column" }, /* @__PURE__ */ import_react115.default.createElement(Text2, null, /* @__PURE__ */ import_react115.default.createElement(
84168
+ Trans2,
84169
+ {
84170
+ i18nKey: "create_app.mcp_config_created_1",
84171
+ components: [/* @__PURE__ */ import_react115.default.createElement(Text2, { bold: true })],
84172
+ values: { mcpPath }
84173
+ }
84174
+ )), /* @__PURE__ */ import_react115.default.createElement(Text2, null, /* @__PURE__ */ import_react115.default.createElement(Trans2, { i18nKey: "create_app.mcp_config_created_2" })), /* @__PURE__ */ import_react115.default.createElement(Text2, null, /* @__PURE__ */ import_react115.default.createElement(
84175
+ Trans2,
84176
+ {
84177
+ i18nKey: "create_app.mcp_config_created_3",
84178
+ components: [/* @__PURE__ */ import_react115.default.createElement(Link, { skin: "info", url: docsUrl })]
84179
+ }
84180
+ ))));
84181
+ };
84182
+
83738
84183
  // src/components/CreateAppCommand.tsx
83739
84184
  var GenerationProgress = ({ tasks, totalTaskCount }) => {
83740
84185
  const { t: t3 } = useTranslation();
83741
- return /* @__PURE__ */ import_react114.default.createElement(import_react114.default.Fragment, null, /* @__PURE__ */ import_react114.default.createElement(Box_default, { marginBottom: 1, marginTop: 1 }, /* @__PURE__ */ import_react114.default.createElement(Text2, null, t3("create_app.generate_project.generating_project"))), /* @__PURE__ */ import_react114.default.createElement(TaskList, { tasks, totalTaskCount }));
84186
+ return /* @__PURE__ */ import_react116.default.createElement(import_react116.default.Fragment, null, /* @__PURE__ */ import_react116.default.createElement(Box_default, { marginBottom: 1, marginTop: 1 }, /* @__PURE__ */ import_react116.default.createElement(Text2, null, t3("create_app.generate_project.generating_project"))), /* @__PURE__ */ import_react116.default.createElement(Box_default, { marginBottom: 1, flexDirection: "column" }, /* @__PURE__ */ import_react116.default.createElement(TaskList, { tasks, totalTaskCount })));
83742
84187
  };
83743
84188
  var CreateAppCommand = ({ userInfo: userInfo2, targetParentFolder: targetParentFolder2, commandOptions }) => {
83744
84189
  const { t: t3 } = useTranslation();
83745
84190
  const { execute: executeTaskRunner, status: taskRunnerStatus } = useTaskRunner();
83746
- const [generationData, setGenerationData] = (0, import_react114.useState)();
84191
+ const [generationData, setGenerationData] = (0, import_react116.useState)();
83747
84192
  const { status } = useAsync2(async () => {
83748
84193
  const repoType = await getRepoType(targetParentFolder2);
83749
84194
  const packageManager = await createPackageManager(repoType);
@@ -83755,11 +84200,11 @@ var CreateAppCommand = ({ userInfo: userInfo2, targetParentFolder: targetParentF
83755
84200
  const tasks = getTasks(data, t3);
83756
84201
  await executeTaskRunner(tasks);
83757
84202
  }
83758
- return (0, import_variant41.match)(status, {
84203
+ return (0, import_variant43.match)(status, {
83759
84204
  Error: () => null,
83760
- Loading: () => /* @__PURE__ */ import_react114.default.createElement(Spinner2, { text: t3("general.loading") }),
84205
+ Loading: () => /* @__PURE__ */ import_react116.default.createElement(Spinner2, { text: t3("general.loading") }),
83761
84206
  Success: ({ result: { repoType, packageManager } }) => {
83762
- return /* @__PURE__ */ import_react114.default.createElement(
84207
+ return /* @__PURE__ */ import_react116.default.createElement(
83763
84208
  Box_default,
83764
84209
  {
83765
84210
  flexDirection: "column",
@@ -83770,8 +84215,8 @@ var CreateAppCommand = ({ userInfo: userInfo2, targetParentFolder: targetParentF
83770
84215
  borderTop: false,
83771
84216
  paddingLeft: 1
83772
84217
  },
83773
- /* @__PURE__ */ import_react114.default.createElement(WelcomeMessage, null),
83774
- /* @__PURE__ */ import_react114.default.createElement(AuthProvider, { userInfo: userInfo2 }, /* @__PURE__ */ import_react114.default.createElement(
84218
+ /* @__PURE__ */ import_react116.default.createElement(WelcomeMessage, null),
84219
+ /* @__PURE__ */ import_react116.default.createElement(AuthProvider, { userInfo: userInfo2 }, /* @__PURE__ */ import_react116.default.createElement(
83775
84220
  Questions,
83776
84221
  {
83777
84222
  repoType,
@@ -83788,10 +84233,13 @@ var CreateAppCommand = ({ userInfo: userInfo2, targetParentFolder: targetParentF
83788
84233
  })
83789
84234
  }
83790
84235
  )),
83791
- generationData && (0, import_variant41.match)(taskRunnerStatus, {
84236
+ generationData && (0, import_variant43.match)(taskRunnerStatus, {
83792
84237
  Idle: () => null,
83793
- Running: (status2) => /* @__PURE__ */ import_react114.default.createElement(GenerationProgress, { ...status2 }),
83794
- Done: (status2) => /* @__PURE__ */ import_react114.default.createElement(import_react114.default.Fragment, null, /* @__PURE__ */ import_react114.default.createElement(GenerationProgress, { ...status2 }), /* @__PURE__ */ import_react114.default.createElement(
84238
+ Running: (status2) => /* @__PURE__ */ import_react116.default.createElement(GenerationProgress, { ...status2 }),
84239
+ Done: (status2) => /* @__PURE__ */ import_react116.default.createElement(import_react116.default.Fragment, null, /* @__PURE__ */ import_react116.default.createElement(GenerationProgress, { ...status2 }), (0, import_variant43.match)(generationData.mcpConfigResult, {
84240
+ Created: ({ mcpPath, docsUrl }) => /* @__PURE__ */ import_react116.default.createElement(McpConfigCreated, { mcpPath, docsUrl }),
84241
+ Canceled: () => null
84242
+ }), /* @__PURE__ */ import_react116.default.createElement(
83795
84243
  FinishedSuccessfullyMessage,
83796
84244
  {
83797
84245
  packageName: generationData.packageName,
@@ -83827,6 +84275,15 @@ var messages_default3 = {
83827
84275
  "create_app.choose_app_creation_source.basic_app.description": "Generate a simple app with a dashboard page",
83828
84276
  "create_app.choose_app_creation_source.template.title": "Start from a template",
83829
84277
  "create_app.choose_app_creation_source.template.description": "Start with one of our pre-built templates",
84278
+ "create_app.choose_ide_for_mcp.question": "Would you like to configure Wix MCP for your IDE?",
84279
+ "create_app.choose_ide_for_mcp.description": "(<0>read more</0>)",
84280
+ "create_app.choose_ide_for_mcp.answer.vscode": "VS Code",
84281
+ "create_app.choose_ide_for_mcp.answer.cursor": "Cursor",
84282
+ "create_app.choose_ide_for_mcp.answer.no": "No (You always can do it later)",
84283
+ "create_app.mcp_config_created_badge": "MCP Config",
84284
+ "create_app.mcp_config_created_1": "MCP configuration created at <0>{mcpPath}</0>",
84285
+ "create_app.mcp_config_created_2": "Next steps: Activate MCP in your IDE and try Agent mode.",
84286
+ "create_app.mcp_config_created_3": "<0>Read here on how to activate MCP in your IDE</0>",
83830
84287
  "create_app.choose_template.title": "Choose the template you want to start with",
83831
84288
  "create_app.choose_template.see_templates": "\u{1F4A1} To see how the templates look, and for more information, check out the <0>CLI app templates</0>",
83832
84289
  "create_app.create_new.name_of_app.label": "Enter a name for your app",
@@ -83931,7 +84388,7 @@ var program2 = new Command().name(package_default.name).description("Create Wix
83931
84388
  };
83932
84389
  try {
83933
84390
  await render2(
83934
- /* @__PURE__ */ import_react115.default.createElement(BiProvider, { value: biLogger }, /* @__PURE__ */ import_react115.default.createElement(ErrorReporterProvider, { value: errorReporter }, /* @__PURE__ */ import_react115.default.createElement(I18nProvider, { messages: messages_default3 }, /* @__PURE__ */ import_react115.default.createElement(
84391
+ /* @__PURE__ */ import_react117.default.createElement(BiProvider, { value: biLogger }, /* @__PURE__ */ import_react117.default.createElement(ErrorReporterProvider, { value: errorReporter }, /* @__PURE__ */ import_react117.default.createElement(I18nProvider, { messages: messages_default3 }, /* @__PURE__ */ import_react117.default.createElement(
83935
84392
  CreateAppCommand,
83936
84393
  {
83937
84394
  userInfo,