@builder.io/sdk-vue 0.2.2 → 0.2.3

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 (99) hide show
  1. package/package.json +1 -1
  2. package/packages/_vue2/dist/{block-styles.4667431d.js → block-styles.5729b057.js} +18 -17
  3. package/packages/_vue2/dist/block-styles.cb3c2dd0.cjs +1 -0
  4. package/packages/{_vue3/dist/css.3241302b.cjs → _vue2/dist/css.2efa95fa.cjs} +1 -1
  5. package/packages/{_vue3/dist/css.81a21c5a.js → _vue2/dist/css.a54ddc90.js} +1 -1
  6. package/packages/_vue2/dist/{index.eb91dc82.js → index.6a9eec41.js} +356 -354
  7. package/packages/_vue2/dist/index.8547cce2.cjs +29 -0
  8. package/packages/_vue2/dist/{render-block.6f9a607a.js → render-block.4c7d7ca1.js} +43 -42
  9. package/packages/_vue2/dist/render-block.753d2325.cjs +3 -0
  10. package/packages/_vue2/dist/render-component.84d45798.js +38 -0
  11. package/packages/_vue2/dist/render-component.90275cfa.cjs +1 -0
  12. package/packages/_vue2/dist/render-inlined-styles.1999f52e.cjs +1 -0
  13. package/packages/_vue2/dist/render-inlined-styles.1fa49816.js +34 -0
  14. package/packages/_vue2/dist/{render-repeated-block.1bb5c2fb.js → render-repeated-block.900e2543.js} +15 -13
  15. package/packages/_vue2/dist/render-repeated-block.f522a309.cjs +1 -0
  16. package/packages/_vue2/dist/render-styles.15b8cdf0.cjs +31 -0
  17. package/packages/_vue2/dist/{render-styles.0d1f8872.js → render-styles.591ca7be.js} +26 -25
  18. package/packages/_vue2/dist/sdk.cjs +1 -1
  19. package/packages/_vue2/dist/sdk.js +23 -22
  20. package/packages/_vue2/dist/src/blocks/button/button.vue.d.ts +19 -8
  21. package/packages/_vue2/dist/src/blocks/columns/columns.vue.d.ts +29 -174
  22. package/packages/_vue2/dist/src/blocks/custom-code/custom-code.vue.d.ts +9 -13
  23. package/packages/_vue2/dist/src/blocks/embed/embed.vue.d.ts +13 -20
  24. package/packages/_vue2/dist/src/blocks/fragment/fragment.vue.d.ts +1 -4
  25. package/packages/_vue2/dist/src/blocks/image/image.vue.d.ts +72 -0
  26. package/packages/_vue2/dist/src/blocks/img/img.vue.d.ts +8 -11
  27. package/packages/_vue2/dist/src/blocks/section/section.vue.d.ts +12 -7
  28. package/packages/_vue2/dist/src/blocks/symbol/symbol.vue.d.ts +15 -245
  29. package/packages/_vue2/dist/src/blocks/text/text.vue.d.ts +7 -4
  30. package/packages/_vue2/dist/src/blocks/video/video.vue.d.ts +42 -7
  31. package/packages/_vue2/dist/src/components/render-block/block-styles.vue.d.ts +18 -27
  32. package/packages/_vue2/dist/src/components/render-block/render-block.vue.d.ts +3 -86
  33. package/packages/_vue2/dist/src/components/render-block/render-component.vue.d.ts +3 -86
  34. package/packages/_vue2/dist/src/components/render-block/render-repeated-block.vue.d.ts +19 -84
  35. package/packages/_vue2/dist/src/components/render-blocks.vue.d.ts +23 -127
  36. package/packages/_vue2/dist/src/components/render-content/components/render-styles.vue.d.ts +15 -18
  37. package/packages/_vue2/dist/src/components/render-content/render-content.vue.d.ts +46 -212
  38. package/packages/_vue2/dist/src/components/render-inlined-styles.vue.d.ts +12 -11
  39. package/packages/_vue2/dist/src/index.d.ts +1 -0
  40. package/packages/_vue2/dist/style.css +1 -1
  41. package/packages/_vue3/dist/block-styles.56f7b28a.cjs +1 -0
  42. package/packages/_vue3/dist/block-styles.f06f105b.js +69 -0
  43. package/packages/{_vue2/dist/css.468435de.js → _vue3/dist/css.2ff361fc.js} +1 -1
  44. package/packages/{_vue2/dist/css.dce6e4eb.cjs → _vue3/dist/css.f83437ab.cjs} +1 -1
  45. package/packages/_vue3/dist/{index.45ab85e5.js → index.0aed90df.js} +785 -784
  46. package/packages/_vue3/dist/index.d72bde22.cjs +29 -0
  47. package/packages/_vue3/dist/render-block.4e95bb8d.cjs +3 -0
  48. package/packages/_vue3/dist/{render-block.ec4c1913.js → render-block.905bcce5.js} +88 -109
  49. package/packages/_vue3/dist/render-component.0a7c094b.cjs +1 -0
  50. package/packages/_vue3/dist/render-component.b4a311b8.js +42 -0
  51. package/packages/_vue3/dist/render-inlined-styles.454bc38b.js +32 -0
  52. package/packages/_vue3/dist/render-inlined-styles.a596482a.cjs +1 -0
  53. package/packages/_vue3/dist/render-repeated-block.12894c71.js +38 -0
  54. package/packages/_vue3/dist/render-repeated-block.a95715ec.cjs +1 -0
  55. package/packages/_vue3/dist/{render-styles.cf6faa29.js → render-styles.90b25836.js} +33 -33
  56. package/packages/_vue3/dist/render-styles.b6bf070d.cjs +31 -0
  57. package/packages/_vue3/dist/sdk.cjs +1 -1
  58. package/packages/_vue3/dist/sdk.js +1 -1
  59. package/packages/_vue3/dist/src/blocks/button/button.vue.d.ts +19 -8
  60. package/packages/_vue3/dist/src/blocks/columns/columns.vue.d.ts +45 -91
  61. package/packages/_vue3/dist/src/blocks/custom-code/custom-code.vue.d.ts +16 -13
  62. package/packages/_vue3/dist/src/blocks/embed/embed.vue.d.ts +17 -20
  63. package/packages/_vue3/dist/src/blocks/fragment/fragment.vue.d.ts +1 -4
  64. package/packages/_vue3/dist/src/blocks/image/image.vue.d.ts +54 -14
  65. package/packages/_vue3/dist/src/blocks/img/img.vue.d.ts +27 -11
  66. package/packages/_vue3/dist/src/blocks/section/section.vue.d.ts +12 -7
  67. package/packages/_vue3/dist/src/blocks/symbol/symbol.vue.d.ts +25 -162
  68. package/packages/_vue3/dist/src/blocks/text/text.vue.d.ts +7 -4
  69. package/packages/_vue3/dist/src/blocks/video/video.vue.d.ts +42 -7
  70. package/packages/_vue3/dist/src/components/render-block/block-styles.vue.d.ts +18 -27
  71. package/packages/_vue3/dist/src/components/render-block/render-block.vue.d.ts +2 -2
  72. package/packages/_vue3/dist/src/components/render-block/render-component.vue.d.ts +2 -2
  73. package/packages/_vue3/dist/src/components/render-block/render-repeated-block.vue.d.ts +19 -8
  74. package/packages/_vue3/dist/src/components/render-blocks.vue.d.ts +23 -44
  75. package/packages/_vue3/dist/src/components/render-content/components/render-styles.vue.d.ts +15 -18
  76. package/packages/_vue3/dist/src/components/render-content/render-content.vue.d.ts +77 -129
  77. package/packages/_vue3/dist/src/components/render-inlined-styles.vue.d.ts +12 -11
  78. package/packages/_vue3/dist/src/index.d.ts +1 -0
  79. package/packages/_vue3/dist/style.css +1 -1
  80. package/packages/_vue2/dist/block-styles.7c2a87df.cjs +0 -1
  81. package/packages/_vue2/dist/index.78ba6586.cjs +0 -29
  82. package/packages/_vue2/dist/render-block.67e4dd65.cjs +0 -3
  83. package/packages/_vue2/dist/render-component.10d6c8d2.js +0 -37
  84. package/packages/_vue2/dist/render-component.3578089b.cjs +0 -1
  85. package/packages/_vue2/dist/render-inlined-styles.56373d13.cjs +0 -1
  86. package/packages/_vue2/dist/render-inlined-styles.942eb38d.js +0 -33
  87. package/packages/_vue2/dist/render-repeated-block.18d7fc6e.cjs +0 -1
  88. package/packages/_vue2/dist/render-styles.de7287b6.cjs +0 -31
  89. package/packages/_vue3/dist/block-styles.09955b0c.cjs +0 -1
  90. package/packages/_vue3/dist/block-styles.6bd36a5a.js +0 -69
  91. package/packages/_vue3/dist/index.cca81180.cjs +0 -29
  92. package/packages/_vue3/dist/render-block.33cc5768.cjs +0 -3
  93. package/packages/_vue3/dist/render-component.3bd8dc76.js +0 -26
  94. package/packages/_vue3/dist/render-component.c0d5e797.cjs +0 -1
  95. package/packages/_vue3/dist/render-inlined-styles.952d2fff.js +0 -32
  96. package/packages/_vue3/dist/render-inlined-styles.b55b6667.cjs +0 -1
  97. package/packages/_vue3/dist/render-repeated-block.263f0cec.js +0 -37
  98. package/packages/_vue3/dist/render-repeated-block.c3c9e926.cjs +0 -1
  99. package/packages/_vue3/dist/render-styles.d1ac3a18.cjs +0 -31
