@builder.io/sdk-vue 4.2.3 → 5.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (67) hide show
  1. package/lib/browser/{awaiter-QkoC16ei.js → awaiter-ILP5AE_w.js} +1 -1
  2. package/lib/browser/{awaiter-dVEzPIfa.cjs → awaiter-VkVjatka.cjs} +1 -1
  3. package/lib/browser/{block-wrapper-BOi64ZSf.cjs → block-wrapper-YKo113Fa.cjs} +1 -1
  4. package/lib/browser/{block-wrapper-LGlUvVpu.js → block-wrapper-ygK_O2AU.js} +3 -3
  5. package/lib/browser/{component-ref-Jt8NZQKY.cjs → component-ref-EjId5WvL.cjs} +1 -1
  6. package/lib/browser/{component-ref-tMh8EWjb.js → component-ref-hGCGPEUq.js} +4 -4
  7. package/lib/browser/components/content/content.vue.d.ts +7 -1
  8. package/lib/browser/constants/sdk-version.d.ts +1 -1
  9. package/lib/browser/functions/get-builder-search-params/index.d.ts +8 -2
  10. package/lib/browser/functions/is-previewing.d.ts +11 -1
  11. package/lib/browser/{get-block-properties-Ahsh8p5y.js → get-block-properties-6mjKKc3J.js} +1 -1
  12. package/lib/browser/{get-block-properties-NuVrGQN_.cjs → get-block-properties-ZlWQTuWn.cjs} +1 -1
  13. package/lib/browser/{index-jbLVGF3d.cjs → index-0cHTGxv8.cjs} +3 -3
  14. package/lib/browser/{index-EtzQVBnH.js → index-DCvUkRIp.js} +24 -8
  15. package/lib/browser/index.cjs +1 -1
  16. package/lib/browser/index.mjs +1 -1
  17. package/lib/browser/{live-edit-h_5MH287.cjs → live-edit-9P_PNHva.cjs} +1 -1
  18. package/lib/browser/{live-edit-rw2-UX9h.js → live-edit-AgtxwHXT.js} +1 -1
  19. package/lib/browser/{repeated-block-WP795fea.js → repeated-block-40zQxiHb.js} +2 -2
  20. package/lib/browser/{repeated-block-DP1NryZH.cjs → repeated-block-lPc7bFE1.cjs} +1 -1
  21. package/lib/browser/{style-wrapper-_FKH2e4u.cjs → style-wrapper-02IaZ_aA.cjs} +1 -1
  22. package/lib/browser/{style-wrapper-OLuHp-wg.js → style-wrapper-9igs_Whi.js} +1 -1
  23. package/lib/edge/{awaiter-AB81htE9.cjs → awaiter-pwTpDMYH.cjs} +1 -1
  24. package/lib/edge/{awaiter-G2IZpq8y.js → awaiter-vdrU3cCl.js} +1 -1
  25. package/lib/edge/{block-wrapper-3KMmt5za.cjs → block-wrapper-4tqe7yJZ.cjs} +1 -1
  26. package/lib/edge/{block-wrapper-hc1D57Il.js → block-wrapper-iAgA4dCZ.js} +3 -3
  27. package/lib/edge/{component-ref-1l1Dc15N.cjs → component-ref-MFQCHy94.cjs} +1 -1
  28. package/lib/edge/{component-ref-__eNmb_i.js → component-ref-uV3fZ3QM.js} +4 -4
  29. package/lib/edge/components/content/content.vue.d.ts +7 -1
  30. package/lib/edge/constants/sdk-version.d.ts +1 -1
  31. package/lib/edge/functions/get-builder-search-params/index.d.ts +8 -2
  32. package/lib/edge/functions/is-previewing.d.ts +11 -1
  33. package/lib/edge/{get-block-properties-IlO7VcTG.js → get-block-properties-DUAI2G6C.js} +1 -1
  34. package/lib/edge/{get-block-properties-YofIFdQl.cjs → get-block-properties-NzqCzJ3E.cjs} +1 -1
  35. package/lib/edge/{index-UFKf4DGh.cjs → index-LudMsDxG.cjs} +3 -3
  36. package/lib/edge/{index-pedBdruj.js → index-f5K55CbL.js} +227 -211
  37. package/lib/edge/index.cjs +1 -1
  38. package/lib/edge/index.mjs +1 -1
  39. package/lib/{node/live-edit-dkMPrQFh.js → edge/live-edit-6aNuY_YH.js} +1 -1
  40. package/lib/{node/live-edit-k5C1gkl6.cjs → edge/live-edit-YBs103KM.cjs} +1 -1
  41. package/lib/{node/repeated-block-FOLLYnPQ.js → edge/repeated-block-92J51HqE.js} +2 -2
  42. package/lib/edge/{repeated-block-eV-zFRwn.cjs → repeated-block-gn0WcKEu.cjs} +1 -1
  43. package/lib/edge/{style-wrapper-QrUxYNMa.cjs → style-wrapper-3T29PJfL.cjs} +1 -1
  44. package/lib/edge/{style-wrapper-mI3PSijR.js → style-wrapper-_QH_43CY.js} +1 -1
  45. package/lib/node/{awaiter-vsM2I4ci.js → awaiter-_PQl5CZw.js} +1 -1
  46. package/lib/node/{awaiter-GsCK0Rmm.cjs → awaiter-_zzYYoHt.cjs} +1 -1
  47. package/lib/node/{block-wrapper-VVk0Gqbc.cjs → block-wrapper-5QWMnsvW.cjs} +1 -1
  48. package/lib/node/{block-wrapper-HC1GKPg-.js → block-wrapper-iXY63pDg.js} +3 -3
  49. package/lib/node/{component-ref-SsJCZYlF.cjs → component-ref-vB30sRt1.cjs} +1 -1
  50. package/lib/node/{component-ref-bqN5ZiyT.js → component-ref-wRaAzwDF.js} +4 -4
  51. package/lib/node/components/content/content.vue.d.ts +7 -1
  52. package/lib/node/constants/sdk-version.d.ts +1 -1
  53. package/lib/node/functions/get-builder-search-params/index.d.ts +8 -2
  54. package/lib/node/functions/is-previewing.d.ts +11 -1
  55. package/lib/node/{get-block-properties-4dl07r5f.js → get-block-properties-E8mgzrhP.js} +1 -1
  56. package/lib/node/{get-block-properties--0kf0kc1.cjs → get-block-properties-cDhomI1Z.cjs} +1 -1
  57. package/lib/node/{index-BtCfIIfO.js → index--XgB-AgN.js} +24 -8
  58. package/lib/node/{index-9ZnpkpZ8.cjs → index-i2MMpFha.cjs} +3 -3
  59. package/lib/node/index.cjs +1 -1
  60. package/lib/node/index.mjs +1 -1
  61. package/lib/{edge/live-edit-bP5Bdb_I.cjs → node/live-edit-Bz_D9JCX.cjs} +1 -1
  62. package/lib/{edge/live-edit-mkwzJ3KQ.js → node/live-edit-TC1HWKWh.js} +1 -1
  63. package/lib/node/{repeated-block-pPsNH7xs.cjs → repeated-block-4J2VTtyy.cjs} +1 -1
  64. package/lib/{edge/repeated-block-i0HNWVX0.js → node/repeated-block-pFLgMZ63.js} +2 -2
  65. package/lib/node/{style-wrapper-bEfbvdLX.js → style-wrapper-6aypxSY5.js} +1 -1
  66. package/lib/node/{style-wrapper-CbrJHZiI.cjs → style-wrapper-V1h2_Ngb.cjs} +1 -1
  67. package/package.json +2 -2
@@ -218,7 +218,7 @@ function In({
218
218
  }
219
219
  });
220
220
  }
