@builder.io/sdk-vue 5.2.10 → 5.2.12

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 (92) hide show
  1. package/lib/browser/{awaiter-LIAqEcfX.cjs → awaiter-_vJybpjE.cjs} +1 -1
  2. package/lib/browser/{awaiter-NXhCBvJj.js → awaiter-nbyjYGTm.js} +1 -1
  3. package/lib/browser/{block-wrapper-sJgW-hxB.js → block-wrapper-H2uWRFfl.js} +3 -3
  4. package/lib/browser/{block-wrapper-Gx5cmGCs.cjs → block-wrapper-LaZs4cQn.cjs} +1 -1
  5. package/lib/browser/{component-ref-glX9-8fW.cjs → component-ref-VXY67QLx.cjs} +1 -1
  6. package/lib/browser/{component-ref-3CB2cdJW.js → component-ref-pzekKy-e.js} +4 -4
  7. package/lib/browser/components/content/components/enable-editor.vue.d.ts +3 -0
  8. package/lib/browser/components/content/content.vue.d.ts +3 -0
  9. package/lib/browser/components/content-variants/content-variants.types.d.ts +8 -0
  10. package/lib/browser/components/content-variants/content-variants.vue.d.ts +3 -0
  11. package/lib/browser/constants/sdk-version.d.ts +1 -1
  12. package/lib/browser/functions/get-content/types.d.ts +27 -0
  13. package/lib/browser/{get-block-properties-hkrxv2Yw.cjs → get-block-properties-k4bCVM0L.cjs} +1 -1
  14. package/lib/browser/{get-block-properties-Ejar3KRa.js → get-block-properties-pJvtXJrC.js} +1 -1
  15. package/lib/browser/helpers/css.d.ts +2 -0
  16. package/lib/browser/{index-bjZ2qhB0.js → index-3BT-zvy_.js} +903 -880
  17. package/lib/browser/index-FQjXUcZa.cjs +350 -0
  18. package/lib/browser/index.cjs +1 -1
  19. package/lib/browser/index.mjs +4 -4
  20. package/lib/browser/{live-edit-Sfr-FIGs.cjs → live-edit-QecbSljF.cjs} +1 -1
  21. package/lib/browser/{live-edit-BGWSQRf6.js → live-edit-f81HRMwD.js} +1 -1
  22. package/lib/browser/{repeated-block-y2NflOf1.cjs → repeated-block-pzyWtt9k.cjs} +1 -1
  23. package/lib/browser/{repeated-block-ECd9zh7f.js → repeated-block-z4-Tq0vb.js} +2 -2
  24. package/lib/browser/scripts/init-editing.d.ts +2 -0
  25. package/lib/browser/{style-wrapper-9OtEbIRY.js → style-wrapper-XQIDj12j.js} +72 -66
  26. package/lib/browser/style-wrapper-wOCgRtEf.cjs +1 -0
  27. package/lib/browser/style.css +1 -1
  28. package/lib/edge/{awaiter-Rk0bT_z6.js → awaiter-cczNFZYf.js} +1 -1
  29. package/lib/edge/{awaiter-NONmvwQ6.cjs → awaiter-kqWOzygI.cjs} +1 -1
  30. package/lib/edge/{block-wrapper-bLEVePe1.js → block-wrapper-TCG6J1wM.js} +3 -3
  31. package/lib/{node/block-wrapper-ZBxys5Pi.cjs → edge/block-wrapper-WHxKG2JN.cjs} +1 -1
  32. package/lib/edge/{component-ref-wRsXuO0w.js → component-ref-ke62ODDh.js} +4 -4
  33. package/lib/edge/{component-ref-hvv1-QnL.cjs → component-ref-zHNGcCjv.cjs} +1 -1
  34. package/lib/edge/components/content/components/enable-editor.vue.d.ts +3 -0
  35. package/lib/edge/components/content/content.vue.d.ts +3 -0
  36. package/lib/edge/components/content-variants/content-variants.types.d.ts +8 -0
  37. package/lib/edge/components/content-variants/content-variants.vue.d.ts +3 -0
  38. package/lib/edge/constants/sdk-version.d.ts +1 -1
  39. package/lib/edge/functions/get-content/types.d.ts +27 -0
  40. package/lib/edge/{get-block-properties-kcXTpefp.js → get-block-properties-GLe5pKJ-.js} +1 -1
  41. package/lib/edge/{get-block-properties-Z_smIxVv.cjs → get-block-properties-g3UUmViz.cjs} +1 -1
  42. package/lib/edge/helpers/css.d.ts +2 -0
  43. package/lib/edge/{index-jT889Kr4.js → index-NPl2zFFt.js} +1711 -1688
  44. package/lib/edge/index-Q1mE-A20.cjs +368 -0
  45. package/lib/edge/index.cjs +1 -1
  46. package/lib/edge/index.mjs +3 -3
  47. package/lib/{node/live-edit-T7SWvgRt.cjs → edge/live-edit-NlcA1TEi.cjs} +1 -1
  48. package/lib/{node/live-edit-7Qru52il.js → edge/live-edit-mfyAZvt8.js} +1 -1
  49. package/lib/edge/{repeated-block-ocRd-7Ri.cjs → repeated-block-fItsEFz7.cjs} +1 -1
  50. package/lib/edge/{repeated-block-XfL9MY4H.js → repeated-block-lZx6tufR.js} +2 -2
  51. package/lib/edge/scripts/init-editing.d.ts +2 -0
  52. package/lib/edge/style-wrapper-9SPXPEOl.cjs +1 -0
  53. package/lib/edge/{style-wrapper-cgk8YrFm.js → style-wrapper-C9W8emFx.js} +72 -66
  54. package/lib/edge/style.css +1 -1
  55. package/lib/node/{awaiter-d876EVrj.cjs → awaiter-Se1nH_ny.cjs} +1 -1
  56. package/lib/node/{awaiter-ooRB0LL_.js → awaiter-if1ZrvLi.js} +1 -1
  57. package/lib/{edge/block-wrapper-uQolhWhZ.cjs → node/block-wrapper-B7fQ00-T.cjs} +1 -1
  58. package/lib/node/{block-wrapper-heMQ0bQW.js → block-wrapper-Nkj9awCA.js} +3 -3
  59. package/lib/node/{component-ref-HjW6Dn5U.cjs → component-ref-BFKh4Vpb.cjs} +1 -1
  60. package/lib/node/{component-ref-w7KWdZU9.js → component-ref-IheEdKTm.js} +5 -5
  61. package/lib/node/components/content/components/enable-editor.vue.d.ts +3 -0
  62. package/lib/node/components/content/content.vue.d.ts +3 -0
  63. package/lib/node/components/content-variants/content-variants.types.d.ts +8 -0
  64. package/lib/node/components/content-variants/content-variants.vue.d.ts +3 -0
  65. package/lib/node/constants/sdk-version.d.ts +1 -1
  66. package/lib/node/functions/get-content/types.d.ts +27 -0
  67. package/lib/node/{get-block-properties-kLYkiFmS.js → get-block-properties-I05vUwHl.js} +2 -2
  68. package/lib/node/{get-block-properties-G6DNp62v.cjs → get-block-properties-NSTAD_o0.cjs} +1 -1
  69. package/lib/node/helpers/css.d.ts +2 -0
  70. package/lib/node/index-jBWgo8LI.cjs +350 -0
  71. package/lib/node/{index-quPzSfMY.js → index-vP-oPL56.js} +801 -778
  72. package/lib/node/index.cjs +1 -1
  73. package/lib/node/index.mjs +6 -6
  74. package/lib/node/init.cjs +1 -1
  75. package/lib/node/init.mjs +1 -1
  76. package/lib/{edge/live-edit-euz6qyjO.cjs → node/live-edit-Qt7v1n8V.cjs} +1 -1
  77. package/lib/{edge/live-edit-UREQGwDx.js → node/live-edit-yKSQ0yqr.js} +1 -1
  78. package/lib/node/{repeated-block-h_P0vHI5.js → repeated-block-EN_RXDs9.js} +2 -2
  79. package/lib/node/{repeated-block-iHvrQwik.cjs → repeated-block-KjQeddn3.cjs} +1 -1
  80. package/lib/node/scripts/init-editing.d.ts +2 -0
  81. package/lib/node/{should-force-browser-runtime-in-node-ovD5c_br.cjs → should-force-browser-runtime-in-node--WFVCCbl.cjs} +1 -1
  82. package/lib/node/{should-force-browser-runtime-in-node-cuIgr-IV.js → should-force-browser-runtime-in-node-cWvDK4Td.js} +1 -1
  83. package/lib/node/{style-wrapper-MI0wKmtS.js → style-wrapper-GM8YDWdR.js} +70 -64
  84. package/lib/node/style-wrapper-tpv235Ma.cjs +1 -0
  85. package/lib/node/style.css +1 -1
  86. package/package.json +1 -1
  87. package/lib/browser/index-SRaav2aL.cjs +0 -350
  88. package/lib/browser/style-wrapper-PR2ys7tw.cjs +0 -1
  89. package/lib/edge/index-TqjgraOe.cjs +0 -368
  90. package/lib/edge/style-wrapper-TUi2oGU5.cjs +0 -1
  91. package/lib/node/index-a8iqYi5t.cjs +0 -350
  92. package/lib/node/style-wrapper-arJdhPdR.cjs +0 -1