@@ -1,4 +1,5 @@
1
- const X = {
1
+ import { defineComponent as f } from "vue";
2
+ const Y = f({
2
3
  name: "builder-button",
3
4
  props: ["attributes", "text", "link", "openLinkInNewTab"],
4
5
  methods: {
@@ -27,7 +28,7 @@ const X = {
27
28
  return e;
28
29
  }
29
30
  }
30
- };
31
+ });
31
32
  function h(t, e, n, o, s, r, i, l) {
32
33
  var a = typeof t == "function" ? t.options : t;
33
34
  e && (a.render = e, a.staticRenderFns = n, a._compiled = !0), o && (a.functional = !0), r && (a._scopeId = "data-v-" + r);
@@ -43,8 +44,8 @@ function h(t, e, n, o, s, r, i, l) {
43
44
  if (a.functional) {
44
45
  a._injectStyles = c;
45
46
  var d = a.render;
46
- a.render = function(f, v) {
47
- return c.call(v), d(f, v);
47
+ a.render = function(g, _) {
48
+ return c.call(_), d(g, _);
48
49
  };
49
50
  } else {
50
51
  var m = a.beforeCreate;
@@ -55,22 +56,22 @@ function h(t, e, n, o, s, r, i, l) {
55
56
  options: a
56
57
  };
57
58
  }
58
- var Y = function() {
59
+ var Q = function() {
59
60
  var e = this, n = e._self._c;
60
- return e.link ? n("a", e._g(e._b({ attrs: { role: "button", href: e.link, target: e.openLinkInNewTab ? "_blank" : void 0 } }, "a", e.filterAttrs(e.attributes, !1), !1), e.filterAttrs(e.attributes, !0)), [e._v(" " + e._s(e.text) + " ")]) : n("button", e._g(e._b({ class: e._classStringToObject(
61
+ return e._self._setupProxy, e.link ? n("a", e._g(e._b({ attrs: { role: "button", href: e.link, target: e.openLinkInNewTab ? "_blank" : void 0 } }, "a", e.filterAttrs(e.attributes, !1), !1), e.filterAttrs(e.attributes, !0)), [e._v(" " + e._s(e.text) + " ")]) : n("button", e._g(e._b({ class: e._classStringToObject(
61
62
  e.attributes.class + " button-2fnk003dqad"
62
63
  ) }, "button", e.filterAttrs(e.attributes, !1), !1), e.filterAttrs(e.attributes, !0)), [e._v(" " + e._s(e.text) + " ")]);
63
- }, Q = [], Z = /* @__PURE__ */ h(
64
- X,
64
+ }, Z = [], ee = /* @__PURE__ */ h(
65
65
  Y,
66
66
  Q,
67
+ Z,
67
68
  !1,
68
69
  null,
69
- "a8305dd0",
70
+ "5f197ca9",
70
71
  null,
71
72
  null
72
73
  );
73
- const ee = Z.exports, R = (t) => JSON.parse(JSON.stringify(t)), U = {
74
+ const te = ee.exports, T = (t) => JSON.parse(JSON.stringify(t)), B = {
74
75
  small: {
75
76
  min: 320,
76
77
  default: 321,
@@ -86,8 +87,8 @@ const ee = Z.exports, R = (t) => JSON.parse(JSON.stringify(t)), U = {
86
87
  default: 991,
87
88
  max: 1200
88
89
  }
89
- }, Rn = (t, e = U) => `@media (max-width: ${e[t].max}px)`, te = ({ small: t, medium: e }) => {
90
- const n = R(U);
90
+ }, $n = (t, e = B) => `@media (max-width: ${e[t].max}px)`, ne = ({ small: t, medium: e }) => {
91
+ const n = T(B);
91
92
  if (!t || !e)
92
93
  return n;
93
94
  const o = Math.floor(t / 2);
@@ -108,7 +109,7 @@ const ee = Z.exports, R = (t) => JSON.parse(JSON.stringify(t)), U = {
108
109
  min: r,
109
110
  default: r + 1
110
111
  }, n;
111
- }, _ = "vue2", ne = Symbol(), x = {
112
+ }, x = "vue2", oe = Symbol(), k = {
112
113
  Builder: {
113
114
  content: null,
114
115
  context: {},
@@ -120,22 +121,22 @@ const ee = Z.exports, R = (t) => JSON.parse(JSON.stringify(t)), U = {
120
121
  registeredComponents: {},
121
122
  inheritedStyles: {}
122
123
  },
123
- key: ne
124
- }, oe = () => Promise.resolve().then(() => B).then((t) => t.default).catch((t) => {
124
+ key: oe
125
+ }, se = () => Promise.resolve().then(() => W).then((t) => t.default).catch((t) => {
125
126
  throw console.error(
126
127
  "Error while attempting to dynamically import component RenderBlocks at ../../components/render-blocks.vue",
127
128
  t
128
129
  ), t;
129
- }), se = () => import("./render-inlined-styles.942eb38d.js").then((t) => t.default).catch((t) => {
130
+ }), re = () => import("./render-inlined-styles.1fa49816.js").then((t) => t.default).catch((t) => {
130
131
  throw console.error(
131
132
  "Error while attempting to dynamically import component RenderInlinedStyles at ../../components/render-inlined-styles.vue",
132
133
  t
133
134
  ), t;
134
- }), re = {
135
+ }), ie = f({
135
136
  name: "builder-columns",
136
137
  components: {
137
- RenderInlinedStyles: se,
138
- RenderBlocks: oe
138
+ RenderInlinedStyles: re,
139
+ RenderBlocks: se
139
140
  },
140
141
  props: [
141
142
  "space",
@@ -150,11 +151,11 @@ const ee = Z.exports, R = (t) => JSON.parse(JSON.stringify(t)), U = {
150
151
  cols: this.columns || [],
151
152
  stackAt: this.stackColumnsAt || "tablet",
152
153
  flexDir: this.stackColumnsAt === "never" ? "row" : this.reverseColumnsWhenStacked ? "column-reverse" : "column",
153
- TARGET: _
154
+ TARGET: x
154
155
  };
155
156
  },
156
157
  inject: {
157
- builderContext: x.key
158
+ builderContext: k.key
158
159
  },
159
160
  computed: {
160
161
  columnsCssVars() {
@@ -168,30 +169,30 @@ const ee = Z.exports, R = (t) => JSON.parse(JSON.stringify(t)), U = {
168
169
  },
169
170
  columnsStyles() {
170
171
  return `
171
- @media (max-width: ${this.getWidthForBreakpointSize("medium")}px) {
172
- .${this.builderBlock.id}-breakpoints {
173
- flex-direction: var(--flex-dir-tablet);
174
- align-items: stretch;
175
- }
172
+ @media (max-width: ${this.getWidthForBreakpointSize("medium")}px) {
173
+ .${this.builderBlock.id}-breakpoints {
174
+ flex-direction: var(--flex-dir-tablet);
175
+ align-items: stretch;
176
+ }
176
177
 
177
- .${this.builderBlock.id}-breakpoints > .builder-column {
178
- width: var(--column-width-tablet) !important;
179
- margin-left: var(--column-margin-left-tablet) !important;
178
+ .${this.builderBlock.id}-breakpoints > .builder-column {
179
+ width: var(--column-width-tablet) !important;
180
+ margin-left: var(--column-margin-left-tablet) !important;
181
+ }
180
182
  }
181
- }
182
183
 
183
- @media (max-width: ${this.getWidthForBreakpointSize("small")}px) {
184
- .${this.builderBlock.id}-breakpoints {
185
- flex-direction: var(--flex-dir);
186
- align-items: stretch;
187
- }
184
+ @media (max-width: ${this.getWidthForBreakpointSize("small")}px) {
185
+ .${this.builderBlock.id}-breakpoints {
186
+ flex-direction: var(--flex-dir);
187
+ align-items: stretch;
188
+ }
188
189
 
189
- .${this.builderBlock.id}-breakpoints > .builder-column {
190
- width: var(--column-width-mobile) !important;
191
- margin-left: var(--column-margin-left-mobile) !important;
192
- }
193
- },
194
- `;
190
+ .${this.builderBlock.id}-breakpoints > .builder-column {
191
+ width: var(--column-width-mobile) !important;
192
+ margin-left: var(--column-margin-left-mobile) !important;
193
+ }
194
+ },
195
+ `;
195
196
  }
196
197
  },
197
198
  methods: {
@@ -241,7 +242,7 @@ const ee = Z.exports, R = (t) => JSON.parse(JSON.stringify(t)), U = {
241
242
  },
242
243
  getWidthForBreakpointSize(t) {
243
244
  var n, o;
244
- return te(
245
+ return ne(
245
246
  ((o = (n = this.builderContext.content) == null ? void 0 : n.meta) == null ? void 0 : o.breakpoints) || {}
246
247
  )[t].max;
247
248
  },
@@ -255,10 +256,10 @@ const ee = Z.exports, R = (t) => JSON.parse(JSON.stringify(t)), U = {
255
256
  return e;
256
257
  }
257
258
  }
258
- };
259
- var ie = function() {
259
+ });
260
+ var ae = function() {
260
261
  var e = this, n = e._self._c;
261
- return n("div", { class: e._classStringToObject(
262
+ return e._self._setupProxy, n("div", { class: e._classStringToObject(
262
263
  `builder-columns ${e.builderBlock.id}-breakpoints div-t9spj7joih`
263
264
  ), style: e.columnsCssVars, attrs: { dataSet: {
264
265
  "builder-block-name": "builder-columns"
@@ -269,67 +270,67 @@ var ie = function() {
269
270
  flexGrow: "1"
270
271
  } } })], 1);
271
272
  })], 2);
272
- }, ae = [], le = /* @__PURE__ */ h(
273
- re,
273
+ }, le = [], ce = /* @__PURE__ */ h(
274
274
  ie,
275
275
  ae,
276
+ le,
276
277
  !1,
277
278
  null,
278
- "2bb878ea",
279
+ "1a6287e9",
279
280
  null,
280
281
  null
281
282
  );
282
- const ce = le.exports, de = {
283
+ const de = ce.exports, ue = f({
283
284
  name: "builder-fragment-component",
284
285
  props: []
285
- };
286
- var ue = function() {
286
+ });
287
+ var pe = function() {
287
288
  var e = this, n = e._self._c;
288
- return n("span", [e._t("default")], 2);
289
- }, pe = [], me = /* @__PURE__ */ h(
290
- de,
289
+ return e._self._setupProxy, n("span", [e._t("default")], 2);
290
+ }, me = [], fe = /* @__PURE__ */ h(
291
291
  ue,
292
292
  pe,
293
+ me,
293
294
  !1,
294
295
  null,
295
296
  null,
296
297
  null,
297
298
  null
298
299
  );
299
- const he = me.exports;
300
- function T(t) {
300
+ const he = fe.exports;
301
+ function $(t) {
301
302
  return t.replace(/http(s)?:/, "");
302
303
  }
303
- function fe(t = "", e, n) {
304
+ function ge(t = "", e, n) {
304
305
  const o = new RegExp("([?&])" + e + "=.*?(&|$)", "i"), s = t.indexOf("?") !== -1 ? "&" : "?";
305
306
  return t.match(o) ? t.replace(o, "$1" + e + "=" + encodeURIComponent(n) + "$2") : t + s + e + "=" + encodeURIComponent(n);
306
307
  }
307
- function ge(t, e) {
308
+ function be(t, e) {
308
309
  if (!t || !(t != null && t.match(/cdn\.shopify\.com/)) || !e)
309
310
  return t;
310
311
  if (e === "master")
311
- return T(t);
312
+ return $(t);
312
313
  const n = t.match(
313
314
  /(_\d+x(\d+)?)?(\.(jpg|jpeg|gif|png|bmp|bitmap|tiff|tif)(\?v=\d+)?)/i
314
315
  );
315
316
  if (n) {
316
317
  const o = t.split(n[0]), s = n[3], r = e.match("x") ? e : `${e}x`;
317
- return T(`${o[0]}_${r}${s}`);
318
+ return $(`${o[0]}_${r}${s}`);
318
319
  }
319
320
  return null;
320
321
  }
321
- function S(t) {
322
+ function w(t) {
322
323
  if (!t)
323
324
  return t;
324
325
  const e = [100, 200, 400, 800, 1200, 1600, 2e3];
325
326
  if (t.match(/builder\.io/)) {
326
327
  let n = t;
327
328
  const o = Number(t.split("?width=")[1]);
328
- return isNaN(o) || (n = `${n} ${o}w`), e.filter((s) => s !== o).map((s) => `${fe(t, "width", s)} ${s}w`).concat([n]).join(", ");
329
+ return isNaN(o) || (n = `${n} ${o}w`), e.filter((s) => s !== o).map((s) => `${ge(t, "width", s)} ${s}w`).concat([n]).join(", ");
329
330
  }
330
- return t.match(/cdn\.shopify\.com/) ? e.map((n) => [ge(t, `${n}x${n}`), n]).filter(([n]) => !!n).map(([n, o]) => `${n} ${o}w`).concat([t]).join(", ") : t;
331
+ return t.match(/cdn\.shopify\.com/) ? e.map((n) => [be(t, `${n}x${n}`), n]).filter(([n]) => !!n).map(([n, o]) => `${n} ${o}w`).concat([t]).join(", ") : t;
331
332
  }
332
- const be = {
333
+ const ye = f({
333
334
  name: "builder-image",
334
335
  props: [
335
336
  "image",
@@ -353,10 +354,10 @@ const be = {
353
354
  return this.srcset;
354
355
  if (this.srcset && ((n = this.image) == null ? void 0 : n.includes("builder.io/api/v1/image"))) {
355
356
  if (!this.srcset.includes(this.image.split("?")[0]))
356
- return console.debug("Removed given srcset"), S(e);
357
+ return console.debug("Removed given srcset"), w(e);
357
358
  } else if (this.image && !this.srcset)
358
- return S(e);
359
- return S(e);
359
+ return w(e);
360
+ return w(e);
360
361
  },
361
362
  webpSrcSet() {
362
363
  var t;
@@ -384,11 +385,11 @@ const be = {
384
385
  return e;
385
386
  }
386
387
  }
387
- };
388
- var ye = function() {
388
+ });
389
+ var ve = function() {
389
390
  var o, s, r, i;
390
391
  var e = this, n = e._self._c;
391
- return n("div", [n("picture", [e.webpSrcSet ? [n("source", { attrs: { type: "image/webp", srcset: e.webpSrcSet } })] : e._e(), n("img", { class: e._classStringToObject(
392
+ return e._self._setupProxy, n("div", [n("picture", [e.webpSrcSet ? [n("source", { attrs: { type: "image/webp", srcset: e.webpSrcSet } })] : e._e(), n("img", { class: e._classStringToObject(
392
393
  "builder-image" + (e.className ? " " + e.className : "") + " img-1pl23ac79ld"
393
394
  ), style: {
394
395
  objectPosition: e.backgroundPosition || "center",
@@ -397,42 +398,42 @@ var ye = function() {
397
398
  }, attrs: { loading: "lazy", alt: e.altText, role: e.altText ? "presentation" : void 0, src: e.image, srcset: e.srcSetToUse, sizes: e.sizes } })], 2), e.aspectRatio && !(((s = (o = e.builderBlock) == null ? void 0 : o.children) == null ? void 0 : s.length) && e.fitContent) ? [n("div", { staticClass: "builder-image-sizer div-1pl23ac79ld", style: {
398
399
  paddingTop: e.aspectRatio * 100 + "%"
399
400
  } })] : e._e(), ((i = (r = e.builderBlock) == null ? void 0 : r.children) == null ? void 0 : i.length) && e.fitContent ? [e._t("default")] : e._e(), !e.fitContent && e.children ? [n("div", { staticClass: "div-1pl23ac79ld-2" }, [e._t("default")], 2)] : e._e()], 2);
400
- }, ve = [], _e = /* @__PURE__ */ h(
401
- be,
401
+ }, _e = [], xe = /* @__PURE__ */ h(
402
402
  ye,
403
403
  ve,
404
+ _e,
404
405
  !1,
405
406
  null,
406
- "b5206874",
407
+ "0d553173",
407
408
  null,
408
409
  null
409
410
  );
410
- const xe = _e.exports;
411
+ const ke = xe.exports;
411
412
  function p() {
412
413
  return typeof window < "u" && typeof document < "u";
413
414
  }
414
- function ke() {
415
+ function Se() {
415
416
  return p() && window.self !== window.top;
416
417
  }
417
- function g() {
418
- return ke() && window.location.search.indexOf("builder.frameEditing=") !== -1;
418
+ function b() {
419
+ return Se() && window.location.search.indexOf("builder.frameEditing=") !== -1;
419
420
  }
420
- const Se = () => import("./block-styles.4667431d.js").then((t) => t.default).catch((t) => {
421
+ const we = () => import("./block-styles.5729b057.js").then((t) => t.default).catch((t) => {
421
422
  throw console.error(
422
423
  "Error while attempting to dynamically import component BlockStyles at ./render-block/block-styles.vue",
423
424
  t
424
425
  ), t;
425
- }), we = () => import("./render-block.6f9a607a.js").then((t) => t.default).catch((t) => {
426
+ }), Ce = () => import("./render-block.4c7d7ca1.js").then((t) => t.default).catch((t) => {
426
427
  throw console.error(
427
428
  "Error while attempting to dynamically import component RenderBlock at ./render-block/render-block.vue",
428
429
  t
429
430
  ), t;
430
- }), Ce = {
431
+ }), Ie = f({
431
432
  name: "render-blocks",
432
- components: { RenderBlock: we, BlockStyles: Se },
433
+ components: { RenderBlock: Ce, BlockStyles: we },
433
434
  props: ["blocks", "parent", "path", "styleProp"],
434
435
  inject: {
435
- builderContext: x.key
436
+ builderContext: k.key
436
437
  },
437
438
  computed: {
438
439
  className() {
@@ -443,7 +444,7 @@ const Se = () => import("./block-styles.4667431d.js").then((t) => t.default).cat
443
444
  methods: {
444
445
  onClick() {
445
446
  var t, e;
446
- g() && !((t = this.blocks) != null && t.length) && ((e = window.parent) == null || e.postMessage(
447
+ b() && !((t = this.blocks) != null && t.length) && ((e = window.parent) == null || e.postMessage(
447
448
  {
448
449
  type: "builder.clickEmptyBlocks",
449
450
  data: {
@@ -456,7 +457,7 @@ const Se = () => import("./block-styles.4667431d.js").then((t) => t.default).cat
456
457
  },
457
458
  onMouseEnter() {
458
459
  var t, e;
459
- g() && !((t = this.blocks) != null && t.length) && ((e = window.parent) == null || e.postMessage(
460
+ b() && !((t = this.blocks) != null && t.length) && ((e = window.parent) == null || e.postMessage(
460
461
  {
461
462
  type: "builder.hoverEmptyBlocks",
462
463
  data: {
@@ -477,10 +478,10 @@ const Se = () => import("./block-styles.4667431d.js").then((t) => t.default).cat
477
478
  return e;
478
479
  }
479
480
  }
480
- };
481
- var Ie = function() {
481
+ });
482
+ var Re = function() {
482
483
  var e = this, n = e._self._c;
483
- return n("div", { class: e._classStringToObject(e.className + " div-21azgz5avex"), style: e.styleProp, attrs: { "builder-path": e.path, "builder-parent-id": e.parent, dataSet: {
484
+ return e._self._setupProxy, n("div", { class: e._classStringToObject(e.className + " div-21azgz5avex"), style: e.styleProp, attrs: { "builder-path": e.path, "builder-parent-id": e.parent, dataSet: {
484
485
  class: e.className
485
486
  } }, on: { click: function(o) {
486
487
  return e.onClick();
@@ -491,20 +492,20 @@ var Ie = function() {
491
492
  }) : e._e(), e.blocks ? e._l(e.blocks, function(o, s) {
492
493
  return n("block-styles", { key: "block-style-" + o.id, attrs: { block: o, context: e.builderContext } });
493
494
  }) : e._e()], 2);
494
- }, Re = [], Te = /* @__PURE__ */ h(
495
- Ce,
495
+ }, Te = [], $e = /* @__PURE__ */ h(
496
496
  Ie,
497
497
  Re,
498
+ Te,
498
499
  !1,
499
500
  null,
500
- "57df98d3",
501
+ "e4c3b2b6",
501
502
  null,
502
503
  null
503
504
  );
504
- const $e = Te.exports, B = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
505
+ const Ee = $e.exports, W = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
505
506
  __proto__: null,
506
- default: $e
507
- }, Symbol.toStringTag, { value: "Module" })), Ee = {
507
+ default: Ee
508
+ }, Symbol.toStringTag, { value: "Module" })), Pe = {
508
509
  name: "Core:Button",
509
510
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F81a15681c3e74df09677dfc57a615b13",
510
511
  defaultStyles: {
@@ -540,7 +541,7 @@ const $e = Te.exports, B = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.
540
541
  ],
541
542
  static: !0,
542
543
  noWrap: !0
543
- }, k = (t) => {
544
+ }, S = (t) => {
544
545
  const e = t.toString().trim();
545
546
  return `return (${!e.startsWith("function") && !e.startsWith("(") ? "function " : ""}${e}).apply(this, arguments)`;
546
547
  }, Ae = {
@@ -730,7 +731,7 @@ const $e = Te.exports, B = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.
730
731
  ]
731
732
  }
732
733
  ],
733
- onChange: k((t) => {
734
+ onChange: S((t) => {
734
735
  function e() {
735
736
  n.forEach((o) => {
736
737
  o.delete("width");
@@ -773,7 +774,7 @@ const $e = Te.exports, B = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.
773
774
  hidden: !0,
774
775
  canHaveChildren: !0,
775
776
  noWrap: !0
776
- }, Pe = {
777
+ }, je = {
777
778
  name: "Image",
778
779
  static: !0,
779
780
  image: "https://firebasestorage.googleapis.com/v0/b/builder-3b0a2.appspot.com/o/images%2Fbaseline-insert_photo-24px.svg?alt=media&token=4e5d0ef4-f5e8-4e57-b3a9-38d63a9b9dc4",
@@ -792,7 +793,7 @@ const $e = Te.exports, B = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.
792
793
  allowedFileTypes: ["jpeg", "jpg", "png", "svg"],
793
794
  required: !0,
794
795
  defaultValue: "https://cdn.builder.io/api/v1/image/assets%2FYJIGb4i01jvw0SRdL5Bt%2F72c80f114dc149019051b6852a9e3b7a",
795
- onChange: k(
796
+ onChange: S(
796
797
  (t) => {
797
798
  t.delete("srcset"), t.delete("noWebp");
798
799
  function n(i, l = 6e4) {
@@ -900,7 +901,7 @@ const $e = Te.exports, B = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.
900
901
  defaultValue: 0.7041
901
902
  }
902
903
  ]
903
- }, je = {
904
+ }, Ve = {
904
905
  name: "Core:Section",
905
906
  static: !0,
906
907
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F682efef23ace49afac61748dd305c70a",
@@ -944,7 +945,7 @@ const $e = Te.exports, B = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.
944
945
  }
945
946
  }
946
947
  ]
947
- }, Ve = {
948
+ }, Oe = f({
948
949
  name: "builder-section-component",
949
950
  props: ["maxWidth", "attributes"],
950
951
  methods: {
@@ -964,10 +965,10 @@ const $e = Te.exports, B = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.
964
965
  );
965
966
  }
966
967
  }
967
- };
968
- var Oe = function() {
968
+ });
969
+ var Ue = function() {
969
970
  var e = this, n = e._self._c;
970
- return n("section", e._g(e._b({ style: {
971
+ return e._self._setupProxy, n("section", e._g(e._b({ style: {
971
972
  width: "100%",
972
973
  alignSelf: "stretch",
973
974
  flexGrow: 1,
@@ -979,17 +980,17 @@ var Oe = function() {
979
980
  marginLeft: "auto",
980
981
  marginRight: "auto"
981
982
  } }, "section", e.filterAttrs(e.attributes, !1), !1), e.filterAttrs(e.attributes, !0)), [e._t("default")], 2);
982
- }, Ue = [], Be = /* @__PURE__ */ h(
983
- Ve,
983
+ }, Be = [], We = /* @__PURE__ */ h(
984
984
  Oe,
985
985
  Ue,
986
+ Be,
986
987
  !1,
987
988
  null,
988
989
  null,
989
990
  null,
990
991
  null
991
992
  );
992
- const We = Be.exports, Me = {
993
+ const Me = We.exports, Ne = {
993
994
  name: "Symbol",
994
995
  noWrap: !0,
995
996
  static: !0,
@@ -1027,16 +1028,16 @@ const We = Be.exports, Me = {
1027
1028
  type: "boolean"
1028
1029
  }
1029
1030
  ]
1030
- }, w = "[Builder.io]: ", b = {
1031
- log: (...t) => console.log(w, ...t),
1032
- error: (...t) => console.error(w, ...t),
1033
- warn: (...t) => console.warn(w, ...t)
1031
+ }, C = "[Builder.io]: ", y = {
1032
+ log: (...t) => console.log(C, ...t),
1033
+ error: (...t) => console.error(C, ...t),
1034
+ warn: (...t) => console.warn(C, ...t)
1034
1035
  };
1035
- function Ne() {
1036
+ function Le() {
1036
1037
  return typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : globalThis;
1037
1038
  }
1038
- function Le() {
1039
- const t = Ne().fetch;
1039
+ function ze() {
1040
+ const t = Le().fetch;
1040
1041
  if (typeof t > "u")
1041
1042
  throw console.warn(
1042
1043
  `Builder SDK could not find a global fetch function. Make sure you have a polyfill for fetch in your project.
@@ -1044,12 +1045,12 @@ function Le() {
1044
1045
  ), new Error("Builder SDK could not find a global `fetch` function");
1045
1046
  return t;
1046
1047
  }
1047
- const W = Le(), y = (t) => t != null, ze = (t) => {
1048
+ const M = ze(), v = (t) => t != null, Ke = (t) => {
1048
1049
  if (t === "localhost" || t === "127.0.0.1")
1049
1050
  return t;
1050
1051
  const e = t.split(".");
1051
1052
  return e.length > 2 ? e.slice(1).join(".") : t;
1052
- }, M = async ({
1053
+ }, N = async ({
1053
1054
  name: t,
1054
1055
  canTrack: e
1055
1056
  }) => {
@@ -1060,23 +1061,23 @@ const W = Le(), y = (t) => t != null, ze = (t) => {
1060
1061
  console.debug("[COOKIE] GET error: ", o);
1061
1062
  return;
1062
1063
  }
1063
- }, Ke = (t) => t.map(([e, n]) => n ? `${e}=${n}` : e).filter(y).join("; "), He = [
1064
+ }, He = (t) => t.map(([e, n]) => n ? `${e}=${n}` : e).filter(v).join("; "), De = [
1064
1065
  ["secure", ""],
1065
1066
  ["SameSite", "None"]
1066
- ], De = ({
1067
+ ], qe = ({
1067
1068
  name: t,
1068
1069
  value: e,
1069
1070
  expires: n
1070
1071
  }) => {
1071
- const s = (p() ? location.protocol === "https:" : !0) ? He : [[]], r = n ? [["expires", n.toUTCString()]] : [[]], i = [
1072
+ const s = (p() ? location.protocol === "https:" : !0) ? De : [[]], r = n ? [["expires", n.toUTCString()]] : [[]], i = [
1072
1073
  [t, e],
1073
1074
  ...r,
1074
1075
  ["path", "/"],
1075
- ["domain", ze(window.location.hostname)],
1076
+ ["domain", Ke(window.location.hostname)],
1076
1077
  ...s
1077
1078
  ];
1078
- return Ke(i);
1079
- }, N = async ({
1079
+ return He(i);
1080
+ }, L = async ({
1080
1081
  name: t,
1081
1082
  value: e,
1082
1083
  expires: n,
@@ -1085,19 +1086,19 @@ const W = Le(), y = (t) => t != null, ze = (t) => {
1085
1086
  try {
1086
1087
  if (!o)
1087
1088
  return;
1088
- const s = De({ name: t, value: e, expires: n });
1089
+ const s = qe({ name: t, value: e, expires: n });
1089
1090
  document.cookie = s;
1090
1091
  } catch (s) {
1091
1092
  console.warn("[COOKIE] SET error: ", s);
1092
1093
  }
1093
- }, qe = "builderio.variations", L = (t) => `${qe}.${t}`, Ge = ({
1094
+ }, Ge = "builderio.variations", z = (t) => `${Ge}.${t}`, Je = ({
1094
1095
  contentId: t,
1095
1096
  canTrack: e
1096
- }) => M({ name: L(t), canTrack: e }), Je = ({
1097
+ }) => N({ name: z(t), canTrack: e }), Xe = ({
1097
1098
  contentId: t,
1098
1099
  canTrack: e,
1099
1100
  value: n
1100
- }) => N({ name: L(t), value: n, canTrack: e }), Xe = (t) => y(t.id) && y(t.variations) && Object.keys(t.variations).length > 0, Ye = ({
1101
+ }) => L({ name: z(t), value: n, canTrack: e }), Ye = (t) => v(t.id) && v(t.variations) && Object.keys(t.variations).length > 0, Qe = ({
1101
1102
  id: t,
1102
1103
  variations: e
1103
1104
  }) => {
@@ -1110,7 +1111,7 @@ const W = Le(), y = (t) => t != null, ze = (t) => {
1110
1111
  return r;
1111
1112
  }
1112
1113
  return t;
1113
- }, $ = ({
1114
+ }, E = ({
1114
1115
  item: t,
1115
1116
  testGroupId: e
1116
1117
  }) => {
@@ -1123,69 +1124,69 @@ const W = Le(), y = (t) => t != null, ze = (t) => {
1123
1124
  testVariationId: n.id,
1124
1125
  testVariationName: n.name || (n.id === t.id ? "Default" : "")
1125
1126
  };
1126
- }, Qe = async ({
1127
+ }, Ze = async ({
1127
1128
  item: t,
1128
1129
  canTrack: e
1129
1130
  }) => {
1130
- const n = await Ge({
1131
+ const n = await Je({
1131
1132
  canTrack: e,
1132
1133
  contentId: t.id
1133
- }), o = n ? $({ item: t, testGroupId: n }) : void 0;
1134
+ }), o = n ? E({ item: t, testGroupId: n }) : void 0;
1134
1135
  if (o)
1135
1136
  return o;
1136
1137
  {
1137
- const s = Ye({
1138
+ const s = Qe({
1138
1139
  variations: t.variations,
1139
1140
  id: t.id
1140
1141
  });
1141
- return Je({
1142
+ return Xe({
1142
1143
  contentId: t.id,
1143
1144
  value: s,
1144
1145
  canTrack: e
1145
1146
  }).catch((r) => {
1146
1147
  console.error("could not store A/B test variation: ", r);
1147
- }), $({ item: t, testGroupId: s });
1148
+ }), E({ item: t, testGroupId: s });
1148
1149
  }
1149
- }, Ze = async ({
1150
+ }, et = async ({
1150
1151
  item: t,
1151
1152
  canTrack: e
1152
1153
  }) => {
1153
- if (!Xe(t))
1154
+ if (!Ye(t))
1154
1155
  return;
1155
- const n = await Qe({ item: t, canTrack: e });
1156
+ const n = await Ze({ item: t, canTrack: e });
1156
1157
  Object.assign(t, n);
1157
1158
  };
1158
- function C(t, e = null, n = ".") {
1159
+ function I(t, e = null, n = ".") {
1159
1160
  return Object.keys(t).reduce((o, s) => {
1160
1161
  const r = t[s], i = [e, s].filter(Boolean).join(n);
1161
1162
  return [
1162
1163
  typeof r == "object",
1163
1164
  r !== null,
1164
1165
  !(Array.isArray(r) && r.length === 0)
1165
- ].every(Boolean) ? { ...o, ...C(r, i, n) } : { ...o, [i]: r };
1166
+ ].every(Boolean) ? { ...o, ...I(r, i, n) } : { ...o, [i]: r };
1166
1167
  }, {});
1167
1168
  }
1168
- const E = "builder.", et = "options.", tt = (t) => {
1169
+ const P = "builder.", tt = "options.", nt = (t) => {
1169
1170
  const e = {};
1170
1171
  return t.forEach((n, o) => {
1171
1172
  e[o] = n;
1172
1173
  }), e;
1173
- }, nt = (t) => {
1174
+ }, ot = (t) => {
1174
1175
  if (!t)
1175
1176
  return {};
1176
- const e = z(t), n = {};
1177
+ const e = K(t), n = {};
1177
1178
  return Object.keys(e).forEach((o) => {
1178
- if (o.startsWith(E)) {
1179
- const s = o.replace(E, "").replace(et, "");
1179
+ if (o.startsWith(P)) {
1180
+ const s = o.replace(P, "").replace(tt, "");
1180
1181
  n[s] = e[o];
1181
1182
  }
1182
1183
  }), n;
1183
- }, ot = () => {
1184
+ }, st = () => {
1184
1185
  if (!p())
1185
1186
  return {};
1186
1187
  const t = new URLSearchParams(window.location.search);
1187
- return nt(t);
1188
- }, z = (t) => t instanceof URLSearchParams ? tt(t) : t, st = "v3", rt = (t) => {
1188
+ return ot(t);
1189
+ }, K = (t) => t instanceof URLSearchParams ? nt(t) : t, rt = "v3", it = (t) => {
1189
1190
  const {
1190
1191
  limit: e = 30,
1191
1192
  userAttributes: n,
@@ -1195,7 +1196,7 @@ const E = "builder.", et = "options.", tt = (t) => {
1195
1196
  apiKey: i,
1196
1197
  includeRefs: l = !0,
1197
1198
  locale: a,
1198
- apiVersion: c = st
1199
+ apiVersion: c = rt
1199
1200
  } = t;
1200
1201
  if (!i)
1201
1202
  throw new Error("Missing API key");
@@ -1206,48 +1207,48 @@ const E = "builder.", et = "options.", tt = (t) => {
1206
1207
  const d = new URL(
1207
1208
  `https://cdn.builder.io/api/${c}/content/${r}?apiKey=${i}&limit=${e}&noTraverse=${s}&includeRefs=${l}${a ? `&locale=${a}` : ""}`
1208
1209
  ), m = {
1209
- ...ot(),
1210
- ...z(t.options || {})
1211
- }, u = C(m);
1212
- for (const f in u)
1213
- d.searchParams.set(f, String(u[f]));
1210
+ ...st(),
1211
+ ...K(t.options || {})
1212
+ }, u = I(m);
1213
+ for (const g in u)
1214
+ d.searchParams.set(g, String(u[g]));
1214
1215
  if (n && d.searchParams.set("userAttributes", JSON.stringify(n)), o) {
1215
- const f = C({ query: o });
1216
- for (const v in f)
1217
- d.searchParams.set(v, JSON.stringify(f[v]));
1216
+ const g = I({ query: o });
1217
+ for (const _ in g)
1218
+ d.searchParams.set(_, JSON.stringify(g[_]));
1218
1219
  }
1219
1220
  return d;
1220
1221
  };
1221
- async function K(t) {
1222
- const e = await it({ ...t, limit: 1 });
1222
+ async function H(t) {
1223
+ const e = await at({ ...t, limit: 1 });
1223
1224
  return e && "results" in e && (e == null ? void 0 : e.results[0]) || null;
1224
1225
  }
1225
- async function it(t) {
1226
+ async function at(t) {
1226
1227
  try {
1227
- const e = rt(t), o = await (await W(e.href)).json();
1228
+ const e = it(t), o = await (await M(e.href)).json();
1228
1229
  if ("status" in o && !("results" in o))
1229
- return b.error("Error fetching data. ", o, t), o;
1230
+ return y.error("Error fetching data. ", { url: e, content: o, options: t }), o;
1230
1231
  const s = t.canTrack !== !1;
1231
1232
  try {
1232
1233
  if (s && Array.isArray(o.results))
1233
1234
  for (const r of o.results)
1234
- await Ze({ item: r, canTrack: s });
1235
+ await et({ item: r, canTrack: s });
1235
1236
  } catch (r) {
1236
- b.error("Could not setup A/B testing. ", r);
1237
+ y.error("Could not setup A/B testing. ", r);
1237
1238
  }
1238
1239
  return o;
1239
1240
  } catch (e) {
1240
- return b.error("Error fetching data. ", e), null;
1241
+ return y.error("Error fetching data. ", e), null;
1241
1242
  }
1242
1243
  }
1243
- const at = () => Promise.resolve().then(() => In).then((t) => t.default).catch((t) => {
1244
+ const lt = () => Promise.resolve().then(() => Rn).then((t) => t.default).catch((t) => {
1244
1245
  throw console.error(
1245
1246
  "Error while attempting to dynamically import component RenderContent at ../../components/render-content/render-content.vue",
1246
1247
  t
1247
1248
  ), t;
1248
- }), lt = {
1249
+ }), ct = f({
1249
1250
  name: "builder-symbol",
1250
- components: { RenderContent: at },
1251
+ components: { RenderContent: lt },
1251
1252
  props: ["attributes", "symbol", "dynamic"],
1252
1253
  data() {
1253
1254
  var t, e, n;
@@ -1262,7 +1263,7 @@ const at = () => Promise.resolve().then(() => In).then((t) => t.default).catch((
1262
1263
  };
1263
1264
  },
1264
1265
  inject: {
1265
- builderContext: x.key
1266
+ builderContext: k.key
1266
1267
  },
1267
1268
  mounted() {
1268
1269
  this.fetchContent();
@@ -1285,7 +1286,7 @@ const at = () => Promise.resolve().then(() => In).then((t) => t.default).catch((
1285
1286
  methods: {
1286
1287
  fetchContent() {
1287
1288
  var t, e;
1288
- !this.contentToUse && ((t = this.symbol) == null ? void 0 : t.model) && ((e = this.builderContext) == null ? void 0 : e.apiKey) && K({
1289
+ !this.contentToUse && ((t = this.symbol) == null ? void 0 : t.model) && ((e = this.builderContext) == null ? void 0 : e.apiKey) && H({
1289
1290
  model: this.symbol.model,
1290
1291
  apiKey: this.builderContext.apiKey,
1291
1292
  apiVersion: this.builderContext.apiVersion,
@@ -1295,7 +1296,7 @@ const at = () => Promise.resolve().then(() => In).then((t) => t.default).catch((
1295
1296
  }).then((n) => {
1296
1297
  n && (this.contentToUse = n);
1297
1298
  }).catch((n) => {
1298
- b.error("Could not fetch symbol content: ", n);
1299
+ y.error("Could not fetch symbol content: ", n);
1299
1300
  });
1300
1301
  },
1301
1302
  filterAttrs: function(e = {}, n) {
@@ -1323,28 +1324,28 @@ const at = () => Promise.resolve().then(() => In).then((t) => t.default).catch((
1323
1324
  return e;
1324
1325
  }
1325
1326
  }
1326
- };
1327
- var ct = function() {
1327
+ });
1328
+ var dt = function() {
1328
1329
  var o, s, r, i;
1329
1330
  var e = this, n = e._self._c;
1330
- return n("div", e._g(e._b({ class: e._classStringToObject(e.className), attrs: { dataSet: {
1331
+ return e._self._setupProxy, n("div", e._g(e._b({ class: e._classStringToObject(e.className), attrs: { dataSet: {
1331
1332
  class: e.className
1332
1333
  } } }, "div", e.filterAttrs(e.attributes, !1), !1), e.filterAttrs(e.attributes, !0)), [n("render-content", { attrs: { apiVersion: e.builderContext.apiVersion, apiKey: e.builderContext.apiKey, context: e.builderContext.context, customComponents: Object.values(e.builderContext.registeredComponents), data: {
1333
1334
  ...(o = e.symbol) == null ? void 0 : o.data,
1334
1335
  ...e.builderContext.state,
1335
1336
  ...(r = (s = e.contentToUse) == null ? void 0 : s.data) == null ? void 0 : r.state
1336
1337
  }, model: (i = e.symbol) == null ? void 0 : i.model, content: e.contentToUse } })], 1);
1337
- }, dt = [], ut = /* @__PURE__ */ h(
1338
- lt,
1338
+ }, ut = [], pt = /* @__PURE__ */ h(
1339
1339
  ct,
1340
1340
  dt,
1341
+ ut,
1341
1342
  !1,
1342
1343
  null,
1343
1344
  null,
1344
1345
  null,
1345
1346
  null
1346
1347
  );
1347
- const pt = ut.exports, mt = {
1348
+ const mt = pt.exports, ft = {
1348
1349
  name: "Text",
1349
1350
  static: !0,
1350
1351
  image: "https://firebasestorage.googleapis.com/v0/b/builder-3b0a2.appspot.com/o/images%2Fbaseline-text_fields-24px%20(1).svg?alt=media&token=12177b73-0ee3-42ca-98c6-0dd003de1929",
@@ -1363,26 +1364,26 @@ const pt = ut.exports, mt = {
1363
1364
  height: "auto",
1364
1365
  textAlign: "center"
1365
1366
  }
1366
- }, ht = {
1367
+ }, ht = f({
1367
1368
  name: "builder-text",
1368
1369
  props: ["text"]
1369
- };
1370
- var ft = function() {
1370
+ });
1371
+ var gt = function() {
1371
1372
  var e = this, n = e._self._c;
1372
- return n("span", { staticClass: "builder-text", style: {
1373
+ return e._self._setupProxy, n("span", { staticClass: "builder-text", style: {
1373
1374
  outline: "none"
1374
1375
  }, domProps: { innerHTML: e._s(e.text) } });
1375
- }, gt = [], bt = /* @__PURE__ */ h(
1376
+ }, bt = [], yt = /* @__PURE__ */ h(
1376
1377
  ht,
1377
- ft,
1378
1378
  gt,
1379
+ bt,
1379
1380
  !1,
1380
1381
  null,
1381
1382
  null,
1382
1383
  null,
1383
1384
  null
1384
1385
  );
1385
- const yt = bt.exports, vt = {
1386
+ const vt = yt.exports, _t = {
1386
1387
  name: "Video",
1387
1388
  canHaveChildren: !0,
1388
1389
  defaultStyles: {
@@ -1483,7 +1484,7 @@ const yt = bt.exports, vt = {
1483
1484
  advanced: !0
1484
1485
  }
1485
1486
  ]
1486
- }, _t = {
1487
+ }, xt = f({
1487
1488
  name: "builder-video",
1488
1489
  props: [
1489
1490
  "autoPlay",
@@ -1524,11 +1525,11 @@ const yt = bt.exports, vt = {
1524
1525
  };
1525
1526
  }
1526
1527
  }
1527
- };
1528
- var xt = function() {
1528
+ });
1529
+ var kt = function() {
1529
1530
  var o;
1530
1531
  var e = this, n = e._self._c;
1531
- return n("video", e._b({ style: {
1532
+ return e._self._setupProxy, n("video", e._b({ style: {
1532
1533
  width: "100%",
1533
1534
  height: "100%",
1534
1535
  ...(o = e.attributes) == null ? void 0 : o.style,
@@ -1536,17 +1537,17 @@ var xt = function() {
1536
1537
  objectPosition: e.position,
1537
1538
  borderRadius: 1
1538
1539
  }, attrs: { src: e.video || "no-src", poster: e.posterImage } }, "video", e.spreadProps, !1));
1539
- }, kt = [], St = /* @__PURE__ */ h(
1540
- _t,
1540
+ }, St = [], wt = /* @__PURE__ */ h(
1541
1541
  xt,
1542
1542
  kt,
1543
+ St,
1543
1544
  !1,
1544
1545
  null,
1545
1546
  null,
1546
1547
  null,
1547
1548
  null
1548
1549
  );
1549
- const wt = St.exports, Ct = {
1550
+ const Ct = wt.exports, It = {
1550
1551
  name: "Embed",
1551
1552
  static: !0,
1552
1553
  inputs: [
@@ -1556,7 +1557,7 @@ const wt = St.exports, Ct = {
1556
1557
  required: !0,
1557
1558
  defaultValue: "",
1558
1559
  helperText: "e.g. enter a youtube url, google map, etc",
1559
- onChange: k(
1560
+ onChange: S(
1560
1561
  (t) => {
1561
1562
  const e = t.get("url");
1562
1563
  if (e)
@@ -1581,11 +1582,11 @@ const wt = St.exports, Ct = {
1581
1582
  hideFromUI: !0
1582
1583
  }
1583
1584
  ]
1584
- }, It = [
1585
+ }, Rt = [
1585
1586
  "text/javascript",
1586
1587
  "application/javascript",
1587
1588
  "application/ecmascript"
1588
- ], Rt = (t) => It.includes(t.type), Tt = {
1589
+ ], Tt = (t) => Rt.includes(t.type), $t = f({
1589
1590
  name: "builder-embed",
1590
1591
  props: ["content"],
1591
1592
  data() {
@@ -1618,7 +1619,7 @@ const wt = St.exports, Ct = {
1618
1619
  this.scriptsInserted.push(n.src);
1619
1620
  const o = document.createElement("script");
1620
1621
  o.async = !0, o.src = n.src, document.head.appendChild(o);
1621
- } else if (Rt(n) && !this.scriptsRun.includes(n.innerText))
1622
+ } else if (Tt(n) && !this.scriptsRun.includes(n.innerText))
1622
1623
  try {
1623
1624
  this.scriptsRun.push(n.innerText), new Function(n.innerText)();
1624
1625
  } catch (o) {
@@ -1627,21 +1628,21 @@ const wt = St.exports, Ct = {
1627
1628
  }
1628
1629
  }
1629
1630
  }
1630
- };
1631
- var $t = function() {
1631
+ });
1632
+ var Et = function() {
1632
1633
  var e = this, n = e._self._c;
1633
- return n("div", { ref: "elem", staticClass: "builder-embed", domProps: { innerHTML: e._s(e.content) } });
1634
- }, Et = [], At = /* @__PURE__ */ h(
1635
- Tt,
1634
+ return e._self._setupProxy, n("div", { ref: "elem", staticClass: "builder-embed", domProps: { innerHTML: e._s(e.content) } });
1635
+ }, Pt = [], At = /* @__PURE__ */ h(
1636
1636
  $t,
1637
1637
  Et,
1638
+ Pt,
1638
1639
  !1,
1639
1640
  null,
1640
1641
  null,
1641
1642
  null,
1642
1643
  null
1643
1644
  );
1644
- const Ft = At.exports, Pt = {
1645
+ const Ft = At.exports, jt = f({
1645
1646
  name: "builder-img-component",
1646
1647
  props: [
1647
1648
  "backgroundSize",
@@ -1652,7 +1653,7 @@ const Ft = At.exports, Pt = {
1652
1653
  "attributes"
1653
1654
  ],
1654
1655
  data() {
1655
- return { isEditing: g };
1656
+ return { isEditing: b };
1656
1657
  },
1657
1658
  methods: {
1658
1659
  filterAttrs: function(e = {}, n) {
@@ -1671,24 +1672,24 @@ const Ft = At.exports, Pt = {
1671
1672
  );
1672
1673
  }
1673
1674
  }
1674
- };
1675
- var jt = function() {
1675
+ });
1676
+ var Vt = function() {
1676
1677
  var e = this, n = e._self._c;
1677
- return n("img", e._g(e._b({ key: e.isEditing() && e.imgSrc || "default-key", style: {
1678
+ return e._self._setupProxy, n("img", e._g(e._b({ key: e.isEditing() && e.imgSrc || "default-key", style: {
1678
1679
  objectFit: e.backgroundSize || "cover",
1679
1680
  objectPosition: e.backgroundPosition || "center"
1680
1681
  }, attrs: { alt: e.altText, src: e.imgSrc || e.image } }, "img", e.filterAttrs(e.attributes, !1), !1), e.filterAttrs(e.attributes, !0)));
1681
- }, Vt = [], Ot = /* @__PURE__ */ h(
1682
- Pt,
1682
+ }, Ot = [], Ut = /* @__PURE__ */ h(
1683
1683
  jt,
1684
1684
  Vt,
1685
+ Ot,
1685
1686
  !1,
1686
1687
  null,
1687
1688
  null,
1688
1689
  null,
1689
1690
  null
1690
1691
  );
1691
- const Ut = Ot.exports, Bt = {
1692
+ const Bt = Ut.exports, Wt = {
1692
1693
  name: "Raw:Img",
1693
1694
  hideFromInsertMenu: !0,
1694
1695
  image: "https://firebasestorage.googleapis.com/v0/b/builder-3b0a2.appspot.com/o/images%2Fbaseline-insert_photo-24px.svg?alt=media&token=4e5d0ef4-f5e8-4e57-b3a9-38d63a9b9dc4",
@@ -1703,7 +1704,7 @@ const Ut = Ot.exports, Bt = {
1703
1704
  ],
1704
1705
  noWrap: !0,
1705
1706
  static: !0
1706
- }, Wt = {
1707
+ }, Mt = f({
1707
1708
  name: "builder-custom-code",
1708
1709
  props: ["replaceNodes", "code"],
1709
1710
  data() {
@@ -1750,23 +1751,23 @@ const Ut = Ot.exports, Bt = {
1750
1751
  return e;
1751
1752
  }
1752
1753
  }
1753
- };
1754
- var Mt = function() {
1754
+ });
1755
+ var Nt = function() {
1755
1756
  var e = this, n = e._self._c;
1756
- return n("div", { ref: "elem", class: e._classStringToObject(
1757
+ return e._self._setupProxy, n("div", { ref: "elem", class: e._classStringToObject(
1757
1758
  "builder-custom-code" + (e.replaceNodes ? " replace-nodes" : "")
1758
1759
  ), domProps: { innerHTML: e._s(e.code) } });
1759
- }, Nt = [], Lt = /* @__PURE__ */ h(
1760
- Wt,
1760
+ }, Lt = [], zt = /* @__PURE__ */ h(
1761
1761
  Mt,
1762
1762
  Nt,
1763
+ Lt,
1763
1764
  !1,
1764
1765
  null,
1765
1766
  null,
1766
1767
  null,
1767
1768
  null
1768
1769
  );
1769
- const zt = Lt.exports, Kt = {
1770
+ const Kt = zt.exports, Ht = {
1770
1771
  name: "Custom Code",
1771
1772
  static: !0,
1772
1773
  requiredPermissions: ["editCode"],
@@ -1792,18 +1793,18 @@ const zt = Lt.exports, Kt = {
1792
1793
  advanced: !0
1793
1794
  }
1794
1795
  ]
1795
- }, Ht = () => [
1796
- { component: ee, ...Ee },
1797
- { component: ce, ...Ae },
1798
- { component: zt, ...Kt },
1799
- { component: Ft, ...Ct },
1796
+ }, Dt = () => [
1797
+ { component: te, ...Pe },
1798
+ { component: de, ...Ae },
1799
+ { component: Kt, ...Ht },
1800
+ { component: Ft, ...It },
1800
1801
  { component: he, ...Fe },
1801
- { component: xe, ...Pe },
1802
- { component: Ut, ...Bt },
1803
- { component: We, ...je },
1804
- { component: pt, ...Me },
1805
- { component: yt, ...mt },
1806
- { component: wt, ...vt }
1802
+ { component: ke, ...je },
1803
+ { component: Bt, ...Wt },
1804
+ { component: Me, ...Ve },
1805
+ { component: mt, ...Ne },
1806
+ { component: vt, ...ft },
1807
+ { component: Ct, ..._t }
1807
1808
  ];
1808
1809
  function A({
1809
1810
  code: t,
@@ -1817,7 +1818,7 @@ function A({
1817
1818
  return;
1818
1819
  }
1819
1820
  const r = {
1820
- isEditing: g(),
1821
+ isEditing: b(),
1821
1822
  isBrowser: p(),
1822
1823
  isServer: !p()
1823
1824
  }, l = s && !(t.includes(";") || t.includes(" return ") || t.trim().startsWith("return ")) ? `return (${t});` : t;
@@ -1842,113 +1843,113 @@ function A({
1842
1843
  );
1843
1844
  }
1844
1845
  }
1845
- function Dt() {
1846
- return !p() || g() ? !1 : Boolean(location.search.indexOf("builder.preview=") !== -1);
1846
+ function qt() {
1847
+ return !p() || b() ? !1 : Boolean(location.search.indexOf("builder.preview=") !== -1);
1847
1848
  }
1848
- const H = [];
1849
- function Tn(t, e) {
1850
- return H.push({ component: t, ...e }), console.warn(
1849
+ const D = [];
1850
+ function En(t, e) {
1851
+ return D.push({ component: t, ...e }), console.warn(
1851
1852
  "registerComponent is deprecated. Use the `customComponents` prop in RenderContent instead to provide your custom components to the builder SDK."
1852
1853
  ), t;
1853
1854
  }
1854
- const qt = ({
1855
+ const Gt = ({
1855
1856
  component: t,
1856
1857
  ...e
1857
1858
  }) => ({
1858
1859
  type: "builder.registerComponent",
1859
- data: Jt(e)
1860
- }), Gt = (t) => typeof t == "function" ? k(t) : R(t), Jt = ({
1860
+ data: Xt(e)
1861
+ }), Jt = (t) => typeof t == "function" ? S(t) : T(t), Xt = ({
1861
1862
  inputs: t,
1862
1863
  ...e
1863
1864
  }) => ({
1864
- ...R(e),
1865
+ ...T(e),
1865
1866
  inputs: t == null ? void 0 : t.map(
1866
1867
  (n) => Object.entries(n).reduce(
1867
1868
  (o, [s, r]) => ({
1868
1869
  ...o,
1869
- [s]: Gt(r)
1870
+ [s]: Jt(r)
1870
1871
  }),
1871
1872
  {}
1872
1873
  )
1873
1874
  )
1874
1875
  });
1875
- function Xt() {
1876
+ function Yt() {
1876
1877
  return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, function(t) {
1877
1878
  const e = Math.random() * 16 | 0;
1878
1879
  return (t == "x" ? e : e & 3 | 8).toString(16);
1879
1880
  });
1880
1881
  }
1881
- function D() {
1882
- return Xt().replace(/-/g, "");
1882
+ function q() {
1883
+ return Yt().replace(/-/g, "");
1883
1884
  }
1884
- const q = "builderSessionId", Yt = async ({
1885
+ const G = "builderSessionId", Qt = async ({
1885
1886
  canTrack: t
1886
1887
  }) => {
1887
1888
  if (!t)
1888
1889
  return;
1889
- const e = await M({
1890
- name: q,
1890
+ const e = await N({
1891
+ name: G,
1891
1892
  canTrack: t
1892
1893
  });
1893
- if (y(e))
1894
+ if (v(e))
1894
1895
  return e;
1895
1896
  {
1896
- const n = Qt();
1897
- return Zt({ id: n, canTrack: t }), n;
1897
+ const n = Zt();
1898
+ return en({ id: n, canTrack: t }), n;
1898
1899
  }
1899
- }, Qt = () => D(), Zt = ({
1900
+ }, Zt = () => q(), en = ({
1900
1901
  id: t,
1901
1902
  canTrack: e
1902
- }) => N({ name: q, value: t, canTrack: e }), G = () => p() && typeof localStorage < "u" ? localStorage : void 0, en = ({
1903
+ }) => L({ name: G, value: t, canTrack: e }), J = () => p() && typeof localStorage < "u" ? localStorage : void 0, tn = ({
1903
1904
  key: t,
1904
1905
  canTrack: e
1905
1906
  }) => {
1906
1907
  var n;
1907
1908
  try {
1908
- return e ? (n = G()) == null ? void 0 : n.getItem(t) : void 0;
1909
+ return e ? (n = J()) == null ? void 0 : n.getItem(t) : void 0;
1909
1910
  } catch (o) {
1910
1911
  console.debug("[LocalStorage] GET error: ", o);
1911
1912
  return;
1912
1913
  }
1913
- }, tn = ({
1914
+ }, nn = ({
1914
1915
  key: t,
1915
1916
  canTrack: e,
1916
1917
  value: n
1917
1918
  }) => {
1918
1919
  var o;
1919
1920
  try {
1920
- e && ((o = G()) == null || o.setItem(t, n));
1921
+ e && ((o = J()) == null || o.setItem(t, n));
1921
1922
  } catch (s) {
1922
1923
  console.debug("[LocalStorage] SET error: ", s);
1923
1924
  }
1924
- }, J = "builderVisitorId", nn = ({ canTrack: t }) => {
1925
+ }, X = "builderVisitorId", on = ({ canTrack: t }) => {
1925
1926
  if (!t)
1926
1927
  return;
1927
- const e = en({
1928
- key: J,
1928
+ const e = tn({
1929
+ key: X,
1929
1930
  canTrack: t
1930
1931
  });
1931
- if (y(e))
1932
+ if (v(e))
1932
1933
  return e;
1933
1934
  {
1934
- const n = on();
1935
- return sn({ id: n, canTrack: t }), n;
1935
+ const n = sn();
1936
+ return rn({ id: n, canTrack: t }), n;
1936
1937
  }
1937
- }, on = () => D(), sn = ({
1938
+ }, sn = () => q(), rn = ({
1938
1939
  id: t,
1939
1940
  canTrack: e
1940
- }) => tn({
1941
- key: J,
1941
+ }) => nn({
1942
+ key: X,
1942
1943
  value: t,
1943
1944
  canTrack: e
1944
- }), rn = () => {
1945
+ }), an = () => {
1945
1946
  if (p()) {
1946
1947
  const t = new URL(location.href);
1947
1948
  return t.pathname === "" && (t.pathname = "/"), t;
1948
1949
  } else
1949
1950
  return console.warn("Cannot get location for tracking in non-browser environment"), null;
1950
- }, an = () => typeof navigator == "object" && navigator.userAgent || "", ln = () => {
1951
- const t = an(), e = {
1951
+ }, ln = () => typeof navigator == "object" && navigator.userAgent || "", cn = () => {
1952
+ const t = ln(), e = {
1952
1953
  Android() {
1953
1954
  return t.match(/Android/i);
1954
1955
  },
@@ -1965,25 +1966,25 @@ const q = "builderSessionId", Yt = async ({
1965
1966
  return t.match(/IEMobile/i) || t.match(/WPDesktop/i);
1966
1967
  },
1967
1968
  any() {
1968
- return e.Android() || e.BlackBerry() || e.iOS() || e.Opera() || e.Windows() || _ === "reactNative";
1969
+ return e.Android() || e.BlackBerry() || e.iOS() || e.Opera() || e.Windows() || x === "reactNative";
1969
1970
  }
1970
- }, n = t.match(/Tablet|iPad/i), o = rn();
1971
+ }, n = t.match(/Tablet|iPad/i), o = an();
1971
1972
  return {
1972
1973
  urlPath: o == null ? void 0 : o.pathname,
1973
1974
  host: (o == null ? void 0 : o.host) || (o == null ? void 0 : o.hostname),
1974
1975
  device: n ? "tablet" : e.any() ? "mobile" : "desktop"
1975
1976
  };
1976
- }, cn = async ({
1977
+ }, dn = async ({
1977
1978
  canTrack: t
1978
1979
  }) => {
1979
1980
  if (!t)
1980
1981
  return { visitorId: void 0, sessionId: void 0 };
1981
- const e = await Yt({ canTrack: t }), n = nn({ canTrack: t });
1982
+ const e = await Qt({ canTrack: t }), n = on({ canTrack: t });
1982
1983
  return {
1983
1984
  sessionId: e,
1984
1985
  visitorId: n
1985
1986
  };
1986
- }, dn = async ({
1987
+ }, un = async ({
1987
1988
  type: t,
1988
1989
  canTrack: e,
1989
1990
  apiKey: n,
@@ -1997,23 +1998,23 @@ const q = "builderSessionId", Yt = async ({
1997
1998
  url: location.href,
1998
1999
  ...o
1999
2000
  },
2000
- ...await cn({ canTrack: e }),
2001
- userAttributes: ln(),
2001
+ ...await dn({ canTrack: e }),
2002
+ userAttributes: cn(),
2002
2003
  ownerId: n
2003
2004
  }
2004
2005
  });
2005
- async function I(t) {
2006
+ async function R(t) {
2006
2007
  if (!t.apiKey) {
2007
- b.error(
2008
+ y.error(
2008
2009
  "Missing API key for track call. Please provide your API key."
2009
2010
  );
2010
2011
  return;
2011
2012
  }
2012
- if (!!t.canTrack && !g() && !!(p() || _ === "reactNative"))
2013
+ if (!!t.canTrack && !b() && !!(p() || x === "reactNative"))
2013
2014
  return fetch("https://builder.io/api/v1/track", {
2014
2015
  method: "POST",
2015
2016
  body: JSON.stringify({
2016
- events: [await dn(t)]
2017
+ events: [await un(t)]
2017
2018
  }),
2018
2019
  headers: {
2019
2020
  "content-type": "application/json"
@@ -2023,8 +2024,8 @@ async function I(t) {
2023
2024
  console.error("Failed to track: ", e);
2024
2025
  });
2025
2026
  }
2026
- const $n = (t) => I({ ...t, canTrack: !0 }), F = {};
2027
- function un(t, e) {
2027
+ const Pn = (t) => R({ ...t, canTrack: !0 }), F = {};
2028
+ function pn(t, e) {
2028
2029
  let n = F[t];
2029
2030
  if (n || (n = F[t] = []), n.push(e), p()) {
2030
2031
  const o = {
@@ -2041,8 +2042,8 @@ function un(t, e) {
2041
2042
  }
2042
2043
  }
2043
2044
  }
2044
- const pn = () => {
2045
- un("insertMenu", {
2045
+ const mn = () => {
2046
+ pn("insertMenu", {
2046
2047
  name: "_default",
2047
2048
  default: !0,
2048
2049
  items: [
@@ -2057,14 +2058,14 @@ const pn = () => {
2057
2058
  ]
2058
2059
  });
2059
2060
  };
2060
- let P = !1;
2061
- const mn = (t = {}) => {
2061
+ let j = !1;
2062
+ const fn = (t = {}) => {
2062
2063
  var e, n;
2063
- P || (P = !0, p() && ((e = window.parent) == null || e.postMessage(
2064
+ j || (j = !0, p() && ((e = window.parent) == null || e.postMessage(
2064
2065
  {
2065
2066
  type: "builder.sdkInfo",
2066
2067
  data: {
2067
- target: _,
2068
+ target: x,
2068
2069
  supportsPatchUpdates: !1,
2069
2070
  supportsAddBlockScoping: !0,
2070
2071
  supportsCustomBreakpoints: !0
@@ -2098,8 +2099,8 @@ const mn = (t = {}) => {
2098
2099
  },
2099
2100
  "*"
2100
2101
  ) : d && typeof d.then == "function" ? d.then((u) => {
2101
- var f;
2102
- (f = window.parent) == null || f.postMessage(
2102
+ var g;
2103
+ (g = window.parent) == null || g.postMessage(
2103
2104
  {
2104
2105
  type: "builder.evaluateResult",
2105
2106
  data: { id: a, result: u }
@@ -2118,7 +2119,7 @@ const mn = (t = {}) => {
2118
2119
  }
2119
2120
  })));
2120
2121
  };
2121
- function j(t) {
2122
+ function V(t) {
2122
2123
  return Math.round(t * 1e3) / 1e3;
2123
2124
  }
2124
2125
  const hn = (t, e, n = !0) => {
@@ -2132,29 +2133,29 @@ const hn = (t, e, n = !0) => {
2132
2133
  return o;
2133
2134
  } while (o = o.parentElement);
2134
2135
  return null;
2135
- }, fn = (t) => hn(t, (e) => {
2136
+ }, gn = (t) => hn(t, (e) => {
2136
2137
  const n = e.getAttribute("builder-id") || e.id;
2137
2138
  return Boolean((n == null ? void 0 : n.indexOf("builder-")) === 0);
2138
- }), V = ({
2139
+ }), O = ({
2139
2140
  event: t,
2140
2141
  target: e
2141
2142
  }) => {
2142
- const n = e.getBoundingClientRect(), o = t.clientX - n.left, s = t.clientY - n.top, r = j(o / n.width), i = j(s / n.height);
2143
+ const n = e.getBoundingClientRect(), o = t.clientX - n.left, s = t.clientY - n.top, r = V(o / n.width), i = V(s / n.height);
2143
2144
  return {
2144
2145
  x: r,
2145
2146
  y: i
2146
2147
  };
2147
- }, gn = (t) => {
2148
- const e = t.target, n = e && fn(e), o = (n == null ? void 0 : n.getAttribute("builder-id")) || (n == null ? void 0 : n.id);
2148
+ }, bn = (t) => {
2149
+ const e = t.target, n = e && gn(e), o = (n == null ? void 0 : n.getAttribute("builder-id")) || (n == null ? void 0 : n.id);
2149
2150
  return {
2150
2151
  targetBuilderElement: o || void 0,
2151
2152
  metadata: {
2152
- targetOffset: e ? V({ event: t, target: e }) : void 0,
2153
- builderTargetOffset: n ? V({ event: t, target: n }) : void 0,
2153
+ targetOffset: e ? O({ event: t, target: e }) : void 0,
2154
+ builderTargetOffset: n ? O({ event: t, target: n }) : void 0,
2154
2155
  builderElementIndex: n && o ? [].slice.call(document.getElementsByClassName(o)).indexOf(n) : void 0
2155
2156
  }
2156
2157
  };
2157
- }, bn = ({
2158
+ }, yn = ({
2158
2159
  content: t,
2159
2160
  data: e,
2160
2161
  locale: n
@@ -2171,7 +2172,7 @@ const hn = (t, e, n = !0) => {
2171
2172
  ...n ? { locale: n } : {}
2172
2173
  };
2173
2174
  return { ...o, ...s };
2174
- }, yn = ({
2175
+ }, vn = ({
2175
2176
  content: t,
2176
2177
  data: e
2177
2178
  }) => t ? {
@@ -2181,21 +2182,21 @@ const hn = (t, e, n = !0) => {
2181
2182
  ...e
2182
2183
  },
2183
2184
  meta: t == null ? void 0 : t.meta
2184
- } : void 0, vn = () => Promise.resolve().then(() => B).then((t) => t.default).catch((t) => {
2185
+ } : void 0, _n = () => Promise.resolve().then(() => W).then((t) => t.default).catch((t) => {
2185
2186
  throw console.error(
2186
2187
  "Error while attempting to dynamically import component RenderBlocks at ../render-blocks.vue",
2187
2188
  t
2188
2189
  ), t;
2189
- }), _n = () => import("./render-styles.0d1f8872.js").then((t) => t.default).catch((t) => {
2190
+ }), xn = () => import("./render-styles.591ca7be.js").then((t) => t.default).catch((t) => {
2190
2191
  throw console.error(
2191
2192
  "Error while attempting to dynamically import component RenderContentStyles at ./components/render-styles.vue",
2192
2193
  t
2193
2194
  ), t;
2194
- }), xn = {
2195
+ }), kn = f({
2195
2196
  name: "render-content",
2196
2197
  components: {
2197
- RenderContentStyles: _n,
2198
- RenderBlocks: vn
2198
+ RenderContentStyles: xn,
2199
+ RenderBlocks: _n
2199
2200
  },
2200
2201
  props: [
2201
2202
  "content",
@@ -2213,20 +2214,20 @@ const hn = (t, e, n = !0) => {
2213
2214
  return {
2214
2215
  forceReRenderCount: 0,
2215
2216
  overrideContent: null,
2216
- useContent: yn({
2217
+ useContent: vn({
2217
2218
  content: this.content,
2218
2219
  data: this.data
2219
2220
  }),
2220
2221
  update: 0,
2221
- canTrackToUse: y(this.canTrack) ? this.canTrack : !0,
2222
- contentState: bn({
2222
+ canTrackToUse: v(this.canTrack) ? this.canTrack : !0,
2223
+ contentState: yn({
2223
2224
  content: this.content,
2224
2225
  data: this.data,
2225
2226
  locale: this.locale
2226
2227
  }),
2227
2228
  allRegisteredComponents: [
2228
- ...Ht(),
2229
- ...H,
2229
+ ...Dt(),
2230
+ ...D,
2230
2231
  ...this.customComponents || []
2231
2232
  ].reduce(
2232
2233
  (t, e) => ({
@@ -2237,29 +2238,30 @@ const hn = (t, e, n = !0) => {
2237
2238
  ),
2238
2239
  httpReqsData: {},
2239
2240
  clicked: !1,
2240
- TARGET: _
2241
+ TARGET: x
2241
2242
  };
2242
2243
  },
2243
2244
  provide() {
2244
2245
  const t = this;
2245
2246
  return {
2246
- [x.key]: {
2247
+ [k.key]: {
2247
2248
  content: t.useContent,
2248
2249
  state: t.contentState,
2249
2250
  setState: t.setContextState,
2250
2251
  context: t.context || {},
2251
2252
  apiKey: t.apiKey,
2252
2253
  apiVersion: t.apiVersion,
2253
- registeredComponents: t.allRegisteredComponents
2254
+ registeredComponents: t.allRegisteredComponents,
2255
+ inheritedStyles: {}
2254
2256
  }
2255
2257
  };
2256
2258
  },
2257
2259
  mounted() {
2258
2260
  var t, e;
2259
- if (this.apiKey || b.error(
2261
+ if (this.apiKey || y.error(
2260
2262
  "No API key provided to `RenderContent` component. This can cause issues. Please provide an API key using the `apiKey` prop."
2261
2263
  ), p()) {
2262
- if (g() && (this.forceReRenderCount = this.forceReRenderCount + 1, pn(), mn({
2264
+ if (b() && (this.forceReRenderCount = this.forceReRenderCount + 1, mn(), fn({
2263
2265
  ...this.locale ? {
2264
2266
  locale: this.locale
2265
2267
  } : {},
@@ -2270,14 +2272,14 @@ const hn = (t, e, n = !0) => {
2270
2272
  this.allRegisteredComponents
2271
2273
  ).forEach((n) => {
2272
2274
  var s;
2273
- const o = qt(n);
2275
+ const o = Gt(n);
2274
2276
  (s = window.parent) == null || s.postMessage(o, "*");
2275
2277
  }), window.addEventListener("message", this.processMessage), window.addEventListener(
2276
2278
  "builder:component:stateChangeListenerActivated",
2277
2279
  this.emitStateUpdate
2278
2280
  )), this.useContent) {
2279
2281
  const n = (t = this.useContent) == null ? void 0 : t.testVariationId, o = (e = this.useContent) == null ? void 0 : e.id;
2280
- I({
2282
+ R({
2281
2283
  type: "impression",
2282
2284
  canTrack: this.canTrackToUse,
2283
2285
  contentId: o,
@@ -2285,11 +2287,11 @@ const hn = (t, e, n = !0) => {
2285
2287
  variationId: n !== o ? n : void 0
2286
2288
  });
2287
2289
  }
2288
- if (Dt()) {
2290
+ if (qt()) {
2289
2291
  const n = new URL(location.href).searchParams, o = n.get("builder.preview"), s = n.get(
2290
2292
  `builder.preview.${o}`
2291
2293
  ), r = n.get("apiKey") || n.get("builder.space");
2292
- o === this.model && r === this.apiKey && (!this.content || s === this.content.id) && K({
2294
+ o === this.model && r === this.apiKey && (!this.content || s === this.content.id) && H({
2293
2295
  model: this.model,
2294
2296
  apiKey: this.apiKey,
2295
2297
  apiVersion: this.apiVersion
@@ -2419,13 +2421,13 @@ const hn = (t, e, n = !0) => {
2419
2421
  var e, n;
2420
2422
  if (this.useContent) {
2421
2423
  const o = (e = this.useContent) == null ? void 0 : e.testVariationId, s = (n = this.useContent) == null ? void 0 : n.id;
2422
- I({
2424
+ R({
2423
2425
  type: "click",
2424
2426
  canTrack: this.canTrackToUse,
2425
2427
  contentId: s,
2426
2428
  apiKey: this.apiKey,
2427
2429
  variationId: o !== s ? o : void 0,
2428
- ...gn(t),
2430
+ ...bn(t),
2429
2431
  unique: !this.clicked
2430
2432
  });
2431
2433
  }
@@ -2442,7 +2444,7 @@ const hn = (t, e, n = !0) => {
2442
2444
  );
2443
2445
  },
2444
2446
  handleRequest({ url: t, key: e }) {
2445
- W(t).then((n) => n.json()).then((n) => {
2447
+ M(t).then((n) => n.json()).then((n) => {
2446
2448
  const o = {
2447
2449
  ...this.contentState,
2448
2450
  [e]: n
@@ -2456,7 +2458,7 @@ const hn = (t, e, n = !0) => {
2456
2458
  var e, n, o;
2457
2459
  const t = (o = (n = (e = this.useContent) == null ? void 0 : e.data) == null ? void 0 : n.httpRequests) != null ? o : {};
2458
2460
  Object.entries(t).forEach(([s, r]) => {
2459
- if (r && (!this.httpReqsData[s] || g())) {
2461
+ if (r && (!this.httpReqsData[s] || b())) {
2460
2462
  const i = this.evalExpression(r);
2461
2463
  this.handleRequest({
2462
2464
  url: i,
@@ -2466,7 +2468,7 @@ const hn = (t, e, n = !0) => {
2466
2468
  });
2467
2469
  },
2468
2470
  emitStateUpdate() {
2469
- g() && window.dispatchEvent(
2471
+ b() && window.dispatchEvent(
2470
2472
  new CustomEvent(
2471
2473
  "builder:component:stateChange",
2472
2474
  {
@@ -2481,68 +2483,68 @@ const hn = (t, e, n = !0) => {
2481
2483
  );
2482
2484
  }
2483
2485
  }
2484
- };
2485
- var kn = function() {
2486
+ });
2487
+ var Sn = function() {
2486
2488
  var o, s, r, i, l, a, c, d;
2487
2489
  var e = this, n = e._self._c;
2488
- return e.useContent ? n("div", { ref: "elementRef", attrs: { "builder-content-id": (o = e.useContent) == null ? void 0 : o.id, "builder-model": e.model }, on: { click: function(m) {
2490
+ return e._self._setupProxy, e.useContent ? n("div", { ref: "elementRef", attrs: { "builder-content-id": (o = e.useContent) == null ? void 0 : o.id, "builder-model": e.model }, on: { click: function(m) {
2489
2491
  return e.onClick(m);
2490
2492
  } } }, [e.TARGET !== "reactNative" ? [n("render-content-styles", { attrs: { contentId: (s = e.useContent) == null ? void 0 : s.id, cssCode: (i = (r = e.useContent) == null ? void 0 : r.data) == null ? void 0 : i.cssCode, customFonts: (a = (l = e.useContent) == null ? void 0 : l.data) == null ? void 0 : a.customFonts } })] : e._e(), n("render-blocks", { key: e.forceReRenderCount, attrs: { blocks: (d = (c = e.useContent) == null ? void 0 : c.data) == null ? void 0 : d.blocks } })], 2) : e._e();
2491
- }, Sn = [], wn = /* @__PURE__ */ h(
2492
- xn,
2493
+ }, wn = [], Cn = /* @__PURE__ */ h(
2493
2494
  kn,
2494
2495
  Sn,
2496
+ wn,
2495
2497
  !1,
2496
2498
  null,
2497
2499
  null,
2498
2500
  null,
2499
2501
  null
2500
2502
  );
2501
- const Cn = wn.exports, In = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2503
+ const In = Cn.exports, Rn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
2502
2504
  __proto__: null,
2503
- default: Cn
2504
- }, Symbol.toStringTag, { value: "Module" })), O = {};
2505
- function En(t) {
2505
+ default: In
2506
+ }, Symbol.toStringTag, { value: "Module" })), U = {};
2507
+ function An(t) {
2506
2508
  if (p()) {
2507
- Object.assign(O, t);
2509
+ Object.assign(U, t);
2508
2510
  const e = {
2509
2511
  type: "builder.settingsChange",
2510
- data: O
2512
+ data: U
2511
2513
  };
2512
2514
  parent.postMessage(e, "*");
2513
2515
  }
2514
2516
  }
2515
2517
  export {
2516
- x as B,
2517
- ce as C,
2518
+ k as B,
2519
+ de as C,
2518
2520
  he as F,
2519
- xe as I,
2520
- We as S,
2521
- _ as T,
2522
- wt as V,
2523
- Rn as a,
2524
- ee as b,
2525
- y as c,
2526
- Cn as d,
2521
+ ke as I,
2522
+ Me as S,
2523
+ x as T,
2524
+ Ct as V,
2525
+ $n as a,
2526
+ te as b,
2527
+ v as c,
2528
+ In as d,
2527
2529
  A as e,
2528
- R as f,
2529
- te as g,
2530
- pt as h,
2531
- yt as i,
2532
- g as j,
2533
- Dt as k,
2534
- H as l,
2535
- Tn as m,
2530
+ T as f,
2531
+ ne as g,
2532
+ mt as h,
2533
+ vt as i,
2534
+ b as j,
2535
+ qt as k,
2536
+ D as l,
2537
+ En as m,
2536
2538
  h as n,
2537
- qt as o,
2538
- un as p,
2539
- K as q,
2540
- $e as r,
2541
- En as s,
2542
- $n as t,
2543
- it as u,
2544
- tt as v,
2545
- nt as w,
2546
- ot as x,
2547
- z as y
2539
+ Gt as o,
2540
+ pn as p,
2541
+ H as q,
2542
+ Ee as r,
2543
+ An as s,
2544
+ Pn as t,
2545
+ at as u,
2546
+ nt as v,
2547
+ ot as w,
2548
+ st as x,
2549
+ K as y
2548
2550
  };