@builder.io/sdk-vue 1.0.13 → 1.0.14

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 (49) hide show
  1. package/lib/browser/{block-styles-_qrwihLk.cjs → block-styles-FdmS__fC.cjs} +1 -1
  2. package/lib/browser/{block-styles-w1M0LXrx.js → block-styles-z7sGkBTw.js} +1 -1
  3. package/lib/browser/{block-wrapper-QNIz6Vdv.js → block-wrapper-OUFH1h7n.js} +3 -3
  4. package/lib/browser/{block-wrapper-Au0vulMF.cjs → block-wrapper-R9MDSksK.cjs} +1 -1
  5. package/lib/browser/{component-ref-MbPl2CHV.js → component-ref-LhEgM7QI.js} +2 -2
  6. package/lib/browser/{component-ref-OnQqb8T-.cjs → component-ref-cnl1wJ7V.cjs} +1 -1
  7. package/lib/browser/components/content/components/enable-editor.vue.d.ts +1 -8
  8. package/lib/browser/constants/sdk-version.d.ts +1 -1
  9. package/lib/browser/{get-block-properties-hpq-CJY1.js → get-block-properties-8me_ULV1.js} +1 -1
  10. package/lib/browser/{get-block-properties-lXT88FeT.cjs → get-block-properties-MB_CAVzA.cjs} +1 -1
  11. package/lib/browser/{index-RcE8e_OC.cjs → index-ad1QjFMU.cjs} +13 -13
  12. package/lib/browser/{index-E4WWVJ79.js → index-lxlrEO9W.js} +87 -98
  13. package/lib/browser/index.cjs +1 -1
  14. package/lib/browser/index.js +1 -1
  15. package/lib/browser/{repeated-block-QB5g7Ust.js → repeated-block-5r2RNm5K.js} +2 -2
  16. package/lib/browser/{repeated-block-V_psB9It.cjs → repeated-block-LUwQWzPp.cjs} +1 -1
  17. package/lib/{node/block-styles-GcRpGGGb.js → edge/block-styles-B3awvzyT.js} +1 -1
  18. package/lib/edge/{block-styles-QHMOE0S4.cjs → block-styles-Xju5355Z.cjs} +1 -1
  19. package/lib/{node/block-wrapper-UTBALtPk.cjs → edge/block-wrapper-xCm3uEEu.cjs} +1 -1
  20. package/lib/edge/{block-wrapper-ztawNy2m.js → block-wrapper-y2793ZN5.js} +3 -3
  21. package/lib/{node/component-ref-7bM0jb0c.cjs → edge/component-ref-wcbtAeIh.cjs} +1 -1
  22. package/lib/{node/component-ref-6IKG3Ho0.js → edge/component-ref-znPa_yPg.js} +2 -2
  23. package/lib/edge/components/content/components/enable-editor.vue.d.ts +1 -8
  24. package/lib/edge/constants/sdk-version.d.ts +1 -1
  25. package/lib/{node/get-block-properties-_UpNP38d.js → edge/get-block-properties-abyvkMNc.js} +1 -1
  26. package/lib/edge/{get-block-properties-xvC8pXTy.cjs → get-block-properties-wnBoh6NI.cjs} +1 -1
  27. package/lib/edge/{index-wMgipKIX.cjs → index-17AnhyKn.cjs} +6 -6
  28. package/lib/edge/{index-GAq8Fz-f.js → index-xBtUJWIQ.js} +144 -155
  29. package/lib/edge/index.cjs +1 -1
  30. package/lib/edge/index.js +1 -1
  31. package/lib/edge/{repeated-block-l0D27WF9.cjs → repeated-block-7K33zRnk.cjs} +1 -1
  32. package/lib/edge/{repeated-block-OnIT2pkB.js → repeated-block-e19DbJ9g.js} +2 -2
  33. package/lib/{edge/block-styles-WpbLKq4T.js → node/block-styles-XgGq-J65.js} +1 -1
  34. package/lib/node/{block-styles-Sy-nPU0R.cjs → block-styles-YqghwSbU.cjs} +1 -1
  35. package/lib/node/{block-wrapper-0L33ttpx.js → block-wrapper-I1JmYM5e.js} +3 -3
  36. package/lib/{edge/block-wrapper-tu7QVViI.cjs → node/block-wrapper-sv0gfrKF.cjs} +1 -1
  37. package/lib/{edge/component-ref-WRW-4P1x.js → node/component-ref--eSEr7Gt.js} +2 -2
  38. package/lib/{edge/component-ref-bcfMG081.cjs → node/component-ref-rsCbGdca.cjs} +1 -1
  39. package/lib/node/components/content/components/enable-editor.vue.d.ts +1 -8
  40. package/lib/node/constants/sdk-version.d.ts +1 -1
  41. package/lib/node/{get-block-properties-puEyJ4Mp.cjs → get-block-properties-FOFsIVzD.cjs} +1 -1
  42. package/lib/{edge/get-block-properties-AFdRtMKe.js → node/get-block-properties-jJY9Yegb.js} +1 -1
  43. package/lib/node/{index-F48IXQzv.cjs → index-5GO07feh.cjs} +3 -3
  44. package/lib/node/{index-uoj8LnIN.js → index-IFSblmpH.js} +19 -30
  45. package/lib/node/index.cjs +1 -1
  46. package/lib/node/index.js +1 -1
  47. package/lib/node/{repeated-block-KRo01jEJ.cjs → repeated-block-buhSqMYu.cjs} +1 -1
  48. package/lib/node/{repeated-block-mrsSMqYC.js → repeated-block-lNY93wED.js} +2 -2
  49. package/package.json +1 -1
