@builder.io/sdk-vue 2.0.2 → 2.0.5

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 (62) hide show
  1. package/lib/browser/{block-styles-Mn6wJduZ.cjs → block-styles-D_zAdF_-.cjs} +1 -1
  2. package/lib/browser/{block-styles-sZJR1URf.js → block-styles-MssxqA7D.js} +1 -1
  3. package/lib/browser/{block-wrapper-qFFX6RFF.cjs → block-wrapper-2KXOiTI2.cjs} +1 -1
  4. package/lib/browser/{block-wrapper-ody6Sxkr.js → block-wrapper-rbABMVr_.js} +3 -3
  5. package/lib/browser/blocks/image/image.types.d.ts +2 -0
  6. package/lib/browser/blocks/symbol/symbol.types.d.ts +1 -0
  7. package/lib/browser/blocks/text/text.vue.d.ts +6 -1
  8. package/lib/browser/{component-ref-rf4-wS3o.js → component-ref-dDrd_qBD.js} +2 -2
  9. package/lib/browser/{component-ref-DSNF4azA.cjs → component-ref-l_tRyac5.cjs} +1 -1
  10. package/lib/browser/constants/sdk-version.d.ts +1 -1
  11. package/lib/browser/functions/register-component.d.ts +2 -2
  12. package/lib/browser/{get-block-properties-trq7EGpq.cjs → get-block-properties-BfIn2Yi4.cjs} +1 -1
  13. package/lib/browser/{get-block-properties-O0W_2V2s.js → get-block-properties-ahTVSOXd.js} +1 -1
  14. package/lib/browser/index-0ZvT1Hu8.cjs +166 -0
  15. package/lib/browser/{index---sv1Dmc.js → index-1Z3BnsMm.js} +254 -234
  16. package/lib/browser/index.cjs +1 -1
  17. package/lib/browser/index.mjs +1 -1
  18. package/lib/browser/{repeated-block-LqvC87RV.cjs → repeated-block-IGwzL-5u.cjs} +1 -1
  19. package/lib/browser/{repeated-block-4hDqPbdf.js → repeated-block-ai9MmzuH.js} +2 -2
  20. package/lib/browser/style.css +1 -1
  21. package/lib/edge/{block-styles-VkVzS7vd.cjs → block-styles-MT4Rv8Nz.cjs} +1 -1
  22. package/lib/{node/block-styles-Tyg1fV88.js → edge/block-styles-zNRTZ1A0.js} +1 -1
  23. package/lib/{node/block-wrapper-0rr8eTCE.cjs → edge/block-wrapper-sF2FW-5-.cjs} +1 -1
  24. package/lib/edge/{block-wrapper-Lrmvcvj2.js → block-wrapper-tFFuq_Mc.js} +3 -3
  25. package/lib/edge/blocks/image/image.types.d.ts +2 -0
  26. package/lib/edge/blocks/symbol/symbol.types.d.ts +1 -0
  27. package/lib/edge/blocks/text/text.vue.d.ts +6 -1
  28. package/lib/{node/component-ref-j2PWej8h.cjs → edge/component-ref-V7vQSEzJ.cjs} +1 -1
  29. package/lib/{node/component-ref-FN9Rzqu_.js → edge/component-ref-ZYvL2bfE.js} +2 -2
  30. package/lib/edge/constants/sdk-version.d.ts +1 -1
  31. package/lib/edge/functions/register-component.d.ts +2 -2
  32. package/lib/edge/{get-block-properties-ZdU2gihP.cjs → get-block-properties-UCj-C1wW.cjs} +1 -1
  33. package/lib/edge/{get-block-properties-YDq-FuAs.js → get-block-properties-sUN0gr7S.js} +1 -1
  34. package/lib/edge/{index-8mGnZrt9.js → index-FKFwDmHW.js} +500 -480
  35. package/lib/edge/{index-tYqLns-6.cjs → index-OvlUrAU4.cjs} +24 -24
  36. package/lib/edge/index.cjs +1 -1
  37. package/lib/edge/index.mjs +1 -1
  38. package/lib/edge/{repeated-block-IOMTx4Ek.cjs → repeated-block-Pxb_oYw8.cjs} +1 -1
  39. package/lib/edge/{repeated-block-c9Qq8PaK.js → repeated-block-jBPLukxe.js} +2 -2
  40. package/lib/edge/style.css +1 -1
  41. package/lib/{edge/block-styles-QLPVQ54j.js → node/block-styles-2nOqCLPr.js} +1 -1
  42. package/lib/node/{block-styles-GqJTbD8X.cjs → block-styles-rBs6oiI0.cjs} +1 -1
  43. package/lib/node/{block-wrapper-iBhEa5rI.js → block-wrapper-cjk61owJ.js} +3 -3
  44. package/lib/{edge/block-wrapper-C3QWzorc.cjs → node/block-wrapper-pzm9ydqd.cjs} +1 -1
  45. package/lib/node/blocks/image/image.types.d.ts +2 -0
  46. package/lib/node/blocks/symbol/symbol.types.d.ts +1 -0
  47. package/lib/node/blocks/text/text.vue.d.ts +6 -1
  48. package/lib/{edge/component-ref-_MrpnWQq.cjs → node/component-ref-915SIOjG.cjs} +1 -1
  49. package/lib/{edge/component-ref-BzjW_J7Z.js → node/component-ref-YVoFqoVR.js} +2 -2
  50. package/lib/node/constants/sdk-version.d.ts +1 -1
  51. package/lib/node/functions/register-component.d.ts +2 -2
  52. package/lib/node/{get-block-properties-NZJwLalB.cjs → get-block-properties-Pmia_Lv7.cjs} +1 -1
  53. package/lib/node/{get-block-properties-HOAtHaKD.js → get-block-properties-q-3OOLjR.js} +1 -1
  54. package/lib/node/{index-AtsvJZco.js → index-QoeI1v_Q.js} +43 -23
  55. package/lib/node/{index-_k1NN43c.cjs → index-cdkVjek0.cjs} +6 -6
  56. package/lib/node/index.cjs +1 -1
  57. package/lib/node/index.mjs +1 -1
  58. package/lib/node/{repeated-block-ztDvgKZz.js → repeated-block-DkyB3x_l.js} +2 -2
  59. package/lib/node/{repeated-block-Smn39W6t.cjs → repeated-block-gfgpiWc1.cjs} +1 -1
  60. package/lib/node/style.css +1 -1
  61. package/package.json +1 -1
  62. package/lib/browser/index-5K25vfnv.cjs +0 -166
@@ -1,8 +1,8 @@
1
1
  var pt = Object.defineProperty;
2
2
  var mt = (e, t, n) => t in e ? pt(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
- var oe = (e, t, n) => (mt(e, typeof t != "symbol" ? t + "" : t, n), n);
3
+ var ne = (e, t, n) => (mt(e, typeof t != "symbol" ? t + "" : t, n), n);
4
4
  import "./style.css";
5
- import { defineComponent as f, openBlock as d, createElementBlock as p, Fragment as I, createBlock as k, resolveDynamicComponent as K, mergeProps as C, toHandlers as P, withCtx as W, renderSlot as E, resolveComponent as g, createTextVNode as ht, toDisplayString as ne, defineAsyncComponent as H, createVNode as $, renderList as N, createCommentVNode as v, h as xe, createElementVNode as z, normalizeStyle as L, normalizeClass as J, markRaw as ft } from "vue";
5
+ import { defineComponent as f, openBlock as d, createElementBlock as p, Fragment as I, createBlock as k, resolveDynamicComponent as K, mergeProps as C, toHandlers as P, withCtx as W, renderSlot as E, resolveComponent as g, createTextVNode as ht, toDisplayString as te, defineAsyncComponent as H, createVNode as $, renderList as N, createCommentVNode as v, h as xe, createElementVNode as z, normalizeStyle as D, normalizeClass as J, markRaw as ft } from "vue";
6
6
  const bt = /* @__PURE__ */ new Set(["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen", "link", "meta", "param", "source", "track", "wbr"]), gt = (e) => typeof e == "string" && bt.has(e.toLowerCase());
7
7
  function x(e = {}, t, n) {
8
8
  const o = {};
@@ -41,9 +41,9 @@ function kt(e, t, n, o, r, i) {
41
41
  }, 16))
42
42
  ], 64));
43
43
  }
44
- const me = /* @__PURE__ */ b(yt, [["render", kt]]), Pi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
44
+ const pe = /* @__PURE__ */ b(yt, [["render", kt]]), Bi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
45
45
  __proto__: null,
46
- default: me
46
+ default: pe
47
47
  }, Symbol.toStringTag, { value: "Module" })), A = "vue", ee = () => {
48
48
  switch (A) {
49
49
  case "react":
@@ -59,7 +59,7 @@ const me = /* @__PURE__ */ b(yt, [["render", kt]]), Pi = /* @__PURE__ */ Object.
59
59
  }
60
60
  }, vt = f({
61
61
  name: "builder-button",
62
- components: { DynamicRenderer: me },
62
+ components: { DynamicRenderer: pe },
63
63
  props: [
64
64
  "attributes",
65
65
  "link",
@@ -94,12 +94,12 @@ function St(e, t, n, o, r, i) {
94
94
  actionAttributes: e.filterAttrs(e.attributes, "v-on:", !0)
95
95
  }, {
96
96
  default: W(() => [
97
- ht(ne(e.text), 1)
97
+ ht(te(e.text), 1)
98
98
  ]),
99
99
  _: 1
100
100
  }, 8, ["attributes", "TagName", "actionAttributes"]);
101
101
  }
102
- const Ct = /* @__PURE__ */ b(vt, [["render", St]]), wt = Symbol(), ce = {
102
+ const Ct = /* @__PURE__ */ b(vt, [["render", St]]), wt = Symbol(), le = {
103
103
  Builder: {
104
104
  content: null,
105
105
  context: {},
@@ -246,10 +246,10 @@ function Fe({
246
246
  }
247
247
  });
248
248
  }
249
- const D = (e) => e != null;
249
+ const L = (e) => e != null;
250
250
  function Vt() {
251
251
  var e;
252
- return typeof process < "u" && D((e = process == null ? void 0 : process.versions) == null ? void 0 : e.node);
252
+ return typeof process < "u" && L((e = process == null ? void 0 : process.versions) == null ? void 0 : e.node);
253
253
  }
254
254
  const Wt = () => {
255
255
  var o;
@@ -275,9 +275,9 @@ const Wt = () => {
275
275
  });
276
276
  }
277
277
  };