221
- const fi = ({
221
+ const hi = ({
222
222
  code: e,
223
223
  builder: t,
224
224
  context: n,
@@ -239,7 +239,7 @@ const fi = ({
239
239
  });
240
240
  return new Function(...u.map(([c]) => c), e)(...u.map(([, c]) => c));
241
241
  };
242
- var V, hi = function(e) {
242
+ var V, fi = function(e) {
243
243
  function t(a) {
244
244
  return 48 > a ? a === 36 : 58 > a ? !0 : 65 > a ? !1 : 91 > a ? !0 : 97 > a ? a === 95 : 123 > a ? !0 : 170 <= a && _o.test(String.fromCharCode(a));
245
245
  }
@@ -247,16 +247,16 @@ var V, hi = function(e) {
247
247
  return 65 > a ? a === 36 : 91 > a ? !0 : 97 > a ? a === 95 : 123 > a ? !0 : 170 <= a && Tr.test(String.fromCharCode(a));
248
248
  }
249
249
  function r(a, l) {
250
- for (var p = k, f = 1, P = 0; ; ) {
250
+ for (var p = k, h = 1, P = 0; ; ) {
251
251
  $t.lastIndex = P;
252
252
  var Q = $t.exec(p);
253
253
  if (Q && Q.index < a)
254
- ++f, P = Q.index + Q[0].length;
254
+ ++h, P = Q.index + Q[0].length;
255
255
  else
256
256
  break;
257
257
  }
258
258
  throw p = {
259
- line: f,
259
+ line: h,
260
260
  ab: a - P
261
261
  }, l += " (" + p.line + ":" + p.ab + ")", l = new SyntaxError(l), l.j = a, l.X = p, l.o = d, l;
262
262
  }
@@ -264,15 +264,15 @@ var V, hi = function(e) {
264
264
  a = a.split(" ");
265
265
  for (var l = /* @__PURE__ */ Object.create(null), p = 0; p < a.length; p++)
266
266
  l[a[p]] = !0;
267
- return function(f) {
268
- return l[f] || !1;
267
+ return function(h) {
268
+ return l[h] || !1;
269
269
  };
270
270
  }
271
271
  function i() {
272
272
  this.line = Ve, this.ab = d - ke;
273
273
  }
274
274
  function s(a, l) {
275
- Fe = d, O.C && (Yt = new i()), $ = a, c(), fe = l, tt = a.m;
275
+ Fe = d, O.C && (Yt = new i()), $ = a, c(), he = l, tt = a.m;
276
276
  }
277
277
  function u() {
278
278
  for (var a = d, l = O.va && O.C && new i(), p = k.charCodeAt(d += 2); d < Le && p !== 10 && p !== 13 && p !== 8232 && p !== 8233; )
@@ -293,11 +293,11 @@ var V, hi = function(e) {
293
293
  else if (a === 47)
294
294
  if (a = k.charCodeAt(d + 1), a === 42) {
295
295
  a = void 0;
296
- var l = O.va && O.C && new i(), p = d, f = k.indexOf("*/", d += 2);
297
- if (f === -1 && r(d - 2, "Unterminated comment"), d = f + 2, O.C)
296
+ var l = O.va && O.C && new i(), p = d, h = k.indexOf("*/", d += 2);
297
+ if (h === -1 && r(d - 2, "Unterminated comment"), d = h + 2, O.C)
298
298
  for ($t.lastIndex = p; (a = $t.exec(k)) && a.index < d; )
299
299
  ++Ve, ke = a.index + a[0].length;
300
- O.va && O.va(!0, k.slice(p + 2, f), p, d, l, O.C && new i());
300
+ O.va && O.va(!0, k.slice(p + 2, h), p, d, l, O.C && new i());
301
301
  } else if (a === 47)
302
302
  u();
303
303
  else
@@ -310,7 +310,7 @@ var V, hi = function(e) {
310
310
  break;
311
311
  }
312
312
  }
313
- function h(a) {
313
+ function f(a) {
314
314
  switch (a) {
315
315
  case 46:
316
316
  a = k.charCodeAt(d + 1), 48 <= a && 57 >= a ? A(!0) : (++d, s(gr));
@@ -362,11 +362,11 @@ var V, hi = function(e) {
362
362
  }
363
363
  if (p === 92) {
364
364
  p = k.charCodeAt(++d);
365
- var f = /^[0-7]+/.exec(k.slice(d, d + 3));
366
- for (f && (f = f[0]); f && 255 < parseInt(f, 8); )
367
- f = f.slice(0, -1);
368
- if (f === "0" && (f = null), ++d, f)
369
- ce && r(d - 2, "Octal literal in strict mode"), l += String.fromCharCode(parseInt(f, 8)), d += f.length - 1;
365
+ var h = /^[0-7]+/.exec(k.slice(d, d + 3));
366
+ for (h && (h = h[0]); h && 255 < parseInt(h, 8); )
367
+ h = h.slice(0, -1);
368
+ if (h === "0" && (h = null), ++d, h)
369
+ ce && r(d - 2, "Octal literal in strict mode"), l += String.fromCharCode(parseInt(h, 8)), d += h.length - 1;
370
370
  else
371
371
  switch (p) {
372
372
  case 110:
@@ -450,7 +450,7 @@ var V, hi = function(e) {
450
450
  return s(en);
451
451
  if (a = k.charCodeAt(d), n(a) || a === 92)
452
452
  return te();
453
- if (h(a) === !1) {
453
+ if (f(a) === !1) {
454
454
  if (a = String.fromCharCode(a), a === "\\" || Tr.test(a))
455
455
  return te();
456
456
  r(d, "Unexpected character '" + a + "'");
@@ -463,17 +463,17 @@ var V, hi = function(e) {
463
463
  function m() {
464
464
  for (var a, l, p = d; ; ) {
465
465
  d >= Le && r(p, "Unterminated regexp");
466
- var f = k.charAt(d);
467
- if (xt.test(f) && r(p, "Unterminated regexp"), a)
466
+ var h = k.charAt(d);
467
+ if (xt.test(h) && r(p, "Unterminated regexp"), a)
468
468
  a = !1;
469
469
  else {
470
- if (f === "[")
470
+ if (h === "[")
471
471
  l = !0;
472
- else if (f === "]" && l)
472
+ else if (h === "]" && l)
473
473
  l = !1;
474
- else if (f === "/" && !l)
474
+ else if (h === "/" && !l)
475
475
  break;
476
- a = f === "\\";
476
+ a = h === "\\";
477
477
  }
478
478
  ++d;
479
479
  }
@@ -486,19 +486,19 @@ var V, hi = function(e) {
486
486
  s(Yn, P);
487
487
  }
488
488
  function S(a, l) {
489
- for (var p = d, f = 0, P = l === void 0 ? 1 / 0 : l, Q = 0; Q < P; ++Q) {
489
+ for (var p = d, h = 0, P = l === void 0 ? 1 / 0 : l, Q = 0; Q < P; ++Q) {
490
490
  var se = k.charCodeAt(d);
491
491
  if (se = 97 <= se ? se - 97 + 10 : 65 <= se ? se - 65 + 10 : 48 <= se && 57 >= se ? se - 48 : 1 / 0, se >= a)
492
492
  break;
493
- ++d, f = f * a + se;
493
+ ++d, h = h * a + se;
494
494
  }
495
- return d === p || l !== void 0 && d - p !== l ? null : f;
495
+ return d === p || l !== void 0 && d - p !== l ? null : h;
496
496
  }
497
497
  function A(a) {
498
- var l = d, p = !1, f = k.charCodeAt(d) === 48;
498
+ var l = d, p = !1, h = k.charCodeAt(d) === 48;
499
499
  a || S(10) !== null || r(l, "Invalid number"), k.charCodeAt(d) === 46 && (++d, S(10), p = !0), a = k.charCodeAt(d), (a === 69 || a === 101) && (a = k.charCodeAt(++d), a !== 43 && a !== 45 || ++d, S(10) === null && r(l, "Invalid number"), p = !0), n(k.charCodeAt(d)) && r(d, "Identifier directly after number"), a = k.slice(l, d);
500
500
  var P;
501
- p ? P = parseFloat(a) : f && a.length !== 1 ? /[89]/.test(a) || ce ? r(l, "Invalid number") : P = parseInt(a, 8) : P = parseInt(a, 10), s(rt, P);
501
+ p ? P = parseFloat(a) : h && a.length !== 1 ? /[89]/.test(a) || ce ? r(l, "Invalid number") : P = parseInt(a, 8) : P = parseInt(a, 10), s(rt, P);
502
502
  }
503
503
  function x(a) {
504
504
  return a = S(16, a), a === null && r(Y, "Bad character escape sequence"), a;
@@ -506,13 +506,13 @@ var V, hi = function(e) {
506
506
  function H() {
507
507
  Ke = !1;
508
508
  for (var a, l = !0, p = d; ; ) {
509
- var f = k.charCodeAt(d);
510
- if (t(f))
509
+ var h = k.charCodeAt(d);
510
+ if (t(h))
511
511
  Ke && (a += k.charAt(d)), ++d;
512
- else if (f === 92) {
513
- Ke || (a = k.slice(p, d)), Ke = !0, k.charCodeAt(++d) !== 117 && r(d, "Expecting Unicode escape sequence \\uXXXX"), ++d, f = x(4);
514
- var P = String.fromCharCode(f);
515
- P || r(d - 1, "Invalid Unicode escape"), (l ? n(f) : t(f)) || r(d - 4, "Invalid Unicode escape"), a += P;
512
+ else if (h === 92) {
513
+ Ke || (a = k.slice(p, d)), Ke = !0, k.charCodeAt(++d) !== 117 && r(d, "Expecting Unicode escape sequence \\uXXXX"), ++d, h = x(4);
514
+ var P = String.fromCharCode(h);
515
+ P || r(d - 1, "Invalid Unicode escape"), (l ? n(h) : t(h)) || r(d - 4, "Invalid Unicode escape"), a += P;
516
516
  } else
517
517
  break;
518
518
  l = !1;
@@ -571,8 +571,8 @@ var V, hi = function(e) {
571
571
  function Tt(a) {
572
572
  a.type !== "Identifier" && a.type !== "MemberExpression" && r(a.start, "Assigning to rvalue"), ce && a.type === "Identifier" && At(a.name) && r(a.start, "Assigning to " + a.name + " in strict mode");
573
573
  }
574
- function he() {
575
- ($ === vr || $ === De && fe === "/=") && y(!0);
574
+ function fe() {
575
+ ($ === vr || $ === De && he === "/=") && y(!0);
576
576
  var a = $, l = K();
577
577
  switch (a) {
578
578
  case tn:
@@ -580,28 +580,28 @@ var V, hi = function(e) {
580
580
  E();
581
581
  var p = a === tn;
582
582
  L(we) || wt() ? l.label = null : $ !== Me ? be() : (l.label = Se(), je());
583
- for (var f = 0; f < X.length; ++f) {
584
- var P = X[f];
583
+ for (var h = 0; h < X.length; ++h) {
584
+ var P = X[h];
585
585
  if ((l.label === null || P.name === l.label.name) && (P.kind !== null && (p || P.kind === "loop") || l.label && p))
586
586
  break;
587
587
  }
588
- return f === X.length && r(l.start, "Unsyntactic " + a.l), R(l, p ? "BreakStatement" : "ContinueStatement");
588
+ return h === X.length && r(l.start, "Unsyntactic " + a.l), R(l, p ? "BreakStatement" : "ContinueStatement");
589
589
  case er:
590
590
  return E(), je(), R(l, "DebuggerStatement");
591
591
  case nr:
592
- return E(), X.push(cn), l.body = he(), X.pop(), J(an), l.test = Qe(), je(), R(l, "DoWhileStatement");
592
+ return E(), X.push(cn), l.body = fe(), X.pop(), J(an), l.test = Qe(), je(), R(l, "DoWhileStatement");
593
593
  case ir:
594
594
  return E(), X.push(cn), J(Ce), $ === we ? Ht(l, null) : $ === sn ? (a = K(), E(), Jn(a, !0), R(a, "VariableDeclaration"), a.fa.length === 1 && L(Rt) ? _n(l, a) : Ht(l, a)) : (a = re(!1, !0), L(Rt) ? (Tt(a), _n(l, a)) : Ht(l, a));
595
595
  case rn:
596
596
  return E(), Gt(l, !0);
597
597
  case sr:
598
- return E(), l.test = Qe(), l.da = he(), l.alternate = L(rr) ? he() : null, R(l, "IfStatement");
598
+ return E(), l.test = Qe(), l.da = fe(), l.alternate = L(rr) ? fe() : null, R(l, "IfStatement");
599
599
  case ar:
600
600
  return nt || O.Ib || r(Y, "'return' outside of function"), E(), L(we) || wt() ? l.K = null : (l.K = re(), je()), R(l, "ReturnStatement");
601
601
  case on:
602
602
  for (E(), l.Qb = Qe(), l.tb = [], J(ot), X.push(Jo); $ !== He; )
603
- $ === nn || $ === tr ? (a = $ === nn, f && R(f, "SwitchCase"), l.tb.push(f = K()), f.da = [], E(), a ? f.test = re() : (p && r(Qt, "Multiple default clauses"), p = !0, f.test = null), J(it)) : (f || be(), f.da.push(he()));
604
- return f && R(f, "SwitchCase"), E(), X.pop(), R(l, "SwitchStatement");
603
+ $ === nn || $ === tr ? (a = $ === nn, h && R(h, "SwitchCase"), l.tb.push(h = K()), h.da = [], E(), a ? h.test = re() : (p && r(Qt, "Multiple default clauses"), p = !0, h.test = null), J(it)) : (h || be(), h.da.push(fe()));
604
+ return h && R(h, "SwitchCase"), E(), X.pop(), R(l, "SwitchStatement");
605
605
  case lr:
606
606
  return E(), xt.test(k.slice(xe, Y)) && r(xe, "Illegal newline after throw"), l.K = re(), je(), R(l, "ThrowStatement");
607
607
  case ur:
@@ -609,21 +609,21 @@ var V, hi = function(e) {
609
609
  case sn:
610
610
  return E(), Jn(l), je(), R(l, "VariableDeclaration");
611
611
  case an:
612
- return E(), l.test = Qe(), X.push(cn), l.body = he(), X.pop(), R(l, "WhileStatement");
612
+ return E(), l.test = Qe(), X.push(cn), l.body = fe(), X.pop(), R(l, "WhileStatement");
613
613
  case cr:
614
- return ce && r(Y, "'with' in strict mode"), E(), l.object = Qe(), l.body = he(), R(l, "WithStatement");
614
+ return ce && r(Y, "'with' in strict mode"), E(), l.object = Qe(), l.body = fe(), R(l, "WithStatement");
615
615
  case ot:
616
616
  return Ze();
617
617
  case we:
618
618
  return E(), R(l, "EmptyStatement");
619
619
  default:
620
- if (p = fe, P = re(), a === Me && P.type === "Identifier" && L(it)) {
621
- for (f = 0; f < X.length; ++f)
622
- X[f].name === p && r(P.start, "Label '" + p + "' is already declared");
620
+ if (p = he, P = re(), a === Me && P.type === "Identifier" && L(it)) {
621
+ for (h = 0; h < X.length; ++h)
622
+ X[h].name === p && r(P.start, "Label '" + p + "' is already declared");
623
623
  return X.push({
624
624
  name: p,
625
625
  kind: $.W ? "loop" : $ === on ? "switch" : null
626
- }), l.body = he(), X.pop(), l.label = P, R(l, "LabeledStatement");
626
+ }), l.body = fe(), X.pop(), l.label = P, R(l, "LabeledStatement");
627
627
  }
628
628
  return l.la = P, je(), R(l, "ExpressionStatement");
629
629
  }
@@ -634,22 +634,22 @@ var V, hi = function(e) {
634
634
  return J(ge), a;
635
635
  }
636
636
  function Ze(a) {
637
- var l = K(), p = !0, f = !1;
637
+ var l = K(), p = !0, h = !1;
638
638
  for (l.body = [], J(ot); !L(He); ) {
639
- var P = he();
639
+ var P = fe();
640
640
  if (l.body.push(P), p && a && We(P)) {
641
- var Q = f;
642
- D(f = !0);
641
+ var Q = h;
642
+ D(h = !0);
643
643
  }
644
644
  p = !1;
645
645
  }
646
- return f && !Q && D(!1), R(l, "BlockStatement");
646
+ return h && !Q && D(!1), R(l, "BlockStatement");
647
647
  }
648
648
  function Ht(a, l) {
649
- return a.ua = l, J(we), a.test = $ === we ? null : re(), J(we), a.update = $ === ge ? null : re(), J(ge), a.body = he(), X.pop(), R(a, "ForStatement");
649
+ return a.ua = l, J(we), a.test = $ === we ? null : re(), J(we), a.update = $ === ge ? null : re(), J(ge), a.body = fe(), X.pop(), R(a, "ForStatement");
650
650
  }
651
651
  function _n(a, l) {
652
- return a.left = l, a.right = re(), J(ge), a.body = he(), X.pop(), R(a, "ForInStatement");
652
+ return a.left = l, a.right = re(), J(ge), a.body = fe(), X.pop(), R(a, "ForInStatement");
653
653
  }
654
654
  function Jn(a, l) {
655
655
  for (a.fa = [], a.kind = "var"; ; ) {
@@ -673,23 +673,23 @@ var V, hi = function(e) {
673
673
  var p = _(l);
674
674
  p.test = l, p.da = re(!0), J(it), p.alternate = re(!0, a), l = R(p, "ConditionalExpression");
675
675
  }
676
- return $.Cb ? (p = _(l), p.operator = fe, p.left = l, E(), p.right = Kt(a), Tt(l), R(p, "AssignmentExpression")) : l;
676
+ return $.Cb ? (p = _(l), p.operator = he, p.left = l, E(), p.right = Kt(a), Tt(l), R(p, "AssignmentExpression")) : l;
677
677
  }
678
678
  function zt(a, l, p) {
679
- var f = $.L;
680
- if (f !== null && (!p || $ !== Rt) && f > l) {
679
+ var h = $.L;
680
+ if (h !== null && (!p || $ !== Rt) && h > l) {
681
681
  var P = _(a);
682
- return P.left = a, P.operator = fe, a = $, E(), P.right = zt(qt(), f, p), f = R(P, a === kr || a === Cr ? "LogicalExpression" : "BinaryExpression"), zt(f, l, p);
682
+ return P.left = a, P.operator = he, a = $, E(), P.right = zt(qt(), h, p), h = R(P, a === kr || a === Cr ? "LogicalExpression" : "BinaryExpression"), zt(h, l, p);
683
683
  }
684
684
  return a;
685
685
  }
686
686
  function qt() {
687
687
  if ($.prefix) {
688
688
  var a = K(), l = $.$b;
689
- return a.operator = fe, tt = a.prefix = !0, E(), a.K = qt(), l ? Tt(a.K) : ce && a.operator === "delete" && a.K.type === "Identifier" && r(a.start, "Deleting local variable in strict mode"), R(a, l ? "UpdateExpression" : "UnaryExpression");
689
+ return a.operator = he, tt = a.prefix = !0, E(), a.K = qt(), l ? Tt(a.K) : ce && a.operator === "delete" && a.K.type === "Identifier" && r(a.start, "Deleting local variable in strict mode"), R(a, l ? "UpdateExpression" : "UnaryExpression");
690
690
  }
691
691
  for (l = et(Et()); $.cc && !wt(); )
692
- a = _(l), a.operator = fe, a.prefix = !1, a.K = l, Tt(l), E(), l = R(a, "UpdateExpression");
692
+ a = _(l), a.operator = he, a.prefix = !1, a.K = l, Tt(l), E(), l = R(a, "UpdateExpression");
693
693
  return l;
694
694
  }
695
695
  function et(a, l) {
@@ -709,9 +709,9 @@ var V, hi = function(e) {
709
709
  case rt:
710
710
  case It:
711
711
  case Yn:
712
- return a = K(), a.value = fe, a.raw = k.slice(Y, Fe), E(), R(a, "Literal");
713
- case fr:
712
+ return a = K(), a.value = he, a.raw = k.slice(Y, Fe), E(), R(a, "Literal");
714
713
  case hr:
714
+ case fr:
715
715
  case mr:
716
716
  return a = K(), a.value = $.$a, a.raw = $.l, E(), R(a, "Literal");
717
717
  case Ce:
@@ -728,23 +728,23 @@ var V, hi = function(e) {
728
728
  l = !1;
729
729
  else if (J($e), O.sb && L(He))
730
730
  break;
731
- var f = {
731
+ var h = {
732
732
  key: $ === rt || $ === It ? Et() : Se(!0)
733
733
  }, P = !1;
734
734
  if (L(it)) {
735
- f.value = re(!0);
736
- var Q = f.kind = "init";
735
+ h.value = re(!0);
736
+ var Q = h.kind = "init";
737
737
  } else
738
- f.key.type !== "Identifier" || f.key.name !== "get" && f.key.name !== "set" ? be() : (P = p = !0, Q = f.kind = f.key.name, f.key = $ === rt || $ === It ? Et() : Se(!0), $ !== Ce && be(), f.value = Gt(K(), !1));
739
- if (f.key.type === "Identifier" && (ce || p))
738
+ h.key.type !== "Identifier" || h.key.name !== "get" && h.key.name !== "set" ? be() : (P = p = !0, Q = h.kind = h.key.name, h.key = $ === rt || $ === It ? Et() : Se(!0), $ !== Ce && be(), h.value = Gt(K(), !1));
739
+ if (h.key.type === "Identifier" && (ce || p))
740
740
  for (var se = 0; se < a.h.length; ++se) {
741
741
  var ze = a.h[se];
742
- if (ze.key.name === f.key.name) {
742
+ if (ze.key.name === h.key.name) {
743
743
  var pn = Q === ze.kind || P && ze.kind === "init" || Q === "init" && (ze.kind === "get" || ze.kind === "set");
744
- pn && !ce && Q === "init" && ze.kind === "init" && (pn = !1), pn && r(f.key.start, "Redefinition of property");
744
+ pn && !ce && Q === "init" && ze.kind === "init" && (pn = !1), pn && r(h.key.start, "Redefinition of property");
745
745
  }
746
746
  }
747
- a.h.push(f);
747
+ a.h.push(h);
748
748
  }
749
749
  return R(a, "ObjectExpression");
750
750
  case rn:
@@ -760,28 +760,28 @@ var V, hi = function(e) {
760
760
  for (J(Ce); !L(ge); )
761
761
  p ? p = !1 : J($e), a.oa.push(Se());
762
762
  p = nt;
763
- var f = X;
764
- if (nt = !0, X = [], a.body = Ze(!0), nt = p, X = f, ce || a.body.body.length && We(a.body.body[0])) {
763
+ var h = X;
764
+ if (nt = !0, X = [], a.body = Ze(!0), nt = p, X = h, ce || a.body.body.length && We(a.body.body[0])) {
765
765
  for (p = a.id ? -1 : 0; p < a.oa.length; ++p)
766
- if (f = 0 > p ? a.id : a.oa[p], (wr(f.name) || At(f.name)) && r(f.start, "Defining '" + f.name + "' in strict mode"), 0 <= p)
766
+ if (h = 0 > p ? a.id : a.oa[p], (wr(h.name) || At(h.name)) && r(h.start, "Defining '" + h.name + "' in strict mode"), 0 <= p)
767
767
  for (var P = 0; P < p; ++P)
768
- f.name === a.oa[P].name && r(f.start, "Argument name clash in strict mode");
768
+ h.name === a.oa[P].name && r(h.start, "Argument name clash in strict mode");
769
769
  }
770
770
  return R(a, l ? "FunctionDeclaration" : "FunctionExpression");
771
771
  }
772
772
  function _t(a, l, p) {
773
- for (var f = [], P = !0; !L(a); ) {
773
+ for (var h = [], P = !0; !L(a); ) {
774
774
  if (P)
775
775
  P = !1;
776
776
  else if (J($e), l && O.sb && L(a))
777
777
  break;
778
- f.push(p && $ === $e ? null : re(!0));
778
+ h.push(p && $ === $e ? null : re(!0));
779
779
  }
780
- return f;
780
+ return h;
781
781
  }
782
782
  function Se(a) {
783
783
  var l = K();
784
- return a && O.yb === "everywhere" && (a = !1), $ === Me ? (!a && (O.yb && zo(fe) || ce && wr(fe)) && k.slice(Y, Fe).indexOf("\\") === -1 && r(Y, "The keyword '" + fe + "' is reserved"), l.name = fe) : a && $.l ? l.name = $.l : be(), tt = !1, E(), R(l, "Identifier");
784
+ return a && O.yb === "everywhere" && (a = !1), $ === Me ? (!a && (O.yb && zo(he) || ce && wr(he)) && k.slice(Y, Fe).indexOf("\\") === -1 && r(Y, "The keyword '" + he + "' is reserved"), l.name = he) : a && $.l ? l.name = $.l : be(), tt = !1, E(), R(l, "Identifier");
785
785
  }
786
786
  e.version = "0.5.0";
787
787
  var O, k = "", Le, Jt;
@@ -790,7 +790,7 @@ var V, hi = function(e) {
790
790
  for (var p in Xn)
791
791
  Object.prototype.hasOwnProperty.call(O, p) || (O[p] = Xn[p]);
792
792
  for (Jt = O.sourceFile, Ve = 1, d = ke = 0, tt = !0, c(), p = O.dc, Qt = xe = d, O.C && (Zt = new i()), nt = ce = !1, X = [], y(), a = p || K(), l = !0, p || (a.body = []); $ !== en; )
793
- p = he(), a.body.push(p), l && We(p) && D(!0), l = !1;
793
+ p = fe(), a.body.push(p), l && We(p) && D(!0), l = !1;
794
794
  return R(a, "Program");
795
795
  };
796
796
  var Xn = {
@@ -804,7 +804,7 @@ var V, hi = function(e) {
804
804
  dc: null,
805
805
  sourceFile: null,
806
806
  vb: null
807
- }, d = 0, Y = 0, Fe = 0, Xt, Yt, $, fe, tt, Ve, ke, Qt = 0, xe = 0, Zt, nt, X, ce, Bo = [], rt = {
807
+ }, d = 0, Y = 0, Fe = 0, Xt, Yt, $, he, tt, Ve, ke, Qt = 0, xe = 0, Zt, nt, X, ce, Bo = [], rt = {
808
808
  type: "num"
809
809
  }, Yn = {
810
810
  type: "regexp"
@@ -864,10 +864,10 @@ var V, hi = function(e) {
864
864
  m: !0
865
865
  }, dr = {
866
866
  l: "this"
867
- }, fr = {
867
+ }, hr = {
868
868
  l: "null",
869
869
  $a: null
870
- }, hr = {
870
+ }, fr = {
871
871
  l: "true",
872
872
  $a: !0
873
873
  }, mr = {
@@ -897,8 +897,8 @@ var V, hi = function(e) {
897
897
  var: sn,
898
898
  while: an,
899
899
  with: cr,
900
- null: fr,
901
- true: hr,
900
+ null: hr,
901
+ true: fr,
902
902
  false: mr,
903
903
  new: pr,
904
904
  in: Rt,
@@ -1005,7 +1005,7 @@ var V, hi = function(e) {
1005
1005
  kind: "switch"
1006
1006
  };
1007
1007
  }, vn = vn = typeof globalThis > "u" ? void 0 : globalThis;
1008
- hi(vn.j || (vn.j = {}));
1008
+ fi(vn.j || (vn.j = {}));
1009
1009
  function g(e, t) {
1010
1010
  typeof e == "string" && (e = _e(e, "code"));
1011
1011
  var n = e.constructor;
@@ -1055,12 +1055,12 @@ var Er = {
1055
1055
  VALUE_IN_DESCRIPTOR: !0
1056
1056
  }, qe = {
1057
1057
  REGEXP_TIMEOUT: !0
1058
- }, Rr = [], Ee = null, ft = null, Ne = typeof globalThis > "u" ? void 0 : globalThis, mi = ["onmessage = function(e) {", "var result;", "var data = e.data;", "switch (data[0]) {", "case 'split':", "result = data[1].split(data[2], data[3]);", "break;", "case 'match':", "result = data[1].match(data[2]);", "break;", "case 'search':", "result = data[1].search(data[2]);", "break;", "case 'replace':", "result = data[1].replace(data[2], data[3]);", "break;", "case 'exec':", "var regexp = data[1];", "regexp.lastIndex = data[2];", "result = [regexp.exec(data[3]), data[1].lastIndex];", "break;", "default:", "throw Error('Unknown RegExp operation: ' + data[0]);", "}", "postMessage(result);", "close();", "};"];
1058
+ }, Rr = [], Ee = null, ht = null, Ne = typeof globalThis > "u" ? void 0 : globalThis, mi = ["onmessage = function(e) {", "var result;", "var data = e.data;", "switch (data[0]) {", "case 'split':", "result = data[1].split(data[2], data[3]);", "break;", "case 'match':", "result = data[1].match(data[2]);", "break;", "case 'search':", "result = data[1].search(data[2]);", "break;", "case 'replace':", "result = data[1].replace(data[2], data[3]);", "break;", "case 'exec':", "var regexp = data[1];", "regexp.lastIndex = data[2];", "result = [regexp.exec(data[3]), data[1].lastIndex];", "break;", "default:", "throw Error('Unknown RegExp operation: ' + data[0]);", "}", "postMessage(result);", "close();", "};"];
1059
1059
  function An(e) {
1060
1060
  var t = e >>> 0;
1061
1061
  return t === Number(e) ? t : NaN;
1062
1062
  }
1063
- function ht(e) {
1063
+ function ft(e) {
1064
1064
  var t = e >>> 0;
1065
1065
  return String(t) === String(e) && t !== 4294967295 ? t : NaN;
1066
1066
  }
@@ -1114,15 +1114,15 @@ V.lb = function() {
1114
1114
  break;
1115
1115
  }
1116
1116
  r = n.node;
1117
- var o = ft;
1118
- ft = this;
1117
+ var o = ht;
1118
+ ht = this;
1119
1119
  try {
1120
1120
  var i = this.rb[r.type](e, n, r);
1121
1121
  } catch (s) {
1122
1122
  if (s !== Jr)
1123
1123
  throw this.value !== s && (this.value = void 0), s;
1124
1124
  } finally {
1125
- ft = o;
1125
+ ht = o;
1126
1126
  }
1127
1127
  if (i && e.push(i), this.P)
1128
1128
  throw this.value = void 0, Error("Getter not supported in this context");
@@ -1176,11 +1176,11 @@ function yi(e, t) {
1176
1176
  s = s.join(", ");
1177
1177
  }
1178
1178
  try {
1179
- var h = _e("(function(" + s + ") {" + i + "})", "function" + e.Wb++);
1179
+ var f = _e("(function(" + s + ") {" + i + "})", "function" + e.Wb++);
1180
1180
  } catch (y) {
1181
1181
  I(e, e.T, "Invalid code: " + y.message);
1182
1182
  }
1183
- return h.body.length !== 1 && I(e, e.T, "Invalid code in function body"), Pn(e, h.body[0].la, e.N, "anonymous");
1183
+ return f.body.length !== 1 && I(e, e.T, "Invalid code in function body"), Pn(e, f.body[0].la, e.N, "anonymous");
1184
1184
  };
1185
1185
  e.O = e.i(r, !0), e.g(t, "Function", e.O, C), e.g(e.O, "prototype", e.Z, C), e.g(e.Z, "constructor", e.O, C), e.Z.Ta = function() {
1186
1186
  }, e.Z.Ta.id = e.Ya++, e.Z.Ab = !0, e.g(e.Z, "length", 0, le), e.Z.H = "Function", r = function(o, i) {
@@ -1287,8 +1287,8 @@ function Si(e, t) {
1287
1287
  }, r, i), r !== qe && i(Te(e, r));
1288
1288
  else {
1289
1289
  var u = e.ha(), c = ct(e, r, u, i);
1290
- u.onmessage = function(h) {
1291
- clearTimeout(c), i(Te(e, h.data));
1290
+ u.onmessage = function(f) {
1291
+ clearTimeout(c), i(Te(e, f.data));
1292
1292
  }, u.postMessage(["split", s, r, o]);
1293
1293
  }
1294
1294
  return;
@@ -1337,8 +1337,8 @@ function Si(e, t) {
1337
1337
  }, r, i), r !== qe && i(r);
1338
1338
  else {
1339
1339
  var u = e.ha(), c = ct(e, r, u, i);
1340
- u.onmessage = function(h) {
1341
- clearTimeout(c), i(h.data);
1340
+ u.onmessage = function(f) {
1341
+ clearTimeout(c), i(f.data);
1342
1342
  }, u.postMessage(["replace", s, r, o]);
1343
1343
  }
1344
1344
  return;
@@ -1442,9 +1442,9 @@ function Ti(e, t) {
1442
1442
  regexp: s
1443
1443
  }, s, o), r !== qe && (e.g(this, "lastIndex", s.lastIndex), o(i(r)));
1444
1444
  else {
1445
- var u = e.ha(), c = ct(e, s, u, o), h = this;
1445
+ var u = e.ha(), c = ct(e, s, u, o), f = this;
1446
1446
  u.onmessage = function(y) {
1447
- clearTimeout(c), e.g(h, "lastIndex", y.data[1]), o(i(y.data[0]));
1447
+ clearTimeout(c), e.g(f, "lastIndex", y.data[1]), o(i(y.data[0]));
1448
1448
  }, u.postMessage(["exec", s, s.lastIndex, r]);
1449
1449
  }
1450
1450
  else
@@ -1695,7 +1695,7 @@ V.G = function(e, t) {
1695
1695
  if (ne(this, e, this.J))
1696
1696
  return String(e).length;
1697
1697
  } else if (64 > t.charCodeAt(0) && ne(this, e, this.J)) {
1698
- var n = ht(t);
1698
+ var n = ft(t);
1699
1699
  if (!isNaN(n) && n < String(e).length)
1700
1700
  return String(e)[n];
1701
1701
  }
@@ -1710,7 +1710,7 @@ function Lt(e, t, n) {
1710
1710
  if (n = String(n), n === "length" && ne(e, t, e.J))
1711
1711
  return !0;
1712
1712
  if (ne(e, t, e.J)) {
1713
- var r = ht(n);
1713
+ var r = ft(n);
1714
1714
  if (!isNaN(r) && r < String(t).length)
1715
1715
  return !0;
1716
1716
  }
@@ -1729,7 +1729,7 @@ V.g = function(e, t, n, r) {
1729
1729
  var o = !this.o || On(this).S;
1730
1730
  if (e instanceof N) {
1731
1731
  if (ne(this, e, this.J)) {
1732
- var i = ht(t);
1732
+ var i = ft(t);
1733
1733
  if (t === "length" || !isNaN(i) && i < String(e).length) {
1734
1734
  o && I(this, this.j, "Cannot assign to read only property '" + t + "' of String '" + e.data + "'");
1735
1735
  return;
@@ -1744,11 +1744,11 @@ V.g = function(e, t, n, r) {
1744
1744
  }
1745
1745
  if (n = An(n), isNaN(n) && I(this, this.ob, "Invalid array length"), n < i)
1746
1746
  for (s in e.h) {
1747
- var s = ht(s);
1747
+ var s = ft(s);
1748
1748
  !isNaN(s) && n <= s && delete e.h[s];
1749
1749
  }
1750
1750
  } else
1751
- isNaN(s = ht(t)) || (e.h.length = Math.max(i, s + 1));
1751
+ isNaN(s = ft(t)) || (e.h.length = Math.max(i, s + 1));
1752
1752
  if (!e.preventExtensions || t in e.h)
1753
1753
  if (r) {
1754
1754
  o = {}, "get" in r && r.get && (e.V[t] = r.get, o.get = this.g.ac), "set" in r && r.set && (e.Y[t] = r.set, o.set = this.g.bc), "configurable" in r && (o.configurable = r.configurable), "enumerable" in r && (o.enumerable = r.enumerable), "writable" in r && (o.writable = r.writable, delete e.V[t], delete e.Y[t]), "value" in r ? (o.value = r.value, delete e.V[t], delete e.Y[t]) : n !== yt && (o.value = n, delete e.V[t], delete e.Y[t]);
@@ -1987,8 +1987,8 @@ function Ar(e, t, n) {
1987
1987
  } else {
1988
1988
  try {
1989
1989
  var c = _e(String(i), "taskCode" + e.ic++);
1990
- } catch (h) {
1991
- I(e, e.T, "Invalid code: " + h.message);
1990
+ } catch (f) {
1991
+ I(e, e.T, "Invalid code: " + f.message);
1992
1992
  }
1993
1993
  s.type = "EvalProgram_", s.body = c.body, r = r.node.arguments[0], Wt(s, r ? r.start : void 0, r ? r.end : void 0), r = e.N, o.length = 0;
1994
1994
  }
@@ -2046,7 +2046,7 @@ V.xa = null;
2046
2046
  V.H = "Object";
2047
2047
  V.data = null;
2048
2048
  V.toString = function() {
2049
- if (!ft)
2049
+ if (!ht)
2050
2050
  return "[object Interpreter.Object]";
2051
2051
  if (!(this instanceof N))
2052
2052
  return String(this);
@@ -2094,7 +2094,7 @@ V.toString = function() {
2094
2094
  return this.data !== null ? String(this.data) : "[object " + this.H + "]";
2095
2095
  };
2096
2096
  V.valueOf = function() {
2097
- return !ft || this.data === void 0 || this.data === null || this.data instanceof RegExp ? this : this.data instanceof Date ? this.data.valueOf() : this.data;
2097
+ return !ht || this.data === void 0 || this.data === null || this.data instanceof RegExp ? this : this.data instanceof Date ? this.data.valueOf() : this.data;
2098
2098
  };
2099
2099
  function Ai(e, t, n, r, o) {
2100
2100
  this.zb = e, this.Lb = t, this.scope = n, this.node = r, this.interval = o, this.Db = ++xi, this.time = 0;
@@ -2655,9 +2655,9 @@ function $i() {
2655
2655
  const c = s._connected[u];
2656
2656
  return Array.isArray(c) ? this.nativeToPseudo(c) : typeof c == "object" ? this.createConnectedObject(c) : c;
2657
2657
  }
2658
- function r(s, u, c, h) {
2658
+ function r(s, u, c, f) {
2659
2659
  if (s == null || !s._connected)
2660
- return t.call(this, s, u, c, h);
2660
+ return t.call(this, s, u, c, f);
2661
2661
  s._connected[u] = this.pseudoToNative(c);
2662
2662
  }
2663
2663
  const o = [], i = [];
@@ -2694,7 +2694,7 @@ function main()`).replace(/\?\./g, "."), $r = (e) => e + "JSON", Oi = ({
2694
2694
  context: t,
2695
2695
  event: n,
2696
2696
  state: u
2697
- }), h = c.map(([x]) => {
2697
+ }), f = c.map(([x]) => {
2698
2698
  const H = $r(x);
2699
2699
  return x === "state" ? "" : `var ${x} = ${H} === undefined ? undefined : JSON.parse(${H});`;
2700
2700
  }).join(`
@@ -2703,7 +2703,7 @@ function main()`).replace(/\?\./g, "."), $r = (e) => e + "JSON", Oi = ({
2703
2703
  return;
2704
2704
  const b = `
2705
2705
  function theFunction() {
2706
- ${h}
2706
+ ${f}
2707
2707
 
2708
2708
  ${y}
2709
2709
  }
@@ -2734,7 +2734,7 @@ const Bi = ({
2734
2734
  return t && n && !r ? (e && ue.log("Skipping usage of `isolated-vm` to avoid crashes in Node v20 on an arm64 machine.\n If you would like to use the `isolated-vm` package on this machine, please provide the `NODE_OPTIONS=--no-node-snapshot` config to your Node process.\n See https://github.com/BuilderIO/builder/blob/main/packages/sdks/README.md#node-v20--m1-macs-apple-silicon-support for more information.\n "), !0) : !1;
2735
2735
  }, ji = (e) => M() || Bi({
2736
2736
  shouldLogWarning: !0
2737
- }) ? fi(e) : Oi(e), Vi = /^(return )?(\s*)?state(?<getPath>(\.\w+)+)(\s*);?$/, Di = /(\s)*var(\s)+_virtual_index(\s)*=(\s)*state(?<getPath>(\.\w+)+)(\s*);?(\s)*return(\s)*_virtual_index(\s)*/, Ui = (e) => {
2737
+ }) ? hi(e) : Oi(e), Vi = /^(return )?(\s*)?state(?<getPath>(\.\w+)+)(\s*);?$/, Di = /(\s)*var(\s)+_virtual_index(\s)*=(\s)*state(?<getPath>(\.\w+)+)(\s*);?(\s)*return(\s)*_virtual_index(\s)*/, Ui = (e) => {
2738
2738
  var t, n, r, o, i, s;
2739
2739
  return ((r = (n = (t = Vi.exec(e.trim())) == null ? void 0 : t.groups) == null ? void 0 : n.getPath) == null ? void 0 : r.slice(1)) || ((s = (i = (o = Di.exec(e.trim())) == null ? void 0 : o.groups) == null ? void 0 : i.getPath) == null ? void 0 : s.slice(1));
2740
2740
  };
@@ -2768,8 +2768,8 @@ function kt({
2768
2768
  };
2769
2769
  try {
2770
2770
  return ji(c);
2771
- } catch (h) {
2772
- ue.error("Failed code evaluation: " + h.message, {
2771
+ } catch (f) {
2772
+ ue.error("Failed code evaluation: " + f.message, {
2773
2773
  code: e
2774
2774
  });
2775
2775
  return;
@@ -2994,7 +2994,7 @@ const Nr = "builder.", Yi = "options.", no = (e) => {
2994
2994
  return {};
2995
2995
  const e = new URLSearchParams(window.location.search);
2996
2996
  return no(e);
2997
- }, ro = "4.2.3", oo = () => ({
2997
+ }, ro = "5.0.0", oo = () => ({
2998
2998
  "X-Builder-SDK": G,
2999
2999
  "X-Builder-SDK-GEN": "2",
3000
3000
  "X-Builder-SDK-Version": ro
@@ -3143,7 +3143,7 @@ const ds = async ({
3143
3143
  sessionId: t,
3144
3144
  visitorId: n
3145
3145
  };
3146
- }, fs = async ({
3146
+ }, hs = async ({
3147
3147
  type: e,
3148
3148
  canTrack: t,
3149
3149
  apiKey: n,
@@ -3178,7 +3178,7 @@ async function Cn({
3178
3178
  return Fn(r), fetch(r, {
3179
3179
  method: "POST",
3180
3180
  body: JSON.stringify({
3181
- events: [await fs(t)]
3181
+ events: [await hs(t)]
3182
3182
  }),
3183
3183
  headers: {
3184
3184
  "content-type": "application/json",
@@ -3192,12 +3192,12 @@ async function Cn({
3192
3192
  const rc = (e) => Cn({
3193
3193
  ...e,
3194
3194
  canTrack: !0
3195
- }), hs = ["*.beta.builder.io", "beta.builder.io", "builder.io", "localhost", "qa.builder.io"];
3195
+ }), fs = ["*.beta.builder.io", "beta.builder.io", "builder.io", "localhost", "qa.builder.io"];
3196
3196
  function co(e, t) {
3197
3197
  if (!t.origin.startsWith("http") && !t.origin.startsWith("https"))
3198
3198
  return !1;
3199
3199
  const n = new URL(t.origin), r = n.hostname;
3200
- return (e || hs).findIndex((o) => o.startsWith("*.") ? r.endsWith(o.slice(1)) : o === r) > -1;
3200
+ return (e || fs).findIndex((o) => o.startsWith("*.") ? r.endsWith(o.slice(1)) : o === r) > -1;
3201
3201
  }
3202
3202
  let Br = !1;
3203
3203
  const po = (e) => {
@@ -3232,7 +3232,7 @@ const po = (e) => {
3232
3232
  if (o != null && o.type)
3233
3233
  switch (o.type) {
3234
3234
  case "builder.evaluate": {
3235
- const u = o.data.text, c = o.data.arguments || [], h = o.data.id, y = new Function(u);
3235
+ const u = o.data.text, c = o.data.arguments || [], f = o.data.id, y = new Function(u);
3236
3236
  let b, m = null;
3237
3237
  try {
3238
3238
  b = y.apply(null, c);
@@ -3242,7 +3242,7 @@ const po = (e) => {
3242
3242
  m ? (i = window.parent) == null || i.postMessage({
3243
3243
  type: "builder.evaluateError",
3244
3244
  data: {
3245
- id: h,
3245
+ id: f,
3246
3246
  error: m.message
3247
3247
  }
3248
3248
  }, "*") : b && typeof b.then == "function" ? b.then((S) => {
@@ -3250,7 +3250,7 @@ const po = (e) => {
3250
3250
  (A = window.parent) == null || A.postMessage({
3251
3251
  type: "builder.evaluateResult",
3252
3252
  data: {
3253
- id: h,
3253
+ id: f,
3254
3254
  result: S
3255
3255
  }
3256
3256
  }, "*");
@@ -3258,14 +3258,14 @@ const po = (e) => {
3258
3258
  type: "builder.evaluateResult",
3259
3259
  data: {
3260
3260
  result: b,
3261
- id: h
3261
+ id: f
3262
3262
  }
3263
3263
  }, "*");
3264
3264
  break;
3265
3265
  }
3266
3266
  }
3267
3267
  })));
3268
- }, fo = ({
3268
+ }, ho = ({
3269
3269
  model: e,
3270
3270
  trustedHosts: t,
3271
3271
  callbacks: n
@@ -3309,7 +3309,7 @@ const po = (e) => {
3309
3309
  modelName: e,
3310
3310
  apiKey: t
3311
3311
  });
3312
- const o = fo({
3312
+ const o = ho({
3313
3313
  callbacks: {
3314
3314
  contentUpdate: n,
3315
3315
  animation: () => {
@@ -3342,7 +3342,7 @@ const po = (e) => {
3342
3342
  name: Mn(e),
3343
3343
  value: t,
3344
3344
  canTrack: !0
3345
- }), ho = (e) => Be(e.id) && Be(e.variations) && Object.keys(e.variations).length > 0, bs = ({
3345
+ }), fo = (e) => Be(e.id) && Be(e.variations) && Object.keys(e.variations).length > 0, bs = ({
3346
3346
  id: e,
3347
3347
  variations: t
3348
3348
  }) => {
@@ -3385,7 +3385,7 @@ const po = (e) => {
3385
3385
  return e;
3386
3386
  if (!e)
3387
3387
  return;
3388
- if (!ho(e))
3388
+ if (!fo(e))
3389
3389
  return e;
3390
3390
  const n = ys({
3391
3391
  contentId: e.id
@@ -3404,7 +3404,7 @@ const po = (e) => {
3404
3404
  item: e,
3405
3405
  canTrack: t
3406
3406
  }) => {
3407
- if (!t || !ho(e))
3407
+ if (!t || !fo(e))
3408
3408
  return e;
3409
3409
  const r = await gs({
3410
3410
  contentId: e.id
@@ -3516,7 +3516,7 @@ const Is = "v3", Dr = (e) => typeof e == "number" && !isNaN(e) && e >= 0, Hn = (
3516
3516
  enrich: s,
3517
3517
  locale: u,
3518
3518
  apiVersion: c = Is,
3519
- fields: h,
3519
+ fields: f,
3520
3520
  omit: y,
3521
3521
  offset: b,
3522
3522
  cacheSeconds: m,
@@ -3532,7 +3532,7 @@ const Is = "v3", Dr = (e) => typeof e == "number" && !isNaN(e) && e >= 0, Hn = (
3532
3532
  const te = t !== 1, E = H || "https://cdn.builder.io", D = new URL(`${E}/api/${c}/content/${o}`);
3533
3533
  D.searchParams.set("apiKey", i), D.searchParams.set("limit", String(t)), D.searchParams.set("noTraverse", String(te)), D.searchParams.set("includeRefs", String(!0)), u && D.searchParams.set("locale", u);
3534
3534
  let ie = n || {};
3535
- if (s && D.searchParams.set("enrich", String(s)), D.searchParams.set("omit", y ?? "meta.componentsUsed"), h && D.searchParams.set("fields", h), Number.isFinite(b) && b > -1 && D.searchParams.set("offset", String(Math.floor(b))), typeof x == "boolean" && D.searchParams.set("includeUnpublished", String(x)), m && Dr(m) && D.searchParams.set("cacheSeconds", String(m)), S && Dr(S) && D.searchParams.set("staleCacheSeconds", String(S)), A) {
3535
+ if (s && D.searchParams.set("enrich", String(s)), D.searchParams.set("omit", y ?? "meta.componentsUsed"), f && D.searchParams.set("fields", f), Number.isFinite(b) && b > -1 && D.searchParams.set("offset", String(Math.floor(b))), typeof x == "boolean" && D.searchParams.set("includeUnpublished", String(x)), m && Dr(m) && D.searchParams.set("cacheSeconds", String(m)), S && Dr(S) && D.searchParams.set("staleCacheSeconds", String(S)), A) {
3536
3536
  const _ = Tn({
3537
3537
  sort: A
3538
3538
  });
@@ -3649,10 +3649,10 @@ function Ns(e, t, n = {}) {
3649
3649
  u = n.leading === !1 ? 0 : Date.now(), s = null, i = e.apply(r, o), s || (r = o = null);
3650
3650
  };
3651
3651
  return function() {
3652
- const h = Date.now();
3653
- !u && n.leading === !1 && (u = h);
3654
- const y = t - (h - u);
3655
- return r = this, o = arguments, y <= 0 || y > t ? (s && (clearTimeout(s), s = null), u = h, i = e.apply(r, o), s || (r = o = null)) : !s && n.trailing !== !1 && (s = setTimeout(c, y)), i;
3652
+ const f = Date.now();
3653
+ !u && n.leading === !1 && (u = f);
3654
+ const y = t - (f - u);
3655
+ return r = this, o = arguments, y <= 0 || y > t ? (s && (clearTimeout(s), s = null), u = f, i = e.apply(r, o), s || (r = o = null)) : !s && n.trailing !== !1 && (s = setTimeout(c, y)), i;
3656
3656
  };
3657
3657
  }
3658
3658
  function mt(e, ...t) {
@@ -3730,10 +3730,10 @@ function Vs(e) {
3730
3730
  return b.bottom > A && b.top < m - A;
3731
3731
  }
3732
3732
  const c = e.steps[0].styles;
3733
- function h() {
3733
+ function f() {
3734
3734
  mt(n.style, c);
3735
3735
  }
3736
- h(), setTimeout(() => {
3736
+ f(), setTimeout(() => {
3737
3737
  n.style.transition = `all ${e.duration}s ${zn(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s");
3738
3738
  }), document.addEventListener("scroll", s, {
3739
3739
  capture: !0,
@@ -3821,15 +3821,15 @@ const wo = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
3821
3821
  if (!Array.isArray(o))
3822
3822
  return;
3823
3823
  const i = n.collection.split(".").pop(), s = n.itemName || (i ? i + "Item" : "item");
3824
- return o.map((c, h) => ({
3824
+ return o.map((c, f) => ({
3825
3825
  context: {
3826
3826
  ...t,
3827
3827
  localState: {
3828
3828
  ...t.localState,
3829
- $index: h,
3829
+ $index: f,
3830
3830
  $item: c,
3831
3831
  [s]: c,
3832
- [`$${s}Index`]: h
3832
+ [`$${s}Index`]: f
3833
3833
  }
3834
3834
  },
3835
3835
  block: r
@@ -3859,22 +3859,22 @@ const wo = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
3859
3859
  "Error while attempting to dynamically import component DynamicDiv at ../dynamic-div.vue",
3860
3860
  e
3861
3861
  ), e;
3862
- }), Gs = () => import("./block-wrapper-hc1D57Il.js").then((e) => e.default).catch((e) => {
3862
+ }), Gs = () => import("./block-wrapper-iAgA4dCZ.js").then((e) => e.default).catch((e) => {
3863
3863
  throw console.error(
3864
3864
  "Error while attempting to dynamically import component BlockWrapper at ./components/block-wrapper.vue",
3865
3865
  e
3866
3866
  ), e;
3867
- }), _s = () => import("./component-ref-__eNmb_i.js").then((e) => e.default).catch((e) => {
3867
+ }), _s = () => import("./component-ref-uV3fZ3QM.js").then((e) => e.default).catch((e) => {
3868
3868
  throw console.error(
3869
3869
  "Error while attempting to dynamically import component ComponentRef at ./components/component-ref/component-ref.vue",
3870
3870
  e
3871
3871
  ), e;
3872
- }), Js = () => import("./repeated-block-i0HNWVX0.js").then((e) => e.default).catch((e) => {
3872
+ }), Js = () => import("./repeated-block-92J51HqE.js").then((e) => e.default).catch((e) => {
3873
3873
  throw console.error(
3874
3874
  "Error while attempting to dynamically import component RepeatedBlock at ./components/repeated-block.vue",
3875
3875
  e
3876
3876
  ), e;
3877
- }), Xs = () => import("./style-wrapper-mI3PSijR.js").then((e) => e.default).catch((e) => {
3877
+ }), Xs = () => import("./style-wrapper-_QH_43CY.js").then((e) => e.default).catch((e) => {
3878
3878
  throw console.error(
3879
3879
  "Error while attempting to dynamically import component StyleWrapper at ./components/style-wrapper.vue",
3880
3880
  e
@@ -3976,7 +3976,7 @@ const wo = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
3976
3976
  });
3977
3977
  function Qs(e, t, n, r, o, i) {
3978
3978
  var b;
3979
- const s = W("StyleWrapper"), u = W("ComponentRef"), c = W("Block", !0), h = W("BlockWrapper"), y = W("RepeatedBlock");
3979
+ const s = W("StyleWrapper"), u = W("ComponentRef"), c = W("Block", !0), f = W("BlockWrapper"), y = W("RepeatedBlock");
3980
3980
  return e.canShowBlock ? (v(), w(z, { key: 0 }, [
3981
3981
  ee(s, {
3982
3982
  block: e.processedBlock,
@@ -4009,7 +4009,7 @@ function Qs(e, t, n, r, o, i) {
4009
4009
  block: m.block,
4010
4010
  registeredComponents: e.registeredComponents,
4011
4011
  linkComponent: e.linkComponent
4012
- }, null, 8, ["repeatContext", "block", "registeredComponents", "linkComponent"]))), 128)) : (v(), U(h, {
4012
+ }, null, 8, ["repeatContext", "block", "registeredComponents", "linkComponent"]))), 128)) : (v(), U(f, {
4013
4013
  key: 0,
4014
4014
  Wrapper: e.Tag,
4015
4015
  block: e.processedBlock,
@@ -4150,14 +4150,14 @@ const ta = /* @__PURE__ */ j(Zs, [["render", ea], ["__scopeId", "data-v-82fc93d6
4150
4150
  }
4151
4151
  });
4152
4152
  function ra(e, t, n, r, o, i) {
4153
- var c, h, y, b;
4153
+ var c, f, y, b;
4154
4154
  const s = W("Block"), u = W("BlocksWrapper");
4155
4155
  return v(), U(u, {
4156
4156
  blocks: e.blocks,
4157
4157
  parent: e.parent,
4158
4158
  path: e.path,
4159
4159
  styleProp: e.styleProp,
4160
- BlocksWrapperProps: e.BlocksWrapperProps || ((c = e.context) == null ? void 0 : c.BlocksWrapperProps) || ((h = e.builderContext) == null ? void 0 : h.BlocksWrapperProps),
4160
+ BlocksWrapperProps: e.BlocksWrapperProps || ((c = e.context) == null ? void 0 : c.BlocksWrapperProps) || ((f = e.builderContext) == null ? void 0 : f.BlocksWrapperProps),
4161
4161
  classNameProp: e.className,
4162
4162
  BlocksWrapper: ((y = e.context) == null ? void 0 : y.BlocksWrapper) || ((b = e.builderContext) == null ? void 0 : b.BlocksWrapper)
4163
4163
  }, {
@@ -4400,10 +4400,10 @@ const Ct = /* @__PURE__ */ j(oa, [["render", ia]]), sa = /* @__PURE__ */ Object.
4400
4400
  }
4401
4401
  });
4402
4402
  function ca(e, t, n, r, o, i) {
4403
- var h;
4403
+ var f;
4404
4404
  const s = W("InlinedStyles"), u = W("Blocks"), c = W("DynamicRenderer");
4405
4405
  return v(), w("div", q({
4406
- class: e.getColumnsClass((h = e.builderBlock) == null ? void 0 : h.id) + " div-1be3j8m9ewb",
4406
+ class: e.getColumnsClass((f = e.builderBlock) == null ? void 0 : f.id) + " div-1be3j8m9ewb",
4407
4407
  style: e.columnsCssVars()
4408
4408
  }, {}), [
4409
4409
  e.TARGET !== "reactNative" ? (v(), U(s, {
@@ -4439,12 +4439,12 @@ const pa = /* @__PURE__ */ j(ua, [["render", ca], ["__scopeId", "data-v-ab15749a
4439
4439
  name: "builder-fragment-component",
4440
4440
  props: []
4441
4441
  });
4442
- function fa(e, t, n, r, o, i) {
4442
+ function ha(e, t, n, r, o, i) {
4443
4443
  return v(), w("span", null, [
4444
4444
  pe(e.$slots, "default")
4445
4445
  ]);
4446
4446
  }
4447
- const ha = /* @__PURE__ */ j(da, [["render", fa]]);
4447
+ const fa = /* @__PURE__ */ j(da, [["render", ha]]);
4448
4448
  function Ur(e) {
4449
4449
  return e.replace(/http(s)?:/, "");
4450
4450
  }
@@ -4531,7 +4531,7 @@ const ya = B({
4531
4531
  class: "div-t43jfuqn6g-2"
4532
4532
  };
4533
4533
  function ka(e, t, n, r, o, i) {
4534
- var s, u, c, h, y, b;
4534
+ var s, u, c, f, y, b;
4535
4535
  return v(), w(z, null, [
4536
4536
  Ge("picture", null, [
4537
4537
  e.webpSrcSet ? (v(), w("source", {
@@ -4565,7 +4565,7 @@ function ka(e, t, n, r, o, i) {
4565
4565
  paddingTop: e.aspectRatio * 100 + "%"
4566
4566
  })
4567
4567
  }, null, 4)) : F("", !0),
4568
- (h = (c = e.builderBlock) == null ? void 0 : c.children) != null && h.length && e.fitContent ? pe(e.$slots, "default", { key: 1 }, void 0, !0) : F("", !0),
4568
+ (f = (c = e.builderBlock) == null ? void 0 : c.children) != null && f.length && e.fitContent ? pe(e.$slots, "default", { key: 1 }, void 0, !0) : F("", !0),
4569
4569
  !e.fitContent && ((b = (y = e.builderBlock) == null ? void 0 : y.children) != null && b.length) ? (v(), w("div", Sa, [
4570
4570
  pe(e.$slots, "default", {}, void 0, !0)
4571
4571
  ])) : F("", !0)
@@ -4598,29 +4598,29 @@ function Ta(e, t, n, r, o, i) {
4598
4598
  }
4599
4599
  const Ea = /* @__PURE__ */ j(wa, [["render", Ta]]);
4600
4600
  function Ia(e, t, n, r) {
4601
- function o(h) {
4602
- return typeof h == "string";
4601
+ function o(f) {
4602
+ return typeof f == "string";
4603
4603
  }
4604
- function i(h) {
4605
- return typeof h == "number";
4604
+ function i(f) {
4605
+ return typeof f == "number";
4606
4606
  }
4607
- function s(h, y) {
4607
+ function s(f, y) {
4608
4608
  return (() => {
4609
4609
  const m = y.property, S = y.operator;
4610
4610
  let A = y.value;
4611
4611
  if (y && y.property === "urlPath" && y.value && typeof y.value == "string" && y.value !== "/" && y.value.endsWith("/") && (A = y.value.slice(0, -1)), !(m && S))
4612
4612
  return !0;
4613
4613
  if (Array.isArray(A))
4614
- return S === "isNot" ? A.every((H) => s(h, {
4614
+ return S === "isNot" ? A.every((H) => s(f, {
4615
4615
  property: m,
4616
4616
  operator: S,
4617
4617
  value: H
4618
- })) : !!A.find((H) => s(h, {
4618
+ })) : !!A.find((H) => s(f, {
4619
4619
  property: m,
4620
4620
  operator: S,
4621
4621
  value: H
4622
4622
  }));
4623
- const x = h[m];
4623
+ const x = f[m];
4624
4624
  if (Array.isArray(x))
4625
4625
  return x.includes(A);
4626
4626
  switch (S) {
@@ -4652,7 +4652,7 @@ function Ia(e, t, n, r) {
4652
4652
  startDate: n,
4653
4653
  endDate: r
4654
4654
  }, c = e.date && new Date(e.date) || /* @__PURE__ */ new Date();
4655
- return u.startDate && new Date(u.startDate) > c || u.endDate && new Date(u.endDate) < c ? !1 : !u.query || !u.query.length ? !0 : u.query.every((h) => s(e, h));
4655
+ return u.startDate && new Date(u.startDate) > c || u.endDate && new Date(u.endDate) < c ? !1 : !u.query || !u.query.length ? !0 : u.query.every((f) => s(e, f));
4656
4656
  }
4657
4657
  const Ra = `function getPersonalizedVariant(variants, blockId, isHydrationTarget, locale) {
4658
4658
  if (!navigator.cookieEnabled) {
@@ -4861,7 +4861,7 @@ const Na = () => `
4861
4861
  window.${$a} = ${Aa}
4862
4862
  window.${Io} = ${Ra}
4863
4863
  window.${Ro} = ${xa}
4864
- `, $o = G === "react", Ba = (e, t, n) => `window.${Io}(${JSON.stringify(e)}, "${t}", ${$o}${n ? `, "${n}"` : ""})`, ja = (e, t, n) => `window.${Ro}(${JSON.stringify(e)}, "${t}", ${$o}${n ? `, "${n}"` : ""})`, fn = {
4864
+ `, $o = G === "react", Ba = (e, t, n) => `window.${Io}(${JSON.stringify(e)}, "${t}", ${$o}${n ? `, "${n}"` : ""})`, ja = (e, t, n) => `window.${Ro}(${JSON.stringify(e)}, "${t}", ${$o}${n ? `, "${n}"` : ""})`, hn = {
4865
4865
  "@type": "@builder.io/sdk:Element",
4866
4866
  layerName: "Accordion item title",
4867
4867
  responsiveStyles: {
@@ -4890,7 +4890,7 @@ const Na = () => `
4890
4890
  }
4891
4891
  }
4892
4892
  }]
4893
- }, hn = {
4893
+ }, fn = {
4894
4894
  "@type": "@builder.io/sdk:Element",
4895
4895
  layerName: "Accordion item detail",
4896
4896
  responsiveStyles: {
@@ -4938,19 +4938,19 @@ const Na = () => `
4938
4938
  name: "title",
4939
4939
  type: "uiBlocks",
4940
4940
  hideFromUI: !0,
4941
- defaultValue: [fn]
4941
+ defaultValue: [hn]
4942
4942
  }, {
4943
4943
  name: "detail",
4944
4944
  type: "uiBlocks",
4945
4945
  hideFromUI: !0,
4946
- defaultValue: [hn]
4946
+ defaultValue: [fn]
4947
4947
  }],
4948
4948
  defaultValue: [{
4949
- title: [fn],
4950
- detail: [hn]
4949
+ title: [hn],
4950
+ detail: [fn]
4951
4951
  }, {
4952
- title: [fn],
4953
- detail: [hn]
4952
+ title: [hn],
4953
+ detail: [fn]
4954
4954
  }],
4955
4955
  showIf: (e) => !e.get("useChildrenForItems")
4956
4956
  }, {
@@ -5098,7 +5098,7 @@ function La(e, t, n, r, o, i) {
5098
5098
  }
5099
5099
  }),
5100
5100
  "data-index": c,
5101
- onClick: async (h) => e.onClick(c)
5101
+ onClick: async (f) => e.onClick(c)
5102
5102
  }, [
5103
5103
  ee(s, {
5104
5104
  blocks: u.title,
@@ -5396,15 +5396,15 @@ const Fa = /* @__PURE__ */ j(Ua, [["render", La]]), Ma = {
5396
5396
  onChange: (e) => {
5397
5397
  e.delete("srcset"), e.delete("noWebp");
5398
5398
  function n(s, u = 6e4) {
5399
- return new Promise((c, h) => {
5399
+ return new Promise((c, f) => {
5400
5400
  const y = document.createElement("img");
5401
5401
  let b = !1;
5402
5402
  y.onload = () => {
5403
5403
  b = !0, c(y);
5404
5404
  }, y.addEventListener("error", (m) => {
5405
- console.warn("Image load failed", m.error), h(m.error);
5405
+ console.warn("Image load failed", m.error), f(m.error);
5406
5406
  }), y.src = s, setTimeout(() => {
5407
- b || h(new Error("Image load timed out"));
5407
+ b || f(new Error("Image load timed out"));
5408
5408
  }, u);
5409
5409
  });
5410
5410
  }
@@ -5659,13 +5659,13 @@ const Fa = /* @__PURE__ */ j(Ua, [["render", La]]), Ma = {
5659
5659
  }
5660
5660
  });
5661
5661
  function Ja(e, t, n, r, o, i) {
5662
- var h, y, b, m, S, A, x, H, te, E;
5662
+ var f, y, b, m, S, A, x, H, te, E;
5663
5663
  const s = W("Blocks"), u = W("InlinedStyles"), c = W("InlinedScript");
5664
5664
  return v(), w("div", q({ ref: "rootRef" }, e.attrs), [
5665
5665
  e.shouldResetVariants && e.SDKS_REQUIRING_RESET_APPROACH.includes(e.TARGET) ? (v(), U(s, {
5666
5666
  key: 0,
5667
5667
  blocks: e.blocksToRender.blocks,
5668
- parent: (h = e.builderBlock) == null ? void 0 : h.id,
5668
+ parent: (f = e.builderBlock) == null ? void 0 : f.id,
5669
5669
  path: e.blocksToRender.path,
5670
5670
  context: e.builderContext,
5671
5671
  registeredComponents: e.builderComponents,
@@ -5805,7 +5805,7 @@ const Xa = /* @__PURE__ */ j(_a, [["render", Ja]]), Ya = {
5805
5805
  props: ["builderContext", "name", "builderComponents"]
5806
5806
  });
5807
5807
  function el(e, t, n, r, o, i) {
5808
- var u, c, h;
5808
+ var u, c, f;
5809
5809
  const s = W("Blocks");
5810
5810
  return v(), w("div", q(
5811
5811
  { style: {
@@ -5820,7 +5820,7 @@ function el(e, t, n, r, o, i) {
5820
5820
  path: `symbol.data.${e.name}`,
5821
5821
  context: e.builderContext,
5822
5822
  registeredComponents: e.builderComponents,
5823
- blocks: (h = e.builderContext.rootState) == null ? void 0 : h[e.name]
5823
+ blocks: (f = e.builderContext.rootState) == null ? void 0 : f[e.name]
5824
5824
  }, null, 8, ["parent", "path", "context", "registeredComponents", "blocks"])
5825
5825
  ], 16);
5826
5826
  }
@@ -6049,7 +6049,7 @@ function al(e, t, n, r, o, i) {
6049
6049
  key: c,
6050
6050
  class: gt(`builder-tab-wrap ${e.activeTab === c ? "builder-tab-active" : ""}`),
6051
6051
  style: Pe(e.getTabStyle(c)),
6052
- onClick: async (h) => e.onClick(c)
6052
+ onClick: async (f) => e.onClick(c)
6053
6053
  }, [
6054
6054
  ee(s, {
6055
6055
  parent: e.builderBlock.id,
@@ -6105,7 +6105,7 @@ function dl(e, t, n, r, o, i) {
6105
6105
  }
6106
6106
  }, null, 8, pl);
6107
6107
  }
6108
- const fl = /* @__PURE__ */ j(cl, [["render", dl]]), hl = {
6108
+ const hl = /* @__PURE__ */ j(cl, [["render", dl]]), fl = {
6109
6109
  name: "Custom Code",
6110
6110
  static: !0,
6111
6111
  requiredPermissions: ["editCode"],
@@ -6596,12 +6596,12 @@ const El = /* @__PURE__ */ j(Cl, [["render", Tl]]), Il = {
6596
6596
  }), i = JSON.stringify(m);
6597
6597
  }
6598
6598
  c && c !== "multipart/form-data" && (t && ((n = this.action) != null && n.includes("zapier.com")) || (o["content-type"] = c));
6599
- const h = new CustomEvent("presubmit", {
6599
+ const f = new CustomEvent("presubmit", {
6600
6600
  detail: {
6601
6601
  body: i
6602
6602
  }
6603
6603
  });
6604
- if (this.$refs.formRef && (this.$refs.formRef.dispatchEvent(h), h.defaultPrevented))
6604
+ if (this.$refs.formRef && (this.$refs.formRef.dispatchEvent(f), f.defaultPrevented))
6605
6605
  return;
6606
6606
  if (this.formState = "sending", this.sendSubmissionsTo === "email" && (this.sendSubmissionsToEmail === "your@email.com" || !this.sendSubmissionsToEmail)) {
6607
6607
  const m = "SubmissionsToEmail is required when sendSubmissionsTo is set to email";
@@ -7218,7 +7218,7 @@ const ou = /* @__PURE__ */ j(tu, [["render", ru]]), iu = {
7218
7218
  }
7219
7219
  };
7220
7220
  function pu(e, t, n, r, o, i) {
7221
- var s, u, c, h, y, b, m;
7221
+ var s, u, c, f, y, b, m;
7222
7222
  return v(), w("div", au, [
7223
7223
  Ge("video", q({
7224
7224
  class: "builder-video",
@@ -7257,7 +7257,7 @@ function pu(e, t, n, r, o, i) {
7257
7257
  fontSize: "0px"
7258
7258
  })
7259
7259
  }, null, 4)) : F("", !0),
7260
- (y = (h = e.builderBlock) == null ? void 0 : h.children) != null && y.length && e.fitContent ? (v(), w("div", uu, [
7260
+ (y = (f = e.builderBlock) == null ? void 0 : f.children) != null && y.length && e.fitContent ? (v(), w("div", uu, [
7261
7261
  pe(e.$slots, "default")
7262
7262
  ])) : F("", !0),
7263
7263
  (m = (b = e.builderBlock) == null ? void 0 : b.children) != null && m.length && !e.fitContent ? (v(), w("div", cu, [
@@ -7265,9 +7265,9 @@ function pu(e, t, n, r, o, i) {
7265
7265
  ])) : F("", !0)
7266
7266
  ]);
7267
7267
  }
7268
- const du = /* @__PURE__ */ j(su, [["render", pu]]), fu = () => [{
7268
+ const du = /* @__PURE__ */ j(su, [["render", pu]]), hu = () => [{
7269
7269
  component: vl,
7270
- ...hl
7270
+ ...fl
7271
7271
  }, {
7272
7272
  component: El,
7273
7273
  ...bl
@@ -7299,7 +7299,7 @@ const du = /* @__PURE__ */ j(su, [["render", pu]]), fu = () => [{
7299
7299
  component: pa,
7300
7300
  ...Ha
7301
7301
  }, {
7302
- component: ha,
7302
+ component: fa,
7303
7303
  ...Ka
7304
7304
  }, {
7305
7305
  component: Ca,
@@ -7314,7 +7314,7 @@ const du = /* @__PURE__ */ j(su, [["render", pu]]), fu = () => [{
7314
7314
  component: Yu,
7315
7315
  ...nl
7316
7316
  }, {
7317
- component: fl,
7317
+ component: hl,
7318
7318
  ...ul
7319
7319
  }, ...Ao.includes(G) ? [{
7320
7320
  component: Xa,
@@ -7325,7 +7325,7 @@ const du = /* @__PURE__ */ j(su, [["render", pu]]), fu = () => [{
7325
7325
  }, {
7326
7326
  component: Fa,
7327
7327
  ...Va
7328
- }, ...fu()], hu = `function updateCookiesAndStyles(contentId, variants, isHydrationTarget, isAngularSDK) {
7328
+ }, ...hu()], fu = `function updateCookiesAndStyles(contentId, variants, isHydrationTarget, isAngularSDK) {
7329
7329
  function getAndSetVariantId() {
7330
7330
  function setCookie(name, value, days) {
7331
7331
  let expires = '';
@@ -7426,7 +7426,7 @@ const du = /* @__PURE__ */ j(su, [["render", pu]]), fu = () => [{
7426
7426
  canTrack: e,
7427
7427
  content: t
7428
7428
  }) => !(!(Bt(t).length > 0) || !e), yu = (e) => e === "react" || e === "reactNative", vu = G === "angular", No = yu(G), bu = () => `
7429
- window.${Po} = ${hu}
7429
+ window.${Po} = ${fu}
7430
7430
  window.${Oo} = ${mu}
7431
7431
  `, Su = (e, t) => `
7432
7432
  window.${Po}(
@@ -7697,7 +7697,7 @@ font-weight: ${s};
7697
7697
  this.builderContextSignal.content = n;
7698
7698
  },
7699
7699
  processMessage(e) {
7700
- return fo({
7700
+ return ho({
7701
7701
  model: this.model,
7702
7702
  trustedHosts: this.trustedHosts,
7703
7703
  callbacks: {
@@ -7772,12 +7772,12 @@ font-weight: ${s};
7772
7772
  method: "GET"
7773
7773
  };
7774
7774
  Fn(JSON.stringify(c));
7775
- const h = {
7775
+ const f = {
7776
7776
  method: c.method,
7777
7777
  headers: c.headers,
7778
7778
  body: c.body
7779
7779
  };
7780
- c.method === "GET" && delete h.body, fetch(c.url, h).then((y) => y.json()).then((y) => {
7780
+ c.method === "GET" && delete f.body, fetch(c.url, f).then((y) => y.json()).then((y) => {
7781
7781
  this.mergeNewRootState({
7782
7782
  [r]: y
7783
7783
  }), this.httpReqsData[r] = !0;
@@ -7859,15 +7859,15 @@ function Bu(e, t, n, r, o, i) {
7859
7859
  return e.builderContextSignal.content || e.needsElementRefDivForEditing() ? (v(), U(dt(e.ContentWrapper), q({
7860
7860
  key: 0,
7861
7861
  ref: "elementRef",
7862
- onClick: (h) => e.onClick(h),
7862
+ onClick: (f) => e.onClick(f),
7863
7863
  "builder-content-id": (s = e.builderContextSignal.content) == null ? void 0 : s.id,
7864
7864
  "builder-model": e.model,
7865
7865
  className: e.getWrapperClassName(((u = e.content) == null ? void 0 : u.testVariationId) || ((c = e.content) == null ? void 0 : c.id)),
7866
7866
  style: {
7867
7867
  display: !e.builderContextSignal.content && e.needsElementRefDivForEditing() ? "none" : void 0
7868
7868
  },
7869
- onIniteditingbldr: (h) => e.elementRef_onIniteditingbldr(h),
7870
- onInitpreviewingbldr: (h) => e.elementRef_onInitpreviewingbldr(h)
7869
+ onIniteditingbldr: (f) => e.elementRef_onIniteditingbldr(f),
7870
+ onInitpreviewingbldr: (f) => e.elementRef_onInitpreviewingbldr(f)
7871
7871
  }, { ...e.showContentProps, ...e.contentWrapperProps }), {
7872
7872
  default: me(() => [
7873
7873
  pe(e.$slots, "default")
@@ -7939,12 +7939,12 @@ const Uu = /* @__PURE__ */ j(Vu, [["render", Du]]), Wu = ({
7939
7939
  DynamicDiv: Ct
7940
7940
  },
7941
7941
  props: [
7942
- "apiKey",
7943
- "context",
7944
7942
  "content",
7945
- "customComponents",
7946
7943
  "data",
7947
7944
  "locale",
7945
+ "apiKey",
7946
+ "context",
7947
+ "customComponents",
7948
7948
  "canTrack",
7949
7949
  "apiVersion",
7950
7950
  "blocksWrapper",
@@ -8043,6 +8043,22 @@ const Uu = /* @__PURE__ */ j(Vu, [["render", Du]]), Wu = ({
8043
8043
  isExpression: !1
8044
8044
  });
8045
8045
  },
8046
+ watch: {
8047
+ onUpdateHook0: {
8048
+ handler() {
8049
+ },
8050
+ immediate: !0
8051
+ }
8052
+ },
8053
+ computed: {
8054
+ onUpdateHook0() {
8055
+ return {
8056
+ 0: this.content,
8057
+ 1: this.data,
8058
+ 2: this.locale
8059
+ };
8060
+ }
8061
+ },
8046
8062
  methods: {
8047
8063
  contentSetState(e) {
8048
8064
  this.builderContextSignal.rootState = e;
@@ -8050,8 +8066,8 @@ const Uu = /* @__PURE__ */ j(Vu, [["render", Du]]), Wu = ({
8050
8066
  }
8051
8067
  });
8052
8068
  function Hu(e, t, n, r, o, i) {
8053
- const s = W("InlinedScript"), u = W("ContentStyles"), c = W("Blocks"), h = W("EnableEditor");
8054
- return v(), U(h, q({
8069
+ const s = W("InlinedScript"), u = W("ContentStyles"), c = W("Blocks"), f = W("EnableEditor");
8070
+ return v(), U(f, q({
8055
8071
  apiHost: e.apiHost,
8056
8072
  nonce: e.nonce,
8057
8073
  content: e.content,
@@ -8193,12 +8209,12 @@ function qu(e, t, n, r, o, i) {
8193
8209
  scriptStr: e.updateCookieAndStylesScriptStr,
8194
8210
  nonce: e.nonce || ""
8195
8211
  }, null, 8, ["scriptStr", "nonce"]),
8196
- (v(!0), w(z, null, ve(e.getVariants(e.content), (h, y) => (v(), U(c, q({
8197
- key: h.testVariationId,
8212
+ (v(!0), w(z, null, ve(e.getVariants(e.content), (f, y) => (v(), U(c, q({
8213
+ key: f.testVariationId,
8198
8214
  apiHost: e.apiHost,
8199
8215
  isNestedRender: e.isNestedRender,
8200
8216
  nonce: e.nonce,
8201
- content: h,
8217
+ content: f,
8202
8218
  showContent: !1,
8203
8219
  model: e.model,
8204
8220
  data: e.data,
@@ -8333,7 +8349,7 @@ const Gu = /* @__PURE__ */ j(zu, [["render", qu]]), _u = async ({
8333
8349
  }
8334
8350
  });
8335
8351
  function Xu(e, t, n, r, o, i) {
8336
- var u, c, h, y, b;
8352
+ var u, c, f, y, b;
8337
8353
  const s = W("ContentVariants");
8338
8354
  return v(), w("div", q({ class: e.className }, { ...e.filterAttrs(e.attributes, "v-on:", !1) }, ye(e.filterAttrs(e.attributes, "v-on:", !0), !0)), [
8339
8355
  ee(s, {
@@ -8349,7 +8365,7 @@ function Xu(e, t, n, r, o, i) {
8349
8365
  data: {
8350
8366
  ...(c = e.symbol) == null ? void 0 : c.data,
8351
8367
  ...e.builderContext.localState,
8352
- ...(y = (h = e.contentToUse) == null ? void 0 : h.data) == null ? void 0 : y.state
8368
+ ...(y = (f = e.contentToUse) == null ? void 0 : f.data) == null ? void 0 : y.state
8353
8369
  },
8354
8370
  canTrack: e.builderContext.canTrack,
8355
8371
  model: ((b = e.symbol) == null ? void 0 : b.model) ?? "",
@@ -8367,7 +8383,7 @@ export {
8367
8383
  pa as C,
8368
8384
  sc as D,
8369
8385
  Ps as E,
8370
- ha as F,
8386
+ fa as F,
8371
8387
  Os as G,
8372
8388
  Kn as H,
8373
8389
  Ca as I,
@@ -8391,7 +8407,7 @@ export {
8391
8407
  _i as l,
8392
8408
  oi as m,
8393
8409
  Yu as n,
8394
- fl as o,
8410
+ hl as o,
8395
8411
  Ue as p,
8396
8412
  Gu as q,
8397
8413
  Wn as r,