@@ -2,9 +2,9 @@ var it = Object.defineProperty;
2
2
  var at = (e, t, n) => t in e ? it(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
3
  var _ = (e, t, n) => (at(e, typeof t != "symbol" ? t + "" : t, n), n);
4
4
  import "./style.css";
5
- import { defineComponent as f, openBlock as u, createElementBlock as h, Fragment as $, createBlock as g, resolveDynamicComponent as H, mergeProps as w, toHandlers as E, withCtx as B, renderSlot as P, resolveComponent as k, createTextVNode as lt, toDisplayString as X, defineAsyncComponent as q, createVNode as x, renderList as L, createCommentVNode as v, h as Re, createElementVNode as te, normalizeStyle as ne, normalizeClass as Ee, markRaw as ct } from "vue";
5
+ import { defineComponent as f, openBlock as u, createElementBlock as h, Fragment as $, createBlock as g, resolveDynamicComponent as j, mergeProps as w, toHandlers as E, withCtx as B, renderSlot as P, resolveComponent as k, createTextVNode as lt, toDisplayString as X, defineAsyncComponent as q, createVNode as x, renderList as L, createCommentVNode as v, h as Re, createElementVNode as te, normalizeStyle as ne, normalizeClass as Ee, markRaw as ct } from "vue";
6
6
  const dt = /* @__PURE__ */ new Set(["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen", "link", "meta", "param", "source", "track", "wbr"]), ut = (e) => typeof e == "string" && dt.has(e.toLowerCase());
7
- function U(e = {}, t, n) {
7
+ function O(e = {}, t, n) {
8
8
  const o = {};
9
9
  for (const s in e) {
10
10
  if (!e[s] || n && !s.startsWith(t))
@@ -27,13 +27,13 @@ const pt = f({
27
27
  return n;
28
28
  };
29
29
  function mt(e, t, n, o, s, r) {
30
- return e.isEmptyElement(e.TagName) ? (u(), g(H(e.TagName), w({ key: 1 }, e.attributes, E(e.actionAttributes)), null, 16)) : (u(), h($, { key: 0 }, [
31
- typeof e.TagName == "string" ? (u(), g(H(e.TagName), w({ key: 0 }, e.attributes, E(e.actionAttributes)), {
30
+ return e.isEmptyElement(e.TagName) ? (u(), g(j(e.TagName), w({ key: 1 }, e.attributes, E(e.actionAttributes)), null, 16)) : (u(), h($, { key: 0 }, [
31
+ typeof e.TagName == "string" ? (u(), g(j(e.TagName), w({ key: 0 }, e.attributes, E(e.actionAttributes)), {
32
32
  default: B(() => [
33
33
  P(e.$slots, "default")
34
34
  ]),
35
35
  _: 3
36
- }, 16)) : (u(), g(H(e.TagName), w({ key: 1 }, e.attributes, E(e.actionAttributes)), {
36
+ }, 16)) : (u(), g(j(e.TagName), w({ key: 1 }, e.attributes, E(e.actionAttributes)), {
37
37
  default: B(() => [
38
38
  P(e.$slots, "default")
39
39
  ]),
@@ -67,7 +67,7 @@ const ie = /* @__PURE__ */ y(pt, [["render", mt]]), Zs = /* @__PURE__ */ Object.
67
67
  "text"
68
68
  ],
69
69
  data() {
70
- return { getClassPropName: ae, filterAttrs: U };
70
+ return { getClassPropName: ae, filterAttrs: O };
71
71
  }
72
72
  });
73
73
  function ft(e, t, n, o, s, r) {
@@ -383,7 +383,7 @@ function At(e, t, n = {}) {
383
383
  return o = this, s = arguments, m <= 0 || m > t ? (i && (clearTimeout(i), i = null), a = c, r = e.apply(o, s), i || (o = s = null)) : !i && n.trailing !== !1 && (i = setTimeout(l, m)), r;
384
384
  };
385
385
  }
386
- function O(e, ...t) {
386
+ function U(e, ...t) {
387
387
  const n = Object(e);
388
388
  for (let o = 1; o < arguments.length; o++) {
389
389
  const s = arguments[o];
@@ -431,8 +431,8 @@ function Fe(e) {
431
431
  return;
432
432
  }
433
433
  Array.from(t).forEach((n) => {
434
- de(e, n), n.style.transition = "none", n.style.transitionDelay = "0", O(n.style, e.steps[0].styles), setTimeout(() => {
435
- n.style.transition = `all ${e.duration}s ${le(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s"), O(n.style, e.steps[1].styles), setTimeout(() => {
434
+ de(e, n), n.style.transition = "none", n.style.transitionDelay = "0", U(n.style, e.steps[0].styles), setTimeout(() => {
435
+ n.style.transition = `all ${e.duration}s ${le(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s"), U(n.style, e.steps[1].styles), setTimeout(() => {
436
436
  n.style.transition = "", n.style.transitionDelay = "";
437
437
  }, (e.delay || 0) * 1e3 + e.duration * 1e3 + 100);
438
438
  });
@@ -448,10 +448,10 @@ function Wt(e) {
448
448
  de(e, n);
449
449
  const o = e.steps[0].styles, s = e.steps[1].styles;
450
450
  function r() {
451
- O(n.style, o);
451
+ U(n.style, o);
452
452
  }
453
453
  function i() {
454
- O(n.style, s);
454
+ U(n.style, s);
455
455
  }
456
456
  r(), n.addEventListener("mouseenter", i), n.addEventListener("mouseleave", r), setTimeout(() => {
457
457
  n.style.transition = `all ${e.duration}s ${le(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s");
@@ -469,10 +469,10 @@ function Nt(e) {
469
469
  let o = !1, s = !1;
470
470
  function r() {
471
471
  !o && a(n) ? (o = !0, s = !0, setTimeout(() => {
472
- O(n.style, e.steps[1].styles), e.repeat || document.removeEventListener("scroll", i), setTimeout(() => {
472
+ U(n.style, e.steps[1].styles), e.repeat || document.removeEventListener("scroll", i), setTimeout(() => {
473
473
  s = !1, e.repeat || (n.style.transition = "", n.style.transitionDelay = "");
474
474
  }, (e.duration + (e.delay || 0)) * 1e3 + 100);
475
- })) : e.repeat && o && !s && !a(n) && (o = !1, O(n.style, e.steps[0].styles));
475
+ })) : e.repeat && o && !s && !a(n) && (o = !1, U(n.style, e.steps[0].styles));
476
476
  }
477
477
  const i = At(r, 200, {
478
478
  leading: !1
@@ -483,7 +483,7 @@ function Nt(e) {
483
483
  }
484
484
  const l = e.steps[0].styles;
485
485
  function c() {
486
- O(n.style, l);
486
+ U(n.style, l);
487
487
  }
488
488
  c(), setTimeout(() => {
489
489
  n.style.transition = `all ${e.duration}s ${le(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s");
@@ -493,23 +493,23 @@ function Nt(e) {
493
493
  }), r();
494
494
  });
495
495
  }
496
- const Ft = (e) => e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase(), Ue = (e) => Object.entries(e).map(([n, o]) => {
496
+ const Ft = (e) => e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase(), Oe = (e) => Object.entries(e).map(([n, o]) => {
497
497
  if (typeof o == "string")
498
498
  return `${Ft(n)}: ${o};`;
499
- }).filter(F), Ut = (e) => Ue(e).join(`
499
+ }).filter(F), Ot = (e) => Oe(e).join(`
500
500
  `), _s = ({
501
501
  mediaQuery: e,
502
502
  className: t,
503
503
  styles: n
504
504
  }) => {
505
505
  const o = `.${t} {
506
- ${Ut(n)}
506
+ ${Ot(n)}
507
507
  }`;
508
508
  return e ? `${e} {
509
509
  ${o}
510
510
  }` : o;
511
511
  };
512
- function Ot({
512
+ function Ut({
513
513
  style: e
514
514
  }) {
515
515
  return e;
@@ -517,17 +517,17 @@ function Ot({
517
517
  const er = ({
518
518
  block: e,
519
519
  context: t
520
- }) => Oe(Ot({
520
+ }) => Ue(Ut({
521
521
  style: e.style || {},
522
522
  context: t,
523
523
  block: e
524
524
  }));
525
- function Oe(e) {
525
+ function Ue(e) {
526
526
  switch (V) {
527
527
  case "svelte":
528
528
  case "vue":
529
529
  case "solid":
530
- return Ue(e).join(" ");
530
+ return Oe(e).join(" ");
531
531
  case "qwik":
532
532
  case "reactNative":
533
533
  case "react":
@@ -591,22 +591,22 @@ const Lt = ({
591
591
  },
592
592
  block: o
593
593
  }));
594
- }, Dt = () => import("./block-styles-w1M0LXrx.js").then((e) => e.default).catch((e) => {
594
+ }, Dt = () => import("./block-styles-z7sGkBTw.js").then((e) => e.default).catch((e) => {
595
595
  throw console.error(
596
596
  "Error while attempting to dynamically import component BlockStyles at ./components/block-styles.vue",
597
597
  e
598
598
  ), e;
599
- }), Ht = () => import("./block-wrapper-QNIz6Vdv.js").then((e) => e.default).catch((e) => {
599
+ }), jt = () => import("./block-wrapper-OUFH1h7n.js").then((e) => e.default).catch((e) => {
600
600
  throw console.error(
601
601
  "Error while attempting to dynamically import component BlockWrapper at ./components/block-wrapper.vue",
602
602
  e
603
603
  ), e;
604
- }), jt = () => import("./component-ref-MbPl2CHV.js").then((e) => e.default).catch((e) => {
604
+ }), Ht = () => import("./component-ref-LhEgM7QI.js").then((e) => e.default).catch((e) => {
605
605
  throw console.error(
606
606
  "Error while attempting to dynamically import component ComponentRef at ./components/component-ref/component-ref.vue",
607
607
  e
608
608
  ), e;
609
- }), Kt = () => import("./repeated-block-QB5g7Ust.js").then((e) => e.default).catch((e) => {
609
+ }), Kt = () => import("./repeated-block-5r2RNm5K.js").then((e) => e.default).catch((e) => {
610
610
  throw console.error(
611
611
  "Error while attempting to dynamically import component RepeatedBlock at ./components/repeated-block.vue",
612
612
  e
@@ -615,9 +615,9 @@ const Lt = ({
615
615
  name: "block",
616
616
  components: {
617
617
  BlockStyles: q(Dt),
618
- ComponentRef: q(jt),
618
+ ComponentRef: q(Ht),
619
619
  RepeatedBlock: q(Kt),
620
- BlockWrapper: q(Ht)
620
+ BlockWrapper: q(jt)
621
621
  },
622
622
  props: ["block", "context", "registeredComponents", "linkComponent"],
623
623
  mounted() {
@@ -801,7 +801,7 @@ const ue = /* @__PURE__ */ y(zt, [["render", qt]]), tr = /* @__PURE__ */ Object.
801
801
  }
802
802
  });
803
803
  function Gt(e, t, n, o, s, r) {
804
- return u(), g(H(e.BlocksWrapper), w({
804
+ return u(), g(j(e.BlocksWrapper), w({
805
805
  class: e.className + " component-1o2kztlxdt6",
806
806
  "builder-path": e.path,
807
807
  "builder-parent-id": e.parent,
@@ -929,7 +929,7 @@ const Z = /* @__PURE__ */ y(Qt, [["render", Xt]]), pe = f({
929
929
  flexDir: this.stackColumnsAt === "never" ? "row" : this.reverseColumnsWhenStacked ? "column-reverse" : "column",
930
930
  TARGET: V,
931
931
  getClassPropName: ae,
932
- mapStyleObjToStrIfNeeded: Oe
932
+ mapStyleObjToStrIfNeeded: Ue
933
933
  };
934
934
  },
935
935
  computed: {
@@ -1199,7 +1199,7 @@ const mn = /* @__PURE__ */ y(ln, [["render", pn], ["__scopeId", "data-v-c23615d2
1199
1199
  name: "builder-section-component",
1200
1200
  props: ["attributes", "maxWidth"],
1201
1201
  data() {
1202
- return { filterAttrs: U };
1202
+ return { filterAttrs: O };
1203
1203
  }
1204
1204
  });
1205
1205
  function fn(e, t, n, o, s, r) {
@@ -1243,7 +1243,7 @@ const bn = /* @__PURE__ */ y(hn, [["render", fn]]), gn = (e) => {
1243
1243
  }) => {
1244
1244
  const s = (I() ? location.protocol === "https:" : !0) ? kn : [[]], r = n ? [["expires", n.toUTCString()]] : [[]], i = [[e, t], ...r, ["path", "/"], ["domain", gn(window.location.hostname)], ...s];
1245
1245
  return yn(i);
1246
- }, He = async ({
1246
+ }, je = async ({
1247
1247
  name: e,
1248
1248
  value: t,
1249
1249
  expires: n,
@@ -1274,11 +1274,11 @@ const bn = /* @__PURE__ */ y(hn, [["render", fn]]), gn = (e) => {
1274
1274
  }), In = ({
1275
1275
  contentId: e,
1276
1276
  value: t
1277
- }) => He({
1277
+ }) => je({
1278
1278
  name: me(e),
1279
1279
  value: t,
1280
1280
  canTrack: !0
1281
- }), je = (e) => F(e.id) && F(e.variations) && Object.keys(e.variations).length > 0, $n = ({
1281
+ }), He = (e) => F(e.id) && F(e.variations) && Object.keys(e.variations).length > 0, $n = ({
1282
1282
  id: e,
1283
1283
  variations: t
1284
1284
  }) => {
@@ -1321,7 +1321,7 @@ const bn = /* @__PURE__ */ y(hn, [["render", fn]]), gn = (e) => {
1321
1321
  return e;
1322
1322
  if (!e)
1323
1323
  return;
1324
- if (!je(e))
1324
+ if (!He(e))
1325
1325
  return e;
1326
1326
  const n = wn({
1327
1327
  contentId: e.id
@@ -1340,7 +1340,7 @@ const bn = /* @__PURE__ */ y(hn, [["render", fn]]), gn = (e) => {
1340
1340
  item: e,
1341
1341
  canTrack: t
1342
1342
  }) => {
1343
- if (!t || !je(e))
1343
+ if (!t || !He(e))
1344
1344
  return e;
1345
1345
  const o = await Cn({
1346
1346
  contentId: e.id
@@ -1355,7 +1355,7 @@ const bn = /* @__PURE__ */ y(hn, [["render", fn]]), gn = (e) => {
1355
1355
  ...e,
1356
1356
  ...s
1357
1357
  };
1358
- }, j = (e) => F(e) ? e : !0, En = {
1358
+ }, H = (e) => F(e) ? e : !0, En = {
1359
1359
  name: "Core:Button",
1360
1360
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F81a15681c3e74df09677dfc57a615b13",
1361
1361
  defaultStyles: {
@@ -1771,7 +1771,7 @@ function Nn(e, t, n, o, s, r) {
1771
1771
  }, null, 8, ["parent", "path", "context", "blocks"])
1772
1772
  ], 16);
1773
1773
  }
1774
- const Fn = /* @__PURE__ */ y(Wn, [["render", Nn]]), Un = {
1774
+ const Fn = /* @__PURE__ */ y(Wn, [["render", Nn]]), On = {
1775
1775
  name: "Symbol",
1776
1776
  noWrap: !0,
1777
1777
  static: !0,
@@ -1804,7 +1804,7 @@ const Fn = /* @__PURE__ */ y(Wn, [["render", Nn]]), Un = {
1804
1804
  hideFromUI: !0,
1805
1805
  type: "boolean"
1806
1806
  }]
1807
- }, On = {
1807
+ }, Un = {
1808
1808
  name: "Text",
1809
1809
  static: !0,
1810
1810
  isRSC: !0,
@@ -1836,7 +1836,7 @@ function Dn(e, t, n, o, s, r) {
1836
1836
  }
1837
1837
  }, null, 8, Mn);
1838
1838
  }
1839
- const Hn = /* @__PURE__ */ y(Ln, [["render", Dn]]), jn = {
1839
+ const jn = /* @__PURE__ */ y(Ln, [["render", Dn]]), Hn = {
1840
1840
  name: "Custom Code",
1841
1841
  static: !0,
1842
1842
  requiredPermissions: ["editCode"],
@@ -2244,7 +2244,7 @@ const eo = /* @__PURE__ */ y(Xn, [["render", _n]]), to = {
2244
2244
  formState: "unsubmitted",
2245
2245
  responseData: null,
2246
2246
  formErrorMessage: "",
2247
- filterAttrs: U
2247
+ filterAttrs: O
2248
2248
  };
2249
2249
  },
2250
2250
  methods: {
@@ -2480,7 +2480,7 @@ const co = /* @__PURE__ */ y(ro, [["render", lo], ["__scopeId", "data-v-541b06ed
2480
2480
  "required"
2481
2481
  ],
2482
2482
  data() {
2483
- return { isEditing: R, filterAttrs: U };
2483
+ return { isEditing: R, filterAttrs: O };
2484
2484
  }
2485
2485
  }), mo = ["placeholder", "type", "name", "value", "defaultValue", "required"];
2486
2486
  function ho(e, t, n, o, s, r) {
@@ -2540,7 +2540,7 @@ const fo = /* @__PURE__ */ y(po, [["render", ho]]), bo = {
2540
2540
  name: "builder-select-component",
2541
2541
  props: ["attributes", "value", "defaultValue", "name", "options"],
2542
2542
  data() {
2543
- return { isEditing: R, filterAttrs: U };
2543
+ return { isEditing: R, filterAttrs: O };
2544
2544
  }
2545
2545
  }), yo = ["value", "defaultValue", "name"], ko = ["value"];
2546
2546
  function So(e, t, n, o, s, r) {
@@ -2585,7 +2585,7 @@ const vo = /* @__PURE__ */ y(go, [["render", So]]), Co = {
2585
2585
  name: "builder-submit-button",
2586
2586
  props: ["attributes", "text"],
2587
2587
  data() {
2588
- return { filterAttrs: U };
2588
+ return { filterAttrs: O };
2589
2589
  }
2590
2590
  });
2591
2591
  function Io(e, t, n, o, s, r) {
@@ -2616,7 +2616,7 @@ const $o = /* @__PURE__ */ y(wo, [["render", Io]]), To = {
2616
2616
  "attributes"
2617
2617
  ],
2618
2618
  data() {
2619
- return { isEditing: R, filterAttrs: U };
2619
+ return { isEditing: R, filterAttrs: O };
2620
2620
  }
2621
2621
  }), Eo = ["alt", "src"];
2622
2622
  function Po(e, t, n, o, s, r) {
@@ -2765,7 +2765,7 @@ const Vo = /* @__PURE__ */ y(Ro, [["render", Po]]), Ao = {
2765
2765
  flexDirection: "column",
2766
2766
  alignItems: "stretch"
2767
2767
  }
2768
- }, Uo = {
2768
+ }, Oo = {
2769
2769
  key: 2,
2770
2770
  style: {
2771
2771
  pointerEvents: "none",
@@ -2779,7 +2779,7 @@ const Vo = /* @__PURE__ */ y(Ro, [["render", Po]]), Ao = {
2779
2779
  height: "100%"
2780
2780
  }
2781
2781
  };
2782
- function Oo(e, t, n, o, s, r) {
2782
+ function Uo(e, t, n, o, s, r) {
2783
2783
  var i, a, l, c, m, d, p;
2784
2784
  return u(), h("div", Bo, [
2785
2785
  te("video", w({
@@ -2820,14 +2820,14 @@ function Oo(e, t, n, o, s, r) {
2820
2820
  (m = (c = e.builderBlock) == null ? void 0 : c.children) != null && m.length && e.fitContent ? (u(), h("div", Fo, [
2821
2821
  P(e.$slots, "default")
2822
2822
  ])) : v("", !0),
2823
- (p = (d = e.builderBlock) == null ? void 0 : d.children) != null && p.length && !e.fitContent ? (u(), h("div", Uo, [
2823
+ (p = (d = e.builderBlock) == null ? void 0 : d.children) != null && p.length && !e.fitContent ? (u(), h("div", Oo, [
2824
2824
  P(e.$slots, "default")
2825
2825
  ])) : v("", !0)
2826
2826
  ]);
2827
2827
  }
2828
- const Lo = /* @__PURE__ */ y(xo, [["render", Oo]]), Mo = () => [{
2828
+ const Lo = /* @__PURE__ */ y(xo, [["render", Uo]]), Mo = () => [{
2829
2829
  component: Jn,
2830
- ...jn
2830
+ ...Hn
2831
2831
  }, {
2832
2832
  component: eo,
2833
2833
  ...Gn
@@ -2869,24 +2869,24 @@ const Lo = /* @__PURE__ */ y(xo, [["render", Oo]]), Mo = () => [{
2869
2869
  ...Bn
2870
2870
  }, {
2871
2871
  component: Gs,
2872
- ...Un
2873
- }, {
2874
- component: Hn,
2875
2872
  ...On
2873
+ }, {
2874
+ component: jn,
2875
+ ...Un
2876
2876
  }, ...Mo()], Do = (e) => ({
2877
2877
  type: "builder.registerComponent",
2878
2878
  data: se(e)
2879
- }), Ho = (e) => {
2879
+ }), jo = (e) => {
2880
2880
  const t = e.toString().trim();
2881
2881
  return `return (${!t.startsWith("function") && !t.startsWith("(") ? "function " : ""}${t}).apply(this, arguments)`;
2882
- }, jo = (e) => typeof e == "function" ? Ho(e) : K(e), se = ({
2882
+ }, Ho = (e) => typeof e == "function" ? jo(e) : K(e), se = ({
2883
2883
  inputs: e,
2884
2884
  ...t
2885
2885
  }) => ({
2886
2886
  ...K(t),
2887
2887
  inputs: e == null ? void 0 : e.map((n) => Object.entries(n).reduce((o, [s, r]) => ({
2888
2888
  ...o,
2889
- [s]: jo(r)
2889
+ [s]: Ho(r)
2890
2890
  }), {}))
2891
2891
  }), Ko = `function updateCookiesAndStyles(contentId, variants, isHydrationTarget) {
2892
2892
  function getAndSetVariantId() {
@@ -3097,7 +3097,7 @@ const os = async (e) => {
3097
3097
  const t = he(e);
3098
3098
  return await (await Qe(t.href)).json();
3099
3099
  }, ss = async (e, t, n = he(e)) => {
3100
- const o = j(e.canTrack);
3100
+ const o = H(e.canTrack);
3101
3101
  if (n.search.includes("preview="), !o || !(I() || V === "reactNative"))
3102
3102
  return t.results;
3103
3103
  try {
@@ -3161,7 +3161,7 @@ const _e = "builderSessionId", ls = async ({
3161
3161
  }, cs = () => Ze(), ds = ({
3162
3162
  id: e,
3163
3163
  canTrack: t
3164
- }) => He({
3164
+ }) => je({
3165
3165
  name: _e,
3166
3166
  value: e,
3167
3167
  canTrack: t
@@ -3320,7 +3320,7 @@ function nt(e, t) {
3320
3320
  const n = new URL(t.origin), o = n.hostname;
3321
3321
  return (e || vs).findIndex((s) => s.startsWith("*.") ? o.endsWith(s.slice(1)) : s === o) > -1;
3322
3322
  }
3323
- const Cs = "1.0.13", Ie = {};
3323
+ const Cs = "1.0.14", Ie = {};
3324
3324
  function ws(e, t) {
3325
3325
  let n = Ie[e];
3326
3326
  if (n || (n = Ie[e] = []), n.push(t), I()) {
@@ -3487,10 +3487,6 @@ const ot = (e = {}) => {
3487
3487
  ],
3488
3488
  data() {
3489
3489
  return {
3490
- forceReRenderCount: 0,
3491
- firstRender: !0,
3492
- lastUpdated: 0,
3493
- shouldSendResetCookie: !1,
3494
3490
  ContentWrapper: this.contentWrapper || "div",
3495
3491
  httpReqsData: {},
3496
3492
  clicked: !1,
@@ -3509,7 +3505,7 @@ const ot = (e = {}) => {
3509
3505
  if (I()) {
3510
3506
  if (R() && this.$refs.elementRef && this.$refs.elementRef.dispatchEvent(
3511
3507
  new CustomEvent("initeditingbldr")
3512
- ), this.builderContextSignal.content && j(this.canTrack)) {
3508
+ ), this.builderContextSignal.content && H(this.canTrack)) {
3513
3509
  const r = (n = this.builderContextSignal.content) == null ? void 0 : n.testVariationId, i = (o = this.builderContextSignal.content) == null ? void 0 : o.id, a = this.apiKey;
3514
3510
  re({
3515
3511
  type: "impression",
@@ -3536,33 +3532,31 @@ const ot = (e = {}) => {
3536
3532
  },
3537
3533
  immediate: !0
3538
3534
  },
3539
- onUpdateHook1: { handler() {
3540
- }, immediate: !0 },
3541
- onUpdateHook2: {
3535
+ onUpdateHook1: {
3542
3536
  handler() {
3543
3537
  this.evaluateJsCode();
3544
3538
  },
3545
3539
  immediate: !0
3546
3540
  },
3547
- onUpdateHook3: {
3541
+ onUpdateHook2: {
3548
3542
  handler() {
3549
3543
  this.runHttpRequests();
3550
3544
  },
3551
3545
  immediate: !0
3552
3546
  },
3553
- onUpdateHook4: {
3547
+ onUpdateHook3: {
3554
3548
  handler() {
3555
3549
  this.emitStateUpdate();
3556
3550
  },
3557
3551
  immediate: !0
3558
3552
  },
3559
- onUpdateHook5: {
3553
+ onUpdateHook4: {
3560
3554
  handler() {
3561
3555
  this.data && this.mergeNewRootState(this.data);
3562
3556
  },
3563
3557
  immediate: !0
3564
3558
  },
3565
- onUpdateHook6: {
3559
+ onUpdateHook5: {
3566
3560
  handler() {
3567
3561
  this.locale && this.mergeNewRootState({
3568
3562
  locale: this.locale
@@ -3584,33 +3578,28 @@ const ot = (e = {}) => {
3584
3578
  };
3585
3579
  },
3586
3580
  onUpdateHook1() {
3587
- return {
3588
- 0: this.shouldSendResetCookie
3589
- };
3590
- },
3591
- onUpdateHook2() {
3592
3581
  var e, t;
3593
3582
  return {
3594
3583
  0: (t = (e = this.builderContextSignal.content) == null ? void 0 : e.data) == null ? void 0 : t.jsCode
3595
3584
  };
3596
3585
  },
3597
- onUpdateHook3() {
3586
+ onUpdateHook2() {
3598
3587
  var e, t;
3599
3588
  return {
3600
3589
  0: (t = (e = this.builderContextSignal.content) == null ? void 0 : e.data) == null ? void 0 : t.httpRequests
3601
3590
  };
3602
3591
  },
3603
- onUpdateHook4() {
3592
+ onUpdateHook3() {
3604
3593
  return {
3605
3594
  0: this.builderContextSignal.rootState
3606
3595
  };
3607
3596
  },
3608
- onUpdateHook5() {
3597
+ onUpdateHook4() {
3609
3598
  return {
3610
3599
  0: this.data
3611
3600
  };
3612
3601
  },
3613
- onUpdateHook6() {
3602
+ onUpdateHook5() {
3614
3603
  return {
3615
3604
  0: this.locale
3616
3605
  };
@@ -3650,17 +3639,17 @@ const ot = (e = {}) => {
3650
3639
  configureSdk: (t) => {
3651
3640
  var s;
3652
3641
  const { breakpoints: n, contentId: o } = t;
3653
- !o || o !== ((s = this.builderContextSignal.content) == null ? void 0 : s.id) || n && (this.mergeNewContent({
3642
+ !o || o !== ((s = this.builderContextSignal.content) == null ? void 0 : s.id) || n && this.mergeNewContent({
3654
3643
  meta: {
3655
3644
  breakpoints: n
3656
3645
  }
3657
- }), this.forceReRenderCount = this.forceReRenderCount + 1);
3646
+ });
3658
3647
  },
3659
3648
  animation: (t) => {
3660
3649
  Fe(t);
3661
3650
  },
3662
3651
  contentUpdate: (t) => {
3663
- this.mergeNewContent(t), this.forceReRenderCount = this.forceReRenderCount + 1;
3652
+ this.mergeNewContent(t);
3664
3653
  }
3665
3654
  }
3666
3655
  })(e);
@@ -3686,7 +3675,7 @@ const ot = (e = {}) => {
3686
3675
  const o = (t = this.builderContextSignal.content) == null ? void 0 : t.testVariationId, s = (n = this.builderContextSignal.content) == null ? void 0 : n.id;
3687
3676
  re({
3688
3677
  type: "click",
3689
- canTrack: j(this.canTrack),
3678
+ canTrack: H(this.canTrack),
3690
3679
  contentId: s,
3691
3680
  apiKey: this.apiKey,
3692
3681
  variationId: o !== s ? o : void 0,
@@ -3752,7 +3741,7 @@ const ot = (e = {}) => {
3752
3741
  );
3753
3742
  },
3754
3743
  elementRef_onIniteditingbldr(e) {
3755
- this.forceReRenderCount = this.forceReRenderCount + 1, window.addEventListener("message", this.processMessage), Is(), ot({
3744
+ window.addEventListener("message", this.processMessage), Is(), ot({
3756
3745
  ...this.locale ? {
3757
3746
  locale: this.locale
3758
3747
  } : {},
@@ -3789,8 +3778,8 @@ const ot = (e = {}) => {
3789
3778
  });
3790
3779
  function Ts(e, t, n, o, s, r) {
3791
3780
  var i, a, l;
3792
- return e.builderContextSignal.content ? (u(), g(H(e.ContentWrapper), w({
3793
- key: e.forceReRenderCount,
3781
+ return e.builderContextSignal.content ? (u(), g(j(e.ContentWrapper), w({
3782
+ key: 0,
3794
3783
  ref: "elementRef",
3795
3784
  onClick: (c) => e.onClick(c),
3796
3785
  "builder-content-id": (i = e.builderContextSignal.content) == null ? void 0 : i.id,
@@ -3902,7 +3891,7 @@ const Ns = /* @__PURE__ */ y(Bs, [["render", Ws]]), Fs = ({
3902
3891
  locale: n
3903
3892
  } : {}
3904
3893
  };
3905
- }, Us = ({
3894
+ }, Os = ({
3906
3895
  content: e,
3907
3896
  data: t
3908
3897
  }) => e ? {
@@ -3912,7 +3901,7 @@ const Ns = /* @__PURE__ */ y(Bs, [["render", Ws]]), Fs = ({
3912
3901
  ...t
3913
3902
  },
3914
3903
  meta: e == null ? void 0 : e.meta
3915
- } : void 0, Os = ct, Ls = f({
3904
+ } : void 0, Us = ct, Ls = f({
3916
3905
  name: "content-component",
3917
3906
  components: {
3918
3907
  EnableEditor: Rs,
@@ -3957,14 +3946,14 @@ const Ns = /* @__PURE__ */ y(Bs, [["render", Ws]]), Fs = ({
3957
3946
  (n, { component: o, ...s }) => ({
3958
3947
  ...n,
3959
3948
  [s.name]: {
3960
- component: Os(o),
3949
+ component: Us(o),
3961
3950
  ...se(s)
3962
3951
  }
3963
3952
  }),
3964
3953
  {}
3965
3954
  ),
3966
3955
  builderContextSignal: {
3967
- content: Us({
3956
+ content: Os({
3968
3957
  content: this.content,
3969
3958
  data: this.data
3970
3959
  }),
@@ -4052,7 +4041,7 @@ function Ms(e, t, n, o, s, r) {
4052
4041
  _: 1
4053
4042
  }, 16, ["content", "data", "model", "context", "apiKey", "canTrack", "locale", "enrich", "showContent", "builderContextSignal", "contentWrapper", "contentWrapperProps", "linkComponent", "trustedHosts"]);
4054
4043
  }
4055
- const Ds = /* @__PURE__ */ y(Ls, [["render", Ms]]), Hs = f({
4044
+ const Ds = /* @__PURE__ */ y(Ls, [["render", Ms]]), js = f({
4056
4045
  name: "content-variants",
4057
4046
  components: {
4058
4047
  InlinedScript: Ye,
@@ -4081,7 +4070,7 @@ const Ds = /* @__PURE__ */ y(Ls, [["render", Ms]]), Hs = f({
4081
4070
  data() {
4082
4071
  return {
4083
4072
  shouldRenderVariants: qo({
4084
- canTrack: j(this.canTrack),
4073
+ canTrack: H(this.canTrack),
4085
4074
  content: this.content
4086
4075
  }),
4087
4076
  TARGET: V,
@@ -4113,12 +4102,12 @@ const Ds = /* @__PURE__ */ y(Ls, [["render", Ms]]), Hs = f({
4113
4102
  testVariationId: (e = this.content) == null ? void 0 : e.id
4114
4103
  } : Tn({
4115
4104
  item: this.content,
4116
- canTrack: j(this.canTrack)
4105
+ canTrack: H(this.canTrack)
4117
4106
  });
4118
4107
  }
4119
4108
  }
4120
4109
  });
4121
- function js(e, t, n, o, s, r) {
4110
+ function Hs(e, t, n, o, s, r) {
4122
4111
  var c;
4123
4112
  const i = k("inlined-script"), a = k("inlined-styles"), l = k("content-component");
4124
4113
  return u(), h($, null, [
@@ -4180,7 +4169,7 @@ function js(e, t, n, o, s, r) {
4180
4169
  }), null, 16, ["isNestedRender", "content", "model", "data", "context", "apiKey", "apiVersion", "customComponents", "linkComponent", "canTrack", "locale", "enrich", "isSsrAbTest", "blocksWrapper", "blocksWrapperProps", "contentWrapper", "contentWrapperProps", "trustedHosts"])
4181
4170
  ], 64);
4182
4171
  }
4183
- const Ks = /* @__PURE__ */ y(Hs, [["render", js]]), zs = async ({
4172
+ const Ks = /* @__PURE__ */ y(js, [["render", Hs]]), zs = async ({
4184
4173
  builderContextValue: e,
4185
4174
  symbol: t
4186
4175
  }) => {
@@ -4212,7 +4201,7 @@ const Ks = /* @__PURE__ */ y(Hs, [["render", js]]), zs = async ({
4212
4201
  ],
4213
4202
  data() {
4214
4203
  var e;
4215
- return { contentToUse: (e = this.symbol) == null ? void 0 : e.content, filterAttrs: U };
4204
+ return { contentToUse: (e = this.symbol) == null ? void 0 : e.content, filterAttrs: O };
4216
4205
  },
4217
4206
  mounted() {
4218
4207
  this.setContent();
@@ -4334,7 +4323,7 @@ export {
4334
4323
  oe as j,
4335
4324
  bt as k,
4336
4325
  Gs as l,
4337
- Hn as m,
4326
+ jn as m,
4338
4327
  Z as n,
4339
4328
  Ks as o,
4340
4329
  R as p,
@@ -4344,7 +4333,7 @@ export {
4344
4333
  rr as t,
4345
4334
  Xe as u,
4346
4335
  or as v,
4347
- Os as w,
4336
+ Us as w,
4348
4337
  sr as x,
4349
4338
  ir as y,
4350
4339
  ss as z
@@ -1 +1 @@
1
- var t=require("./style.css");Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-RcE8e_OC.cjs");exports.Blocks=e.Blocks;exports.Button=e.Button;exports.Columns=e.Columns;exports.Content=e.ContentVariants;exports.Fragment=e.Fragment;exports.Image=e.Image;exports.Section=e.Section;exports.Symbol=e.Symbol;exports.Text=e.Text;exports.Video=e.Video;exports._processContentResult=e._processContentResult;exports.createRegisterComponentMessage=e.createRegisterComponentMessage;exports.fetchBuilderProps=e.fetchBuilderProps;exports.fetchEntries=e.fetchEntries;exports.fetchOneEntry=e.fetchOneEntry;exports.getBuilderSearchParams=e.getBuilderSearchParams;exports.isEditing=e.isEditing;exports.isPreviewing=e.isPreviewing;exports.register=e.register;exports.setEditorSettings=e.setEditorSettings;exports.subscribeToEditor=e.subscribeToEditor;exports.track=e.track;
1
+ var t=require("./style.css");Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./index-ad1QjFMU.cjs");exports.Blocks=e.Blocks;exports.Button=e.Button;exports.Columns=e.Columns;exports.Content=e.ContentVariants;exports.Fragment=e.Fragment;exports.Image=e.Image;exports.Section=e.Section;exports.Symbol=e.Symbol;exports.Text=e.Text;exports.Video=e.Video;exports._processContentResult=e._processContentResult;exports.createRegisterComponentMessage=e.createRegisterComponentMessage;exports.fetchBuilderProps=e.fetchBuilderProps;exports.fetchEntries=e.fetchEntries;exports.fetchOneEntry=e.fetchOneEntry;exports.getBuilderSearchParams=e.getBuilderSearchParams;exports.isEditing=e.isEditing;exports.isPreviewing=e.isPreviewing;exports.register=e.register;exports.setEditorSettings=e.setEditorSettings;exports.subscribeToEditor=e.subscribeToEditor;exports.track=e.track;
@@ -1,5 +1,5 @@
1
1
  import "./style.css";
2
- import { n as t, k as r, C as o, o as i, F as n, I as c, S as g, l as m, m as l, V as u, z as d, r as p, y as C, A as E, D as S, u as f, p as h, q as B, s as b, t as k, x, v as y } from "./index-E4WWVJ79.js";
2
+ import { n as t, k as r, C as o, o as i, F as n, I as c, S as g, l as m, m as l, V as u, z as d, r as p, y as C, A as E, D as S, u as f, p as h, q as B, s as b, t as k, x, v as y } from "./index-lxlrEO9W.js";
3
3
  export {
4
4
  t as Blocks,
5
5
  r as Button,
@@ -1,7 +1,7 @@
1
1
  import "./style.css";
2
2
  import { defineComponent as t, defineAsyncComponent as n, resolveComponent as r, openBlock as p, createBlock as c } from "vue";
3
- import { j as s, e as l } from "./index-E4WWVJ79.js";
4
- const i = () => import("./index-E4WWVJ79.js").then((o) => o.G).then((o) => o.default).catch((o) => {
3
+ import { j as s, e as l } from "./index-lxlrEO9W.js";
4
+ const i = () => import("./index-lxlrEO9W.js").then((o) => o.G).then((o) => o.default).catch((o) => {
5
5
  throw console.error(
6
6
  "Error while attempting to dynamically import component Block at ../block.vue",
7
7
  o