278
- oe(V, "cacheLimit", 20), oe(V, "cache", /* @__PURE__ */ new Map());
278
+ ne(V, "cacheLimit", 20), ne(V, "cache", /* @__PURE__ */ new Map());
279
279
  let U = V;
280
- function te({
280
+ function G({
281
281
  code: e,
282
282
  context: t,
283
283
  localState: n,
@@ -319,7 +319,7 @@ function te({
319
319
  return;
320
320
  }
321
321
  }
322
- const Y = (e) => JSON.parse(JSON.stringify(e)), Oe = (e, t, n) => {
322
+ const me = (e) => JSON.parse(JSON.stringify(e)), Oe = (e, t, n) => {
323
323
  if (Object(e) !== e)
324
324
  return e;
325
325
  const o = Array.isArray(t) ? t : t.toString().match(/[^.[\]]+/g);
@@ -334,7 +334,7 @@ const Ft = ({
334
334
  }) => {
335
335
  if (!e.bindings)
336
336
  return e;
337
- const i = Y(e), s = {
337
+ const i = me(e), s = {
338
338
  ...i,
339
339
  properties: {
340
340
  ...i.properties
@@ -344,7 +344,7 @@ const Ft = ({
344
344
  }
345
345
  };
346
346
  for (const l in e.bindings) {
347
- const a = e.bindings[l], u = te({
347
+ const a = e.bindings[l], u = G({
348
348
  code: a,
349
349
  localState: n,
350
350
  rootState: o,
@@ -356,7 +356,7 @@ const Ft = ({
356
356
  }
357
357
  return s;
358
358
  };
359
- function Le({
359
+ function De({
360
360
  block: e,
361
361
  context: t,
362
362
  shouldEvaluateBindings: n,
@@ -396,7 +396,7 @@ function q(e, ...t) {
396
396
  }
397
397
  return n;
398
398
  }
399
- function Lt(e) {
399
+ function Dt(e) {
400
400
  for (const t of e)
401
401
  switch (t.trigger) {
402
402
  case "pageLoad":
@@ -407,16 +407,16 @@ function Lt(e) {
407
407
  break;
408
408
  }
409
409
  }
410
- function De(e) {
410
+ function Le(e) {
411
411
  console.warn(`Cannot animate element: element with ID ${e} not found!`);
412
412
  }
413
413
  function Ue(e, t) {
414
- const n = Dt(e), o = getComputedStyle(t), r = e.steps[0].styles, i = e.steps[e.steps.length - 1].styles, s = [r, i];
414
+ const n = Lt(e), o = getComputedStyle(t), r = e.steps[0].styles, i = e.steps[e.steps.length - 1].styles, s = [r, i];
415
415
  for (const l of s)
416
416
  for (const a of n)
417
417
  a in l || (l[a] = o[a]);
418
418
  }
419
- function Dt(e) {
419
+ function Lt(e) {
420
420
  const t = [];
421
421
  for (const n of e.steps)
422
422
  for (const o in n.styles)
@@ -426,7 +426,7 @@ function Dt(e) {
426
426
  function Me(e) {
427
427
  const t = Array.prototype.slice.call(document.getElementsByClassName(e.elementId || e.id || ""));
428
428
  if (!t.length) {
429
- De(e.elementId || e.id || "");
429
+ Le(e.elementId || e.id || "");
430
430
  return;
431
431
  }
432
432
  Array.from(t).forEach((n) => {
@@ -440,7 +440,7 @@ function Me(e) {
440
440
  function Ut(e) {
441
441
  const t = Array.prototype.slice.call(document.getElementsByClassName(e.elementId || e.id || ""));
442
442
  if (!t.length) {
443
- De(e.elementId || e.id || "");
443
+ Le(e.elementId || e.id || "");
444
444
  return;
445
445
  }
446
446
  Array.from(t).forEach((n) => {
@@ -475,8 +475,8 @@ function Ut(e) {
475
475
  const je = (e) => Object.entries(e).map(([n, o]) => {
476
476
  if (typeof o == "string")
477
477
  return `${he(n)}: ${o};`;
478
- }).filter(D), Mt = (e) => je(e).join(`
479
- `), Ei = ({
478
+ }).filter(L), Mt = (e) => je(e).join(`
479
+ `), Pi = ({
480
480
  mediaQuery: e,
481
481
  className: t,
482
482
  styles: n
@@ -493,7 +493,7 @@ function jt({
493
493
  }) {
494
494
  return e;
495
495
  }
496
- const xi = ({
496
+ const Ei = ({
497
497
  block: e,
498
498
  context: t
499
499
  }) => He(jt({
@@ -521,7 +521,7 @@ const Ht = ({
521
521
  registeredComponents: n
522
522
  }) => {
523
523
  var i;
524
- const o = (i = Le({
524
+ const o = (i = De({
525
525
  block: e,
526
526
  localState: t.localState,
527
527
  rootState: t.rootState,
@@ -547,7 +547,7 @@ const Ht = ({
547
547
  } = e;
548
548
  if (!(n != null && n.collection))
549
549
  return;
550
- const r = te({
550
+ const r = G({
551
551
  code: n.collection,
552
552
  localState: t.localState,
553
553
  rootState: t.rootState,
@@ -596,22 +596,22 @@ const Ht = ({
596
596
  "Error while attempting to dynamically import component DynamicDiv at ../dynamic-div.vue",
597
597
  e
598
598
  ), e;
599
- }), Qt = () => import("./block-styles-sZJR1URf.js").then((e) => e.default).catch((e) => {
599
+ }), Qt = () => import("./block-styles-MssxqA7D.js").then((e) => e.default).catch((e) => {
600
600
  throw console.error(
601
601
  "Error while attempting to dynamically import component BlockStyles at ./components/block-styles.vue",
602
602
  e
603
603
  ), e;
604
- }), Xt = () => import("./block-wrapper-ody6Sxkr.js").then((e) => e.default).catch((e) => {
604
+ }), Xt = () => import("./block-wrapper-rbABMVr_.js").then((e) => e.default).catch((e) => {
605
605
  throw console.error(
606
606
  "Error while attempting to dynamically import component BlockWrapper at ./components/block-wrapper.vue",
607
607
  e
608
608
  ), e;
609
- }), Zt = () => import("./component-ref-rf4-wS3o.js").then((e) => e.default).catch((e) => {
609
+ }), Zt = () => import("./component-ref-dDrd_qBD.js").then((e) => e.default).catch((e) => {
610
610
  throw console.error(
611
611
  "Error while attempting to dynamically import component ComponentRef at ./components/component-ref/component-ref.vue",
612
612
  e
613
613
  ), e;
614
- }), _t = () => import("./repeated-block-4hDqPbdf.js").then((e) => e.default).catch((e) => {
614
+ }), _t = () => import("./repeated-block-ai9MmzuH.js").then((e) => e.default).catch((e) => {
615
615
  throw console.error(
616
616
  "Error while attempting to dynamically import component RepeatedBlock at ./components/repeated-block.vue",
617
617
  e
@@ -628,7 +628,7 @@ const Ht = ({
628
628
  props: ["block", "context", "registeredComponents", "linkComponent"],
629
629
  mounted() {
630
630
  const e = this.processedBlock.id, t = this.processedBlock.animations;
631
- t && e && Lt(
631
+ t && e && Dt(
632
632
  t.map((n) => ({
633
633
  ...n,
634
634
  elementId: e
@@ -651,7 +651,7 @@ const Ht = ({
651
651
  },
652
652
  processedBlock() {
653
653
  var e;
654
- return (e = this.block.repeat) != null && e.collection ? this.block : Le({
654
+ return (e = this.block.repeat) != null && e.collection ? this.block : De({
655
655
  block: this.block,
656
656
  localState: this.context.localState,
657
657
  rootState: this.context.rootState,
@@ -757,7 +757,7 @@ function tn(e, t, n, o, r, i) {
757
757
  ], 64))
758
758
  ], 64)) : v("", !0);
759
759
  }
760
- const fe = /* @__PURE__ */ b(en, [["render", tn]]), Ai = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
760
+ const fe = /* @__PURE__ */ b(en, [["render", tn]]), xi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
761
761
  __proto__: null,
762
762
  default: fe
763
763
  }, Symbol.toStringTag, { value: "Module" })), nn = f({
@@ -834,7 +834,7 @@ const rn = /* @__PURE__ */ b(nn, [["render", on], ["__scopeId", "data-v-a5b13ef9
834
834
  "registeredComponents"
835
835
  ],
836
836
  inject: {
837
- builderContext: ce.key,
837
+ builderContext: le.key,
838
838
  componentsContext: Ae.key
839
839
  }
840
840
  });
@@ -899,11 +899,11 @@ const Q = /* @__PURE__ */ b(ln, [["render", cn]]), dn = /* @__PURE__ */ Object.f
899
899
  default: 991,
900
900
  max: 1200
901
901
  }
902
- }, Vi = (e, t = Ke) => `@media (max-width: ${t[e].max}px)`, un = ({
902
+ }, Ai = (e, t = Ke) => `@media (max-width: ${t[e].max}px)`, un = ({
903
903
  small: e,
904
904
  medium: t
905
905
  }) => {
906
- const n = Y(Ke);
906
+ const n = me(Ke);
907
907
  if (!e || !t)
908
908
  return n;
909
909
  const o = Math.floor(e / 2);
@@ -929,7 +929,7 @@ const Q = /* @__PURE__ */ b(ln, [["render", cn]]), dn = /* @__PURE__ */ Object.f
929
929
  name: "builder-columns",
930
930
  components: {
931
931
  InlinedStyles: be,
932
- DynamicRenderer: me,
932
+ DynamicRenderer: pe,
933
933
  Blocks: M,
934
934
  DynamicDiv: Q
935
935
  },
@@ -1021,6 +1021,7 @@ const Q = /* @__PURE__ */ b(ln, [["render", cn]]), dn = /* @__PURE__ */ Object.f
1021
1021
  )[e].max;
1022
1022
  },
1023
1023
  columnsStyles() {
1024
+ const e = `.${this.builderBlock.id}-breakpoints > .builder-column`;
1024
1025
  return `
1025
1026
  @media (max-width: ${this.getWidthForBreakpointSize("medium")}px) {
1026
1027
  .${this.builderBlock.id}-breakpoints {
@@ -1028,7 +1029,7 @@ const Q = /* @__PURE__ */ b(ln, [["render", cn]]), dn = /* @__PURE__ */ Object.f
1028
1029
  align-items: stretch;
1029
1030
  }
1030
1031
 
1031
- .${this.builderBlock.id}-breakpoints > .builder-column {
1032
+ ${e} {
1032
1033
  width: var(--column-width-tablet) !important;
1033
1034
  margin-left: var(--column-margin-left-tablet) !important;
1034
1035
  }
@@ -1040,7 +1041,7 @@ const Q = /* @__PURE__ */ b(ln, [["render", cn]]), dn = /* @__PURE__ */ Object.f
1040
1041
  align-items: stretch;
1041
1042
  }
1042
1043
 
1043
- .${this.builderBlock.id}-breakpoints > .builder-column {
1044
+ ${e} {
1044
1045
  width: var(--column-width-mobile) !important;
1045
1046
  margin-left: var(--column-margin-left-mobile) !important;
1046
1047
  }
@@ -1094,7 +1095,7 @@ function hn(e, t, n, o, r, i) {
1094
1095
  }, 1032, ["TagName", "attributes"]))), 128))
1095
1096
  ], 16);
1096
1097
  }
1097
- const fn = /* @__PURE__ */ b(mn, [["render", hn], ["__scopeId", "data-v-975347d5"]]), bn = f({
1098
+ const fn = /* @__PURE__ */ b(mn, [["render", hn], ["__scopeId", "data-v-52366f16"]]), bn = f({
1098
1099
  name: "builder-fragment-component",
1099
1100
  props: []
1100
1101
  });
@@ -1123,7 +1124,7 @@ function vn(e, t) {
1123
1124
  }
1124
1125
  return null;
1125
1126
  }
1126
- function re(e) {
1127
+ function oe(e) {
1127
1128
  if (!e)
1128
1129
  return e;
1129
1130
  const t = [100, 200, 400, 800, 1200, 1600, 2e3];
@@ -1151,6 +1152,8 @@ const Sn = f({
1151
1152
  "builderBlock",
1152
1153
  "fitContent"
1153
1154
  ],
1155
+ mounted() {
1156
+ },
1154
1157
  computed: {
1155
1158
  srcSetToUse() {
1156
1159
  var n;
@@ -1162,10 +1165,10 @@ const Sn = f({
1162
1165
  if (!this.noWebp) {
1163
1166
  if (this.srcset && ((n = this.image) != null && n.includes("builder.io/api/v1/image"))) {
1164
1167
  if (!this.srcset.includes(this.image.split("?")[0]))
1165
- return console.debug("Removed given srcset"), re(t);
1168
+ return console.debug("Removed given srcset"), oe(t);
1166
1169
  } else if (this.image && !this.srcset)
1167
- return re(t);
1168
- return re(t);
1170
+ return oe(t);
1171
+ return oe(t);
1169
1172
  }
1170
1173
  },
1171
1174
  webpSrcSet() {
@@ -1201,7 +1204,7 @@ function In(e, t, n, o, r, i) {
1201
1204
  fetchpriority: e.highPriority ? "high" : "auto",
1202
1205
  alt: e.altText,
1203
1206
  role: e.altText ? void 0 : "presentation",
1204
- style: L({
1207
+ style: D({
1205
1208
  objectPosition: e.backgroundPosition || "center",
1206
1209
  objectFit: e.backgroundSize || "cover",
1207
1210
  ...e.aspectRatioCss
@@ -1217,7 +1220,7 @@ function In(e, t, n, o, r, i) {
1217
1220
  e.aspectRatio && !((l = (s = e.builderBlock) == null ? void 0 : s.children) != null && l.length && e.fitContent) ? (d(), p("div", {
1218
1221
  key: 0,
1219
1222
  class: "builder-image-sizer div-1pl23ac79ld",
1220
- style: L({
1223
+ style: D({
1221
1224
  paddingTop: e.aspectRatio * 100 + "%"
1222
1225
  })
1223
1226
  }, null, 4)) : v("", !0),
@@ -1227,7 +1230,7 @@ function In(e, t, n, o, r, i) {
1227
1230
  ])) : v("", !0)
1228
1231
  ], 64);
1229
1232
  }
1230
- const $n = /* @__PURE__ */ b(Sn, [["render", In], ["__scopeId", "data-v-ce62b8d6"]]), Rn = f({
1233
+ const $n = /* @__PURE__ */ b(Sn, [["render", In], ["__scopeId", "data-v-b1147753"]]), Rn = f({
1231
1234
  name: "builder-section-component",
1232
1235
  props: ["attributes", "maxWidth"],
1233
1236
  data() {
@@ -1268,7 +1271,7 @@ const Pn = /* @__PURE__ */ b(Rn, [["render", Bn]]), En = (e) => {
1268
1271
  B.warn("[COOKIE] GET error: ", (o == null ? void 0 : o.message) || o);
1269
1272
  return;
1270
1273
  }
1271
- }, ze = async (e) => qe(e), xn = (e) => e.map(([t, n]) => n ? `${t}=${n}` : t).filter(D).join("; "), An = [["secure", ""], ["SameSite", "None"]], Vn = ({
1274
+ }, ze = async (e) => qe(e), xn = (e) => e.map(([t, n]) => n ? `${t}=${n}` : t).filter(L).join("; "), An = [["secure", ""], ["SameSite", "None"]], Vn = ({
1272
1275
  name: e,
1273
1276
  value: t,
1274
1277
  expires: n
@@ -1310,7 +1313,7 @@ const Pn = /* @__PURE__ */ b(Rn, [["render", Bn]]), En = (e) => {
1310
1313
  name: ge(e),
1311
1314
  value: t,
1312
1315
  canTrack: !0
1313
- }), Ge = (e) => D(e.id) && D(e.variations) && Object.keys(e.variations).length > 0, Ln = ({
1316
+ }), Ge = (e) => L(e.id) && L(e.variations) && Object.keys(e.variations).length > 0, Dn = ({
1314
1317
  id: e,
1315
1318
  variations: t
1316
1319
  }) => {
@@ -1324,7 +1327,7 @@ const Pn = /* @__PURE__ */ b(Rn, [["render", Bn]]), En = (e) => {
1324
1327
  }
1325
1328
  return e;
1326
1329
  }, Ye = (e) => {
1327
- const t = Ln(e);
1330
+ const t = Dn(e);
1328
1331
  return On({
1329
1332
  contentId: e.id,
1330
1333
  value: t
@@ -1345,7 +1348,7 @@ const Pn = /* @__PURE__ */ b(Rn, [["render", Bn]]), En = (e) => {
1345
1348
  testVariationId: n.id,
1346
1349
  testVariationName: n.name || (n.id === e.id ? "Default" : "")
1347
1350
  };
1348
- }, Dn = ({
1351
+ }, Ln = ({
1349
1352
  item: e,
1350
1353
  canTrack: t
1351
1354
  }) => {
@@ -1387,7 +1390,7 @@ const Pn = /* @__PURE__ */ b(Rn, [["render", Bn]]), En = (e) => {
1387
1390
  ...e,
1388
1391
  ...r
1389
1392
  };
1390
- }, G = (e) => D(e) ? e : !0, ie = {
1393
+ }, Y = (e) => L(e) ? e : !0, re = {
1391
1394
  "@type": "@builder.io/sdk:Element",
1392
1395
  layerName: "Accordion item title",
1393
1396
  responsiveStyles: {
@@ -1416,7 +1419,7 @@ const Pn = /* @__PURE__ */ b(Rn, [["render", Bn]]), En = (e) => {
1416
1419
  }
1417
1420
  }
1418
1421
  }]
1419
- }, se = {
1422
+ }, ie = {
1420
1423
  "@type": "@builder.io/sdk:Element",
1421
1424
  layerName: "Accordion item detail",
1422
1425
  responsiveStyles: {
@@ -1464,19 +1467,19 @@ const Pn = /* @__PURE__ */ b(Rn, [["render", Bn]]), En = (e) => {
1464
1467
  name: "title",
1465
1468
  type: "uiBlocks",
1466
1469
  hideFromUI: !0,
1467
- defaultValue: [ie]
1470
+ defaultValue: [re]
1468
1471
  }, {
1469
1472
  name: "detail",
1470
1473
  type: "uiBlocks",
1471
1474
  hideFromUI: !0,
1472
- defaultValue: [se]
1475
+ defaultValue: [ie]
1473
1476
  }],
1474
1477
  defaultValue: [{
1475
- title: [ie],
1476
- detail: [se]
1478
+ title: [re],
1479
+ detail: [ie]
1477
1480
  }, {
1478
- title: [ie],
1479
- detail: [se]
1481
+ title: [re],
1482
+ detail: [ie]
1480
1483
  }],
1481
1484
  showIf: (e) => !e.get("useChildrenForItems")
1482
1485
  }, {
@@ -1611,12 +1614,12 @@ function qn(e, t, n, o, r, i) {
1611
1614
  const s = g("Blocks");
1612
1615
  return d(), p("div", {
1613
1616
  class: "builder-accordion",
1614
- style: L(e.accordionStyles)
1617
+ style: D(e.accordionStyles)
1615
1618
  }, [
1616
1619
  (d(!0), p(I, null, N(e.items, (l, a) => (d(), p(I, { key: a }, [
1617
1620
  z("div", {
1618
1621
  class: J(e.getAccordionTitleClassName(a)),
1619
- style: L({
1622
+ style: D({
1620
1623
  ...e.accordionTitleStyles,
1621
1624
  width: e.grid ? e.gridRowWidth : void 0,
1622
1625
  order: e.openGridItemOrder !== null ? e.convertOrderNumberToString(a) : e.convertOrderNumberToString(a + 1)
@@ -1636,7 +1639,7 @@ function qn(e, t, n, o, r, i) {
1636
1639
  e.open.includes(a) ? (d(), p("div", {
1637
1640
  key: 0,
1638
1641
  class: J(e.getAccordionDetailClassName(a)),
1639
- style: L(e.accordionDetailStyles)
1642
+ style: D(e.accordionDetailStyles)
1640
1643
  }, [
1641
1644
  $(s, {
1642
1645
  blocks: l.detail,
@@ -2125,7 +2128,7 @@ const to = /* @__PURE__ */ b(_n, [["render", eo]]), no = {
2125
2128
  builderComponents: !0,
2126
2129
  builderLinkComponent: !0
2127
2130
  }
2128
- }, ae = {
2131
+ }, se = {
2129
2132
  "@type": "@builder.io/sdk:Element",
2130
2133
  responsiveStyles: {
2131
2134
  large: {
@@ -2147,7 +2150,7 @@ const to = /* @__PURE__ */ b(_n, [["render", eo]]), no = {
2147
2150
  text: "New tab"
2148
2151
  }
2149
2152
  }
2150
- }, le = {
2153
+ }, ae = {
2151
2154
  "@type": "@builder.io/sdk:Element",
2152
2155
  responsiveStyles: {
2153
2156
  large: {
@@ -2173,16 +2176,16 @@ const to = /* @__PURE__ */ b(_n, [["render", eo]]), no = {
2173
2176
  name: "label",
2174
2177
  type: "uiBlocks",
2175
2178
  hideFromUI: !0,
2176
- defaultValue: [ae]
2179
+ defaultValue: [se]
2177
2180
  }, {
2178
2181
  name: "content",
2179
2182
  type: "uiBlocks",
2180
2183
  hideFromUI: !0,
2181
- defaultValue: [le]
2184
+ defaultValue: [ae]
2182
2185
  }],
2183
2186
  defaultValue: [{
2184
2187
  label: [{
2185
- ...ae,
2188
+ ...se,
2186
2189
  component: {
2187
2190
  name: "Text",
2188
2191
  options: {
@@ -2191,7 +2194,7 @@ const to = /* @__PURE__ */ b(_n, [["render", eo]]), no = {
2191
2194
  }
2192
2195
  }],
2193
2196
  content: [{
2194
- ...le,
2197
+ ...ae,
2195
2198
  component: {
2196
2199
  name: "Text",
2197
2200
  options: {
@@ -2201,7 +2204,7 @@ const to = /* @__PURE__ */ b(_n, [["render", eo]]), no = {
2201
2204
  }]
2202
2205
  }, {
2203
2206
  label: [{
2204
- ...ae,
2207
+ ...se,
2205
2208
  component: {
2206
2209
  name: "Text",
2207
2210
  options: {
@@ -2210,7 +2213,7 @@ const to = /* @__PURE__ */ b(_n, [["render", eo]]), no = {
2210
2213
  }
2211
2214
  }],
2212
2215
  content: [{
2213
- ...le,
2216
+ ...ae,
2214
2217
  component: {
2215
2218
  name: "Text",
2216
2219
  options: {
@@ -2297,7 +2300,7 @@ function ao(e, t, n, o, r, i) {
2297
2300
  return d(), p("div", null, [
2298
2301
  z("div", {
2299
2302
  class: "builder-tabs-wrap",
2300
- style: L({
2303
+ style: D({
2301
2304
  display: "flex",
2302
2305
  flexDirection: "row",
2303
2306
  justifyContent: e.tabHeaderLayout || "flex-start",
@@ -2307,7 +2310,7 @@ function ao(e, t, n, o, r, i) {
2307
2310
  (d(!0), p(I, null, N(e.tabs, (l, a) => (d(), p("span", {
2308
2311
  key: a,
2309
2312
  class: J(`builder-tab-wrap ${e.activeTab === a ? "builder-tab-active" : ""}`),
2310
- style: L({
2313
+ style: D({
2311
2314
  ...e.activeTab === a ? e.activeTabStyle : {}
2312
2315
  }),
2313
2316
  onClick: (u) => e.onClick(a)
@@ -2336,7 +2339,8 @@ function ao(e, t, n, o, r, i) {
2336
2339
  }
2337
2340
  const lo = /* @__PURE__ */ b(ro, [["render", ao]]), co = {
2338
2341
  shouldReceiveBuilderProps: {
2339
- builderBlock: !1
2342
+ builderBlock: !1,
2343
+ builderContext: !0
2340
2344
  },
2341
2345
  name: "Text",
2342
2346
  static: !0,
@@ -2357,13 +2361,34 @@ const lo = /* @__PURE__ */ b(ro, [["render", ao]]), co = {
2357
2361
  }
2358
2362
  }, uo = f({
2359
2363
  name: "builder-text",
2360
- props: ["text"]
2364
+ props: ["builderContext", "text"],
2365
+ computed: {
2366
+ processedText() {
2367
+ var i;
2368
+ const e = this.builderContext, {
2369
+ context: t,
2370
+ localState: n,
2371
+ rootState: o,
2372
+ rootSetState: r
2373
+ } = e;
2374
+ return String(((i = this.text) == null ? void 0 : i.toString()) || "").replace(
2375
+ /{{([^}]+)}}/g,
2376
+ (s, l) => G({
2377
+ code: l,
2378
+ context: t,
2379
+ localState: n,
2380
+ rootState: o,
2381
+ rootSetState: r,
2382
+ enableCache: !1
2383
+ })
2384
+ );
2385
+ }
2386
+ }
2361
2387
  }), po = ["innerHTML"];
2362
2388
  function mo(e, t, n, o, r, i) {
2363
- var s;
2364
2389
  return d(), p("div", {
2365
2390
  class: "builder-text",
2366
- innerHTML: ((s = e.text) == null ? void 0 : s.toString()) || "",
2391
+ innerHTML: e.processedText,
2367
2392
  style: {
2368
2393
  outline: "none"
2369
2394
  }
@@ -2934,7 +2959,7 @@ function Wo(e, t, n, o, r, i) {
2934
2959
  blocks: e.sendingMessage,
2935
2960
  context: e.builderContext
2936
2961
  }, null, 8, ["blocks", "context"])) : v("", !0),
2937
- e.submissionState() === "error" && e.responseData ? (d(), p("pre", Vo, ne(JSON.stringify(e.responseData, null, 2)), 1)) : v("", !0),
2962
+ e.submissionState() === "error" && e.responseData ? (d(), p("pre", Vo, te(JSON.stringify(e.responseData, null, 2)), 1)) : v("", !0),
2938
2963
  e.submissionState() === "success" ? (d(), k(l, {
2939
2964
  key: 4,
2940
2965
  path: "successMessage",
@@ -3008,8 +3033,8 @@ const No = /* @__PURE__ */ b(xo, [["render", Wo], ["__scopeId", "data-v-489330f7
3008
3033
  data() {
3009
3034
  return { isEditing: R, filterAttrs: x };
3010
3035
  }
3011
- }), Lo = ["placeholder", "type", "name", "value", "defaultValue", "required"];
3012
- function Do(e, t, n, o, r, i) {
3036
+ }), Do = ["placeholder", "type", "name", "value", "defaultValue", "required"];
3037
+ function Lo(e, t, n, o, r, i) {
3013
3038
  return d(), p("input", C({
3014
3039
  key: e.isEditing() && e.defaultValue ? e.defaultValue : "default-key",
3015
3040
  placeholder: e.placeholder,
@@ -3018,9 +3043,9 @@ function Do(e, t, n, o, r, i) {
3018
3043
  value: e.value,
3019
3044
  defaultValue: e.defaultValue,
3020
3045
  required: e.required
3021
- }, e.filterAttrs(e.attributes, "v-on:", !1), P(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16, Lo);
3046
+ }, e.filterAttrs(e.attributes, "v-on:", !1), P(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16, Do);
3022
3047
  }
3023
- const Uo = /* @__PURE__ */ b(Oo, [["render", Do]]), Mo = {
3048
+ const Uo = /* @__PURE__ */ b(Oo, [["render", Lo]]), Mo = {
3024
3049
  name: "Form:Select",
3025
3050
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F83acca093fb24aaf94dee136e9a4b045",
3026
3051
  defaultStyles: {
@@ -3080,7 +3105,7 @@ function qo(e, t, n, o, r, i) {
3080
3105
  (d(!0), p(I, null, N(e.options, (s, l) => (d(), p("option", {
3081
3106
  key: `${s.name}-${l}`,
3082
3107
  value: s.value
3083
- }, ne(s.name || s.value), 9, Ko))), 128))
3108
+ }, te(s.name || s.value), 9, Ko))), 128))
3084
3109
  ], 16, Ho);
3085
3110
  }
3086
3111
  const zo = /* @__PURE__ */ b(jo, [["render", qo]]), Jo = {
@@ -3116,7 +3141,7 @@ const zo = /* @__PURE__ */ b(jo, [["render", qo]]), Jo = {
3116
3141
  }
3117
3142
  });
3118
3143
  function Yo(e, t, n, o, r, i) {
3119
- return d(), p("button", C({ type: "submit" }, e.filterAttrs(e.attributes, "v-on:", !1), P(e.filterAttrs(e.attributes, "v-on:", !0), !0)), ne(e.text), 17);
3144
+ return d(), p("button", C({ type: "submit" }, e.filterAttrs(e.attributes, "v-on:", !1), P(e.filterAttrs(e.attributes, "v-on:", !0), !0)), te(e.text), 17);
3120
3145
  }
3121
3146
  const Qo = /* @__PURE__ */ b(Go, [["render", Yo]]), Xo = {
3122
3147
  name: "Form:TextArea",
@@ -3399,7 +3424,7 @@ function hr(e, t, n, o, r, i) {
3399
3424
  ], 16, dr),
3400
3425
  e.aspectRatio && !(e.fitContent && ((a = (l = e.builderBlock) == null ? void 0 : l.children) != null && a.length)) ? (d(), p("div", {
3401
3426
  key: 0,
3402
- style: L({
3427
+ style: D({
3403
3428
  width: "100%",
3404
3429
  paddingTop: e.aspectRatio * 100 + "%",
3405
3430
  pointerEvents: "none",
@@ -3460,7 +3485,7 @@ const fr = /* @__PURE__ */ b(lr, [["render", hr]]), br = () => [{
3460
3485
  component: to,
3461
3486
  ...Zn
3462
3487
  }, {
3463
- component: Ii,
3488
+ component: Ti,
3464
3489
  ...no
3465
3490
  }, {
3466
3491
  component: ho,
@@ -3473,20 +3498,15 @@ const fr = /* @__PURE__ */ b(lr, [["render", hr]]), br = () => [{
3473
3498
  ...Mn
3474
3499
  }, ...br()], gr = (e) => ({
3475
3500
  type: "builder.registerComponent",
3476
- data: de(e)
3501
+ data: ce(e)
3477
3502
  }), yr = (e) => {
3478
3503
  const t = e.toString().trim();
3479
3504
  return `return (${!t.startsWith("function") && !t.startsWith("(") ? "function " : ""}${t}).apply(this, arguments)`;
3480
- }, kr = (e) => typeof e == "function" ? yr(e) : Y(e), de = ({
3481
- inputs: e,
3482
- ...t
3483
- }) => ({
3484
- ...Y(t),
3485
- inputs: e == null ? void 0 : e.map((n) => Object.entries(n).reduce((o, [r, i]) => ({
3486
- ...o,
3487
- [r]: kr(i)
3488
- }), {}))
3489
- }), vr = `function updateCookiesAndStyles(contentId, variants, isHydrationTarget) {
3505
+ };
3506
+ function ce(e) {
3507
+ return JSON.parse(JSON.stringify(e, (t, n) => typeof n == "function" ? yr(n) : n));
3508
+ }
3509
+ const kr = `function updateCookiesAndStyles(contentId, variants, isHydrationTarget) {
3490
3510
  function getAndSetVariantId() {
3491
3511
  function setCookie(name, value, days) {
3492
3512
  let expires = '';
@@ -3542,7 +3562,7 @@ const fr = /* @__PURE__ */ b(lr, [["render", hr]]), br = () => [{
3542
3562
  }).join('');
3543
3563
  styleEl.innerHTML = newStyleStr;
3544
3564
  }
3545
- }`, Sr = `function updateVariantVisibility(variantContentId, defaultContentId, isHydrationTarget) {
3565
+ }`, vr = `function updateVariantVisibility(variantContentId, defaultContentId, isHydrationTarget) {
3546
3566
  if (!navigator.cookieEnabled) {
3547
3567
  return;
3548
3568
  }
@@ -3580,16 +3600,16 @@ const fr = /* @__PURE__ */ b(lr, [["render", hr]]), br = () => [{
3580
3600
  ...t,
3581
3601
  testVariationId: t.id,
3582
3602
  id: e == null ? void 0 : e.id
3583
- })), Cr = ({
3603
+ })), Sr = ({
3584
3604
  canTrack: e,
3585
3605
  content: t
3586
- }) => !(!(_(t).length > 0) || !e), wr = (e) => e === "react" || e === "reactNative", _e = wr(A), Tr = () => `
3587
- window.${Xe} = ${vr}
3588
- window.${Ze} = ${Sr}
3589
- `, Ir = (e, t) => `
3606
+ }) => !(!(_(t).length > 0) || !e), Cr = (e) => e === "react" || e === "reactNative", _e = Cr(A), wr = () => `
3607
+ window.${Xe} = ${kr}
3608
+ window.${Ze} = ${vr}
3609
+ `, Tr = (e, t) => `
3590
3610
  window.${Xe}(
3591
3611
  "${t}",${JSON.stringify(e)}, ${_e}
3592
- )`, $r = ({
3612
+ )`, Ir = ({
3593
3613
  contentId: e,
3594
3614
  variationId: t
3595
3615
  }) => `window.${Ze}(
@@ -3605,23 +3625,23 @@ const fr = /* @__PURE__ */ b(lr, [["render", hr]]), br = () => [{
3605
3625
  name: "inlined-script",
3606
3626
  props: ["scriptStr", "id", "nonce"]
3607
3627
  });
3608
- function Rr() {
3628
+ function $r() {
3609
3629
  return typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : globalThis;
3610
3630
  }
3611
- function Br() {
3612
- const e = Rr().fetch;
3631
+ function Rr() {
3632
+ const e = $r().fetch;
3613
3633
  if (typeof e > "u")
3614
3634
  throw console.warn(`Builder SDK could not find a global fetch function. Make sure you have a polyfill for fetch in your project.
3615
3635
  For more information, read https://github.com/BuilderIO/this-package-uses-fetch`), new Error("Builder SDK could not find a global `fetch` function");
3616
3636
  return e;
3617
3637
  }
3618
- const tt = Br();
3619
- function ue(e, t = null, n = ".") {
3638
+ const tt = Rr();
3639
+ function de(e, t = null, n = ".") {
3620
3640
  return Object.keys(e).reduce((o, r) => {
3621
3641
  const i = e[r], s = [t, r].filter(Boolean).join(n);
3622
3642
  return [typeof i == "object", i !== null, !(Array.isArray(i) && i.length === 0)].every(Boolean) ? {
3623
3643
  ...o,
3624
- ...ue(i, s, n)
3644
+ ...de(i, s, n)
3625
3645
  } : {
3626
3646
  ...o,
3627
3647
  [s]: i
@@ -3635,17 +3655,17 @@ function nt(e, t, n = {}) {
3635
3655
  }
3636
3656
  return n;
3637
3657
  }
3638
- const Pr = "v3", Te = "builder.", Er = "options.", ot = (e) => {
3658
+ const Br = "v3", Te = "builder.", Pr = "options.", ot = (e) => {
3639
3659
  if (!e)
3640
3660
  return {};
3641
3661
  const t = Ve(e), n = {};
3642
3662
  return Object.keys(t).forEach((o) => {
3643
3663
  if (o.startsWith(Te)) {
3644
- const r = o.replace(Te, "").replace(Er, "");
3664
+ const r = o.replace(Te, "").replace(Pr, "");
3645
3665
  n[r] = t[o];
3646
3666
  }
3647
3667
  }), n;
3648
- }, xr = () => {
3668
+ }, Er = () => {
3649
3669
  if (!T())
3650
3670
  return {};
3651
3671
  const e = new URLSearchParams(window.location.search);
@@ -3659,7 +3679,7 @@ const Pr = "v3", Te = "builder.", Er = "options.", ot = (e) => {
3659
3679
  apiKey: i,
3660
3680
  enrich: s,
3661
3681
  locale: l,
3662
- apiVersion: a = Pr,
3682
+ apiVersion: a = Br,
3663
3683
  fields: u,
3664
3684
  omit: h,
3665
3685
  offset: c,
@@ -3674,16 +3694,16 @@ const Pr = "v3", Te = "builder.", Er = "options.", ot = (e) => {
3674
3694
  throw new Error(`Invalid apiVersion: expected 'v3', received '${a}'`);
3675
3695
  const X = t !== 1, w = new URL(`https://cdn.builder.io/api/${a}/content/${r}`);
3676
3696
  if (w.searchParams.set("apiKey", i), w.searchParams.set("limit", String(t)), w.searchParams.set("noTraverse", String(X)), w.searchParams.set("includeRefs", String(!0)), l && w.searchParams.set("locale", l), s && w.searchParams.set("enrich", String(s)), w.searchParams.set("omit", h || "meta.componentsUsed"), u && w.searchParams.set("fields", u), Number.isFinite(c) && c > -1 && w.searchParams.set("offset", String(Math.floor(c))), typeof F == "boolean" && w.searchParams.set("includeUnpublished", String(F)), m && Ie(m) && w.searchParams.set("cacheSeconds", String(m)), S && Ie(S) && w.searchParams.set("staleCacheSeconds", String(S)), y) {
3677
- const O = ue({
3697
+ const O = de({
3678
3698
  sort: y
3679
3699
  });
3680
3700
  for (const j in O)
3681
3701
  w.searchParams.set(j, JSON.stringify(O[j]));
3682
3702
  }
3683
3703
  const ut = {
3684
- ...xr(),
3704
+ ...Er(),
3685
3705
  ...Ve(e.options || {})
3686
- }, ve = ue(ut);
3706
+ }, ve = de(ut);
3687
3707
  for (const O in ve)
3688
3708
  w.searchParams.set(O, String(ve[O]));
3689
3709
  if (n && w.searchParams.set("userAttributes", JSON.stringify(n)), o) {
@@ -3694,19 +3714,19 @@ const Pr = "v3", Te = "builder.", Er = "options.", ot = (e) => {
3694
3714
  w.searchParams.set(j, JSON.stringify(O[j]));
3695
3715
  }
3696
3716
  return w;
3697
- }, Ar = (e) => "results" in e;
3717
+ }, xr = (e) => "results" in e;
3698
3718
  async function ke(e) {
3699
- const t = await Nr({
3719
+ const t = await Wr({
3700
3720
  ...e,
3701
3721
  limit: 1
3702
3722
  });
3703
3723
  return t && t[0] || null;
3704
3724
  }
3705
- const Vr = async (e) => {
3725
+ const Ar = async (e) => {
3706
3726
  const t = ye(e);
3707
3727
  return await (await (e.fetch ?? tt)(t.href, e.fetchOptions)).json();
3708
- }, Wr = async (e, t, n = ye(e)) => {
3709
- const o = G(e.canTrack);
3728
+ }, Vr = async (e, t, n = ye(e)) => {
3729
+ const o = Y(e.canTrack);
3710
3730
  if (n.search.includes("preview="), !o || !(T() || A === "reactNative"))
3711
3731
  return t.results;
3712
3732
  try {
@@ -3722,10 +3742,10 @@ const Vr = async (e) => {
3722
3742
  }
3723
3743
  return t.results;
3724
3744
  };
3725
- async function Nr(e) {
3745
+ async function Wr(e) {
3726
3746
  try {
3727
- const t = ye(e), n = await Vr(e);
3728
- return Ar(n) ? Wr(e, n) : (B.error("Error fetching data. ", {
3747
+ const t = ye(e), n = await Ar(e);
3748
+ return xr(n) ? Vr(e, n) : (B.error("Error fetching data. ", {
3729
3749
  url: t,
3730
3750
  content: n,
3731
3751
  options: e
@@ -3734,20 +3754,20 @@ async function Nr(e) {
3734
3754
  return B.error("Error fetching data. ", t), null;
3735
3755
  }
3736
3756
  }
3737
- function Fr(e) {
3757
+ function Nr(e) {
3738
3758
  const t = e || (T() ? window.location.search : void 0);
3739
3759
  return t ? We(t).indexOf("builder.preview=") !== -1 : !1;
3740
3760
  }
3741
- function Or() {
3761
+ function Fr() {
3742
3762
  return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, function(e) {
3743
3763
  const t = Math.random() * 16 | 0;
3744
3764
  return (e == "x" ? t : t & 3 | 8).toString(16);
3745
3765
  });
3746
3766
  }
3747
3767
  function rt() {
3748
- return Or().replace(/-/g, "");
3768
+ return Fr().replace(/-/g, "");
3749
3769
  }
3750
- const it = "builderSessionId", Lr = async ({
3770
+ const it = "builderSessionId", Or = async ({
3751
3771
  canTrack: e
3752
3772
  }) => {
3753
3773
  if (!e)
@@ -3756,23 +3776,23 @@ const it = "builderSessionId", Lr = async ({
3756
3776
  name: it,
3757
3777
  canTrack: e
3758
3778
  });
3759
- if (D(t))
3779
+ if (L(t))
3760
3780
  return t;
3761
3781
  {
3762
3782
  const n = Dr();
3763
- return Ur({
3783
+ return Lr({
3764
3784
  id: n,
3765
3785
  canTrack: e
3766
3786
  }), n;
3767
3787
  }
3768
- }, Dr = () => rt(), Ur = ({
3788
+ }, Dr = () => rt(), Lr = ({
3769
3789
  id: e,
3770
3790
  canTrack: t
3771
3791
  }) => Je({
3772
3792
  name: it,
3773
3793
  value: e,
3774
3794
  canTrack: t
3775
- }), st = () => T() && typeof localStorage < "u" ? localStorage : void 0, Mr = ({
3795
+ }), st = () => T() && typeof localStorage < "u" ? localStorage : void 0, Ur = ({
3776
3796
  key: e,
3777
3797
  canTrack: t
3778
3798
  }) => {
@@ -3783,7 +3803,7 @@ const it = "builderSessionId", Lr = async ({
3783
3803
  console.debug("[LocalStorage] GET error: ", o);
3784
3804
  return;
3785
3805
  }
3786
- }, jr = ({
3806
+ }, Mr = ({
3787
3807
  key: e,
3788
3808
  canTrack: t,
3789
3809
  value: n
@@ -3794,32 +3814,32 @@ const it = "builderSessionId", Lr = async ({
3794
3814
  } catch (r) {
3795
3815
  console.debug("[LocalStorage] SET error: ", r);
3796
3816
  }
3797
- }, at = "builderVisitorId", Hr = ({
3817
+ }, at = "builderVisitorId", jr = ({
3798
3818
  canTrack: e
3799
3819
  }) => {
3800
3820
  if (!e)
3801
3821
  return;
3802
- const t = Mr({
3822
+ const t = Ur({
3803
3823
  key: at,
3804
3824
  canTrack: e
3805
3825
  });
3806
- if (D(t))
3826
+ if (L(t))
3807
3827
  return t;
3808
3828
  {
3809
- const n = Kr();
3810
- return qr({
3829
+ const n = Hr();
3830
+ return Kr({
3811
3831
  id: n,
3812
3832
  canTrack: e
3813
3833
  }), n;
3814
3834
  }
3815
- }, Kr = () => rt(), qr = ({
3835
+ }, Hr = () => rt(), Kr = ({
3816
3836
  id: e,
3817
3837
  canTrack: t
3818
- }) => jr({
3838
+ }) => Mr({
3819
3839
  key: at,
3820
3840
  value: e,
3821
3841
  canTrack: t
3822
- }), zr = async ({
3842
+ }), qr = async ({
3823
3843
  canTrack: e
3824
3844
  }) => {
3825
3845
  if (!e)
@@ -3827,16 +3847,16 @@ const it = "builderSessionId", Lr = async ({
3827
3847
  visitorId: void 0,
3828
3848
  sessionId: void 0
3829
3849
  };
3830
- const t = await Lr({
3850
+ const t = await Or({
3831
3851
  canTrack: e
3832
- }), n = Hr({
3852
+ }), n = jr({
3833
3853
  canTrack: e
3834
3854
  });
3835
3855
  return {
3836
3856
  sessionId: t,
3837
3857
  visitorId: n
3838
3858
  };
3839
- }, Jr = async ({
3859
+ }, zr = async ({
3840
3860
  type: e,
3841
3861
  canTrack: t,
3842
3862
  apiKey: n,
@@ -3850,14 +3870,14 @@ const it = "builderSessionId", Lr = async ({
3850
3870
  url: location.href,
3851
3871
  ...o
3852
3872
  },
3853
- ...await zr({
3873
+ ...await qr({
3854
3874
  canTrack: t
3855
3875
  }),
3856
3876
  userAttributes: Ne(),
3857
3877
  ownerId: n
3858
3878
  }
3859
3879
  });
3860
- async function pe(e) {
3880
+ async function ue(e) {
3861
3881
  if (!e.apiKey) {
3862
3882
  B.error("Missing API key for track call. Please provide your API key.");
3863
3883
  return;
@@ -3866,7 +3886,7 @@ async function pe(e) {
3866
3886
  return fetch("https://cdn.builder.io/api/v1/track", {
3867
3887
  method: "POST",
3868
3888
  body: JSON.stringify({
3869
- events: [await Jr(e)]
3889
+ events: [await zr(e)]
3870
3890
  }),
3871
3891
  headers: {
3872
3892
  "content-type": "application/json"
@@ -3876,14 +3896,14 @@ async function pe(e) {
3876
3896
  console.error("Failed to track: ", t);
3877
3897
  });
3878
3898
  }
3879
- const Wi = (e) => pe({
3899
+ const Vi = (e) => ue({
3880
3900
  ...e,
3881
3901
  canTrack: !0
3882
3902
  });
3883
3903
  function $e(e) {
3884
3904
  return Math.round(e * 1e3) / 1e3;
3885
3905
  }
3886
- const Gr = (e, t, n = !0) => {
3906
+ const Jr = (e, t, n = !0) => {
3887
3907
  if (!(e instanceof HTMLElement))
3888
3908
  return null;
3889
3909
  let o = n ? e : e.parentElement;
@@ -3894,7 +3914,7 @@ const Gr = (e, t, n = !0) => {
3894
3914
  return o;
3895
3915
  } while (o = o.parentElement);
3896
3916
  return null;
3897
- }, Yr = (e) => Gr(e, (t) => {
3917
+ }, Gr = (e) => Jr(e, (t) => {
3898
3918
  const n = t.getAttribute("builder-id") || t.id;
3899
3919
  return (n == null ? void 0 : n.indexOf("builder-")) === 0;
3900
3920
  }), Re = ({
@@ -3906,8 +3926,8 @@ const Gr = (e, t, n = !0) => {
3906
3926
  x: i,
3907
3927
  y: s
3908
3928
  };
3909
- }, Qr = (e) => {
3910
- const t = e.target, n = t && Yr(t), o = (n == null ? void 0 : n.getAttribute("builder-id")) || (n == null ? void 0 : n.id);
3929
+ }, Yr = (e) => {
3930
+ const t = e.target, n = t && Gr(t), o = (n == null ? void 0 : n.getAttribute("builder-id")) || (n == null ? void 0 : n.id);
3911
3931
  return {
3912
3932
  targetBuilderElement: o || void 0,
3913
3933
  metadata: {
@@ -3922,15 +3942,15 @@ const Gr = (e, t, n = !0) => {
3922
3942
  builderElementIndex: n && o ? [].slice.call(document.getElementsByClassName(o)).indexOf(n) : void 0
3923
3943
  }
3924
3944
  };
3925
- }, Xr = ["*.beta.builder.io", "beta.builder.io", "builder.io", "localhost", "qa.builder.io"];
3945
+ }, Qr = ["*.beta.builder.io", "beta.builder.io", "builder.io", "localhost", "qa.builder.io"];
3926
3946
  function lt(e, t) {
3927
3947
  if (!t.origin.startsWith("http") && !t.origin.startsWith("https"))
3928
3948
  return !1;
3929
3949
  const n = new URL(t.origin), o = n.hostname;
3930
- return (e || Xr).findIndex((r) => r.startsWith("*.") ? o.endsWith(r.slice(1)) : r === o) > -1;
3950
+ return (e || Qr).findIndex((r) => r.startsWith("*.") ? o.endsWith(r.slice(1)) : r === o) > -1;
3931
3951
  }
3932
- const Zr = "2.0.2", Be = {};
3933
- function _r(e, t) {
3952
+ const Xr = "2.0.5", Be = {};
3953
+ function Zr(e, t) {
3934
3954
  let n = Be[e];
3935
3955
  if (n || (n = Be[e] = []), n.push(t), T()) {
3936
3956
  const o = {
@@ -3947,8 +3967,8 @@ function _r(e, t) {
3947
3967
  }
3948
3968
  }
3949
3969
  }
3950
- const ei = () => {
3951
- _r("insertMenu", {
3970
+ const _r = () => {
3971
+ Zr("insertMenu", {
3952
3972
  name: "_default",
3953
3973
  default: !0,
3954
3974
  items: [{
@@ -3977,7 +3997,7 @@ const ct = (e = {}) => {
3977
3997
  type: "builder.sdkInfo",
3978
3998
  data: {
3979
3999
  target: A,
3980
- version: Zr,
4000
+ version: Xr,
3981
4001
  supportsPatchUpdates: !1,
3982
4002
  // Supports builder-model="..." attribute which is needed to
3983
4003
  // scope our '+ add block' button styling
@@ -4058,7 +4078,7 @@ const ct = (e = {}) => {
4058
4078
  break;
4059
4079
  }
4060
4080
  }
4061
- }, Ni = (e, t, n) => {
4081
+ }, Wi = (e, t, n) => {
4062
4082
  if (!T)
4063
4083
  return B.warn("`subscribeToEditor` only works in the browser. It currently seems to be running on the server."), () => {
4064
4084
  };
@@ -4077,7 +4097,7 @@ const ct = (e = {}) => {
4077
4097
  return window.addEventListener("message", o), () => {
4078
4098
  window.removeEventListener("message", o);
4079
4099
  };
4080
- }, ti = (e) => {
4100
+ }, ei = (e) => {
4081
4101
  var i;
4082
4102
  const t = e.family + (e.kind && !e.kind.includes("#") ? ", " + e.kind : ""), n = t.split(",")[0], o = e.fileUrl ?? ((i = e == null ? void 0 : e.files) == null ? void 0 : i.regular);
4083
4103
  let r = "";
@@ -4103,15 +4123,15 @@ font-weight: ${s};
4103
4123
  `.trim());
4104
4124
  }
4105
4125
  return r;
4106
- }, ni = ({
4126
+ }, ti = ({
4107
4127
  customFonts: e
4108
4128
  }) => {
4109
4129
  var t;
4110
- return ((t = e == null ? void 0 : e.map((n) => ti(n))) == null ? void 0 : t.join(" ")) || "";
4111
- }, oi = ({
4130
+ return ((t = e == null ? void 0 : e.map((n) => ei(n))) == null ? void 0 : t.join(" ")) || "";
4131
+ }, ni = ({
4112
4132
  cssCode: e,
4113
4133
  contentId: t
4114
- }) => e ? t ? (e == null ? void 0 : e.replace(/&/g, `div[builder-content-id="${t}"]`)) || "" : e : "", ri = `
4134
+ }) => e ? t ? (e == null ? void 0 : e.replace(/&/g, `div[builder-content-id="${t}"]`)) || "" : e : "", oi = `
4115
4135
  .builder-button {
4116
4136
  all: unset;
4117
4137
  }
@@ -4128,7 +4148,7 @@ font-weight: ${s};
4128
4148
  text-align: inherit;
4129
4149
  font-family: inherit;
4130
4150
  }
4131
- `, ii = (e) => e ? "" : ri, si = (e) => `variant-${e}`, ai = f({
4151
+ `, ri = (e) => e ? "" : oi, ii = (e) => `variant-${e}`, si = f({
4132
4152
  name: "enable-editor",
4133
4153
  components: { DynamicDiv: Q },
4134
4154
  props: [
@@ -4152,14 +4172,14 @@ font-weight: ${s};
4152
4172
  httpReqsData: {},
4153
4173
  httpReqsPending: {},
4154
4174
  clicked: !1,
4155
- builderContext: ce,
4156
- getWrapperClassName: si
4175
+ builderContext: le,
4176
+ getWrapperClassName: ii
4157
4177
  };
4158
4178
  },
4159
4179
  provide() {
4160
4180
  const e = this;
4161
4181
  return {
4162
- [ce.key]: e.builderContextSignal
4182
+ [le.key]: e.builderContextSignal
4163
4183
  };
4164
4184
  },
4165
4185
  mounted() {
@@ -4168,9 +4188,9 @@ font-weight: ${s};
4168
4188
  if (T()) {
4169
4189
  if (R() && this.$refs.elementRef && this.$refs.elementRef.dispatchEvent(
4170
4190
  new CustomEvent("initeditingbldr")
4171
- ), this.builderContextSignal.content && G(this.canTrack)) {
4191
+ ), this.builderContextSignal.content && Y(this.canTrack)) {
4172
4192
  const i = (n = this.builderContextSignal.content) == null ? void 0 : n.testVariationId, s = (o = this.builderContextSignal.content) == null ? void 0 : o.id, l = this.apiKey;
4173
- pe({
4193
+ ue({
4174
4194
  type: "impression",
4175
4195
  canTrack: !0,
4176
4196
  contentId: s,
@@ -4178,7 +4198,7 @@ font-weight: ${s};
4178
4198
  variationId: i !== s ? i : void 0
4179
4199
  });
4180
4200
  }
4181
- Fr() && !R() && this.$refs.elementRef && this.$refs.elementRef.dispatchEvent(
4201
+ Nr() && !R() && this.$refs.elementRef && this.$refs.elementRef.dispatchEvent(
4182
4202
  new CustomEvent("initpreviewingbldr")
4183
4203
  );
4184
4204
  }
@@ -4326,7 +4346,7 @@ font-weight: ${s};
4326
4346
  evaluateJsCode() {
4327
4347
  var t, n;
4328
4348
  const e = (n = (t = this.builderContextSignal.content) == null ? void 0 : t.data) == null ? void 0 : n.jsCode;
4329
- e && te({
4349
+ e && G({
4330
4350
  code: e,
4331
4351
  context: this.context || {},
4332
4352
  localState: void 0,
@@ -4342,13 +4362,13 @@ font-weight: ${s};
4342
4362
  var t, n;
4343
4363
  if (this.builderContextSignal.content) {
4344
4364
  const o = (t = this.builderContextSignal.content) == null ? void 0 : t.testVariationId, r = (n = this.builderContextSignal.content) == null ? void 0 : n.id;
4345
- pe({
4365
+ ue({
4346
4366
  type: "click",
4347
- canTrack: G(this.canTrack),
4367
+ canTrack: Y(this.canTrack),
4348
4368
  contentId: r,
4349
4369
  apiKey: this.apiKey,
4350
4370
  variationId: o !== r ? o : void 0,
4351
- ...Qr(e),
4371
+ ...Yr(e),
4352
4372
  unique: !this.clicked
4353
4373
  });
4354
4374
  }
@@ -4364,7 +4384,7 @@ font-weight: ${s};
4364
4384
  const i = r.replace(
4365
4385
  /{{([^}]+)}}/g,
4366
4386
  (s, l) => String(
4367
- te({
4387
+ G({
4368
4388
  code: l,
4369
4389
  context: this.context || {},
4370
4390
  localState: void 0,
@@ -4391,7 +4411,7 @@ font-weight: ${s};
4391
4411
  "builder:component:stateChange",
4392
4412
  {
4393
4413
  detail: {
4394
- state: Y(this.builderContextSignal.rootState),
4414
+ state: me(this.builderContextSignal.rootState),
4395
4415
  ref: {
4396
4416
  name: this.model
4397
4417
  }
@@ -4401,7 +4421,7 @@ font-weight: ${s};
4401
4421
  );
4402
4422
  },
4403
4423
  elementRef_onIniteditingbldr(e) {
4404
- window.addEventListener("message", this.processMessage), ei(), ct({
4424
+ window.addEventListener("message", this.processMessage), _r(), ct({
4405
4425
  ...this.locale ? {
4406
4426
  locale: this.locale
4407
4427
  } : {},
@@ -4436,7 +4456,7 @@ font-weight: ${s};
4436
4456
  }
4437
4457
  }
4438
4458
  });
4439
- function li(e, t, n, o, r, i) {
4459
+ function ai(e, t, n, o, r, i) {
4440
4460
  var s, l, a;
4441
4461
  return e.builderContextSignal.content ? (d(), k(K(e.ContentWrapper), C({
4442
4462
  key: 0,
@@ -4454,26 +4474,26 @@ function li(e, t, n, o, r, i) {
4454
4474
  _: 3
4455
4475
  }, 16, ["onClick", "builder-content-id", "builder-model", "class", "onIniteditingbldr", "onInitpreviewingbldr"])) : v("", !0);
4456
4476
  }
4457
- const ci = /* @__PURE__ */ b(ai, [["render", li]]), di = f({
4477
+ const li = /* @__PURE__ */ b(si, [["render", ai]]), ci = f({
4458
4478
  name: "content-styles",
4459
4479
  components: { InlinedStyles: be },
4460
4480
  props: ["cssCode", "contentId", "customFonts", "isNestedRender", "nonce"],
4461
4481
  data() {
4462
4482
  return {
4463
4483
  injectedStyles: `
4464
- ${oi({
4484
+ ${ni({
4465
4485
  cssCode: this.cssCode,
4466
4486
  contentId: this.contentId
4467
4487
  })}
4468
- ${ni({
4488
+ ${ti({
4469
4489
  customFonts: this.customFonts
4470
4490
  })}
4471
- ${ii(this.isNestedRender)}
4491
+ ${ri(this.isNestedRender)}
4472
4492
  `.trim()
4473
4493
  };
4474
4494
  }
4475
4495
  });
4476
- function ui(e, t, n, o, r, i) {
4496
+ function di(e, t, n, o, r, i) {
4477
4497
  const s = g("InlinedStyles");
4478
4498
  return d(), k(s, {
4479
4499
  id: "builderio-content",
@@ -4481,7 +4501,7 @@ function ui(e, t, n, o, r, i) {
4481
4501
  nonce: e.nonce
4482
4502
  }, null, 8, ["styles", "nonce"]);
4483
4503
  }
4484
- const pi = /* @__PURE__ */ b(di, [["render", ui]]), mi = ({
4504
+ const ui = /* @__PURE__ */ b(ci, [["render", di]]), pi = ({
4485
4505
  content: e,
4486
4506
  data: t,
4487
4507
  locale: n
@@ -4498,7 +4518,7 @@ const pi = /* @__PURE__ */ b(di, [["render", ui]]), mi = ({
4498
4518
  locale: n
4499
4519
  } : {}
4500
4520
  };
4501
- }, hi = ({
4521
+ }, mi = ({
4502
4522
  content: e,
4503
4523
  data: t
4504
4524
  }) => e ? {
@@ -4508,12 +4528,12 @@ const pi = /* @__PURE__ */ b(di, [["render", ui]]), mi = ({
4508
4528
  ...t
4509
4529
  },
4510
4530
  meta: e == null ? void 0 : e.meta
4511
- } : void 0, fi = ft, bi = f({
4531
+ } : void 0, hi = ft, fi = f({
4512
4532
  name: "content-component",
4513
4533
  components: {
4514
- EnableEditor: ci,
4534
+ EnableEditor: li,
4515
4535
  InlinedScript: et,
4516
- ContentStyles: pi,
4536
+ ContentStyles: ui,
4517
4537
  Blocks: M,
4518
4538
  DynamicDiv: Q
4519
4539
  },
@@ -4542,7 +4562,7 @@ const pi = /* @__PURE__ */ b(di, [["render", ui]]), mi = ({
4542
4562
  data() {
4543
4563
  var e, t, n, o;
4544
4564
  return {
4545
- scriptStr: $r({
4565
+ scriptStr: Ir({
4546
4566
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
4547
4567
  variationId: (e = this.content) == null ? void 0 : e.testVariationId,
4548
4568
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
@@ -4555,19 +4575,19 @@ const pi = /* @__PURE__ */ b(di, [["render", ui]]), mi = ({
4555
4575
  (r, { component: i, ...s }) => ({
4556
4576
  ...r,
4557
4577
  [s.name]: {
4558
- component: fi(i),
4559
- ...de(s)
4578
+ component: hi(i),
4579
+ ...ce(s)
4560
4580
  }
4561
4581
  }),
4562
4582
  {}
4563
4583
  ),
4564
4584
  builderContextSignal: {
4565
- content: hi({
4585
+ content: mi({
4566
4586
  content: this.content,
4567
4587
  data: this.data
4568
4588
  }),
4569
4589
  localState: void 0,
4570
- rootState: mi({
4590
+ rootState: pi({
4571
4591
  content: this.content,
4572
4592
  data: this.data,
4573
4593
  locale: this.locale
@@ -4583,7 +4603,7 @@ const pi = /* @__PURE__ */ b(di, [["render", ui]]), mi = ({
4583
4603
  ].reduce(
4584
4604
  (r, { component: i, ...s }) => ({
4585
4605
  ...r,
4586
- [s.name]: de(s)
4606
+ [s.name]: ce(s)
4587
4607
  }),
4588
4608
  {}
4589
4609
  ),
@@ -4609,7 +4629,7 @@ const pi = /* @__PURE__ */ b(di, [["render", ui]]), mi = ({
4609
4629
  }
4610
4630
  }
4611
4631
  });
4612
- function gi(e, t, n, o, r, i) {
4632
+ function bi(e, t, n, o, r, i) {
4613
4633
  const s = g("InlinedScript"), l = g("ContentStyles"), a = g("Blocks"), u = g("EnableEditor");
4614
4634
  return d(), k(u, C({
4615
4635
  nonce: e.nonce,
@@ -4655,12 +4675,12 @@ function gi(e, t, n, o, r, i) {
4655
4675
  _: 1
4656
4676
  }, 16, ["nonce", "content", "data", "model", "context", "apiKey", "canTrack", "locale", "enrich", "showContent", "builderContextSignal", "contentWrapper", "contentWrapperProps", "trustedHosts"]);
4657
4677
  }
4658
- const yi = /* @__PURE__ */ b(bi, [["render", gi]]), ki = f({
4678
+ const gi = /* @__PURE__ */ b(fi, [["render", bi]]), yi = f({
4659
4679
  name: "content-variants",
4660
4680
  components: {
4661
4681
  InlinedScript: et,
4662
4682
  InlinedStyles: be,
4663
- ContentComponent: yi
4683
+ ContentComponent: gi
4664
4684
  },
4665
4685
  props: [
4666
4686
  "canTrack",
@@ -4684,12 +4704,12 @@ const yi = /* @__PURE__ */ b(bi, [["render", gi]]), ki = f({
4684
4704
  ],
4685
4705
  data() {
4686
4706
  return {
4687
- shouldRenderVariants: Cr({
4688
- canTrack: G(this.canTrack),
4707
+ shouldRenderVariants: Sr({
4708
+ canTrack: Y(this.canTrack),
4689
4709
  content: this.content
4690
4710
  }),
4691
4711
  TARGET: A,
4692
- getInitVariantsFnsScriptString: Tr,
4712
+ getInitVariantsFnsScriptString: wr,
4693
4713
  getVariants: _
4694
4714
  };
4695
4715
  },
@@ -4698,7 +4718,7 @@ const yi = /* @__PURE__ */ b(bi, [["render", gi]]), ki = f({
4698
4718
  computed: {
4699
4719
  updateCookieAndStylesScriptStr() {
4700
4720
  var e;
4701
- return Ir(
4721
+ return Tr(
4702
4722
  _(this.content).map((t) => ({
4703
4723
  id: t.testVariationId,
4704
4724
  testRatio: t.testRatio
@@ -4714,14 +4734,14 @@ const yi = /* @__PURE__ */ b(bi, [["render", gi]]), ki = f({
4714
4734
  return this.shouldRenderVariants ? {
4715
4735
  ...this.content,
4716
4736
  testVariationId: (e = this.content) == null ? void 0 : e.id
4717
- } : Dn({
4737
+ } : Ln({
4718
4738
  item: this.content,
4719
- canTrack: G(this.canTrack)
4739
+ canTrack: Y(this.canTrack)
4720
4740
  });
4721
4741
  }
4722
4742
  }
4723
4743
  });
4724
- function vi(e, t, n, o, r, i) {
4744
+ function ki(e, t, n, o, r, i) {
4725
4745
  const s = g("InlinedScript"), l = g("InlinedStyles"), a = g("ContentComponent");
4726
4746
  return d(), p(I, null, [
4727
4747
  !e.isNestedRender && e.TARGET !== "reactNative" ? (d(), k(s, {
@@ -4791,7 +4811,7 @@ function vi(e, t, n, o, r, i) {
4791
4811
  }), null, 16, ["nonce", "isNestedRender", "content", "model", "data", "context", "apiKey", "apiVersion", "customComponents", "linkComponent", "canTrack", "locale", "enrich", "isSsrAbTest", "blocksWrapper", "blocksWrapperProps", "contentWrapper", "contentWrapperProps", "trustedHosts"])
4792
4812
  ], 64);
4793
4813
  }
4794
- const Si = /* @__PURE__ */ b(ki, [["render", vi]]), Ci = async ({
4814
+ const vi = /* @__PURE__ */ b(yi, [["render", ki]]), Si = async ({
4795
4815
  builderContextValue: e,
4796
4816
  symbol: t
4797
4817
  }) => {
@@ -4809,9 +4829,9 @@ const Si = /* @__PURE__ */ b(ki, [["render", vi]]), Ci = async ({
4809
4829
  }).catch((n) => {
4810
4830
  B.error("Could not fetch symbol content: ", n);
4811
4831
  });
4812
- }, wi = f({
4832
+ }, Ci = f({
4813
4833
  name: "builder-symbol",
4814
- components: { ContentVariants: Si, DynamicDiv: Q },
4834
+ components: { ContentVariants: vi, DynamicDiv: Q },
4815
4835
  props: [
4816
4836
  "symbol",
4817
4837
  "attributes",
@@ -4860,7 +4880,7 @@ const Si = /* @__PURE__ */ b(ki, [["render", vi]]), Ci = async ({
4860
4880
  },
4861
4881
  methods: {
4862
4882
  setContent() {
4863
- this.contentToUse || Ci({
4883
+ this.contentToUse || Si({
4864
4884
  symbol: this.symbol,
4865
4885
  builderContextValue: this.builderContext
4866
4886
  }).then((e) => {
@@ -4869,7 +4889,7 @@ const Si = /* @__PURE__ */ b(ki, [["render", vi]]), Ci = async ({
4869
4889
  }
4870
4890
  }
4871
4891
  });
4872
- function Ti(e, t, n, o, r, i) {
4892
+ function wi(e, t, n, o, r, i) {
4873
4893
  var l, a, u, h, c;
4874
4894
  const s = g("ContentVariants");
4875
4895
  return d(), p("div", C({ class: e.className }, { ...e.filterAttrs(e.attributes, "v-on:", !1) }, P(e.filterAttrs(e.attributes, "v-on:", !0), !0)), [
@@ -4897,8 +4917,8 @@ function Ti(e, t, n, o, r, i) {
4897
4917
  }, null, 8, ["nonce", "apiVersion", "apiKey", "context", "customComponents", "data", "canTrack", "model", "content", "linkComponent", "blocksWrapper", "contentWrapper"])
4898
4918
  ], 16);
4899
4919
  }
4900
- const Ii = /* @__PURE__ */ b(wi, [["render", Ti]]), Ee = {};
4901
- function Fi(e) {
4920
+ const Ti = /* @__PURE__ */ b(Ci, [["render", wi]]), Ee = {};
4921
+ function Ni(e) {
4902
4922
  if (T()) {
4903
4923
  Object.assign(Ee, e);
4904
4924
  const t = {
@@ -4908,7 +4928,7 @@ function Fi(e) {
4908
4928
  parent.postMessage(t, "*");
4909
4929
  }
4910
4930
  }
4911
- const Oi = async (e) => {
4931
+ const Fi = async (e) => {
4912
4932
  var o, r, i;
4913
4933
  const t = e.path || ((o = e.url) == null ? void 0 : o.pathname) || ((r = e.userAttributes) == null ? void 0 : r.urlPath), n = {
4914
4934
  ...e,
@@ -4929,43 +4949,43 @@ const Oi = async (e) => {
4929
4949
  };
4930
4950
  };
4931
4951
  export {
4932
- Wr as A,
4952
+ Vr as A,
4933
4953
  fe as B,
4934
4954
  fn as C,
4935
- Nr as D,
4955
+ Wr as D,
4936
4956
  ke as E,
4937
4957
  yn as F,
4938
- Pi as G,
4939
- Ai as H,
4958
+ Bi as G,
4959
+ xi as H,
4940
4960
  $n as I,
4941
4961
  Pn as S,
4942
4962
  A as T,
4943
4963
  fr as V,
4944
4964
  be as _,
4945
4965
  un as a,
4946
- Ei as b,
4947
- D as c,
4948
- Vi as d,
4966
+ Pi as b,
4967
+ L as c,
4968
+ Ai as d,
4949
4969
  he as e,
4950
4970
  b as f,
4951
- Le as g,
4952
- te as h,
4953
- xi as i,
4971
+ De as g,
4972
+ G as h,
4973
+ Ei as i,
4954
4974
  ee as j,
4955
- ce as k,
4975
+ le as k,
4956
4976
  Ct as l,
4957
- Ii as m,
4977
+ Ti as m,
4958
4978
  ho as n,
4959
4979
  M as o,
4960
- Si as p,
4980
+ vi as p,
4961
4981
  R as q,
4962
- Fr as r,
4982
+ Nr as r,
4963
4983
  gr as s,
4964
- _r as t,
4965
- Fi as u,
4984
+ Zr as t,
4985
+ Ni as u,
4966
4986
  ot as v,
4967
- fi as w,
4968
- Wi as x,
4969
- Ni as y,
4970
- Oi as z
4987
+ hi as w,
4988
+ Vi as x,
4989
+ Wi as y,
4990
+ Fi as z
4971
4991
  };