@@ -1,6 +1,6 @@
1
- import { defineComponent as y, openBlock as d, createElementBlock as h, Fragment as w, createBlock as S, resolveDynamicComponent as Y, mergeProps as I, toHandlers as U, withCtx as x, renderSlot as V, resolveComponent as k, createTextVNode as Ct, toDisplayString as le, defineAsyncComponent as Q, createVNode as $, renderList as F, createCommentVNode as C, h as Qe, createElementVNode as q, normalizeStyle as M, normalizeClass as Z, markRaw as Tt } from "vue";
2
- import { T as R, g as wt, f as It, i as E, s as $t, r as Rt, p as Et, a as Pt, l as L, b as Ye, c as Te, d as At, n as Xe, S as Bt, e as we, h as re, j as Vt, k as Ze, m as Nt, o as A, q as _e, _ as xe } from "./should-force-browser-runtime-in-node-cuIgr-IV.js";
3
- const Wt = /* @__PURE__ */ new Set(["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen", "link", "meta", "param", "source", "track", "wbr"]), Dt = (e) => typeof e == "string" && Wt.has(e.toLowerCase());
1
+ import { defineComponent as y, openBlock as d, createElementBlock as h, Fragment as w, createBlock as S, resolveDynamicComponent as X, mergeProps as I, toHandlers as x, withCtx as D, renderSlot as V, resolveComponent as k, createTextVNode as Tt, toDisplayString as de, defineAsyncComponent as Y, createVNode as $, renderList as U, createCommentVNode as T, h as Ye, createElementVNode as K, normalizeStyle as H, normalizeClass as _, markRaw as wt } from "vue";
2
+ import { T as R, g as It, f as $t, i as E, s as Rt, r as Et, p as Pt, a as At, l as F, b as Xe, c as Ie, d as Bt, n as Ze, S as Vt, e as $e, h as se, j as Nt, k as _e, m as Wt, o as A, q as et, _ as xe } from "./should-force-browser-runtime-in-node-cWvDK4Td.js";
3
+ const Dt = /* @__PURE__ */ new Set(["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen", "link", "meta", "param", "source", "track", "wbr"]), Ot = (e) => typeof e == "string" && Dt.has(e.toLowerCase());
4
4
  function N(e = {}, t, n) {
5
5
  const o = {};
6
6
  for (const r in e) {
@@ -15,7 +15,7 @@ const xt = y({
15
15
  name: "dynamic-renderer",
16
16
  props: ["TagName", "attributes", "actionAttributes"],
17
17
  data() {
18
- return { isEmptyElement: Dt };
18
+ return { isEmptyElement: Ot };
19
19
  }
20
20
  }), v = (e, t) => {
21
21
  const n = e.__vccOpts || e;
@@ -23,25 +23,25 @@ const xt = y({
23
23
  n[o] = r;
24
24
  return n;
25
25
  };
26
- function Ot(e, t, n, o, r, i) {
27
- return e.isEmptyElement(e.TagName) ? (d(), S(Y(e.TagName), I({ key: 1 }, e.attributes, U(e.actionAttributes)), null, 16)) : (d(), h(w, { key: 0 }, [
28
- typeof e.TagName == "string" ? (d(), S(Y(e.TagName), I({ key: 0 }, e.attributes, U(e.actionAttributes)), {
29
- default: x(() => [
26
+ function Ut(e, t, n, o, r, i) {
27
+ return e.isEmptyElement(e.TagName) ? (d(), S(X(e.TagName), I({ key: 1 }, e.attributes, x(e.actionAttributes)), null, 16)) : (d(), h(w, { key: 0 }, [
28
+ typeof e.TagName == "string" ? (d(), S(X(e.TagName), I({ key: 0 }, e.attributes, x(e.actionAttributes)), {
29
+ default: D(() => [
30
30
  V(e.$slots, "default")
31
31
  ]),
32
32
  _: 3
33
- }, 16)) : (d(), S(Y(e.TagName), I({ key: 1 }, e.attributes, U(e.actionAttributes)), {
34
- default: x(() => [
33
+ }, 16)) : (d(), S(X(e.TagName), I({ key: 1 }, e.attributes, x(e.actionAttributes)), {
34
+ default: D(() => [
35
35
  V(e.$slots, "default")
36
36
  ]),
37
37
  _: 3
38
38
  }, 16))
39
39
  ], 64));
40
40
  }
41
- const Ie = /* @__PURE__ */ v(xt, [["render", Ot]]), Zi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
41
+ const Re = /* @__PURE__ */ v(xt, [["render", Ut]]), _i = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
42
42
  __proto__: null,
43
- default: Ie
44
- }, Symbol.toStringTag, { value: "Module" })), z = () => {
43
+ default: Re
44
+ }, Symbol.toStringTag, { value: "Module" })), M = () => {
45
45
  switch (R) {
46
46
  case "react":
47
47
  case "reactNative":
@@ -54,9 +54,9 @@ const Ie = /* @__PURE__ */ v(xt, [["render", Ot]]), Zi = /* @__PURE__ */ Object.
54
54
  case "angular":
55
55
  return "class";
56
56
  }
57
- }, Ut = y({
57
+ }, Ft = y({
58
58
  name: "builder-button",
59
- components: { DynamicRenderer: Ie },
59
+ components: { DynamicRenderer: Re },
60
60
  props: [
61
61
  "attributes",
62
62
  "link",
@@ -71,7 +71,7 @@ const Ie = /* @__PURE__ */ v(xt, [["render", Ot]]), Zi = /* @__PURE__ */ Object.
71
71
  attrs() {
72
72
  return {
73
73
  ...N(this.attributes, "v-on:", !1),
74
- [z()]: `${this.link ? "" : "builder-button"} ${this.attributes[z()] || ""}`,
74
+ [M()]: `${this.link ? "" : "builder-button"} ${this.attributes[M()] || ""}`,
75
75
  ...this.link ? {
76
76
  href: this.link,
77
77
  target: this.openLinkInNewTab ? "_blank" : void 0,
@@ -83,20 +83,20 @@ const Ie = /* @__PURE__ */ v(xt, [["render", Ot]]), Zi = /* @__PURE__ */ Object.
83
83
  }
84
84
  }
85
85
  });
86
- function Ft(e, t, n, o, r, i) {
86
+ function Lt(e, t, n, o, r, i) {
87
87
  const s = k("DynamicRenderer");
88
88
  return d(), S(s, {
89
89
  attributes: e.attrs(),
90
90
  TagName: e.link ? e.builderLinkComponent || "a" : "button",
91
91
  actionAttributes: e.filterAttrs(e.attributes, "v-on:", !0)
92
92
  }, {
93
- default: x(() => [
94
- Ct(le(e.text), 1)
93
+ default: D(() => [
94
+ Tt(de(e.text), 1)
95
95
  ]),
96
96
  _: 1
97
97
  }, 8, ["attributes", "TagName", "actionAttributes"]);
98
98
  }
99
- const Lt = /* @__PURE__ */ v(Ut, [["render", Ft]]), Ht = Symbol(), he = {
99
+ const Ht = /* @__PURE__ */ v(Ft, [["render", Lt]]), Mt = Symbol(), be = {
100
100
  Builder: {
101
101
  content: null,
102
102
  context: {},
@@ -113,14 +113,14 @@ const Lt = /* @__PURE__ */ v(Ut, [["render", Ft]]), Ht = Symbol(), he = {
113
113
  nonce: "",
114
114
  model: ""
115
115
  },
116
- key: Ht
117
- }, Mt = Symbol(), et = {
118
- Components: { registeredComponents: {} },
119
116
  key: Mt
120
- }, tt = (e, t, n) => {
117
+ }, zt = Symbol(), tt = {
118
+ Components: { registeredComponents: {} },
119
+ key: zt
120
+ }, nt = (e, t, n) => {
121
121
  const o = String.prototype.split.call(t, /[,[\].]+?/).filter(Boolean).reduce((r, i) => r != null ? r[i] : r, e);
122
122
  return o === void 0 || o === e ? n : o;
123
- }, zt = ({
123
+ }, jt = ({
124
124
  code: e,
125
125
  builder: t,
126
126
  context: n,
@@ -129,24 +129,24 @@ const Lt = /* @__PURE__ */ v(Ut, [["render", Ft]]), Ht = Symbol(), he = {
129
129
  rootSetState: i,
130
130
  rootState: s
131
131
  }) => {
132
- const l = wt({
132
+ const l = It({
133
133
  builder: t,
134
134
  context: n,
135
135
  event: o,
136
- state: It({
136
+ state: $t({
137
137
  rootState: s,
138
138
  localState: r,
139
139
  rootSetState: i
140
140
  })
141
141
  });
142
142
  return new Function(...l.map(([a]) => a), e)(...l.map(([, a]) => a));
143
- }, jt = (e) => E() || $t({
143
+ }, qt = (e) => E() || Rt({
144
144
  shouldLogWarning: !0
145
- }) ? zt(e) : Rt(e), qt = /^(return )?(\s*)?state(?<getPath>(\.\w+)+)(\s*);?$/, Kt = /(\s)*var(\s)+_virtual_index(\s)*=(\s)*state(?<getPath>(\.\w+)+)(\s*);?(\s)*return(\s)*_virtual_index(\s)*/, Jt = (e) => {
145
+ }) ? jt(e) : Et(e), Kt = /^(return )?(\s*)?state(?<getPath>(\.\w+)+)(\s*);?$/, Jt = /(\s)*var(\s)+_virtual_index(\s)*=(\s)*state(?<getPath>(\.\w+)+)(\s*);?(\s)*return(\s)*_virtual_index(\s)*/, Gt = (e) => {
146
146
  var t, n, o, r, i, s;
147
- return ((o = (n = (t = qt.exec(e.trim())) == null ? void 0 : t.groups) == null ? void 0 : n.getPath) == null ? void 0 : o.slice(1)) || ((s = (i = (r = Kt.exec(e.trim())) == null ? void 0 : r.groups) == null ? void 0 : i.getPath) == null ? void 0 : s.slice(1));
147
+ return ((o = (n = (t = Kt.exec(e.trim())) == null ? void 0 : t.groups) == null ? void 0 : n.getPath) == null ? void 0 : o.slice(1)) || ((s = (i = (r = Jt.exec(e.trim())) == null ? void 0 : r.groups) == null ? void 0 : i.getPath) == null ? void 0 : s.slice(1));
148
148
  };
149
- function _({
149
+ function ee({
150
150
  code: e,
151
151
  context: t,
152
152
  localState: n,
@@ -158,17 +158,17 @@ function _({
158
158
  }) {
159
159
  if (e.trim() === "")
160
160
  return;
161
- const a = Jt(e.trim());
161
+ const a = Gt(e.trim());
162
162
  if (a)
163
- return tt({
163
+ return nt({
164
164
  ...o,
165
165
  ...n
166
166
  }, a);
167
167
  const u = {
168
- code: Et(e, {
168
+ code: Pt(e, {
169
169
  isExpression: s
170
170
  }),
171
- builder: Pt(l),
171
+ builder: At(l),
172
172
  context: t,
173
173
  event: i,
174
174
  rootSetState: r,
@@ -176,28 +176,28 @@ function _({
176
176
  localState: n
177
177
  };
178
178
  try {
179
- return jt(u);
179
+ return qt(u);
180
180
  } catch (p) {
181
- L.error("Failed code evaluation: " + p.message, {
181
+ F.error("Failed code evaluation: " + p.message, {
182
182
  code: e
183
183
  });
184
184
  return;
185
185
  }
186
186
  }
187
- function Gt(e, t) {
187
+ function Qt(e, t) {
188
188
  var n;
189
189
  return {
190
190
  ...(n = e.component) == null ? void 0 : n.options,
191
191
  ...e.options,
192
- ...Qt(e, t)
192
+ ...Yt(e, t)
193
193
  };
194
194
  }
195
- const Qt = (e, t) => {
195
+ const Yt = (e, t) => {
196
196
  var n, o;
197
197
  if (((n = e.component) == null ? void 0 : n.name) === "Text" && ((o = e.component.options) != null && o.text) && typeof e.component.options.text == "string")
198
198
  return {
199
199
  ...e.component.options,
200
- text: e.component.options.text.replace(/{{([^}]+)}}/g, (r, i) => _({
200
+ text: e.component.options.text.replace(/{{([^}]+)}}/g, (r, i) => ee({
201
201
  code: i,
202
202
  context: t,
203
203
  localState: t.localState,
@@ -206,13 +206,13 @@ const Qt = (e, t) => {
206
206
  }))
207
207
  };
208
208
  };
209
- function Yt(e, ...t) {
209
+ function Xt(e, ...t) {
210
210
  const n = Object.assign({}, e);
211
211
  for (const o of t)
212
212
  delete n[o];
213
213
  return n;
214
214
  }
215
- function ie(e, t, n = null, o = null, r = /* @__PURE__ */ new WeakSet()) {
215
+ function ae(e, t, n = null, o = null, r = /* @__PURE__ */ new WeakSet()) {
216
216
  if (e == null || typeof e != "object") {
217
217
  t(e, (i) => {
218
218
  n !== null && o !== null && (n[o] = i);
@@ -222,51 +222,51 @@ function ie(e, t, n = null, o = null, r = /* @__PURE__ */ new WeakSet()) {
222
222
  r.has(e) || (r.add(e), Array.isArray(e) ? e.forEach((i, s) => {
223
223
  t(i, (a) => {
224
224
  e[s] = a;
225
- }), ie(i, t, e, s, r);
225
+ }), ae(i, t, e, s, r);
226
226
  }) : Object.entries(e).forEach(([i, s]) => {
227
227
  t(s, (a) => {
228
228
  e[i] = a;
229
- }), ie(s, t, e, i, r);
229
+ }), ae(s, t, e, i, r);
230
230
  }));
231
231
  }
232
- function nt(e) {
232
+ function ot(e) {
233
233
  return e && typeof e == "object" && e["@type"] === "@builder.io/core:LocalizedValue";
234
234
  }
235
- function Xt(e) {
235
+ function Zt(e) {
236
236
  if (!e || !Object.getOwnPropertyNames(e).length)
237
237
  return !1;
238
238
  let t = !1;
239
- return ie(e, (n) => {
240
- if (nt(n)) {
239
+ return ae(e, (n) => {
240
+ if (ot(n)) {
241
241
  t = !0;
242
242
  return;
243
243
  }
244
244
  }), t;
245
245
  }
246
- function Zt(e, t) {
247
- return !e || !Object.getOwnPropertyNames(e).length ? {} : (ie(e, (n, o) => {
248
- nt(n) && o(n[t] ?? void 0);
246
+ function _t(e, t) {
247
+ return !e || !Object.getOwnPropertyNames(e).length ? {} : (ae(e, (n, o) => {
248
+ ot(n) && o(n[t] ?? void 0);
249
249
  }), e);
250
250
  }
251
- function _t(e, t) {
251
+ function en(e, t) {
252
252
  var n, o;
253
- return (n = e.component) != null && n.options && Xt((o = e.component) == null ? void 0 : o.options) && (t || console.warn("[Builder.io] In order to use localized fields in Builder, you must pass a locale prop to the BuilderComponent or to options object while fetching the content to resolve localized fields. Learn more: https://www.builder.io/c/docs/localization-inline#targeting-and-inline-localization"), e.component.options = Zt(e.component.options, t ?? "Default")), e;
253
+ return (n = e.component) != null && n.options && Zt((o = e.component) == null ? void 0 : o.options) && (t || console.warn("[Builder.io] In order to use localized fields in Builder, you must pass a locale prop to the BuilderComponent or to options object while fetching the content to resolve localized fields. Learn more: https://www.builder.io/c/docs/localization-inline#targeting-and-inline-localization"), e.component.options = _t(e.component.options, t ?? "Default")), e;
254
254
  }
255
- function fe(e) {
255
+ function ge(e) {
256
256
  if (e === null || typeof e != "object")
257
257
  return e;
258
258
  if (Array.isArray(e))
259
- return e.map((n) => fe(n));
259
+ return e.map((n) => ge(n));
260
260
  if (e["@type"] === "@builder.io/sdk:Element")
261
261
  return e;
262
262
  const t = {};
263
263
  for (const n in e)
264
- n !== "meta" && Object.prototype.hasOwnProperty.call(e, n) && (t[n] = fe(e[n]));
264
+ n !== "meta" && Object.prototype.hasOwnProperty.call(e, n) && (t[n] = ge(e[n]));
265
265
  return t;
266
266
  }
267
- const en = ["svelte", "vue", "angular", "qwik", "solid"].includes(R), tn = (e) => {
268
- if (en) {
269
- const t = Te(e);
267
+ const tn = ["svelte", "vue", "angular", "qwik", "solid"].includes(R), nn = (e) => {
268
+ if (tn) {
269
+ const t = Ie(e);
270
270
  return {
271
271
  ...t,
272
272
  properties: {
@@ -277,7 +277,7 @@ const en = ["svelte", "vue", "angular", "qwik", "solid"].includes(R), tn = (e) =
277
277
  }
278
278
  };
279
279
  } else {
280
- const t = fe(Yt(e, "children", "meta"));
280
+ const t = ge(Xt(e, "children", "meta"));
281
281
  return {
282
282
  ...t,
283
283
  properties: {
@@ -290,7 +290,7 @@ const en = ["svelte", "vue", "angular", "qwik", "solid"].includes(R), tn = (e) =
290
290
  meta: e.meta
291
291
  };
292
292
  }
293
- }, nn = ({
293
+ }, on = ({
294
294
  block: e,
295
295
  context: t,
296
296
  localState: n,
@@ -299,20 +299,20 @@ const en = ["svelte", "vue", "angular", "qwik", "solid"].includes(R), tn = (e) =
299
299
  }) => {
300
300
  if (!e.bindings)
301
301
  return e;
302
- const i = tn(e);
302
+ const i = nn(e);
303
303
  for (const s in e.bindings) {
304
- const l = e.bindings[s], a = _({
304
+ const l = e.bindings[s], a = ee({
305
305
  code: l,
306
306
  localState: n,
307
307
  rootState: o,
308
308
  rootSetState: r,
309
309
  context: t
310
310
  });
311
- Ye(i, s, a);
311
+ Xe(i, s, a);
312
312
  }
313
313
  return i;
314
314
  };
315
- function on({
315
+ function rn({
316
316
  block: e,
317
317
  context: t,
318
318
  localState: n,
@@ -320,33 +320,33 @@ function on({
320
320
  rootSetState: r
321
321
  }) {
322
322
  let i = e;
323
- return i = nn({
323
+ return i = on({
324
324
  block: i,
325
325
  localState: n,
326
326
  rootState: o,
327
327
  rootSetState: r,
328
328
  context: t
329
- }), i = _t(i, o.locale), i;
329
+ }), i = en(i, o.locale), i;
330
330
  }
331
- function $e(e) {
331
+ function Ee(e) {
332
332
  const t = e || (E() ? window.location.search : void 0);
333
- return t ? At(t).indexOf("builder.preview=") !== -1 : !1;
333
+ return t ? Bt(t).indexOf("builder.preview=") !== -1 : !1;
334
334
  }
335
- const rn = (e) => ({
335
+ const sn = (e) => ({
336
336
  type: "builder.registerComponent",
337
- data: se(e)
338
- }), sn = (e) => {
337
+ data: le(e)
338
+ }), an = (e) => {
339
339
  const t = e.toString().trim(), n = /^[a-zA-Z0-9_]+\s*=>/i.test(t);
340
340
  return `return (${!t.startsWith("function") && !t.startsWith("async") && !t.startsWith("(") && !n ? "function " : ""}${t}).apply(this, arguments)`;
341
341
  };
342
- function se(e) {
343
- return JSON.parse(JSON.stringify(e, (t, n) => typeof n == "function" ? sn(n) : n));
342
+ function le(e) {
343
+ return JSON.parse(JSON.stringify(e, (t, n) => typeof n == "function" ? an(n) : n));
344
344
  }
345
- const Oe = {};
346
- function _i(e, t) {
347
- e === "plugin" && (t = se(t));
348
- let n = Oe[e];
349
- if (n || (n = Oe[e] = []), n.push(t), E()) {
345
+ const Ue = {};
346
+ function es(e, t) {
347
+ e === "plugin" && (t = le(t));
348
+ let n = Ue[e];
349
+ if (n || (n = Ue[e] = []), n.push(t), E()) {
350
350
  const o = {
351
351
  type: "builder.register",
352
352
  data: {
@@ -361,7 +361,7 @@ function _i(e, t) {
361
361
  }
362
362
  }
363
363
  }
364
- function es(e) {
364
+ function ts(e) {
365
365
  var t;
366
366
  if (E()) {
367
367
  const n = JSON.parse(JSON.stringify(e));
@@ -371,50 +371,50 @@ function es(e) {
371
371
  }, "*");
372
372
  }
373
373
  }
374
- const Ue = {};
375
- function ts(e) {
374
+ const Fe = {};
375
+ function ns(e) {
376
376
  if (E()) {
377
- Object.assign(Ue, e);
377
+ Object.assign(Fe, e);
378
378
  const t = {
379
379
  type: "builder.settingsChange",
380
- data: Ue
380
+ data: Fe
381
381
  };
382
382
  parent.postMessage(t, "*");
383
383
  }
384
384
  }
385
- const Fe = "builder.", an = "options.", ot = (e) => {
385
+ const Le = "builder.", ln = "options.", rt = (e) => {
386
386
  if (!e)
387
387
  return {};
388
- const t = Xe(e), n = {};
388
+ const t = Ze(e), n = {};
389
389
  return Object.keys(t).forEach((o) => {
390
- if (o.startsWith(Fe)) {
391
- const r = o.replace(Fe, "").replace(an, "");
390
+ if (o.startsWith(Le)) {
391
+ const r = o.replace(Le, "").replace(ln, "");
392
392
  n[r] = t[o];
393
393
  }
394
394
  }), n;
395
- }, ln = () => {
395
+ }, cn = () => {
396
396
  if (!E())
397
397
  return {};
398
398
  const e = new URLSearchParams(window.location.search);
399
- return ot(e);
400
- }, cn = ["*.beta.builder.io", "beta.builder.io", "builder.io", "localhost", "qa.builder.io"];
401
- function rt(e, t) {
399
+ return rt(e);
400
+ }, dn = ["*.beta.builder.io", "beta.builder.io", "builder.io", "localhost", "qa.builder.io"];
401
+ function it(e, t) {
402
402
  let n;
403
403
  try {
404
404
  n = new URL(t.origin);
405
405
  } catch {
406
406
  return !1;
407
407
  }
408
- return n.protocol !== "http:" && n.protocol !== "https:" ? !1 : (e || cn).findIndex((o) => o.startsWith("*.") ? n.hostname.endsWith(o.slice(1)) : o === n.hostname) > -1;
408
+ return n.protocol !== "http:" && n.protocol !== "https:" ? !1 : (e || dn).findIndex((o) => o.startsWith("*.") ? n.hostname.endsWith(o.slice(1)) : o === n.hostname) > -1;
409
409
  }
410
- let Le = !1;
411
- const it = (e) => {
410
+ let He = !1;
411
+ const st = (e) => {
412
412
  var t, n;
413
- Le || (Le = !0, E() && ((t = window.parent) == null || t.postMessage({
413
+ He || (He = !0, E() && ((t = window.parent) == null || t.postMessage({
414
414
  type: "builder.sdkInfo",
415
415
  data: {
416
416
  target: R,
417
- version: Bt,
417
+ version: Vt,
418
418
  supportsPatchUpdates: !1,
419
419
  // Supports builder-model="..." attribute which is needed to
420
420
  // scope our '+ add block' button styling
@@ -432,7 +432,7 @@ const it = (e) => {
432
432
  }
433
433
  }, "*"), window.addEventListener("message", (o) => {
434
434
  var i, s;
435
- if (!rt(e.trustedHosts, o))
435
+ if (!it(e.trustedHosts, o))
436
436
  return;
437
437
  const {
438
438
  data: r
@@ -441,9 +441,9 @@ const it = (e) => {
441
441
  switch (r.type) {
442
442
  case "builder.evaluate": {
443
443
  const l = r.data.text, a = r.data.arguments || [], u = r.data.id, p = new Function(l);
444
- let f, c = null;
444
+ let b, c = null;
445
445
  try {
446
- f = p.apply(null, a);
446
+ b = p.apply(null, a);
447
447
  } catch (m) {
448
448
  c = m;
449
449
  }
@@ -453,9 +453,9 @@ const it = (e) => {
453
453
  id: u,
454
454
  error: c.message
455
455
  }
456
- }, "*") : f && typeof f.then == "function" ? f.then((m) => {
457
- var b;
458
- (b = window.parent) == null || b.postMessage({
456
+ }, "*") : b && typeof b.then == "function" ? b.then((m) => {
457
+ var f;
458
+ (f = window.parent) == null || f.postMessage({
459
459
  type: "builder.evaluateResult",
460
460
  data: {
461
461
  id: u,
@@ -465,7 +465,7 @@ const it = (e) => {
465
465
  }).catch(console.error) : (s = window.parent) == null || s.postMessage({
466
466
  type: "builder.evaluateResult",
467
467
  data: {
468
- result: f,
468
+ result: b,
469
469
  id: u
470
470
  }
471
471
  }, "*");
@@ -473,12 +473,12 @@ const it = (e) => {
473
473
  }
474
474
  }
475
475
  })));
476
- }, st = ({
476
+ }, at = ({
477
477
  model: e,
478
478
  trustedHosts: t,
479
479
  callbacks: n
480
480
  }) => (o) => {
481
- if (!rt(t, o))
481
+ if (!it(t, o))
482
482
  return;
483
483
  const {
484
484
  data: r
@@ -504,20 +504,20 @@ const it = (e) => {
504
504
  break;
505
505
  }
506
506
  }
507
- }, ns = ({
507
+ }, os = ({
508
508
  model: e,
509
509
  apiKey: t,
510
510
  callback: n,
511
511
  trustedHosts: o
512
512
  }) => {
513
513
  if (!E)
514
- return L.warn("`subscribeToEditor` only works in the browser. It currently seems to be running on the server."), () => {
514
+ return F.warn("`subscribeToEditor` only works in the browser. It currently seems to be running on the server."), () => {
515
515
  };
516
- it({
516
+ st({
517
517
  modelName: e,
518
518
  apiKey: t
519
519
  });
520
- const r = st({
520
+ const r = at({
521
521
  callbacks: {
522
522
  contentUpdate: n,
523
523
  animation: () => {
@@ -533,24 +533,24 @@ const it = (e) => {
533
533
  return window.addEventListener("message", r), () => {
534
534
  window.removeEventListener("message", r);
535
535
  };
536
- }, dn = "builder.tests", Re = (e) => `${dn}.${e}`, un = ({
536
+ }, un = "builder.tests", Pe = (e) => `${un}.${e}`, pn = ({
537
537
  contentId: e
538
- }) => Vt({
539
- name: Re(e),
538
+ }) => Nt({
539
+ name: Pe(e),
540
540
  canTrack: !0
541
- }), pn = ({
541
+ }), mn = ({
542
542
  contentId: e
543
- }) => we({
544
- name: Re(e),
543
+ }) => $e({
544
+ name: Pe(e),
545
545
  canTrack: !0
546
- }), mn = ({
546
+ }), hn = ({
547
547
  contentId: e,
548
548
  value: t
549
- }) => Ze({
550
- name: Re(e),
549
+ }) => _e({
550
+ name: Pe(e),
551
551
  value: t,
552
552
  canTrack: !0
553
- }), at = (e) => re(e.id) && re(e.variations) && Object.keys(e.variations).length > 0, hn = ({
553
+ }), lt = (e) => se(e.id) && se(e.variations) && Object.keys(e.variations).length > 0, fn = ({
554
554
  id: e,
555
555
  variations: t
556
556
  }) => {
@@ -563,15 +563,15 @@ const it = (e) => {
563
563
  return i;
564
564
  }
565
565
  return e;
566
- }, lt = (e) => {
567
- const t = hn(e);
568
- return mn({
566
+ }, ct = (e) => {
567
+ const t = fn(e);
568
+ return hn({
569
569
  contentId: e.id,
570
570
  value: t
571
571
  }).catch((n) => {
572
- L.error("could not store A/B test variation: ", n);
572
+ F.error("could not store A/B test variation: ", n);
573
573
  }), t;
574
- }, ct = ({
574
+ }, dt = ({
575
575
  item: e,
576
576
  testGroupId: t
577
577
  }) => {
@@ -585,7 +585,7 @@ const it = (e) => {
585
585
  testVariationId: n.id,
586
586
  testVariationName: n.name || (n.id === e.id ? "Default" : "")
587
587
  };
588
- }, fn = ({
588
+ }, bn = ({
589
589
  item: e,
590
590
  canTrack: t
591
591
  }) => {
@@ -593,14 +593,14 @@ const it = (e) => {
593
593
  return e;
594
594
  if (!e)
595
595
  return;
596
- if (!at(e))
596
+ if (!lt(e))
597
597
  return e;
598
- const n = pn({
598
+ const n = mn({
599
599
  contentId: e.id
600
- }) || lt({
600
+ }) || ct({
601
601
  variations: e.variations,
602
602
  id: e.id
603
- }), o = ct({
603
+ }), o = dt({
604
604
  item: e,
605
605
  testGroupId: n
606
606
  });
@@ -608,18 +608,18 @@ const it = (e) => {
608
608
  ...e,
609
609
  ...o
610
610
  };
611
- }, bn = async ({
611
+ }, gn = async ({
612
612
  item: e,
613
613
  canTrack: t
614
614
  }) => {
615
- if (!t || !at(e))
615
+ if (!t || !lt(e))
616
616
  return e;
617
- const o = await un({
617
+ const o = await pn({
618
618
  contentId: e.id
619
- }) || lt({
619
+ }) || ct({
620
620
  variations: e.variations,
621
621
  id: e.id
622
- }), r = ct({
622
+ }), r = dt({
623
623
  item: e,
624
624
  testGroupId: o
625
625
  });
@@ -628,8 +628,8 @@ const it = (e) => {
628
628
  ...r
629
629
  };
630
630
  };
631
- const He = "builder.userAttributes";
632
- function Me() {
631
+ const Me = "builder.userAttributes";
632
+ function ze() {
633
633
  let e = !0;
634
634
  const t = /* @__PURE__ */ new Set();
635
635
  return {
@@ -640,15 +640,15 @@ function Me() {
640
640
  ...this.getUserAttributes(),
641
641
  ...n
642
642
  };
643
- Ze({
644
- name: He,
643
+ _e({
644
+ name: Me,
645
645
  value: JSON.stringify(o),
646
646
  canTrack: e
647
647
  }), t.forEach((r) => r(o));
648
648
  },
649
649
  getUserAttributes() {
650
- return E() ? JSON.parse(we({
651
- name: He,
650
+ return E() ? JSON.parse($e({
651
+ name: Me,
652
652
  canTrack: e
653
653
  }) || "{}") : {};
654
654
  },
@@ -664,45 +664,45 @@ function Me() {
664
664
  }
665
665
  };
666
666
  }
667
- let be;
668
- E() && R === "qwik" ? (window.__BUILDER_USER_ATTRIBUTES_SERVICE__ || (window.__BUILDER_USER_ATTRIBUTES_SERVICE__ = Me()), be = window.__BUILDER_USER_ATTRIBUTES_SERVICE__) : be = Me();
669
- const ae = be, os = (e) => {
670
- ae.setUserAttributes(e);
671
- }, K = (e) => {
672
- const t = re(e) ? e : !0;
673
- return ae.setCanTrack(t), t;
667
+ let ye;
668
+ E() && R === "qwik" ? (window.__BUILDER_USER_ATTRIBUTES_SERVICE__ || (window.__BUILDER_USER_ATTRIBUTES_SERVICE__ = ze()), ye = window.__BUILDER_USER_ATTRIBUTES_SERVICE__) : ye = ze();
669
+ const ce = ye, rs = (e) => {
670
+ ce.setUserAttributes(e);
671
+ }, J = (e) => {
672
+ const t = se(e) ? e : !0;
673
+ return ce.setCanTrack(t), t;
674
674
  };
675
- function gn() {
675
+ function yn() {
676
676
  return typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : globalThis;
677
677
  }
678
- function yn() {
679
- const e = gn().fetch;
678
+ function vn() {
679
+ const e = yn().fetch;
680
680
  if (typeof e > "u")
681
681
  throw console.warn(`Builder SDK could not find a global fetch function. Make sure you have a polyfill for fetch in your project.
682
682
  For more information, read https://github.com/BuilderIO/this-package-uses-fetch`), new Error("Builder SDK could not find a global `fetch` function");
683
683
  return e;
684
684
  }
685
- const vn = yn();
686
- function ge(e, t = null, n = ".") {
685
+ const Sn = vn();
686
+ function ve(e, t = null, n = ".") {
687
687
  return Object.keys(e).reduce((o, r) => {
688
688
  const i = e[r], s = [t, r].filter(Boolean).join(n);
689
689
  return [typeof i == "object", i !== null, !(Array.isArray(i) && i.length === 0)].every(Boolean) ? {
690
690
  ...o,
691
- ...ge(i, s, n)
691
+ ...ve(i, s, n)
692
692
  } : {
693
693
  ...o,
694
694
  [s]: i
695
695
  };
696
696
  }, {});
697
697
  }
698
- function dt(e, t, n = {}) {
698
+ function ut(e, t, n = {}) {
699
699
  for (const o in e) {
700
700
  const r = e[o], i = t ? t + "." + o : o;
701
- r && typeof r == "object" && !Array.isArray(r) && !Object.keys(r).find((s) => s.startsWith("$")) ? dt(r, i, n) : n[i] = r;
701
+ r && typeof r == "object" && !Array.isArray(r) && !Object.keys(r).find((s) => s.startsWith("$")) ? ut(r, i, n) : n[i] = r;
702
702
  }
703
703
  return n;
704
704
  }
705
- function Sn(e) {
705
+ function kn(e) {
706
706
  const t = {};
707
707
  for (const n in e) {
708
708
  const o = n.split(".");
@@ -714,7 +714,7 @@ function Sn(e) {
714
714
  }
715
715
  return t;
716
716
  }
717
- const kn = "v3", ze = (e) => typeof e == "number" && !isNaN(e) && e >= 0, Ee = (e) => {
717
+ const Cn = "v3", je = (e) => typeof e == "number" && !isNaN(e) && e >= 0, Ae = (e) => {
718
718
  const {
719
719
  limit: t = 30,
720
720
  userAttributes: n,
@@ -722,116 +722,117 @@ const kn = "v3", ze = (e) => typeof e == "number" && !isNaN(e) && e >= 0, Ee = (
722
722
  model: r,
723
723
  apiKey: i,
724
724
  enrich: s,
725
- locale: l,
726
- apiVersion: a = kn,
727
- fields: u,
728
- omit: p,
729
- offset: f,
730
- cacheSeconds: c,
731
- staleCacheSeconds: m,
732
- sort: b,
733
- includeUnpublished: g,
734
- apiHost: P
725
+ enrichOptions: l,
726
+ locale: a,
727
+ apiVersion: u = Cn,
728
+ fields: p,
729
+ omit: b,
730
+ offset: c,
731
+ cacheSeconds: m,
732
+ staleCacheSeconds: f,
733
+ sort: g,
734
+ includeUnpublished: P,
735
+ apiHost: O
735
736
  } = e;
736
737
  if (!i)
737
738
  throw new Error("Missing API key");
738
- if (!["v3"].includes(a))
739
- throw new Error(`Invalid apiVersion: expected 'v3', received '${a}'`);
740
- const O = t !== 1, B = P || "https://cdn.builder.io", T = new URL(`${B}/api/${a}/content/${r}`);
741
- T.searchParams.set("apiKey", i), T.searchParams.set("limit", String(t)), T.searchParams.set("noTraverse", String(O)), T.searchParams.set("includeRefs", String(!0)), l && T.searchParams.set("locale", l);
742
- let W = n || {};
743
- if (s && T.searchParams.set("enrich", String(s)), T.searchParams.set("omit", p ?? "meta.componentsUsed"), u && T.searchParams.set("fields", u), Number.isFinite(f) && f > -1 && T.searchParams.set("offset", String(Math.floor(f))), typeof g == "boolean" && T.searchParams.set("includeUnpublished", String(g)), c && ze(c) && T.searchParams.set("cacheSeconds", String(c)), m && ze(m) && T.searchParams.set("staleCacheSeconds", String(m)), b) {
744
- const D = ge({
745
- sort: b
739
+ if (!["v3"].includes(u))
740
+ throw new Error(`Invalid apiVersion: expected 'v3', received '${u}'`);
741
+ const B = t !== 1, q = O || "https://cdn.builder.io", C = new URL(`${q}/api/${u}/content/${r}`);
742
+ C.searchParams.set("apiKey", i), C.searchParams.set("limit", String(t)), C.searchParams.set("noTraverse", String(B)), C.searchParams.set("includeRefs", String(!0)), a && C.searchParams.set("locale", a);
743
+ let z = n || {};
744
+ if (s && C.searchParams.set("enrich", String(s)), s && l && C.searchParams.set("enrichOptions", JSON.stringify(l)), C.searchParams.set("omit", b ?? "meta.componentsUsed"), p && C.searchParams.set("fields", p), Number.isFinite(c) && c > -1 && C.searchParams.set("offset", String(Math.floor(c))), typeof P == "boolean" && C.searchParams.set("includeUnpublished", String(P)), m && je(m) && C.searchParams.set("cacheSeconds", String(m)), f && je(f) && C.searchParams.set("staleCacheSeconds", String(f)), g) {
745
+ const W = ve({
746
+ sort: g
746
747
  });
747
- for (const H in D)
748
- T.searchParams.set(H, JSON.stringify(D[H]));
748
+ for (const L in W)
749
+ C.searchParams.set(L, JSON.stringify(W[L]));
749
750
  }
750
- const J = {
751
- ...ln(),
752
- ...Xe(e.options || {})
751
+ const G = {
752
+ ...cn(),
753
+ ...Ze(e.options || {})
753
754
  };
754
- W = {
755
- ...W,
756
- ...wn(J)
755
+ z = {
756
+ ...z,
757
+ ...In(G)
757
758
  };
758
- const G = ge(J);
759
- for (const D in G)
760
- T.searchParams.set(D, String(G[D]));
761
- if (Object.keys(W).length > 0 && T.searchParams.set("userAttributes", JSON.stringify(W)), o) {
762
- const D = dt({
759
+ const Q = ve(G);
760
+ for (const W in Q)
761
+ C.searchParams.set(W, String(Q[W]));
762
+ if (Object.keys(z).length > 0 && C.searchParams.set("userAttributes", JSON.stringify(z)), o) {
763
+ const W = ut({
763
764
  query: o
764
765
  });
765
- for (const H in D)
766
- T.searchParams.set(H, JSON.stringify(D[H]));
766
+ for (const L in W)
767
+ C.searchParams.set(L, JSON.stringify(W[L]));
767
768
  }
768
- return T;
769
- }, Cn = (e) => e === "true" ? !0 : e === "false" ? !1 : e, Tn = (e) => {
769
+ return C;
770
+ }, Tn = (e) => e === "true" ? !0 : e === "false" ? !1 : e, wn = (e) => {
770
771
  const t = {};
771
772
  for (const n in e)
772
- n.startsWith("userAttributes.") && (t[n] = Cn(e[n]), delete e[n]);
773
+ n.startsWith("userAttributes.") && (t[n] = Tn(e[n]), delete e[n]);
773
774
  return t;
774
- }, wn = (e) => {
775
+ }, In = (e) => {
775
776
  if (E() && e.preview === "BUILDER_STUDIO") {
776
777
  e["userAttributes.urlPath"] = window.location.pathname, e["userAttributes.host"] = window.location.host;
777
- const t = Tn(e), {
778
+ const t = wn(e), {
778
779
  userAttributes: n
779
- } = Sn(t);
780
+ } = kn(t);
780
781
  return n;
781
782
  }
782
783
  return {};
783
- }, In = (e) => "results" in e;
784
- async function Pe(e) {
784
+ }, $n = (e) => "results" in e;
785
+ async function Be(e) {
785
786
  var o;
786
787
  const t = e.locale || ((o = e.userAttributes) == null ? void 0 : o.locale);
787
788
  t && (e.locale = t, e.userAttributes = {
788
789
  locale: t,
789
790
  ...e.userAttributes
790
791
  });
791
- const n = await En({
792
+ const n = await Pn({
792
793
  ...e,
793
794
  limit: 1
794
795
  });
795
796
  return n && n[0] || null;
796
797
  }
797
- const $n = async (e) => {
798
+ const Rn = async (e) => {
798
799
  var s;
799
- const t = Ee(e), n = e.fetch ?? vn, o = {
800
+ const t = Ae(e), n = e.fetch ?? Sn, o = {
800
801
  ...e.fetchOptions,
801
802
  headers: {
802
803
  ...(s = e.fetchOptions) == null ? void 0 : s.headers,
803
- ...Nt()
804
+ ...Wt()
804
805
  }
805
806
  };
806
807
  return await (await n(t.href, o)).json();
807
- }, Rn = async (e, t, n = Ee(e)) => {
808
- const o = K(e.canTrack);
808
+ }, En = async (e, t, n = Ae(e)) => {
809
+ const o = J(e.canTrack);
809
810
  if (n.search.includes("preview="), !o || !(E() || R === "reactNative"))
810
811
  return t.results;
811
812
  try {
812
813
  const r = [];
813
814
  for (const i of t.results)
814
- r.push(await bn({
815
+ r.push(await gn({
815
816
  item: i,
816
817
  canTrack: o
817
818
  }));
818
819
  t.results = r;
819
820
  } catch (r) {
820
- L.error("Could not process A/B tests. ", r);
821
+ F.error("Could not process A/B tests. ", r);
821
822
  }
822
823
  return t.results;
823
824
  };
824
- async function En(e) {
825
- const t = Ee(e), n = await $n(e);
826
- if (!In(n))
827
- throw L.error("Error fetching data. ", {
825
+ async function Pn(e) {
826
+ const t = Ae(e), n = await Rn(e);
827
+ if (!$n(n))
828
+ throw F.error("Error fetching data. ", {
828
829
  url: t,
829
830
  content: n,
830
831
  options: e
831
832
  }), n;
832
- return Rn(e, n);
833
+ return En(e, n);
833
834
  }
834
- const rs = async (e) => {
835
+ const is = async (e) => {
835
836
  var o, r, i;
836
837
  const t = e.path || ((o = e.url) == null ? void 0 : o.pathname) || ((r = e.userAttributes) == null ? void 0 : r.urlPath), n = {
837
838
  ...e,
@@ -843,15 +844,15 @@ const rs = async (e) => {
843
844
  urlPath: t
844
845
  } : {}
845
846
  },
846
- options: ot(e.searchParams || ((i = e.url) == null ? void 0 : i.searchParams) || e.options)
847
+ options: rt(e.searchParams || ((i = e.url) == null ? void 0 : i.searchParams) || e.options)
847
848
  };
848
849
  return {
849
850
  apiKey: n.apiKey,
850
851
  model: n.model,
851
- content: await Pe(n)
852
+ content: await Be(n)
852
853
  };
853
- }, Ae = (e) => e ? e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase() : "";
854
- function Pn(e, t, n = {}) {
854
+ }, Ve = (e) => e ? e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase() : "";
855
+ function An(e, t, n = {}) {
855
856
  let o, r, i, s = null, l = 0;
856
857
  const a = function() {
857
858
  l = n.leading === !1 ? 0 : Date.now(), s = null, i = e.apply(o, r), s || (o = r = null);
@@ -863,7 +864,7 @@ function Pn(e, t, n = {}) {
863
864
  return o = this, r = arguments, p <= 0 || p > t ? (s && (clearTimeout(s), s = null), l = u, i = e.apply(o, r), s || (o = r = null)) : !s && n.trailing !== !1 && (s = setTimeout(a, p)), i;
864
865
  };
865
866
  }
866
- function X(e, ...t) {
867
+ function Z(e, ...t) {
867
868
  const n = Object(e);
868
869
  for (let o = 1; o < arguments.length; o++) {
869
870
  const r = arguments[o];
@@ -873,118 +874,130 @@ function X(e, ...t) {
873
874
  }
874
875
  return n;
875
876
  }
876
- function An(e) {
877
+ function Bn(e) {
877
878
  for (const t of e)
878
879
  switch (t.trigger) {
879
880
  case "pageLoad":
880
- mt(t);
881
+ ht(t);
881
882
  break;
882
883
  case "scrollInView":
883
- Vn(t);
884
+ Nn(t);
884
885
  break;
885
886
  }
886
887
  }
887
- function ut(e) {
888
+ function pt(e) {
888
889
  console.warn(`Cannot animate element: element with ID ${e} not found!`);
889
890
  }
890
- function pt(e, t) {
891
- const n = Bn(e), o = getComputedStyle(t), r = e.steps[0].styles, i = e.steps[e.steps.length - 1].styles, s = [r, i];
891
+ function mt(e, t) {
892
+ const n = Vn(e), o = getComputedStyle(t), r = e.steps[0].styles, i = e.steps[e.steps.length - 1].styles, s = [r, i];
892
893
  for (const l of s)
893
894
  for (const a of n)
894
895
  a in l || (l[a] = o[a]);
895
896
  }
896
- function Bn(e) {
897
+ function Vn(e) {
897
898
  const t = [];
898
899
  for (const n of e.steps)
899
900
  for (const o in n.styles)
900
901
  t.indexOf(o) === -1 && t.push(o);
901
902
  return t;
902
903
  }
903
- function mt(e) {
904
+ function ht(e) {
904
905
  const t = Array.prototype.slice.call(document.getElementsByClassName(e.elementId || e.id || ""));
905
906
  if (!t.length) {
906
- ut(e.elementId || e.id || "");
907
+ pt(e.elementId || e.id || "");
907
908
  return;
908
909
  }
909
910
  Array.from(t).forEach((n) => {
910
- pt(e, n), n.style.transition = "none", n.style.transitionDelay = "0", X(n.style, e.steps[0].styles), setTimeout(() => {
911
- n.style.transition = `all ${e.duration}s ${Ae(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s"), X(n.style, e.steps[1].styles), setTimeout(() => {
911
+ mt(e, n), n.style.transition = "none", n.style.transitionDelay = "0", Z(n.style, e.steps[0].styles), setTimeout(() => {
912
+ n.style.transition = `all ${e.duration}s ${Ve(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s"), Z(n.style, e.steps[1].styles), setTimeout(() => {
912
913
  n.style.transition = "", n.style.transitionDelay = "";
913
914
  }, (e.delay || 0) * 1e3 + e.duration * 1e3 + 100);
914
915
  });
915
916
  });
916
917
  }
917
- function Vn(e) {
918
+ function Nn(e) {
918
919
  const t = Array.prototype.slice.call(document.getElementsByClassName(e.elementId || e.id || ""));
919
920
  if (!t.length) {
920
- ut(e.elementId || e.id || "");
921
+ pt(e.elementId || e.id || "");
921
922
  return;
922
923
  }
923
924
  Array.from(t).forEach((n) => {
924
- pt(e, n);
925
+ mt(e, n);
925
926
  let o = !1, r = !1;
926
927
  function i() {
927
928
  !o && l(n) ? (o = !0, r = !0, setTimeout(() => {
928
- X(n.style, e.steps[1].styles), e.repeat || document.removeEventListener("scroll", s), setTimeout(() => {
929
+ Z(n.style, e.steps[1].styles), e.repeat || document.removeEventListener("scroll", s), setTimeout(() => {
929
930
  r = !1, e.repeat || (n.style.transition = "", n.style.transitionDelay = "");
930
931
  }, (e.duration + (e.delay || 0)) * 1e3 + 100);
931
- })) : e.repeat && o && !r && !l(n) && (o = !1, X(n.style, e.steps[0].styles));
932
+ })) : e.repeat && o && !r && !l(n) && (o = !1, Z(n.style, e.steps[0].styles));
932
933
  }
933
- const s = Pn(i, 200, {
934
+ const s = An(i, 200, {
934
935
  leading: !1
935
936
  });
936
937
  function l(p) {
937
- const f = p.getBoundingClientRect(), c = window.innerHeight, b = (e.thresholdPercent || 0) / 100 * c;
938
- return f.bottom > b && f.top < c - b;
938
+ const b = p.getBoundingClientRect(), c = window.innerHeight, f = (e.thresholdPercent || 0) / 100 * c;
939
+ return b.bottom > f && b.top < c - f;
939
940
  }
940
941
  const a = e.steps[0].styles;
941
942
  function u() {
942
- X(n.style, a);
943
+ Z(n.style, a);
943
944
  }
944
945
  u(), setTimeout(() => {
945
- n.style.transition = `all ${e.duration}s ${Ae(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s");
946
+ n.style.transition = `all ${e.duration}s ${Ve(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s");
946
947
  }), document.addEventListener("scroll", s, {
947
948
  capture: !0,
948
949
  passive: !0
949
950
  }), i();
950
951
  });
951
952
  }
952
- const ht = (e) => Object.entries(e).map(([n, o]) => {
953
+ const ne = (e, t) => {
954
+ const n = (e == null ? void 0 : e.objectPosition) || t;
955
+ return n ? {
956
+ ...e,
957
+ "--builder-image-position": n
958
+ } : e;
959
+ }, ss = (e, t) => t ? {
960
+ ...e,
961
+ large: ne(e == null ? void 0 : e.large, "initial"),
962
+ medium: ne(e == null ? void 0 : e.medium),
963
+ small: ne(e == null ? void 0 : e.small),
964
+ xsmall: ne(e == null ? void 0 : e.xsmall)
965
+ } : e, ft = (e) => Object.entries(e).map(([n, o]) => {
953
966
  if (typeof o == "string")
954
- return `${Ae(n)}: ${o};`;
955
- }).filter(re), Nn = (e) => ht(e).join(`
956
- `), is = ({
967
+ return `${Ve(n)}: ${o};`;
968
+ }).filter(se), Wn = (e) => ft(e).join(`
969
+ `), as = ({
957
970
  mediaQuery: e,
958
971
  className: t,
959
972
  styles: n
960
973
  }) => {
961
974
  const o = `.${t} {
962
- ${Nn(n)}
975
+ ${Wn(n)}
963
976
  }`;
964
977
  return e ? `${e} {
965
978
  ${o}
966
979
  }` : o;
967
980
  };
968
- function Wn({
981
+ function Dn({
969
982
  style: e
970
983
  }) {
971
984
  return e;
972
985
  }
973
- const ss = ({
986
+ const ls = ({
974
987
  block: e,
975
988
  context: t
976
- }) => ft(Wn({
989
+ }) => bt(Dn({
977
990
  style: e.style || {},
978
991
  context: t,
979
992
  block: e
980
993
  }));
981
- function ft(e) {
994
+ function bt(e) {
982
995
  switch (R) {
983
996
  case "svelte":
984
997
  case "vue":
985
998
  case "solid":
986
999
  case "angular":
987
- return ht(e).join(" ");
1000
+ return ft(e).join(" ");
988
1001
  case "qwik":
989
1002
  case "reactNative":
990
1003
  case "react":
@@ -992,7 +1005,7 @@ function ft(e) {
992
1005
  return e;
993
1006
  }
994
1007
  }
995
- const bt = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includes(t) : !1 : !0, Dn = ({
1008
+ const gt = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includes(t) : !1 : !0, On = ({
996
1009
  block: e,
997
1010
  registeredComponents: t,
998
1011
  model: n
@@ -1002,7 +1015,7 @@ const bt = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
1002
1015
  if (!o)
1003
1016
  return null;
1004
1017
  const r = t[o];
1005
- if (!r || bt(r, n)) {
1018
+ if (!r || gt(r, n)) {
1006
1019
  console.warn(`
1007
1020
  Could not find a registered component named "${o}".
1008
1021
  If you registered it, is the file that registered it imported by the file that needs to render it?`);
@@ -1019,7 +1032,7 @@ const bt = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
1019
1032
  } = e;
1020
1033
  if (!(n != null && n.collection))
1021
1034
  return;
1022
- const r = _({
1035
+ const r = ee({
1023
1036
  code: n.collection,
1024
1037
  localState: t.localState,
1025
1038
  rootState: t.rootState,
@@ -1042,59 +1055,59 @@ const bt = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
1042
1055
  },
1043
1056
  block: o
1044
1057
  }));
1045
- }, On = (e, t) => {
1058
+ }, Un = (e, t) => {
1046
1059
  var n;
1047
1060
  return (n = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && n.builderLinkComponent ? {
1048
1061
  builderLinkComponent: t
1049
1062
  } : {};
1050
- }, Un = (e, t, n) => {
1063
+ }, Fn = (e, t, n) => {
1051
1064
  var o;
1052
1065
  return (o = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && o.builderComponents ? {
1053
- builderComponents: Object.fromEntries(Object.entries(t).filter(([i, s]) => !bt(s, n)))
1066
+ builderComponents: Object.fromEntries(Object.entries(t).filter(([i, s]) => !gt(s, n)))
1054
1067
  } : {};
1055
- }, Fn = (e, t) => {
1068
+ }, Ln = (e, t) => {
1056
1069
  var n;
1057
1070
  return (n = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && n.builderBlock ? {
1058
1071
  builderBlock: t
1059
1072
  } : {};
1060
- }, Ln = (e, t) => {
1073
+ }, Hn = (e, t) => {
1061
1074
  var n;
1062
1075
  return (n = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && n.builderContext ? {
1063
1076
  builderContext: t
1064
1077
  } : {};
1065
- }, Hn = (e) => e.toString(), Mn = () => Promise.resolve().then(() => no).then((e) => e.default).catch((e) => {
1078
+ }, Mn = (e) => e.toString(), zn = () => Promise.resolve().then(() => oo).then((e) => e.default).catch((e) => {
1066
1079
  throw console.error(
1067
1080
  "Error while attempting to dynamically import component DynamicDiv at ../dynamic-div.vue",
1068
1081
  e
1069
1082
  ), e;
1070
- }), zn = () => import("./block-wrapper-heMQ0bQW.js").then((e) => e.default).catch((e) => {
1083
+ }), jn = () => import("./block-wrapper-Nkj9awCA.js").then((e) => e.default).catch((e) => {
1071
1084
  throw console.error(
1072
1085
  "Error while attempting to dynamically import component BlockWrapper at ./components/block-wrapper.vue",
1073
1086
  e
1074
1087
  ), e;
1075
- }), jn = () => import("./component-ref-w7KWdZU9.js").then((e) => e.default).catch((e) => {
1088
+ }), qn = () => import("./component-ref-IheEdKTm.js").then((e) => e.default).catch((e) => {
1076
1089
  throw console.error(
1077
1090
  "Error while attempting to dynamically import component ComponentRef at ./components/component-ref/component-ref.vue",
1078
1091
  e
1079
1092
  ), e;
1080
- }), qn = () => import("./repeated-block-h_P0vHI5.js").then((e) => e.default).catch((e) => {
1093
+ }), Kn = () => import("./repeated-block-EN_RXDs9.js").then((e) => e.default).catch((e) => {
1081
1094
  throw console.error(
1082
1095
  "Error while attempting to dynamically import component RepeatedBlock at ./components/repeated-block.vue",
1083
1096
  e
1084
1097
  ), e;
1085
- }), Kn = () => import("./style-wrapper-MI0wKmtS.js").then((e) => e.default).catch((e) => {
1098
+ }), Jn = () => import("./style-wrapper-GM8YDWdR.js").then((e) => e.default).catch((e) => {
1086
1099
  throw console.error(
1087
1100
  "Error while attempting to dynamically import component StyleWrapper at ./components/style-wrapper.vue",
1088
1101
  e
1089
1102
  ), e;
1090
- }), Jn = y({
1103
+ }), Gn = y({
1091
1104
  name: "block",
1092
1105
  components: {
1093
- StyleWrapper: Q(Kn),
1094
- RepeatedBlock: Q(qn),
1095
- ComponentRef: Q(jn),
1096
- BlockWrapper: Q(zn),
1097
- DynamicDiv: Q(Mn)
1106
+ StyleWrapper: Y(Jn),
1107
+ RepeatedBlock: Y(Kn),
1108
+ ComponentRef: Y(qn),
1109
+ BlockWrapper: Y(jn),
1110
+ DynamicDiv: Y(zn)
1098
1111
  },
1099
1112
  props: ["block", "context", "registeredComponents", "linkComponent"],
1100
1113
  data() {
@@ -1103,12 +1116,12 @@ const bt = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
1103
1116
  value: null,
1104
1117
  update: !1
1105
1118
  },
1106
- generateKey: Hn
1119
+ generateKey: Mn
1107
1120
  };
1108
1121
  },
1109
1122
  mounted() {
1110
1123
  const e = this.processedBlock.id, t = this.processedBlock.animations;
1111
- t && e && An(
1124
+ t && e && Bn(
1112
1125
  t.map((n) => ({
1113
1126
  ...n,
1114
1127
  elementId: e
@@ -1126,7 +1139,7 @@ const bt = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
1126
1139
  },
1127
1140
  processedBlock() {
1128
1141
  var t;
1129
- return (t = this.block.repeat) != null && t.collection ? this.block : on({
1142
+ return (t = this.block.repeat) != null && t.collection ? this.block : rn({
1130
1143
  block: this.block,
1131
1144
  localState: this.context.localState,
1132
1145
  rootState: this.context.rootState,
@@ -1135,7 +1148,7 @@ const bt = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
1135
1148
  });
1136
1149
  },
1137
1150
  blockComponent() {
1138
- return Dn({
1151
+ return On({
1139
1152
  block: this.processedBlock,
1140
1153
  registeredComponents: this.registeredComponents,
1141
1154
  model: this.context.model
@@ -1162,11 +1175,11 @@ const bt = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
1162
1175
  blockChildren: this.processedBlock.children ?? [],
1163
1176
  componentRef: (e = this.blockComponent) == null ? void 0 : e.component,
1164
1177
  componentOptions: {
1165
- ...Gt(this.processedBlock, this.context),
1166
- ...Fn(this.blockComponent, this.processedBlock),
1167
- ...Ln(this.blockComponent, this.context),
1168
- ...On(this.blockComponent, this.linkComponent),
1169
- ...Un(
1178
+ ...Qt(this.processedBlock, this.context),
1179
+ ...Ln(this.blockComponent, this.processedBlock),
1180
+ ...Hn(this.blockComponent, this.context),
1181
+ ...Un(this.blockComponent, this.linkComponent),
1182
+ ...Fn(
1170
1183
  this.blockComponent,
1171
1184
  this.registeredComponents,
1172
1185
  this.context.model
@@ -1182,8 +1195,8 @@ const bt = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
1182
1195
  }
1183
1196
  }
1184
1197
  });
1185
- function Gn(e, t, n, o, r, i) {
1186
- var f;
1198
+ function Qn(e, t, n, o, r, i) {
1199
+ var b;
1187
1200
  const s = k("StyleWrapper"), l = k("ComponentRef"), a = k("Block", !0), u = k("BlockWrapper"), p = k("RepeatedBlock");
1188
1201
  return e.canShowBlock ? (d(), h(w, { key: 0 }, [
1189
1202
  $(s, {
@@ -1191,8 +1204,8 @@ function Gn(e, t, n, o, r, i) {
1191
1204
  context: e.context,
1192
1205
  id: e.block.id
1193
1206
  }, null, 8, ["block", "context", "id"]),
1194
- (f = e.blockComponent) != null && f.noWrap ? (d(), h(w, { key: 1 }, [
1195
- e.repeatItem ? (d(!0), h(w, { key: 1 }, F(e.repeatItem, (c, m) => (d(), S(p, {
1207
+ (b = e.blockComponent) != null && b.noWrap ? (d(), h(w, { key: 1 }, [
1208
+ e.repeatItem ? (d(!0), h(w, { key: 1 }, U(e.repeatItem, (c, m) => (d(), S(p, {
1196
1209
  key: e.generateKey(m),
1197
1210
  repeatContext: c.context,
1198
1211
  block: c.block,
@@ -1211,7 +1224,7 @@ function Gn(e, t, n, o, r, i) {
1211
1224
  isInteractive: e.componentRefProps.isInteractive
1212
1225
  }, null, 8, ["componentRef", "componentOptions", "blockChildren", "context", "registeredComponents", "linkComponent", "builderBlock", "includeBlockProps", "isInteractive"]))
1213
1226
  ], 64)) : (d(), h(w, { key: 0 }, [
1214
- e.repeatItem ? (d(!0), h(w, { key: 1 }, F(e.repeatItem, (c, m) => (d(), S(p, {
1227
+ e.repeatItem ? (d(!0), h(w, { key: 1 }, U(e.repeatItem, (c, m) => (d(), S(p, {
1215
1228
  key: e.generateKey(m),
1216
1229
  repeatContext: c.context,
1217
1230
  block: c.block,
@@ -1223,7 +1236,7 @@ function Gn(e, t, n, o, r, i) {
1223
1236
  block: e.processedBlock,
1224
1237
  context: e.context
1225
1238
  }, {
1226
- default: x(() => [
1239
+ default: D(() => [
1227
1240
  $(l, {
1228
1241
  componentRef: e.componentRefProps.componentRef,
1229
1242
  componentOptions: e.componentRefProps.componentOptions,
@@ -1235,7 +1248,7 @@ function Gn(e, t, n, o, r, i) {
1235
1248
  includeBlockProps: e.componentRefProps.includeBlockProps,
1236
1249
  isInteractive: e.componentRefProps.isInteractive
1237
1250
  }, null, 8, ["componentRef", "componentOptions", "blockChildren", "context", "registeredComponents", "linkComponent", "builderBlock", "includeBlockProps", "isInteractive"]),
1238
- (d(!0), h(w, null, F(e.childrenWithoutParentComponent, (c, m) => (d(), S(a, {
1251
+ (d(!0), h(w, null, U(e.childrenWithoutParentComponent, (c, m) => (d(), S(a, {
1239
1252
  key: c.id,
1240
1253
  block: c,
1241
1254
  registeredComponents: e.registeredComponents,
@@ -1246,12 +1259,12 @@ function Gn(e, t, n, o, r, i) {
1246
1259
  _: 1
1247
1260
  }, 8, ["Wrapper", "block", "context"]))
1248
1261
  ], 64))
1249
- ], 64)) : C("", !0);
1262
+ ], 64)) : T("", !0);
1250
1263
  }
1251
- const gt = /* @__PURE__ */ v(Jn, [["render", Gn]]), as = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1264
+ const yt = /* @__PURE__ */ v(Gn, [["render", Qn]]), cs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1252
1265
  __proto__: null,
1253
- default: gt
1254
- }, Symbol.toStringTag, { value: "Module" })), Qn = y({
1266
+ default: yt
1267
+ }, Symbol.toStringTag, { value: "Module" })), Yn = y({
1255
1268
  name: "builder-blocks-wrapper",
1256
1269
  props: [
1257
1270
  "blocks",
@@ -1321,8 +1334,8 @@ const gt = /* @__PURE__ */ v(Jn, [["render", Gn]]), as = /* @__PURE__ */ Object.
1321
1334
  }
1322
1335
  }
1323
1336
  });
1324
- function Yn(e, t, n, o, r, i) {
1325
- return d(), S(Y(e.BlocksWrapper), I({
1337
+ function Xn(e, t, n, o, r, i) {
1338
+ return d(), S(X(e.BlocksWrapper), I({
1326
1339
  ref: "blocksWrapperRef",
1327
1340
  class: e.className + " component-5vz8uirn7sc",
1328
1341
  "builder-path": e.dataPath,
@@ -1332,15 +1345,15 @@ function Yn(e, t, n, o, r, i) {
1332
1345
  onMouseEnter: (s) => e.onMouseEnter(),
1333
1346
  onKeyPress: (s) => e.onClick()
1334
1347
  }, { ...e.BlocksWrapperProps }), {
1335
- default: x(() => [
1348
+ default: D(() => [
1336
1349
  V(e.$slots, "default", {}, void 0, !0)
1337
1350
  ]),
1338
1351
  _: 3
1339
1352
  }, 16, ["class", "builder-path", "builder-parent-id", "style", "onClick", "onMouseEnter", "onKeyPress"]);
1340
1353
  }
1341
- const Xn = /* @__PURE__ */ v(Qn, [["render", Yn], ["__scopeId", "data-v-82fc93d6"]]), Zn = y({
1354
+ const Zn = /* @__PURE__ */ v(Yn, [["render", Xn], ["__scopeId", "data-v-82fc93d6"]]), _n = y({
1342
1355
  name: "builder-blocks",
1343
- components: { BlocksWrapper: Xn, Block: gt },
1356
+ components: { BlocksWrapper: Zn, Block: yt },
1344
1357
  props: [
1345
1358
  "blocks",
1346
1359
  "parent",
@@ -1353,12 +1366,12 @@ const Xn = /* @__PURE__ */ v(Qn, [["render", Yn], ["__scopeId", "data-v-82fc93d6
1353
1366
  "registeredComponents"
1354
1367
  ],
1355
1368
  inject: {
1356
- builderContext: he.key,
1357
- componentsContext: et.key
1369
+ builderContext: be.key,
1370
+ componentsContext: tt.key
1358
1371
  }
1359
1372
  });
1360
- function _n(e, t, n, o, r, i) {
1361
- var a, u, p, f;
1373
+ function eo(e, t, n, o, r, i) {
1374
+ var a, u, p, b;
1362
1375
  const s = k("Block"), l = k("BlocksWrapper");
1363
1376
  return d(), S(l, {
1364
1377
  blocks: e.blocks,
@@ -1367,39 +1380,39 @@ function _n(e, t, n, o, r, i) {
1367
1380
  styleProp: e.styleProp,
1368
1381
  BlocksWrapperProps: e.BlocksWrapperProps || ((a = e.context) == null ? void 0 : a.BlocksWrapperProps) || ((u = e.builderContext) == null ? void 0 : u.BlocksWrapperProps),
1369
1382
  classNameProp: e.className,
1370
- BlocksWrapper: ((p = e.context) == null ? void 0 : p.BlocksWrapper) || ((f = e.builderContext) == null ? void 0 : f.BlocksWrapper)
1383
+ BlocksWrapper: ((p = e.context) == null ? void 0 : p.BlocksWrapper) || ((b = e.builderContext) == null ? void 0 : b.BlocksWrapper)
1371
1384
  }, {
1372
- default: x(() => [
1385
+ default: D(() => [
1373
1386
  V(e.$slots, "default"),
1374
- e.blocks ? (d(!0), h(w, { key: 0 }, F(e.blocks, (c, m) => {
1375
- var b;
1387
+ e.blocks ? (d(!0), h(w, { key: 0 }, U(e.blocks, (c, m) => {
1388
+ var f;
1376
1389
  return d(), S(s, {
1377
1390
  key: c.id,
1378
1391
  block: c,
1379
1392
  linkComponent: e.linkComponent,
1380
1393
  context: e.context || e.builderContext,
1381
- registeredComponents: e.registeredComponents || ((b = e.componentsContext) == null ? void 0 : b.registeredComponents)
1394
+ registeredComponents: e.registeredComponents || ((f = e.componentsContext) == null ? void 0 : f.registeredComponents)
1382
1395
  }, null, 8, ["block", "linkComponent", "context", "registeredComponents"]);
1383
- }), 128)) : C("", !0)
1396
+ }), 128)) : T("", !0)
1384
1397
  ]),
1385
1398
  _: 3
1386
1399
  }, 8, ["blocks", "parent", "path", "styleProp", "BlocksWrapperProps", "classNameProp", "BlocksWrapper"]);
1387
1400
  }
1388
- const j = /* @__PURE__ */ v(Zn, [["render", _n]]), eo = y({
1401
+ const j = /* @__PURE__ */ v(_n, [["render", eo]]), to = y({
1389
1402
  name: "dynamic-div",
1390
1403
  props: []
1391
1404
  });
1392
- function to(e, t, n, o, r, i) {
1405
+ function no(e, t, n, o, r, i) {
1393
1406
  return d(), h("div", null, [
1394
1407
  V(e.$slots, "default")
1395
1408
  ]);
1396
1409
  }
1397
- const ee = /* @__PURE__ */ v(eo, [["render", to]]), no = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1410
+ const te = /* @__PURE__ */ v(to, [["render", no]]), oo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1398
1411
  __proto__: null,
1399
- default: ee
1400
- }, Symbol.toStringTag, { value: "Module" })), ce = y({
1412
+ default: te
1413
+ }, Symbol.toStringTag, { value: "Module" })), ue = y({
1401
1414
  render() {
1402
- return Qe("style", {
1415
+ return Ye("style", {
1403
1416
  innerHTML: this.styles,
1404
1417
  "data-id": this.id,
1405
1418
  nonce: this.nonce
@@ -1407,7 +1420,7 @@ const ee = /* @__PURE__ */ v(eo, [["render", to]]), no = /* @__PURE__ */ Object.
1407
1420
  },
1408
1421
  name: "inlined-styles",
1409
1422
  props: ["styles", "id", "nonce"]
1410
- }), yt = {
1423
+ }), vt = {
1411
1424
  xsmall: {
1412
1425
  min: 0,
1413
1426
  default: 160,
@@ -1428,8 +1441,8 @@ const ee = /* @__PURE__ */ v(eo, [["render", to]]), no = /* @__PURE__ */ Object.
1428
1441
  default: 991,
1429
1442
  max: 1200
1430
1443
  }
1431
- }, ls = (e, t = yt) => `@media (max-width: ${t[e].max}px)`, oo = (e) => {
1432
- const t = Te(yt);
1444
+ }, ds = (e, t = vt) => `@media (max-width: ${t[e].max}px)`, ro = (e) => {
1445
+ const t = Ie(vt);
1433
1446
  if (!e)
1434
1447
  return t;
1435
1448
  const {
@@ -1466,13 +1479,13 @@ const ee = /* @__PURE__ */ v(eo, [["render", to]]), no = /* @__PURE__ */ Object.
1466
1479
  min: l,
1467
1480
  default: l + 1
1468
1481
  }, t;
1469
- }, ro = (e) => `builder-columns ${e}-breakpoints`, io = y({
1482
+ }, io = (e) => `builder-columns ${e}-breakpoints`, so = y({
1470
1483
  name: "builder-columns",
1471
1484
  components: {
1472
- InlinedStyles: ce,
1473
- DynamicRenderer: Ie,
1485
+ InlinedStyles: ue,
1486
+ DynamicRenderer: Re,
1474
1487
  Blocks: j,
1475
- DynamicDiv: ee
1488
+ DynamicDiv: te
1476
1489
  },
1477
1490
  props: [
1478
1491
  "space",
@@ -1485,7 +1498,7 @@ const ee = /* @__PURE__ */ v(eo, [["render", to]]), no = /* @__PURE__ */ Object.
1485
1498
  "builderComponents"
1486
1499
  ],
1487
1500
  data() {
1488
- return { TARGET: R, getColumnsClass: ro };
1501
+ return { TARGET: R, getColumnsClass: io };
1489
1502
  },
1490
1503
  computed: {
1491
1504
  gutterSize() {
@@ -1564,7 +1577,7 @@ const ee = /* @__PURE__ */ v(eo, [["render", to]]), no = /* @__PURE__ */ Object.
1564
1577
  },
1565
1578
  getWidthForBreakpointSize(e) {
1566
1579
  var n, o;
1567
- return oo(
1580
+ return ro(
1568
1581
  ((o = (n = this.builderContext.content) == null ? void 0 : n.meta) == null ? void 0 : o.breakpoints) || {}
1569
1582
  )[e].max;
1570
1583
  },
@@ -1601,13 +1614,13 @@ const ee = /* @__PURE__ */ v(eo, [["render", to]]), no = /* @__PURE__ */ Object.
1601
1614
  ...e.link ? {
1602
1615
  href: e.link
1603
1616
  } : {},
1604
- [z()]: "builder-column",
1605
- style: ft(this.columnCssVars(t))
1617
+ [M()]: "builder-column",
1618
+ style: bt(this.columnCssVars(t))
1606
1619
  };
1607
1620
  }
1608
1621
  }
1609
1622
  });
1610
- function so(e, t, n, o, r, i) {
1623
+ function ao(e, t, n, o, r, i) {
1611
1624
  var u;
1612
1625
  const s = k("InlinedStyles"), l = k("Blocks"), a = k("DynamicRenderer");
1613
1626
  return d(), h("div", I({
@@ -1619,16 +1632,16 @@ function so(e, t, n, o, r, i) {
1619
1632
  id: "builderio-columns",
1620
1633
  styles: e.columnsStyles(),
1621
1634
  nonce: e.builderContext.nonce
1622
- }, null, 8, ["styles", "nonce"])) : C("", !0),
1623
- (d(!0), h(w, null, F(e.columns, (p, f) => (d(), S(a, {
1624
- key: f,
1635
+ }, null, 8, ["styles", "nonce"])) : T("", !0),
1636
+ (d(!0), h(w, null, U(e.columns, (p, b) => (d(), S(a, {
1637
+ key: b,
1625
1638
  TagName: e.getTagName(p),
1626
1639
  actionAttributes: {},
1627
- attributes: e.getAttributes(p, f)
1640
+ attributes: e.getAttributes(p, b)
1628
1641
  }, {
1629
- default: x(() => [
1642
+ default: D(() => [
1630
1643
  $(l, {
1631
- path: `columns.${f}.blocks`,
1644
+ path: `columns.${b}.blocks`,
1632
1645
  parent: e.builderBlock.id,
1633
1646
  context: e.builderContext,
1634
1647
  registeredComponents: e.builderComponents,
@@ -1643,47 +1656,47 @@ function so(e, t, n, o, r, i) {
1643
1656
  }, 1032, ["TagName", "attributes"]))), 128))
1644
1657
  ], 16);
1645
1658
  }
1646
- const ao = /* @__PURE__ */ v(io, [["render", so], ["__scopeId", "data-v-ab15749a"]]), lo = y({
1659
+ const lo = /* @__PURE__ */ v(so, [["render", ao], ["__scopeId", "data-v-ab15749a"]]), co = y({
1647
1660
  name: "builder-fragment-component",
1648
1661
  props: []
1649
1662
  });
1650
- function co(e, t, n, o, r, i) {
1663
+ function uo(e, t, n, o, r, i) {
1651
1664
  return d(), h("span", null, [
1652
1665
  V(e.$slots, "default")
1653
1666
  ]);
1654
1667
  }
1655
- const uo = /* @__PURE__ */ v(lo, [["render", co]]);
1656
- function je(e) {
1668
+ const po = /* @__PURE__ */ v(co, [["render", uo]]);
1669
+ function qe(e) {
1657
1670
  return e.replace(/http(s)?:/, "");
1658
1671
  }
1659
- function po(e = "", t, n) {
1672
+ function mo(e = "", t, n) {
1660
1673
  const o = new RegExp("([?&])" + t + "=.*?(&|$)", "i"), r = e.indexOf("?") !== -1 ? "&" : "?";
1661
1674
  return e.match(o) ? e.replace(o, "$1" + t + "=" + encodeURIComponent(n) + "$2") : e + r + t + "=" + encodeURIComponent(n);
1662
1675
  }
1663
- function mo(e, t) {
1676
+ function ho(e, t) {
1664
1677
  if (!e || !(e != null && e.match(/cdn\.shopify\.com/)) || !t)
1665
1678
  return e;
1666
1679
  if (t === "master")
1667
- return je(e);
1680
+ return qe(e);
1668
1681
  const n = e.match(/(_\d+x(\d+)?)?(\.(jpg|jpeg|gif|png|bmp|bitmap|tiff|tif)(\?v=\d+)?)/i);
1669
1682
  if (n) {
1670
1683
  const o = e.split(n[0]), r = n[3], i = t.match("x") ? t : `${t}x`;
1671
- return je(`${o[0]}_${i}${r}`);
1684
+ return qe(`${o[0]}_${i}${r}`);
1672
1685
  }
1673
1686
  return null;
1674
1687
  }
1675
- function te(e) {
1688
+ function oe(e) {
1676
1689
  if (!e)
1677
1690
  return e;
1678
1691
  const t = [100, 200, 400, 800, 1200, 1600, 2e3];
1679
1692
  if (e.match(/builder\.io/)) {
1680
1693
  let n = e;
1681
1694
  const o = Number(e.split("?width=")[1]);
1682
- return isNaN(o) || (n = `${n} ${o}w`), t.filter((r) => r !== o).map((r) => `${po(e, "width", r)} ${r}w`).concat([n]).join(", ");
1695
+ return isNaN(o) || (n = `${n} ${o}w`), t.filter((r) => r !== o).map((r) => `${mo(e, "width", r)} ${r}w`).concat([n]).join(", ");
1683
1696
  }
1684
- return e.match(/cdn\.shopify\.com/) ? t.map((n) => [mo(e, `${n}x${n}`), n]).filter(([n]) => !!n).map(([n, o]) => `${n} ${o}w`).concat([e]).join(", ") : e;
1697
+ return e.match(/cdn\.shopify\.com/) ? t.map((n) => [ho(e, `${n}x${n}`), n]).filter(([n]) => !!n).map(([n, o]) => `${n} ${o}w`).concat([e]).join(", ") : e;
1685
1698
  }
1686
- const ho = y({
1699
+ const fo = y({
1687
1700
  name: "builder-image",
1688
1701
  props: [
1689
1702
  "lazy",
@@ -1713,10 +1726,10 @@ const ho = y({
1713
1726
  if (!this.noWebp) {
1714
1727
  if (this.srcset && ((n = this.image) != null && n.includes("builder.io/api/v1/image"))) {
1715
1728
  if (!this.srcset.includes(this.image.split("?")[0]))
1716
- return console.debug("Removed given srcset"), te(t);
1729
+ return console.debug("Removed given srcset"), oe(t);
1717
1730
  } else if (this.image && !this.srcset)
1718
- return te(t);
1719
- return te(t);
1731
+ return oe(t);
1732
+ return oe(t);
1720
1733
  }
1721
1734
  },
1722
1735
  webpSrcSet() {
@@ -1737,60 +1750,60 @@ const ho = y({
1737
1750
  return this.aspectRatio ? e : void 0;
1738
1751
  }
1739
1752
  }
1740
- }), fo = ["srcset", "sizes"], bo = ["loading", "fetchpriority", "alt", "title", "role", "src", "srcset", "sizes"], go = {
1753
+ }), bo = ["srcset", "sizes"], go = ["loading", "fetchpriority", "alt", "title", "role", "src", "srcset", "sizes"], yo = {
1741
1754
  key: 2,
1742
1755
  class: "div-t43jfuqn6g-2"
1743
1756
  };
1744
- function yo(e, t, n, o, r, i) {
1745
- var s, l, a, u, p, f;
1757
+ function vo(e, t, n, o, r, i) {
1758
+ var s, l, a, u, p, b;
1746
1759
  return d(), h(w, null, [
1747
- q("picture", null, [
1760
+ K("picture", null, [
1748
1761
  e.webpSrcSet ? (d(), h("source", {
1749
1762
  key: 0,
1750
1763
  type: "image/webp",
1751
1764
  srcset: e.webpSrcSet,
1752
1765
  sizes: e.sizesToUse
1753
- }, null, 8, fo)) : C("", !0),
1754
- q("img", {
1766
+ }, null, 8, bo)) : T("", !0),
1767
+ K("img", {
1755
1768
  loading: e.highPriority ? "eager" : "lazy",
1756
1769
  fetchpriority: e.highPriority ? "high" : "auto",
1757
1770
  alt: e.altText || "",
1758
1771
  title: e.title,
1759
1772
  role: e.altText ? void 0 : "presentation",
1760
- style: M({
1761
- objectPosition: e.backgroundPosition || "center",
1773
+ style: H({
1774
+ objectPosition: `var(--builder-image-position, ${e.backgroundPosition || "center"})`,
1762
1775
  objectFit: e.backgroundSize || "cover",
1763
1776
  ...e.aspectRatioCss
1764
1777
  }),
1765
- class: Z(
1778
+ class: _(
1766
1779
  "builder-image" + (e.className ? " " + e.className : "") + " img-t43jfuqn6g"
1767
1780
  ),
1768
1781
  src: e.image,
1769
1782
  srcset: e.srcSetToUse,
1770
1783
  sizes: e.sizesToUse
1771
- }, null, 14, bo)
1784
+ }, null, 14, go)
1772
1785
  ]),
1773
1786
  e.aspectRatio && !((l = (s = e.builderBlock) == null ? void 0 : s.children) != null && l.length && e.fitContent) ? (d(), h("div", {
1774
1787
  key: 0,
1775
1788
  class: "builder-image-sizer div-t43jfuqn6g",
1776
- style: M({
1789
+ style: H({
1777
1790
  paddingTop: e.aspectRatio * 100 + "%"
1778
1791
  })
1779
- }, null, 4)) : C("", !0),
1780
- (u = (a = e.builderBlock) == null ? void 0 : a.children) != null && u.length && e.fitContent ? V(e.$slots, "default", { key: 1 }, void 0, !0) : C("", !0),
1781
- !e.fitContent && ((f = (p = e.builderBlock) == null ? void 0 : p.children) != null && f.length) ? (d(), h("div", go, [
1792
+ }, null, 4)) : T("", !0),
1793
+ (u = (a = e.builderBlock) == null ? void 0 : a.children) != null && u.length && e.fitContent ? V(e.$slots, "default", { key: 1 }, void 0, !0) : T("", !0),
1794
+ !e.fitContent && ((b = (p = e.builderBlock) == null ? void 0 : p.children) != null && b.length) ? (d(), h("div", yo, [
1782
1795
  V(e.$slots, "default", {}, void 0, !0)
1783
- ])) : C("", !0)
1796
+ ])) : T("", !0)
1784
1797
  ], 64);
1785
1798
  }
1786
- const vo = /* @__PURE__ */ v(ho, [["render", yo], ["__scopeId", "data-v-bb2384ad"]]), So = y({
1799
+ const So = /* @__PURE__ */ v(fo, [["render", vo], ["__scopeId", "data-v-f109a7da"]]), ko = y({
1787
1800
  name: "builder-section-component",
1788
1801
  props: ["attributes", "maxWidth"],
1789
1802
  data() {
1790
1803
  return { filterAttrs: N };
1791
1804
  }
1792
1805
  });
1793
- function ko(e, t, n, o, r, i) {
1806
+ function Co(e, t, n, o, r, i) {
1794
1807
  return d(), h("section", I({
1795
1808
  style: {
1796
1809
  width: "100%",
@@ -1804,12 +1817,12 @@ function ko(e, t, n, o, r, i) {
1804
1817
  marginLeft: "auto",
1805
1818
  marginRight: "auto"
1806
1819
  }
1807
- }, e.filterAttrs(e.attributes, "v-on:", !1), U(e.filterAttrs(e.attributes, "v-on:", !0), !0)), [
1820
+ }, e.filterAttrs(e.attributes, "v-on:", !1), x(e.filterAttrs(e.attributes, "v-on:", !0), !0)), [
1808
1821
  V(e.$slots, "default")
1809
1822
  ], 16);
1810
1823
  }
1811
- const Co = /* @__PURE__ */ v(So, [["render", ko]]);
1812
- function To(e, t, n, o) {
1824
+ const To = /* @__PURE__ */ v(ko, [["render", Co]]);
1825
+ function wo(e, t, n, o) {
1813
1826
  function r(u) {
1814
1827
  return typeof u == "string";
1815
1828
  }
@@ -1819,41 +1832,41 @@ function To(e, t, n, o) {
1819
1832
  function s(u, p) {
1820
1833
  return (() => {
1821
1834
  const c = p.property, m = p.operator;
1822
- let b = p.value;
1823
- if (p && p.property === "urlPath" && p.value && typeof p.value == "string" && p.value !== "/" && p.value.endsWith("/") && (b = p.value.slice(0, -1)), !(c && m))
1835
+ let f = p.value;
1836
+ if (p && p.property === "urlPath" && p.value && typeof p.value == "string" && p.value !== "/" && p.value.endsWith("/") && (f = p.value.slice(0, -1)), !(c && m))
1824
1837
  return !0;
1825
- if (Array.isArray(b))
1826
- return m === "isNot" ? b.every((P) => s(u, {
1838
+ if (Array.isArray(f))
1839
+ return m === "isNot" ? f.every((P) => s(u, {
1827
1840
  property: c,
1828
1841
  operator: m,
1829
1842
  value: P
1830
- })) : !!b.find((P) => s(u, {
1843
+ })) : !!f.find((P) => s(u, {
1831
1844
  property: c,
1832
1845
  operator: m,
1833
1846
  value: P
1834
1847
  }));
1835
1848
  const g = u[c];
1836
1849
  if (Array.isArray(g))
1837
- return g.includes(b);
1850
+ return g.includes(f);
1838
1851
  switch (m) {
1839
1852
  case "is":
1840
- return g === b;
1853
+ return g === f;
1841
1854
  case "isNot":
1842
- return g !== b;
1855
+ return g !== f;
1843
1856
  case "contains":
1844
- return (r(g) || Array.isArray(g)) && g.includes(String(b));
1857
+ return (r(g) || Array.isArray(g)) && g.includes(String(f));
1845
1858
  case "startsWith":
1846
- return r(g) && g.startsWith(String(b));
1859
+ return r(g) && g.startsWith(String(f));
1847
1860
  case "endsWith":
1848
- return r(g) && g.endsWith(String(b));
1861
+ return r(g) && g.endsWith(String(f));
1849
1862
  case "greaterThan":
1850
- return i(g) && i(b) && g > b;
1863
+ return i(g) && i(f) && g > f;
1851
1864
  case "lessThan":
1852
- return i(g) && i(b) && g < b;
1865
+ return i(g) && i(f) && g < f;
1853
1866
  case "greaterThanOrEqualTo":
1854
- return i(g) && i(b) && g >= b;
1867
+ return i(g) && i(f) && g >= f;
1855
1868
  case "lessThanOrEqualTo":
1856
- return i(g) && i(b) && g <= b;
1869
+ return i(g) && i(f) && g <= f;
1857
1870
  default:
1858
1871
  return !1;
1859
1872
  }
@@ -1866,7 +1879,7 @@ function To(e, t, n, o) {
1866
1879
  }, a = e.date && new Date(e.date) || /* @__PURE__ */ new Date();
1867
1880
  return l.startDate && new Date(l.startDate) > a || l.endDate && new Date(l.endDate) < a ? !1 : !l.query || !l.query.length ? !0 : l.query.every((u) => s(e, u));
1868
1881
  }
1869
- const wo = `function getPersonalizedVariant(variants, blockId, isHydrationTarget, locale) {
1882
+ const Io = `function getPersonalizedVariant(variants, blockId, isHydrationTarget, locale) {
1870
1883
  if (!navigator.cookieEnabled) {
1871
1884
  return;
1872
1885
  }
@@ -1911,7 +1924,7 @@ const wo = `function getPersonalizedVariant(variants, blockId, isHydrationTarget
1911
1924
  thisScript.remove();
1912
1925
  }
1913
1926
  }
1914
- }`, Io = `function filterWithCustomTargeting(userAttributes, query, startDate, endDate) {
1927
+ }`, $o = `function filterWithCustomTargeting(userAttributes, query, startDate, endDate) {
1915
1928
  function isString(val) {
1916
1929
  return typeof val === 'string';
1917
1930
  }
@@ -1989,7 +2002,7 @@ const wo = `function getPersonalizedVariant(variants, blockId, isHydrationTarget
1989
2002
  return item.query.every(filter => {
1990
2003
  return objectMatchesQuery(userAttributes, filter);
1991
2004
  });
1992
- }`, $o = `function updateVisibilityStylesScript(variants, blockId, isHydrationTarget, locale) {
2005
+ }`, Ro = `function updateVisibilityStylesScript(variants, blockId, isHydrationTarget, locale) {
1993
2006
  function getCookie(name) {
1994
2007
  const nameEQ = name + '=';
1995
2008
  const ca = document.cookie.split(';');
@@ -2027,11 +2040,11 @@ const wo = `function getPersonalizedVariant(variants, blockId, isHydrationTarget
2027
2040
  visibilityStylesEl.innerHTML = newStyleStr;
2028
2041
  }
2029
2042
  }
2030
- }`, ne = "default", qe = "filterWithCustomTargeting", ye = "builderIoPersonalization", ve = "updateVisibilityStylesScript", Ro = "PersonalizationContainer", vt = ["react", "vue", "svelte", "qwik"], St = ["vue", "svelte", "qwik"];
2031
- function Eo(e, t) {
2032
- return !(e && e.length > 0) || !t ? !1 : St.includes(R) ? !0 : !E();
2043
+ }`, re = "default", Ke = "filterWithCustomTargeting", Se = "builderIoPersonalization", ke = "updateVisibilityStylesScript", Eo = "PersonalizationContainer", St = ["react", "vue", "svelte", "qwik"], kt = ["vue", "svelte", "qwik"];
2044
+ function Po(e, t) {
2045
+ return !(e && e.length > 0) || !t ? !1 : kt.includes(R) ? !0 : !E();
2033
2046
  }
2034
- function Po({
2047
+ function Ao({
2035
2048
  variants: e,
2036
2049
  previewingIndex: t,
2037
2050
  isHydrated: n,
@@ -2041,7 +2054,7 @@ function Po({
2041
2054
  const i = {
2042
2055
  blocks: r ?? [],
2043
2056
  path: "this.children",
2044
- index: ne
2057
+ index: re
2045
2058
  };
2046
2059
  if (n && A()) {
2047
2060
  if (typeof t == "number" && t < ((e == null ? void 0 : e.length) ?? 0)) {
@@ -2069,22 +2082,22 @@ function Po({
2069
2082
  }
2070
2083
  return i;
2071
2084
  }
2072
- const Se = (e) => {
2085
+ const Ce = (e) => {
2073
2086
  var t;
2074
- return Array.isArray(e) ? e.some(Se) : !e || typeof e != "object" ? !1 : ((t = e.component) == null ? void 0 : t.name) === Ro ? !0 : Object.values(e).some(Se);
2075
- }, Ao = (e) => Se(e), Bo = () => `
2087
+ return Array.isArray(e) ? e.some(Ce) : !e || typeof e != "object" ? !1 : ((t = e.component) == null ? void 0 : t.name) === Eo ? !0 : Object.values(e).some(Ce);
2088
+ }, Bo = (e) => Ce(e), Vo = () => `
2076
2089
  (function() {
2077
- if (!window.${qe}) {
2078
- window.${qe} = ${Io};
2090
+ if (!window.${Ke}) {
2091
+ window.${Ke} = ${$o};
2079
2092
  }
2080
- if (!window.${ye}) {
2081
- window.${ye} = ${wo};
2093
+ if (!window.${Se}) {
2094
+ window.${Se} = ${Io};
2082
2095
  }
2083
- if (!window.${ve}) {
2084
- window.${ve} = ${$o};
2096
+ if (!window.${ke}) {
2097
+ window.${ke} = ${Ro};
2085
2098
  }
2086
2099
  })();
2087
- `, kt = R === "react", Vo = (e, t, n) => `window.${ye}(${JSON.stringify(e)}, "${t}", ${kt}${n ? `, "${n}"` : ""})`, No = (e, t, n) => `window.${ve}(${JSON.stringify(e)}, "${t}", ${kt}${n ? `, "${n}"` : ""})`, de = {
2100
+ `, Ct = R === "react", No = (e, t, n) => `window.${Se}(${JSON.stringify(e)}, "${t}", ${Ct}${n ? `, "${n}"` : ""})`, Wo = (e, t, n) => `window.${ke}(${JSON.stringify(e)}, "${t}", ${Ct}${n ? `, "${n}"` : ""})`, pe = {
2088
2101
  "@type": "@builder.io/sdk:Element",
2089
2102
  layerName: "Accordion item title",
2090
2103
  responsiveStyles: {
@@ -2113,7 +2126,7 @@ const Se = (e) => {
2113
2126
  }
2114
2127
  }
2115
2128
  }]
2116
- }, ue = {
2129
+ }, me = {
2117
2130
  "@type": "@builder.io/sdk:Element",
2118
2131
  layerName: "Accordion item detail",
2119
2132
  responsiveStyles: {
@@ -2144,7 +2157,7 @@ const Se = (e) => {
2144
2157
  }
2145
2158
  }
2146
2159
  }]
2147
- }, Wo = {
2160
+ }, Do = {
2148
2161
  name: "Builder:Accordion",
2149
2162
  canHaveChildren: !0,
2150
2163
  image: "https://cdn.builder.io/api/v1/image/assets%2FagZ9n5CUKRfbL9t6CaJOyVSK4Es2%2Ffab6c1fd3fe542408cbdec078bca7f35",
@@ -2161,19 +2174,19 @@ const Se = (e) => {
2161
2174
  name: "title",
2162
2175
  type: "uiBlocks",
2163
2176
  hideFromUI: !0,
2164
- defaultValue: [de]
2177
+ defaultValue: [pe]
2165
2178
  }, {
2166
2179
  name: "detail",
2167
2180
  type: "uiBlocks",
2168
2181
  hideFromUI: !0,
2169
- defaultValue: [ue]
2182
+ defaultValue: [me]
2170
2183
  }],
2171
2184
  defaultValue: [{
2172
- title: [de],
2173
- detail: [ue]
2185
+ title: [pe],
2186
+ detail: [me]
2174
2187
  }, {
2175
- title: [de],
2176
- detail: [ue]
2188
+ title: [pe],
2189
+ detail: [me]
2177
2190
  }],
2178
2191
  showIf: (e) => !e.get("useChildrenForItems")
2179
2192
  }, {
@@ -2208,7 +2221,7 @@ const Se = (e) => {
2208
2221
  builderComponents: !0,
2209
2222
  builderLinkComponent: !0
2210
2223
  }
2211
- }, Do = (e) => e.toString(), xo = y({
2224
+ }, Oo = (e) => e.toString(), xo = y({
2212
2225
  name: "builder-accordion",
2213
2226
  components: { Blocks: j },
2214
2227
  props: [
@@ -2222,7 +2235,7 @@ const Se = (e) => {
2222
2235
  "builderLinkComponent"
2223
2236
  ],
2224
2237
  data() {
2225
- return { open: [], convertOrderNumberToString: Do };
2238
+ return { open: [], convertOrderNumberToString: Oo };
2226
2239
  },
2227
2240
  computed: {
2228
2241
  onlyOneAtATime() {
@@ -2303,17 +2316,17 @@ const Se = (e) => {
2303
2316
  this.open.includes(e) ? this.open = this.onlyOneAtATime ? [] : this.open.filter((t) => t !== e) : this.open = this.onlyOneAtATime ? [e] : this.open.concat(e);
2304
2317
  }
2305
2318
  }
2306
- }), Oo = ["data-index", "onClick"];
2307
- function Uo(e, t, n, o, r, i) {
2319
+ }), Uo = ["data-index", "onClick"];
2320
+ function Fo(e, t, n, o, r, i) {
2308
2321
  const s = k("Blocks");
2309
2322
  return d(), h("div", {
2310
2323
  class: "builder-accordion",
2311
- style: M(e.accordionStyles)
2324
+ style: H(e.accordionStyles)
2312
2325
  }, [
2313
- (d(!0), h(w, null, F(e.items, (l, a) => (d(), h(w, { key: a }, [
2314
- q("div", {
2315
- class: Z(e.getAccordionTitleClassName(a)),
2316
- style: M({
2326
+ (d(!0), h(w, null, U(e.items, (l, a) => (d(), h(w, { key: a }, [
2327
+ K("div", {
2328
+ class: _(e.getAccordionTitleClassName(a)),
2329
+ style: H({
2317
2330
  ...e.accordionTitleStyles,
2318
2331
  ...e.grid && {
2319
2332
  width: e.gridRowWidth,
@@ -2331,11 +2344,11 @@ function Uo(e, t, n, o, r, i) {
2331
2344
  registeredComponents: e.builderComponents,
2332
2345
  linkComponent: e.builderLinkComponent
2333
2346
  }, null, 8, ["blocks", "path", "parent", "context", "registeredComponents", "linkComponent"])
2334
- ], 14, Oo),
2347
+ ], 14, Uo),
2335
2348
  e.open.includes(a) ? (d(), h("div", {
2336
2349
  key: 0,
2337
- class: Z(e.getAccordionDetailClassName(a)),
2338
- style: M(e.accordionDetailStyles)
2350
+ class: _(e.getAccordionDetailClassName(a)),
2351
+ style: H(e.accordionDetailStyles)
2339
2352
  }, [
2340
2353
  $(s, {
2341
2354
  blocks: l.detail,
@@ -2345,11 +2358,11 @@ function Uo(e, t, n, o, r, i) {
2345
2358
  registeredComponents: e.builderComponents,
2346
2359
  linkComponent: e.builderLinkComponent
2347
2360
  }, null, 8, ["blocks", "path", "parent", "context", "registeredComponents", "linkComponent"])
2348
- ], 6)) : C("", !0)
2361
+ ], 6)) : T("", !0)
2349
2362
  ], 64))), 128))
2350
2363
  ], 4);
2351
2364
  }
2352
- const Fo = /* @__PURE__ */ v(xo, [["render", Uo]]), Lo = {
2365
+ const Lo = /* @__PURE__ */ v(xo, [["render", Fo]]), Ho = {
2353
2366
  name: "Core:Button",
2354
2367
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F81a15681c3e74df09677dfc57a615b13",
2355
2368
  defaultStyles: {
@@ -2385,7 +2398,7 @@ const Fo = /* @__PURE__ */ v(xo, [["render", Uo]]), Lo = {
2385
2398
  shouldReceiveBuilderProps: {
2386
2399
  builderLinkComponent: !0
2387
2400
  }
2388
- }, Ho = {
2401
+ }, Mo = {
2389
2402
  // TODO: ways to statically preprocess JSON for references, functions, etc
2390
2403
  name: "Columns",
2391
2404
  isRSC: !0,
@@ -2592,13 +2605,13 @@ const Fo = /* @__PURE__ */ v(xo, [["render", Uo]]), Lo = {
2592
2605
  builderComponents: !0,
2593
2606
  builderLinkComponent: !0
2594
2607
  }
2595
- }, Mo = {
2608
+ }, zo = {
2596
2609
  name: "Fragment",
2597
2610
  static: !0,
2598
2611
  hidden: !0,
2599
2612
  canHaveChildren: !0,
2600
2613
  noWrap: !0
2601
- }, Be = ["jpeg", "jpg", "png", "svg", "webp", "gif", "jfif", "pjpeg", "pjp", "apng", "avif", "tif", "tiff", "heif", "bmp", "eps", "raw", "cr2", "nef", "orf", "sr2", "psd", "heic", "dib", "ai"], zo = ["mp4", "webm", "mkv", "flv", "vob", "ogv", "ogg", "drc", "gif", "gifv", "mng", "avi", "mov", "qt", "mts", "m2ts", "ts", "wmv", "yuv", "rm", "rmvb", "viv", "asf", "amv", "m4p", "mpeg", "mpe", "m2v", "m4v", "svi", "3gp", "3g2", "mxf", "roq", "nsv", "f4v", "f4p", "f4a", "f4b"], jo = {
2614
+ }, Ne = ["jpeg", "jpg", "png", "svg", "webp", "gif", "jfif", "pjpeg", "pjp", "apng", "avif", "tif", "tiff", "heif", "bmp", "eps", "raw", "cr2", "nef", "orf", "sr2", "psd", "heic", "dib", "ai"], jo = ["mp4", "webm", "mkv", "flv", "vob", "ogv", "ogg", "drc", "gif", "gifv", "mng", "avi", "mov", "qt", "mts", "m2ts", "ts", "wmv", "yuv", "rm", "rmvb", "viv", "asf", "amv", "m4p", "mpeg", "mpe", "m2v", "m4v", "svi", "3gp", "3g2", "mxf", "roq", "nsv", "f4v", "f4p", "f4a", "f4b"], qo = {
2602
2615
  name: "Image",
2603
2616
  static: !0,
2604
2617
  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",
@@ -2613,7 +2626,7 @@ const Fo = /* @__PURE__ */ v(xo, [["render", Uo]]), Lo = {
2613
2626
  name: "image",
2614
2627
  type: "file",
2615
2628
  bubble: !0,
2616
- allowedFileTypes: Be,
2629
+ allowedFileTypes: Ne,
2617
2630
  required: !0,
2618
2631
  defaultValue: "https://cdn.builder.io/api/v1/image/assets%2FYJIGb4i01jvw0SRdL5Bt%2F72c80f114dc149019051b6852a9e3b7a",
2619
2632
  onChange: (e) => {
@@ -2621,13 +2634,13 @@ const Fo = /* @__PURE__ */ v(xo, [["render", Uo]]), Lo = {
2621
2634
  function n(s, l = 6e4) {
2622
2635
  return new Promise((a, u) => {
2623
2636
  const p = document.createElement("img");
2624
- let f = !1;
2637
+ let b = !1;
2625
2638
  p.onload = () => {
2626
- f = !0, a(p);
2639
+ b = !0, a(p);
2627
2640
  }, p.addEventListener("error", (c) => {
2628
2641
  console.warn("Image load failed", c.error), u(c.error);
2629
2642
  }), p.src = s, setTimeout(() => {
2630
- f || u(new Error("Image load timed out"));
2643
+ b || u(new Error("Image load timed out"));
2631
2644
  }, l);
2632
2645
  });
2633
2646
  }
@@ -2711,7 +2724,7 @@ const Fo = /* @__PURE__ */ v(xo, [["render", Uo]]), Lo = {
2711
2724
  shouldReceiveBuilderProps: {
2712
2725
  builderBlock: !0
2713
2726
  }
2714
- }, qo = {
2727
+ }, Ko = {
2715
2728
  name: "PersonalizationContainer",
2716
2729
  shouldReceiveBuilderProps: {
2717
2730
  builderBlock: !0,
@@ -2747,9 +2760,9 @@ const Fo = /* @__PURE__ */ v(xo, [["render", Uo]]), Lo = {
2747
2760
  defaultValue: []
2748
2761
  }]
2749
2762
  }]
2750
- }, Ve = y({
2763
+ }, We = y({
2751
2764
  render() {
2752
- return Qe("script", {
2765
+ return Ye("script", {
2753
2766
  innerHTML: this.scriptStr,
2754
2767
  "data-id": this.id,
2755
2768
  nonce: this.nonce
@@ -2757,12 +2770,12 @@ const Fo = /* @__PURE__ */ v(xo, [["render", Uo]]), Lo = {
2757
2770
  },
2758
2771
  name: "inlined-script",
2759
2772
  props: ["scriptStr", "id", "nonce"]
2760
- }), Ko = y({
2773
+ }), Jo = y({
2761
2774
  name: "builder-personalization-container",
2762
2775
  components: {
2763
2776
  Blocks: j,
2764
- InlinedStyles: ce,
2765
- InlinedScript: Ve
2777
+ InlinedStyles: ue,
2778
+ InlinedScript: We
2766
2779
  },
2767
2780
  props: [
2768
2781
  "builderContext",
@@ -2775,32 +2788,32 @@ const Fo = /* @__PURE__ */ v(xo, [["render", Uo]]), Lo = {
2775
2788
  data() {
2776
2789
  var e, t, n, o, r, i, s;
2777
2790
  return {
2778
- userAttributes: ae.getUserAttributes(),
2779
- scriptStr: Vo(
2791
+ userAttributes: ce.getUserAttributes(),
2792
+ scriptStr: No(
2780
2793
  this.variants,
2781
2794
  ((e = this.builderBlock) == null ? void 0 : e.id) || "none",
2782
2795
  (n = (t = this.builderContext) == null ? void 0 : t.rootState) == null ? void 0 : n.locale
2783
2796
  ),
2784
- updateVisibilityStylesScript: No(
2797
+ updateVisibilityStylesScript: Wo(
2785
2798
  this.variants,
2786
2799
  ((o = this.builderBlock) == null ? void 0 : o.id) || "none",
2787
2800
  (i = (r = this.builderContext) == null ? void 0 : r.rootState) == null ? void 0 : i.locale
2788
2801
  ),
2789
2802
  unsubscribers: [],
2790
- shouldRenderVariants: Eo(
2803
+ shouldRenderVariants: Po(
2791
2804
  this.variants,
2792
- K((s = this.builderContext) == null ? void 0 : s.canTrack)
2805
+ J((s = this.builderContext) == null ? void 0 : s.canTrack)
2793
2806
  ),
2794
2807
  shouldResetVariants: !1,
2795
2808
  TARGET: R,
2796
- DEFAULT_INDEX: ne,
2797
- SDKS_REQUIRING_RESET_APPROACH: St
2809
+ DEFAULT_INDEX: re,
2810
+ SDKS_REQUIRING_RESET_APPROACH: kt
2798
2811
  };
2799
2812
  },
2800
2813
  mounted() {
2801
2814
  var t;
2802
2815
  this.shouldResetVariants = !0;
2803
- const e = ae.subscribeOnUserAttributesChange(
2816
+ const e = ce.subscribeOnUserAttributesChange(
2804
2817
  (n) => {
2805
2818
  this.userAttributes = n;
2806
2819
  },
@@ -2808,12 +2821,12 @@ const Fo = /* @__PURE__ */ v(xo, [["render", Uo]]), Lo = {
2808
2821
  fireImmediately: R === "qwik"
2809
2822
  }
2810
2823
  );
2811
- if (!(A() || $e())) {
2824
+ if (!(A() || Ee())) {
2812
2825
  const n = this.filteredVariants[0];
2813
2826
  this.$refs.rootRef && (this.$refs.rootRef.dispatchEvent(
2814
2827
  new CustomEvent("builder.variantLoaded", {
2815
2828
  detail: {
2816
- variant: n || ne,
2829
+ variant: n || re,
2817
2830
  content: (t = this.builderContext) == null ? void 0 : t.content
2818
2831
  },
2819
2832
  bubbles: !0
@@ -2824,7 +2837,7 @@ const Fo = /* @__PURE__ */ v(xo, [["render", Uo]]), Lo = {
2824
2837
  i.isIntersecting && this.$refs.rootRef && this.$refs.rootRef.dispatchEvent(
2825
2838
  new CustomEvent("builder.variantDisplayed", {
2826
2839
  detail: {
2827
- variant: n || ne,
2840
+ variant: n || re,
2828
2841
  content: (s = this.builderContext) == null ? void 0 : s.content
2829
2842
  },
2830
2843
  bubbles: !0
@@ -2843,13 +2856,13 @@ const Fo = /* @__PURE__ */ v(xo, [["render", Uo]]), Lo = {
2843
2856
  return {
2844
2857
  ...N(this.attributes, "v-on:", !1),
2845
2858
  ...N(this.attributes, "v-on:", !0),
2846
- [z()]: `builder-personalization-container ${this.attributes[z()] || ""}`
2859
+ [M()]: `builder-personalization-container ${this.attributes[M()] || ""}`
2847
2860
  };
2848
2861
  },
2849
2862
  filteredVariants() {
2850
2863
  return (this.variants || []).filter((e) => {
2851
2864
  var t, n, o, r;
2852
- return To(
2865
+ return wo(
2853
2866
  {
2854
2867
  ...(n = (t = this.builderContext) == null ? void 0 : t.rootState) != null && n.locale ? {
2855
2868
  locale: (r = (o = this.builderContext) == null ? void 0 : o.rootState) == null ? void 0 : r.locale
@@ -2864,7 +2877,7 @@ const Fo = /* @__PURE__ */ v(xo, [["render", Uo]]), Lo = {
2864
2877
  },
2865
2878
  blocksToRender() {
2866
2879
  var e;
2867
- return Po({
2880
+ return Ao({
2868
2881
  variants: this.variants,
2869
2882
  fallbackBlocks: (e = this.builderBlock) == null ? void 0 : e.children,
2870
2883
  isHydrated: this.shouldResetVariants,
@@ -2882,8 +2895,8 @@ const Fo = /* @__PURE__ */ v(xo, [["render", Uo]]), Lo = {
2882
2895
  }
2883
2896
  }
2884
2897
  });
2885
- function Jo(e, t, n, o, r, i) {
2886
- var u, p, f, c, m, b, g, P, O, B;
2898
+ function Go(e, t, n, o, r, i) {
2899
+ var u, p, b, c, m, f, g, P, O, B;
2887
2900
  const s = k("Blocks"), l = k("InlinedStyles"), a = k("InlinedScript");
2888
2901
  return d(), h("div", I({ ref: "rootRef" }, e.attrs), [
2889
2902
  e.shouldResetVariants && e.SDKS_REQUIRING_RESET_APPROACH.includes(e.TARGET) ? (d(), S(s, {
@@ -2895,9 +2908,9 @@ function Jo(e, t, n, o, r, i) {
2895
2908
  registeredComponents: e.builderComponents,
2896
2909
  BlocksWrapperProps: {
2897
2910
  ...(p = e.builderContext) == null ? void 0 : p.BlocksWrapperProps,
2898
- "data-variant-id": `${(f = e.builderBlock) == null ? void 0 : f.id}-${e.blocksToRender.index}`
2911
+ "data-variant-id": `${(b = e.builderBlock) == null ? void 0 : b.id}-${e.blocksToRender.index}`
2899
2912
  }
2900
- }, null, 8, ["blocks", "parent", "path", "context", "registeredComponents", "BlocksWrapperProps"])) : C("", !0),
2913
+ }, null, 8, ["blocks", "parent", "path", "context", "registeredComponents", "BlocksWrapperProps"])) : T("", !0),
2901
2914
  !e.shouldResetVariants && e.SDKS_REQUIRING_RESET_APPROACH.includes(e.TARGET) || !e.SDKS_REQUIRING_RESET_APPROACH.includes(e.TARGET) ? (d(), h(w, { key: 1 }, [
2902
2915
  e.shouldRenderVariants ? (d(), h(w, { key: 0 }, [
2903
2916
  $(l, {
@@ -2906,40 +2919,40 @@ function Jo(e, t, n, o, r, i) {
2906
2919
  id: `variants-styles-${(m = e.builderBlock) == null ? void 0 : m.id}`
2907
2920
  }, null, 8, ["nonce", "styles", "id"]),
2908
2921
  $(a, {
2909
- nonce: ((b = e.builderContext) == null ? void 0 : b.nonce) || "",
2922
+ nonce: ((f = e.builderContext) == null ? void 0 : f.nonce) || "",
2910
2923
  scriptStr: e.updateVisibilityStylesScript,
2911
2924
  id: `variants-visibility-script-${(g = e.builderBlock) == null ? void 0 : g.id}`
2912
2925
  }, null, 8, ["nonce", "scriptStr", "id"]),
2913
- (d(!0), h(w, null, F(e.variants, (T, W) => {
2914
- var J, G, D, H;
2926
+ (d(!0), h(w, null, U(e.variants, (q, C) => {
2927
+ var z, G, Q, W;
2915
2928
  return d(), S(s, {
2916
- key: `${(J = e.builderBlock) == null ? void 0 : J.id}-${W}`,
2929
+ key: `${(z = e.builderBlock) == null ? void 0 : z.id}-${C}`,
2917
2930
  BlocksWrapperProps: {
2918
2931
  ...(G = e.builderContext) == null ? void 0 : G.BlocksWrapperProps,
2919
2932
  "aria-hidden": !0,
2920
2933
  hidden: !0,
2921
- "data-variant-id": `${(D = e.builderBlock) == null ? void 0 : D.id}-${W}`
2934
+ "data-variant-id": `${(Q = e.builderBlock) == null ? void 0 : Q.id}-${C}`
2922
2935
  },
2923
- blocks: T.blocks,
2924
- parent: (H = e.builderBlock) == null ? void 0 : H.id,
2925
- path: `component.options.variants.${W}.blocks`,
2936
+ blocks: q.blocks,
2937
+ parent: (W = e.builderBlock) == null ? void 0 : W.id,
2938
+ path: `component.options.variants.${C}.blocks`,
2926
2939
  context: e.builderContext,
2927
2940
  registeredComponents: e.builderComponents
2928
2941
  }, {
2929
- default: x(() => {
2930
- var We, De;
2942
+ default: D(() => {
2943
+ var L, Oe;
2931
2944
  return [
2932
2945
  $(a, {
2933
- nonce: ((We = e.builderContext) == null ? void 0 : We.nonce) || "",
2946
+ nonce: ((L = e.builderContext) == null ? void 0 : L.nonce) || "",
2934
2947
  scriptStr: e.scriptStr,
2935
- id: `variants-script-${(De = e.builderBlock) == null ? void 0 : De.id}-${W}`
2948
+ id: `variants-script-${(Oe = e.builderBlock) == null ? void 0 : Oe.id}-${C}`
2936
2949
  }, null, 8, ["nonce", "scriptStr", "id"])
2937
2950
  ];
2938
2951
  }),
2939
2952
  _: 2
2940
2953
  }, 1032, ["BlocksWrapperProps", "blocks", "parent", "path", "context", "registeredComponents"]);
2941
2954
  }), 128))
2942
- ], 64)) : C("", !0),
2955
+ ], 64)) : T("", !0),
2943
2956
  $(s, {
2944
2957
  blocks: e.blocksToRender.blocks,
2945
2958
  parent: (P = e.builderBlock) == null ? void 0 : P.id,
@@ -2951,23 +2964,23 @@ function Jo(e, t, n, o, r, i) {
2951
2964
  "data-variant-id": `${(B = e.builderBlock) == null ? void 0 : B.id}-${e.blocksToRender.index}`
2952
2965
  }
2953
2966
  }, {
2954
- default: x(() => {
2955
- var T, W;
2967
+ default: D(() => {
2968
+ var q, C;
2956
2969
  return [
2957
2970
  e.shouldRenderVariants ? (d(), S(a, {
2958
2971
  key: 0,
2959
- nonce: ((T = e.builderContext) == null ? void 0 : T.nonce) || "",
2972
+ nonce: ((q = e.builderContext) == null ? void 0 : q.nonce) || "",
2960
2973
  scriptStr: e.scriptStr,
2961
- id: `variants-script-${(W = e.builderBlock) == null ? void 0 : W.id}-${e.DEFAULT_INDEX}`
2962
- }, null, 8, ["nonce", "scriptStr", "id"])) : C("", !0)
2974
+ id: `variants-script-${(C = e.builderBlock) == null ? void 0 : C.id}-${e.DEFAULT_INDEX}`
2975
+ }, null, 8, ["nonce", "scriptStr", "id"])) : T("", !0)
2963
2976
  ];
2964
2977
  }),
2965
2978
  _: 1
2966
2979
  }, 8, ["blocks", "parent", "path", "context", "registeredComponents", "BlocksWrapperProps"])
2967
- ], 64)) : C("", !0)
2980
+ ], 64)) : T("", !0)
2968
2981
  ], 16);
2969
2982
  }
2970
- const Go = /* @__PURE__ */ v(Ko, [["render", Jo]]), Qo = {
2983
+ const Qo = /* @__PURE__ */ v(Jo, [["render", Go]]), Yo = {
2971
2984
  name: "Core:Section",
2972
2985
  static: !0,
2973
2986
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F682efef23ace49afac61748dd305c70a",
@@ -3006,7 +3019,7 @@ const Go = /* @__PURE__ */ v(Ko, [["render", Jo]]), Qo = {
3006
3019
  }
3007
3020
  }
3008
3021
  }]
3009
- }, Yo = {
3022
+ }, Xo = {
3010
3023
  name: "Slot",
3011
3024
  isRSC: !0,
3012
3025
  description: "Allow child blocks to be inserted into this content when used as a Symbol",
@@ -3023,12 +3036,12 @@ const Go = /* @__PURE__ */ v(Ko, [["render", Jo]]), Qo = {
3023
3036
  builderContext: !0,
3024
3037
  builderComponents: !0
3025
3038
  }
3026
- }, Xo = y({
3039
+ }, Zo = y({
3027
3040
  name: "builder-slot",
3028
3041
  components: { Blocks: j },
3029
3042
  props: ["builderContext", "name", "builderComponents"]
3030
3043
  });
3031
- function Zo(e, t, n, o, r, i) {
3044
+ function _o(e, t, n, o, r, i) {
3032
3045
  var l, a, u;
3033
3046
  const s = k("Blocks");
3034
3047
  return d(), h("div", I(
@@ -3048,7 +3061,7 @@ function Zo(e, t, n, o, r, i) {
3048
3061
  }, null, 8, ["parent", "path", "context", "registeredComponents", "blocks"])
3049
3062
  ], 16);
3050
3063
  }
3051
- const _o = /* @__PURE__ */ v(Xo, [["render", Zo]]), er = {
3064
+ const er = /* @__PURE__ */ v(Zo, [["render", _o]]), tr = {
3052
3065
  name: "Symbol",
3053
3066
  noWrap: !0,
3054
3067
  static: !0,
@@ -3087,7 +3100,7 @@ const _o = /* @__PURE__ */ v(Xo, [["render", Zo]]), er = {
3087
3100
  builderComponents: !0,
3088
3101
  builderLinkComponent: !0
3089
3102
  }
3090
- }, pe = {
3103
+ }, he = {
3091
3104
  "@type": "@builder.io/sdk:Element",
3092
3105
  responsiveStyles: {
3093
3106
  large: {
@@ -3109,7 +3122,7 @@ const _o = /* @__PURE__ */ v(Xo, [["render", Zo]]), er = {
3109
3122
  text: "New tab"
3110
3123
  }
3111
3124
  }
3112
- }, me = {
3125
+ }, fe = {
3113
3126
  "@type": "@builder.io/sdk:Element",
3114
3127
  responsiveStyles: {
3115
3128
  large: {
@@ -3125,7 +3138,7 @@ const _o = /* @__PURE__ */ v(Xo, [["render", Zo]]), er = {
3125
3138
  text: "New tab content "
3126
3139
  }
3127
3140
  }
3128
- }, tr = {
3141
+ }, nr = {
3129
3142
  name: "Builder: Tabs",
3130
3143
  inputs: [{
3131
3144
  name: "tabs",
@@ -3135,16 +3148,16 @@ const _o = /* @__PURE__ */ v(Xo, [["render", Zo]]), er = {
3135
3148
  name: "label",
3136
3149
  type: "uiBlocks",
3137
3150
  hideFromUI: !0,
3138
- defaultValue: [pe]
3151
+ defaultValue: [he]
3139
3152
  }, {
3140
3153
  name: "content",
3141
3154
  type: "uiBlocks",
3142
3155
  hideFromUI: !0,
3143
- defaultValue: [me]
3156
+ defaultValue: [fe]
3144
3157
  }],
3145
3158
  defaultValue: [{
3146
3159
  label: [{
3147
- ...pe,
3160
+ ...he,
3148
3161
  component: {
3149
3162
  name: "Text",
3150
3163
  options: {
@@ -3153,7 +3166,7 @@ const _o = /* @__PURE__ */ v(Xo, [["render", Zo]]), er = {
3153
3166
  }
3154
3167
  }],
3155
3168
  content: [{
3156
- ...me,
3169
+ ...fe,
3157
3170
  component: {
3158
3171
  name: "Text",
3159
3172
  options: {
@@ -3163,7 +3176,7 @@ const _o = /* @__PURE__ */ v(Xo, [["render", Zo]]), er = {
3163
3176
  }]
3164
3177
  }, {
3165
3178
  label: [{
3166
- ...pe,
3179
+ ...he,
3167
3180
  component: {
3168
3181
  name: "Text",
3169
3182
  options: {
@@ -3172,7 +3185,7 @@ const _o = /* @__PURE__ */ v(Xo, [["render", Zo]]), er = {
3172
3185
  }
3173
3186
  }],
3174
3187
  content: [{
3175
- ...me,
3188
+ ...fe,
3176
3189
  component: {
3177
3190
  name: "Text",
3178
3191
  options: {
@@ -3228,7 +3241,7 @@ const _o = /* @__PURE__ */ v(Xo, [["render", Zo]]), er = {
3228
3241
  builderComponents: !0,
3229
3242
  builderLinkComponent: !0
3230
3243
  }
3231
- }, nr = y({
3244
+ }, or = y({
3232
3245
  name: "builder-tabs",
3233
3246
  components: { Blocks: j },
3234
3247
  props: [
@@ -3256,23 +3269,23 @@ const _o = /* @__PURE__ */ v(Xo, [["render", Zo]]), er = {
3256
3269
  e === this.activeTab && this.collapsible ? this.activeTab = -1 : this.activeTab = e;
3257
3270
  }
3258
3271
  }
3259
- }), or = ["onClick"], rr = { key: 0 };
3260
- function ir(e, t, n, o, r, i) {
3272
+ }), rr = ["onClick"], ir = { key: 0 };
3273
+ function sr(e, t, n, o, r, i) {
3261
3274
  const s = k("Blocks");
3262
3275
  return d(), h("div", null, [
3263
- q("div", {
3276
+ K("div", {
3264
3277
  class: "builder-tabs-wrap",
3265
- style: M({
3278
+ style: H({
3266
3279
  display: "flex",
3267
3280
  flexDirection: "row",
3268
3281
  justifyContent: e.tabHeaderLayout || "flex-start",
3269
3282
  overflow: "auto"
3270
3283
  })
3271
3284
  }, [
3272
- (d(!0), h(w, null, F(e.tabs, (l, a) => (d(), h("span", {
3285
+ (d(!0), h(w, null, U(e.tabs, (l, a) => (d(), h("span", {
3273
3286
  key: a,
3274
- class: Z(`builder-tab-wrap ${e.activeTab === a ? "builder-tab-active" : ""}`),
3275
- style: M(e.getTabStyle(a)),
3287
+ class: _(`builder-tab-wrap ${e.activeTab === a ? "builder-tab-active" : ""}`),
3288
+ style: H(e.getTabStyle(a)),
3276
3289
  onClick: async (u) => e.onClick(a)
3277
3290
  }, [
3278
3291
  $(s, {
@@ -3283,9 +3296,9 @@ function ir(e, t, n, o, r, i) {
3283
3296
  registeredComponents: e.builderComponents,
3284
3297
  linkComponent: e.builderLinkComponent
3285
3298
  }, null, 8, ["parent", "path", "blocks", "context", "registeredComponents", "linkComponent"])
3286
- ], 14, or))), 128))
3299
+ ], 14, rr))), 128))
3287
3300
  ], 4),
3288
- e.activeTabContent(e.activeTab) ? (d(), h("div", rr, [
3301
+ e.activeTabContent(e.activeTab) ? (d(), h("div", ir, [
3289
3302
  $(s, {
3290
3303
  parent: e.builderBlock.id,
3291
3304
  path: `tabs.${e.activeTab}.content`,
@@ -3294,10 +3307,10 @@ function ir(e, t, n, o, r, i) {
3294
3307
  registeredComponents: e.builderComponents,
3295
3308
  linkComponent: e.builderLinkComponent
3296
3309
  }, null, 8, ["parent", "path", "blocks", "context", "registeredComponents", "linkComponent"])
3297
- ])) : C("", !0)
3310
+ ])) : T("", !0)
3298
3311
  ]);
3299
3312
  }
3300
- const sr = /* @__PURE__ */ v(nr, [["render", ir]]), ar = {
3313
+ const ar = /* @__PURE__ */ v(or, [["render", sr]]), lr = {
3301
3314
  shouldReceiveBuilderProps: {},
3302
3315
  name: "Text",
3303
3316
  static: !0,
@@ -3315,11 +3328,11 @@ const sr = /* @__PURE__ */ v(nr, [["render", ir]]), ar = {
3315
3328
  height: "auto",
3316
3329
  textAlign: "center"
3317
3330
  }
3318
- }, lr = y({
3331
+ }, cr = y({
3319
3332
  name: "builder-text",
3320
3333
  props: ["text"]
3321
- }), cr = ["innerHTML"];
3322
- function dr(e, t, n, o, r, i) {
3334
+ }), dr = ["innerHTML"];
3335
+ function ur(e, t, n, o, r, i) {
3323
3336
  var s;
3324
3337
  return d(), h("div", {
3325
3338
  class: "builder-text",
@@ -3327,9 +3340,9 @@ function dr(e, t, n, o, r, i) {
3327
3340
  style: {
3328
3341
  outline: "none"
3329
3342
  }
3330
- }, null, 8, cr);
3343
+ }, null, 8, dr);
3331
3344
  }
3332
- const ur = /* @__PURE__ */ v(lr, [["render", dr]]), pr = {
3345
+ const pr = /* @__PURE__ */ v(cr, [["render", ur]]), mr = {
3333
3346
  name: "Custom Code",
3334
3347
  static: !0,
3335
3348
  requiredPermissions: ["editCode"],
@@ -3351,7 +3364,7 @@ const ur = /* @__PURE__ */ v(lr, [["render", dr]]), pr = {
3351
3364
  helperText: "Only print and run scripts on the client. Important when scripts influence DOM that could be replaced when client loads",
3352
3365
  advanced: !0
3353
3366
  }]
3354
- }, mr = y({
3367
+ }, hr = y({
3355
3368
  name: "builder-custom-code",
3356
3369
  props: ["code", "replaceNodes"],
3357
3370
  data() {
@@ -3401,7 +3414,7 @@ const ur = /* @__PURE__ */ v(lr, [["render", dr]]), pr = {
3401
3414
  try {
3402
3415
  this.scriptsRun.push(o.innerText), new Function(o.innerText)();
3403
3416
  } catch (r) {
3404
- L.warn(
3417
+ F.warn(
3405
3418
  "[BUILDER.IO] `CustomCode`: Error running script:",
3406
3419
  r
3407
3420
  );
@@ -3410,15 +3423,15 @@ const ur = /* @__PURE__ */ v(lr, [["render", dr]]), pr = {
3410
3423
  }
3411
3424
  }
3412
3425
  }
3413
- }), hr = ["innerHTML"];
3414
- function fr(e, t, n, o, r, i) {
3426
+ }), fr = ["innerHTML"];
3427
+ function br(e, t, n, o, r, i) {
3415
3428
  return d(), h("div", {
3416
3429
  ref: "elementRef",
3417
- class: Z("builder-custom-code" + (e.replaceNodes ? " replace-nodes" : "")),
3430
+ class: _("builder-custom-code" + (e.replaceNodes ? " replace-nodes" : "")),
3418
3431
  innerHTML: e.code
3419
- }, null, 10, hr);
3432
+ }, null, 10, fr);
3420
3433
  }
3421
- const br = /* @__PURE__ */ v(mr, [["render", fr]]), gr = {
3434
+ const gr = /* @__PURE__ */ v(hr, [["render", br]]), yr = {
3422
3435
  name: "Embed",
3423
3436
  static: !0,
3424
3437
  inputs: [{
@@ -3433,7 +3446,7 @@ const br = /* @__PURE__ */ v(mr, [["render", fr]]), gr = {
3433
3446
  defaultValue: '<div style="padding: 20px; text-align: center">(Choose an embed URL)<div>',
3434
3447
  hideFromUI: !0
3435
3448
  }]
3436
- }, yr = ["text/javascript", "application/javascript", "application/ecmascript"], vr = (e) => yr.includes(e.type), Sr = y({
3449
+ }, vr = ["text/javascript", "application/javascript", "application/ecmascript"], Sr = (e) => vr.includes(e.type), kr = y({
3437
3450
  name: "builder-embed",
3438
3451
  props: ["content"],
3439
3452
  data() {
@@ -3466,24 +3479,24 @@ const br = /* @__PURE__ */ v(mr, [["render", fr]]), gr = {
3466
3479
  this.scriptsInserted.push(n.src);
3467
3480
  const o = document.createElement("script");
3468
3481
  o.async = !0, o.src = n.src, document.head.appendChild(o);
3469
- } else if (vr(n) && !this.scriptsRun.includes(n.innerText))
3482
+ } else if (Sr(n) && !this.scriptsRun.includes(n.innerText))
3470
3483
  try {
3471
3484
  this.scriptsRun.push(n.innerText), new Function(n.innerText)();
3472
3485
  } catch (o) {
3473
- L.warn("[BUILDER.IO] `Embed`: Error running script:", o);
3486
+ F.warn("[BUILDER.IO] `Embed`: Error running script:", o);
3474
3487
  }
3475
3488
  }
3476
3489
  }
3477
3490
  }
3478
- }), kr = ["innerHTML"];
3479
- function Cr(e, t, n, o, r, i) {
3491
+ }), Cr = ["innerHTML"];
3492
+ function Tr(e, t, n, o, r, i) {
3480
3493
  return d(), h("div", {
3481
3494
  class: "builder-embed",
3482
3495
  ref: "elem",
3483
3496
  innerHTML: e.content
3484
- }, null, 8, kr);
3497
+ }, null, 8, Cr);
3485
3498
  }
3486
- const Tr = /* @__PURE__ */ v(Sr, [["render", Cr]]), wr = {
3499
+ const wr = /* @__PURE__ */ v(kr, [["render", Tr]]), Ir = {
3487
3500
  name: "Form:Form",
3488
3501
  // editableTags: ['builder-form-error']
3489
3502
  defaults: {
@@ -3720,10 +3733,10 @@ const Tr = /* @__PURE__ */ v(Sr, [["render", Cr]]), wr = {
3720
3733
  builderComponents: !0,
3721
3734
  builderLinkComponent: !0
3722
3735
  }
3723
- }, Ir = ["production", "qa", "test", "development", "dev", "cdn-qa", "cloud", "fast", "cdn2", "cdn-prod"], $r = () => {
3736
+ }, $r = ["production", "qa", "test", "development", "dev", "cdn-qa", "cloud", "fast", "cdn2", "cdn-prod"], Rr = () => {
3724
3737
  const e = process.env.NODE_ENV || "production";
3725
- return Ir.includes(e) ? e : "production";
3726
- }, Rr = y({
3738
+ return $r.includes(e) ? e : "production";
3739
+ }, Er = y({
3727
3740
  name: "builder-form-component",
3728
3741
  components: { Blocks: j },
3729
3742
  props: [
@@ -3786,12 +3799,12 @@ const Tr = /* @__PURE__ */ v(Sr, [["render", Cr]]), wr = {
3786
3799
  (c) => !!c.name && (c.type !== "radio" || c.checked)
3787
3800
  ).map((c) => {
3788
3801
  let m;
3789
- const b = c.name;
3802
+ const f = c.name;
3790
3803
  if (c instanceof HTMLInputElement)
3791
3804
  if (c.type === "radio") {
3792
3805
  if (c.checked)
3793
3806
  return m = c.value, {
3794
- key: b,
3807
+ key: f,
3795
3808
  value: m
3796
3809
  };
3797
3810
  } else if (c.type === "checkbox")
@@ -3804,7 +3817,7 @@ const Tr = /* @__PURE__ */ v(Sr, [["render", Cr]]), wr = {
3804
3817
  else
3805
3818
  m = c.value;
3806
3819
  return {
3807
- key: b,
3820
+ key: f,
3808
3821
  value: m
3809
3822
  };
3810
3823
  });
@@ -3815,8 +3828,8 @@ const Tr = /* @__PURE__ */ v(Sr, [["render", Cr]]), wr = {
3815
3828
  i = s;
3816
3829
  else {
3817
3830
  const c = {};
3818
- Array.from(l).forEach(({ value: m, key: b }) => {
3819
- Ye(c, b, m);
3831
+ Array.from(l).forEach(({ value: m, key: f }) => {
3832
+ Xe(c, f, m);
3820
3833
  }), i = JSON.stringify(c);
3821
3834
  }
3822
3835
  a && a !== "multipart/form-data" && (t && ((n = this.action) != null && n.includes("zapier.com")) || (r["content-type"] = a));
@@ -3834,10 +3847,10 @@ const Tr = /* @__PURE__ */ v(Sr, [["render", Cr]]), wr = {
3834
3847
  });
3835
3848
  return;
3836
3849
  }
3837
- const p = `${$r() === "dev" ? "http://localhost:5000" : "https://builder.io"}/api/v1/form-submit?apiKey=${this.builderContext.apiKey}&to=${btoa(
3850
+ const p = `${Rr() === "dev" ? "http://localhost:5000" : "https://builder.io"}/api/v1/form-submit?apiKey=${this.builderContext.apiKey}&to=${btoa(
3838
3851
  this.sendSubmissionsToEmail || ""
3839
- )}&name=${encodeURIComponent(this.name || "")}`, f = this.sendSubmissionsTo === "email" ? p : this.action;
3840
- _e(f), fetch(f, {
3852
+ )}&name=${encodeURIComponent(this.name || "")}`, b = this.sendSubmissionsTo === "email" ? p : this.action;
3853
+ et(b), fetch(b, {
3841
3854
  body: i,
3842
3855
  headers: r,
3843
3856
  method: this.method || "post"
@@ -3845,8 +3858,8 @@ const Tr = /* @__PURE__ */ v(Sr, [["render", Cr]]), wr = {
3845
3858
  async (c) => {
3846
3859
  var g, P;
3847
3860
  let m;
3848
- const b = c.headers.get("content-type");
3849
- if (b && b.indexOf("application/json") !== -1 ? m = await c.json() : m = await c.text(), !c.ok) {
3861
+ const f = c.headers.get("content-type");
3862
+ if (f && f.indexOf("application/json") !== -1 ? m = await c.json() : m = await c.text(), !c.ok) {
3850
3863
  const O = new CustomEvent("submit:error", {
3851
3864
  detail: {
3852
3865
  error: m,
@@ -3858,7 +3871,7 @@ const Tr = /* @__PURE__ */ v(Sr, [["render", Cr]]), wr = {
3858
3871
  ), O.defaultPrevented))
3859
3872
  return;
3860
3873
  this.responseData = m, this.formState = "error";
3861
- let B = this.errorMessagePath ? tt(m, this.errorMessagePath) : m.message || m.error || m;
3874
+ let B = this.errorMessagePath ? nt(m, this.errorMessagePath) : m.message || m.error || m;
3862
3875
  typeof B != "string" && (B = JSON.stringify(B)), this.formErrorMessage = B, this.mergeNewRootState({
3863
3876
  formErrorMessage: B
3864
3877
  });
@@ -3900,11 +3913,11 @@ const Tr = /* @__PURE__ */ v(Sr, [["render", Cr]]), wr = {
3900
3913
  }
3901
3914
  }
3902
3915
  }
3903
- }), Er = ["validate", "action", "method", "name"], Pr = {
3916
+ }), Pr = ["validate", "action", "method", "name"], Ar = {
3904
3917
  key: 2,
3905
3918
  class: "builder-form-error-text pre-2oa2wtipkzk"
3906
3919
  };
3907
- function Ar(e, t, n, o, r, i) {
3920
+ function Br(e, t, n, o, r, i) {
3908
3921
  const s = k("Blocks");
3909
3922
  return d(), h("form", I({
3910
3923
  validate: e.validate,
@@ -3913,30 +3926,30 @@ function Ar(e, t, n, o, r, i) {
3913
3926
  method: e.method,
3914
3927
  name: e.name,
3915
3928
  onSubmit: t[0] || (t[0] = async (l) => e.onSubmit(l))
3916
- }, { ...e.filterAttrs(e.attributes, "v-on:", !1) }, U(e.filterAttrs(e.attributes, "v-on:", !0), !0)), [
3929
+ }, { ...e.filterAttrs(e.attributes, "v-on:", !1) }, x(e.filterAttrs(e.attributes, "v-on:", !0), !0)), [
3917
3930
  V(e.$slots, "default", {}, void 0, !0),
3918
3931
  e.submissionState() === "error" ? (d(), S(s, {
3919
3932
  key: 0,
3920
3933
  path: "errorMessage",
3921
3934
  blocks: e.errorMessage,
3922
3935
  context: e.builderContext
3923
- }, null, 8, ["blocks", "context"])) : C("", !0),
3936
+ }, null, 8, ["blocks", "context"])) : T("", !0),
3924
3937
  e.submissionState() === "sending" ? (d(), S(s, {
3925
3938
  key: 1,
3926
3939
  path: "sendingMessage",
3927
3940
  blocks: e.sendingMessage,
3928
3941
  context: e.builderContext
3929
- }, null, 8, ["blocks", "context"])) : C("", !0),
3930
- e.submissionState() === "error" && e.responseData ? (d(), h("pre", Pr, le(e.errorResponse(e.responseData)), 1)) : C("", !0),
3942
+ }, null, 8, ["blocks", "context"])) : T("", !0),
3943
+ e.submissionState() === "error" && e.responseData ? (d(), h("pre", Ar, de(e.errorResponse(e.responseData)), 1)) : T("", !0),
3931
3944
  e.submissionState() === "success" ? (d(), S(s, {
3932
3945
  key: 3,
3933
3946
  path: "successMessage",
3934
3947
  blocks: e.successMessage,
3935
3948
  context: e.builderContext
3936
- }, null, 8, ["blocks", "context"])) : C("", !0)
3937
- ], 16, Er);
3949
+ }, null, 8, ["blocks", "context"])) : T("", !0)
3950
+ ], 16, Pr);
3938
3951
  }
3939
- const Br = /* @__PURE__ */ v(Rr, [["render", Ar], ["__scopeId", "data-v-77c7888c"]]), Vr = {
3952
+ const Vr = /* @__PURE__ */ v(Er, [["render", Br], ["__scopeId", "data-v-77c7888c"]]), Nr = {
3940
3953
  name: "Form:Input",
3941
3954
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fad6f37889d9e40bbbbc72cdb5875d6ca",
3942
3955
  inputs: [
@@ -3987,7 +4000,7 @@ const Br = /* @__PURE__ */ v(Rr, [["render", Ar], ["__scopeId", "data-v-77c7888c
3987
4000
  borderStyle: "solid",
3988
4001
  borderColor: "#ccc"
3989
4002
  }
3990
- }, Nr = y({
4003
+ }, Wr = y({
3991
4004
  name: "builder-form-input-component",
3992
4005
  props: [
3993
4006
  "attributes",
@@ -4001,8 +4014,8 @@ const Br = /* @__PURE__ */ v(Rr, [["render", Ar], ["__scopeId", "data-v-77c7888c
4001
4014
  data() {
4002
4015
  return { isEditing: A, filterAttrs: N };
4003
4016
  }
4004
- }), Wr = ["placeholder", "type", "name", "value", "defaultValue", "required"];
4005
- function Dr(e, t, n, o, r, i) {
4017
+ }), Dr = ["placeholder", "type", "name", "value", "defaultValue", "required"];
4018
+ function Or(e, t, n, o, r, i) {
4006
4019
  return d(), h("input", I({
4007
4020
  key: e.isEditing() && e.defaultValue ? e.defaultValue : "default-key",
4008
4021
  placeholder: e.placeholder,
@@ -4011,9 +4024,9 @@ function Dr(e, t, n, o, r, i) {
4011
4024
  value: e.value,
4012
4025
  defaultValue: e.defaultValue,
4013
4026
  required: e.required
4014
- }, e.filterAttrs(e.attributes, "v-on:", !1), U(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16, Wr);
4027
+ }, e.filterAttrs(e.attributes, "v-on:", !1), x(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16, Dr);
4015
4028
  }
4016
- const xr = /* @__PURE__ */ v(Nr, [["render", Dr]]), Or = {
4029
+ const xr = /* @__PURE__ */ v(Wr, [["render", Or]]), Ur = {
4017
4030
  name: "Form:Select",
4018
4031
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F83acca093fb24aaf94dee136e9a4b045",
4019
4032
  defaultStyles: {
@@ -4055,28 +4068,28 @@ const xr = /* @__PURE__ */ v(Nr, [["render", Dr]]), Or = {
4055
4068
  }],
4056
4069
  static: !0,
4057
4070
  noWrap: !0
4058
- }, Ur = y({
4071
+ }, Fr = y({
4059
4072
  name: "builder-select-component",
4060
4073
  props: ["attributes", "value", "defaultValue", "name", "required", "options"],
4061
4074
  data() {
4062
4075
  return { isEditing: A, filterAttrs: N };
4063
4076
  }
4064
- }), Fr = ["value", "defaultValue", "name", "required"], Lr = ["value"];
4065
- function Hr(e, t, n, o, r, i) {
4077
+ }), Lr = ["value", "defaultValue", "name", "required"], Hr = ["value"];
4078
+ function Mr(e, t, n, o, r, i) {
4066
4079
  return d(), h("select", I({
4067
4080
  value: e.value,
4068
4081
  key: e.isEditing() && e.defaultValue ? e.defaultValue : "default-key",
4069
4082
  defaultValue: e.defaultValue,
4070
4083
  name: e.name,
4071
4084
  required: e.required
4072
- }, e.filterAttrs(e.attributes, "v-on:", !1), U(e.filterAttrs(e.attributes, "v-on:", !0), !0)), [
4073
- (d(!0), h(w, null, F(e.options, (s, l) => (d(), h("option", {
4085
+ }, e.filterAttrs(e.attributes, "v-on:", !1), x(e.filterAttrs(e.attributes, "v-on:", !0), !0)), [
4086
+ (d(!0), h(w, null, U(e.options, (s, l) => (d(), h("option", {
4074
4087
  key: `${s.name}-${l}`,
4075
4088
  value: s.value
4076
- }, le(s.name || s.value), 9, Lr))), 128))
4077
- ], 16, Fr);
4089
+ }, de(s.name || s.value), 9, Hr))), 128))
4090
+ ], 16, Lr);
4078
4091
  }
4079
- const Mr = /* @__PURE__ */ v(Ur, [["render", Hr]]), zr = {
4092
+ const zr = /* @__PURE__ */ v(Fr, [["render", Mr]]), jr = {
4080
4093
  name: "Form:SubmitButton",
4081
4094
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fdf2820ffed1f4349a94c40b3221f5b98",
4082
4095
  defaultStyles: {
@@ -4101,17 +4114,17 @@ const Mr = /* @__PURE__ */ v(Ur, [["render", Hr]]), zr = {
4101
4114
  // that only shows if advanced setting is flipped
4102
4115
  // TODO: defaultChildren
4103
4116
  // canHaveChildren: true,
4104
- }, jr = y({
4117
+ }, qr = y({
4105
4118
  name: "builder-submit-button",
4106
4119
  props: ["attributes", "text"],
4107
4120
  data() {
4108
4121
  return { filterAttrs: N };
4109
4122
  }
4110
4123
  });
4111
- function qr(e, t, n, o, r, i) {
4112
- return d(), h("button", I({ type: "submit" }, e.filterAttrs(e.attributes, "v-on:", !1), U(e.filterAttrs(e.attributes, "v-on:", !0), !0)), le(e.text), 17);
4124
+ function Kr(e, t, n, o, r, i) {
4125
+ return d(), h("button", I({ type: "submit" }, e.filterAttrs(e.attributes, "v-on:", !1), x(e.filterAttrs(e.attributes, "v-on:", !0), !0)), de(e.text), 17);
4113
4126
  }
4114
- const Kr = /* @__PURE__ */ v(jr, [["render", qr]]), Jr = {
4127
+ const Jr = /* @__PURE__ */ v(qr, [["render", Kr]]), Gr = {
4115
4128
  name: "Form:TextArea",
4116
4129
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Ff74a2f3de58c4c3e939204e5b6b8f6c3",
4117
4130
  inputs: [{
@@ -4147,7 +4160,7 @@ const Kr = /* @__PURE__ */ v(jr, [["render", qr]]), Jr = {
4147
4160
  },
4148
4161
  static: !0,
4149
4162
  noWrap: !0
4150
- }, Gr = y({
4163
+ }, Qr = y({
4151
4164
  name: "builder-textarea",
4152
4165
  props: [
4153
4166
  "attributes",
@@ -4160,17 +4173,17 @@ const Kr = /* @__PURE__ */ v(jr, [["render", qr]]), Jr = {
4160
4173
  data() {
4161
4174
  return { filterAttrs: N };
4162
4175
  }
4163
- }), Qr = ["placeholder", "name", "value", "defaultValue", "required"];
4164
- function Yr(e, t, n, o, r, i) {
4176
+ }), Yr = ["placeholder", "name", "value", "defaultValue", "required"];
4177
+ function Xr(e, t, n, o, r, i) {
4165
4178
  return d(), h("textarea", I({
4166
4179
  placeholder: e.placeholder,
4167
4180
  name: e.name,
4168
4181
  value: e.value,
4169
4182
  defaultValue: e.defaultValue,
4170
4183
  required: e.required
4171
- }, e.filterAttrs(e.attributes, "v-on:", !1), U(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16, Qr);
4184
+ }, e.filterAttrs(e.attributes, "v-on:", !1), x(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16, Yr);
4172
4185
  }
4173
- const Xr = /* @__PURE__ */ v(Gr, [["render", Yr]]), Zr = {
4186
+ const Zr = /* @__PURE__ */ v(Qr, [["render", Xr]]), _r = {
4174
4187
  name: "Raw:Img",
4175
4188
  hideFromInsertMenu: !0,
4176
4189
  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",
@@ -4178,7 +4191,7 @@ const Xr = /* @__PURE__ */ v(Gr, [["render", Yr]]), Zr = {
4178
4191
  name: "image",
4179
4192
  bubble: !0,
4180
4193
  type: "file",
4181
- allowedFileTypes: Be,
4194
+ allowedFileTypes: Ne,
4182
4195
  required: !0
4183
4196
  }, {
4184
4197
  name: "backgroundSize",
@@ -4214,7 +4227,7 @@ const Xr = /* @__PURE__ */ v(Gr, [["render", Yr]]), Zr = {
4214
4227
  defaultValue: 0.7041
4215
4228
  }],
4216
4229
  noWrap: !0
4217
- }, _r = y({
4230
+ }, ei = y({
4218
4231
  name: "builder-img-component",
4219
4232
  props: [
4220
4233
  "imgSrc",
@@ -4233,19 +4246,19 @@ const Xr = /* @__PURE__ */ v(Gr, [["render", Yr]]), Zr = {
4233
4246
  srcSetToUse() {
4234
4247
  const e = this.imgSrc || this.image;
4235
4248
  if (!(!e || typeof e != "string") && e.match(/builder\.io/))
4236
- return te(e);
4249
+ return oe(e);
4237
4250
  },
4238
4251
  imgAttrs() {
4239
4252
  const e = {
4240
4253
  ...N(this.attributes, "v-on:", !1),
4241
4254
  ...N(this.attributes, "v-on:", !0),
4242
- [z()]: `builder-raw-img ${this.attributes[z()] || ""}`
4255
+ [M()]: `builder-raw-img ${this.attributes[M()] || ""}`
4243
4256
  };
4244
4257
  return delete e.style, e;
4245
4258
  }
4246
4259
  }
4247
- }), ei = ["alt", "title", "src"];
4248
- function ti(e, t, n, o, r, i) {
4260
+ }), ti = ["alt", "title", "src"];
4261
+ function ni(e, t, n, o, r, i) {
4249
4262
  var s;
4250
4263
  return d(), h("img", I({
4251
4264
  loading: "lazy",
@@ -4259,9 +4272,9 @@ function ti(e, t, n, o, r, i) {
4259
4272
  aspectRatio: e.aspectRatio || void 0,
4260
4273
  ...((s = e.attributes) == null ? void 0 : s.style) || {}
4261
4274
  }
4262
- }, e.imgAttrs), null, 16, ei);
4275
+ }, e.imgAttrs), null, 16, ti);
4263
4276
  }
4264
- const ni = /* @__PURE__ */ v(_r, [["render", ti]]), oi = {
4277
+ const oi = /* @__PURE__ */ v(ei, [["render", ni]]), ri = {
4265
4278
  name: "Video",
4266
4279
  canHaveChildren: !0,
4267
4280
  defaultStyles: {
@@ -4272,14 +4285,14 @@ const ni = /* @__PURE__ */ v(_r, [["render", ti]]), oi = {
4272
4285
  inputs: [{
4273
4286
  name: "video",
4274
4287
  type: "file",
4275
- allowedFileTypes: zo,
4288
+ allowedFileTypes: jo,
4276
4289
  bubble: !0,
4277
4290
  defaultValue: "https://cdn.builder.io/o/assets%2FYJIGb4i01jvw0SRdL5Bt%2Fd27731a526464deba0016216f5f9e570%2Fcompressed?apiKey=YJIGb4i01jvw0SRdL5Bt&token=d27731a526464deba0016216f5f9e570&alt=media&optimized=true",
4278
4291
  required: !0
4279
4292
  }, {
4280
4293
  name: "posterImage",
4281
4294
  type: "file",
4282
- allowedFileTypes: Be,
4295
+ allowedFileTypes: Ne,
4283
4296
  helperText: "Image to show before the video plays"
4284
4297
  }, {
4285
4298
  name: "autoPlay",
@@ -4345,7 +4358,7 @@ const ni = /* @__PURE__ */ v(_r, [["render", ti]]), oi = {
4345
4358
  shouldReceiveBuilderProps: {
4346
4359
  builderBlock: !0
4347
4360
  }
4348
- }, ri = y({
4361
+ }, ii = y({
4349
4362
  name: "builder-video",
4350
4363
  props: [
4351
4364
  "lazyLoad",
@@ -4418,16 +4431,16 @@ const ni = /* @__PURE__ */ v(_r, [["render", ti]]), oi = {
4418
4431
  };
4419
4432
  }
4420
4433
  }
4421
- }), ii = { style: {
4434
+ }), si = { style: {
4422
4435
  position: "relative"
4423
- } }, si = ["preload", "poster"], ai = {
4436
+ } }, ai = ["preload", "poster"], li = {
4424
4437
  key: 1,
4425
4438
  style: {
4426
4439
  display: "flex",
4427
4440
  flexDirection: "column",
4428
4441
  alignItems: "stretch"
4429
4442
  }
4430
- }, li = {
4443
+ }, ci = {
4431
4444
  key: 2,
4432
4445
  style: {
4433
4446
  pointerEvents: "none",
@@ -4441,10 +4454,10 @@ const ni = /* @__PURE__ */ v(_r, [["render", ti]]), oi = {
4441
4454
  height: "100%"
4442
4455
  }
4443
4456
  };
4444
- function ci(e, t, n, o, r, i) {
4445
- var s, l, a, u, p, f, c;
4446
- return d(), h("div", ii, [
4447
- q("video", I({
4457
+ function di(e, t, n, o, r, i) {
4458
+ var s, l, a, u, p, b, c;
4459
+ return d(), h("div", si, [
4460
+ K("video", I({
4448
4461
  class: "builder-video",
4449
4462
  ref: "videoRef",
4450
4463
  preload: e.lazyLoad ? "none" : e.preload || "metadata",
@@ -4463,7 +4476,7 @@ function ci(e, t, n, o, r, i) {
4463
4476
  },
4464
4477
  poster: e.posterImage
4465
4478
  }, e.spreadProps), [
4466
- q("source", I(
4479
+ K("source", I(
4467
4480
  { type: "video/mp4" },
4468
4481
  e.lazyLoad ? {
4469
4482
  "data-src": e.video
@@ -4471,85 +4484,85 @@ function ci(e, t, n, o, r, i) {
4471
4484
  src: e.video
4472
4485
  }
4473
4486
  ), null, 16)
4474
- ], 16, si),
4487
+ ], 16, ai),
4475
4488
  e.aspectRatio && !(e.fitContent && ((a = (l = e.builderBlock) == null ? void 0 : l.children) != null && a.length)) ? (d(), h("div", {
4476
4489
  key: 0,
4477
- style: M({
4490
+ style: H({
4478
4491
  width: "100%",
4479
4492
  paddingTop: e.aspectRatio * 100 + "%",
4480
4493
  pointerEvents: "none",
4481
4494
  fontSize: "0px"
4482
4495
  })
4483
- }, null, 4)) : C("", !0),
4484
- (p = (u = e.builderBlock) == null ? void 0 : u.children) != null && p.length && e.fitContent ? (d(), h("div", ai, [
4496
+ }, null, 4)) : T("", !0),
4497
+ (p = (u = e.builderBlock) == null ? void 0 : u.children) != null && p.length && e.fitContent ? (d(), h("div", li, [
4485
4498
  V(e.$slots, "default")
4486
- ])) : C("", !0),
4487
- (c = (f = e.builderBlock) == null ? void 0 : f.children) != null && c.length && !e.fitContent ? (d(), h("div", li, [
4499
+ ])) : T("", !0),
4500
+ (c = (b = e.builderBlock) == null ? void 0 : b.children) != null && c.length && !e.fitContent ? (d(), h("div", ci, [
4488
4501
  V(e.$slots, "default")
4489
- ])) : C("", !0)
4502
+ ])) : T("", !0)
4490
4503
  ]);
4491
4504
  }
4492
- const di = /* @__PURE__ */ v(ri, [["render", ci]]), ui = () => [{
4493
- component: br,
4494
- ...pr
4505
+ const ui = /* @__PURE__ */ v(ii, [["render", di]]), pi = () => [{
4506
+ component: gr,
4507
+ ...mr
4495
4508
  }, {
4496
- component: Tr,
4497
- ...gr
4509
+ component: wr,
4510
+ ...yr
4498
4511
  }, {
4499
- component: Br,
4500
- ...wr
4512
+ component: Vr,
4513
+ ...Ir
4501
4514
  }, {
4502
4515
  component: xr,
4503
- ...Vr
4516
+ ...Nr
4504
4517
  }, {
4505
- component: Kr,
4506
- ...zr
4518
+ component: Jr,
4519
+ ...jr
4507
4520
  }, {
4508
- component: Mr,
4509
- ...Or
4521
+ component: zr,
4522
+ ...Ur
4510
4523
  }, {
4511
- component: Xr,
4512
- ...Jr
4524
+ component: Zr,
4525
+ ...Gr
4513
4526
  }, {
4514
- component: ni,
4515
- ...Zr
4527
+ component: oi,
4528
+ ..._r
4516
4529
  }, {
4517
- component: di,
4518
- ...oi
4519
- }], Ke = () => [{
4520
- component: Lt,
4521
- ...Lo
4522
- }, {
4523
- component: ao,
4530
+ component: ui,
4531
+ ...ri
4532
+ }], Je = () => [{
4533
+ component: Ht,
4524
4534
  ...Ho
4525
4535
  }, {
4526
- component: uo,
4536
+ component: lo,
4527
4537
  ...Mo
4528
4538
  }, {
4529
- component: vo,
4530
- ...jo
4539
+ component: po,
4540
+ ...zo
4531
4541
  }, {
4532
- component: Co,
4533
- ...Qo
4542
+ component: So,
4543
+ ...qo
4534
4544
  }, {
4535
- component: _o,
4545
+ component: To,
4536
4546
  ...Yo
4537
4547
  }, {
4538
- component: Qi,
4539
- ...er
4548
+ component: er,
4549
+ ...Xo
4540
4550
  }, {
4541
- component: ur,
4542
- ...ar
4543
- }, ...vt.includes(R) ? [{
4544
- component: Go,
4545
- ...qo
4546
- }] : [], {
4547
- component: sr,
4551
+ component: Yi,
4548
4552
  ...tr
4549
4553
  }, {
4550
- component: Fo,
4551
- ...Wo
4552
- }, ...ui()], pi = `function updateCookiesAndStyles(contentId, variants, isHydrationTarget, isAngularSDK) {
4554
+ component: pr,
4555
+ ...lr
4556
+ }, ...St.includes(R) ? [{
4557
+ component: Qo,
4558
+ ...Ko
4559
+ }] : [], {
4560
+ component: ar,
4561
+ ...nr
4562
+ }, {
4563
+ component: Lo,
4564
+ ...Do
4565
+ }, ...pi()], mi = `function updateCookiesAndStyles(contentId, variants, isHydrationTarget, isAngularSDK) {
4553
4566
  function getAndSetVariantId() {
4554
4567
  function setCookie(name, value, days) {
4555
4568
  let expires = '';
@@ -4608,7 +4621,7 @@ const di = /* @__PURE__ */ v(ri, [["render", ci]]), ui = () => [{
4608
4621
  }).join('');
4609
4622
  styleEl.innerHTML = newStyleStr;
4610
4623
  }
4611
- }`, mi = `function updateVariantVisibility(variantContentId, defaultContentId, isHydrationTarget) {
4624
+ }`, hi = `function updateVariantVisibility(variantContentId, defaultContentId, isHydrationTarget) {
4612
4625
  if (!navigator.cookieEnabled) {
4613
4626
  return;
4614
4627
  }
@@ -4642,37 +4655,37 @@ const di = /* @__PURE__ */ v(ri, [["render", ci]]), ui = () => [{
4642
4655
  thisScriptEl?.remove();
4643
4656
  }
4644
4657
  return;
4645
- }`, ke = "builderIoAbTest", Ce = "builderIoRenderContent", oe = (e) => Object.values((e == null ? void 0 : e.variations) || {}).map((t) => ({
4658
+ }`, Te = "builderIoAbTest", we = "builderIoRenderContent", ie = (e) => Object.values((e == null ? void 0 : e.variations) || {}).map((t) => ({
4646
4659
  ...t,
4647
4660
  testVariationId: t.id,
4648
4661
  id: e == null ? void 0 : e.id
4649
- })), hi = ({
4662
+ })), fi = ({
4650
4663
  canTrack: e,
4651
4664
  content: t
4652
- }) => !(!(oe(t).length > 0) || !e), fi = (e) => e === "react" || e === "reactNative", bi = R === "angular", Ne = fi(R), gi = () => `
4665
+ }) => !(!(ie(t).length > 0) || !e), bi = (e) => e === "react" || e === "reactNative", gi = R === "angular", De = bi(R), yi = () => `
4653
4666
  (function() {
4654
- if (!window.${ke}) {
4655
- window.${ke} = ${pi};
4667
+ if (!window.${Te}) {
4668
+ window.${Te} = ${mi};
4656
4669
  }
4657
- if (!window.${Ce}) {
4658
- window.${Ce} = ${mi};
4659
- }${Ne ? `
4670
+ if (!window.${we}) {
4671
+ window.${we} = ${hi};
4672
+ }${De ? `
4660
4673
  var thisScriptEl = document.currentScript;
4661
4674
  if (thisScriptEl) { thisScriptEl.remove(); }` : ""}
4662
4675
  })();
4663
- `, yi = (e, t) => `
4664
- window.${ke}(
4665
- "${t}",${JSON.stringify(e)}, ${Ne}, ${bi}
4666
- )`, vi = ({
4676
+ `, vi = (e, t) => `
4677
+ window.${Te}(
4678
+ "${t}",${JSON.stringify(e)}, ${De}, ${gi}
4679
+ )`, Si = ({
4667
4680
  contentId: e,
4668
4681
  variationId: t
4669
- }) => `window.${Ce}(
4670
- "${t}", "${e}", ${Ne}
4682
+ }) => `window.${we}(
4683
+ "${t}", "${e}", ${De}
4671
4684
  )`;
4672
- function Je(e) {
4685
+ function Ge(e) {
4673
4686
  return Math.round(e * 1e3) / 1e3;
4674
4687
  }
4675
- const Si = (e, t, n = !0) => {
4688
+ const ki = (e, t, n = !0) => {
4676
4689
  if (!(e instanceof HTMLElement))
4677
4690
  return null;
4678
4691
  let o = n ? e : e.parentElement;
@@ -4683,35 +4696,35 @@ const Si = (e, t, n = !0) => {
4683
4696
  return o;
4684
4697
  } while (o = o.parentElement);
4685
4698
  return null;
4686
- }, ki = (e) => Si(e, (t) => {
4699
+ }, Ci = (e) => ki(e, (t) => {
4687
4700
  const n = t.getAttribute("builder-id") || t.id;
4688
4701
  return (n == null ? void 0 : n.indexOf("builder-")) === 0;
4689
- }), Ge = ({
4702
+ }), Qe = ({
4690
4703
  event: e,
4691
4704
  target: t
4692
4705
  }) => {
4693
- const n = t.getBoundingClientRect(), o = e.clientX - n.left, r = e.clientY - n.top, i = Je(o / n.width), s = Je(r / n.height);
4706
+ const n = t.getBoundingClientRect(), o = e.clientX - n.left, r = e.clientY - n.top, i = Ge(o / n.width), s = Ge(r / n.height);
4694
4707
  return {
4695
4708
  x: i,
4696
4709
  y: s
4697
4710
  };
4698
- }, Ci = (e) => {
4699
- const t = e.target, n = t && ki(t), o = (n == null ? void 0 : n.getAttribute("builder-id")) || (n == null ? void 0 : n.id);
4711
+ }, Ti = (e) => {
4712
+ const t = e.target, n = t && Ci(t), o = (n == null ? void 0 : n.getAttribute("builder-id")) || (n == null ? void 0 : n.id);
4700
4713
  return {
4701
4714
  targetBuilderElement: o || void 0,
4702
4715
  metadata: {
4703
- targetOffset: t ? Ge({
4716
+ targetOffset: t ? Qe({
4704
4717
  event: e,
4705
4718
  target: t
4706
4719
  }) : void 0,
4707
- builderTargetOffset: n ? Ge({
4720
+ builderTargetOffset: n ? Qe({
4708
4721
  event: e,
4709
4722
  target: n
4710
4723
  }) : void 0,
4711
4724
  builderElementIndex: n && o ? [].slice.call(document.getElementsByClassName(o)).indexOf(n) : void 0
4712
4725
  }
4713
4726
  };
4714
- }, Ti = ["svelte", "qwik", "vue"], wi = () => Ti.includes(R) && (A() || $e()), Ii = (e) => {
4727
+ }, wi = ["svelte", "qwik", "vue"], Ii = () => wi.includes(R) && (A() || Ee()), $i = (e) => {
4715
4728
  var i;
4716
4729
  const t = e.family + (e.kind && !e.kind.includes("#") ? ", " + e.kind : ""), n = t.split(",")[0], o = e.fileUrl ?? ((i = e == null ? void 0 : e.files) == null ? void 0 : i.regular);
4717
4730
  let r = "";
@@ -4737,15 +4750,15 @@ font-weight: ${s};
4737
4750
  `.trim());
4738
4751
  }
4739
4752
  return r;
4740
- }, $i = ({
4753
+ }, Ri = ({
4741
4754
  customFonts: e
4742
4755
  }) => {
4743
4756
  var t;
4744
- return ((t = e == null ? void 0 : e.map((n) => Ii(n))) == null ? void 0 : t.join(" ")) || "";
4745
- }, Ri = ({
4757
+ return ((t = e == null ? void 0 : e.map((n) => $i(n))) == null ? void 0 : t.join(" ")) || "";
4758
+ }, Ei = ({
4746
4759
  cssCode: e,
4747
4760
  contentId: t
4748
- }) => e ? t ? (e == null ? void 0 : e.replace(/&/g, `div[builder-content-id="${t}"]`)) || "" : e : "", Ei = `
4761
+ }) => e ? t ? (e == null ? void 0 : e.replace(/&/g, `div[builder-content-id="${t}"]`)) || "" : e : "", Pi = `
4749
4762
  .builder-button {
4750
4763
  all: unset;
4751
4764
  }
@@ -4762,9 +4775,9 @@ font-weight: ${s};
4762
4775
  text-align: inherit;
4763
4776
  font-family: inherit;
4764
4777
  }
4765
- `, Pi = (e) => e ? "" : Ei, Ai = (e) => `variant-${e}`, Bi = y({
4778
+ `, Ai = (e) => e ? "" : Pi, Bi = (e) => `variant-${e}`, Vi = y({
4766
4779
  name: "enable-editor",
4767
- components: { DynamicDiv: ee },
4780
+ components: { DynamicDiv: te },
4768
4781
  props: [
4769
4782
  "isNestedRender",
4770
4783
  "builderContextSignal",
@@ -4773,6 +4786,7 @@ font-weight: ${s};
4773
4786
  "apiHost",
4774
4787
  "locale",
4775
4788
  "enrich",
4789
+ "enrichOptions",
4776
4790
  "trustedHosts",
4777
4791
  "model",
4778
4792
  "content",
@@ -4793,15 +4807,15 @@ font-weight: ${s};
4793
4807
  httpReqsData: {},
4794
4808
  httpReqsPending: {},
4795
4809
  clicked: !1,
4796
- builderContext: he,
4797
- needsElementRefDivForEditing: wi,
4798
- getWrapperClassName: Ai
4810
+ builderContext: be,
4811
+ needsElementRefDivForEditing: Ii,
4812
+ getWrapperClassName: Bi
4799
4813
  };
4800
4814
  },
4801
4815
  provide() {
4802
4816
  const e = this;
4803
4817
  return {
4804
- [he.key]: e.builderContextSignal
4818
+ [be.key]: e.builderContextSignal
4805
4819
  };
4806
4820
  },
4807
4821
  created() {
@@ -4813,7 +4827,7 @@ font-weight: ${s};
4813
4827
  A() && !this.isNestedRender && this.$refs.elementRef && this.$refs.elementRef.dispatchEvent(
4814
4828
  new CustomEvent("initeditingbldr")
4815
4829
  );
4816
- const o = this.builderContextSignal.content && K(this.canTrack), r = we({
4830
+ const o = this.builderContextSignal.content && J(this.canTrack), r = $e({
4817
4831
  name: `builder.tests.${(e = this.builderContextSignal.content) == null ? void 0 : e.id}`,
4818
4832
  canTrack: !0
4819
4833
  }), i = (t = this.builderContextSignal.content) == null ? void 0 : t.testVariationId;
@@ -4828,7 +4842,7 @@ font-weight: ${s};
4828
4842
  variationId: r !== s ? r : void 0
4829
4843
  });
4830
4844
  }
4831
- $e() && !A() && this.$refs.elementRef && this.$refs.elementRef.dispatchEvent(
4845
+ Ee() && !A() && this.$refs.elementRef && this.$refs.elementRef.dispatchEvent(
4832
4846
  new CustomEvent("initpreviewingbldr")
4833
4847
  );
4834
4848
  }
@@ -4930,7 +4944,7 @@ font-weight: ${s};
4930
4944
  this.builderContextSignal.content = n;
4931
4945
  },
4932
4946
  processMessage(e) {
4933
- return st({
4947
+ return at({
4934
4948
  model: this.model,
4935
4949
  trustedHosts: this.trustedHosts,
4936
4950
  callbacks: {
@@ -4944,7 +4958,7 @@ font-weight: ${s};
4944
4958
  });
4945
4959
  },
4946
4960
  animation: (t) => {
4947
- mt(t);
4961
+ ht(t);
4948
4962
  },
4949
4963
  contentUpdate: (t, n) => {
4950
4964
  this.mergeNewContent(t, n);
@@ -4962,11 +4976,11 @@ font-weight: ${s};
4962
4976
  xe({
4963
4977
  apiHost: this.apiHost,
4964
4978
  type: "click",
4965
- canTrack: K(this.canTrack),
4979
+ canTrack: J(this.canTrack),
4966
4980
  contentId: r,
4967
4981
  apiKey: this.apiKey,
4968
4982
  variationId: o !== r ? o : void 0,
4969
- ...Ci(e),
4983
+ ...Ti(e),
4970
4984
  unique: !this.clicked
4971
4985
  });
4972
4986
  }
@@ -4986,9 +5000,9 @@ font-weight: ${s};
4986
5000
  this.httpReqsPending[o] = !0;
4987
5001
  const l = s.replace(
4988
5002
  /{{([^}]+)}}/g,
4989
- (p, f) => String(
4990
- _({
4991
- code: f,
5003
+ (p, b) => String(
5004
+ ee({
5005
+ code: b,
4992
5006
  context: this.context || {},
4993
5007
  localState: void 0,
4994
5008
  rootState: this.builderContextSignal.rootState,
@@ -5004,7 +5018,7 @@ font-weight: ${s};
5004
5018
  url: l,
5005
5019
  method: "GET"
5006
5020
  };
5007
- _e(JSON.stringify(a));
5021
+ et(JSON.stringify(a));
5008
5022
  const u = {
5009
5023
  method: a.method,
5010
5024
  headers: a.headers,
@@ -5032,7 +5046,7 @@ font-weight: ${s};
5032
5046
  "builder:component:stateChange",
5033
5047
  {
5034
5048
  detail: {
5035
- state: Te(this.builderContextSignal.rootState),
5049
+ state: Ie(this.builderContextSignal.rootState),
5036
5050
  ref: {
5037
5051
  name: this.model
5038
5052
  }
@@ -5042,13 +5056,16 @@ font-weight: ${s};
5042
5056
  );
5043
5057
  },
5044
5058
  elementRef_onIniteditingbldr(e) {
5045
- window.addEventListener("message", this.processMessage), it({
5059
+ window.addEventListener("message", this.processMessage), st({
5046
5060
  ...this.locale ? {
5047
5061
  locale: this.locale
5048
5062
  } : {},
5049
5063
  ...this.enrich ? {
5050
5064
  enrich: this.enrich
5051
5065
  } : {},
5066
+ ...this.enrichOptions ? {
5067
+ enrichOptions: this.enrichOptions
5068
+ } : {},
5052
5069
  ...this.trustedHosts ? {
5053
5070
  trustedHosts: this.trustedHosts
5054
5071
  } : {},
@@ -5059,7 +5076,7 @@ font-weight: ${s};
5059
5076
  ).forEach((t) => {
5060
5077
  var n, o;
5061
5078
  if (!((n = t.models) != null && n.length) || t.models.includes(this.model)) {
5062
- const r = rn(t);
5079
+ const r = sn(t);
5063
5080
  (o = window.parent) == null || o.postMessage(r, "*");
5064
5081
  }
5065
5082
  }), window.addEventListener(
@@ -5072,7 +5089,7 @@ font-weight: ${s};
5072
5089
  const t = new URL(location.href).searchParams, n = t.get("builder.preview"), o = t.get(
5073
5090
  `builder.overrides.${n}`
5074
5091
  ), r = t.get("apiKey") || t.get("builder.space");
5075
- (n === "BUILDER_STUDIO" || n === this.model && r === this.apiKey && (!this.content || o === this.content.id)) && Pe({
5092
+ (n === "BUILDER_STUDIO" || n === this.model && r === this.apiKey && (!this.content || o === this.content.id)) && Be({
5076
5093
  model: this.model,
5077
5094
  apiKey: this.apiKey,
5078
5095
  apiVersion: this.builderContextSignal.apiVersion,
@@ -5087,9 +5104,9 @@ font-weight: ${s};
5087
5104
  }
5088
5105
  }
5089
5106
  });
5090
- function Vi(e, t, n, o, r, i) {
5107
+ function Ni(e, t, n, o, r, i) {
5091
5108
  var s, l, a;
5092
- return e.builderContextSignal.content || e.needsElementRefDivForEditing() ? (d(), S(Y(e.ContentWrapper), I({
5109
+ return e.builderContextSignal.content || e.needsElementRefDivForEditing() ? (d(), S(X(e.ContentWrapper), I({
5093
5110
  key: 0,
5094
5111
  ref: "elementRef",
5095
5112
  onClick: (u) => e.onClick(u),
@@ -5102,32 +5119,32 @@ function Vi(e, t, n, o, r, i) {
5102
5119
  onIniteditingbldr: (u) => e.elementRef_onIniteditingbldr(u),
5103
5120
  onInitpreviewingbldr: (u) => e.elementRef_onInitpreviewingbldr(u)
5104
5121
  }, { ...e.showContentProps, ...e.contentWrapperProps }), {
5105
- default: x(() => [
5122
+ default: D(() => [
5106
5123
  V(e.$slots, "default")
5107
5124
  ]),
5108
5125
  _: 3
5109
- }, 16, ["onClick", "builder-content-id", "builder-model", "className", "style", "onIniteditingbldr", "onInitpreviewingbldr"])) : C("", !0);
5126
+ }, 16, ["onClick", "builder-content-id", "builder-model", "className", "style", "onIniteditingbldr", "onInitpreviewingbldr"])) : T("", !0);
5110
5127
  }
5111
- const Ni = /* @__PURE__ */ v(Bi, [["render", Vi]]), Wi = y({
5128
+ const Wi = /* @__PURE__ */ v(Vi, [["render", Ni]]), Di = y({
5112
5129
  name: "content-styles",
5113
- components: { InlinedStyles: ce },
5130
+ components: { InlinedStyles: ue },
5114
5131
  props: ["cssCode", "contentId", "customFonts", "isNestedRender", "nonce"],
5115
5132
  data() {
5116
5133
  return {
5117
5134
  injectedStyles: `
5118
- ${Ri({
5135
+ ${Ei({
5119
5136
  cssCode: this.cssCode,
5120
5137
  contentId: this.contentId
5121
5138
  })}
5122
- ${$i({
5139
+ ${Ri({
5123
5140
  customFonts: this.customFonts
5124
5141
  })}
5125
- ${Pi(this.isNestedRender)}
5142
+ ${Ai(this.isNestedRender)}
5126
5143
  `.trim()
5127
5144
  };
5128
5145
  }
5129
5146
  });
5130
- function Di(e, t, n, o, r, i) {
5147
+ function Oi(e, t, n, o, r, i) {
5131
5148
  const s = k("InlinedStyles");
5132
5149
  return d(), S(s, {
5133
5150
  id: "builderio-content",
@@ -5135,7 +5152,7 @@ function Di(e, t, n, o, r, i) {
5135
5152
  nonce: e.nonce
5136
5153
  }, null, 8, ["styles", "nonce"]);
5137
5154
  }
5138
- const xi = /* @__PURE__ */ v(Wi, [["render", Di]]), Oi = ({
5155
+ const xi = /* @__PURE__ */ v(Di, [["render", Oi]]), Ui = ({
5139
5156
  content: e,
5140
5157
  data: t,
5141
5158
  locale: n
@@ -5152,7 +5169,7 @@ const xi = /* @__PURE__ */ v(Wi, [["render", Di]]), Oi = ({
5152
5169
  locale: n
5153
5170
  } : {}
5154
5171
  };
5155
- }, Ui = ({
5172
+ }, Fi = ({
5156
5173
  content: e,
5157
5174
  data: t
5158
5175
  }) => e ? {
@@ -5162,14 +5179,14 @@ const xi = /* @__PURE__ */ v(Wi, [["render", Di]]), Oi = ({
5162
5179
  ...t
5163
5180
  },
5164
5181
  meta: e == null ? void 0 : e.meta
5165
- } : void 0, Fi = Tt, Li = y({
5182
+ } : void 0, Li = wt, Hi = y({
5166
5183
  name: "content-component",
5167
5184
  components: {
5168
- EnableEditor: Ni,
5169
- InlinedScript: Ve,
5185
+ EnableEditor: Wi,
5186
+ InlinedScript: We,
5170
5187
  ContentStyles: xi,
5171
5188
  Blocks: j,
5172
- DynamicDiv: ee
5189
+ DynamicDiv: te
5173
5190
  },
5174
5191
  props: [
5175
5192
  "content",
@@ -5186,6 +5203,7 @@ const xi = /* @__PURE__ */ v(Wi, [["render", Di]]), Oi = ({
5186
5203
  "model",
5187
5204
  "apiHost",
5188
5205
  "enrich",
5206
+ "enrichOptions",
5189
5207
  "showContent",
5190
5208
  "contentWrapper",
5191
5209
  "contentWrapperProps",
@@ -5197,32 +5215,32 @@ const xi = /* @__PURE__ */ v(Wi, [["render", Di]]), Oi = ({
5197
5215
  data() {
5198
5216
  var e, t;
5199
5217
  return {
5200
- scriptStr: vi({
5218
+ scriptStr: Si({
5201
5219
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
5202
5220
  variationId: (e = this.content) == null ? void 0 : e.testVariationId,
5203
5221
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
5204
5222
  contentId: (t = this.content) == null ? void 0 : t.id
5205
5223
  }),
5206
5224
  registeredComponents: [
5207
- ...Ke(),
5225
+ ...Je(),
5208
5226
  ...this.customComponents || []
5209
5227
  ].reduce(
5210
5228
  (n, { component: o, ...r }) => ({
5211
5229
  ...n,
5212
5230
  [r.name]: {
5213
- component: Fi(o),
5214
- ...se(r)
5231
+ component: Li(o),
5232
+ ...le(r)
5215
5233
  }
5216
5234
  }),
5217
5235
  {}
5218
5236
  ),
5219
5237
  builderContextSignal: {
5220
- content: Ui({
5238
+ content: Fi({
5221
5239
  content: this.content,
5222
5240
  data: this.data
5223
5241
  }),
5224
5242
  localState: void 0,
5225
- rootState: Oi({
5243
+ rootState: Ui({
5226
5244
  content: this.content,
5227
5245
  data: this.data,
5228
5246
  locale: this.locale
@@ -5233,12 +5251,12 @@ const xi = /* @__PURE__ */ v(Wi, [["render", Di]]), Oi = ({
5233
5251
  apiKey: this.apiKey,
5234
5252
  apiVersion: this.apiVersion,
5235
5253
  componentInfos: [
5236
- ...Ke(),
5254
+ ...Je(),
5237
5255
  ...this.customComponents || []
5238
5256
  ].reduce(
5239
5257
  (n, { component: o, ...r }) => ({
5240
5258
  ...n,
5241
- [r.name]: se(r)
5259
+ [r.name]: le(r)
5242
5260
  }),
5243
5261
  {}
5244
5262
  ),
@@ -5254,18 +5272,18 @@ const xi = /* @__PURE__ */ v(Wi, [["render", Di]]), Oi = ({
5254
5272
  provide() {
5255
5273
  const e = this;
5256
5274
  return {
5257
- [et.key]: {
5275
+ [tt.key]: {
5258
5276
  registeredComponents: e.registeredComponents
5259
5277
  }
5260
5278
  };
5261
5279
  },
5262
5280
  created() {
5263
5281
  var t, n;
5264
- this.apiKey || L.error(
5282
+ this.apiKey || F.error(
5265
5283
  "No API key provided to `Content` component. This can cause issues. Please provide an API key using the `apiKey` prop."
5266
5284
  );
5267
5285
  const e = (n = (t = this.builderContextSignal.content) == null ? void 0 : t.data) == null ? void 0 : n.jsCode;
5268
- e && _({
5286
+ e && ee({
5269
5287
  code: e,
5270
5288
  context: this.context || {},
5271
5289
  localState: void 0,
@@ -5298,7 +5316,7 @@ const xi = /* @__PURE__ */ v(Wi, [["render", Di]]), Oi = ({
5298
5316
  }
5299
5317
  }
5300
5318
  });
5301
- function Hi(e, t, n, o, r, i) {
5319
+ function Mi(e, t, n, o, r, i) {
5302
5320
  const s = k("InlinedScript"), l = k("ContentStyles"), a = k("Blocks"), u = k("EnableEditor");
5303
5321
  return d(), S(u, I({
5304
5322
  apiHost: e.apiHost,
@@ -5311,6 +5329,7 @@ function Hi(e, t, n, o, r, i) {
5311
5329
  canTrack: e.canTrack,
5312
5330
  locale: e.locale,
5313
5331
  enrich: e.enrich,
5332
+ enrichOptions: e.enrichOptions,
5314
5333
  showContent: e.showContent,
5315
5334
  builderContextSignal: e.builderContextSignal,
5316
5335
  contentWrapper: e.contentWrapper,
@@ -5318,23 +5337,23 @@ function Hi(e, t, n, o, r, i) {
5318
5337
  trustedHosts: e.trustedHosts,
5319
5338
  isNestedRender: e.isNestedRender
5320
5339
  }, {}), {
5321
- default: x(() => {
5322
- var p, f, c, m, b, g, P;
5340
+ default: D(() => {
5341
+ var p, b, c, m, f, g, P;
5323
5342
  return [
5324
5343
  e.isSsrAbTest ? (d(), S(s, {
5325
5344
  key: 0,
5326
5345
  id: "builderio-variant-visibility",
5327
5346
  scriptStr: e.scriptStr,
5328
5347
  nonce: e.nonce || ""
5329
- }, null, 8, ["scriptStr", "nonce"])) : C("", !0),
5348
+ }, null, 8, ["scriptStr", "nonce"])) : T("", !0),
5330
5349
  e.TARGET !== "reactNative" ? (d(), S(l, {
5331
5350
  key: 1,
5332
5351
  nonce: e.nonce || "",
5333
5352
  isNestedRender: e.isNestedRender,
5334
5353
  contentId: (p = e.builderContextSignal.content) == null ? void 0 : p.id,
5335
- cssCode: (c = (f = e.builderContextSignal.content) == null ? void 0 : f.data) == null ? void 0 : c.cssCode,
5336
- customFonts: (b = (m = e.builderContextSignal.content) == null ? void 0 : m.data) == null ? void 0 : b.customFonts
5337
- }, null, 8, ["nonce", "isNestedRender", "contentId", "cssCode", "customFonts"])) : C("", !0),
5354
+ cssCode: (c = (b = e.builderContextSignal.content) == null ? void 0 : b.data) == null ? void 0 : c.cssCode,
5355
+ customFonts: (f = (m = e.builderContextSignal.content) == null ? void 0 : m.data) == null ? void 0 : f.customFonts
5356
+ }, null, 8, ["nonce", "isNestedRender", "contentId", "cssCode", "customFonts"])) : T("", !0),
5338
5357
  $(a, {
5339
5358
  blocks: (P = (g = e.builderContextSignal.content) == null ? void 0 : g.data) == null ? void 0 : P.blocks,
5340
5359
  context: e.builderContextSignal,
@@ -5344,14 +5363,14 @@ function Hi(e, t, n, o, r, i) {
5344
5363
  ];
5345
5364
  }),
5346
5365
  _: 1
5347
- }, 16, ["apiHost", "nonce", "content", "data", "model", "context", "apiKey", "canTrack", "locale", "enrich", "showContent", "builderContextSignal", "contentWrapper", "contentWrapperProps", "trustedHosts", "isNestedRender"]);
5366
+ }, 16, ["apiHost", "nonce", "content", "data", "model", "context", "apiKey", "canTrack", "locale", "enrich", "enrichOptions", "showContent", "builderContextSignal", "contentWrapper", "contentWrapperProps", "trustedHosts", "isNestedRender"]);
5348
5367
  }
5349
- const Mi = /* @__PURE__ */ v(Li, [["render", Hi]]), zi = y({
5368
+ const zi = /* @__PURE__ */ v(Hi, [["render", Mi]]), ji = y({
5350
5369
  name: "content-variants",
5351
5370
  components: {
5352
- InlinedScript: Ve,
5353
- InlinedStyles: ce,
5354
- ContentComponent: Mi
5371
+ InlinedScript: We,
5372
+ InlinedStyles: ue,
5373
+ ContentComponent: zi
5355
5374
  },
5356
5375
  props: [
5357
5376
  "canTrack",
@@ -5368,6 +5387,7 @@ const Mi = /* @__PURE__ */ v(Li, [["render", Hi]]), zi = y({
5368
5387
  "linkComponent",
5369
5388
  "locale",
5370
5389
  "enrich",
5390
+ "enrichOptions",
5371
5391
  "blocksWrapper",
5372
5392
  "blocksWrapperProps",
5373
5393
  "contentWrapper",
@@ -5376,16 +5396,16 @@ const Mi = /* @__PURE__ */ v(Li, [["render", Hi]]), zi = y({
5376
5396
  ],
5377
5397
  data() {
5378
5398
  return {
5379
- shouldRenderVariants: hi({
5380
- canTrack: K(this.canTrack),
5399
+ shouldRenderVariants: fi({
5400
+ canTrack: J(this.canTrack),
5381
5401
  content: this.content
5382
5402
  }),
5383
- shouldEmitPersonalizationFns: Ao(this.content),
5384
- SDKS_SUPPORTING_PERSONALIZATION: vt,
5385
- getInitPersonalizationVariantsFnsScriptString: Bo,
5403
+ shouldEmitPersonalizationFns: Bo(this.content),
5404
+ SDKS_SUPPORTING_PERSONALIZATION: St,
5405
+ getInitPersonalizationVariantsFnsScriptString: Vo,
5386
5406
  TARGET: R,
5387
- getInitVariantsFnsScriptString: gi,
5388
- getVariants: oe
5407
+ getInitVariantsFnsScriptString: yi,
5408
+ getVariants: ie
5389
5409
  };
5390
5410
  },
5391
5411
  mounted() {
@@ -5393,8 +5413,8 @@ const Mi = /* @__PURE__ */ v(Li, [["render", Hi]]), zi = y({
5393
5413
  computed: {
5394
5414
  updateCookieAndStylesScriptStr() {
5395
5415
  var e;
5396
- return yi(
5397
- oe(this.content).map((t) => ({
5416
+ return vi(
5417
+ ie(this.content).map((t) => ({
5398
5418
  id: t.testVariationId,
5399
5419
  testRatio: t.testRatio
5400
5420
  })),
@@ -5402,21 +5422,21 @@ const Mi = /* @__PURE__ */ v(Li, [["render", Hi]]), zi = y({
5402
5422
  );
5403
5423
  },
5404
5424
  hideVariantsStyleString() {
5405
- return oe(this.content).map((e) => `.variant-${e.testVariationId} { display: none; } `).join("");
5425
+ return ie(this.content).map((e) => `.variant-${e.testVariationId} { display: none; } `).join("");
5406
5426
  },
5407
5427
  defaultContent() {
5408
5428
  var e;
5409
5429
  return this.shouldRenderVariants ? {
5410
5430
  ...this.content,
5411
5431
  testVariationId: (e = this.content) == null ? void 0 : e.id
5412
- } : fn({
5432
+ } : bn({
5413
5433
  item: this.content,
5414
- canTrack: K(this.canTrack)
5434
+ canTrack: J(this.canTrack)
5415
5435
  });
5416
5436
  }
5417
5437
  }
5418
5438
  });
5419
- function ji(e, t, n, o, r, i) {
5439
+ function qi(e, t, n, o, r, i) {
5420
5440
  const s = k("InlinedScript"), l = k("InlinedStyles"), a = k("ContentComponent");
5421
5441
  return d(), h(w, null, [
5422
5442
  e.shouldEmitPersonalizationFns ? (d(), h(w, { key: 0 }, [
@@ -5425,8 +5445,8 @@ function ji(e, t, n, o, r, i) {
5425
5445
  id: "builderio-init-personalization-variants-fns",
5426
5446
  nonce: e.nonce || "",
5427
5447
  scriptStr: e.getInitPersonalizationVariantsFnsScriptString()
5428
- }, null, 8, ["nonce", "scriptStr"])) : C("", !0)
5429
- ], 64)) : C("", !0),
5448
+ }, null, 8, ["nonce", "scriptStr"])) : T("", !0)
5449
+ ], 64)) : T("", !0),
5430
5450
  e.shouldRenderVariants ? (d(), h(w, { key: 1 }, [
5431
5451
  $(s, {
5432
5452
  id: "builderio-init-variants-fns",
@@ -5443,7 +5463,7 @@ function ji(e, t, n, o, r, i) {
5443
5463
  scriptStr: e.updateCookieAndStylesScriptStr,
5444
5464
  nonce: e.nonce || ""
5445
5465
  }, null, 8, ["scriptStr", "nonce"]),
5446
- (d(!0), h(w, null, F(e.getVariants(e.content), (u, p) => (d(), S(a, I({
5466
+ (d(!0), h(w, null, U(e.getVariants(e.content), (u, p) => (d(), S(a, I({
5447
5467
  key: u.testVariationId,
5448
5468
  apiHost: e.apiHost,
5449
5469
  isNestedRender: e.isNestedRender,
@@ -5460,14 +5480,15 @@ function ji(e, t, n, o, r, i) {
5460
5480
  canTrack: e.canTrack,
5461
5481
  locale: e.locale,
5462
5482
  enrich: e.enrich,
5483
+ enrichOptions: e.enrichOptions,
5463
5484
  isSsrAbTest: e.shouldRenderVariants,
5464
5485
  blocksWrapper: e.blocksWrapper,
5465
5486
  blocksWrapperProps: e.blocksWrapperProps,
5466
5487
  contentWrapper: e.contentWrapper,
5467
5488
  contentWrapperProps: e.contentWrapperProps,
5468
5489
  trustedHosts: e.trustedHosts
5469
- }, {}), null, 16, ["apiHost", "isNestedRender", "nonce", "content", "model", "data", "context", "apiKey", "apiVersion", "customComponents", "linkComponent", "canTrack", "locale", "enrich", "isSsrAbTest", "blocksWrapper", "blocksWrapperProps", "contentWrapper", "contentWrapperProps", "trustedHosts"]))), 128))
5470
- ], 64)) : C("", !0),
5490
+ }, {}), null, 16, ["apiHost", "isNestedRender", "nonce", "content", "model", "data", "context", "apiKey", "apiVersion", "customComponents", "linkComponent", "canTrack", "locale", "enrich", "enrichOptions", "isSsrAbTest", "blocksWrapper", "blocksWrapperProps", "contentWrapper", "contentWrapperProps", "trustedHosts"]))), 128))
5491
+ ], 64)) : T("", !0),
5471
5492
  $(a, I({
5472
5493
  apiHost: e.apiHost,
5473
5494
  nonce: e.nonce,
@@ -5484,6 +5505,7 @@ function ji(e, t, n, o, r, i) {
5484
5505
  canTrack: e.canTrack,
5485
5506
  locale: e.locale,
5486
5507
  enrich: e.enrich,
5508
+ enrichOptions: e.enrichOptions,
5487
5509
  isSsrAbTest: e.shouldRenderVariants,
5488
5510
  blocksWrapper: e.blocksWrapper,
5489
5511
  blocksWrapperProps: e.blocksWrapperProps,
@@ -5492,16 +5514,16 @@ function ji(e, t, n, o, r, i) {
5492
5514
  trustedHosts: e.trustedHosts
5493
5515
  }, {
5494
5516
  key: e.shouldRenderVariants.toString()
5495
- }), null, 16, ["apiHost", "nonce", "isNestedRender", "content", "model", "data", "context", "apiKey", "apiVersion", "customComponents", "linkComponent", "canTrack", "locale", "enrich", "isSsrAbTest", "blocksWrapper", "blocksWrapperProps", "contentWrapper", "contentWrapperProps", "trustedHosts"])
5517
+ }), null, 16, ["apiHost", "nonce", "isNestedRender", "content", "model", "data", "context", "apiKey", "apiVersion", "customComponents", "linkComponent", "canTrack", "locale", "enrich", "enrichOptions", "isSsrAbTest", "blocksWrapper", "blocksWrapperProps", "contentWrapper", "contentWrapperProps", "trustedHosts"])
5496
5518
  ], 64);
5497
5519
  }
5498
- const qi = /* @__PURE__ */ v(zi, [["render", ji]]), Ki = async ({
5520
+ const Ki = /* @__PURE__ */ v(ji, [["render", qi]]), Ji = async ({
5499
5521
  builderContextValue: e,
5500
5522
  symbol: t
5501
5523
  }) => {
5502
5524
  if (t != null && t.model && // This is a hack, we should not need to check for this, but it is needed for Svelte.
5503
5525
  (e != null && e.apiKey))
5504
- return Pe({
5526
+ return Be({
5505
5527
  model: t.model,
5506
5528
  apiKey: t.global && t.ownerId ? t.ownerId : e.apiKey,
5507
5529
  apiVersion: e.apiVersion,
@@ -5511,11 +5533,11 @@ const qi = /* @__PURE__ */ v(zi, [["render", ji]]), Ki = async ({
5511
5533
  }
5512
5534
  }
5513
5535
  }).catch((n) => {
5514
- L.error("Could not fetch symbol content: ", n);
5536
+ F.error("Could not fetch symbol content: ", n);
5515
5537
  });
5516
- }, Ji = y({
5538
+ }, Gi = y({
5517
5539
  name: "builder-symbol",
5518
- components: { ContentVariants: qi, DynamicDiv: ee },
5540
+ components: { ContentVariants: Ki, DynamicDiv: te },
5519
5541
  props: [
5520
5542
  "symbol",
5521
5543
  "builderComponents",
@@ -5557,7 +5579,7 @@ const qi = /* @__PURE__ */ v(zi, [["render", ji]]), Ki = async ({
5557
5579
  className() {
5558
5580
  var e, t;
5559
5581
  return [
5560
- this.attributes[z()],
5582
+ this.attributes[M()],
5561
5583
  "builder-symbol",
5562
5584
  (e = this.symbol) != null && e.inline ? "builder-inline-symbol" : void 0,
5563
5585
  (t = this.symbol) != null && t.dynamic || this.dynamic ? "builder-dynamic-symbol" : void 0
@@ -5572,7 +5594,7 @@ const qi = /* @__PURE__ */ v(zi, [["render", ji]]), Ki = async ({
5572
5594
  methods: {
5573
5595
  setContent() {
5574
5596
  var e;
5575
- this.contentToUse && this.symbolEntry === ((e = this.symbol) == null ? void 0 : e.entry) || Ki({
5597
+ this.contentToUse && this.symbolEntry === ((e = this.symbol) == null ? void 0 : e.entry) || Ji({
5576
5598
  symbol: this.symbol,
5577
5599
  builderContextValue: this.builderContext
5578
5600
  }).then((t) => {
@@ -5582,10 +5604,10 @@ const qi = /* @__PURE__ */ v(zi, [["render", ji]]), Ki = async ({
5582
5604
  }
5583
5605
  }
5584
5606
  });
5585
- function Gi(e, t, n, o, r, i) {
5586
- var l, a, u, p, f, c, m;
5607
+ function Qi(e, t, n, o, r, i) {
5608
+ var l, a, u, p, b, c, m;
5587
5609
  const s = k("ContentVariants");
5588
- return d(), h("div", I({ class: e.className }, { ...e.filterAttrs(e.attributes, "v-on:", !1) }, U(e.filterAttrs(e.attributes, "v-on:", !0), !0)), [
5610
+ return d(), h("div", I({ class: e.className }, { ...e.filterAttrs(e.attributes, "v-on:", !1) }, x(e.filterAttrs(e.attributes, "v-on:", !0), !0)), [
5589
5611
  $(s, {
5590
5612
  nonce: e.builderContext.nonce,
5591
5613
  isNestedRender: !0,
@@ -5599,7 +5621,7 @@ function Gi(e, t, n, o, r, i) {
5599
5621
  data: {
5600
5622
  ...(p = e.symbol) == null ? void 0 : p.data,
5601
5623
  ...e.builderContext.localState,
5602
- ...(c = (f = e.contentToUse) == null ? void 0 : f.data) == null ? void 0 : c.state
5624
+ ...(c = (b = e.contentToUse) == null ? void 0 : b.data) == null ? void 0 : c.state
5603
5625
  },
5604
5626
  canTrack: e.builderContext.canTrack,
5605
5627
  model: ((m = e.symbol) == null ? void 0 : m.model) ?? "",
@@ -5610,43 +5632,44 @@ function Gi(e, t, n, o, r, i) {
5610
5632
  }, null, 8, ["nonce", "apiVersion", "apiKey", "context", "customComponents", "data", "canTrack", "model", "content", "linkComponent", "blocksWrapper", "contentWrapper"])
5611
5633
  ], 16);
5612
5634
  }
5613
- const Qi = /* @__PURE__ */ v(Ji, [["render", Gi]]);
5635
+ const Yi = /* @__PURE__ */ v(Gi, [["render", Qi]]);
5614
5636
  export {
5615
- Pe as A,
5616
- gt as B,
5617
- ao as C,
5618
- Zi as D,
5619
- as as E,
5620
- uo as F,
5621
- vo as I,
5622
- Co as S,
5623
- ur as T,
5624
- di as V,
5637
+ Pn as A,
5638
+ yt as B,
5639
+ lo as C,
5640
+ Be as D,
5641
+ _i as E,
5642
+ po as F,
5643
+ cs as G,
5644
+ So as I,
5645
+ To as S,
5646
+ pr as T,
5647
+ ui as V,
5625
5648
  v as _,
5626
- z as a,
5627
- he as b,
5628
- ce as c,
5629
- oo as d,
5630
- _ as e,
5631
- is as f,
5632
- ss as g,
5633
- ls as h,
5634
- Ae as i,
5635
- on as j,
5636
- Lt as k,
5637
- Qi as l,
5638
- j as m,
5639
- qi as n,
5640
- $e as o,
5641
- rn as p,
5642
- es as q,
5643
- _i as r,
5644
- os as s,
5649
+ M as a,
5650
+ be as b,
5651
+ ue as c,
5652
+ ss as d,
5653
+ ee as e,
5654
+ ro as f,
5655
+ ls as g,
5656
+ as as h,
5657
+ ds as i,
5658
+ Ve as j,
5659
+ rn as k,
5660
+ Ht as l,
5661
+ Yi as m,
5662
+ j as n,
5663
+ Ki as o,
5664
+ Ee as p,
5665
+ sn as q,
5666
+ es as r,
5667
+ rs as s,
5645
5668
  ts as t,
5646
- ot as u,
5647
- ns as v,
5648
- Fi as w,
5649
- rs as x,
5650
- Rn as y,
5669
+ ns as u,
5670
+ rt as v,
5671
+ Li as w,
5672
+ os as x,
5673
+ is as y,
5651
5674
  En as z
5652
5675
  };