@builder.io/sdk-vue 5.1.1 → 5.2.2

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 (80) hide show
  1. package/lib/browser/{awaiter-NbFI2CU_.js → awaiter-PiTJ_7wp.js} +1 -1
  2. package/lib/browser/{awaiter-YRNWppS-.cjs → awaiter-hHorxjIR.cjs} +1 -1
  3. package/lib/browser/{block-wrapper-_4lEInw9.js → block-wrapper-8FiWiPra.js} +3 -3
  4. package/lib/browser/{block-wrapper-7ZGQAl5W.cjs → block-wrapper-v0E7yyzI.cjs} +1 -1
  5. package/lib/browser/blocks/symbol/symbol.helpers.d.ts +2 -0
  6. package/lib/browser/blocks/symbol/symbol.types.d.ts +2 -0
  7. package/lib/browser/{component-ref-A2Q0eDCA.cjs → component-ref-jU5sC23e.cjs} +1 -1
  8. package/lib/browser/{component-ref-S2rn5_QV.js → component-ref-u11yYjHx.js} +38 -33
  9. package/lib/browser/components/block/components/component-ref/component-ref.vue.d.ts +3 -1
  10. package/lib/browser/components/content-variants/content-variants.vue.d.ts +1 -0
  11. package/lib/browser/components/content-variants/helpers.d.ts +1 -0
  12. package/lib/browser/constants/sdk-version.d.ts +1 -1
  13. package/lib/browser/{get-block-properties-PbwnoRP4.cjs → get-block-properties-AT7KmjRH.cjs} +1 -1
  14. package/lib/browser/{get-block-properties-Y9GlYFTe.js → get-block-properties-UD7oT_P6.js} +1 -1
  15. package/lib/browser/{index-OpNLmfCu.cjs → index-9zsNLjBY.cjs} +50 -20
  16. package/lib/browser/{index-HPQgrUEC.js → index-qBdmc4Tf.js} +296 -260
  17. package/lib/browser/index.cjs +1 -1
  18. package/lib/browser/index.mjs +1 -1
  19. package/lib/browser/{live-edit-tMAUVH2B.cjs → live-edit-9FW3XnJY.cjs} +1 -1
  20. package/lib/browser/{live-edit-8F1riCsR.js → live-edit-yO4ZTgek.js} +1 -1
  21. package/lib/browser/{repeated-block-C21nYjNB.js → repeated-block-7Kr5DU4s.js} +2 -2
  22. package/lib/browser/{repeated-block-YesIuQQG.cjs → repeated-block-HJlXpRlA.cjs} +1 -1
  23. package/lib/browser/{style-wrapper-toT_b35_.cjs → style-wrapper-NagZ3htF.cjs} +1 -1
  24. package/lib/browser/{style-wrapper-6gB537kz.js → style-wrapper-oGUCilmw.js} +1 -1
  25. package/lib/browser/style.css +1 -1
  26. package/lib/edge/{awaiter-Z1Aho-Tf.js → awaiter-acJdczkp.js} +1 -1
  27. package/lib/edge/{awaiter-GbCbMdxs.cjs → awaiter-yr8VAu_H.cjs} +1 -1
  28. package/lib/edge/{block-wrapper-SGs68mW-.cjs → block-wrapper-aEKGXQsG.cjs} +1 -1
  29. package/lib/{node/block-wrapper-P5y87ZAx.js → edge/block-wrapper-mCaWnoxQ.js} +3 -3
  30. package/lib/edge/blocks/symbol/symbol.helpers.d.ts +2 -0
  31. package/lib/edge/blocks/symbol/symbol.types.d.ts +2 -0
  32. package/lib/edge/{component-ref-v3RKtvga.js → component-ref-pA4-SwIs.js} +33 -28
  33. package/lib/edge/{component-ref-1HNLmjNP.cjs → component-ref-wzojJNtP.cjs} +1 -1
  34. package/lib/edge/components/block/components/component-ref/component-ref.vue.d.ts +3 -1
  35. package/lib/edge/components/content-variants/content-variants.vue.d.ts +1 -0
  36. package/lib/edge/components/content-variants/helpers.d.ts +1 -0
  37. package/lib/edge/constants/sdk-version.d.ts +1 -1
  38. package/lib/edge/{get-block-properties-O8BCJSao.js → get-block-properties-T1Ci7dP5.js} +1 -1
  39. package/lib/edge/{get-block-properties-ju6Fj919.cjs → get-block-properties-vOCtFmny.cjs} +1 -1
  40. package/lib/edge/{index-x6Hu33ce.js → index-9d4BROG7.js} +544 -508
  41. package/lib/edge/{index-FjhQsct4.cjs → index-OZxVFmQK.cjs} +54 -24
  42. package/lib/edge/index.cjs +1 -1
  43. package/lib/edge/index.mjs +1 -1
  44. package/lib/{node/live-edit-Jp1PzpUr.cjs → edge/live-edit-DElUbmBW.cjs} +1 -1
  45. package/lib/{node/live-edit-61Hzovyk.js → edge/live-edit-oX2tpNY4.js} +1 -1
  46. package/lib/edge/{repeated-block-gmtzy89x.js → repeated-block-WFlqwuyL.js} +2 -2
  47. package/lib/edge/{repeated-block-ic1FaN4o.cjs → repeated-block-uS6k8BJT.cjs} +1 -1
  48. package/lib/edge/{style-wrapper-DFS-znzq.js → style-wrapper-QjzY0pp1.js} +1 -1
  49. package/lib/edge/{style-wrapper-Xaty5j6j.cjs → style-wrapper-UNbimac8.cjs} +1 -1
  50. package/lib/edge/style.css +1 -1
  51. package/lib/node/{awaiter-7GQ8utUb.cjs → awaiter-68BBjUeZ.cjs} +1 -1
  52. package/lib/node/{awaiter-MB_eWqp9.js → awaiter-j4ORMLjV.js} +1 -1
  53. package/lib/{edge/block-wrapper-sP32aCJj.js → node/block-wrapper-MpV_yto9.js} +3 -3
  54. package/lib/node/{block-wrapper--M33E0VG.cjs → block-wrapper-xbWj7xN4.cjs} +1 -1
  55. package/lib/node/blocks/symbol/symbol.helpers.d.ts +2 -0
  56. package/lib/node/blocks/symbol/symbol.types.d.ts +2 -0
  57. package/lib/node/{component-ref-RUGITshe.js → component-ref-FMaZUEHA.js} +45 -40
  58. package/lib/node/{component-ref-KETj2JRL.cjs → component-ref-gcCyaLPb.cjs} +1 -1
  59. package/lib/node/components/block/components/component-ref/component-ref.vue.d.ts +3 -1
  60. package/lib/node/components/content-variants/content-variants.vue.d.ts +1 -0
  61. package/lib/node/components/content-variants/helpers.d.ts +1 -0
  62. package/lib/node/constants/sdk-version.d.ts +1 -1
  63. package/lib/node/{get-block-properties-Ec9Kj4p7.js → get-block-properties-OFyB13c0.js} +2 -2
  64. package/lib/node/{get-block-properties-Z9QEqFjm.cjs → get-block-properties-xyodoUq1.cjs} +1 -1
  65. package/lib/node/{index-WS6d-d4F.cjs → index-INlBMXV-.cjs} +49 -19
  66. package/lib/node/{index-TvY2gce_.js → index-TU01S1LU.js} +263 -227
  67. package/lib/node/index.cjs +1 -1
  68. package/lib/node/index.mjs +2 -2
  69. package/lib/node/init.cjs +1 -1
  70. package/lib/node/init.mjs +1 -1
  71. package/lib/{edge/live-edit-v7-_17wH.js → node/live-edit-047YZnu-.js} +1 -1
  72. package/lib/{edge/live-edit-VsbDXDK9.cjs → node/live-edit-g3b-brGl.cjs} +1 -1
  73. package/lib/node/{repeated-block-9JRCsGOV.cjs → repeated-block-EcOLRgeJ.cjs} +1 -1
  74. package/lib/node/{repeated-block-Nh0O2sxg.js → repeated-block-om1ZGsyQ.js} +2 -2
  75. package/lib/node/{should-force-browser-runtime-in-node-xByMtVKh.cjs → should-force-browser-runtime-in-node-A9wQILFE.cjs} +1 -1
  76. package/lib/node/{should-force-browser-runtime-in-node-ghF-DZhu.js → should-force-browser-runtime-in-node-dW9p7rxg.js} +1 -1
  77. package/lib/node/{style-wrapper-y344qWFp.js → style-wrapper-2Rqb9g04.js} +2 -2
  78. package/lib/node/{style-wrapper-rXB6kp1P.cjs → style-wrapper-lvW1HnEu.cjs} +1 -1
  79. package/lib/node/style.css +1 -1
  80. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import { defineComponent as B, openBlock as v, createElementBlock as w, Fragment as z, createBlock as U, resolveDynamicComponent as dt, mergeProps as q, toHandlers as ye, withCtx as me, renderSlot as pe, resolveComponent as W, createTextVNode as Xo, toDisplayString as Wt, defineAsyncComponent as st, createVNode as ee, renderList as ve, createCommentVNode as F, h as Mr, createElementVNode as Ge, normalizeStyle as Pe, normalizeClass as gt, markRaw as Yo } from "vue";
1
+ import { defineComponent as B, openBlock as v, createElementBlock as I, Fragment as X, createBlock as U, resolveDynamicComponent as dt, mergeProps as z, toHandlers as ye, withCtx as me, renderSlot as pe, resolveComponent as W, createTextVNode as Xo, toDisplayString as Wt, defineAsyncComponent as st, createVNode as te, renderList as ve, createCommentVNode as F, h as Mr, createElementVNode as Ge, normalizeStyle as Pe, normalizeClass as gt, markRaw as Yo } from "vue";
2
2
  const Qo = /* @__PURE__ */ new Set(["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen", "link", "meta", "param", "source", "track", "wbr"]), Zo = (e) => typeof e == "string" && Qo.has(e.toLowerCase());
3
3
  function de(e = {}, t, n) {
4
4
  const r = {};
@@ -23,13 +23,13 @@ const ei = B({
23
23
  return n;
24
24
  };
25
25
  function ti(e, t, n, r, o, i) {
26
- return e.isEmptyElement(e.TagName) ? (v(), U(dt(e.TagName), q({ key: 1 }, e.attributes, ye(e.actionAttributes)), null, 16)) : (v(), w(z, { key: 0 }, [
27
- typeof e.TagName == "string" ? (v(), U(dt(e.TagName), q({ key: 0 }, e.attributes, ye(e.actionAttributes)), {
26
+ return e.isEmptyElement(e.TagName) ? (v(), U(dt(e.TagName), z({ key: 1 }, e.attributes, ye(e.actionAttributes)), null, 16)) : (v(), I(X, { key: 0 }, [
27
+ typeof e.TagName == "string" ? (v(), U(dt(e.TagName), z({ key: 0 }, e.attributes, ye(e.actionAttributes)), {
28
28
  default: me(() => [
29
29
  pe(e.$slots, "default")
30
30
  ]),
31
31
  _: 3
32
- }, 16)) : (v(), U(dt(e.TagName), q({ key: 1 }, e.attributes, ye(e.actionAttributes)), {
32
+ }, 16)) : (v(), U(dt(e.TagName), z({ key: 1 }, e.attributes, ye(e.actionAttributes)), {
33
33
  default: me(() => [
34
34
  pe(e.$slots, "default")
35
35
  ]),
@@ -37,11 +37,11 @@ function ti(e, t, n, r, o, i) {
37
37
  }, 16))
38
38
  ], 64));
39
39
  }
40
- const En = /* @__PURE__ */ j(ei, [["render", ti]]), Zu = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
40
+ const En = /* @__PURE__ */ j(ei, [["render", ti]]), ec = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
41
41
  __proto__: null,
42
42
  default: En
43
- }, Symbol.toStringTag, { value: "Module" })), G = "vue", Oe = () => {
44
- switch (G) {
43
+ }, Symbol.toStringTag, { value: "Module" })), q = "vue", Oe = () => {
44
+ switch (q) {
45
45
  case "react":
46
46
  case "reactNative":
47
47
  case "rsc":
@@ -165,7 +165,7 @@ const ui = () => {
165
165
  return e.match(/IEMobile/i) || e.match(/WPDesktop/i);
166
166
  },
167
167
  any() {
168
- return t.Android() || t.BlackBerry() || t.iOS() || t.Opera() || t.Windows() || G === "reactNative";
168
+ return t.Android() || t.BlackBerry() || t.iOS() || t.Opera() || t.Windows() || q === "reactNative";
169
169
  }
170
170
  }, n = e.match(/Tablet|iPad/i), r = ui();
171
171
  return {
@@ -173,8 +173,8 @@ const ui = () => {
173
173
  host: (r == null ? void 0 : r.host) || (r == null ? void 0 : r.hostname),
174
174
  device: n ? "tablet" : t.any() ? "mobile" : "desktop"
175
175
  };
176
- }, _r = "5.1.1", Jr = () => ({
177
- "X-Builder-SDK": G,
176
+ }, _r = "5.2.2", Jr = () => ({
177
+ "X-Builder-SDK": q,
178
178
  "X-Builder-SDK-GEN": "2",
179
179
  "X-Builder-SDK-Version": _r
180
180
  }), Ne = (e) => e != null, pi = (e) => {
@@ -351,7 +351,7 @@ async function jt({
351
351
  ue.error("Missing API key for track call. Please provide your API key.");
352
352
  return;
353
353
  }
354
- if (!t.canTrack || oe() || !(M() || G === "reactNative"))
354
+ if (!t.canTrack || oe() || !(M() || q === "reactNative"))
355
355
  return;
356
356
  const r = `${e || "https://cdn.builder.io"}/api/v1/track`;
357
357
  return Rn(r), fetch(r, {
@@ -368,7 +368,7 @@ async function jt({
368
368
  console.error("Failed to track: ", o);
369
369
  });
370
370
  }
371
- const ec = (e) => jt({
371
+ const tc = (e) => jt({
372
372
  ...e,
373
373
  canTrack: !0
374
374
  }), to = ({
@@ -523,7 +523,7 @@ var V, $i = function(e) {
523
523
  break;
524
524
  }
525
525
  }
526
- function h(a) {
526
+ function m(a) {
527
527
  switch (a) {
528
528
  case 46:
529
529
  a = k.charCodeAt(d + 1), 48 <= a && 57 >= a ? A(!0) : (++d, s(gr));
@@ -626,7 +626,7 @@ var V, $i = function(e) {
626
626
  }
627
627
  return;
628
628
  case 47:
629
- a = k.charCodeAt(d + 1), tt ? (++d, m()) : a === 61 ? b(De, 2) : b(vr, 1);
629
+ a = k.charCodeAt(d + 1), tt ? (++d, h()) : a === 61 ? b(De, 2) : b(vr, 1);
630
630
  return;
631
631
  case 37:
632
632
  case 42:
@@ -658,14 +658,14 @@ var V, $i = function(e) {
658
658
  }
659
659
  function y(a) {
660
660
  if (a ? d = Y + 1 : Y = d, O.C && (Yt = new i()), a)
661
- return m();
661
+ return h();
662
662
  if (d >= Le)
663
663
  return s(tn);
664
664
  if (a = k.charCodeAt(d), n(a) || a === 92)
665
- return te();
666
- if (h(a) === !1) {
665
+ return ee();
666
+ if (m(a) === !1) {
667
667
  if (a = String.fromCharCode(a), a === "\\" || Tr.test(a))
668
- return te();
668
+ return ee();
669
669
  r(d, "Unexpected character '" + a + "'");
670
670
  }
671
671
  }
@@ -673,7 +673,7 @@ var V, $i = function(e) {
673
673
  var p = k.slice(d, d + l);
674
674
  d += l, s(a, p);
675
675
  }
676
- function m() {
676
+ function h() {
677
677
  for (var a, l, p = d; ; ) {
678
678
  d >= Le && r(p, "Unterminated regexp");
679
679
  var f = k.charAt(d);
@@ -732,11 +732,11 @@ var V, $i = function(e) {
732
732
  }
733
733
  return Ke ? a : k.slice(p, d);
734
734
  }
735
- function te() {
735
+ function ee() {
736
736
  var a = H(), l = Me;
737
737
  !Ke && qo(a) && (l = jo[a]), s(l, a);
738
738
  }
739
- function E() {
739
+ function T() {
740
740
  Zt = Y, $e = Fe, en = Qt, y();
741
741
  }
742
742
  function D(a) {
@@ -756,7 +756,7 @@ var V, $i = function(e) {
756
756
  var a = new ie();
757
757
  return O.C && (a.X = new Ae()), O.vb && (a.sourceFile = O.vb), O.Xa && (a.j = [Y, 0]), a;
758
758
  }
759
- function _(a) {
759
+ function G(a) {
760
760
  var l = new ie();
761
761
  return l.start = a.start, O.C && (l.X = new Ae(), l.X.start = a.X.start), O.Xa && (l.j = [a.j[0], 0]), l;
762
762
  }
@@ -767,7 +767,7 @@ var V, $i = function(e) {
767
767
  return a.type === "ExpressionStatement" && a.la.type === "Literal" && a.la.value === "use strict";
768
768
  }
769
769
  function L(a) {
770
- return x === a ? (E(), !0) : !1;
770
+ return x === a ? (T(), !0) : !1;
771
771
  }
772
772
  function wt() {
773
773
  return !O.fc && (x === tn || x === He || $t.test(k.slice($e, Y)));
@@ -775,8 +775,8 @@ var V, $i = function(e) {
775
775
  function je() {
776
776
  L(we) || wt() || be();
777
777
  }
778
- function J(a) {
779
- x === a ? E() : be();
778
+ function _(a) {
779
+ x === a ? T() : be();
780
780
  }
781
781
  function be() {
782
782
  r(Y, "Unexpected token");
@@ -790,65 +790,65 @@ var V, $i = function(e) {
790
790
  switch (a) {
791
791
  case nn:
792
792
  case Zn:
793
- E();
793
+ T();
794
794
  var p = a === nn;
795
795
  L(we) || wt() ? l.label = null : x !== Me ? be() : (l.label = Se(), je());
796
- for (var f = 0; f < X.length; ++f) {
797
- var P = X[f];
796
+ for (var f = 0; f < J.length; ++f) {
797
+ var P = J[f];
798
798
  if ((l.label === null || P.name === l.label.name) && (P.kind !== null && (p || P.kind === "loop") || l.label && p))
799
799
  break;
800
800
  }
801
- return f === X.length && r(l.start, "Unsyntactic " + a.l), R(l, p ? "BreakStatement" : "ContinueStatement");
801
+ return f === J.length && r(l.start, "Unsyntactic " + a.l), R(l, p ? "BreakStatement" : "ContinueStatement");
802
802
  case er:
803
- return E(), je(), R(l, "DebuggerStatement");
803
+ return T(), je(), R(l, "DebuggerStatement");
804
804
  case nr:
805
- return E(), X.push(pn), l.body = he(), X.pop(), J(ln), l.test = Qe(), je(), R(l, "DoWhileStatement");
805
+ return T(), J.push(pn), l.body = he(), J.pop(), _(ln), l.test = Qe(), je(), R(l, "DoWhileStatement");
806
806
  case ir:
807
- return E(), X.push(pn), J(Ce), x === we ? Kt(l, null) : x === an ? (a = K(), E(), Jn(a, !0), R(a, "VariableDeclaration"), a.fa.length === 1 && L(Rt) ? _n(l, a) : Kt(l, a)) : (a = re(!1, !0), L(Rt) ? (Tt(a), _n(l, a)) : Kt(l, a));
807
+ return T(), J.push(pn), _(Ce), x === we ? Kt(l, null) : x === an ? (a = K(), T(), Jn(a, !0), R(a, "VariableDeclaration"), a.fa.length === 1 && L(Rt) ? _n(l, a) : Kt(l, a)) : (a = re(!1, !0), L(Rt) ? (Tt(a), _n(l, a)) : Kt(l, a));
808
808
  case on:
809
- return E(), _t(l, !0);
809
+ return T(), _t(l, !0);
810
810
  case sr:
811
- return E(), l.test = Qe(), l.da = he(), l.alternate = L(rr) ? he() : null, R(l, "IfStatement");
811
+ return T(), l.test = Qe(), l.da = he(), l.alternate = L(rr) ? he() : null, R(l, "IfStatement");
812
812
  case ar:
813
- return nt || O.Ib || r(Y, "'return' outside of function"), E(), L(we) || wt() ? l.K = null : (l.K = re(), je()), R(l, "ReturnStatement");
813
+ return nt || O.Ib || r(Y, "'return' outside of function"), T(), L(we) || wt() ? l.K = null : (l.K = re(), je()), R(l, "ReturnStatement");
814
814
  case sn:
815
- for (E(), l.Qb = Qe(), l.tb = [], J(ot), X.push(Jo); x !== He; )
816
- x === rn || x === tr ? (a = x === rn, f && R(f, "SwitchCase"), l.tb.push(f = K()), f.da = [], E(), a ? f.test = re() : (p && r(Zt, "Multiple default clauses"), p = !0, f.test = null), J(it)) : (f || be(), f.da.push(he()));
817
- return f && R(f, "SwitchCase"), E(), X.pop(), R(l, "SwitchStatement");
815
+ for (T(), l.Qb = Qe(), l.tb = [], _(ot), J.push(Jo); x !== He; )
816
+ x === rn || x === tr ? (a = x === rn, f && R(f, "SwitchCase"), l.tb.push(f = K()), f.da = [], T(), a ? f.test = re() : (p && r(Zt, "Multiple default clauses"), p = !0, f.test = null), _(it)) : (f || be(), f.da.push(he()));
817
+ return f && R(f, "SwitchCase"), T(), J.pop(), R(l, "SwitchStatement");
818
818
  case lr:
819
- return E(), $t.test(k.slice($e, Y)) && r($e, "Illegal newline after throw"), l.K = re(), je(), R(l, "ThrowStatement");
819
+ return T(), $t.test(k.slice($e, Y)) && r($e, "Illegal newline after throw"), l.K = re(), je(), R(l, "ThrowStatement");
820
820
  case ur:
821
- return E(), l.block = Ze(), l.Ea = null, x === Qn && (a = K(), E(), J(Ce), a.Ua = Se(), ce && At(a.Ua.name) && r(a.Ua.start, "Binding " + a.Ua.name + " in strict mode"), J(ge), a.body = Ze(), l.Ea = R(a, "CatchClause")), l.fb = L(or) ? Ze() : null, l.Ea || l.fb || r(l.start, "Missing catch or finally clause"), R(l, "TryStatement");
821
+ return T(), l.block = Ze(), l.Ea = null, x === Qn && (a = K(), T(), _(Ce), a.Ua = Se(), ce && At(a.Ua.name) && r(a.Ua.start, "Binding " + a.Ua.name + " in strict mode"), _(ge), a.body = Ze(), l.Ea = R(a, "CatchClause")), l.fb = L(or) ? Ze() : null, l.Ea || l.fb || r(l.start, "Missing catch or finally clause"), R(l, "TryStatement");
822
822
  case an:
823
- return E(), Jn(l), je(), R(l, "VariableDeclaration");
823
+ return T(), Jn(l), je(), R(l, "VariableDeclaration");
824
824
  case ln:
825
- return E(), l.test = Qe(), X.push(pn), l.body = he(), X.pop(), R(l, "WhileStatement");
825
+ return T(), l.test = Qe(), J.push(pn), l.body = he(), J.pop(), R(l, "WhileStatement");
826
826
  case cr:
827
- return ce && r(Y, "'with' in strict mode"), E(), l.object = Qe(), l.body = he(), R(l, "WithStatement");
827
+ return ce && r(Y, "'with' in strict mode"), T(), l.object = Qe(), l.body = he(), R(l, "WithStatement");
828
828
  case ot:
829
829
  return Ze();
830
830
  case we:
831
- return E(), R(l, "EmptyStatement");
831
+ return T(), R(l, "EmptyStatement");
832
832
  default:
833
833
  if (p = fe, P = re(), a === Me && P.type === "Identifier" && L(it)) {
834
- for (f = 0; f < X.length; ++f)
835
- X[f].name === p && r(P.start, "Label '" + p + "' is already declared");
836
- return X.push({
834
+ for (f = 0; f < J.length; ++f)
835
+ J[f].name === p && r(P.start, "Label '" + p + "' is already declared");
836
+ return J.push({
837
837
  name: p,
838
838
  kind: x.W ? "loop" : x === sn ? "switch" : null
839
- }), l.body = he(), X.pop(), l.label = P, R(l, "LabeledStatement");
839
+ }), l.body = he(), J.pop(), l.label = P, R(l, "LabeledStatement");
840
840
  }
841
841
  return l.la = P, je(), R(l, "ExpressionStatement");
842
842
  }
843
843
  }
844
844
  function Qe() {
845
- J(Ce);
845
+ _(Ce);
846
846
  var a = re();
847
- return J(ge), a;
847
+ return _(ge), a;
848
848
  }
849
849
  function Ze(a) {
850
850
  var l = K(), p = !0, f = !1;
851
- for (l.body = [], J(ot); !L(He); ) {
851
+ for (l.body = [], _(ot); !L(He); ) {
852
852
  var P = he();
853
853
  if (l.body.push(P), p && a && We(P)) {
854
854
  var Q = f;
@@ -859,10 +859,10 @@ var V, $i = function(e) {
859
859
  return f && !Q && D(!1), R(l, "BlockStatement");
860
860
  }
861
861
  function Kt(a, l) {
862
- return a.ua = l, J(we), a.test = x === we ? null : re(), J(we), a.update = x === ge ? null : re(), J(ge), a.body = he(), X.pop(), R(a, "ForStatement");
862
+ return a.ua = l, _(we), a.test = x === we ? null : re(), _(we), a.update = x === ge ? null : re(), _(ge), a.body = he(), J.pop(), R(a, "ForStatement");
863
863
  }
864
864
  function _n(a, l) {
865
- return a.left = l, a.right = re(), J(ge), a.body = he(), X.pop(), R(a, "ForInStatement");
865
+ return a.left = l, a.right = re(), _(ge), a.body = he(), J.pop(), R(a, "ForInStatement");
866
866
  }
867
867
  function Jn(a, l) {
868
868
  for (a.fa = [], a.kind = "var"; ; ) {
@@ -874,7 +874,7 @@ var V, $i = function(e) {
874
874
  function re(a, l) {
875
875
  var p = zt(l);
876
876
  if (!a && x === xe) {
877
- for (a = _(p), a.xb = [p]; L(xe); )
877
+ for (a = G(p), a.xb = [p]; L(xe); )
878
878
  a.xb.push(zt(l));
879
879
  return R(a, "SequenceExpression");
880
880
  }
@@ -883,63 +883,63 @@ var V, $i = function(e) {
883
883
  function zt(a) {
884
884
  var l = qt(Gt(), -1, a);
885
885
  if (L(yr)) {
886
- var p = _(l);
887
- p.test = l, p.da = re(!0), J(it), p.alternate = re(!0, a), l = R(p, "ConditionalExpression");
886
+ var p = G(l);
887
+ p.test = l, p.da = re(!0), _(it), p.alternate = re(!0, a), l = R(p, "ConditionalExpression");
888
888
  }
889
- return x.Cb ? (p = _(l), p.operator = fe, p.left = l, E(), p.right = zt(a), Tt(l), R(p, "AssignmentExpression")) : l;
889
+ return x.Cb ? (p = G(l), p.operator = fe, p.left = l, T(), p.right = zt(a), Tt(l), R(p, "AssignmentExpression")) : l;
890
890
  }
891
891
  function qt(a, l, p) {
892
892
  var f = x.L;
893
893
  if (f !== null && (!p || x !== Rt) && f > l) {
894
- var P = _(a);
895
- return P.left = a, P.operator = fe, a = x, E(), P.right = qt(Gt(), f, p), f = R(P, a === kr || a === Cr ? "LogicalExpression" : "BinaryExpression"), qt(f, l, p);
894
+ var P = G(a);
895
+ return P.left = a, P.operator = fe, a = x, T(), P.right = qt(Gt(), f, p), f = R(P, a === kr || a === Cr ? "LogicalExpression" : "BinaryExpression"), qt(f, l, p);
896
896
  }
897
897
  return a;
898
898
  }
899
899
  function Gt() {
900
900
  if (x.prefix) {
901
901
  var a = K(), l = x.$b;
902
- return a.operator = fe, tt = a.prefix = !0, E(), a.K = Gt(), 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");
902
+ return a.operator = fe, tt = a.prefix = !0, T(), a.K = Gt(), 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");
903
903
  }
904
904
  for (l = et(Et()); x.cc && !wt(); )
905
- a = _(l), a.operator = fe, a.prefix = !1, a.K = l, Tt(l), E(), l = R(a, "UpdateExpression");
905
+ a = G(l), a.operator = fe, a.prefix = !1, a.K = l, Tt(l), T(), l = R(a, "UpdateExpression");
906
906
  return l;
907
907
  }
908
908
  function et(a, l) {
909
909
  if (L(gr)) {
910
- var p = _(a);
910
+ var p = G(a);
911
911
  return p.object = a, p.Wa = Se(!0), p.bb = !1, et(R(p, "MemberExpression"), l);
912
912
  }
913
- return L(un) ? (p = _(a), p.object = a, p.Wa = re(), p.bb = !0, J(cn), et(R(p, "MemberExpression"), l)) : !l && L(Ce) ? (p = _(a), p.callee = a, p.arguments = Jt(ge, !1), et(R(p, "CallExpression"), l)) : a;
913
+ return L(un) ? (p = G(a), p.object = a, p.Wa = re(), p.bb = !0, _(cn), et(R(p, "MemberExpression"), l)) : !l && L(Ce) ? (p = G(a), p.callee = a, p.arguments = Jt(ge, !1), et(R(p, "CallExpression"), l)) : a;
914
914
  }
915
915
  function Et() {
916
916
  switch (x) {
917
917
  case dr:
918
918
  var a = K();
919
- return E(), R(a, "ThisExpression");
919
+ return T(), R(a, "ThisExpression");
920
920
  case Me:
921
921
  return Se();
922
922
  case rt:
923
923
  case It:
924
924
  case Yn:
925
- return a = K(), a.value = fe, a.raw = k.slice(Y, Fe), E(), R(a, "Literal");
925
+ return a = K(), a.value = fe, a.raw = k.slice(Y, Fe), T(), R(a, "Literal");
926
926
  case fr:
927
927
  case hr:
928
928
  case mr:
929
- return a = K(), a.value = x.$a, a.raw = x.l, E(), R(a, "Literal");
929
+ return a = K(), a.value = x.$a, a.raw = x.l, T(), R(a, "Literal");
930
930
  case Ce:
931
931
  a = Yt;
932
932
  var l = Y;
933
- E();
933
+ T();
934
934
  var p = re();
935
- return p.start = l, p.end = Fe, O.C && (p.X.start = a, p.X.end = Qt), O.Xa && (p.j = [l, Fe]), J(ge), p;
935
+ return p.start = l, p.end = Fe, O.C && (p.X.start = a, p.X.end = Qt), O.Xa && (p.j = [l, Fe]), _(ge), p;
936
936
  case un:
937
- return a = K(), E(), a.elements = Jt(cn, !0, !0), R(a, "ArrayExpression");
937
+ return a = K(), T(), a.elements = Jt(cn, !0, !0), R(a, "ArrayExpression");
938
938
  case ot:
939
- for (a = K(), l = !0, p = !1, a.h = [], E(); !L(He); ) {
939
+ for (a = K(), l = !0, p = !1, a.h = [], T(); !L(He); ) {
940
940
  if (l)
941
941
  l = !1;
942
- else if (J(xe), O.sb && L(He))
942
+ else if (_(xe), O.sb && L(He))
943
943
  break;
944
944
  var f = {
945
945
  key: x === rt || x === It ? Et() : Se(!0)
@@ -961,20 +961,20 @@ var V, $i = function(e) {
961
961
  }
962
962
  return R(a, "ObjectExpression");
963
963
  case on:
964
- return a = K(), E(), _t(a, !1);
964
+ return a = K(), T(), _t(a, !1);
965
965
  case pr:
966
- return a = K(), E(), a.callee = et(Et(), !0), a.arguments = L(Ce) ? Jt(ge, !1) : Bo, R(a, "NewExpression");
966
+ return a = K(), T(), a.callee = et(Et(), !0), a.arguments = L(Ce) ? Jt(ge, !1) : Bo, R(a, "NewExpression");
967
967
  }
968
968
  be();
969
969
  }
970
970
  function _t(a, l) {
971
971
  x === Me ? a.id = Se() : l ? be() : a.id = null, a.oa = [];
972
972
  var p = !0;
973
- for (J(Ce); !L(ge); )
974
- p ? p = !1 : J(xe), a.oa.push(Se());
973
+ for (_(Ce); !L(ge); )
974
+ p ? p = !1 : _(xe), a.oa.push(Se());
975
975
  p = nt;
976
- var f = X;
977
- if (nt = !0, X = [], a.body = Ze(!0), nt = p, X = f, ce || a.body.body.length && We(a.body.body[0])) {
976
+ var f = J;
977
+ if (nt = !0, J = [], a.body = Ze(!0), nt = p, J = f, ce || a.body.body.length && We(a.body.body[0])) {
978
978
  for (p = a.id ? -1 : 0; p < a.oa.length; ++p)
979
979
  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)
980
980
  for (var P = 0; P < p; ++P)
@@ -986,7 +986,7 @@ var V, $i = function(e) {
986
986
  for (var f = [], P = !0; !L(a); ) {
987
987
  if (P)
988
988
  P = !1;
989
- else if (J(xe), l && O.sb && L(a))
989
+ else if (_(xe), l && O.sb && L(a))
990
990
  break;
991
991
  f.push(p && x === xe ? null : re(!0));
992
992
  }
@@ -994,7 +994,7 @@ var V, $i = function(e) {
994
994
  }
995
995
  function Se(a) {
996
996
  var l = K();
997
- return a && O.yb === "everywhere" && (a = !1), x === 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 && x.l ? l.name = x.l : be(), tt = !1, E(), R(l, "Identifier");
997
+ return a && O.yb === "everywhere" && (a = !1), x === 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 && x.l ? l.name = x.l : be(), tt = !1, T(), R(l, "Identifier");
998
998
  }
999
999
  e.version = "0.5.0";
1000
1000
  var O, k = "", Le, Xt;
@@ -1002,7 +1002,7 @@ var V, $i = function(e) {
1002
1002
  k = String(a), Le = k.length, O = l || {};
1003
1003
  for (var p in Xn)
1004
1004
  Object.prototype.hasOwnProperty.call(O, p) || (O[p] = Xn[p]);
1005
- for (Xt = O.sourceFile, Ve = 1, d = ke = 0, tt = !0, c(), p = O.dc, Zt = $e = d, O.C && (en = new i()), nt = ce = !1, X = [], y(), a = p || K(), l = !0, p || (a.body = []); x !== tn; )
1005
+ for (Xt = O.sourceFile, Ve = 1, d = ke = 0, tt = !0, c(), p = O.dc, Zt = $e = d, O.C && (en = new i()), nt = ce = !1, J = [], y(), a = p || K(), l = !0, p || (a.body = []); x !== tn; )
1006
1006
  p = he(), a.body.push(p), l && We(p) && D(!0), l = !1;
1007
1007
  return R(a, "Program");
1008
1008
  };
@@ -1017,7 +1017,7 @@ var V, $i = function(e) {
1017
1017
  dc: null,
1018
1018
  sourceFile: null,
1019
1019
  vb: null
1020
- }, d = 0, Y = 0, Fe = 0, Yt, Qt, x, fe, tt, Ve, ke, Zt = 0, $e = 0, en, nt, X, ce, Bo = [], rt = {
1020
+ }, d = 0, Y = 0, Fe = 0, Yt, Qt, x, fe, tt, Ve, ke, Zt = 0, $e = 0, en, nt, J, ce, Bo = [], rt = {
1021
1021
  type: "num"
1022
1022
  }, Yn = {
1023
1023
  type: "regexp"
@@ -1235,7 +1235,7 @@ function g(e, t) {
1235
1235
  for (s in this)
1236
1236
  typeof this[s] == "function" && (i = s.match(e)) && (this.rb[i[1]] = this[s].bind(this));
1237
1237
  this.N = kn(this, this.ra, null), this.Na = this.N.object, this.ra = _e(this.ba.join(`
1238
- `), "polyfills"), this.ba = void 0, Ft(this.ra), i = new T(this.ra, this.N), i.done = !1, this.o = [i], this.Eb(), this.value = void 0, this.ra = r, i = new T(this.ra, this.N), i.done = !1, this.o.length = 0, this.o[0] = i;
1238
+ `), "polyfills"), this.ba = void 0, Ft(this.ra), i = new w(this.ra, this.N), i.done = !1, this.o = [i], this.Eb(), this.value = void 0, this.ra = r, i = new w(this.ra, this.N), i.done = !1, this.o.length = 0, this.o[0] = i;
1239
1239
  }
1240
1240
  var Er = {
1241
1241
  C: !0,
@@ -1320,7 +1320,7 @@ V.lb = function() {
1320
1320
  n = null;
1321
1321
  else {
1322
1322
  this.ca.shift(), 0 <= n.interval && io(this, n, n.interval);
1323
- var r = new T(n.node, n.scope);
1323
+ var r = new w(n.node, n.scope);
1324
1324
  n.zb && (r.ia = 2, r.B = this.Na, r.U = n.zb, r.Qa = !0, r.F = n.Lb), n = r;
1325
1325
  }
1326
1326
  if (!n)
@@ -1362,7 +1362,7 @@ function Pi(e, t) {
1362
1362
  try {
1363
1363
  return i(s);
1364
1364
  } catch (u) {
1365
- I(e, e.Gb, u.message);
1365
+ E(e, e.Gb, u.message);
1366
1366
  }
1367
1367
  };
1368
1368
  }(r[o][0]), e.g(t, r[o][1], e.i(n, !1), C);
@@ -1384,21 +1384,21 @@ function Oi(e, t) {
1384
1384
  s = s.split(/\s*,\s*/);
1385
1385
  for (var u = 0; u < s.length; u++) {
1386
1386
  var c = s[u];
1387
- n.test(c) || I(e, e.T, "Invalid function argument: " + c);
1387
+ n.test(c) || E(e, e.T, "Invalid function argument: " + c);
1388
1388
  }
1389
1389
  s = s.join(", ");
1390
1390
  }
1391
1391
  try {
1392
- var h = _e("(function(" + s + ") {" + i + "})", "function" + e.Wb++);
1392
+ var m = _e("(function(" + s + ") {" + i + "})", "function" + e.Wb++);
1393
1393
  } catch (y) {
1394
- I(e, e.T, "Invalid code: " + y.message);
1394
+ E(e, e.T, "Invalid code: " + y.message);
1395
1395
  }
1396
- return h.body.length !== 1 && I(e, e.T, "Invalid code in function body"), Nn(e, h.body[0].la, e.N, "anonymous");
1396
+ return m.body.length !== 1 && E(e, e.T, "Invalid code in function body"), Nn(e, m.body[0].la, e.N, "anonymous");
1397
1397
  };
1398
1398
  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() {
1399
1399
  }, 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) {
1400
1400
  var s = e.o[e.o.length - 1];
1401
- s.U = this, s.B = o, s.F = [], i != null && (i instanceof N ? s.F = ro(e, i) : I(e, e.j, "CreateListFromArrayLike called on non-object")), s.eb = !1;
1401
+ s.U = this, s.B = o, s.F = [], i != null && (i instanceof N ? s.F = ro(e, i) : E(e, e.j, "CreateListFromArrayLike called on non-object")), s.eb = !1;
1402
1402
  }, Z(e, e.O, "apply", r), r = function(o) {
1403
1403
  var i = e.o[e.o.length - 1];
1404
1404
  i.U = this, i.B = o, i.F = [];
@@ -1413,7 +1413,7 @@ function Oi(e, t) {
1413
1413
  }
1414
1414
  function Ni(e, t) {
1415
1415
  function n(o) {
1416
- o != null || I(e, e.j, "Cannot convert '" + o + "' to object");
1416
+ o != null || E(e, e.j, "Cannot convert '" + o + "' to object");
1417
1417
  }
1418
1418
  var r = function(o) {
1419
1419
  if (o == null)
@@ -1429,11 +1429,11 @@ function Ni(e, t) {
1429
1429
  }, e.g(e.v, "getOwnPropertyNames", e.i(r, !1), C), r = function(o) {
1430
1430
  return n(o), o instanceof N && (o = o.h), Te(e, Object.keys(o));
1431
1431
  }, e.g(e.v, "keys", e.i(r, !1), C), r = function(o) {
1432
- return o === null ? e.s(null) : (o instanceof N || I(e, e.j, "Object prototype may only be an Object or null, not " + o), e.s(o));
1432
+ return o === null ? e.s(null) : (o instanceof N || E(e, e.j, "Object prototype may only be an Object or null, not " + o), e.s(o));
1433
1433
  }, e.g(e.v, "create", e.i(r, !1), C), e.ba.push("(function() {", "var create_ = Object.create;", "Object.create = function create(proto, props) {", "var obj = create_(proto);", "props && Object.defineProperties(obj, props);", "return obj;", "};", "})();", ""), r = function(o, i, s) {
1434
- return i = String(i), o instanceof N || I(e, e.j, "Object.defineProperty called on non-object: " + o), s instanceof N || I(e, e.j, "Property description must be an object"), !o.preventExtensions || i in o.h || I(e, e.j, "Can't define property '" + i + "', object is not extensible"), e.g(o, i, yt, s.h), o;
1434
+ return i = String(i), o instanceof N || E(e, e.j, "Object.defineProperty called on non-object: " + o), s instanceof N || E(e, e.j, "Property description must be an object"), !o.preventExtensions || i in o.h || E(e, e.j, "Can't define property '" + i + "', object is not extensible"), e.g(o, i, yt, s.h), o;
1435
1435
  }, e.g(e.v, "defineProperty", e.i(r, !1), C), e.ba.push("(function() {", "var defineProperty_ = Object.defineProperty;", "Object.defineProperty = function defineProperty(obj, prop, d1) {", "var d2 = {};", "if ('configurable' in d1) d2.configurable = d1.configurable;", "if ('enumerable' in d1) d2.enumerable = d1.enumerable;", "if ('writable' in d1) d2.writable = d1.writable;", "if ('value' in d1) d2.value = d1.value;", "if ('get' in d1) d2.get = d1.get;", "if ('set' in d1) d2.set = d1.set;", "return defineProperty_(obj, prop, d2);", "};", "})();", "Object.defineProperty(Object, 'defineProperties',", "{configurable: true, writable: true, value:", "function defineProperties(obj, props) {", "var keys = Object.keys(props);", "for (var i = 0; i < keys.length; i++) {", "Object.defineProperty(obj, keys[i], props[keys[i]]);", "}", "return obj;", "}", "});", ""), r = function(o, i) {
1436
- if (o instanceof N || I(e, e.j, "Object.getOwnPropertyDescriptor called on non-object: " + o), i = String(i), i in o.h) {
1436
+ if (o instanceof N || E(e, e.j, "Object.getOwnPropertyDescriptor called on non-object: " + o), i = String(i), i in o.h) {
1437
1437
  var s = Object.getOwnPropertyDescriptor(o.h, i), u = o.V[i];
1438
1438
  return o = o.Y[i], i = e.s(e.M), u || o ? (e.g(i, "get", u), e.g(i, "set", o)) : (e.g(i, "value", s.value), e.g(i, "writable", s.writable)), e.g(i, "configurable", s.configurable), e.g(i, "enumerable", s.enumerable), i;
1439
1439
  }
@@ -1460,7 +1460,7 @@ function Bi(e, t) {
1460
1460
  var n = function(r) {
1461
1461
  var o = Re(e) ? this : Je(e), i = arguments[0];
1462
1462
  if (arguments.length === 1 && typeof i == "number")
1463
- isNaN(xn(i)) && I(e, e.ob, "Invalid array length: " + i), o.h.length = i;
1463
+ isNaN(xn(i)) && E(e, e.ob, "Invalid array length: " + i), o.h.length = i;
1464
1464
  else {
1465
1465
  for (i = 0; i < arguments.length; i++)
1466
1466
  o.h[i] = arguments[i];
@@ -1487,7 +1487,7 @@ function ji(e, t) {
1487
1487
  try {
1488
1488
  return String(this).localeCompare(r, o, i);
1489
1489
  } catch (s) {
1490
- I(e, e.D, "localeCompare: " + s.message);
1490
+ E(e, e.D, "localeCompare: " + s.message);
1491
1491
  }
1492
1492
  }, Z(e, e.J, "localeCompare", n), n = function(r, o, i) {
1493
1493
  var s = String(this);
@@ -1500,8 +1500,8 @@ function ji(e, t) {
1500
1500
  }, r, i), r !== qe && i(Te(e, r));
1501
1501
  else {
1502
1502
  var u = e.ha(), c = ct(e, r, u, i);
1503
- u.onmessage = function(h) {
1504
- clearTimeout(c), i(Te(e, h.data));
1503
+ u.onmessage = function(m) {
1504
+ clearTimeout(c), i(Te(e, m.data));
1505
1505
  }, u.postMessage(["split", s, r, o]);
1506
1506
  }
1507
1507
  return;
@@ -1550,8 +1550,8 @@ function ji(e, t) {
1550
1550
  }, r, i), r !== qe && i(r);
1551
1551
  else {
1552
1552
  var u = e.ha(), c = ct(e, r, u, i);
1553
- u.onmessage = function(h) {
1554
- clearTimeout(c), i(h.data);
1553
+ u.onmessage = function(m) {
1554
+ clearTimeout(c), i(m.data);
1555
1555
  }, u.postMessage(["replace", s, r, o]);
1556
1556
  }
1557
1557
  return;
@@ -1574,32 +1574,32 @@ function Di(e, t) {
1574
1574
  try {
1575
1575
  return Number(this).toExponential(r);
1576
1576
  } catch (o) {
1577
- I(e, e.D, o.message);
1577
+ E(e, e.D, o.message);
1578
1578
  }
1579
1579
  }, Z(e, e.aa, "toExponential", n), n = function(r) {
1580
1580
  try {
1581
1581
  return Number(this).toFixed(r);
1582
1582
  } catch (o) {
1583
- I(e, e.D, o.message);
1583
+ E(e, e.D, o.message);
1584
1584
  }
1585
1585
  }, Z(e, e.aa, "toFixed", n), n = function(r) {
1586
1586
  try {
1587
1587
  return Number(this).toPrecision(r);
1588
1588
  } catch (o) {
1589
- I(e, e.D, o.message);
1589
+ E(e, e.D, o.message);
1590
1590
  }
1591
1591
  }, Z(e, e.aa, "toPrecision", n), n = function(r) {
1592
1592
  try {
1593
1593
  return Number(this).toString(r);
1594
1594
  } catch (o) {
1595
- I(e, e.D, o.message);
1595
+ E(e, e.D, o.message);
1596
1596
  }
1597
1597
  }, Z(e, e.aa, "toString", n), n = function(r, o) {
1598
1598
  r = r ? e.R(r) : void 0, o = o ? e.R(o) : void 0;
1599
1599
  try {
1600
1600
  return Number(this).toLocaleString(r, o);
1601
1601
  } catch (i) {
1602
- I(e, e.D, "toLocaleString: " + i.message);
1602
+ E(e, e.D, "toLocaleString: " + i.message);
1603
1603
  }
1604
1604
  }, Z(e, e.aa, "toLocaleString", n);
1605
1605
  }
@@ -1615,7 +1615,7 @@ function Ui(e, t) {
1615
1615
  n = /* @__PURE__ */ function(o) {
1616
1616
  return function(i) {
1617
1617
  var s = this.data;
1618
- s instanceof Date || I(e, e.j, o + " not called on a Date");
1618
+ s instanceof Date || E(e, e.j, o + " not called on a Date");
1619
1619
  for (var u = [], c = 0; c < arguments.length; c++)
1620
1620
  u[c] = e.R(arguments[c]);
1621
1621
  return s[o].apply(s, u);
@@ -1631,11 +1631,11 @@ function Wi(e, t) {
1631
1631
  return r;
1632
1632
  i = e.s(e.Ma);
1633
1633
  }
1634
- r = r === void 0 ? "" : String(r), o = o ? String(o) : "", /^[gmi]*$/.test(o) || I(e, e.T, "Invalid regexp flag: " + o);
1634
+ r = r === void 0 ? "" : String(r), o = o ? String(o) : "", /^[gmi]*$/.test(o) || E(e, e.T, "Invalid regexp flag: " + o);
1635
1635
  try {
1636
1636
  var s = new Be.RegExp(r, o);
1637
1637
  } catch (u) {
1638
- I(e, e.T, u.message);
1638
+ E(e, e.T, u.message);
1639
1639
  }
1640
1640
  return Pn(e, i, s), i;
1641
1641
  };
@@ -1655,9 +1655,9 @@ function Wi(e, t) {
1655
1655
  regexp: s
1656
1656
  }, s, o), r !== qe && (e.g(this, "lastIndex", s.lastIndex), o(i(r)));
1657
1657
  else {
1658
- var u = e.ha(), c = ct(e, s, u, o), h = this;
1658
+ var u = e.ha(), c = ct(e, s, u, o), m = this;
1659
1659
  u.onmessage = function(y) {
1660
- clearTimeout(c), e.g(h, "lastIndex", y.data[1]), o(i(y.data[0]));
1660
+ clearTimeout(c), e.g(m, "lastIndex", y.data[1]), o(i(y.data[0]));
1661
1661
  }, u.postMessage(["exec", s, s.lastIndex, r]);
1662
1662
  }
1663
1663
  else
@@ -1692,17 +1692,17 @@ function Mi(e, t) {
1692
1692
  try {
1693
1693
  var o = JSON.parse(String(r));
1694
1694
  } catch (i) {
1695
- I(e, e.T, i.message);
1695
+ E(e, e.T, i.message);
1696
1696
  }
1697
1697
  return e.Ia(o);
1698
1698
  }, e.g(n, "parse", e.i(t, !1)), t = function(r, o, i) {
1699
- o && o.H === "Function" ? I(e, e.j, "Function replacer on JSON.stringify not supported") : o && o.H === "Array" ? (o = ro(e, o), o = o.filter(function(u) {
1699
+ o && o.H === "Function" ? E(e, e.j, "Function replacer on JSON.stringify not supported") : o && o.H === "Array" ? (o = ro(e, o), o = o.filter(function(u) {
1700
1700
  return typeof u == "string" || typeof u == "number";
1701
1701
  })) : o = null, typeof i != "string" && typeof i != "number" && (i = void 0), r = e.R(r);
1702
1702
  try {
1703
1703
  var s = JSON.stringify(r, o, i);
1704
1704
  } catch (u) {
1705
- I(e, e.j, u.message);
1705
+ E(e, e.j, u.message);
1706
1706
  }
1707
1707
  return s;
1708
1708
  }, e.g(n, "stringify", e.i(t, !1));
@@ -1753,7 +1753,7 @@ function lt(e, t, n, r, o) {
1753
1753
  try {
1754
1754
  return Ee.runInNewContext(t, n, i);
1755
1755
  } catch {
1756
- o(null), I(e, e.D, "RegExp Timeout: " + r);
1756
+ o(null), E(e, e.D, "RegExp Timeout: " + r);
1757
1757
  }
1758
1758
  return qe;
1759
1759
  }
@@ -1774,13 +1774,13 @@ function ut(e, t, n) {
1774
1774
  r = !!Ee;
1775
1775
  } else
1776
1776
  r = !1;
1777
- r || (n(null), I(e, e.D, "Regular expressions not supported: " + t));
1777
+ r || (n(null), E(e, e.D, "Regular expressions not supported: " + t));
1778
1778
  }
1779
1779
  function ct(e, t, n, r) {
1780
1780
  return setTimeout(function() {
1781
1781
  n.terminate(), r(null);
1782
1782
  try {
1783
- I(e, e.D, "RegExp Timeout: " + t);
1783
+ E(e, e.D, "RegExp Timeout: " + t);
1784
1784
  } catch {
1785
1785
  }
1786
1786
  }, e.REGEXP_THREAD_TIMEOUT);
@@ -1902,7 +1902,7 @@ function Ie(e, t) {
1902
1902
  V.G = function(e, t) {
1903
1903
  if (this.P)
1904
1904
  throw Error("Getter not supported in that context");
1905
- if (t = String(t), e != null || I(this, this.j, "Cannot read property '" + t + "' of " + e), typeof e == "object" && !(e instanceof N))
1905
+ if (t = String(t), e != null || E(this, this.j, "Cannot read property '" + t + "' of " + e), typeof e == "object" && !(e instanceof N))
1906
1906
  throw TypeError("Expecting native value or pseudo object");
1907
1907
  if (t === "length") {
1908
1908
  if (ne(this, e, this.J))
@@ -1936,15 +1936,15 @@ function Mt(e, t, n) {
1936
1936
  V.g = function(e, t, n, r) {
1937
1937
  if (this.Ka)
1938
1938
  throw Error("Setter not supported in that context");
1939
- if (t = String(t), e != null || I(this, this.j, "Cannot set property '" + t + "' of " + e), typeof e == "object" && !(e instanceof N))
1939
+ if (t = String(t), e != null || E(this, this.j, "Cannot set property '" + t + "' of " + e), typeof e == "object" && !(e instanceof N))
1940
1940
  throw TypeError("Expecting native value or pseudo object");
1941
- r && ("get" in r || "set" in r) && ("value" in r || "writable" in r) && I(this, this.j, "Invalid property descriptor. Cannot both specify accessors and a value or writable attribute");
1941
+ r && ("get" in r || "set" in r) && ("value" in r || "writable" in r) && E(this, this.j, "Invalid property descriptor. Cannot both specify accessors and a value or writable attribute");
1942
1942
  var o = !this.o || Bn(this).S;
1943
1943
  if (e instanceof N) {
1944
1944
  if (ne(this, e, this.J)) {
1945
1945
  var i = ht(t);
1946
1946
  if (t === "length" || !isNaN(i) && i < String(e).length) {
1947
- o && I(this, this.j, "Cannot assign to read only property '" + t + "' of String '" + e.data + "'");
1947
+ o && E(this, this.j, "Cannot assign to read only property '" + t + "' of String '" + e.data + "'");
1948
1948
  return;
1949
1949
  }
1950
1950
  }
@@ -1955,7 +1955,7 @@ V.g = function(e, t, n, r) {
1955
1955
  return;
1956
1956
  n = r.value;
1957
1957
  }
1958
- if (n = xn(n), isNaN(n) && I(this, this.ob, "Invalid array length"), n < i)
1958
+ if (n = xn(n), isNaN(n) && E(this, this.ob, "Invalid array length"), n < i)
1959
1959
  for (s in e.h) {
1960
1960
  var s = ht(s);
1961
1961
  !isNaN(s) && n <= s && delete e.h[s];
@@ -1968,7 +1968,7 @@ V.g = function(e, t, n, r) {
1968
1968
  try {
1969
1969
  Object.defineProperty(e.h, t, o);
1970
1970
  } catch {
1971
- I(this, this.j, "Cannot redefine property: " + t);
1971
+ E(this, this.j, "Cannot redefine property: " + t);
1972
1972
  }
1973
1973
  "get" in r && !r.get && delete e.V[t], "set" in r && !r.set && delete e.Y[t];
1974
1974
  } else {
@@ -1982,18 +1982,18 @@ V.g = function(e, t, n, r) {
1982
1982
  if (r.Y && r.Y[t])
1983
1983
  return this.Ka = !0, r.Y[t];
1984
1984
  if (r.V && r.V[t])
1985
- o && I(this, this.j, "Cannot set property '" + t + "' of object '" + e + "' which only has a getter");
1985
+ o && E(this, this.j, "Cannot set property '" + t + "' of object '" + e + "' which only has a getter");
1986
1986
  else
1987
1987
  try {
1988
1988
  e.h[t] = n;
1989
1989
  } catch {
1990
- o && I(this, this.j, "Cannot assign to read only property '" + t + "' of object '" + e + "'");
1990
+ o && E(this, this.j, "Cannot assign to read only property '" + t + "' of object '" + e + "'");
1991
1991
  }
1992
1992
  }
1993
1993
  else
1994
- o && I(this, this.j, "Can't add property '" + t + "', object is not extensible");
1994
+ o && E(this, this.j, "Can't add property '" + t + "', object is not extensible");
1995
1995
  } else
1996
- o && I(this, this.j, "Can't create property '" + t + "' on '" + e + "'");
1996
+ o && E(this, this.j, "Can't create property '" + t + "' on '" + e + "'");
1997
1997
  };
1998
1998
  V.g.ac = function() {
1999
1999
  throw Error("Placeholder getter");
@@ -2035,7 +2035,7 @@ function Vn(e, t) {
2035
2035
  }
2036
2036
  if (n === e.N && Mt(e, n.object, t))
2037
2037
  return e.G(n.object, t);
2038
- n = e.o[e.o.length - 1].node, n.type === "UnaryExpression" && n.operator === "typeof" || I(e, e.pb, t + " is not defined");
2038
+ n = e.o[e.o.length - 1].node, n.type === "UnaryExpression" && n.operator === "typeof" || E(e, e.pb, t + " is not defined");
2039
2039
  }
2040
2040
  function oo(e, t, n) {
2041
2041
  for (var r = Bn(e), o = r.S; r && r !== e.N; ) {
@@ -2043,7 +2043,7 @@ function oo(e, t, n) {
2043
2043
  try {
2044
2044
  r.object.h[t] = n;
2045
2045
  } catch {
2046
- o && I(e, e.j, "Cannot assign to read only variable '" + t + "'");
2046
+ o && E(e, e.j, "Cannot assign to read only variable '" + t + "'");
2047
2047
  }
2048
2048
  return;
2049
2049
  }
@@ -2051,7 +2051,7 @@ function oo(e, t, n) {
2051
2051
  }
2052
2052
  if (r === e.N && (!o || Mt(e, r.object, t)))
2053
2053
  return e.g(r.object, t, n);
2054
- I(e, e.pb, t + " is not defined");
2054
+ E(e, e.pb, t + " is not defined");
2055
2055
  }
2056
2056
  function vt(e, t, n) {
2057
2057
  if (t.jb)
@@ -2111,7 +2111,7 @@ function Dn(e, t) {
2111
2111
  function Un(e, t, n) {
2112
2112
  return t[0] === Ye ? oo(e, t[1], n) : e.g(t[0], t[1], n);
2113
2113
  }
2114
- function I(e, t, n) {
2114
+ function E(e, t, n) {
2115
2115
  throw e.N ? (n !== void 0 && t instanceof N && (t = e.Aa(t), Sn(e, t, n)), bt(e, 4, t), no) : n === void 0 ? t : n;
2116
2116
  }
2117
2117
  function bt(e, t, n, r) {
@@ -2200,8 +2200,8 @@ function Ar(e, t, n) {
2200
2200
  } else {
2201
2201
  try {
2202
2202
  var c = _e(String(i), "taskCode" + e.ic++);
2203
- } catch (h) {
2204
- I(e, e.T, "Invalid code: " + h.message);
2203
+ } catch (m) {
2204
+ E(e, e.T, "Invalid code: " + m.message);
2205
2205
  }
2206
2206
  s.type = "EvalProgram_", s.body = c.body, r = r.node.arguments[0], Ft(s, r ? r.start : void 0, r ? r.end : void 0), r = e.N, o.length = 0;
2207
2207
  }
@@ -2224,14 +2224,14 @@ function St(e, t, n) {
2224
2224
  throw Error("Unexpected call to createGetter");
2225
2225
  e.P = !1, n = Array.isArray(n) ? n[0] : n;
2226
2226
  var r = e.ya();
2227
- return r.type = "CallExpression", e = new T(r, e.o[e.o.length - 1].scope), e.ia = 2, e.B = n, e.U = t, e.Qa = !0, e.F = [], e;
2227
+ return r.type = "CallExpression", e = new w(r, e.o[e.o.length - 1].scope), e.ia = 2, e.B = n, e.U = t, e.Qa = !0, e.F = [], e;
2228
2228
  }
2229
2229
  function Wn(e, t, n, r) {
2230
2230
  if (!e.Ka)
2231
2231
  throw Error("Unexpected call to createSetter");
2232
2232
  e.Ka = !1, n = Array.isArray(n) ? n[0] : e.Na;
2233
2233
  var o = e.ya();
2234
- return o.type = "CallExpression", e = new T(o, e.o[e.o.length - 1].scope), e.ia = 2, e.B = n, e.U = t, e.Qa = !0, e.F = [r], e;
2234
+ return o.type = "CallExpression", e = new w(o, e.o[e.o.length - 1].scope), e.ia = 2, e.B = n, e.U = t, e.Qa = !0, e.F = [r], e;
2235
2235
  }
2236
2236
  function fn(e, t) {
2237
2237
  return t == null ? e.Na : t instanceof N ? t : (e = e.s(Ie(e, t)), e.data = t, e);
@@ -2245,7 +2245,7 @@ V.Yb = function() {
2245
2245
  V.ec = function(e) {
2246
2246
  this.o = e;
2247
2247
  };
2248
- function T(e, t) {
2248
+ function w(e, t) {
2249
2249
  this.node = e, this.scope = t;
2250
2250
  }
2251
2251
  function so(e, t, n) {
@@ -2318,16 +2318,16 @@ g.prototype.stepArrayExpression = function(e, t, n) {
2318
2318
  var r = t.A || 0;
2319
2319
  for (t.Oa ? (this.g(t.Oa, r, t.value), r++) : (t.Oa = Je(this), t.Oa.h.length = n.length); r < n.length; ) {
2320
2320
  if (n[r])
2321
- return t.A = r, new T(n[r], t.scope);
2321
+ return t.A = r, new w(n[r], t.scope);
2322
2322
  r++;
2323
2323
  }
2324
2324
  e.pop(), e[e.length - 1].value = t.Oa;
2325
2325
  };
2326
2326
  g.prototype.stepAssignmentExpression = function(e, t, n) {
2327
2327
  if (!t.ja)
2328
- return t.ja = !0, t = new T(n.left, t.scope), t.sa = !0, t;
2328
+ return t.ja = !0, t = new w(n.left, t.scope), t.sa = !0, t;
2329
2329
  if (!t.Da)
2330
- return t.Fa || (t.Fa = t.value), t.Ba && (t.ma = t.value), !t.Ba && n.operator !== "=" && (e = Dn(this, t.Fa), t.ma = e, this.P) ? (t.Ba = !0, St(this, e, t.Fa)) : (t.Da = !0, n.operator === "=" && n.left.type === "Identifier" && (t.Pa = n.left.name), new T(n.right, t.scope));
2330
+ return t.Fa || (t.Fa = t.value), t.Ba && (t.ma = t.value), !t.Ba && n.operator !== "=" && (e = Dn(this, t.Fa), t.ma = e, this.P) ? (t.Ba = !0, St(this, e, t.Fa)) : (t.Da = !0, n.operator === "=" && n.left.type === "Identifier" && (t.Pa = n.left.name), new w(n.right, t.scope));
2331
2331
  if (t.ta)
2332
2332
  e.pop(), e[e.length - 1].value = t.ib;
2333
2333
  else {
@@ -2379,9 +2379,9 @@ g.prototype.stepAssignmentExpression = function(e, t, n) {
2379
2379
  };
2380
2380
  g.prototype.stepBinaryExpression = function(e, t, n) {
2381
2381
  if (!t.ja)
2382
- return t.ja = !0, new T(n.left, t.scope);
2382
+ return t.ja = !0, new w(n.left, t.scope);
2383
2383
  if (!t.Da)
2384
- return t.Da = !0, t.ma = t.value, new T(n.right, t.scope);
2384
+ return t.Da = !0, t.ma = t.value, new w(n.right, t.scope);
2385
2385
  e.pop();
2386
2386
  var r = t.ma;
2387
2387
  switch (t = t.value, n.operator) {
@@ -2443,10 +2443,10 @@ g.prototype.stepBinaryExpression = function(e, t, n) {
2443
2443
  n = r >>> t;
2444
2444
  break;
2445
2445
  case "in":
2446
- t instanceof N || I(this, this.j, "'in' expects an object, not '" + t + "'"), n = Mt(this, t, r);
2446
+ t instanceof N || E(this, this.j, "'in' expects an object, not '" + t + "'"), n = Mt(this, t, r);
2447
2447
  break;
2448
2448
  case "instanceof":
2449
- ne(this, t, this.O) || I(this, this.j, "'instanceof' expects an object, not '" + t + "'"), n = r instanceof N ? ne(this, r, t) : !1;
2449
+ ne(this, t, this.O) || E(this, this.j, "'instanceof' expects an object, not '" + t + "'"), n = r instanceof N ? ne(this, r, t) : !1;
2450
2450
  break;
2451
2451
  default:
2452
2452
  throw SyntaxError("Unknown binary operator: " + n.operator);
@@ -2456,7 +2456,7 @@ g.prototype.stepBinaryExpression = function(e, t, n) {
2456
2456
  g.prototype.stepBlockStatement = function(e, t, n) {
2457
2457
  var r = t.A || 0;
2458
2458
  if (n = n.body[r])
2459
- return t.A = r + 1, new T(n, t.scope);
2459
+ return t.A = r + 1, new w(n, t.scope);
2460
2460
  e.pop();
2461
2461
  };
2462
2462
  g.prototype.stepBreakStatement = function(e, t, n) {
@@ -2466,7 +2466,7 @@ g.prototype.Hb = 0;
2466
2466
  g.prototype.stepCallExpression = function(e, t, n) {
2467
2467
  if (!t.ia) {
2468
2468
  t.ia = 1;
2469
- var r = new T(n.callee, t.scope);
2469
+ var r = new w(n.callee, t.scope);
2470
2470
  return r.sa = !0, r;
2471
2471
  }
2472
2472
  if (t.ia === 1) {
@@ -2481,9 +2481,9 @@ g.prototype.stepCallExpression = function(e, t, n) {
2481
2481
  }
2482
2482
  if (o = t.U, !t.Qa) {
2483
2483
  if (t.A !== 0 && t.F.push(t.value), n.arguments[t.A])
2484
- return new T(n.arguments[t.A++], t.scope);
2484
+ return new w(n.arguments[t.A++], t.scope);
2485
2485
  if (n.type === "NewExpression") {
2486
- if (o instanceof N && !o.Ab || I(this, this.j, ae(this, n.callee) + " is not a constructor"), o === this.qa)
2486
+ if (o instanceof N && !o.Ab || E(this, this.j, ae(this, n.callee) + " is not a constructor"), o === this.qa)
2487
2487
  t.B = Je(this);
2488
2488
  else {
2489
2489
  var i = o.h.prototype;
@@ -2496,12 +2496,12 @@ g.prototype.stepCallExpression = function(e, t, n) {
2496
2496
  if (t.eb)
2497
2497
  e.pop(), e[e.length - 1].value = t.isConstructor && typeof t.value != "object" ? t.B : t.value;
2498
2498
  else {
2499
- if (t.eb = !0, o instanceof N || I(this, this.j, ae(this, n.callee) + " is not a function"), e = o.node) {
2499
+ if (t.eb = !0, o instanceof N || E(this, this.j, ae(this, n.callee) + " is not a function"), e = o.node) {
2500
2500
  for (n = kn(this, e.body, o.Va), r = Je(this), o = 0; o < t.F.length; o++)
2501
2501
  this.g(r, o, t.F[o]);
2502
2502
  for (this.g(n.object, "arguments", r), o = 0; o < e.oa.length; o++)
2503
2503
  this.g(n.object, e.oa[o].name, t.F.length > o ? t.F[o] : void 0);
2504
- return n.S || (t.B = fn(this, t.B)), this.g(n.object, "this", t.B, $n), t.value = void 0, new T(e.body, n);
2504
+ return n.S || (t.B = fn(this, t.B)), this.g(n.object, "this", t.B, $n), t.value = void 0, new w(e.body, n);
2505
2505
  }
2506
2506
  if (o.eval)
2507
2507
  if (o = t.F[0], typeof o != "string")
@@ -2510,9 +2510,9 @@ g.prototype.stepCallExpression = function(e, t, n) {
2510
2510
  try {
2511
2511
  r = _e(String(o), "eval" + this.Hb++);
2512
2512
  } catch (u) {
2513
- I(this, this.T, "Invalid code: " + u.message);
2513
+ E(this, this.T, "Invalid code: " + u.message);
2514
2514
  }
2515
- return o = this.ya(), o.type = "EvalProgram_", o.body = r.body, Ft(o, n.start, n.end), n = t.Pb ? t.scope : this.N, n.S ? n = kn(this, r, n) : vt(this, r, n), this.value = void 0, new T(o, n);
2515
+ return o = this.ya(), o.type = "EvalProgram_", o.body = r.body, Ft(o, n.start, n.end), n = t.Pb ? t.scope : this.N, n.S ? n = kn(this, r, n) : vt(this, r, n), this.value = void 0, new w(o, n);
2516
2516
  }
2517
2517
  else if (o.Ta)
2518
2518
  t.scope.S || (t.B = fn(this, t.B)), t.value = o.Ta.apply(t.B, t.F);
@@ -2522,18 +2522,18 @@ g.prototype.stepCallExpression = function(e, t, n) {
2522
2522
  t.value = u, s.za = !1;
2523
2523
  }), this.za = !0, t.scope.S || (t.B = fn(this, t.B)), o.Za.apply(t.B, r);
2524
2524
  } else
2525
- I(this, this.j, ae(this, n.callee) + " is not callable");
2525
+ E(this, this.j, ae(this, n.callee) + " is not callable");
2526
2526
  }
2527
2527
  };
2528
2528
  g.prototype.stepConditionalExpression = function(e, t, n) {
2529
2529
  var r = t.na || 0;
2530
2530
  if (r === 0)
2531
- return t.na = 1, new T(n.test, t.scope);
2531
+ return t.na = 1, new w(n.test, t.scope);
2532
2532
  if (r === 1) {
2533
2533
  if (t.na = 2, (r = !!t.value) && n.da)
2534
- return new T(n.da, t.scope);
2534
+ return new w(n.da, t.scope);
2535
2535
  if (!r && n.alternate)
2536
- return new T(n.alternate, t.scope);
2536
+ return new w(n.alternate, t.scope);
2537
2537
  this.value = void 0;
2538
2538
  }
2539
2539
  e.pop(), n.type === "ConditionalExpression" && (e[e.length - 1].value = t.value);
@@ -2546,11 +2546,11 @@ g.prototype.stepDebuggerStatement = function(e) {
2546
2546
  };
2547
2547
  g.prototype.stepDoWhileStatement = function(e, t, n) {
2548
2548
  if (n.type === "DoWhileStatement" && t.ga === void 0 && (t.value = !0, t.ga = !0), !t.ga)
2549
- return t.ga = !0, new T(n.test, t.scope);
2549
+ return t.ga = !0, new w(n.test, t.scope);
2550
2550
  if (!t.value)
2551
2551
  e.pop();
2552
2552
  else if (n.body)
2553
- return t.ga = !1, t.W = !0, new T(n.body, t.scope);
2553
+ return t.ga = !1, t.W = !0, new w(n.body, t.scope);
2554
2554
  };
2555
2555
  g.prototype.stepEmptyStatement = function(e) {
2556
2556
  e.pop();
@@ -2558,19 +2558,19 @@ g.prototype.stepEmptyStatement = function(e) {
2558
2558
  g.prototype.stepEvalProgram_ = function(e, t, n) {
2559
2559
  var r = t.A || 0;
2560
2560
  if (n = n.body[r])
2561
- return t.A = r + 1, new T(n, t.scope);
2561
+ return t.A = r + 1, new w(n, t.scope);
2562
2562
  e.pop(), e[e.length - 1].value = this.value;
2563
2563
  };
2564
2564
  g.prototype.stepExpressionStatement = function(e, t, n) {
2565
2565
  if (!t.ka)
2566
- return this.value = void 0, t.ka = !0, new T(n.la, t.scope);
2566
+ return this.value = void 0, t.ka = !0, new w(n.la, t.scope);
2567
2567
  e.pop(), this.value = t.value;
2568
2568
  };
2569
2569
  g.prototype.stepForInStatement = function(e, t, n) {
2570
2570
  if (!t.Ub && (t.Ub = !0, n.left.fa && n.left.fa[0].ua))
2571
- return t.scope.S && I(this, this.T, "for-in loop variable declaration may not have an initializer"), new T(n.left, t.scope);
2571
+ return t.scope.S && E(this, this.T, "for-in loop variable declaration may not have an initializer"), new w(n.left, t.scope);
2572
2572
  if (!t.Ca)
2573
- return t.Ca = !0, t.pa || (t.pa = t.value), new T(n.right, t.scope);
2573
+ return t.Ca = !0, t.pa || (t.pa = t.value), new w(n.right, t.scope);
2574
2574
  if (t.W || (t.W = !0, t.u = t.value, t.kb = /* @__PURE__ */ Object.create(null)), t.Ra === void 0)
2575
2575
  e:
2576
2576
  for (; ; ) {
@@ -2600,31 +2600,31 @@ g.prototype.stepForInStatement = function(e, t, n) {
2600
2600
  if (t.wb = !0, e = n.left, e.type === "VariableDeclaration")
2601
2601
  t.pa = [Ye, e.fa[0].id.name];
2602
2602
  else
2603
- return t.pa = null, t = new T(e, t.scope), t.sa = !0, t;
2603
+ return t.pa = null, t = new w(e, t.scope), t.sa = !0, t;
2604
2604
  if (t.pa || (t.pa = t.value), !t.ta && (t.ta = !0, e = t.Ra, r = Un(this, t.pa, e)))
2605
2605
  return Wn(this, r, t.pa, e);
2606
2606
  if (t.Ra = void 0, t.wb = !1, t.ta = !1, n.body)
2607
- return new T(n.body, t.scope);
2607
+ return new w(n.body, t.scope);
2608
2608
  };
2609
2609
  g.prototype.stepForStatement = function(e, t, n) {
2610
2610
  switch (t.na) {
2611
2611
  default:
2612
2612
  if (t.na = 1, n.ua)
2613
- return new T(n.ua, t.scope);
2613
+ return new w(n.ua, t.scope);
2614
2614
  break;
2615
2615
  case 1:
2616
2616
  if (t.na = 2, n.test)
2617
- return new T(n.test, t.scope);
2617
+ return new w(n.test, t.scope);
2618
2618
  break;
2619
2619
  case 2:
2620
2620
  if (t.na = 3, n.test && !t.value)
2621
2621
  e.pop();
2622
2622
  else
2623
- return t.W = !0, new T(n.body, t.scope);
2623
+ return t.W = !0, new w(n.body, t.scope);
2624
2624
  break;
2625
2625
  case 3:
2626
2626
  if (t.na = 1, n.update)
2627
- return new T(n.update, t.scope);
2627
+ return new w(n.update, t.scope);
2628
2628
  }
2629
2629
  };
2630
2630
  g.prototype.stepFunctionDeclaration = function(e) {
@@ -2644,7 +2644,7 @@ g.prototype.stepIdentifier = function(e, t, n) {
2644
2644
  };
2645
2645
  g.prototype.stepIfStatement = g.prototype.stepConditionalExpression;
2646
2646
  g.prototype.stepLabeledStatement = function(e, t, n) {
2647
- return e.pop(), e = t.labels || [], e.push(n.label.name), t = new T(n.body, t.scope), t.labels = e, t;
2647
+ return e.pop(), e = t.labels || [], e.push(n.label.name), t = new w(n.body, t.scope), t.labels = e, t;
2648
2648
  };
2649
2649
  g.prototype.stepLiteral = function(e, t, n) {
2650
2650
  e.pop(), t = n.value, t instanceof RegExp && (n = this.s(this.Ma), Pn(this, n, t), t = n), e[e.length - 1].value = t;
@@ -2653,22 +2653,22 @@ g.prototype.stepLogicalExpression = function(e, t, n) {
2653
2653
  if (n.operator !== "&&" && n.operator !== "||")
2654
2654
  throw SyntaxError("Unknown logical operator: " + n.operator);
2655
2655
  if (!t.ja)
2656
- return t.ja = !0, new T(n.left, t.scope);
2656
+ return t.ja = !0, new w(n.left, t.scope);
2657
2657
  if (t.Da)
2658
2658
  e.pop(), e[e.length - 1].value = t.value;
2659
2659
  else if (n.operator === "&&" && !t.value || n.operator === "||" && t.value)
2660
2660
  e.pop(), e[e.length - 1].value = t.value;
2661
2661
  else
2662
- return t.Da = !0, new T(n.right, t.scope);
2662
+ return t.Da = !0, new w(n.right, t.scope);
2663
2663
  };
2664
2664
  g.prototype.stepMemberExpression = function(e, t, n) {
2665
2665
  if (!t.Ca)
2666
- return t.Ca = !0, new T(n.object, t.scope);
2666
+ return t.Ca = !0, new w(n.object, t.scope);
2667
2667
  if (n.bb)
2668
2668
  if (t.Vb)
2669
2669
  n = t.value;
2670
2670
  else
2671
- return t.u = t.value, t.Vb = !0, new T(n.Wa, t.scope);
2671
+ return t.u = t.value, t.Vb = !0, new w(n.Wa, t.scope);
2672
2672
  else
2673
2673
  t.u = t.value, n = n.Wa.name;
2674
2674
  if (e.pop(), t.sa)
@@ -2695,7 +2695,7 @@ g.prototype.stepObjectExpression = function(e, t, n) {
2695
2695
  i = s.value;
2696
2696
  else
2697
2697
  throw SyntaxError("Unknown object structure: " + s.type);
2698
- return t.Pa = i, new T(o.value, t.scope);
2698
+ return t.Pa = i, new w(o.value, t.scope);
2699
2699
  }
2700
2700
  for (s in t.Ja)
2701
2701
  n = t.Ja[s], "get" in n || "set" in n ? this.g(t.u, s, yt, {
@@ -2708,35 +2708,35 @@ g.prototype.stepObjectExpression = function(e, t, n) {
2708
2708
  };
2709
2709
  g.prototype.stepProgram = function(e, t, n) {
2710
2710
  if (e = n.body.shift())
2711
- return t.done = !1, new T(e, t.scope);
2711
+ return t.done = !1, new w(e, t.scope);
2712
2712
  t.done = !0;
2713
2713
  };
2714
2714
  g.prototype.stepReturnStatement = function(e, t, n) {
2715
2715
  if (n.K && !t.ka)
2716
- return t.ka = !0, new T(n.K, t.scope);
2716
+ return t.ka = !0, new w(n.K, t.scope);
2717
2717
  bt(this, 3, t.value);
2718
2718
  };
2719
2719
  g.prototype.stepSequenceExpression = function(e, t, n) {
2720
2720
  var r = t.A || 0;
2721
2721
  if (n = n.xb[r])
2722
- return t.A = r + 1, new T(n, t.scope);
2722
+ return t.A = r + 1, new w(n, t.scope);
2723
2723
  e.pop(), e[e.length - 1].value = t.value;
2724
2724
  };
2725
2725
  g.prototype.stepSwitchStatement = function(e, t, n) {
2726
2726
  if (!t.ga)
2727
- return t.ga = 1, new T(n.Qb, t.scope);
2727
+ return t.ga = 1, new w(n.Qb, t.scope);
2728
2728
  for (t.ga === 1 && (t.ga = 2, t.hc = t.value, t.cb = -1); ; ) {
2729
2729
  var r = t.gb || 0, o = n.tb[r];
2730
2730
  if (t.Ha || !o || o.test)
2731
2731
  if (o || t.Ha || t.cb === -1)
2732
2732
  if (o) {
2733
2733
  if (!t.Ha && !t.Fb && o.test)
2734
- return t.Fb = !0, new T(o.test, t.scope);
2734
+ return t.Fb = !0, new w(o.test, t.scope);
2735
2735
  if (t.Ha || t.value === t.hc) {
2736
2736
  t.Ha = !0;
2737
2737
  var i = t.A || 0;
2738
2738
  if (o.da[i])
2739
- return t.Zb = !0, t.A = i + 1, new T(o.da[i], t.scope);
2739
+ return t.Zb = !0, t.A = i + 1, new w(o.da[i], t.scope);
2740
2740
  }
2741
2741
  t.Fb = !1, t.A = 0, t.gb = r + 1;
2742
2742
  } else {
@@ -2754,22 +2754,22 @@ g.prototype.stepThisExpression = function(e) {
2754
2754
  };
2755
2755
  g.prototype.stepThrowStatement = function(e, t, n) {
2756
2756
  if (t.ka)
2757
- I(this, t.value);
2757
+ E(this, t.value);
2758
2758
  else
2759
- return t.ka = !0, new T(n.K, t.scope);
2759
+ return t.ka = !0, new w(n.K, t.scope);
2760
2760
  };
2761
2761
  g.prototype.stepTryStatement = function(e, t, n) {
2762
2762
  if (!t.Rb)
2763
- return t.Rb = !0, new T(n.block, t.scope);
2763
+ return t.Rb = !0, new w(n.block, t.scope);
2764
2764
  if (t.ea && t.ea.type === 4 && !t.Tb && n.Ea)
2765
- return t.Tb = !0, e = jn(this, t.scope), this.g(e.object, n.Ea.Ua.name, t.ea.value), t.ea = void 0, new T(n.Ea.body, e);
2765
+ return t.Tb = !0, e = jn(this, t.scope), this.g(e.object, n.Ea.Ua.name, t.ea.value), t.ea = void 0, new w(n.Ea.body, e);
2766
2766
  if (!t.Sb && n.fb)
2767
- return t.Sb = !0, new T(n.fb, t.scope);
2767
+ return t.Sb = !0, new w(n.fb, t.scope);
2768
2768
  e.pop(), t.ea && bt(this, t.ea.type, t.ea.value, t.ea.label);
2769
2769
  };
2770
2770
  g.prototype.stepUnaryExpression = function(e, t, n) {
2771
2771
  if (!t.ka)
2772
- return t.ka = !0, e = new T(n.K, t.scope), e.sa = n.operator === "delete", e;
2772
+ return t.ka = !0, e = new w(n.K, t.scope), e.sa = n.operator === "delete", e;
2773
2773
  e.pop();
2774
2774
  var r = t.value;
2775
2775
  switch (n.operator) {
@@ -2792,7 +2792,7 @@ g.prototype.stepUnaryExpression = function(e, t, n) {
2792
2792
  try {
2793
2793
  delete o.h[r];
2794
2794
  } catch {
2795
- t.scope.S ? I(this, this.j, "Cannot delete property '" + r + "' of '" + o + "'") : n = !1;
2795
+ t.scope.S ? E(this, this.j, "Cannot delete property '" + r + "' of '" + o + "'") : n = !1;
2796
2796
  }
2797
2797
  }
2798
2798
  r = n;
@@ -2810,7 +2810,7 @@ g.prototype.stepUnaryExpression = function(e, t, n) {
2810
2810
  };
2811
2811
  g.prototype.stepUpdateExpression = function(e, t, n) {
2812
2812
  if (!t.ja)
2813
- return t.ja = !0, e = new T(n.K, t.scope), e.sa = !0, e;
2813
+ return t.ja = !0, e = new w(n.K, t.scope), e.sa = !0, e;
2814
2814
  if (t.Ga || (t.Ga = t.value), t.Ba && (t.ma = t.value), !t.Ba) {
2815
2815
  var r = Dn(this, t.Ga);
2816
2816
  if (t.ma = r, this.P)
@@ -2835,13 +2835,13 @@ g.prototype.stepVariableDeclaration = function(e, t, n) {
2835
2835
  var r = t.A || 0, o = n[r];
2836
2836
  for (t.Bb && o && (oo(this, o.id.name, t.value), t.Bb = !1, o = n[++r]); o; ) {
2837
2837
  if (o.ua)
2838
- return t.A = r, t.Bb = !0, t.Pa = o.id.name, new T(o.ua, t.scope);
2838
+ return t.A = r, t.Bb = !0, t.Pa = o.id.name, new w(o.ua, t.scope);
2839
2839
  o = n[++r];
2840
2840
  }
2841
2841
  e.pop();
2842
2842
  };
2843
2843
  g.prototype.stepWithStatement = function(e, t, n) {
2844
- return t.Ca ? (e.pop(), e = jn(this, t.scope, t.value), new T(n.body, e)) : (t.Ca = !0, new T(n.object, t.scope));
2844
+ return t.Ca ? (e.pop(), e = jn(this, t.scope, t.value), new w(n.body, e)) : (t.Ca = !0, new w(n.object, t.scope));
2845
2845
  };
2846
2846
  g.prototype.stepWhileStatement = g.prototype.stepDoWhileStatement;
2847
2847
  Be.Interpreter = g;
@@ -2868,9 +2868,9 @@ function zi() {
2868
2868
  const c = s._connected[u];
2869
2869
  return Array.isArray(c) ? this.nativeToPseudo(c) : typeof c == "object" ? this.createConnectedObject(c) : c;
2870
2870
  }
2871
- function r(s, u, c, h) {
2871
+ function r(s, u, c, m) {
2872
2872
  if (s == null || !s._connected)
2873
- return t.call(this, s, u, c, h);
2873
+ return t.call(this, s, u, c, m);
2874
2874
  s._connected[u] = this.pseudoToNative(c);
2875
2875
  }
2876
2876
  const o = [], i = [];
@@ -2907,7 +2907,7 @@ function main()`).replace(/\?\./g, "."), xr = (e) => e + "JSON", Gi = ({
2907
2907
  context: t,
2908
2908
  event: n,
2909
2909
  state: u
2910
- }), h = c.map(([$]) => {
2910
+ }), m = c.map(([$]) => {
2911
2911
  const H = xr($);
2912
2912
  return $ === "state" ? "" : `var ${$} = ${H} === undefined ? undefined : JSON.parse(${H});`;
2913
2913
  }).join(`
@@ -2916,21 +2916,21 @@ function main()`).replace(/\?\./g, "."), xr = (e) => e + "JSON", Gi = ({
2916
2916
  return;
2917
2917
  const b = `
2918
2918
  function theFunction() {
2919
- ${h}
2919
+ ${m}
2920
2920
 
2921
2921
  ${y}
2922
2922
  }
2923
2923
  theFunction();
2924
- `, m = function($, H) {
2925
- c.forEach(([te, E]) => {
2926
- if (te === "state")
2927
- $.setProperty(H, te, $.createConnectedObject(E), $.READONLY_DESCRIPTOR);
2924
+ `, h = function($, H) {
2925
+ c.forEach(([ee, T]) => {
2926
+ if (ee === "state")
2927
+ $.setProperty(H, ee, $.createConnectedObject(T), $.READONLY_DESCRIPTOR);
2928
2928
  else {
2929
- const D = JSON.stringify(E);
2930
- $.setProperty(H, xr(te), D);
2929
+ const D = JSON.stringify(T);
2930
+ $.setProperty(H, xr(ee), D);
2931
2931
  }
2932
2932
  });
2933
- }, S = new g(b, m);
2933
+ }, S = new g(b, h);
2934
2934
  return S.run(), S.pseudoToNative(S.value);
2935
2935
  };
2936
2936
  function _i() {
@@ -2969,7 +2969,7 @@ function kt({
2969
2969
  ...r,
2970
2970
  ...n
2971
2971
  }, c);
2972
- const h = {
2972
+ const m = {
2973
2973
  code: Ri(e, {
2974
2974
  isExpression: s
2975
2975
  }),
@@ -2981,7 +2981,7 @@ function kt({
2981
2981
  localState: n
2982
2982
  };
2983
2983
  try {
2984
- return Xi(h);
2984
+ return Xi(m);
2985
2985
  } catch (y) {
2986
2986
  ue.error("Failed code evaluation: " + y.message, {
2987
2987
  code: e
@@ -3075,7 +3075,7 @@ function Cn(e) {
3075
3075
  n !== "meta" && Object.prototype.hasOwnProperty.call(e, n) && (t[n] = Cn(e[n]));
3076
3076
  return t;
3077
3077
  }
3078
- const ss = ["svelte", "vue", "angular", "qwik", "solid"].includes(G), as = (e) => {
3078
+ const ss = ["svelte", "vue", "angular", "qwik", "solid"].includes(q), as = (e) => {
3079
3079
  if (ss) {
3080
3080
  const t = Ln(e);
3081
3081
  return {
@@ -3154,7 +3154,7 @@ function Dt(e) {
3154
3154
  return JSON.parse(JSON.stringify(e, (t, n) => typeof n == "function" ? ps(n) : n));
3155
3155
  }
3156
3156
  const Pr = {};
3157
- function tc(e, t) {
3157
+ function nc(e, t) {
3158
3158
  e === "plugin" && (t = Dt(t));
3159
3159
  let n = Pr[e];
3160
3160
  if (n || (n = Pr[e] = []), n.push(t), M()) {
@@ -3172,7 +3172,7 @@ function tc(e, t) {
3172
3172
  }
3173
3173
  }
3174
3174
  }
3175
- function nc(e) {
3175
+ function rc(e) {
3176
3176
  var t;
3177
3177
  if (M()) {
3178
3178
  const n = JSON.parse(JSON.stringify(e));
@@ -3183,7 +3183,7 @@ function nc(e) {
3183
3183
  }
3184
3184
  }
3185
3185
  const Or = {};
3186
- function rc(e) {
3186
+ function oc(e) {
3187
3187
  if (M()) {
3188
3188
  Object.assign(Or, e);
3189
3189
  const t = {
@@ -3221,7 +3221,7 @@ const po = (e) => {
3221
3221
  Br || (Br = !0, M() && ((t = window.parent) == null || t.postMessage({
3222
3222
  type: "builder.sdkInfo",
3223
3223
  data: {
3224
- target: G,
3224
+ target: q,
3225
3225
  version: _r,
3226
3226
  supportsPatchUpdates: !1,
3227
3227
  // Supports builder-model="..." attribute which is needed to
@@ -3248,25 +3248,25 @@ const po = (e) => {
3248
3248
  if (o != null && o.type)
3249
3249
  switch (o.type) {
3250
3250
  case "builder.evaluate": {
3251
- const u = o.data.text, c = o.data.arguments || [], h = o.data.id, y = new Function(u);
3252
- let b, m = null;
3251
+ const u = o.data.text, c = o.data.arguments || [], m = o.data.id, y = new Function(u);
3252
+ let b, h = null;
3253
3253
  try {
3254
3254
  b = y.apply(null, c);
3255
3255
  } catch (S) {
3256
- m = S;
3256
+ h = S;
3257
3257
  }
3258
- m ? (i = window.parent) == null || i.postMessage({
3258
+ h ? (i = window.parent) == null || i.postMessage({
3259
3259
  type: "builder.evaluateError",
3260
3260
  data: {
3261
- id: h,
3262
- error: m.message
3261
+ id: m,
3262
+ error: h.message
3263
3263
  }
3264
3264
  }, "*") : b && typeof b.then == "function" ? b.then((S) => {
3265
3265
  var A;
3266
3266
  (A = window.parent) == null || A.postMessage({
3267
3267
  type: "builder.evaluateResult",
3268
3268
  data: {
3269
- id: h,
3269
+ id: m,
3270
3270
  result: S
3271
3271
  }
3272
3272
  }, "*");
@@ -3274,7 +3274,7 @@ const po = (e) => {
3274
3274
  type: "builder.evaluateResult",
3275
3275
  data: {
3276
3276
  result: b,
3277
- id: h
3277
+ id: m
3278
3278
  }
3279
3279
  }, "*");
3280
3280
  break;
@@ -3312,7 +3312,7 @@ const po = (e) => {
3312
3312
  break;
3313
3313
  }
3314
3314
  }
3315
- }, oc = ({
3315
+ }, ic = ({
3316
3316
  model: e,
3317
3317
  apiKey: t,
3318
3318
  callback: n,
@@ -3473,8 +3473,8 @@ function Vr() {
3473
3473
  };
3474
3474
  }
3475
3475
  let wn;
3476
- M() && G === "qwik" ? (window.__BUILDER_USER_ATTRIBUTES_SERVICE__ || (window.__BUILDER_USER_ATTRIBUTES_SERVICE__ = Vr()), wn = window.__BUILDER_USER_ATTRIBUTES_SERVICE__) : wn = Vr();
3477
- const Ut = wn, ic = (e) => {
3476
+ M() && q === "qwik" ? (window.__BUILDER_USER_ATTRIBUTES_SERVICE__ || (window.__BUILDER_USER_ATTRIBUTES_SERVICE__ = Vr()), wn = window.__BUILDER_USER_ATTRIBUTES_SERVICE__) : wn = Vr();
3477
+ const Ut = wn, sc = (e) => {
3478
3478
  Ut.setUserAttributes(e);
3479
3479
  }, Xe = (e) => {
3480
3480
  const t = Ne(e) ? e : !0;
@@ -3532,10 +3532,10 @@ const Is = "v3", Dr = (e) => typeof e == "number" && !isNaN(e) && e >= 0, Hn = (
3532
3532
  enrich: s,
3533
3533
  locale: u,
3534
3534
  apiVersion: c = Is,
3535
- fields: h,
3535
+ fields: m,
3536
3536
  omit: y,
3537
3537
  offset: b,
3538
- cacheSeconds: m,
3538
+ cacheSeconds: h,
3539
3539
  staleCacheSeconds: S,
3540
3540
  sort: A,
3541
3541
  includeUnpublished: $,
@@ -3545,15 +3545,15 @@ const Is = "v3", Dr = (e) => typeof e == "number" && !isNaN(e) && e >= 0, Hn = (
3545
3545
  throw new Error("Missing API key");
3546
3546
  if (!["v3"].includes(c))
3547
3547
  throw new Error(`Invalid apiVersion: expected 'v3', received '${c}'`);
3548
- const te = t !== 1, E = H || "https://cdn.builder.io", D = new URL(`${E}/api/${c}/content/${o}`);
3549
- 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);
3548
+ const ee = t !== 1, T = H || "https://cdn.builder.io", D = new URL(`${T}/api/${c}/content/${o}`);
3549
+ D.searchParams.set("apiKey", i), D.searchParams.set("limit", String(t)), D.searchParams.set("noTraverse", String(ee)), D.searchParams.set("includeRefs", String(!0)), u && D.searchParams.set("locale", u);
3550
3550
  let ie = n || {};
3551
- 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 $ == "boolean" && D.searchParams.set("includeUnpublished", String($)), m && Dr(m) && D.searchParams.set("cacheSeconds", String(m)), S && Dr(S) && D.searchParams.set("staleCacheSeconds", String(S)), A) {
3552
- const _ = Tn({
3551
+ if (s && D.searchParams.set("enrich", String(s)), D.searchParams.set("omit", y ?? "meta.componentsUsed"), m && D.searchParams.set("fields", m), Number.isFinite(b) && b > -1 && D.searchParams.set("offset", String(Math.floor(b))), typeof $ == "boolean" && D.searchParams.set("includeUnpublished", String($)), h && Dr(h) && D.searchParams.set("cacheSeconds", String(h)), S && Dr(S) && D.searchParams.set("staleCacheSeconds", String(S)), A) {
3552
+ const G = Tn({
3553
3553
  sort: A
3554
3554
  });
3555
- for (const R in _)
3556
- D.searchParams.set(R, JSON.stringify(_[R]));
3555
+ for (const R in G)
3556
+ D.searchParams.set(R, JSON.stringify(G[R]));
3557
3557
  }
3558
3558
  const Ae = {
3559
3559
  ...fs(),
@@ -3564,14 +3564,14 @@ const Is = "v3", Dr = (e) => typeof e == "number" && !isNaN(e) && e >= 0, Hn = (
3564
3564
  ...As(Ae)
3565
3565
  };
3566
3566
  const K = Tn(Ae);
3567
- for (const _ in K)
3568
- D.searchParams.set(_, String(K[_]));
3567
+ for (const G in K)
3568
+ D.searchParams.set(G, String(K[G]));
3569
3569
  if (Object.keys(ie).length > 0 && D.searchParams.set("userAttributes", JSON.stringify(ie)), r) {
3570
- const _ = yo({
3570
+ const G = yo({
3571
3571
  query: r
3572
3572
  });
3573
- for (const R in _)
3574
- D.searchParams.set(R, JSON.stringify(_[R]));
3573
+ for (const R in G)
3574
+ D.searchParams.set(R, JSON.stringify(G[R]));
3575
3575
  }
3576
3576
  return D;
3577
3577
  }, Rs = (e) => {
@@ -3614,7 +3614,7 @@ const xs = async (e) => {
3614
3614
  return await (await n(t.href, r)).json();
3615
3615
  }, Ps = async (e, t, n = Hn(e)) => {
3616
3616
  const r = Xe(e.canTrack);
3617
- if (n.search.includes("preview="), !r || !(M() || G === "reactNative"))
3617
+ if (n.search.includes("preview="), !r || !(M() || q === "reactNative"))
3618
3618
  return t.results;
3619
3619
  try {
3620
3620
  const o = [];
@@ -3639,7 +3639,7 @@ async function Os(e) {
3639
3639
  }), n;
3640
3640
  return Ps(e, n);
3641
3641
  }
3642
- const sc = async (e) => {
3642
+ const ac = async (e) => {
3643
3643
  var r, o, i;
3644
3644
  const t = e.path || ((r = e.url) == null ? void 0 : r.pathname) || ((o = e.userAttributes) == null ? void 0 : o.urlPath), n = {
3645
3645
  ...e,
@@ -3665,10 +3665,10 @@ function Ns(e, t, n = {}) {
3665
3665
  u = n.leading === !1 ? 0 : Date.now(), s = null, i = e.apply(r, o), s || (r = o = null);
3666
3666
  };
3667
3667
  return function() {
3668
- const h = Date.now();
3669
- !u && n.leading === !1 && (u = h);
3670
- const y = t - (h - u);
3671
- 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;
3668
+ const m = Date.now();
3669
+ !u && n.leading === !1 && (u = m);
3670
+ const y = t - (m - u);
3671
+ return r = this, o = arguments, y <= 0 || y > t ? (s && (clearTimeout(s), s = null), u = m, i = e.apply(r, o), s || (r = o = null)) : !s && n.trailing !== !1 && (s = setTimeout(c, y)), i;
3672
3672
  };
3673
3673
  }
3674
3674
  function mt(e, ...t) {
@@ -3742,14 +3742,14 @@ function Vs(e) {
3742
3742
  leading: !1
3743
3743
  });
3744
3744
  function u(y) {
3745
- const b = y.getBoundingClientRect(), m = window.innerHeight, A = (e.thresholdPercent || 0) / 100 * m;
3746
- return b.bottom > A && b.top < m - A;
3745
+ const b = y.getBoundingClientRect(), h = window.innerHeight, A = (e.thresholdPercent || 0) / 100 * h;
3746
+ return b.bottom > A && b.top < h - A;
3747
3747
  }
3748
3748
  const c = e.steps[0].styles;
3749
- function h() {
3749
+ function m() {
3750
3750
  mt(n.style, c);
3751
3751
  }
3752
- h(), setTimeout(() => {
3752
+ m(), setTimeout(() => {
3753
3753
  n.style.transition = `all ${e.duration}s ${zn(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s");
3754
3754
  }), document.addEventListener("scroll", s, {
3755
3755
  capture: !0,
@@ -3761,7 +3761,7 @@ const ko = (e) => Object.entries(e).map(([n, r]) => {
3761
3761
  if (typeof r == "string")
3762
3762
  return `${zn(n)}: ${r};`;
3763
3763
  }).filter(Ne), Ds = (e) => ko(e).join(`
3764
- `), ac = ({
3764
+ `), lc = ({
3765
3765
  mediaQuery: e,
3766
3766
  className: t,
3767
3767
  styles: n
@@ -3778,7 +3778,7 @@ function Us({
3778
3778
  }) {
3779
3779
  return e;
3780
3780
  }
3781
- const lc = ({
3781
+ const uc = ({
3782
3782
  block: e,
3783
3783
  context: t
3784
3784
  }) => Co(Us({
@@ -3787,7 +3787,7 @@ const lc = ({
3787
3787
  block: e
3788
3788
  }));
3789
3789
  function Co(e) {
3790
- switch (G) {
3790
+ switch (q) {
3791
3791
  case "svelte":
3792
3792
  case "vue":
3793
3793
  case "solid":
@@ -3837,15 +3837,15 @@ const wo = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
3837
3837
  if (!Array.isArray(o))
3838
3838
  return;
3839
3839
  const i = n.collection.split(".").pop(), s = n.itemName || (i ? i + "Item" : "item");
3840
- return o.map((c, h) => ({
3840
+ return o.map((c, m) => ({
3841
3841
  context: {
3842
3842
  ...t,
3843
3843
  localState: {
3844
3844
  ...t.localState,
3845
- $index: h,
3845
+ $index: m,
3846
3846
  $item: c,
3847
3847
  [s]: c,
3848
- [`$${s}Index`]: h
3848
+ [`$${s}Index`]: m
3849
3849
  }
3850
3850
  },
3851
3851
  block: r
@@ -3875,22 +3875,22 @@ const wo = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
3875
3875
  "Error while attempting to dynamically import component DynamicDiv at ../dynamic-div.vue",
3876
3876
  e
3877
3877
  ), e;
3878
- }), Gs = () => import("./block-wrapper-sP32aCJj.js").then((e) => e.default).catch((e) => {
3878
+ }), Gs = () => import("./block-wrapper-mCaWnoxQ.js").then((e) => e.default).catch((e) => {
3879
3879
  throw console.error(
3880
3880
  "Error while attempting to dynamically import component BlockWrapper at ./components/block-wrapper.vue",
3881
3881
  e
3882
3882
  ), e;
3883
- }), _s = () => import("./component-ref-v3RKtvga.js").then((e) => e.default).catch((e) => {
3883
+ }), _s = () => import("./component-ref-pA4-SwIs.js").then((e) => e.default).catch((e) => {
3884
3884
  throw console.error(
3885
3885
  "Error while attempting to dynamically import component ComponentRef at ./components/component-ref/component-ref.vue",
3886
3886
  e
3887
3887
  ), e;
3888
- }), Js = () => import("./repeated-block-gmtzy89x.js").then((e) => e.default).catch((e) => {
3888
+ }), Js = () => import("./repeated-block-WFlqwuyL.js").then((e) => e.default).catch((e) => {
3889
3889
  throw console.error(
3890
3890
  "Error while attempting to dynamically import component RepeatedBlock at ./components/repeated-block.vue",
3891
3891
  e
3892
3892
  ), e;
3893
- }), Xs = () => import("./style-wrapper-DFS-znzq.js").then((e) => e.default).catch((e) => {
3893
+ }), Xs = () => import("./style-wrapper-QjzY0pp1.js").then((e) => e.default).catch((e) => {
3894
3894
  throw console.error(
3895
3895
  "Error while attempting to dynamically import component StyleWrapper at ./components/style-wrapper.vue",
3896
3896
  e
@@ -3985,25 +3985,25 @@ const wo = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
3985
3985
  registeredComponents: this.registeredComponents,
3986
3986
  builderBlock: this.processedBlock,
3987
3987
  includeBlockProps: ((t = this.blockComponent) == null ? void 0 : t.noWrap) === !0,
3988
- isInteractive: !((n = this.blockComponent) != null && n.isRSC && G === "rsc")
3988
+ isInteractive: !((n = this.blockComponent) != null && n.isRSC && q === "rsc")
3989
3989
  };
3990
3990
  }
3991
3991
  }
3992
3992
  });
3993
3993
  function Qs(e, t, n, r, o, i) {
3994
3994
  var b;
3995
- const s = W("StyleWrapper"), u = W("ComponentRef"), c = W("Block", !0), h = W("BlockWrapper"), y = W("RepeatedBlock");
3996
- return e.canShowBlock ? (v(), w(z, { key: 0 }, [
3997
- ee(s, {
3995
+ const s = W("StyleWrapper"), u = W("ComponentRef"), c = W("Block", !0), m = W("BlockWrapper"), y = W("RepeatedBlock");
3996
+ return e.canShowBlock ? (v(), I(X, { key: 0 }, [
3997
+ te(s, {
3998
3998
  block: e.processedBlock,
3999
3999
  context: e.context,
4000
4000
  id: e.block.id
4001
4001
  }, null, 8, ["block", "context", "id"]),
4002
- (b = e.blockComponent) != null && b.noWrap ? (v(), w(z, { key: 1 }, [
4003
- e.repeatItem ? (v(!0), w(z, { key: 1 }, ve(e.repeatItem, (m, S) => (v(), U(y, {
4002
+ (b = e.blockComponent) != null && b.noWrap ? (v(), I(X, { key: 1 }, [
4003
+ e.repeatItem ? (v(!0), I(X, { key: 1 }, ve(e.repeatItem, (h, S) => (v(), U(y, {
4004
4004
  key: e.generateKey(S),
4005
- repeatContext: m.context,
4006
- block: m.block,
4005
+ repeatContext: h.context,
4006
+ block: h.block,
4007
4007
  registeredComponents: e.registeredComponents,
4008
4008
  linkComponent: e.linkComponent
4009
4009
  }, null, 8, ["repeatContext", "block", "registeredComponents", "linkComponent"]))), 128)) : (v(), U(u, {
@@ -4018,21 +4018,21 @@ function Qs(e, t, n, r, o, i) {
4018
4018
  includeBlockProps: e.componentRefProps.includeBlockProps,
4019
4019
  isInteractive: e.componentRefProps.isInteractive
4020
4020
  }, null, 8, ["componentRef", "componentOptions", "blockChildren", "context", "registeredComponents", "linkComponent", "builderBlock", "includeBlockProps", "isInteractive"]))
4021
- ], 64)) : (v(), w(z, { key: 0 }, [
4022
- e.repeatItem ? (v(!0), w(z, { key: 1 }, ve(e.repeatItem, (m, S) => (v(), U(y, {
4021
+ ], 64)) : (v(), I(X, { key: 0 }, [
4022
+ e.repeatItem ? (v(!0), I(X, { key: 1 }, ve(e.repeatItem, (h, S) => (v(), U(y, {
4023
4023
  key: e.generateKey(S),
4024
- repeatContext: m.context,
4025
- block: m.block,
4024
+ repeatContext: h.context,
4025
+ block: h.block,
4026
4026
  registeredComponents: e.registeredComponents,
4027
4027
  linkComponent: e.linkComponent
4028
- }, null, 8, ["repeatContext", "block", "registeredComponents", "linkComponent"]))), 128)) : (v(), U(h, {
4028
+ }, null, 8, ["repeatContext", "block", "registeredComponents", "linkComponent"]))), 128)) : (v(), U(m, {
4029
4029
  key: 0,
4030
4030
  Wrapper: e.Tag,
4031
4031
  block: e.processedBlock,
4032
4032
  context: e.context
4033
4033
  }, {
4034
4034
  default: me(() => [
4035
- ee(u, {
4035
+ te(u, {
4036
4036
  componentRef: e.componentRefProps.componentRef,
4037
4037
  componentOptions: e.componentRefProps.componentOptions,
4038
4038
  blockChildren: e.componentRefProps.blockChildren,
@@ -4043,9 +4043,9 @@ function Qs(e, t, n, r, o, i) {
4043
4043
  includeBlockProps: e.componentRefProps.includeBlockProps,
4044
4044
  isInteractive: e.componentRefProps.isInteractive
4045
4045
  }, null, 8, ["componentRef", "componentOptions", "blockChildren", "context", "registeredComponents", "linkComponent", "builderBlock", "includeBlockProps", "isInteractive"]),
4046
- (v(!0), w(z, null, ve(e.childrenWithoutParentComponent, (m, S) => (v(), U(c, {
4047
- key: m.id,
4048
- block: m,
4046
+ (v(!0), I(X, null, ve(e.childrenWithoutParentComponent, (h, S) => (v(), U(c, {
4047
+ key: h.id,
4048
+ block: h,
4049
4049
  registeredComponents: e.registeredComponents,
4050
4050
  linkComponent: e.linkComponent,
4051
4051
  context: e.context
@@ -4056,7 +4056,7 @@ function Qs(e, t, n, r, o, i) {
4056
4056
  ], 64))
4057
4057
  ], 64)) : F("", !0);
4058
4058
  }
4059
- const To = /* @__PURE__ */ j(Ys, [["render", Qs]]), uc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4059
+ const To = /* @__PURE__ */ j(Ys, [["render", Qs]]), cc = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
4060
4060
  __proto__: null,
4061
4061
  default: To
4062
4062
  }, Symbol.toStringTag, { value: "Module" })), Zs = B({
@@ -4130,7 +4130,7 @@ const To = /* @__PURE__ */ j(Ys, [["render", Qs]]), uc = /* @__PURE__ */ Object.
4130
4130
  }
4131
4131
  });
4132
4132
  function ea(e, t, n, r, o, i) {
4133
- return v(), U(dt(e.BlocksWrapper), q({
4133
+ return v(), U(dt(e.BlocksWrapper), z({
4134
4134
  ref: "blocksWrapperRef",
4135
4135
  class: e.className + " component-5vz8uirn7sc",
4136
4136
  "builder-path": e.dataPath,
@@ -4166,24 +4166,24 @@ const ta = /* @__PURE__ */ j(Zs, [["render", ea], ["__scopeId", "data-v-82fc93d6
4166
4166
  }
4167
4167
  });
4168
4168
  function ra(e, t, n, r, o, i) {
4169
- var c, h, y, b;
4169
+ var c, m, y, b;
4170
4170
  const s = W("Block"), u = W("BlocksWrapper");
4171
4171
  return v(), U(u, {
4172
4172
  blocks: e.blocks,
4173
4173
  parent: e.parent,
4174
4174
  path: e.path,
4175
4175
  styleProp: e.styleProp,
4176
- BlocksWrapperProps: e.BlocksWrapperProps || ((c = e.context) == null ? void 0 : c.BlocksWrapperProps) || ((h = e.builderContext) == null ? void 0 : h.BlocksWrapperProps),
4176
+ BlocksWrapperProps: e.BlocksWrapperProps || ((c = e.context) == null ? void 0 : c.BlocksWrapperProps) || ((m = e.builderContext) == null ? void 0 : m.BlocksWrapperProps),
4177
4177
  classNameProp: e.className,
4178
4178
  BlocksWrapper: ((y = e.context) == null ? void 0 : y.BlocksWrapper) || ((b = e.builderContext) == null ? void 0 : b.BlocksWrapper)
4179
4179
  }, {
4180
4180
  default: me(() => [
4181
4181
  pe(e.$slots, "default"),
4182
- e.blocks ? (v(!0), w(z, { key: 0 }, ve(e.blocks, (m, S) => {
4182
+ e.blocks ? (v(!0), I(X, { key: 0 }, ve(e.blocks, (h, S) => {
4183
4183
  var A;
4184
4184
  return v(), U(s, {
4185
- key: m.id,
4186
- block: m,
4185
+ key: h.id,
4186
+ block: h,
4187
4187
  linkComponent: e.linkComponent,
4188
4188
  context: e.context || e.builderContext,
4189
4189
  registeredComponents: e.registeredComponents || ((A = e.componentsContext) == null ? void 0 : A.registeredComponents)
@@ -4198,7 +4198,7 @@ const Ue = /* @__PURE__ */ j(na, [["render", ra]]), oa = B({
4198
4198
  props: []
4199
4199
  });
4200
4200
  function ia(e, t, n, r, o, i) {
4201
- return v(), w("div", null, [
4201
+ return v(), I("div", null, [
4202
4202
  pe(e.$slots, "default")
4203
4203
  ]);
4204
4204
  }
@@ -4236,7 +4236,7 @@ const Ct = /* @__PURE__ */ j(oa, [["render", ia]]), sa = /* @__PURE__ */ Object.
4236
4236
  default: 991,
4237
4237
  max: 1200
4238
4238
  }
4239
- }, cc = (e, t = Eo) => `@media (max-width: ${t[e].max}px)`, aa = (e) => {
4239
+ }, pc = (e, t = Eo) => `@media (max-width: ${t[e].max}px)`, aa = (e) => {
4240
4240
  const t = Ln(Eo);
4241
4241
  if (!e)
4242
4242
  return t;
@@ -4293,7 +4293,7 @@ const Ct = /* @__PURE__ */ j(oa, [["render", ia]]), sa = /* @__PURE__ */ Object.
4293
4293
  "builderComponents"
4294
4294
  ],
4295
4295
  data() {
4296
- return { TARGET: G, getColumnsClass: la };
4296
+ return { TARGET: q, getColumnsClass: la };
4297
4297
  },
4298
4298
  computed: {
4299
4299
  gutterSize() {
@@ -4416,10 +4416,10 @@ const Ct = /* @__PURE__ */ j(oa, [["render", ia]]), sa = /* @__PURE__ */ Object.
4416
4416
  }
4417
4417
  });
4418
4418
  function ca(e, t, n, r, o, i) {
4419
- var h;
4419
+ var m;
4420
4420
  const s = W("InlinedStyles"), u = W("Blocks"), c = W("DynamicRenderer");
4421
- return v(), w("div", q({
4422
- class: e.getColumnsClass((h = e.builderBlock) == null ? void 0 : h.id) + " div-29wpyomtntv",
4421
+ return v(), I("div", z({
4422
+ class: e.getColumnsClass((m = e.builderBlock) == null ? void 0 : m.id) + " div-1be3j8m9ewb",
4423
4423
  style: e.columnsCssVars()
4424
4424
  }, {}), [
4425
4425
  e.TARGET !== "reactNative" ? (v(), U(s, {
@@ -4428,14 +4428,14 @@ function ca(e, t, n, r, o, i) {
4428
4428
  styles: e.columnsStyles(),
4429
4429
  nonce: e.builderContext.nonce
4430
4430
  }, null, 8, ["styles", "nonce"])) : F("", !0),
4431
- (v(!0), w(z, null, ve(e.columns, (y, b) => (v(), U(c, {
4431
+ (v(!0), I(X, null, ve(e.columns, (y, b) => (v(), U(c, {
4432
4432
  key: b,
4433
4433
  TagName: e.getTagName(y),
4434
4434
  actionAttributes: {},
4435
4435
  attributes: e.getAttributes(y, b)
4436
4436
  }, {
4437
4437
  default: me(() => [
4438
- ee(u, {
4438
+ te(u, {
4439
4439
  path: `columns.${b}.blocks`,
4440
4440
  parent: e.builderBlock.id,
4441
4441
  context: e.builderContext,
@@ -4451,12 +4451,12 @@ function ca(e, t, n, r, o, i) {
4451
4451
  }, 1032, ["TagName", "attributes"]))), 128))
4452
4452
  ], 16);
4453
4453
  }
4454
- const pa = /* @__PURE__ */ j(ua, [["render", ca], ["__scopeId", "data-v-f17e7a38"]]), da = B({
4454
+ const pa = /* @__PURE__ */ j(ua, [["render", ca], ["__scopeId", "data-v-ab15749a"]]), da = B({
4455
4455
  name: "builder-fragment-component",
4456
4456
  props: []
4457
4457
  });
4458
4458
  function fa(e, t, n, r, o, i) {
4459
- return v(), w("span", null, [
4459
+ return v(), I("span", null, [
4460
4460
  pe(e.$slots, "default")
4461
4461
  ]);
4462
4462
  }
@@ -4547,10 +4547,10 @@ const ya = B({
4547
4547
  class: "div-t43jfuqn6g-2"
4548
4548
  };
4549
4549
  function ka(e, t, n, r, o, i) {
4550
- var s, u, c, h, y, b;
4551
- return v(), w(z, null, [
4550
+ var s, u, c, m, y, b;
4551
+ return v(), I(X, null, [
4552
4552
  Ge("picture", null, [
4553
- e.webpSrcSet ? (v(), w("source", {
4553
+ e.webpSrcSet ? (v(), I("source", {
4554
4554
  key: 0,
4555
4555
  type: "image/webp",
4556
4556
  srcset: e.webpSrcSet
@@ -4574,15 +4574,15 @@ function ka(e, t, n, r, o, i) {
4574
4574
  sizes: e.sizes
4575
4575
  }, null, 14, ba)
4576
4576
  ]),
4577
- e.aspectRatio && !((u = (s = e.builderBlock) == null ? void 0 : s.children) != null && u.length && e.fitContent) ? (v(), w("div", {
4577
+ e.aspectRatio && !((u = (s = e.builderBlock) == null ? void 0 : s.children) != null && u.length && e.fitContent) ? (v(), I("div", {
4578
4578
  key: 0,
4579
4579
  class: "builder-image-sizer div-t43jfuqn6g",
4580
4580
  style: Pe({
4581
4581
  paddingTop: e.aspectRatio * 100 + "%"
4582
4582
  })
4583
4583
  }, null, 4)) : F("", !0),
4584
- (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),
4585
- !e.fitContent && ((b = (y = e.builderBlock) == null ? void 0 : y.children) != null && b.length) ? (v(), w("div", Sa, [
4584
+ (m = (c = e.builderBlock) == null ? void 0 : c.children) != null && m.length && e.fitContent ? pe(e.$slots, "default", { key: 1 }, void 0, !0) : F("", !0),
4585
+ !e.fitContent && ((b = (y = e.builderBlock) == null ? void 0 : y.children) != null && b.length) ? (v(), I("div", Sa, [
4586
4586
  pe(e.$slots, "default", {}, void 0, !0)
4587
4587
  ])) : F("", !0)
4588
4588
  ], 64);
@@ -4595,7 +4595,7 @@ const Ca = /* @__PURE__ */ j(ya, [["render", ka], ["__scopeId", "data-v-741b9bbc
4595
4595
  }
4596
4596
  });
4597
4597
  function Ta(e, t, n, r, o, i) {
4598
- return v(), w("section", q({
4598
+ return v(), I("section", z({
4599
4599
  style: {
4600
4600
  width: "100%",
4601
4601
  alignSelf: "stretch",
@@ -4614,29 +4614,29 @@ function Ta(e, t, n, r, o, i) {
4614
4614
  }
4615
4615
  const Ea = /* @__PURE__ */ j(wa, [["render", Ta]]);
4616
4616
  function Ia(e, t, n, r) {
4617
- function o(h) {
4618
- return typeof h == "string";
4617
+ function o(m) {
4618
+ return typeof m == "string";
4619
4619
  }
4620
- function i(h) {
4621
- return typeof h == "number";
4620
+ function i(m) {
4621
+ return typeof m == "number";
4622
4622
  }
4623
- function s(h, y) {
4623
+ function s(m, y) {
4624
4624
  return (() => {
4625
- const m = y.property, S = y.operator;
4625
+ const h = y.property, S = y.operator;
4626
4626
  let A = y.value;
4627
- if (y && y.property === "urlPath" && y.value && typeof y.value == "string" && y.value !== "/" && y.value.endsWith("/") && (A = y.value.slice(0, -1)), !(m && S))
4627
+ if (y && y.property === "urlPath" && y.value && typeof y.value == "string" && y.value !== "/" && y.value.endsWith("/") && (A = y.value.slice(0, -1)), !(h && S))
4628
4628
  return !0;
4629
4629
  if (Array.isArray(A))
4630
- return S === "isNot" ? A.every((H) => s(h, {
4631
- property: m,
4630
+ return S === "isNot" ? A.every((H) => s(m, {
4631
+ property: h,
4632
4632
  operator: S,
4633
4633
  value: H
4634
- })) : !!A.find((H) => s(h, {
4635
- property: m,
4634
+ })) : !!A.find((H) => s(m, {
4635
+ property: h,
4636
4636
  operator: S,
4637
4637
  value: H
4638
4638
  }));
4639
- const $ = h[m];
4639
+ const $ = m[h];
4640
4640
  if (Array.isArray($))
4641
4641
  return $.includes(A);
4642
4642
  switch (S) {
@@ -4668,7 +4668,7 @@ function Ia(e, t, n, r) {
4668
4668
  startDate: n,
4669
4669
  endDate: r
4670
4670
  }, c = e.date && new Date(e.date) || /* @__PURE__ */ new Date();
4671
- 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));
4671
+ 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((m) => s(e, m));
4672
4672
  }
4673
4673
  const Ra = `function getPersonalizedVariant(variants, blockId, isHydrationTarget, locale) {
4674
4674
  if (!navigator.cookieEnabled) {
@@ -4833,7 +4833,7 @@ const Ra = `function getPersonalizedVariant(variants, blockId, isHydrationTarget
4833
4833
  }
4834
4834
  }`, Nt = "default", xa = "filterWithCustomTargeting", Io = "builderIoPersonalization", Ro = "updateVisibilityStylesScript", Ao = ["react", "vue", "svelte", "qwik"], $o = ["vue", "svelte", "qwik"];
4835
4835
  function Pa(e, t) {
4836
- return !(e && e.length > 0) || !t ? !1 : $o.includes(G) ? !0 : !M();
4836
+ return !(e && e.length > 0) || !t ? !1 : $o.includes(q) ? !0 : !M();
4837
4837
  }
4838
4838
  function Oa({
4839
4839
  variants: e,
@@ -4877,7 +4877,7 @@ const Na = () => `
4877
4877
  window.${xa} = ${Aa}
4878
4878
  window.${Io} = ${Ra}
4879
4879
  window.${Ro} = ${$a}
4880
- `, xo = G === "react", Ba = (e, t, n) => `window.${Io}(${JSON.stringify(e)}, "${t}", ${xo}${n ? `, "${n}"` : ""})`, ja = (e, t, n) => `window.${Ro}(${JSON.stringify(e)}, "${t}", ${xo}${n ? `, "${n}"` : ""})`, hn = {
4880
+ `, xo = q === "react", Ba = (e, t, n) => `window.${Io}(${JSON.stringify(e)}, "${t}", ${xo}${n ? `, "${n}"` : ""})`, ja = (e, t, n) => `window.${Ro}(${JSON.stringify(e)}, "${t}", ${xo}${n ? `, "${n}"` : ""})`, hn = {
4881
4881
  "@type": "@builder.io/sdk:Element",
4882
4882
  layerName: "Accordion item title",
4883
4883
  responsiveStyles: {
@@ -5099,11 +5099,11 @@ const Na = () => `
5099
5099
  }), Wa = ["data-index", "onClick"];
5100
5100
  function La(e, t, n, r, o, i) {
5101
5101
  const s = W("Blocks");
5102
- return v(), w("div", {
5102
+ return v(), I("div", {
5103
5103
  class: "builder-accordion",
5104
5104
  style: Pe(e.accordionStyles)
5105
5105
  }, [
5106
- (v(!0), w(z, null, ve(e.items, (u, c) => (v(), w(z, { key: c }, [
5106
+ (v(!0), I(X, null, ve(e.items, (u, c) => (v(), I(X, { key: c }, [
5107
5107
  Ge("div", {
5108
5108
  class: gt(e.getAccordionTitleClassName(c)),
5109
5109
  style: Pe({
@@ -5114,9 +5114,9 @@ function La(e, t, n, r, o, i) {
5114
5114
  }
5115
5115
  }),
5116
5116
  "data-index": c,
5117
- onClick: async (h) => e.onClick(c)
5117
+ onClick: async (m) => e.onClick(c)
5118
5118
  }, [
5119
- ee(s, {
5119
+ te(s, {
5120
5120
  blocks: u.title,
5121
5121
  path: `items.${c}.title`,
5122
5122
  parent: e.builderBlock.id,
@@ -5125,12 +5125,12 @@ function La(e, t, n, r, o, i) {
5125
5125
  linkComponent: e.builderLinkComponent
5126
5126
  }, null, 8, ["blocks", "path", "parent", "context", "registeredComponents", "linkComponent"])
5127
5127
  ], 14, Wa),
5128
- e.open.includes(c) ? (v(), w("div", {
5128
+ e.open.includes(c) ? (v(), I("div", {
5129
5129
  key: 0,
5130
5130
  class: gt(e.getAccordionDetailClassName(c)),
5131
5131
  style: Pe(e.accordionDetailStyles)
5132
5132
  }, [
5133
- ee(s, {
5133
+ te(s, {
5134
5134
  blocks: u.detail,
5135
5135
  path: `items.${c}.detail`,
5136
5136
  parent: e.builderBlock.id,
@@ -5412,15 +5412,15 @@ const Fa = /* @__PURE__ */ j(Ua, [["render", La]]), Ma = {
5412
5412
  onChange: (e) => {
5413
5413
  e.delete("srcset"), e.delete("noWebp");
5414
5414
  function n(s, u = 6e4) {
5415
- return new Promise((c, h) => {
5415
+ return new Promise((c, m) => {
5416
5416
  const y = document.createElement("img");
5417
5417
  let b = !1;
5418
5418
  y.onload = () => {
5419
5419
  b = !0, c(y);
5420
- }, y.addEventListener("error", (m) => {
5421
- console.warn("Image load failed", m.error), h(m.error);
5420
+ }, y.addEventListener("error", (h) => {
5421
+ console.warn("Image load failed", h.error), m(h.error);
5422
5422
  }), y.src = s, setTimeout(() => {
5423
- b || h(new Error("Image load timed out"));
5423
+ b || m(new Error("Image load timed out"));
5424
5424
  }, u);
5425
5425
  });
5426
5426
  }
@@ -5584,7 +5584,7 @@ const Fa = /* @__PURE__ */ j(Ua, [["render", La]]), Ma = {
5584
5584
  Xe((s = this.builderContext) == null ? void 0 : s.canTrack)
5585
5585
  ),
5586
5586
  shouldResetVariants: !1,
5587
- TARGET: G,
5587
+ TARGET: q,
5588
5588
  DEFAULT_INDEX: Nt,
5589
5589
  SDKS_REQUIRING_RESET_APPROACH: $o
5590
5590
  };
@@ -5597,7 +5597,7 @@ const Fa = /* @__PURE__ */ j(Ua, [["render", La]]), Ma = {
5597
5597
  this.userAttributes = n;
5598
5598
  },
5599
5599
  {
5600
- fireImmediately: G === "qwik"
5600
+ fireImmediately: q === "qwik"
5601
5601
  }
5602
5602
  );
5603
5603
  if (!(oe() || Fn())) {
@@ -5675,13 +5675,13 @@ const Fa = /* @__PURE__ */ j(Ua, [["render", La]]), Ma = {
5675
5675
  }
5676
5676
  });
5677
5677
  function Ja(e, t, n, r, o, i) {
5678
- var h, y, b, m, S, A, $, H, te, E;
5678
+ var m, y, b, h, S, A, $, H, ee, T;
5679
5679
  const s = W("Blocks"), u = W("InlinedStyles"), c = W("InlinedScript");
5680
- return v(), w("div", q({ ref: "rootRef" }, e.attrs), [
5680
+ return v(), I("div", z({ ref: "rootRef" }, e.attrs), [
5681
5681
  e.shouldResetVariants && e.SDKS_REQUIRING_RESET_APPROACH.includes(e.TARGET) ? (v(), U(s, {
5682
5682
  key: 0,
5683
5683
  blocks: e.blocksToRender.blocks,
5684
- parent: (h = e.builderBlock) == null ? void 0 : h.id,
5684
+ parent: (m = e.builderBlock) == null ? void 0 : m.id,
5685
5685
  path: e.blocksToRender.path,
5686
5686
  context: e.builderContext,
5687
5687
  registeredComponents: e.builderComponents,
@@ -5690,27 +5690,27 @@ function Ja(e, t, n, r, o, i) {
5690
5690
  "data-variant-id": `${(b = e.builderBlock) == null ? void 0 : b.id}-${e.blocksToRender.index}`
5691
5691
  }
5692
5692
  }, null, 8, ["blocks", "parent", "path", "context", "registeredComponents", "BlocksWrapperProps"])) : F("", !0),
5693
- !e.shouldResetVariants && e.SDKS_REQUIRING_RESET_APPROACH.includes(e.TARGET) || !e.SDKS_REQUIRING_RESET_APPROACH.includes(e.TARGET) ? (v(), w(z, { key: 1 }, [
5694
- e.shouldRenderVariants ? (v(), w(z, { key: 0 }, [
5695
- ee(u, {
5696
- nonce: ((m = e.builderContext) == null ? void 0 : m.nonce) || "",
5693
+ !e.shouldResetVariants && e.SDKS_REQUIRING_RESET_APPROACH.includes(e.TARGET) || !e.SDKS_REQUIRING_RESET_APPROACH.includes(e.TARGET) ? (v(), I(X, { key: 1 }, [
5694
+ e.shouldRenderVariants ? (v(), I(X, { key: 0 }, [
5695
+ te(u, {
5696
+ nonce: ((h = e.builderContext) == null ? void 0 : h.nonce) || "",
5697
5697
  styles: e.hideVariantsStyleString,
5698
5698
  id: `variants-styles-${(S = e.builderBlock) == null ? void 0 : S.id}`
5699
5699
  }, null, 8, ["nonce", "styles", "id"]),
5700
- ee(c, {
5700
+ te(c, {
5701
5701
  nonce: ((A = e.builderContext) == null ? void 0 : A.nonce) || "",
5702
5702
  scriptStr: e.updateVisibilityStylesScript,
5703
5703
  id: `variants-visibility-script-${($ = e.builderBlock) == null ? void 0 : $.id}`
5704
5704
  }, null, 8, ["nonce", "scriptStr", "id"]),
5705
- (v(!0), w(z, null, ve(e.variants, (D, ie) => {
5706
- var Ae, K, _, R;
5705
+ (v(!0), I(X, null, ve(e.variants, (D, ie) => {
5706
+ var Ae, K, G, R;
5707
5707
  return v(), U(s, {
5708
5708
  key: `${(Ae = e.builderBlock) == null ? void 0 : Ae.id}-${ie}`,
5709
5709
  BlocksWrapperProps: {
5710
5710
  ...(K = e.builderContext) == null ? void 0 : K.BlocksWrapperProps,
5711
5711
  "aria-hidden": !0,
5712
5712
  hidden: !0,
5713
- "data-variant-id": `${(_ = e.builderBlock) == null ? void 0 : _.id}-${ie}`
5713
+ "data-variant-id": `${(G = e.builderBlock) == null ? void 0 : G.id}-${ie}`
5714
5714
  },
5715
5715
  blocks: D.blocks,
5716
5716
  parent: (R = e.builderBlock) == null ? void 0 : R.id,
@@ -5721,7 +5721,7 @@ function Ja(e, t, n, r, o, i) {
5721
5721
  default: me(() => {
5722
5722
  var We, L;
5723
5723
  return [
5724
- ee(c, {
5724
+ te(c, {
5725
5725
  nonce: ((We = e.builderContext) == null ? void 0 : We.nonce) || "",
5726
5726
  scriptStr: e.scriptStr,
5727
5727
  id: `variants-script-${(L = e.builderBlock) == null ? void 0 : L.id}-${ie}`
@@ -5732,15 +5732,15 @@ function Ja(e, t, n, r, o, i) {
5732
5732
  }, 1032, ["BlocksWrapperProps", "blocks", "parent", "path", "context", "registeredComponents"]);
5733
5733
  }), 128))
5734
5734
  ], 64)) : F("", !0),
5735
- ee(s, {
5735
+ te(s, {
5736
5736
  blocks: e.blocksToRender.blocks,
5737
5737
  parent: (H = e.builderBlock) == null ? void 0 : H.id,
5738
5738
  path: e.blocksToRender.path,
5739
5739
  context: e.builderContext,
5740
5740
  registeredComponents: e.builderComponents,
5741
5741
  BlocksWrapperProps: {
5742
- ...(te = e.builderContext) == null ? void 0 : te.BlocksWrapperProps,
5743
- "data-variant-id": `${(E = e.builderBlock) == null ? void 0 : E.id}-${e.blocksToRender.index}`
5742
+ ...(ee = e.builderContext) == null ? void 0 : ee.BlocksWrapperProps,
5743
+ "data-variant-id": `${(T = e.builderBlock) == null ? void 0 : T.id}-${e.blocksToRender.index}`
5744
5744
  }
5745
5745
  }, {
5746
5746
  default: me(() => {
@@ -5821,9 +5821,9 @@ const Xa = /* @__PURE__ */ j(_a, [["render", Ja]]), Ya = {
5821
5821
  props: ["builderContext", "name", "builderComponents"]
5822
5822
  });
5823
5823
  function el(e, t, n, r, o, i) {
5824
- var u, c, h;
5824
+ var u, c, m;
5825
5825
  const s = W("Blocks");
5826
- return v(), w("div", q(
5826
+ return v(), I("div", z(
5827
5827
  { style: {
5828
5828
  pointerEvents: "auto"
5829
5829
  } },
@@ -5831,12 +5831,12 @@ function el(e, t, n, r, o, i) {
5831
5831
  "builder-slot": e.name
5832
5832
  }
5833
5833
  ), [
5834
- ee(s, {
5834
+ te(s, {
5835
5835
  parent: (c = e.builderContext.context) == null ? void 0 : c.symbolId,
5836
5836
  path: `symbol.data.${e.name}`,
5837
5837
  context: e.builderContext,
5838
5838
  registeredComponents: e.builderComponents,
5839
- blocks: (h = e.builderContext.rootState) == null ? void 0 : h[e.name]
5839
+ blocks: (m = e.builderContext.rootState) == null ? void 0 : m[e.name]
5840
5840
  }, null, 8, ["parent", "path", "context", "registeredComponents", "blocks"])
5841
5841
  ], 16);
5842
5842
  }
@@ -6051,7 +6051,7 @@ const tl = /* @__PURE__ */ j(Za, [["render", el]]), nl = {
6051
6051
  }), il = ["onClick"], sl = { key: 0 };
6052
6052
  function al(e, t, n, r, o, i) {
6053
6053
  const s = W("Blocks");
6054
- return v(), w("div", null, [
6054
+ return v(), I("div", null, [
6055
6055
  Ge("div", {
6056
6056
  class: "builder-tabs-wrap",
6057
6057
  style: Pe({
@@ -6061,13 +6061,13 @@ function al(e, t, n, r, o, i) {
6061
6061
  overflow: "auto"
6062
6062
  })
6063
6063
  }, [
6064
- (v(!0), w(z, null, ve(e.tabs, (u, c) => (v(), w("span", {
6064
+ (v(!0), I(X, null, ve(e.tabs, (u, c) => (v(), I("span", {
6065
6065
  key: c,
6066
6066
  class: gt(`builder-tab-wrap ${e.activeTab === c ? "builder-tab-active" : ""}`),
6067
6067
  style: Pe(e.getTabStyle(c)),
6068
- onClick: async (h) => e.onClick(c)
6068
+ onClick: async (m) => e.onClick(c)
6069
6069
  }, [
6070
- ee(s, {
6070
+ te(s, {
6071
6071
  parent: e.builderBlock.id,
6072
6072
  path: `tabs.${c}.label`,
6073
6073
  blocks: u.label,
@@ -6077,8 +6077,8 @@ function al(e, t, n, r, o, i) {
6077
6077
  }, null, 8, ["parent", "path", "blocks", "context", "registeredComponents", "linkComponent"])
6078
6078
  ], 14, il))), 128))
6079
6079
  ], 4),
6080
- e.activeTabContent(e.activeTab) ? (v(), w("div", sl, [
6081
- ee(s, {
6080
+ e.activeTabContent(e.activeTab) ? (v(), I("div", sl, [
6081
+ te(s, {
6082
6082
  parent: e.builderBlock.id,
6083
6083
  path: `tabs.${e.activeTab}.content`,
6084
6084
  blocks: e.activeTabContent(e.activeTab),
@@ -6113,7 +6113,7 @@ const ll = /* @__PURE__ */ j(ol, [["render", al]]), ul = {
6113
6113
  }), pl = ["innerHTML"];
6114
6114
  function dl(e, t, n, r, o, i) {
6115
6115
  var s;
6116
- return v(), w("div", {
6116
+ return v(), I("div", {
6117
6117
  class: "builder-text",
6118
6118
  innerHTML: ((s = e.text) == null ? void 0 : s.toString()) || "",
6119
6119
  style: {
@@ -6204,7 +6204,7 @@ const fl = /* @__PURE__ */ j(cl, [["render", dl]]), hl = {
6204
6204
  }
6205
6205
  }), gl = ["innerHTML"];
6206
6206
  function yl(e, t, n, r, o, i) {
6207
- return v(), w("div", {
6207
+ return v(), I("div", {
6208
6208
  ref: "elementRef",
6209
6209
  class: gt("builder-custom-code" + (e.replaceNodes ? " replace-nodes" : "")),
6210
6210
  innerHTML: e.code
@@ -6269,7 +6269,7 @@ const vl = /* @__PURE__ */ j(ml, [["render", yl]]), bl = {
6269
6269
  }
6270
6270
  }), wl = ["innerHTML"];
6271
6271
  function Tl(e, t, n, r, o, i) {
6272
- return v(), w("div", {
6272
+ return v(), I("div", {
6273
6273
  class: "builder-embed",
6274
6274
  ref: "elem",
6275
6275
  innerHTML: e.content
@@ -6574,55 +6574,55 @@ const El = /* @__PURE__ */ j(Cl, [["render", Tl]]), Il = {
6574
6574
  e.preventDefault();
6575
6575
  const r = e.currentTarget || e.target, o = this.customHeaders || {};
6576
6576
  let i;
6577
- const s = new FormData(r), u = Array.from(r.querySelectorAll("input,select,textarea")).filter((m) => !!m.name).filter(
6578
- (m) => !!m.name && (m.type !== "radio" || m.checked)
6579
- ).map((m) => {
6577
+ const s = new FormData(r), u = Array.from(r.querySelectorAll("input,select,textarea")).filter((h) => !!h.name).filter(
6578
+ (h) => !!h.name && (h.type !== "radio" || h.checked)
6579
+ ).map((h) => {
6580
6580
  let S;
6581
- const A = m.name;
6582
- if (m instanceof HTMLInputElement)
6583
- if (m.type === "radio") {
6584
- if (m.checked)
6585
- return S = m.value, {
6581
+ const A = h.name;
6582
+ if (h instanceof HTMLInputElement)
6583
+ if (h.type === "radio") {
6584
+ if (h.checked)
6585
+ return S = h.value, {
6586
6586
  key: A,
6587
6587
  value: S
6588
6588
  };
6589
- } else if (m.type === "checkbox")
6590
- S = m.checked;
6591
- else if (m.type === "number" || m.type === "range") {
6592
- const $ = m.valueAsNumber;
6589
+ } else if (h.type === "checkbox")
6590
+ S = h.checked;
6591
+ else if (h.type === "number" || h.type === "range") {
6592
+ const $ = h.valueAsNumber;
6593
6593
  isNaN($) || (S = $);
6594
6594
  } else
6595
- m.type === "file" ? S = m.files : S = m.value;
6595
+ h.type === "file" ? S = h.files : S = h.value;
6596
6596
  else
6597
- S = m.value;
6597
+ S = h.value;
6598
6598
  return {
6599
6599
  key: A,
6600
6600
  value: S
6601
6601
  };
6602
6602
  });
6603
6603
  let c = this.contentType;
6604
- if (this.sendSubmissionsTo === "email" && (c = "multipart/form-data"), Array.from(u).forEach(({ value: m }) => {
6605
- (m instanceof File || Array.isArray(m) && m[0] instanceof File || m instanceof FileList) && (c = "multipart/form-data");
6604
+ if (this.sendSubmissionsTo === "email" && (c = "multipart/form-data"), Array.from(u).forEach(({ value: h }) => {
6605
+ (h instanceof File || Array.isArray(h) && h[0] instanceof File || h instanceof FileList) && (c = "multipart/form-data");
6606
6606
  }), c !== "application/json")
6607
6607
  i = s;
6608
6608
  else {
6609
- const m = {};
6609
+ const h = {};
6610
6610
  Array.from(u).forEach(({ value: S, key: A }) => {
6611
- lo(m, A, S);
6612
- }), i = JSON.stringify(m);
6611
+ lo(h, A, S);
6612
+ }), i = JSON.stringify(h);
6613
6613
  }
6614
6614
  c && c !== "multipart/form-data" && (t && ((n = this.action) != null && n.includes("zapier.com")) || (o["content-type"] = c));
6615
- const h = new CustomEvent("presubmit", {
6615
+ const m = new CustomEvent("presubmit", {
6616
6616
  detail: {
6617
6617
  body: i
6618
6618
  }
6619
6619
  });
6620
- if (this.$refs.formRef && (this.$refs.formRef.dispatchEvent(h), h.defaultPrevented))
6620
+ if (this.$refs.formRef && (this.$refs.formRef.dispatchEvent(m), m.defaultPrevented))
6621
6621
  return;
6622
6622
  if (this.formState = "sending", this.sendSubmissionsTo === "email" && (this.sendSubmissionsToEmail === "your@email.com" || !this.sendSubmissionsToEmail)) {
6623
- const m = "SubmissionsToEmail is required when sendSubmissionsTo is set to email";
6624
- console.error(m), this.formState = "error", this.mergeNewRootState({
6625
- formErrorMessage: m
6623
+ const h = "SubmissionsToEmail is required when sendSubmissionsTo is set to email";
6624
+ console.error(h), this.formState = "error", this.mergeNewRootState({
6625
+ formErrorMessage: h
6626
6626
  });
6627
6627
  return;
6628
6628
  }
@@ -6634,59 +6634,59 @@ const El = /* @__PURE__ */ j(Cl, [["render", Tl]]), Il = {
6634
6634
  headers: o,
6635
6635
  method: this.method || "post"
6636
6636
  }).then(
6637
- async (m) => {
6637
+ async (h) => {
6638
6638
  var $, H;
6639
6639
  let S;
6640
- const A = m.headers.get("content-type");
6641
- if (A && A.indexOf("application/json") !== -1 ? S = await m.json() : S = await m.text(), !m.ok) {
6642
- const te = new CustomEvent("submit:error", {
6640
+ const A = h.headers.get("content-type");
6641
+ if (A && A.indexOf("application/json") !== -1 ? S = await h.json() : S = await h.text(), !h.ok) {
6642
+ const ee = new CustomEvent("submit:error", {
6643
6643
  detail: {
6644
6644
  error: S,
6645
- status: m.status
6645
+ status: h.status
6646
6646
  }
6647
6647
  });
6648
6648
  if (($ = this.$refs.formRef) != null && $.nativeElement && ((H = this.$refs.formRef) == null || H.nativeElement.dispatchEvent(
6649
- te
6650
- ), te.defaultPrevented))
6649
+ ee
6650
+ ), ee.defaultPrevented))
6651
6651
  return;
6652
6652
  this.responseData = S, this.formState = "error";
6653
- let E = this.errorMessagePath ? Kr(S, this.errorMessagePath) : S.message || S.error || S;
6654
- typeof E != "string" && (E = JSON.stringify(E)), this.formErrorMessage = E, this.mergeNewRootState({
6655
- formErrorMessage: E
6653
+ let T = this.errorMessagePath ? Kr(S, this.errorMessagePath) : S.message || S.error || S;
6654
+ typeof T != "string" && (T = JSON.stringify(T)), this.formErrorMessage = T, this.mergeNewRootState({
6655
+ formErrorMessage: T
6656
6656
  });
6657
6657
  return;
6658
6658
  }
6659
- if (this.responseData = S, this.formState = m.ok ? "success" : "error", m.ok) {
6660
- const te = new CustomEvent("submit:success", {
6659
+ if (this.responseData = S, this.formState = h.ok ? "success" : "error", h.ok) {
6660
+ const ee = new CustomEvent("submit:success", {
6661
6661
  detail: {
6662
- res: m,
6662
+ res: h,
6663
6663
  body: S
6664
6664
  }
6665
6665
  });
6666
6666
  if (this.$refs.formRef) {
6667
- if (this.$refs.formRef.dispatchEvent(te), te.defaultPrevented)
6667
+ if (this.$refs.formRef.dispatchEvent(ee), ee.defaultPrevented)
6668
6668
  return;
6669
6669
  this.resetFormOnSubmit !== !1 && this.$refs.formRef.reset();
6670
6670
  }
6671
6671
  if (this.successUrl)
6672
6672
  if (this.$refs.formRef) {
6673
- const E = new CustomEvent("route", {
6673
+ const T = new CustomEvent("route", {
6674
6674
  detail: {
6675
6675
  url: this.successUrl
6676
6676
  }
6677
6677
  });
6678
- this.$refs.formRef.dispatchEvent(E), E.defaultPrevented || (location.href = this.successUrl);
6678
+ this.$refs.formRef.dispatchEvent(T), T.defaultPrevented || (location.href = this.successUrl);
6679
6679
  } else
6680
6680
  location.href = this.successUrl;
6681
6681
  }
6682
6682
  },
6683
- (m) => {
6683
+ (h) => {
6684
6684
  const S = new CustomEvent("submit:error", {
6685
6685
  detail: {
6686
- error: m
6686
+ error: h
6687
6687
  }
6688
6688
  });
6689
- this.$refs.formRef && (this.$refs.formRef.dispatchEvent(S), S.defaultPrevented) || (this.responseData = m, this.formState = "error");
6689
+ this.$refs.formRef && (this.$refs.formRef.dispatchEvent(S), S.defaultPrevented) || (this.responseData = h, this.formState = "error");
6690
6690
  }
6691
6691
  );
6692
6692
  }
@@ -6698,7 +6698,7 @@ const El = /* @__PURE__ */ j(Cl, [["render", Tl]]), Il = {
6698
6698
  };
6699
6699
  function Ol(e, t, n, r, o, i) {
6700
6700
  const s = W("Blocks");
6701
- return v(), w("form", q({
6701
+ return v(), I("form", z({
6702
6702
  validate: e.validate,
6703
6703
  ref: "formRef",
6704
6704
  action: !e.sendWithJs && e.action,
@@ -6719,7 +6719,7 @@ function Ol(e, t, n, r, o, i) {
6719
6719
  blocks: e.sendingMessage,
6720
6720
  context: e.builderContext
6721
6721
  }, null, 8, ["blocks", "context"])) : F("", !0),
6722
- e.submissionState() === "error" && e.responseData ? (v(), w("pre", Pl, Wt(e.errorResponse(e.responseData)), 1)) : F("", !0),
6722
+ e.submissionState() === "error" && e.responseData ? (v(), I("pre", Pl, Wt(e.errorResponse(e.responseData)), 1)) : F("", !0),
6723
6723
  e.submissionState() === "success" ? (v(), U(s, {
6724
6724
  key: 3,
6725
6725
  path: "successMessage",
@@ -6795,7 +6795,7 @@ const Nl = /* @__PURE__ */ j($l, [["render", Ol], ["__scopeId", "data-v-77c7888c
6795
6795
  }
6796
6796
  }), Vl = ["placeholder", "type", "name", "value", "defaultValue", "required"];
6797
6797
  function Dl(e, t, n, r, o, i) {
6798
- return v(), w("input", q({
6798
+ return v(), I("input", z({
6799
6799
  key: e.isEditing() && e.defaultValue ? e.defaultValue : "default-key",
6800
6800
  placeholder: e.placeholder,
6801
6801
  type: e.type,
@@ -6855,14 +6855,14 @@ const Ul = /* @__PURE__ */ j(jl, [["render", Dl]]), Wl = {
6855
6855
  }
6856
6856
  }), Fl = ["value", "defaultValue", "name", "required"], Ml = ["value"];
6857
6857
  function Hl(e, t, n, r, o, i) {
6858
- return v(), w("select", q({
6858
+ return v(), I("select", z({
6859
6859
  value: e.value,
6860
6860
  key: e.isEditing() && e.defaultValue ? e.defaultValue : "default-key",
6861
6861
  defaultValue: e.defaultValue,
6862
6862
  name: e.name,
6863
6863
  required: e.required
6864
6864
  }, e.filterAttrs(e.attributes, "v-on:", !1), ye(e.filterAttrs(e.attributes, "v-on:", !0), !0)), [
6865
- (v(!0), w(z, null, ve(e.options, (s, u) => (v(), w("option", {
6865
+ (v(!0), I(X, null, ve(e.options, (s, u) => (v(), I("option", {
6866
6866
  key: `${s.name}-${u}`,
6867
6867
  value: s.value
6868
6868
  }, Wt(s.name || s.value), 9, Ml))), 128))
@@ -6901,7 +6901,7 @@ const Kl = /* @__PURE__ */ j(Ll, [["render", Hl]]), zl = {
6901
6901
  }
6902
6902
  });
6903
6903
  function Gl(e, t, n, r, o, i) {
6904
- return v(), w("button", q({ type: "submit" }, e.filterAttrs(e.attributes, "v-on:", !1), ye(e.filterAttrs(e.attributes, "v-on:", !0), !0)), Wt(e.text), 17);
6904
+ return v(), I("button", z({ type: "submit" }, e.filterAttrs(e.attributes, "v-on:", !1), ye(e.filterAttrs(e.attributes, "v-on:", !0), !0)), Wt(e.text), 17);
6905
6905
  }
6906
6906
  const _l = /* @__PURE__ */ j(ql, [["render", Gl]]), Jl = {
6907
6907
  name: "Form:TextArea",
@@ -6954,7 +6954,7 @@ const _l = /* @__PURE__ */ j(ql, [["render", Gl]]), Jl = {
6954
6954
  }
6955
6955
  }), Yl = ["placeholder", "name", "value", "defaultValue", "required"];
6956
6956
  function Ql(e, t, n, r, o, i) {
6957
- return v(), w("textarea", q({
6957
+ return v(), I("textarea", z({
6958
6958
  placeholder: e.placeholder,
6959
6959
  name: e.name,
6960
6960
  value: e.value,
@@ -7039,7 +7039,7 @@ const Zl = /* @__PURE__ */ j(Xl, [["render", Ql]]), eu = {
7039
7039
  }), nu = ["alt", "title", "src"];
7040
7040
  function ru(e, t, n, r, o, i) {
7041
7041
  var s;
7042
- return v(), w("img", q({
7042
+ return v(), I("img", z({
7043
7043
  loading: "lazy",
7044
7044
  key: e.isEditing() && e.imgSrc || "default-key",
7045
7045
  alt: e.altText,
@@ -7234,9 +7234,9 @@ const ou = /* @__PURE__ */ j(tu, [["render", ru]]), iu = {
7234
7234
  }
7235
7235
  };
7236
7236
  function pu(e, t, n, r, o, i) {
7237
- var s, u, c, h, y, b, m;
7238
- return v(), w("div", au, [
7239
- Ge("video", q({
7237
+ var s, u, c, m, y, b, h;
7238
+ return v(), I("div", au, [
7239
+ Ge("video", z({
7240
7240
  class: "builder-video",
7241
7241
  ref: "videoRef",
7242
7242
  preload: e.lazyLoad ? "none" : e.preload || "metadata",
@@ -7255,7 +7255,7 @@ function pu(e, t, n, r, o, i) {
7255
7255
  },
7256
7256
  poster: e.posterImage
7257
7257
  }, e.spreadProps), [
7258
- Ge("source", q(
7258
+ Ge("source", z(
7259
7259
  { type: "video/mp4" },
7260
7260
  e.lazyLoad ? {
7261
7261
  "data-src": e.video
@@ -7264,7 +7264,7 @@ function pu(e, t, n, r, o, i) {
7264
7264
  }
7265
7265
  ), null, 16)
7266
7266
  ], 16, lu),
7267
- e.aspectRatio && !(e.fitContent && ((c = (u = e.builderBlock) == null ? void 0 : u.children) != null && c.length)) ? (v(), w("div", {
7267
+ e.aspectRatio && !(e.fitContent && ((c = (u = e.builderBlock) == null ? void 0 : u.children) != null && c.length)) ? (v(), I("div", {
7268
7268
  key: 0,
7269
7269
  style: Pe({
7270
7270
  width: "100%",
@@ -7273,10 +7273,10 @@ function pu(e, t, n, r, o, i) {
7273
7273
  fontSize: "0px"
7274
7274
  })
7275
7275
  }, null, 4)) : F("", !0),
7276
- (y = (h = e.builderBlock) == null ? void 0 : h.children) != null && y.length && e.fitContent ? (v(), w("div", uu, [
7276
+ (y = (m = e.builderBlock) == null ? void 0 : m.children) != null && y.length && e.fitContent ? (v(), I("div", uu, [
7277
7277
  pe(e.$slots, "default")
7278
7278
  ])) : F("", !0),
7279
- (m = (b = e.builderBlock) == null ? void 0 : b.children) != null && m.length && !e.fitContent ? (v(), w("div", cu, [
7279
+ (h = (b = e.builderBlock) == null ? void 0 : b.children) != null && h.length && !e.fitContent ? (v(), I("div", cu, [
7280
7280
  pe(e.$slots, "default")
7281
7281
  ])) : F("", !0)
7282
7282
  ]);
@@ -7327,12 +7327,12 @@ const du = /* @__PURE__ */ j(su, [["render", pu]]), fu = () => [{
7327
7327
  component: tl,
7328
7328
  ...Qa
7329
7329
  }, {
7330
- component: Yu,
7330
+ component: Qu,
7331
7331
  ...nl
7332
7332
  }, {
7333
7333
  component: fl,
7334
7334
  ...ul
7335
- }, ...Ao.includes(G) ? [{
7335
+ }, ...Ao.includes(q) ? [{
7336
7336
  component: Xa,
7337
7337
  ...Ga
7338
7338
  }] : [], {
@@ -7441,13 +7441,43 @@ const du = /* @__PURE__ */ j(su, [["render", pu]]), fu = () => [{
7441
7441
  })), gu = ({
7442
7442
  canTrack: e,
7443
7443
  content: t
7444
- }) => !(!(Bt(t).length > 0) || !e), yu = (e) => e === "react" || e === "reactNative", vu = G === "angular", No = yu(G), bu = () => `
7444
+ }) => !(!(Bt(t).length > 0) || !e), yu = (e) => e === "react" || e === "reactNative", vu = q === "angular", No = yu(q), bu = (e, t) => `
7445
+ (function() {
7446
+ var selector = 'script[data-id="${e}"]';
7447
+ var scriptKey = '__builderioScriptInitialized_${e}';
7448
+ var observerKey = '__builderioScriptObserver_${e}';
7449
+
7450
+ // Synchronously remove any duplicates already in the DOM
7451
+ var existing = document.querySelectorAll(selector);
7452
+ existing.forEach(function(script, index) {
7453
+ if (index > 0) {
7454
+ script.parentNode && script.parentNode.removeChild(script);
7455
+ }
7456
+ });
7457
+
7458
+ // Watch for duplicates added later (e.g. RSC streaming chunks)
7459
+ if (!window[observerKey] && typeof MutationObserver !== 'undefined') {
7460
+ window[observerKey] = new MutationObserver(function() {
7461
+ var all = document.querySelectorAll(selector);
7462
+ for (var i = 1; i < all.length; i++) {
7463
+ all[i].parentNode && all[i].parentNode.removeChild(all[i]);
7464
+ }
7465
+ });
7466
+ window[observerKey].observe(document.documentElement, { childList: true, subtree: true });
7467
+ }
7468
+
7469
+ if (!window[scriptKey]) {
7470
+ window[scriptKey] = true;
7471
+ ${t}
7472
+ }
7473
+ })();
7474
+ `, Su = () => `
7445
7475
  window.${Po} = ${hu}
7446
7476
  window.${Oo} = ${mu}
7447
- `, Su = (e, t) => `
7477
+ `, ku = (e, t) => `
7448
7478
  window.${Po}(
7449
7479
  "${t}",${JSON.stringify(e)}, ${No}, ${vu}
7450
- )`, ku = ({
7480
+ )`, Cu = ({
7451
7481
  contentId: e,
7452
7482
  variationId: t
7453
7483
  }) => `window.${Oo}(
@@ -7456,7 +7486,7 @@ const du = /* @__PURE__ */ j(su, [["render", pu]]), fu = () => [{
7456
7486
  function Lr(e) {
7457
7487
  return Math.round(e * 1e3) / 1e3;
7458
7488
  }
7459
- const Cu = (e, t, n = !0) => {
7489
+ const wu = (e, t, n = !0) => {
7460
7490
  if (!(e instanceof HTMLElement))
7461
7491
  return null;
7462
7492
  let r = n ? e : e.parentElement;
@@ -7467,7 +7497,7 @@ const Cu = (e, t, n = !0) => {
7467
7497
  return r;
7468
7498
  } while (r = r.parentElement);
7469
7499
  return null;
7470
- }, wu = (e) => Cu(e, (t) => {
7500
+ }, Tu = (e) => wu(e, (t) => {
7471
7501
  const n = t.getAttribute("builder-id") || t.id;
7472
7502
  return (n == null ? void 0 : n.indexOf("builder-")) === 0;
7473
7503
  }), Fr = ({
@@ -7479,8 +7509,8 @@ const Cu = (e, t, n = !0) => {
7479
7509
  x: i,
7480
7510
  y: s
7481
7511
  };
7482
- }, Tu = (e) => {
7483
- const t = e.target, n = t && wu(t), r = (n == null ? void 0 : n.getAttribute("builder-id")) || (n == null ? void 0 : n.id);
7512
+ }, Eu = (e) => {
7513
+ const t = e.target, n = t && Tu(t), r = (n == null ? void 0 : n.getAttribute("builder-id")) || (n == null ? void 0 : n.id);
7484
7514
  return {
7485
7515
  targetBuilderElement: r || void 0,
7486
7516
  metadata: {
@@ -7495,7 +7525,7 @@ const Cu = (e, t, n = !0) => {
7495
7525
  builderElementIndex: n && r ? [].slice.call(document.getElementsByClassName(r)).indexOf(n) : void 0
7496
7526
  }
7497
7527
  };
7498
- }, Eu = ["svelte", "qwik", "vue"], Iu = () => Eu.includes(G) && (oe() || Fn()), Ru = (e) => {
7528
+ }, Iu = ["svelte", "qwik", "vue"], Ru = () => Iu.includes(q) && (oe() || Fn()), Au = (e) => {
7499
7529
  var i;
7500
7530
  const t = e.family + (e.kind && !e.kind.includes("#") ? ", " + e.kind : ""), n = t.split(",")[0], r = e.fileUrl ?? ((i = e == null ? void 0 : e.files) == null ? void 0 : i.regular);
7501
7531
  let o = "";
@@ -7521,15 +7551,15 @@ font-weight: ${s};
7521
7551
  `.trim());
7522
7552
  }
7523
7553
  return o;
7524
- }, Au = ({
7554
+ }, $u = ({
7525
7555
  customFonts: e
7526
7556
  }) => {
7527
7557
  var t;
7528
- return ((t = e == null ? void 0 : e.map((n) => Ru(n))) == null ? void 0 : t.join(" ")) || "";
7529
- }, $u = ({
7558
+ return ((t = e == null ? void 0 : e.map((n) => Au(n))) == null ? void 0 : t.join(" ")) || "";
7559
+ }, xu = ({
7530
7560
  cssCode: e,
7531
7561
  contentId: t
7532
- }) => e ? t ? (e == null ? void 0 : e.replace(/&/g, `div[builder-content-id="${t}"]`)) || "" : e : "", xu = `
7562
+ }) => e ? t ? (e == null ? void 0 : e.replace(/&/g, `div[builder-content-id="${t}"]`)) || "" : e : "", Pu = `
7533
7563
  .builder-button {
7534
7564
  all: unset;
7535
7565
  }
@@ -7546,7 +7576,7 @@ font-weight: ${s};
7546
7576
  text-align: inherit;
7547
7577
  font-family: inherit;
7548
7578
  }
7549
- `, Pu = (e) => e ? "" : xu, Ou = (e) => `variant-${e}`, Nu = B({
7579
+ `, Ou = (e) => e ? "" : Pu, Nu = (e) => `variant-${e}`, Bu = B({
7550
7580
  name: "enable-editor",
7551
7581
  components: { DynamicDiv: Ct },
7552
7582
  props: [
@@ -7577,8 +7607,8 @@ font-weight: ${s};
7577
7607
  httpReqsPending: {},
7578
7608
  clicked: !1,
7579
7609
  builderContext: vn,
7580
- needsElementRefDivForEditing: Iu,
7581
- getWrapperClassName: Ou
7610
+ needsElementRefDivForEditing: Ru,
7611
+ getWrapperClassName: Nu
7582
7612
  };
7583
7613
  },
7584
7614
  provide() {
@@ -7749,7 +7779,7 @@ font-weight: ${s};
7749
7779
  contentId: o,
7750
7780
  apiKey: this.apiKey,
7751
7781
  variationId: r !== o ? r : void 0,
7752
- ...Tu(e),
7782
+ ...Eu(e),
7753
7783
  unique: !this.clicked
7754
7784
  });
7755
7785
  }
@@ -7788,12 +7818,12 @@ font-weight: ${s};
7788
7818
  method: "GET"
7789
7819
  };
7790
7820
  Rn(JSON.stringify(c));
7791
- const h = {
7821
+ const m = {
7792
7822
  method: c.method,
7793
7823
  headers: c.headers,
7794
7824
  body: c.body
7795
7825
  };
7796
- c.method === "GET" && delete h.body, fetch(c.url, h).then((y) => y.json()).then((y) => {
7826
+ c.method === "GET" && delete m.body, fetch(c.url, m).then((y) => y.json()).then((y) => {
7797
7827
  this.mergeNewRootState({
7798
7828
  [r]: y
7799
7829
  }), this.httpReqsData[r] = !0;
@@ -7870,20 +7900,20 @@ font-weight: ${s};
7870
7900
  }
7871
7901
  }
7872
7902
  });
7873
- function Bu(e, t, n, r, o, i) {
7903
+ function ju(e, t, n, r, o, i) {
7874
7904
  var s, u, c;
7875
- return e.builderContextSignal.content || e.needsElementRefDivForEditing() ? (v(), U(dt(e.ContentWrapper), q({
7905
+ return e.builderContextSignal.content || e.needsElementRefDivForEditing() ? (v(), U(dt(e.ContentWrapper), z({
7876
7906
  key: 0,
7877
7907
  ref: "elementRef",
7878
- onClick: (h) => e.onClick(h),
7908
+ onClick: (m) => e.onClick(m),
7879
7909
  "builder-content-id": (s = e.builderContextSignal.content) == null ? void 0 : s.id,
7880
7910
  "builder-model": e.model,
7881
7911
  className: e.getWrapperClassName(((u = e.content) == null ? void 0 : u.testVariationId) || ((c = e.content) == null ? void 0 : c.id)),
7882
7912
  style: {
7883
7913
  display: !e.builderContextSignal.content && e.needsElementRefDivForEditing() ? "none" : void 0
7884
7914
  },
7885
- onIniteditingbldr: (h) => e.elementRef_onIniteditingbldr(h),
7886
- onInitpreviewingbldr: (h) => e.elementRef_onInitpreviewingbldr(h)
7915
+ onIniteditingbldr: (m) => e.elementRef_onIniteditingbldr(m),
7916
+ onInitpreviewingbldr: (m) => e.elementRef_onInitpreviewingbldr(m)
7887
7917
  }, { ...e.showContentProps, ...e.contentWrapperProps }), {
7888
7918
  default: me(() => [
7889
7919
  pe(e.$slots, "default")
@@ -7891,26 +7921,26 @@ function Bu(e, t, n, r, o, i) {
7891
7921
  _: 3
7892
7922
  }, 16, ["onClick", "builder-content-id", "builder-model", "className", "style", "onIniteditingbldr", "onInitpreviewingbldr"])) : F("", !0);
7893
7923
  }
7894
- const ju = /* @__PURE__ */ j(Nu, [["render", Bu]]), Vu = B({
7924
+ const Vu = /* @__PURE__ */ j(Bu, [["render", ju]]), Du = B({
7895
7925
  name: "content-styles",
7896
7926
  components: { InlinedStyles: Ht },
7897
7927
  props: ["cssCode", "contentId", "customFonts", "isNestedRender", "nonce"],
7898
7928
  data() {
7899
7929
  return {
7900
7930
  injectedStyles: `
7901
- ${$u({
7931
+ ${xu({
7902
7932
  cssCode: this.cssCode,
7903
7933
  contentId: this.contentId
7904
7934
  })}
7905
- ${Au({
7935
+ ${$u({
7906
7936
  customFonts: this.customFonts
7907
7937
  })}
7908
- ${Pu(this.isNestedRender)}
7938
+ ${Ou(this.isNestedRender)}
7909
7939
  `.trim()
7910
7940
  };
7911
7941
  }
7912
7942
  });
7913
- function Du(e, t, n, r, o, i) {
7943
+ function Uu(e, t, n, r, o, i) {
7914
7944
  const s = W("InlinedStyles");
7915
7945
  return v(), U(s, {
7916
7946
  id: "builderio-content",
@@ -7918,7 +7948,7 @@ function Du(e, t, n, r, o, i) {
7918
7948
  nonce: e.nonce
7919
7949
  }, null, 8, ["styles", "nonce"]);
7920
7950
  }
7921
- const Uu = /* @__PURE__ */ j(Vu, [["render", Du]]), Wu = ({
7951
+ const Wu = /* @__PURE__ */ j(Du, [["render", Uu]]), Lu = ({
7922
7952
  content: e,
7923
7953
  data: t,
7924
7954
  locale: n
@@ -7935,7 +7965,7 @@ const Uu = /* @__PURE__ */ j(Vu, [["render", Du]]), Wu = ({
7935
7965
  locale: n
7936
7966
  } : {}
7937
7967
  };
7938
- }, Lu = ({
7968
+ }, Fu = ({
7939
7969
  content: e,
7940
7970
  data: t
7941
7971
  }) => e ? {
@@ -7945,12 +7975,12 @@ const Uu = /* @__PURE__ */ j(Vu, [["render", Du]]), Wu = ({
7945
7975
  ...t
7946
7976
  },
7947
7977
  meta: e == null ? void 0 : e.meta
7948
- } : void 0, Fu = Yo, Mu = B({
7978
+ } : void 0, Mu = Yo, Hu = B({
7949
7979
  name: "content-component",
7950
7980
  components: {
7951
- EnableEditor: ju,
7981
+ EnableEditor: Vu,
7952
7982
  InlinedScript: Gn,
7953
- ContentStyles: Uu,
7983
+ ContentStyles: Wu,
7954
7984
  Blocks: Ue,
7955
7985
  DynamicDiv: Ct
7956
7986
  },
@@ -7980,7 +8010,7 @@ const Uu = /* @__PURE__ */ j(Vu, [["render", Du]]), Wu = ({
7980
8010
  data() {
7981
8011
  var e, t;
7982
8012
  return {
7983
- scriptStr: ku({
8013
+ scriptStr: Cu({
7984
8014
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
7985
8015
  variationId: (e = this.content) == null ? void 0 : e.testVariationId,
7986
8016
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
@@ -7993,19 +8023,19 @@ const Uu = /* @__PURE__ */ j(Vu, [["render", Du]]), Wu = ({
7993
8023
  (n, { component: r, ...o }) => ({
7994
8024
  ...n,
7995
8025
  [o.name]: {
7996
- component: Fu(r),
8026
+ component: Mu(r),
7997
8027
  ...Dt(o)
7998
8028
  }
7999
8029
  }),
8000
8030
  {}
8001
8031
  ),
8002
8032
  builderContextSignal: {
8003
- content: Lu({
8033
+ content: Fu({
8004
8034
  content: this.content,
8005
8035
  data: this.data
8006
8036
  }),
8007
8037
  localState: void 0,
8008
- rootState: Wu({
8038
+ rootState: Lu({
8009
8039
  content: this.content,
8010
8040
  data: this.data,
8011
8041
  locale: this.locale
@@ -8031,7 +8061,7 @@ const Uu = /* @__PURE__ */ j(Vu, [["render", Du]]), Wu = ({
8031
8061
  nonce: this.nonce || "",
8032
8062
  model: this.model
8033
8063
  },
8034
- TARGET: G
8064
+ TARGET: q
8035
8065
  };
8036
8066
  },
8037
8067
  provide() {
@@ -8081,9 +8111,9 @@ const Uu = /* @__PURE__ */ j(Vu, [["render", Du]]), Wu = ({
8081
8111
  }
8082
8112
  }
8083
8113
  });
8084
- function Hu(e, t, n, r, o, i) {
8085
- const s = W("InlinedScript"), u = W("ContentStyles"), c = W("Blocks"), h = W("EnableEditor");
8086
- return v(), U(h, q({
8114
+ function Ku(e, t, n, r, o, i) {
8115
+ const s = W("InlinedScript"), u = W("ContentStyles"), c = W("Blocks"), m = W("EnableEditor");
8116
+ return v(), U(m, z({
8087
8117
  apiHost: e.apiHost,
8088
8118
  nonce: e.nonce,
8089
8119
  content: e.content,
@@ -8102,7 +8132,7 @@ function Hu(e, t, n, r, o, i) {
8102
8132
  isNestedRender: e.isNestedRender
8103
8133
  }, {}), {
8104
8134
  default: me(() => {
8105
- var y, b, m, S, A, $, H;
8135
+ var y, b, h, S, A, $, H;
8106
8136
  return [
8107
8137
  e.isSsrAbTest ? (v(), U(s, {
8108
8138
  key: 0,
@@ -8115,10 +8145,10 @@ function Hu(e, t, n, r, o, i) {
8115
8145
  nonce: e.nonce || "",
8116
8146
  isNestedRender: e.isNestedRender,
8117
8147
  contentId: (y = e.builderContextSignal.content) == null ? void 0 : y.id,
8118
- cssCode: (m = (b = e.builderContextSignal.content) == null ? void 0 : b.data) == null ? void 0 : m.cssCode,
8148
+ cssCode: (h = (b = e.builderContextSignal.content) == null ? void 0 : b.data) == null ? void 0 : h.cssCode,
8119
8149
  customFonts: (A = (S = e.builderContextSignal.content) == null ? void 0 : S.data) == null ? void 0 : A.customFonts
8120
8150
  }, null, 8, ["nonce", "isNestedRender", "contentId", "cssCode", "customFonts"])) : F("", !0),
8121
- ee(c, {
8151
+ te(c, {
8122
8152
  blocks: (H = ($ = e.builderContextSignal.content) == null ? void 0 : $.data) == null ? void 0 : H.blocks,
8123
8153
  context: e.builderContextSignal,
8124
8154
  registeredComponents: e.registeredComponents,
@@ -8129,12 +8159,12 @@ function Hu(e, t, n, r, o, i) {
8129
8159
  _: 1
8130
8160
  }, 16, ["apiHost", "nonce", "content", "data", "model", "context", "apiKey", "canTrack", "locale", "enrich", "showContent", "builderContextSignal", "contentWrapper", "contentWrapperProps", "trustedHosts", "isNestedRender"]);
8131
8161
  }
8132
- const Ku = /* @__PURE__ */ j(Mu, [["render", Hu]]), zu = B({
8162
+ const zu = /* @__PURE__ */ j(Hu, [["render", Ku]]), qu = B({
8133
8163
  name: "content-variants",
8134
8164
  components: {
8135
8165
  InlinedScript: Gn,
8136
8166
  InlinedStyles: Ht,
8137
- ContentComponent: Ku
8167
+ ContentComponent: zu
8138
8168
  },
8139
8169
  props: [
8140
8170
  "canTrack",
@@ -8165,9 +8195,10 @@ const Ku = /* @__PURE__ */ j(Mu, [["render", Hu]]), zu = B({
8165
8195
  }),
8166
8196
  SDKS_SUPPORTING_PERSONALIZATION: Ao,
8167
8197
  getInitPersonalizationVariantsFnsScriptString: Na,
8168
- TARGET: G,
8169
- getInitVariantsFnsScriptString: bu,
8170
- getVariants: Bt
8198
+ TARGET: q,
8199
+ getInitVariantsFnsScriptString: Su,
8200
+ getVariants: Bt,
8201
+ removeDuplicateScript: bu
8171
8202
  };
8172
8203
  },
8173
8204
  mounted() {
@@ -8175,7 +8206,7 @@ const Ku = /* @__PURE__ */ j(Mu, [["render", Hu]]), zu = B({
8175
8206
  computed: {
8176
8207
  updateCookieAndStylesScriptStr() {
8177
8208
  var e;
8178
- return Su(
8209
+ return ku(
8179
8210
  Bt(this.content).map((t) => ({
8180
8211
  id: t.testVariationId,
8181
8212
  testRatio: t.testRatio
@@ -8198,39 +8229,44 @@ const Ku = /* @__PURE__ */ j(Mu, [["render", Hu]]), zu = B({
8198
8229
  }
8199
8230
  }
8200
8231
  });
8201
- function qu(e, t, n, r, o, i) {
8232
+ function Gu(e, t, n, r, o, i) {
8202
8233
  const s = W("InlinedScript"), u = W("InlinedStyles"), c = W("ContentComponent");
8203
- return v(), w(z, null, [
8204
- !e.isNestedRender && e.TARGET !== "reactNative" ? (v(), w(z, { key: 0 }, [
8205
- ee(s, {
8206
- id: "builderio-init-variants-fns",
8207
- scriptStr: e.getInitVariantsFnsScriptString(),
8208
- nonce: e.nonce || ""
8209
- }, null, 8, ["scriptStr", "nonce"]),
8210
- e.SDKS_SUPPORTING_PERSONALIZATION.includes(e.TARGET) ? (v(), U(s, {
8211
- key: 0,
8212
- id: "builderio-init-personalization-variants-fns",
8213
- nonce: e.nonce || "",
8214
- scriptStr: e.getInitPersonalizationVariantsFnsScriptString()
8215
- }, null, 8, ["nonce", "scriptStr"])) : F("", !0)
8216
- ], 64)) : F("", !0),
8217
- e.shouldRenderVariants ? (v(), w(z, { key: 1 }, [
8218
- ee(u, {
8234
+ return v(), I(X, null, [
8235
+ !e.isNestedRender && e.TARGET !== "reactNative" ? (v(), U(s, {
8236
+ key: 0,
8237
+ id: "builderio-init-variants-fns",
8238
+ scriptStr: e.removeDuplicateScript(
8239
+ "builderio-init-variants-fns",
8240
+ e.getInitVariantsFnsScriptString()
8241
+ ),
8242
+ nonce: e.nonce || ""
8243
+ }, null, 8, ["scriptStr", "nonce"])) : F("", !0),
8244
+ !e.isNestedRender && e.TARGET !== "reactNative" && e.SDKS_SUPPORTING_PERSONALIZATION.includes(e.TARGET) ? (v(), U(s, {
8245
+ key: 1,
8246
+ id: "builderio-init-personalization-variants-fns",
8247
+ nonce: e.nonce || "",
8248
+ scriptStr: e.removeDuplicateScript(
8249
+ "builderio-init-personalization-variants-fns",
8250
+ e.getInitPersonalizationVariantsFnsScriptString()
8251
+ )
8252
+ }, null, 8, ["nonce", "scriptStr"])) : F("", !0),
8253
+ e.shouldRenderVariants ? (v(), I(X, { key: 2 }, [
8254
+ te(u, {
8219
8255
  id: "builderio-variants",
8220
8256
  styles: e.hideVariantsStyleString,
8221
8257
  nonce: e.nonce || ""
8222
8258
  }, null, 8, ["styles", "nonce"]),
8223
- ee(s, {
8259
+ te(s, {
8224
8260
  id: "builderio-variants-visibility",
8225
8261
  scriptStr: e.updateCookieAndStylesScriptStr,
8226
8262
  nonce: e.nonce || ""
8227
8263
  }, null, 8, ["scriptStr", "nonce"]),
8228
- (v(!0), w(z, null, ve(e.getVariants(e.content), (h, y) => (v(), U(c, q({
8229
- key: h.testVariationId,
8264
+ (v(!0), I(X, null, ve(e.getVariants(e.content), (m, y) => (v(), U(c, z({
8265
+ key: m.testVariationId,
8230
8266
  apiHost: e.apiHost,
8231
8267
  isNestedRender: e.isNestedRender,
8232
8268
  nonce: e.nonce,
8233
- content: h,
8269
+ content: m,
8234
8270
  showContent: !1,
8235
8271
  model: e.model,
8236
8272
  data: e.data,
@@ -8250,7 +8286,7 @@ function qu(e, t, n, r, o, i) {
8250
8286
  trustedHosts: e.trustedHosts
8251
8287
  }, {}), null, 16, ["apiHost", "isNestedRender", "nonce", "content", "model", "data", "context", "apiKey", "apiVersion", "customComponents", "linkComponent", "canTrack", "locale", "enrich", "isSsrAbTest", "blocksWrapper", "blocksWrapperProps", "contentWrapper", "contentWrapperProps", "trustedHosts"]))), 128))
8252
8288
  ], 64)) : F("", !0),
8253
- ee(c, q({
8289
+ te(c, z({
8254
8290
  apiHost: e.apiHost,
8255
8291
  nonce: e.nonce,
8256
8292
  isNestedRender: e.isNestedRender,
@@ -8277,7 +8313,7 @@ function qu(e, t, n, r, o, i) {
8277
8313
  }), null, 16, ["apiHost", "nonce", "isNestedRender", "content", "model", "data", "context", "apiKey", "apiVersion", "customComponents", "linkComponent", "canTrack", "locale", "enrich", "isSsrAbTest", "blocksWrapper", "blocksWrapperProps", "contentWrapper", "contentWrapperProps", "trustedHosts"])
8278
8314
  ], 64);
8279
8315
  }
8280
- const Gu = /* @__PURE__ */ j(zu, [["render", qu]]), _u = async ({
8316
+ const _u = /* @__PURE__ */ j(qu, [["render", Gu]]), Ju = async ({
8281
8317
  builderContextValue: e,
8282
8318
  symbol: t
8283
8319
  }) => {
@@ -8285,7 +8321,7 @@ const Gu = /* @__PURE__ */ j(zu, [["render", qu]]), _u = async ({
8285
8321
  (e != null && e.apiKey))
8286
8322
  return Kn({
8287
8323
  model: t.model,
8288
- apiKey: e.apiKey,
8324
+ apiKey: t.global && t.ownerId ? t.ownerId : e.apiKey,
8289
8325
  apiVersion: e.apiVersion,
8290
8326
  ...(t == null ? void 0 : t.entry) && {
8291
8327
  query: {
@@ -8295,9 +8331,9 @@ const Gu = /* @__PURE__ */ j(zu, [["render", qu]]), _u = async ({
8295
8331
  }).catch((n) => {
8296
8332
  ue.error("Could not fetch symbol content: ", n);
8297
8333
  });
8298
- }, Ju = B({
8334
+ }, Xu = B({
8299
8335
  name: "builder-symbol",
8300
- components: { ContentVariants: Gu, DynamicDiv: Ct },
8336
+ components: { ContentVariants: _u, DynamicDiv: Ct },
8301
8337
  props: [
8302
8338
  "symbol",
8303
8339
  "builderComponents",
@@ -8354,7 +8390,7 @@ const Gu = /* @__PURE__ */ j(zu, [["render", qu]]), _u = async ({
8354
8390
  methods: {
8355
8391
  setContent() {
8356
8392
  var e;
8357
- this.contentToUse && this.symbolEntry === ((e = this.symbol) == null ? void 0 : e.entry) || _u({
8393
+ this.contentToUse && this.symbolEntry === ((e = this.symbol) == null ? void 0 : e.entry) || Ju({
8358
8394
  symbol: this.symbol,
8359
8395
  builderContextValue: this.builderContext
8360
8396
  }).then((t) => {
@@ -8364,27 +8400,27 @@ const Gu = /* @__PURE__ */ j(zu, [["render", qu]]), _u = async ({
8364
8400
  }
8365
8401
  }
8366
8402
  });
8367
- function Xu(e, t, n, r, o, i) {
8368
- var u, c, h, y, b;
8403
+ function Yu(e, t, n, r, o, i) {
8404
+ var u, c, m, y, b, h, S;
8369
8405
  const s = W("ContentVariants");
8370
- return v(), w("div", q({ class: e.className }, { ...e.filterAttrs(e.attributes, "v-on:", !1) }, ye(e.filterAttrs(e.attributes, "v-on:", !0), !0)), [
8371
- ee(s, {
8406
+ return v(), I("div", z({ class: e.className }, { ...e.filterAttrs(e.attributes, "v-on:", !1) }, ye(e.filterAttrs(e.attributes, "v-on:", !0), !0)), [
8407
+ te(s, {
8372
8408
  nonce: e.builderContext.nonce,
8373
8409
  isNestedRender: !0,
8374
8410
  apiVersion: e.builderContext.apiVersion,
8375
- apiKey: e.builderContext.apiKey,
8411
+ apiKey: (u = e.symbol) != null && u.global && ((c = e.symbol) != null && c.ownerId) ? e.symbol.ownerId : e.builderContext.apiKey,
8376
8412
  context: {
8377
8413
  ...e.builderContext.context,
8378
- symbolId: (u = e.builderBlock) == null ? void 0 : u.id
8414
+ symbolId: (m = e.builderBlock) == null ? void 0 : m.id
8379
8415
  },
8380
8416
  customComponents: e.customComponents,
8381
8417
  data: {
8382
- ...(c = e.symbol) == null ? void 0 : c.data,
8418
+ ...(y = e.symbol) == null ? void 0 : y.data,
8383
8419
  ...e.builderContext.localState,
8384
- ...(y = (h = e.contentToUse) == null ? void 0 : h.data) == null ? void 0 : y.state
8420
+ ...(h = (b = e.contentToUse) == null ? void 0 : b.data) == null ? void 0 : h.state
8385
8421
  },
8386
8422
  canTrack: e.builderContext.canTrack,
8387
- model: ((b = e.symbol) == null ? void 0 : b.model) ?? "",
8423
+ model: ((S = e.symbol) == null ? void 0 : S.model) ?? "",
8388
8424
  content: e.contentToUse,
8389
8425
  linkComponent: e.builderLinkComponent,
8390
8426
  blocksWrapper: e.blocksWrapper,
@@ -8392,21 +8428,21 @@ function Xu(e, t, n, r, o, i) {
8392
8428
  }, null, 8, ["nonce", "apiVersion", "apiKey", "context", "customComponents", "data", "canTrack", "model", "content", "linkComponent", "blocksWrapper", "contentWrapper"])
8393
8429
  ], 16);
8394
8430
  }
8395
- const Yu = /* @__PURE__ */ j(Ju, [["render", Xu]]);
8431
+ const Qu = /* @__PURE__ */ j(Xu, [["render", Yu]]);
8396
8432
  export {
8397
- oc as A,
8433
+ ic as A,
8398
8434
  To as B,
8399
8435
  pa as C,
8400
- sc as D,
8436
+ ac as D,
8401
8437
  Ps as E,
8402
8438
  ha as F,
8403
8439
  Os as G,
8404
8440
  Kn as H,
8405
8441
  Ca as I,
8406
- Zu as J,
8407
- uc as K,
8442
+ ec as J,
8443
+ cc as K,
8408
8444
  Ea as S,
8409
- G as T,
8445
+ q as T,
8410
8446
  du as V,
8411
8447
  j as _,
8412
8448
  Oe as a,
@@ -8415,24 +8451,24 @@ export {
8415
8451
  Ne as d,
8416
8452
  kt as e,
8417
8453
  aa as f,
8418
- lc as g,
8419
- ac as h,
8454
+ uc as g,
8455
+ lc as h,
8420
8456
  oe as i,
8421
- cc as j,
8457
+ pc as j,
8422
8458
  zn as k,
8423
8459
  us as l,
8424
8460
  oi as m,
8425
- Yu as n,
8461
+ Qu as n,
8426
8462
  fl as o,
8427
8463
  Ue as p,
8428
- Gu as q,
8464
+ _u as q,
8429
8465
  Fn as r,
8430
- ic as s,
8466
+ sc as s,
8431
8467
  cs as t,
8432
- tc as u,
8433
- nc as v,
8434
- Fu as w,
8435
- rc as x,
8468
+ nc as u,
8469
+ rc as v,
8470
+ Mu as w,
8471
+ oc as x,
8436
8472
  uo as y,
8437
- ec as z
8473
+ tc as z
8438
8474
  };