@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,7 +1,7 @@
1
1
  import "./style.css";
2
- import { defineComponent as y, openBlock as d, createElementBlock as h, Fragment as I, createBlock as S, resolveDynamicComponent as X, mergeProps as $, toHandlers as L, withCtx as x, renderSlot as N, resolveComponent as k, createTextVNode as Wt, toDisplayString as de, defineAsyncComponent as Y, createVNode as R, renderList as F, createCommentVNode as C, h as _e, createElementVNode as q, normalizeStyle as M, normalizeClass as _, markRaw as Ot } from "vue";
3
- const Dt = /* @__PURE__ */ new Set(["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen", "link", "meta", "param", "source", "track", "wbr"]), xt = (e) => typeof e == "string" && Dt.has(e.toLowerCase());
4
- function W(e = {}, t, n) {
2
+ import { defineComponent as y, openBlock as d, createElementBlock as h, Fragment as I, createBlock as S, resolveDynamicComponent as Z, mergeProps as $, toHandlers as U, withCtx as D, renderSlot as N, resolveComponent as k, createTextVNode as Wt, toDisplayString as pe, defineAsyncComponent as X, createVNode as R, renderList as L, createCommentVNode as T, h as et, createElementVNode as G, normalizeStyle as H, normalizeClass as ee, markRaw as Dt } from "vue";
3
+ const xt = /* @__PURE__ */ new Set(["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen", "link", "meta", "param", "source", "track", "wbr"]), Ut = (e) => typeof e == "string" && xt.has(e.toLowerCase());
4
+ function O(e = {}, t, n) {
5
5
  const o = {};
6
6
  for (const r in e) {
7
7
  if (!e[r] || n && !r.startsWith(t))
@@ -11,11 +11,11 @@ function W(e = {}, t, n) {
11
11
  }
12
12
  return o;
13
13
  }
14
- const Ut = y({
14
+ const Lt = y({
15
15
  name: "dynamic-renderer",
16
16
  props: ["TagName", "attributes", "actionAttributes"],
17
17
  data() {
18
- return { isEmptyElement: xt };
18
+ return { isEmptyElement: Ut };
19
19
  }
20
20
  }), v = (e, t) => {
21
21
  const n = e.__vccOpts || e;
@@ -23,25 +23,25 @@ const Ut = y({
23
23
  n[o] = r;
24
24
  return n;
25
25
  };
26
- function Lt(e, t, n, o, r, i) {
27
- return e.isEmptyElement(e.TagName) ? (d(), S(X(e.TagName), $({ key: 1 }, e.attributes, L(e.actionAttributes)), null, 16)) : (d(), h(I, { key: 0 }, [
28
- typeof e.TagName == "string" ? (d(), S(X(e.TagName), $({ key: 0 }, e.attributes, L(e.actionAttributes)), {
29
- default: x(() => [
26
+ function Ft(e, t, n, o, r, i) {
27
+ return e.isEmptyElement(e.TagName) ? (d(), S(Z(e.TagName), $({ key: 1 }, e.attributes, U(e.actionAttributes)), null, 16)) : (d(), h(I, { key: 0 }, [
28
+ typeof e.TagName == "string" ? (d(), S(Z(e.TagName), $({ key: 0 }, e.attributes, U(e.actionAttributes)), {
29
+ default: D(() => [
30
30
  N(e.$slots, "default")
31
31
  ]),
32
32
  _: 3
33
- }, 16)) : (d(), S(X(e.TagName), $({ key: 1 }, e.attributes, L(e.actionAttributes)), {
34
- default: x(() => [
33
+ }, 16)) : (d(), S(Z(e.TagName), $({ key: 1 }, e.attributes, U(e.actionAttributes)), {
34
+ default: D(() => [
35
35
  N(e.$slots, "default")
36
36
  ]),
37
37
  _: 3
38
38
  }, 16))
39
39
  ], 64));
40
40
  }
41
- const $e = /* @__PURE__ */ v(Ut, [["render", Lt]]), Ts = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
41
+ const Re = /* @__PURE__ */ v(Lt, [["render", Ft]]), ws = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
42
42
  __proto__: null,
43
- default: $e
44
- }, Symbol.toStringTag, { value: "Module" })), E = "vue", j = () => {
43
+ default: Re
44
+ }, Symbol.toStringTag, { value: "Module" })), E = "vue", M = () => {
45
45
  switch (E) {
46
46
  case "react":
47
47
  case "reactNative":
@@ -54,9 +54,9 @@ const $e = /* @__PURE__ */ v(Ut, [["render", Lt]]), Ts = /* @__PURE__ */ Object.
54
54
  case "angular":
55
55
  return "class";
56
56
  }
57
- }, Ft = y({
57
+ }, Ht = y({
58
58
  name: "builder-button",
59
- components: { DynamicRenderer: $e },
59
+ components: { DynamicRenderer: Re },
60
60
  props: [
61
61
  "attributes",
62
62
  "link",
@@ -65,13 +65,13 @@ const $e = /* @__PURE__ */ v(Ut, [["render", Lt]]), Ts = /* @__PURE__ */ Object.
65
65
  "text"
66
66
  ],
67
67
  data() {
68
- return { filterAttrs: W };
68
+ return { filterAttrs: O };
69
69
  },
70
70
  methods: {
71
71
  attrs() {
72
72
  return {
73
- ...W(this.attributes, "v-on:", !1),
74
- [j()]: `${this.link ? "" : "builder-button"} ${this.attributes[j()] || ""}`,
73
+ ...O(this.attributes, "v-on:", !1),
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 $e = /* @__PURE__ */ v(Ut, [["render", Lt]]), Ts = /* @__PURE__ */ Object.
83
83
  }
84
84
  }
85
85
  });
86
- function Ht(e, t, n, o, r, i) {
86
+ function Mt(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
- Wt(de(e.text), 1)
93
+ default: D(() => [
94
+ Wt(pe(e.text), 1)
95
95
  ]),
96
96
  _: 1
97
97
  }, 8, ["attributes", "TagName", "actionAttributes"]);
98
98
  }
99
- const Mt = /* @__PURE__ */ v(Ft, [["render", Ht]]), jt = Symbol(), ge = {
99
+ const jt = /* @__PURE__ */ v(Ht, [["render", Mt]]), zt = Symbol(), ve = {
100
100
  Builder: {
101
101
  content: null,
102
102
  context: {},
@@ -113,43 +113,43 @@ const Mt = /* @__PURE__ */ v(Ft, [["render", Ht]]), jt = Symbol(), ge = {
113
113
  nonce: "",
114
114
  model: ""
115
115
  },
116
- key: jt
117
- }, zt = Symbol(), et = {
118
- Components: { registeredComponents: {} },
119
116
  key: zt
120
- }, ne = "[Builder.io]: ", B = {
121
- log: (...e) => console.log(ne, ...e),
122
- error: (...e) => console.error(ne, ...e),
123
- warn: (...e) => console.warn(ne, ...e),
124
- debug: (...e) => console.debug(ne, ...e)
125
- }, tt = (e, t, n) => {
117
+ }, Kt = Symbol(), tt = {
118
+ Components: { registeredComponents: {} },
119
+ key: Kt
120
+ }, oe = "[Builder.io]: ", B = {
121
+ log: (...e) => console.log(oe, ...e),
122
+ error: (...e) => console.error(oe, ...e),
123
+ warn: (...e) => console.warn(oe, ...e),
124
+ debug: (...e) => console.debug(oe, ...e)
125
+ }, nt = (e, t, n) => {
126
126
  const o = String.prototype.split.call(t, /[,[\].]+?/).filter(Boolean).reduce((r, i) => r != null ? r[i] : r, e);
127
127
  return o === void 0 || o === e ? n : o;
128
128
  };
129
- function T() {
129
+ function w() {
130
130
  return typeof window < "u" && typeof document < "u";
131
131
  }
132
- const Kt = (e) => {
132
+ const qt = (e) => {
133
133
  const t = {};
134
134
  return e.forEach((n, o) => {
135
135
  t[o] = n;
136
136
  }), t;
137
- }, nt = (e) => e instanceof URLSearchParams ? Kt(e) : e, ot = (e) => typeof e == "string" ? e : e instanceof URLSearchParams ? e.toString() : new URLSearchParams(e).toString();
138
- function qt() {
139
- return T() && window.self !== window.top;
137
+ }, ot = (e) => e instanceof URLSearchParams ? qt(e) : e, rt = (e) => typeof e == "string" ? e : e instanceof URLSearchParams ? e.toString() : new URLSearchParams(e).toString();
138
+ function Gt() {
139
+ return w() && window.self !== window.top;
140
140
  }
141
141
  function P(e) {
142
- return qt() && // accessing window.location.search is safe here because `isIframe()` is only `true` if we're in a browser.
143
- ot(e || window.location.search).indexOf("builder.frameEditing=") !== -1;
142
+ return Gt() && // accessing window.location.search is safe here because `isIframe()` is only `true` if we're in a browser.
143
+ rt(e || window.location.search).indexOf("builder.frameEditing=") !== -1;
144
144
  }
145
- const Gt = () => {
146
- if (T()) {
145
+ const Jt = () => {
146
+ if (w()) {
147
147
  const e = new URL(location.href);
148
148
  return e.pathname === "" && (e.pathname = "/"), e;
149
149
  } else
150
150
  return console.warn("Cannot get location for tracking in non-browser environment"), null;
151
- }, Jt = () => typeof navigator == "object" && navigator.userAgent || "", rt = () => {
152
- const e = Jt(), t = {
151
+ }, Qt = () => typeof navigator == "object" && navigator.userAgent || "", it = () => {
152
+ const e = Qt(), t = {
153
153
  Android() {
154
154
  return e.match(/Android/i);
155
155
  },
@@ -168,22 +168,22 @@ const Gt = () => {
168
168
  any() {
169
169
  return t.Android() || t.BlackBerry() || t.iOS() || t.Opera() || t.Windows() || E === "reactNative";
170
170
  }
171
- }, n = e.match(/Tablet|iPad/i), o = Gt();
171
+ }, n = e.match(/Tablet|iPad/i), o = Jt();
172
172
  return {
173
173
  urlPath: o == null ? void 0 : o.pathname,
174
174
  host: (o == null ? void 0 : o.host) || (o == null ? void 0 : o.hostname),
175
175
  device: n ? "tablet" : t.any() ? "mobile" : "desktop"
176
176
  };
177
- }, it = "5.2.10", st = () => ({
177
+ }, st = "5.2.12", at = () => ({
178
178
  "X-Builder-SDK": E,
179
179
  "X-Builder-SDK-GEN": "2",
180
- "X-Builder-SDK-Version": it
181
- }), z = (e) => e != null, Qt = (e) => {
180
+ "X-Builder-SDK-Version": st
181
+ }), j = (e) => e != null, Yt = (e) => {
182
182
  if (e === "localhost" || e === "127.0.0.1")
183
183
  return e;
184
184
  const t = e.split(".");
185
185
  return t.length > 2 ? t.slice(1).join(".") : e;
186
- }, ue = ({
186
+ }, me = ({
187
187
  name: e,
188
188
  canTrack: t
189
189
  }) => {
@@ -194,14 +194,14 @@ const Gt = () => {
194
194
  B.warn("[COOKIE] GET error: ", (o == null ? void 0 : o.message) || o);
195
195
  return;
196
196
  }
197
- }, at = async (e) => ue(e), Yt = (e) => e.map(([t, n]) => n ? `${t}=${n}` : t).filter(z).join("; "), Xt = [["secure", ""], ["SameSite", "None"]], Zt = ({
197
+ }, lt = async (e) => me(e), Xt = (e) => e.map(([t, n]) => n ? `${t}=${n}` : t).filter(j).join("; "), Zt = [["secure", ""], ["SameSite", "None"]], _t = ({
198
198
  name: e,
199
199
  value: t,
200
200
  expires: n
201
201
  }) => {
202
- const r = (T() ? location.protocol === "https:" : !0) ? Xt : [[]], i = n ? [["expires", n.toUTCString()]] : [[]], s = [[e, t], ...i, ["path", "/"], ["domain", Qt(window.location.hostname)], ...r];
203
- return Yt(s);
204
- }, Ee = async ({
202
+ const r = (w() ? location.protocol === "https:" : !0) ? Zt : [[]], i = n ? [["expires", n.toUTCString()]] : [[]], s = [[e, t], ...i, ["path", "/"], ["domain", Yt(window.location.hostname)], ...r];
203
+ return Xt(s);
204
+ }, Pe = async ({
205
205
  name: e,
206
206
  value: t,
207
207
  expires: n,
@@ -210,7 +210,7 @@ const Gt = () => {
210
210
  try {
211
211
  if (!o)
212
212
  return;
213
- const r = Zt({
213
+ const r = _t({
214
214
  name: e,
215
215
  value: t,
216
216
  expires: n
@@ -220,93 +220,93 @@ const Gt = () => {
220
220
  B.warn("[COOKIE] SET error: ", (r == null ? void 0 : r.message) || r);
221
221
  }
222
222
  };
223
- function _t() {
223
+ function en() {
224
224
  return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, function(e) {
225
225
  const t = Math.random() * 16 | 0;
226
226
  return (e == "x" ? t : t & 3 | 8).toString(16);
227
227
  });
228
228
  }
229
- function lt() {
230
- return _t().replace(/-/g, "");
229
+ function ct() {
230
+ return en().replace(/-/g, "");
231
231
  }
232
- const ct = "builderSessionId", en = async ({
232
+ const dt = "builderSessionId", tn = async ({
233
233
  canTrack: e
234
234
  }) => {
235
235
  if (!e)
236
236
  return;
237
- const t = await at({
238
- name: ct,
237
+ const t = await lt({
238
+ name: dt,
239
239
  canTrack: e
240
240
  });
241
- if (z(t))
241
+ if (j(t))
242
242
  return t;
243
243
  {
244
- const n = tn();
245
- return nn({
244
+ const n = nn();
245
+ return on({
246
246
  id: n,
247
247
  canTrack: e
248
248
  }), n;
249
249
  }
250
- }, tn = () => lt(), nn = ({
250
+ }, nn = () => ct(), on = ({
251
251
  id: e,
252
252
  canTrack: t
253
- }) => Ee({
254
- name: ct,
253
+ }) => Pe({
254
+ name: dt,
255
255
  value: e,
256
256
  canTrack: t
257
- }), dt = () => T() && typeof localStorage < "u" ? localStorage : void 0, on = ({
257
+ }), ut = () => w() && typeof localStorage < "u" ? localStorage : void 0, rn = ({
258
258
  key: e,
259
259
  canTrack: t
260
260
  }) => {
261
261
  var n;
262
262
  try {
263
- return t ? (n = dt()) == null ? void 0 : n.getItem(e) : void 0;
263
+ return t ? (n = ut()) == null ? void 0 : n.getItem(e) : void 0;
264
264
  } catch (o) {
265
265
  console.debug("[LocalStorage] GET error: ", o);
266
266
  return;
267
267
  }
268
- }, rn = ({
268
+ }, sn = ({
269
269
  key: e,
270
270
  canTrack: t,
271
271
  value: n
272
272
  }) => {
273
273
  var o;
274
274
  try {
275
- t && ((o = dt()) == null || o.setItem(e, n));
275
+ t && ((o = ut()) == null || o.setItem(e, n));
276
276
  } catch (r) {
277
277
  console.debug("[LocalStorage] SET error: ", r);
278
278
  }
279
- }, ut = "builderVisitorId", sn = ({
279
+ }, pt = "builderVisitorId", an = ({
280
280
  canTrack: e
281
281
  }) => {
282
282
  if (!e)
283
283
  return;
284
- const t = on({
285
- key: ut,
284
+ const t = rn({
285
+ key: pt,
286
286
  canTrack: e
287
287
  });
288
- if (z(t))
288
+ if (j(t))
289
289
  return t;
290
290
  {
291
- const n = an();
292
- return ln({
291
+ const n = ln();
292
+ return cn({
293
293
  id: n,
294
294
  canTrack: e
295
295
  }), n;
296
296
  }
297
- }, an = () => lt(), ln = ({
297
+ }, ln = () => ct(), cn = ({
298
298
  id: e,
299
299
  canTrack: t
300
- }) => rn({
301
- key: ut,
300
+ }) => sn({
301
+ key: pt,
302
302
  value: e,
303
303
  canTrack: t
304
304
  });
305
- function Re(e) {
305
+ function Ae(e) {
306
306
  var t;
307
307
  typeof process < "u" && ((t = process.env) != null && t.DEBUG) && String(process.env.DEBUG) == "true" && B.log(e);
308
308
  }
309
- const cn = async ({
309
+ const dn = async ({
310
310
  canTrack: e
311
311
  }) => {
312
312
  if (!e)
@@ -314,16 +314,16 @@ const cn = async ({
314
314
  visitorId: void 0,
315
315
  sessionId: void 0
316
316
  };
317
- const t = await en({
317
+ const t = await tn({
318
318
  canTrack: e
319
- }), n = sn({
319
+ }), n = an({
320
320
  canTrack: e
321
321
  });
322
322
  return {
323
323
  sessionId: t,
324
324
  visitorId: n
325
325
  };
326
- }, dn = async ({
326
+ }, un = async ({
327
327
  type: e,
328
328
  canTrack: t,
329
329
  apiKey: n,
@@ -337,14 +337,14 @@ const cn = async ({
337
337
  url: location.href,
338
338
  ...o
339
339
  },
340
- ...await cn({
340
+ ...await dn({
341
341
  canTrack: t
342
342
  }),
343
- userAttributes: rt(),
343
+ userAttributes: it(),
344
344
  ownerId: n
345
345
  }
346
346
  });
347
- async function se({
347
+ async function le({
348
348
  apiHost: e,
349
349
  ...t
350
350
  }) {
@@ -352,27 +352,27 @@ async function se({
352
352
  B.error("Missing API key for track call. Please provide your API key.");
353
353
  return;
354
354
  }
355
- if (!t.canTrack || P() || !(T() || E === "reactNative"))
355
+ if (!t.canTrack || P() || !(w() || E === "reactNative"))
356
356
  return;
357
357
  const o = `${e || "https://cdn.builder.io"}/api/v1/track`;
358
- return Re(o), fetch(o, {
358
+ return Ae(o), fetch(o, {
359
359
  method: "POST",
360
360
  body: JSON.stringify({
361
- events: [await dn(t)]
361
+ events: [await un(t)]
362
362
  }),
363
363
  headers: {
364
364
  "content-type": "application/json",
365
- ...st()
365
+ ...at()
366
366
  },
367
367
  mode: "cors"
368
368
  }).catch((r) => {
369
369
  console.error("Failed to track: ", r);
370
370
  });
371
371
  }
372
- const ws = (e) => se({
372
+ const Is = (e) => le({
373
373
  ...e,
374
374
  canTrack: !0
375
- }), un = ({
375
+ }), pn = ({
376
376
  builder: e,
377
377
  context: t,
378
378
  event: n,
@@ -384,13 +384,13 @@ const ws = (e) => se({
384
384
  builder: e,
385
385
  context: t,
386
386
  event: n
387
- }), pn = (e) => ({
387
+ }), mn = (e) => ({
388
388
  isEditing: P(),
389
- isBrowser: T(),
390
- isServer: !T(),
391
- getUserAttributes: () => rt(),
389
+ isBrowser: w(),
390
+ isServer: !w(),
391
+ getUserAttributes: () => it(),
392
392
  trackConversion: (t, n) => {
393
- !(e != null && e.apiKey) || (e == null ? void 0 : e.canTrack) === !1 || se({
393
+ !(e != null && e.apiKey) || (e == null ? void 0 : e.canTrack) === !1 || le({
394
394
  type: "conversion",
395
395
  apiKey: e.apiKey,
396
396
  canTrack: e.canTrack ?? !0,
@@ -404,10 +404,10 @@ const ws = (e) => se({
404
404
  }
405
405
  });
406
406
  }
407
- }), mn = (e, {
407
+ }), hn = (e, {
408
408
  isExpression: t = !0
409
409
  }) => /* we disable this for cases where we definitely don't want a return */ t && !(e.includes(";") || e.includes(" return ") || e.trim().startsWith("return ")) ? `return (${e});` : e;
410
- function pt({
410
+ function mt({
411
411
  rootState: e,
412
412
  localState: t,
413
413
  rootSetState: n
@@ -417,7 +417,7 @@ function pt({
417
417
  if (t && r in t)
418
418
  return t[r];
419
419
  const i = o[r];
420
- return typeof i == "object" && i !== null ? pt({
420
+ return typeof i == "object" && i !== null ? mt({
421
421
  rootState: i,
422
422
  localState: void 0,
423
423
  rootSetState: n ? (s) => {
@@ -432,7 +432,7 @@ function pt({
432
432
  }
433
433
  });
434
434
  }
435
- const Fe = ({
435
+ const He = ({
436
436
  code: e,
437
437
  builder: t,
438
438
  context: n,
@@ -441,11 +441,11 @@ const Fe = ({
441
441
  rootSetState: i,
442
442
  rootState: s
443
443
  }) => {
444
- const l = un({
444
+ const l = pn({
445
445
  builder: t,
446
446
  context: n,
447
447
  event: o,
448
- state: pt({
448
+ state: mt({
449
449
  rootState: s,
450
450
  localState: r,
451
451
  rootSetState: i
@@ -453,25 +453,25 @@ const Fe = ({
453
453
  });
454
454
  return new Function(...l.map(([a]) => a), e)(...l.map(([, a]) => a));
455
455
  };
456
- function hn() {
456
+ function fn() {
457
457
  var e;
458
- return typeof process < "u" && z((e = process == null ? void 0 : process.versions) == null ? void 0 : e.node);
458
+ return typeof process < "u" && j((e = process == null ? void 0 : process.versions) == null ? void 0 : e.node);
459
459
  }
460
- const fn = ({
460
+ const bn = ({
461
461
  shouldLogWarning: e
462
462
  }) => {
463
463
  var r;
464
- if (!hn())
464
+ if (!fn())
465
465
  return !1;
466
466
  const t = process.arch === "arm64", n = process.version.startsWith("v20"), o = (r = process.env.NODE_OPTIONS) == null ? void 0 : r.includes("--no-node-snapshot");
467
467
  return t && n && !o ? (e && B.log("Skipping usage of `isolated-vm` to avoid crashes in Node v20 on an arm64 machine.\n If you would like to use the `isolated-vm` package on this machine, please provide the `NODE_OPTIONS=--no-node-snapshot` config to your Node process.\n See https://github.com/BuilderIO/builder/blob/main/packages/sdks/README.md#node-v20--m1-macs-apple-silicon-support for more information.\n "), !0) : !1;
468
- }, bn = (e) => (T() || fn({
468
+ }, gn = (e) => (w() || bn({
469
469
  shouldLogWarning: !0
470
- }), Fe(e)), gn = /^(return )?(\s*)?state(?<getPath>(\.\w+)+)(\s*);?$/, yn = /(\s)*var(\s)+_virtual_index(\s)*=(\s)*state(?<getPath>(\.\w+)+)(\s*);?(\s)*return(\s)*_virtual_index(\s)*/, vn = (e) => {
470
+ }), He(e)), yn = /^(return )?(\s*)?state(?<getPath>(\.\w+)+)(\s*);?$/, vn = /(\s)*var(\s)+_virtual_index(\s)*=(\s)*state(?<getPath>(\.\w+)+)(\s*);?(\s)*return(\s)*_virtual_index(\s)*/, Sn = (e) => {
471
471
  var t, n, o, r, i, s;
472
- return ((o = (n = (t = gn.exec(e.trim())) == null ? void 0 : t.groups) == null ? void 0 : n.getPath) == null ? void 0 : o.slice(1)) || ((s = (i = (r = yn.exec(e.trim())) == null ? void 0 : r.groups) == null ? void 0 : i.getPath) == null ? void 0 : s.slice(1));
472
+ return ((o = (n = (t = yn.exec(e.trim())) == null ? void 0 : t.groups) == null ? void 0 : n.getPath) == null ? void 0 : o.slice(1)) || ((s = (i = (r = vn.exec(e.trim())) == null ? void 0 : r.groups) == null ? void 0 : i.getPath) == null ? void 0 : s.slice(1));
473
473
  };
474
- function ee({
474
+ function te({
475
475
  code: e,
476
476
  context: t,
477
477
  localState: n,
@@ -483,17 +483,17 @@ function ee({
483
483
  }) {
484
484
  if (e.trim() === "")
485
485
  return;
486
- const a = vn(e.trim());
486
+ const a = Sn(e.trim());
487
487
  if (a)
488
- return tt({
488
+ return nt({
489
489
  ...o,
490
490
  ...n
491
491
  }, a);
492
492
  const u = {
493
- code: mn(e, {
493
+ code: hn(e, {
494
494
  isExpression: s
495
495
  }),
496
- builder: pn(l),
496
+ builder: mn(l),
497
497
  context: t,
498
498
  event: i,
499
499
  rootSetState: r,
@@ -501,7 +501,7 @@ function ee({
501
501
  localState: n
502
502
  };
503
503
  try {
504
- return bn(u);
504
+ return gn(u);
505
505
  } catch (p) {
506
506
  B.error("Failed code evaluation: " + p.message, {
507
507
  code: e
@@ -509,20 +509,20 @@ function ee({
509
509
  return;
510
510
  }
511
511
  }
512
- function Sn(e, t) {
512
+ function kn(e, t) {
513
513
  var n;
514
514
  return {
515
515
  ...(n = e.component) == null ? void 0 : n.options,
516
516
  ...e.options,
517
- ...kn(e, t)
517
+ ...Cn(e, t)
518
518
  };
519
519
  }
520
- const kn = (e, t) => {
520
+ const Cn = (e, t) => {
521
521
  var n, o;
522
522
  if (((n = e.component) == null ? void 0 : n.name) === "Text" && ((o = e.component.options) != null && o.text) && typeof e.component.options.text == "string")
523
523
  return {
524
524
  ...e.component.options,
525
- text: e.component.options.text.replace(/{{([^}]+)}}/g, (r, i) => ee({
525
+ text: e.component.options.text.replace(/{{([^}]+)}}/g, (r, i) => te({
526
526
  code: i,
527
527
  context: t,
528
528
  localState: t.localState,
@@ -531,13 +531,13 @@ const kn = (e, t) => {
531
531
  }))
532
532
  };
533
533
  };
534
- function Cn(e, ...t) {
534
+ function Tn(e, ...t) {
535
535
  const n = Object.assign({}, e);
536
536
  for (const o of t)
537
537
  delete n[o];
538
538
  return n;
539
539
  }
540
- function ae(e, t, n = null, o = null, r = /* @__PURE__ */ new WeakSet()) {
540
+ function ce(e, t, n = null, o = null, r = /* @__PURE__ */ new WeakSet()) {
541
541
  if (e == null || typeof e != "object") {
542
542
  t(e, (i) => {
543
543
  n !== null && o !== null && (n[o] = i);
@@ -547,57 +547,57 @@ function ae(e, t, n = null, o = null, r = /* @__PURE__ */ new WeakSet()) {
547
547
  r.has(e) || (r.add(e), Array.isArray(e) ? e.forEach((i, s) => {
548
548
  t(i, (a) => {
549
549
  e[s] = a;
550
- }), ae(i, t, e, s, r);
550
+ }), ce(i, t, e, s, r);
551
551
  }) : Object.entries(e).forEach(([i, s]) => {
552
552
  t(s, (a) => {
553
553
  e[i] = a;
554
- }), ae(s, t, e, i, r);
554
+ }), ce(s, t, e, i, r);
555
555
  }));
556
556
  }
557
- function mt(e) {
557
+ function ht(e) {
558
558
  return e && typeof e == "object" && e["@type"] === "@builder.io/core:LocalizedValue";
559
559
  }
560
- function Tn(e) {
560
+ function wn(e) {
561
561
  if (!e || !Object.getOwnPropertyNames(e).length)
562
562
  return !1;
563
563
  let t = !1;
564
- return ae(e, (n) => {
565
- if (mt(n)) {
564
+ return ce(e, (n) => {
565
+ if (ht(n)) {
566
566
  t = !0;
567
567
  return;
568
568
  }
569
569
  }), t;
570
570
  }
571
- function wn(e, t) {
572
- return !e || !Object.getOwnPropertyNames(e).length ? {} : (ae(e, (n, o) => {
573
- mt(n) && o(n[t] ?? void 0);
571
+ function In(e, t) {
572
+ return !e || !Object.getOwnPropertyNames(e).length ? {} : (ce(e, (n, o) => {
573
+ ht(n) && o(n[t] ?? void 0);
574
574
  }), e);
575
575
  }
576
- function In(e, t) {
576
+ function $n(e, t) {
577
577
  var n, o;
578
- return (n = e.component) != null && n.options && Tn((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 = wn(e.component.options, t ?? "Default")), e;
578
+ return (n = e.component) != null && n.options && wn((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 = In(e.component.options, t ?? "Default")), e;
579
579
  }
580
- const Pe = (e) => JSON.parse(JSON.stringify(e)), ht = (e, t, n) => {
580
+ const Be = (e) => JSON.parse(JSON.stringify(e)), ft = (e, t, n) => {
581
581
  if (Object(e) !== e)
582
582
  return e;
583
583
  const o = Array.isArray(t) ? t : t.toString().match(/[^.[\]]+/g);
584
584
  return o.slice(0, -1).reduce((r, i, s) => Object(r[i]) === r[i] ? r[i] : r[i] = Math.abs(Number(o[s + 1])) >> 0 === +o[s + 1] ? [] : {}, e)[o[o.length - 1]] = n, e;
585
585
  };
586
- function ye(e) {
586
+ function Se(e) {
587
587
  if (e === null || typeof e != "object")
588
588
  return e;
589
589
  if (Array.isArray(e))
590
- return e.map((n) => ye(n));
590
+ return e.map((n) => Se(n));
591
591
  if (e["@type"] === "@builder.io/sdk:Element")
592
592
  return e;
593
593
  const t = {};
594
594
  for (const n in e)
595
- n !== "meta" && Object.prototype.hasOwnProperty.call(e, n) && (t[n] = ye(e[n]));
595
+ n !== "meta" && Object.prototype.hasOwnProperty.call(e, n) && (t[n] = Se(e[n]));
596
596
  return t;
597
597
  }
598
- const $n = ["svelte", "vue", "angular", "qwik", "solid"].includes(E), En = (e) => {
599
- if ($n) {
600
- const t = Pe(e);
598
+ const En = ["svelte", "vue", "angular", "qwik", "solid"].includes(E), Rn = (e) => {
599
+ if (En) {
600
+ const t = Be(e);
601
601
  return {
602
602
  ...t,
603
603
  properties: {
@@ -608,7 +608,7 @@ const $n = ["svelte", "vue", "angular", "qwik", "solid"].includes(E), En = (e) =
608
608
  }
609
609
  };
610
610
  } else {
611
- const t = ye(Cn(e, "children", "meta"));
611
+ const t = Se(Tn(e, "children", "meta"));
612
612
  return {
613
613
  ...t,
614
614
  properties: {
@@ -621,7 +621,7 @@ const $n = ["svelte", "vue", "angular", "qwik", "solid"].includes(E), En = (e) =
621
621
  meta: e.meta
622
622
  };
623
623
  }
624
- }, Rn = ({
624
+ }, Pn = ({
625
625
  block: e,
626
626
  context: t,
627
627
  localState: n,
@@ -630,20 +630,20 @@ const $n = ["svelte", "vue", "angular", "qwik", "solid"].includes(E), En = (e) =
630
630
  }) => {
631
631
  if (!e.bindings)
632
632
  return e;
633
- const i = En(e);
633
+ const i = Rn(e);
634
634
  for (const s in e.bindings) {
635
- const l = e.bindings[s], a = ee({
635
+ const l = e.bindings[s], a = te({
636
636
  code: l,
637
637
  localState: n,
638
638
  rootState: o,
639
639
  rootSetState: r,
640
640
  context: t
641
641
  });
642
- ht(i, s, a);
642
+ ft(i, s, a);
643
643
  }
644
644
  return i;
645
645
  };
646
- function Pn({
646
+ function An({
647
647
  block: e,
648
648
  context: t,
649
649
  localState: n,
@@ -651,33 +651,33 @@ function Pn({
651
651
  rootSetState: r
652
652
  }) {
653
653
  let i = e;
654
- return i = Rn({
654
+ return i = Pn({
655
655
  block: i,
656
656
  localState: n,
657
657
  rootState: o,
658
658
  rootSetState: r,
659
659
  context: t
660
- }), i = In(i, o.locale), i;
660
+ }), i = $n(i, o.locale), i;
661
661
  }
662
- function Ae(e) {
663
- const t = e || (T() ? window.location.search : void 0);
664
- return t ? ot(t).indexOf("builder.preview=") !== -1 : !1;
662
+ function Ve(e) {
663
+ const t = e || (w() ? window.location.search : void 0);
664
+ return t ? rt(t).indexOf("builder.preview=") !== -1 : !1;
665
665
  }
666
- const An = (e) => ({
666
+ const Bn = (e) => ({
667
667
  type: "builder.registerComponent",
668
- data: le(e)
669
- }), Bn = (e) => {
668
+ data: de(e)
669
+ }), Vn = (e) => {
670
670
  const t = e.toString().trim(), n = /^[a-zA-Z0-9_]+\s*=>/i.test(t);
671
671
  return `return (${!t.startsWith("function") && !t.startsWith("async") && !t.startsWith("(") && !n ? "function " : ""}${t}).apply(this, arguments)`;
672
672
  };
673
- function le(e) {
674
- return JSON.parse(JSON.stringify(e, (t, n) => typeof n == "function" ? Bn(n) : n));
673
+ function de(e) {
674
+ return JSON.parse(JSON.stringify(e, (t, n) => typeof n == "function" ? Vn(n) : n));
675
675
  }
676
- const He = {};
677
- function Is(e, t) {
678
- e === "plugin" && (t = le(t));
679
- let n = He[e];
680
- if (n || (n = He[e] = []), n.push(t), T()) {
676
+ const Me = {};
677
+ function $s(e, t) {
678
+ e === "plugin" && (t = de(t));
679
+ let n = Me[e];
680
+ if (n || (n = Me[e] = []), n.push(t), w()) {
681
681
  const o = {
682
682
  type: "builder.register",
683
683
  data: {
@@ -692,9 +692,9 @@ function Is(e, t) {
692
692
  }
693
693
  }
694
694
  }
695
- function $s(e) {
695
+ function Es(e) {
696
696
  var t;
697
- if (T()) {
697
+ if (w()) {
698
698
  const n = JSON.parse(JSON.stringify(e));
699
699
  e.action && (n.action = e.action.toString()), (t = window.parent) == null || t.postMessage({
700
700
  type: "builder.registerAction",
@@ -702,34 +702,34 @@ function $s(e) {
702
702
  }, "*");
703
703
  }
704
704
  }
705
- const Me = {};
706
- function Es(e) {
707
- if (T()) {
708
- Object.assign(Me, e);
705
+ const je = {};
706
+ function Rs(e) {
707
+ if (w()) {
708
+ Object.assign(je, e);
709
709
  const t = {
710
710
  type: "builder.settingsChange",
711
- data: Me
711
+ data: je
712
712
  };
713
713
  parent.postMessage(t, "*");
714
714
  }
715
715
  }
716
- const je = "builder.", Vn = "options.", ft = (e) => {
716
+ const ze = "builder.", Nn = "options.", bt = (e) => {
717
717
  if (!e)
718
718
  return {};
719
- const t = nt(e), n = {};
719
+ const t = ot(e), n = {};
720
720
  return Object.keys(t).forEach((o) => {
721
- if (o.startsWith(je)) {
722
- const r = o.replace(je, "").replace(Vn, "");
721
+ if (o.startsWith(ze)) {
722
+ const r = o.replace(ze, "").replace(Nn, "");
723
723
  n[r] = t[o];
724
724
  }
725
725
  }), n;
726
- }, Nn = () => {
727
- if (!T())
726
+ }, On = () => {
727
+ if (!w())
728
728
  return {};
729
729
  const e = new URLSearchParams(window.location.search);
730
- return ft(e);
730
+ return bt(e);
731
731
  }, Wn = ["*.beta.builder.io", "beta.builder.io", "builder.io", "localhost", "qa.builder.io"];
732
- function bt(e, t) {
732
+ function gt(e, t) {
733
733
  let n;
734
734
  try {
735
735
  n = new URL(t.origin);
@@ -738,14 +738,14 @@ function bt(e, t) {
738
738
  }
739
739
  return n.protocol !== "http:" && n.protocol !== "https:" ? !1 : (e || Wn).findIndex((o) => o.startsWith("*.") ? n.hostname.endsWith(o.slice(1)) : o === n.hostname) > -1;
740
740
  }
741
- let ze = !1;
742
- const gt = (e) => {
741
+ let Ke = !1;
742
+ const yt = (e) => {
743
743
  var t, n;
744
- ze || (ze = !0, T() && ((t = window.parent) == null || t.postMessage({
744
+ Ke || (Ke = !0, w() && ((t = window.parent) == null || t.postMessage({
745
745
  type: "builder.sdkInfo",
746
746
  data: {
747
747
  target: E,
748
- version: it,
748
+ version: st,
749
749
  supportsPatchUpdates: !1,
750
750
  // Supports builder-model="..." attribute which is needed to
751
751
  // scope our '+ add block' button styling
@@ -763,7 +763,7 @@ const gt = (e) => {
763
763
  }
764
764
  }, "*"), window.addEventListener("message", (o) => {
765
765
  var i, s;
766
- if (!bt(e.trustedHosts, o))
766
+ if (!gt(e.trustedHosts, o))
767
767
  return;
768
768
  const {
769
769
  data: r
@@ -772,9 +772,9 @@ const gt = (e) => {
772
772
  switch (r.type) {
773
773
  case "builder.evaluate": {
774
774
  const l = r.data.text, a = r.data.arguments || [], u = r.data.id, p = new Function(l);
775
- let f, c = null;
775
+ let b, c = null;
776
776
  try {
777
- f = p.apply(null, a);
777
+ b = p.apply(null, a);
778
778
  } catch (m) {
779
779
  c = m;
780
780
  }
@@ -784,9 +784,9 @@ const gt = (e) => {
784
784
  id: u,
785
785
  error: c.message
786
786
  }
787
- }, "*") : f && typeof f.then == "function" ? f.then((m) => {
788
- var b;
789
- (b = window.parent) == null || b.postMessage({
787
+ }, "*") : b && typeof b.then == "function" ? b.then((m) => {
788
+ var f;
789
+ (f = window.parent) == null || f.postMessage({
790
790
  type: "builder.evaluateResult",
791
791
  data: {
792
792
  id: u,
@@ -796,7 +796,7 @@ const gt = (e) => {
796
796
  }).catch(console.error) : (s = window.parent) == null || s.postMessage({
797
797
  type: "builder.evaluateResult",
798
798
  data: {
799
- result: f,
799
+ result: b,
800
800
  id: u
801
801
  }
802
802
  }, "*");
@@ -804,12 +804,12 @@ const gt = (e) => {
804
804
  }
805
805
  }
806
806
  })));
807
- }, yt = ({
807
+ }, vt = ({
808
808
  model: e,
809
809
  trustedHosts: t,
810
810
  callbacks: n
811
811
  }) => (o) => {
812
- if (!bt(t, o))
812
+ if (!gt(t, o))
813
813
  return;
814
814
  const {
815
815
  data: r
@@ -835,20 +835,20 @@ const gt = (e) => {
835
835
  break;
836
836
  }
837
837
  }
838
- }, Rs = ({
838
+ }, Ps = ({
839
839
  model: e,
840
840
  apiKey: t,
841
841
  callback: n,
842
842
  trustedHosts: o
843
843
  }) => {
844
- if (!T)
844
+ if (!w)
845
845
  return B.warn("`subscribeToEditor` only works in the browser. It currently seems to be running on the server."), () => {
846
846
  };
847
- gt({
847
+ yt({
848
848
  modelName: e,
849
849
  apiKey: t
850
850
  });
851
- const r = yt({
851
+ const r = vt({
852
852
  callbacks: {
853
853
  contentUpdate: n,
854
854
  animation: () => {
@@ -864,24 +864,24 @@ const gt = (e) => {
864
864
  return window.addEventListener("message", r), () => {
865
865
  window.removeEventListener("message", r);
866
866
  };
867
- }, On = "builder.tests", Be = (e) => `${On}.${e}`, Dn = ({
867
+ }, Dn = "builder.tests", Ne = (e) => `${Dn}.${e}`, xn = ({
868
868
  contentId: e
869
- }) => at({
870
- name: Be(e),
869
+ }) => lt({
870
+ name: Ne(e),
871
871
  canTrack: !0
872
- }), xn = ({
872
+ }), Un = ({
873
873
  contentId: e
874
- }) => ue({
875
- name: Be(e),
874
+ }) => me({
875
+ name: Ne(e),
876
876
  canTrack: !0
877
- }), Un = ({
877
+ }), Ln = ({
878
878
  contentId: e,
879
879
  value: t
880
- }) => Ee({
881
- name: Be(e),
880
+ }) => Pe({
881
+ name: Ne(e),
882
882
  value: t,
883
883
  canTrack: !0
884
- }), vt = (e) => z(e.id) && z(e.variations) && Object.keys(e.variations).length > 0, Ln = ({
884
+ }), St = (e) => j(e.id) && j(e.variations) && Object.keys(e.variations).length > 0, Fn = ({
885
885
  id: e,
886
886
  variations: t
887
887
  }) => {
@@ -894,15 +894,15 @@ const gt = (e) => {
894
894
  return i;
895
895
  }
896
896
  return e;
897
- }, St = (e) => {
898
- const t = Ln(e);
899
- return Un({
897
+ }, kt = (e) => {
898
+ const t = Fn(e);
899
+ return Ln({
900
900
  contentId: e.id,
901
901
  value: t
902
902
  }).catch((n) => {
903
903
  B.error("could not store A/B test variation: ", n);
904
904
  }), t;
905
- }, kt = ({
905
+ }, Ct = ({
906
906
  item: e,
907
907
  testGroupId: t
908
908
  }) => {
@@ -916,7 +916,7 @@ const gt = (e) => {
916
916
  testVariationId: n.id,
917
917
  testVariationName: n.name || (n.id === e.id ? "Default" : "")
918
918
  };
919
- }, Fn = ({
919
+ }, Hn = ({
920
920
  item: e,
921
921
  canTrack: t
922
922
  }) => {
@@ -924,14 +924,14 @@ const gt = (e) => {
924
924
  return e;
925
925
  if (!e)
926
926
  return;
927
- if (!vt(e))
927
+ if (!St(e))
928
928
  return e;
929
- const n = xn({
929
+ const n = Un({
930
930
  contentId: e.id
931
- }) || St({
931
+ }) || kt({
932
932
  variations: e.variations,
933
933
  id: e.id
934
- }), o = kt({
934
+ }), o = Ct({
935
935
  item: e,
936
936
  testGroupId: n
937
937
  });
@@ -939,18 +939,18 @@ const gt = (e) => {
939
939
  ...e,
940
940
  ...o
941
941
  };
942
- }, Hn = async ({
942
+ }, Mn = async ({
943
943
  item: e,
944
944
  canTrack: t
945
945
  }) => {
946
- if (!t || !vt(e))
946
+ if (!t || !St(e))
947
947
  return e;
948
- const o = await Dn({
948
+ const o = await xn({
949
949
  contentId: e.id
950
- }) || St({
950
+ }) || kt({
951
951
  variations: e.variations,
952
952
  id: e.id
953
- }), r = kt({
953
+ }), r = Ct({
954
954
  item: e,
955
955
  testGroupId: o
956
956
  });
@@ -959,27 +959,27 @@ const gt = (e) => {
959
959
  ...r
960
960
  };
961
961
  };
962
- const Ke = "builder.userAttributes";
963
- function qe() {
962
+ const qe = "builder.userAttributes";
963
+ function Ge() {
964
964
  let e = !0;
965
965
  const t = /* @__PURE__ */ new Set();
966
966
  return {
967
967
  setUserAttributes(n) {
968
- if (!T())
968
+ if (!w())
969
969
  return;
970
970
  const o = {
971
971
  ...this.getUserAttributes(),
972
972
  ...n
973
973
  };
974
- Ee({
975
- name: Ke,
974
+ Pe({
975
+ name: qe,
976
976
  value: JSON.stringify(o),
977
977
  canTrack: e
978
978
  }), t.forEach((r) => r(o));
979
979
  },
980
980
  getUserAttributes() {
981
- return T() ? JSON.parse(ue({
982
- name: Ke,
981
+ return w() ? JSON.parse(me({
982
+ name: qe,
983
983
  canTrack: e
984
984
  }) || "{}") : {};
985
985
  },
@@ -995,45 +995,45 @@ function qe() {
995
995
  }
996
996
  };
997
997
  }
998
- let ve;
999
- T() && E === "qwik" ? (window.__BUILDER_USER_ATTRIBUTES_SERVICE__ || (window.__BUILDER_USER_ATTRIBUTES_SERVICE__ = qe()), ve = window.__BUILDER_USER_ATTRIBUTES_SERVICE__) : ve = qe();
1000
- const ce = ve, Ps = (e) => {
1001
- ce.setUserAttributes(e);
1002
- }, G = (e) => {
1003
- const t = z(e) ? e : !0;
1004
- return ce.setCanTrack(t), t;
998
+ let ke;
999
+ w() && E === "qwik" ? (window.__BUILDER_USER_ATTRIBUTES_SERVICE__ || (window.__BUILDER_USER_ATTRIBUTES_SERVICE__ = Ge()), ke = window.__BUILDER_USER_ATTRIBUTES_SERVICE__) : ke = Ge();
1000
+ const ue = ke, As = (e) => {
1001
+ ue.setUserAttributes(e);
1002
+ }, J = (e) => {
1003
+ const t = j(e) ? e : !0;
1004
+ return ue.setCanTrack(t), t;
1005
1005
  };
1006
- function Mn() {
1006
+ function jn() {
1007
1007
  return typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : globalThis;
1008
1008
  }
1009
- function jn() {
1010
- const e = Mn().fetch;
1009
+ function zn() {
1010
+ const e = jn().fetch;
1011
1011
  if (typeof e > "u")
1012
1012
  throw console.warn(`Builder SDK could not find a global fetch function. Make sure you have a polyfill for fetch in your project.
1013
1013
  For more information, read https://github.com/BuilderIO/this-package-uses-fetch`), new Error("Builder SDK could not find a global `fetch` function");
1014
1014
  return e;
1015
1015
  }
1016
- const zn = jn();
1017
- function Se(e, t = null, n = ".") {
1016
+ const Kn = zn();
1017
+ function Ce(e, t = null, n = ".") {
1018
1018
  return Object.keys(e).reduce((o, r) => {
1019
1019
  const i = e[r], s = [t, r].filter(Boolean).join(n);
1020
1020
  return [typeof i == "object", i !== null, !(Array.isArray(i) && i.length === 0)].every(Boolean) ? {
1021
1021
  ...o,
1022
- ...Se(i, s, n)
1022
+ ...Ce(i, s, n)
1023
1023
  } : {
1024
1024
  ...o,
1025
1025
  [s]: i
1026
1026
  };
1027
1027
  }, {});
1028
1028
  }
1029
- function Ct(e, t, n = {}) {
1029
+ function Tt(e, t, n = {}) {
1030
1030
  for (const o in e) {
1031
1031
  const r = e[o], i = t ? t + "." + o : o;
1032
- r && typeof r == "object" && !Array.isArray(r) && !Object.keys(r).find((s) => s.startsWith("$")) ? Ct(r, i, n) : n[i] = r;
1032
+ r && typeof r == "object" && !Array.isArray(r) && !Object.keys(r).find((s) => s.startsWith("$")) ? Tt(r, i, n) : n[i] = r;
1033
1033
  }
1034
1034
  return n;
1035
1035
  }
1036
- function Kn(e) {
1036
+ function qn(e) {
1037
1037
  const t = {};
1038
1038
  for (const n in e) {
1039
1039
  const o = n.split(".");
@@ -1045,7 +1045,7 @@ function Kn(e) {
1045
1045
  }
1046
1046
  return t;
1047
1047
  }
1048
- const qn = "v3", Ge = (e) => typeof e == "number" && !isNaN(e) && e >= 0, Ve = (e) => {
1048
+ const Gn = "v3", Je = (e) => typeof e == "number" && !isNaN(e) && e >= 0, Oe = (e) => {
1049
1049
  const {
1050
1050
  limit: t = 30,
1051
1051
  userAttributes: n,
@@ -1053,96 +1053,97 @@ const qn = "v3", Ge = (e) => typeof e == "number" && !isNaN(e) && e >= 0, Ve = (
1053
1053
  model: r,
1054
1054
  apiKey: i,
1055
1055
  enrich: s,
1056
- locale: l,
1057
- apiVersion: a = qn,
1058
- fields: u,
1059
- omit: p,
1060
- offset: f,
1061
- cacheSeconds: c,
1062
- staleCacheSeconds: m,
1063
- sort: b,
1064
- includeUnpublished: g,
1065
- apiHost: A
1056
+ enrichOptions: l,
1057
+ locale: a,
1058
+ apiVersion: u = Gn,
1059
+ fields: p,
1060
+ omit: b,
1061
+ offset: c,
1062
+ cacheSeconds: m,
1063
+ staleCacheSeconds: f,
1064
+ sort: g,
1065
+ includeUnpublished: A,
1066
+ apiHost: x
1066
1067
  } = e;
1067
1068
  if (!i)
1068
1069
  throw new Error("Missing API key");
1069
- if (!["v3"].includes(a))
1070
- throw new Error(`Invalid apiVersion: expected 'v3', received '${a}'`);
1071
- const U = t !== 1, V = A || "https://cdn.builder.io", w = new URL(`${V}/api/${a}/content/${r}`);
1072
- w.searchParams.set("apiKey", i), w.searchParams.set("limit", String(t)), w.searchParams.set("noTraverse", String(U)), w.searchParams.set("includeRefs", String(!0)), l && w.searchParams.set("locale", l);
1073
- let O = n || {};
1074
- if (s && w.searchParams.set("enrich", String(s)), w.searchParams.set("omit", p ?? "meta.componentsUsed"), u && w.searchParams.set("fields", u), Number.isFinite(f) && f > -1 && w.searchParams.set("offset", String(Math.floor(f))), typeof g == "boolean" && w.searchParams.set("includeUnpublished", String(g)), c && Ge(c) && w.searchParams.set("cacheSeconds", String(c)), m && Ge(m) && w.searchParams.set("staleCacheSeconds", String(m)), b) {
1075
- const D = Se({
1076
- sort: b
1070
+ if (!["v3"].includes(u))
1071
+ throw new Error(`Invalid apiVersion: expected 'v3', received '${u}'`);
1072
+ const V = t !== 1, q = x || "https://cdn.builder.io", C = new URL(`${q}/api/${u}/content/${r}`);
1073
+ C.searchParams.set("apiKey", i), C.searchParams.set("limit", String(t)), C.searchParams.set("noTraverse", String(V)), C.searchParams.set("includeRefs", String(!0)), a && C.searchParams.set("locale", a);
1074
+ let z = n || {};
1075
+ 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 A == "boolean" && C.searchParams.set("includeUnpublished", String(A)), m && Je(m) && C.searchParams.set("cacheSeconds", String(m)), f && Je(f) && C.searchParams.set("staleCacheSeconds", String(f)), g) {
1076
+ const W = Ce({
1077
+ sort: g
1077
1078
  });
1078
- for (const H in D)
1079
- w.searchParams.set(H, JSON.stringify(D[H]));
1079
+ for (const F in W)
1080
+ C.searchParams.set(F, JSON.stringify(W[F]));
1080
1081
  }
1081
- const J = {
1082
- ...Nn(),
1083
- ...nt(e.options || {})
1082
+ const Q = {
1083
+ ...On(),
1084
+ ...ot(e.options || {})
1084
1085
  };
1085
- O = {
1086
- ...O,
1087
- ...Qn(J)
1086
+ z = {
1087
+ ...z,
1088
+ ...Yn(Q)
1088
1089
  };
1089
- const Q = Se(J);
1090
- for (const D in Q)
1091
- w.searchParams.set(D, String(Q[D]));
1092
- if (Object.keys(O).length > 0 && w.searchParams.set("userAttributes", JSON.stringify(O)), o) {
1093
- const D = Ct({
1090
+ const Y = Ce(Q);
1091
+ for (const W in Y)
1092
+ C.searchParams.set(W, String(Y[W]));
1093
+ if (Object.keys(z).length > 0 && C.searchParams.set("userAttributes", JSON.stringify(z)), o) {
1094
+ const W = Tt({
1094
1095
  query: o
1095
1096
  });
1096
- for (const H in D)
1097
- w.searchParams.set(H, JSON.stringify(D[H]));
1097
+ for (const F in W)
1098
+ C.searchParams.set(F, JSON.stringify(W[F]));
1098
1099
  }
1099
- return w;
1100
- }, Gn = (e) => e === "true" ? !0 : e === "false" ? !1 : e, Jn = (e) => {
1100
+ return C;
1101
+ }, Jn = (e) => e === "true" ? !0 : e === "false" ? !1 : e, Qn = (e) => {
1101
1102
  const t = {};
1102
1103
  for (const n in e)
1103
- n.startsWith("userAttributes.") && (t[n] = Gn(e[n]), delete e[n]);
1104
+ n.startsWith("userAttributes.") && (t[n] = Jn(e[n]), delete e[n]);
1104
1105
  return t;
1105
- }, Qn = (e) => {
1106
- if (T() && e.preview === "BUILDER_STUDIO") {
1106
+ }, Yn = (e) => {
1107
+ if (w() && e.preview === "BUILDER_STUDIO") {
1107
1108
  e["userAttributes.urlPath"] = window.location.pathname, e["userAttributes.host"] = window.location.host;
1108
- const t = Jn(e), {
1109
+ const t = Qn(e), {
1109
1110
  userAttributes: n
1110
- } = Kn(t);
1111
+ } = qn(t);
1111
1112
  return n;
1112
1113
  }
1113
1114
  return {};
1114
- }, Yn = (e) => "results" in e;
1115
- async function Ne(e) {
1115
+ }, Xn = (e) => "results" in e;
1116
+ async function We(e) {
1116
1117
  var o;
1117
1118
  const t = e.locale || ((o = e.userAttributes) == null ? void 0 : o.locale);
1118
1119
  t && (e.locale = t, e.userAttributes = {
1119
1120
  locale: t,
1120
1121
  ...e.userAttributes
1121
1122
  });
1122
- const n = await _n({
1123
+ const n = await eo({
1123
1124
  ...e,
1124
1125
  limit: 1
1125
1126
  });
1126
1127
  return n && n[0] || null;
1127
1128
  }
1128
- const Xn = async (e) => {
1129
+ const Zn = async (e) => {
1129
1130
  var s;
1130
- const t = Ve(e), n = e.fetch ?? zn, o = {
1131
+ const t = Oe(e), n = e.fetch ?? Kn, o = {
1131
1132
  ...e.fetchOptions,
1132
1133
  headers: {
1133
1134
  ...(s = e.fetchOptions) == null ? void 0 : s.headers,
1134
- ...st()
1135
+ ...at()
1135
1136
  }
1136
1137
  };
1137
1138
  return await (await n(t.href, o)).json();
1138
- }, Zn = async (e, t, n = Ve(e)) => {
1139
- const o = G(e.canTrack);
1140
- if (n.search.includes("preview="), !o || !(T() || E === "reactNative"))
1139
+ }, _n = async (e, t, n = Oe(e)) => {
1140
+ const o = J(e.canTrack);
1141
+ if (n.search.includes("preview="), !o || !(w() || E === "reactNative"))
1141
1142
  return t.results;
1142
1143
  try {
1143
1144
  const r = [];
1144
1145
  for (const i of t.results)
1145
- r.push(await Hn({
1146
+ r.push(await Mn({
1146
1147
  item: i,
1147
1148
  canTrack: o
1148
1149
  }));
@@ -1152,17 +1153,17 @@ const Xn = async (e) => {
1152
1153
  }
1153
1154
  return t.results;
1154
1155
  };
1155
- async function _n(e) {
1156
- const t = Ve(e), n = await Xn(e);
1157
- if (!Yn(n))
1156
+ async function eo(e) {
1157
+ const t = Oe(e), n = await Zn(e);
1158
+ if (!Xn(n))
1158
1159
  throw B.error("Error fetching data. ", {
1159
1160
  url: t,
1160
1161
  content: n,
1161
1162
  options: e
1162
1163
  }), n;
1163
- return Zn(e, n);
1164
+ return _n(e, n);
1164
1165
  }
1165
- const As = async (e) => {
1166
+ const Bs = async (e) => {
1166
1167
  var o, r, i;
1167
1168
  const t = e.path || ((o = e.url) == null ? void 0 : o.pathname) || ((r = e.userAttributes) == null ? void 0 : r.urlPath), n = {
1168
1169
  ...e,
@@ -1174,15 +1175,15 @@ const As = async (e) => {
1174
1175
  urlPath: t
1175
1176
  } : {}
1176
1177
  },
1177
- options: ft(e.searchParams || ((i = e.url) == null ? void 0 : i.searchParams) || e.options)
1178
+ options: bt(e.searchParams || ((i = e.url) == null ? void 0 : i.searchParams) || e.options)
1178
1179
  };
1179
1180
  return {
1180
1181
  apiKey: n.apiKey,
1181
1182
  model: n.model,
1182
- content: await Ne(n)
1183
+ content: await We(n)
1183
1184
  };
1184
- }, We = (e) => e ? e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase() : "";
1185
- function eo(e, t, n = {}) {
1185
+ }, De = (e) => e ? e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase() : "";
1186
+ function to(e, t, n = {}) {
1186
1187
  let o, r, i, s = null, l = 0;
1187
1188
  const a = function() {
1188
1189
  l = n.leading === !1 ? 0 : Date.now(), s = null, i = e.apply(o, r), s || (o = r = null);
@@ -1194,7 +1195,7 @@ function eo(e, t, n = {}) {
1194
1195
  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;
1195
1196
  };
1196
1197
  }
1197
- function Z(e, ...t) {
1198
+ function _(e, ...t) {
1198
1199
  const n = Object(e);
1199
1200
  for (let o = 1; o < arguments.length; o++) {
1200
1201
  const r = arguments[o];
@@ -1204,118 +1205,130 @@ function Z(e, ...t) {
1204
1205
  }
1205
1206
  return n;
1206
1207
  }
1207
- function to(e) {
1208
+ function no(e) {
1208
1209
  for (const t of e)
1209
1210
  switch (t.trigger) {
1210
1211
  case "pageLoad":
1211
- It(t);
1212
+ $t(t);
1212
1213
  break;
1213
1214
  case "scrollInView":
1214
- oo(t);
1215
+ ro(t);
1215
1216
  break;
1216
1217
  }
1217
1218
  }
1218
- function Tt(e) {
1219
+ function wt(e) {
1219
1220
  console.warn(`Cannot animate element: element with ID ${e} not found!`);
1220
1221
  }
1221
- function wt(e, t) {
1222
- const n = no(e), o = getComputedStyle(t), r = e.steps[0].styles, i = e.steps[e.steps.length - 1].styles, s = [r, i];
1222
+ function It(e, t) {
1223
+ const n = oo(e), o = getComputedStyle(t), r = e.steps[0].styles, i = e.steps[e.steps.length - 1].styles, s = [r, i];
1223
1224
  for (const l of s)
1224
1225
  for (const a of n)
1225
1226
  a in l || (l[a] = o[a]);
1226
1227
  }
1227
- function no(e) {
1228
+ function oo(e) {
1228
1229
  const t = [];
1229
1230
  for (const n of e.steps)
1230
1231
  for (const o in n.styles)
1231
1232
  t.indexOf(o) === -1 && t.push(o);
1232
1233
  return t;
1233
1234
  }
1234
- function It(e) {
1235
+ function $t(e) {
1235
1236
  const t = Array.prototype.slice.call(document.getElementsByClassName(e.elementId || e.id || ""));
1236
1237
  if (!t.length) {
1237
- Tt(e.elementId || e.id || "");
1238
+ wt(e.elementId || e.id || "");
1238
1239
  return;
1239
1240
  }
1240
1241
  Array.from(t).forEach((n) => {
1241
- wt(e, n), n.style.transition = "none", n.style.transitionDelay = "0", Z(n.style, e.steps[0].styles), setTimeout(() => {
1242
- n.style.transition = `all ${e.duration}s ${We(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s"), Z(n.style, e.steps[1].styles), setTimeout(() => {
1242
+ It(e, n), n.style.transition = "none", n.style.transitionDelay = "0", _(n.style, e.steps[0].styles), setTimeout(() => {
1243
+ n.style.transition = `all ${e.duration}s ${De(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s"), _(n.style, e.steps[1].styles), setTimeout(() => {
1243
1244
  n.style.transition = "", n.style.transitionDelay = "";
1244
1245
  }, (e.delay || 0) * 1e3 + e.duration * 1e3 + 100);
1245
1246
  });
1246
1247
  });
1247
1248
  }
1248
- function oo(e) {
1249
+ function ro(e) {
1249
1250
  const t = Array.prototype.slice.call(document.getElementsByClassName(e.elementId || e.id || ""));
1250
1251
  if (!t.length) {
1251
- Tt(e.elementId || e.id || "");
1252
+ wt(e.elementId || e.id || "");
1252
1253
  return;
1253
1254
  }
1254
1255
  Array.from(t).forEach((n) => {
1255
- wt(e, n);
1256
+ It(e, n);
1256
1257
  let o = !1, r = !1;
1257
1258
  function i() {
1258
1259
  !o && l(n) ? (o = !0, r = !0, setTimeout(() => {
1259
- Z(n.style, e.steps[1].styles), e.repeat || document.removeEventListener("scroll", s), setTimeout(() => {
1260
+ _(n.style, e.steps[1].styles), e.repeat || document.removeEventListener("scroll", s), setTimeout(() => {
1260
1261
  r = !1, e.repeat || (n.style.transition = "", n.style.transitionDelay = "");
1261
1262
  }, (e.duration + (e.delay || 0)) * 1e3 + 100);
1262
- })) : e.repeat && o && !r && !l(n) && (o = !1, Z(n.style, e.steps[0].styles));
1263
+ })) : e.repeat && o && !r && !l(n) && (o = !1, _(n.style, e.steps[0].styles));
1263
1264
  }
1264
- const s = eo(i, 200, {
1265
+ const s = to(i, 200, {
1265
1266
  leading: !1
1266
1267
  });
1267
1268
  function l(p) {
1268
- const f = p.getBoundingClientRect(), c = window.innerHeight, b = (e.thresholdPercent || 0) / 100 * c;
1269
- return f.bottom > b && f.top < c - b;
1269
+ const b = p.getBoundingClientRect(), c = window.innerHeight, f = (e.thresholdPercent || 0) / 100 * c;
1270
+ return b.bottom > f && b.top < c - f;
1270
1271
  }
1271
1272
  const a = e.steps[0].styles;
1272
1273
  function u() {
1273
- Z(n.style, a);
1274
+ _(n.style, a);
1274
1275
  }
1275
1276
  u(), setTimeout(() => {
1276
- n.style.transition = `all ${e.duration}s ${We(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s");
1277
+ n.style.transition = `all ${e.duration}s ${De(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s");
1277
1278
  }), document.addEventListener("scroll", s, {
1278
1279
  capture: !0,
1279
1280
  passive: !0
1280
1281
  }), i();
1281
1282
  });
1282
1283
  }
1283
- const $t = (e) => Object.entries(e).map(([n, o]) => {
1284
+ const re = (e, t) => {
1285
+ const n = (e == null ? void 0 : e.objectPosition) || t;
1286
+ return n ? {
1287
+ ...e,
1288
+ "--builder-image-position": n
1289
+ } : e;
1290
+ }, Vs = (e, t) => t ? {
1291
+ ...e,
1292
+ large: re(e == null ? void 0 : e.large, "initial"),
1293
+ medium: re(e == null ? void 0 : e.medium),
1294
+ small: re(e == null ? void 0 : e.small),
1295
+ xsmall: re(e == null ? void 0 : e.xsmall)
1296
+ } : e, Et = (e) => Object.entries(e).map(([n, o]) => {
1284
1297
  if (typeof o == "string")
1285
- return `${We(n)}: ${o};`;
1286
- }).filter(z), ro = (e) => $t(e).join(`
1287
- `), Bs = ({
1298
+ return `${De(n)}: ${o};`;
1299
+ }).filter(j), io = (e) => Et(e).join(`
1300
+ `), Ns = ({
1288
1301
  mediaQuery: e,
1289
1302
  className: t,
1290
1303
  styles: n
1291
1304
  }) => {
1292
1305
  const o = `.${t} {
1293
- ${ro(n)}
1306
+ ${io(n)}
1294
1307
  }`;
1295
1308
  return e ? `${e} {
1296
1309
  ${o}
1297
1310
  }` : o;
1298
1311
  };
1299
- function io({
1312
+ function so({
1300
1313
  style: e
1301
1314
  }) {
1302
1315
  return e;
1303
1316
  }
1304
- const Vs = ({
1317
+ const Os = ({
1305
1318
  block: e,
1306
1319
  context: t
1307
- }) => Et(io({
1320
+ }) => Rt(so({
1308
1321
  style: e.style || {},
1309
1322
  context: t,
1310
1323
  block: e
1311
1324
  }));
1312
- function Et(e) {
1325
+ function Rt(e) {
1313
1326
  switch (E) {
1314
1327
  case "svelte":
1315
1328
  case "vue":
1316
1329
  case "solid":
1317
1330
  case "angular":
1318
- return $t(e).join(" ");
1331
+ return Et(e).join(" ");
1319
1332
  case "qwik":
1320
1333
  case "reactNative":
1321
1334
  case "react":
@@ -1323,7 +1336,7 @@ function Et(e) {
1323
1336
  return e;
1324
1337
  }
1325
1338
  }
1326
- const Rt = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includes(t) : !1 : !0, so = ({
1339
+ const Pt = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includes(t) : !1 : !0, ao = ({
1327
1340
  block: e,
1328
1341
  registeredComponents: t,
1329
1342
  model: n
@@ -1333,14 +1346,14 @@ const Rt = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
1333
1346
  if (!o)
1334
1347
  return null;
1335
1348
  const r = t[o];
1336
- if (!r || Rt(r, n)) {
1349
+ if (!r || Pt(r, n)) {
1337
1350
  console.warn(`
1338
1351
  Could not find a registered component named "${o}".
1339
1352
  If you registered it, is the file that registered it imported by the file that needs to render it?`);
1340
1353
  return;
1341
1354
  } else
1342
1355
  return r;
1343
- }, ao = ({
1356
+ }, lo = ({
1344
1357
  block: e,
1345
1358
  context: t
1346
1359
  }) => {
@@ -1350,7 +1363,7 @@ const Rt = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
1350
1363
  } = e;
1351
1364
  if (!(n != null && n.collection))
1352
1365
  return;
1353
- const r = ee({
1366
+ const r = te({
1354
1367
  code: n.collection,
1355
1368
  localState: t.localState,
1356
1369
  rootState: t.rootState,
@@ -1373,59 +1386,59 @@ const Rt = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
1373
1386
  },
1374
1387
  block: o
1375
1388
  }));
1376
- }, lo = (e, t) => {
1389
+ }, co = (e, t) => {
1377
1390
  var n;
1378
1391
  return (n = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && n.builderLinkComponent ? {
1379
1392
  builderLinkComponent: t
1380
1393
  } : {};
1381
- }, co = (e, t, n) => {
1394
+ }, uo = (e, t, n) => {
1382
1395
  var o;
1383
1396
  return (o = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && o.builderComponents ? {
1384
- builderComponents: Object.fromEntries(Object.entries(t).filter(([i, s]) => !Rt(s, n)))
1397
+ builderComponents: Object.fromEntries(Object.entries(t).filter(([i, s]) => !Pt(s, n)))
1385
1398
  } : {};
1386
- }, uo = (e, t) => {
1399
+ }, po = (e, t) => {
1387
1400
  var n;
1388
1401
  return (n = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && n.builderBlock ? {
1389
1402
  builderBlock: t
1390
1403
  } : {};
1391
- }, po = (e, t) => {
1404
+ }, mo = (e, t) => {
1392
1405
  var n;
1393
1406
  return (n = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && n.builderContext ? {
1394
1407
  builderContext: t
1395
1408
  } : {};
1396
- }, mo = (e) => e.toString(), ho = () => Promise.resolve().then(() => Ro).then((e) => e.default).catch((e) => {
1409
+ }, ho = (e) => e.toString(), fo = () => Promise.resolve().then(() => Po).then((e) => e.default).catch((e) => {
1397
1410
  throw console.error(
1398
1411
  "Error while attempting to dynamically import component DynamicDiv at ../dynamic-div.vue",
1399
1412
  e
1400
1413
  ), e;
1401
- }), fo = () => import("./block-wrapper-sJgW-hxB.js").then((e) => e.default).catch((e) => {
1414
+ }), bo = () => import("./block-wrapper-H2uWRFfl.js").then((e) => e.default).catch((e) => {
1402
1415
  throw console.error(
1403
1416
  "Error while attempting to dynamically import component BlockWrapper at ./components/block-wrapper.vue",
1404
1417
  e
1405
1418
  ), e;
1406
- }), bo = () => import("./component-ref-3CB2cdJW.js").then((e) => e.default).catch((e) => {
1419
+ }), go = () => import("./component-ref-pzekKy-e.js").then((e) => e.default).catch((e) => {
1407
1420
  throw console.error(
1408
1421
  "Error while attempting to dynamically import component ComponentRef at ./components/component-ref/component-ref.vue",
1409
1422
  e
1410
1423
  ), e;
1411
- }), go = () => import("./repeated-block-ECd9zh7f.js").then((e) => e.default).catch((e) => {
1424
+ }), yo = () => import("./repeated-block-z4-Tq0vb.js").then((e) => e.default).catch((e) => {
1412
1425
  throw console.error(
1413
1426
  "Error while attempting to dynamically import component RepeatedBlock at ./components/repeated-block.vue",
1414
1427
  e
1415
1428
  ), e;
1416
- }), yo = () => import("./style-wrapper-9OtEbIRY.js").then((e) => e.default).catch((e) => {
1429
+ }), vo = () => import("./style-wrapper-XQIDj12j.js").then((e) => e.default).catch((e) => {
1417
1430
  throw console.error(
1418
1431
  "Error while attempting to dynamically import component StyleWrapper at ./components/style-wrapper.vue",
1419
1432
  e
1420
1433
  ), e;
1421
- }), vo = y({
1434
+ }), So = y({
1422
1435
  name: "block",
1423
1436
  components: {
1424
- StyleWrapper: Y(yo),
1425
- RepeatedBlock: Y(go),
1426
- ComponentRef: Y(bo),
1427
- BlockWrapper: Y(fo),
1428
- DynamicDiv: Y(ho)
1437
+ StyleWrapper: X(vo),
1438
+ RepeatedBlock: X(yo),
1439
+ ComponentRef: X(go),
1440
+ BlockWrapper: X(bo),
1441
+ DynamicDiv: X(fo)
1429
1442
  },
1430
1443
  props: ["block", "context", "registeredComponents", "linkComponent"],
1431
1444
  data() {
@@ -1434,12 +1447,12 @@ const Rt = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
1434
1447
  value: null,
1435
1448
  update: !1
1436
1449
  },
1437
- generateKey: mo
1450
+ generateKey: ho
1438
1451
  };
1439
1452
  },
1440
1453
  mounted() {
1441
1454
  const e = this.processedBlock.id, t = this.processedBlock.animations;
1442
- t && e && to(
1455
+ t && e && no(
1443
1456
  t.map((n) => ({
1444
1457
  ...n,
1445
1458
  elementId: e
@@ -1450,14 +1463,14 @@ const Rt = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
1450
1463
  },
1451
1464
  computed: {
1452
1465
  repeatItem() {
1453
- return ao({
1466
+ return lo({
1454
1467
  block: this.block,
1455
1468
  context: this.context
1456
1469
  });
1457
1470
  },
1458
1471
  processedBlock() {
1459
1472
  var t;
1460
- return (t = this.block.repeat) != null && t.collection ? this.block : Pn({
1473
+ return (t = this.block.repeat) != null && t.collection ? this.block : An({
1461
1474
  block: this.block,
1462
1475
  localState: this.context.localState,
1463
1476
  rootState: this.context.rootState,
@@ -1466,7 +1479,7 @@ const Rt = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
1466
1479
  });
1467
1480
  },
1468
1481
  blockComponent() {
1469
- return so({
1482
+ return ao({
1470
1483
  block: this.processedBlock,
1471
1484
  registeredComponents: this.registeredComponents,
1472
1485
  model: this.context.model
@@ -1493,11 +1506,11 @@ const Rt = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
1493
1506
  blockChildren: this.processedBlock.children ?? [],
1494
1507
  componentRef: (e = this.blockComponent) == null ? void 0 : e.component,
1495
1508
  componentOptions: {
1496
- ...Sn(this.processedBlock, this.context),
1497
- ...uo(this.blockComponent, this.processedBlock),
1498
- ...po(this.blockComponent, this.context),
1499
- ...lo(this.blockComponent, this.linkComponent),
1500
- ...co(
1509
+ ...kn(this.processedBlock, this.context),
1510
+ ...po(this.blockComponent, this.processedBlock),
1511
+ ...mo(this.blockComponent, this.context),
1512
+ ...co(this.blockComponent, this.linkComponent),
1513
+ ...uo(
1501
1514
  this.blockComponent,
1502
1515
  this.registeredComponents,
1503
1516
  this.context.model
@@ -1513,8 +1526,8 @@ const Rt = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
1513
1526
  }
1514
1527
  }
1515
1528
  });
1516
- function So(e, t, n, o, r, i) {
1517
- var f;
1529
+ function ko(e, t, n, o, r, i) {
1530
+ var b;
1518
1531
  const s = k("StyleWrapper"), l = k("ComponentRef"), a = k("Block", !0), u = k("BlockWrapper"), p = k("RepeatedBlock");
1519
1532
  return e.canShowBlock ? (d(), h(I, { key: 0 }, [
1520
1533
  R(s, {
@@ -1522,8 +1535,8 @@ function So(e, t, n, o, r, i) {
1522
1535
  context: e.context,
1523
1536
  id: e.block.id
1524
1537
  }, null, 8, ["block", "context", "id"]),
1525
- (f = e.blockComponent) != null && f.noWrap ? (d(), h(I, { key: 1 }, [
1526
- e.repeatItem ? (d(!0), h(I, { key: 1 }, F(e.repeatItem, (c, m) => (d(), S(p, {
1538
+ (b = e.blockComponent) != null && b.noWrap ? (d(), h(I, { key: 1 }, [
1539
+ e.repeatItem ? (d(!0), h(I, { key: 1 }, L(e.repeatItem, (c, m) => (d(), S(p, {
1527
1540
  key: e.generateKey(m),
1528
1541
  repeatContext: c.context,
1529
1542
  block: c.block,
@@ -1542,7 +1555,7 @@ function So(e, t, n, o, r, i) {
1542
1555
  isInteractive: e.componentRefProps.isInteractive
1543
1556
  }, null, 8, ["componentRef", "componentOptions", "blockChildren", "context", "registeredComponents", "linkComponent", "builderBlock", "includeBlockProps", "isInteractive"]))
1544
1557
  ], 64)) : (d(), h(I, { key: 0 }, [
1545
- e.repeatItem ? (d(!0), h(I, { key: 1 }, F(e.repeatItem, (c, m) => (d(), S(p, {
1558
+ e.repeatItem ? (d(!0), h(I, { key: 1 }, L(e.repeatItem, (c, m) => (d(), S(p, {
1546
1559
  key: e.generateKey(m),
1547
1560
  repeatContext: c.context,
1548
1561
  block: c.block,
@@ -1554,7 +1567,7 @@ function So(e, t, n, o, r, i) {
1554
1567
  block: e.processedBlock,
1555
1568
  context: e.context
1556
1569
  }, {
1557
- default: x(() => [
1570
+ default: D(() => [
1558
1571
  R(l, {
1559
1572
  componentRef: e.componentRefProps.componentRef,
1560
1573
  componentOptions: e.componentRefProps.componentOptions,
@@ -1566,7 +1579,7 @@ function So(e, t, n, o, r, i) {
1566
1579
  includeBlockProps: e.componentRefProps.includeBlockProps,
1567
1580
  isInteractive: e.componentRefProps.isInteractive
1568
1581
  }, null, 8, ["componentRef", "componentOptions", "blockChildren", "context", "registeredComponents", "linkComponent", "builderBlock", "includeBlockProps", "isInteractive"]),
1569
- (d(!0), h(I, null, F(e.childrenWithoutParentComponent, (c, m) => (d(), S(a, {
1582
+ (d(!0), h(I, null, L(e.childrenWithoutParentComponent, (c, m) => (d(), S(a, {
1570
1583
  key: c.id,
1571
1584
  block: c,
1572
1585
  registeredComponents: e.registeredComponents,
@@ -1577,12 +1590,12 @@ function So(e, t, n, o, r, i) {
1577
1590
  _: 1
1578
1591
  }, 8, ["Wrapper", "block", "context"]))
1579
1592
  ], 64))
1580
- ], 64)) : C("", !0);
1593
+ ], 64)) : T("", !0);
1581
1594
  }
1582
- const Pt = /* @__PURE__ */ v(vo, [["render", So]]), Ns = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1595
+ const At = /* @__PURE__ */ v(So, [["render", ko]]), Ws = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1583
1596
  __proto__: null,
1584
- default: Pt
1585
- }, Symbol.toStringTag, { value: "Module" })), ko = y({
1597
+ default: At
1598
+ }, Symbol.toStringTag, { value: "Module" })), Co = y({
1586
1599
  name: "builder-blocks-wrapper",
1587
1600
  props: [
1588
1601
  "blocks",
@@ -1652,8 +1665,8 @@ const Pt = /* @__PURE__ */ v(vo, [["render", So]]), Ns = /* @__PURE__ */ Object.
1652
1665
  }
1653
1666
  }
1654
1667
  });
1655
- function Co(e, t, n, o, r, i) {
1656
- return d(), S(X(e.BlocksWrapper), $({
1668
+ function To(e, t, n, o, r, i) {
1669
+ return d(), S(Z(e.BlocksWrapper), $({
1657
1670
  ref: "blocksWrapperRef",
1658
1671
  class: e.className + " component-5vz8uirn7sc",
1659
1672
  "builder-path": e.dataPath,
@@ -1663,15 +1676,15 @@ function Co(e, t, n, o, r, i) {
1663
1676
  onMouseEnter: (s) => e.onMouseEnter(),
1664
1677
  onKeyPress: (s) => e.onClick()
1665
1678
  }, { ...e.BlocksWrapperProps }), {
1666
- default: x(() => [
1679
+ default: D(() => [
1667
1680
  N(e.$slots, "default", {}, void 0, !0)
1668
1681
  ]),
1669
1682
  _: 3
1670
1683
  }, 16, ["class", "builder-path", "builder-parent-id", "style", "onClick", "onMouseEnter", "onKeyPress"]);
1671
1684
  }
1672
- const To = /* @__PURE__ */ v(ko, [["render", Co], ["__scopeId", "data-v-82fc93d6"]]), wo = y({
1685
+ const wo = /* @__PURE__ */ v(Co, [["render", To], ["__scopeId", "data-v-82fc93d6"]]), Io = y({
1673
1686
  name: "builder-blocks",
1674
- components: { BlocksWrapper: To, Block: Pt },
1687
+ components: { BlocksWrapper: wo, Block: At },
1675
1688
  props: [
1676
1689
  "blocks",
1677
1690
  "parent",
@@ -1684,12 +1697,12 @@ const To = /* @__PURE__ */ v(ko, [["render", Co], ["__scopeId", "data-v-82fc93d6
1684
1697
  "registeredComponents"
1685
1698
  ],
1686
1699
  inject: {
1687
- builderContext: ge.key,
1688
- componentsContext: et.key
1700
+ builderContext: ve.key,
1701
+ componentsContext: tt.key
1689
1702
  }
1690
1703
  });
1691
- function Io(e, t, n, o, r, i) {
1692
- var a, u, p, f;
1704
+ function $o(e, t, n, o, r, i) {
1705
+ var a, u, p, b;
1693
1706
  const s = k("Block"), l = k("BlocksWrapper");
1694
1707
  return d(), S(l, {
1695
1708
  blocks: e.blocks,
@@ -1698,39 +1711,39 @@ function Io(e, t, n, o, r, i) {
1698
1711
  styleProp: e.styleProp,
1699
1712
  BlocksWrapperProps: e.BlocksWrapperProps || ((a = e.context) == null ? void 0 : a.BlocksWrapperProps) || ((u = e.builderContext) == null ? void 0 : u.BlocksWrapperProps),
1700
1713
  classNameProp: e.className,
1701
- BlocksWrapper: ((p = e.context) == null ? void 0 : p.BlocksWrapper) || ((f = e.builderContext) == null ? void 0 : f.BlocksWrapper)
1714
+ BlocksWrapper: ((p = e.context) == null ? void 0 : p.BlocksWrapper) || ((b = e.builderContext) == null ? void 0 : b.BlocksWrapper)
1702
1715
  }, {
1703
- default: x(() => [
1716
+ default: D(() => [
1704
1717
  N(e.$slots, "default"),
1705
- e.blocks ? (d(!0), h(I, { key: 0 }, F(e.blocks, (c, m) => {
1706
- var b;
1718
+ e.blocks ? (d(!0), h(I, { key: 0 }, L(e.blocks, (c, m) => {
1719
+ var f;
1707
1720
  return d(), S(s, {
1708
1721
  key: c.id,
1709
1722
  block: c,
1710
1723
  linkComponent: e.linkComponent,
1711
1724
  context: e.context || e.builderContext,
1712
- registeredComponents: e.registeredComponents || ((b = e.componentsContext) == null ? void 0 : b.registeredComponents)
1725
+ registeredComponents: e.registeredComponents || ((f = e.componentsContext) == null ? void 0 : f.registeredComponents)
1713
1726
  }, null, 8, ["block", "linkComponent", "context", "registeredComponents"]);
1714
- }), 128)) : C("", !0)
1727
+ }), 128)) : T("", !0)
1715
1728
  ]),
1716
1729
  _: 3
1717
1730
  }, 8, ["blocks", "parent", "path", "styleProp", "BlocksWrapperProps", "classNameProp", "BlocksWrapper"]);
1718
1731
  }
1719
- const K = /* @__PURE__ */ v(wo, [["render", Io]]), $o = y({
1732
+ const K = /* @__PURE__ */ v(Io, [["render", $o]]), Eo = y({
1720
1733
  name: "dynamic-div",
1721
1734
  props: []
1722
1735
  });
1723
- function Eo(e, t, n, o, r, i) {
1736
+ function Ro(e, t, n, o, r, i) {
1724
1737
  return d(), h("div", null, [
1725
1738
  N(e.$slots, "default")
1726
1739
  ]);
1727
1740
  }
1728
- const te = /* @__PURE__ */ v($o, [["render", Eo]]), Ro = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1741
+ const ne = /* @__PURE__ */ v(Eo, [["render", Ro]]), Po = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1729
1742
  __proto__: null,
1730
- default: te
1731
- }, Symbol.toStringTag, { value: "Module" })), pe = y({
1743
+ default: ne
1744
+ }, Symbol.toStringTag, { value: "Module" })), he = y({
1732
1745
  render() {
1733
- return _e("style", {
1746
+ return et("style", {
1734
1747
  innerHTML: this.styles,
1735
1748
  "data-id": this.id,
1736
1749
  nonce: this.nonce
@@ -1738,7 +1751,7 @@ const te = /* @__PURE__ */ v($o, [["render", Eo]]), Ro = /* @__PURE__ */ Object.
1738
1751
  },
1739
1752
  name: "inlined-styles",
1740
1753
  props: ["styles", "id", "nonce"]
1741
- }), At = {
1754
+ }), Bt = {
1742
1755
  xsmall: {
1743
1756
  min: 0,
1744
1757
  default: 160,
@@ -1759,8 +1772,8 @@ const te = /* @__PURE__ */ v($o, [["render", Eo]]), Ro = /* @__PURE__ */ Object.
1759
1772
  default: 991,
1760
1773
  max: 1200
1761
1774
  }
1762
- }, Ws = (e, t = At) => `@media (max-width: ${t[e].max}px)`, Po = (e) => {
1763
- const t = Pe(At);
1775
+ }, Ds = (e, t = Bt) => `@media (max-width: ${t[e].max}px)`, Ao = (e) => {
1776
+ const t = Be(Bt);
1764
1777
  if (!e)
1765
1778
  return t;
1766
1779
  const {
@@ -1797,13 +1810,13 @@ const te = /* @__PURE__ */ v($o, [["render", Eo]]), Ro = /* @__PURE__ */ Object.
1797
1810
  min: l,
1798
1811
  default: l + 1
1799
1812
  }, t;
1800
- }, Ao = (e) => `builder-columns ${e}-breakpoints`, Bo = y({
1813
+ }, Bo = (e) => `builder-columns ${e}-breakpoints`, Vo = y({
1801
1814
  name: "builder-columns",
1802
1815
  components: {
1803
- InlinedStyles: pe,
1804
- DynamicRenderer: $e,
1816
+ InlinedStyles: he,
1817
+ DynamicRenderer: Re,
1805
1818
  Blocks: K,
1806
- DynamicDiv: te
1819
+ DynamicDiv: ne
1807
1820
  },
1808
1821
  props: [
1809
1822
  "space",
@@ -1816,7 +1829,7 @@ const te = /* @__PURE__ */ v($o, [["render", Eo]]), Ro = /* @__PURE__ */ Object.
1816
1829
  "builderComponents"
1817
1830
  ],
1818
1831
  data() {
1819
- return { TARGET: E, getColumnsClass: Ao };
1832
+ return { TARGET: E, getColumnsClass: Bo };
1820
1833
  },
1821
1834
  computed: {
1822
1835
  gutterSize() {
@@ -1895,7 +1908,7 @@ const te = /* @__PURE__ */ v($o, [["render", Eo]]), Ro = /* @__PURE__ */ Object.
1895
1908
  },
1896
1909
  getWidthForBreakpointSize(e) {
1897
1910
  var n, o;
1898
- return Po(
1911
+ return Ao(
1899
1912
  ((o = (n = this.builderContext.content) == null ? void 0 : n.meta) == null ? void 0 : o.breakpoints) || {}
1900
1913
  )[e].max;
1901
1914
  },
@@ -1932,13 +1945,13 @@ const te = /* @__PURE__ */ v($o, [["render", Eo]]), Ro = /* @__PURE__ */ Object.
1932
1945
  ...e.link ? {
1933
1946
  href: e.link
1934
1947
  } : {},
1935
- [j()]: "builder-column",
1936
- style: Et(this.columnCssVars(t))
1948
+ [M()]: "builder-column",
1949
+ style: Rt(this.columnCssVars(t))
1937
1950
  };
1938
1951
  }
1939
1952
  }
1940
1953
  });
1941
- function Vo(e, t, n, o, r, i) {
1954
+ function No(e, t, n, o, r, i) {
1942
1955
  var u;
1943
1956
  const s = k("InlinedStyles"), l = k("Blocks"), a = k("DynamicRenderer");
1944
1957
  return d(), h("div", $({
@@ -1950,16 +1963,16 @@ function Vo(e, t, n, o, r, i) {
1950
1963
  id: "builderio-columns",
1951
1964
  styles: e.columnsStyles(),
1952
1965
  nonce: e.builderContext.nonce
1953
- }, null, 8, ["styles", "nonce"])) : C("", !0),
1954
- (d(!0), h(I, null, F(e.columns, (p, f) => (d(), S(a, {
1955
- key: f,
1966
+ }, null, 8, ["styles", "nonce"])) : T("", !0),
1967
+ (d(!0), h(I, null, L(e.columns, (p, b) => (d(), S(a, {
1968
+ key: b,
1956
1969
  TagName: e.getTagName(p),
1957
1970
  actionAttributes: {},
1958
- attributes: e.getAttributes(p, f)
1971
+ attributes: e.getAttributes(p, b)
1959
1972
  }, {
1960
- default: x(() => [
1973
+ default: D(() => [
1961
1974
  R(l, {
1962
- path: `columns.${f}.blocks`,
1975
+ path: `columns.${b}.blocks`,
1963
1976
  parent: e.builderBlock.id,
1964
1977
  context: e.builderContext,
1965
1978
  registeredComponents: e.builderComponents,
@@ -1974,47 +1987,47 @@ function Vo(e, t, n, o, r, i) {
1974
1987
  }, 1032, ["TagName", "attributes"]))), 128))
1975
1988
  ], 16);
1976
1989
  }
1977
- const No = /* @__PURE__ */ v(Bo, [["render", Vo], ["__scopeId", "data-v-ab15749a"]]), Wo = y({
1990
+ const Oo = /* @__PURE__ */ v(Vo, [["render", No], ["__scopeId", "data-v-ab15749a"]]), Wo = y({
1978
1991
  name: "builder-fragment-component",
1979
1992
  props: []
1980
1993
  });
1981
- function Oo(e, t, n, o, r, i) {
1994
+ function Do(e, t, n, o, r, i) {
1982
1995
  return d(), h("span", null, [
1983
1996
  N(e.$slots, "default")
1984
1997
  ]);
1985
1998
  }
1986
- const Do = /* @__PURE__ */ v(Wo, [["render", Oo]]);
1987
- function Je(e) {
1999
+ const xo = /* @__PURE__ */ v(Wo, [["render", Do]]);
2000
+ function Qe(e) {
1988
2001
  return e.replace(/http(s)?:/, "");
1989
2002
  }
1990
- function xo(e = "", t, n) {
2003
+ function Uo(e = "", t, n) {
1991
2004
  const o = new RegExp("([?&])" + t + "=.*?(&|$)", "i"), r = e.indexOf("?") !== -1 ? "&" : "?";
1992
2005
  return e.match(o) ? e.replace(o, "$1" + t + "=" + encodeURIComponent(n) + "$2") : e + r + t + "=" + encodeURIComponent(n);
1993
2006
  }
1994
- function Uo(e, t) {
2007
+ function Lo(e, t) {
1995
2008
  if (!e || !(e != null && e.match(/cdn\.shopify\.com/)) || !t)
1996
2009
  return e;
1997
2010
  if (t === "master")
1998
- return Je(e);
2011
+ return Qe(e);
1999
2012
  const n = e.match(/(_\d+x(\d+)?)?(\.(jpg|jpeg|gif|png|bmp|bitmap|tiff|tif)(\?v=\d+)?)/i);
2000
2013
  if (n) {
2001
2014
  const o = e.split(n[0]), r = n[3], i = t.match("x") ? t : `${t}x`;
2002
- return Je(`${o[0]}_${i}${r}`);
2015
+ return Qe(`${o[0]}_${i}${r}`);
2003
2016
  }
2004
2017
  return null;
2005
2018
  }
2006
- function oe(e) {
2019
+ function ie(e) {
2007
2020
  if (!e)
2008
2021
  return e;
2009
2022
  const t = [100, 200, 400, 800, 1200, 1600, 2e3];
2010
2023
  if (e.match(/builder\.io/)) {
2011
2024
  let n = e;
2012
2025
  const o = Number(e.split("?width=")[1]);
2013
- return isNaN(o) || (n = `${n} ${o}w`), t.filter((r) => r !== o).map((r) => `${xo(e, "width", r)} ${r}w`).concat([n]).join(", ");
2026
+ return isNaN(o) || (n = `${n} ${o}w`), t.filter((r) => r !== o).map((r) => `${Uo(e, "width", r)} ${r}w`).concat([n]).join(", ");
2014
2027
  }
2015
- return e.match(/cdn\.shopify\.com/) ? t.map((n) => [Uo(e, `${n}x${n}`), n]).filter(([n]) => !!n).map(([n, o]) => `${n} ${o}w`).concat([e]).join(", ") : e;
2028
+ return e.match(/cdn\.shopify\.com/) ? t.map((n) => [Lo(e, `${n}x${n}`), n]).filter(([n]) => !!n).map(([n, o]) => `${n} ${o}w`).concat([e]).join(", ") : e;
2016
2029
  }
2017
- const Lo = y({
2030
+ const Fo = y({
2018
2031
  name: "builder-image",
2019
2032
  props: [
2020
2033
  "lazy",
@@ -2044,10 +2057,10 @@ const Lo = y({
2044
2057
  if (!this.noWebp) {
2045
2058
  if (this.srcset && ((n = this.image) != null && n.includes("builder.io/api/v1/image"))) {
2046
2059
  if (!this.srcset.includes(this.image.split("?")[0]))
2047
- return console.debug("Removed given srcset"), oe(t);
2060
+ return console.debug("Removed given srcset"), ie(t);
2048
2061
  } else if (this.image && !this.srcset)
2049
- return oe(t);
2050
- return oe(t);
2062
+ return ie(t);
2063
+ return ie(t);
2051
2064
  }
2052
2065
  },
2053
2066
  webpSrcSet() {
@@ -2068,60 +2081,60 @@ const Lo = y({
2068
2081
  return this.aspectRatio ? e : void 0;
2069
2082
  }
2070
2083
  }
2071
- }), Fo = ["srcset", "sizes"], Ho = ["loading", "fetchpriority", "alt", "title", "role", "src", "srcset", "sizes"], Mo = {
2084
+ }), Ho = ["srcset", "sizes"], Mo = ["loading", "fetchpriority", "alt", "title", "role", "src", "srcset", "sizes"], jo = {
2072
2085
  key: 2,
2073
2086
  class: "div-t43jfuqn6g-2"
2074
2087
  };
2075
- function jo(e, t, n, o, r, i) {
2076
- var s, l, a, u, p, f;
2088
+ function zo(e, t, n, o, r, i) {
2089
+ var s, l, a, u, p, b;
2077
2090
  return d(), h(I, null, [
2078
- q("picture", null, [
2091
+ G("picture", null, [
2079
2092
  e.webpSrcSet ? (d(), h("source", {
2080
2093
  key: 0,
2081
2094
  type: "image/webp",
2082
2095
  srcset: e.webpSrcSet,
2083
2096
  sizes: e.sizesToUse
2084
- }, null, 8, Fo)) : C("", !0),
2085
- q("img", {
2097
+ }, null, 8, Ho)) : T("", !0),
2098
+ G("img", {
2086
2099
  loading: e.highPriority ? "eager" : "lazy",
2087
2100
  fetchpriority: e.highPriority ? "high" : "auto",
2088
2101
  alt: e.altText || "",
2089
2102
  title: e.title,
2090
2103
  role: e.altText ? void 0 : "presentation",
2091
- style: M({
2092
- objectPosition: e.backgroundPosition || "center",
2104
+ style: H({
2105
+ objectPosition: `var(--builder-image-position, ${e.backgroundPosition || "center"})`,
2093
2106
  objectFit: e.backgroundSize || "cover",
2094
2107
  ...e.aspectRatioCss
2095
2108
  }),
2096
- class: _(
2109
+ class: ee(
2097
2110
  "builder-image" + (e.className ? " " + e.className : "") + " img-t43jfuqn6g"
2098
2111
  ),
2099
2112
  src: e.image,
2100
2113
  srcset: e.srcSetToUse,
2101
2114
  sizes: e.sizesToUse
2102
- }, null, 14, Ho)
2115
+ }, null, 14, Mo)
2103
2116
  ]),
2104
2117
  e.aspectRatio && !((l = (s = e.builderBlock) == null ? void 0 : s.children) != null && l.length && e.fitContent) ? (d(), h("div", {
2105
2118
  key: 0,
2106
2119
  class: "builder-image-sizer div-t43jfuqn6g",
2107
- style: M({
2120
+ style: H({
2108
2121
  paddingTop: e.aspectRatio * 100 + "%"
2109
2122
  })
2110
- }, null, 4)) : C("", !0),
2111
- (u = (a = e.builderBlock) == null ? void 0 : a.children) != null && u.length && e.fitContent ? N(e.$slots, "default", { key: 1 }, void 0, !0) : C("", !0),
2112
- !e.fitContent && ((f = (p = e.builderBlock) == null ? void 0 : p.children) != null && f.length) ? (d(), h("div", Mo, [
2123
+ }, null, 4)) : T("", !0),
2124
+ (u = (a = e.builderBlock) == null ? void 0 : a.children) != null && u.length && e.fitContent ? N(e.$slots, "default", { key: 1 }, void 0, !0) : T("", !0),
2125
+ !e.fitContent && ((b = (p = e.builderBlock) == null ? void 0 : p.children) != null && b.length) ? (d(), h("div", jo, [
2113
2126
  N(e.$slots, "default", {}, void 0, !0)
2114
- ])) : C("", !0)
2127
+ ])) : T("", !0)
2115
2128
  ], 64);
2116
2129
  }
2117
- const zo = /* @__PURE__ */ v(Lo, [["render", jo], ["__scopeId", "data-v-bb2384ad"]]), Ko = y({
2130
+ const Ko = /* @__PURE__ */ v(Fo, [["render", zo], ["__scopeId", "data-v-f109a7da"]]), qo = y({
2118
2131
  name: "builder-section-component",
2119
2132
  props: ["attributes", "maxWidth"],
2120
2133
  data() {
2121
- return { filterAttrs: W };
2134
+ return { filterAttrs: O };
2122
2135
  }
2123
2136
  });
2124
- function qo(e, t, n, o, r, i) {
2137
+ function Go(e, t, n, o, r, i) {
2125
2138
  return d(), h("section", $({
2126
2139
  style: {
2127
2140
  width: "100%",
@@ -2135,12 +2148,12 @@ function qo(e, t, n, o, r, i) {
2135
2148
  marginLeft: "auto",
2136
2149
  marginRight: "auto"
2137
2150
  }
2138
- }, e.filterAttrs(e.attributes, "v-on:", !1), L(e.filterAttrs(e.attributes, "v-on:", !0), !0)), [
2151
+ }, e.filterAttrs(e.attributes, "v-on:", !1), U(e.filterAttrs(e.attributes, "v-on:", !0), !0)), [
2139
2152
  N(e.$slots, "default")
2140
2153
  ], 16);
2141
2154
  }
2142
- const Go = /* @__PURE__ */ v(Ko, [["render", qo]]);
2143
- function Jo(e, t, n, o) {
2155
+ const Jo = /* @__PURE__ */ v(qo, [["render", Go]]);
2156
+ function Qo(e, t, n, o) {
2144
2157
  function r(u) {
2145
2158
  return typeof u == "string";
2146
2159
  }
@@ -2150,41 +2163,41 @@ function Jo(e, t, n, o) {
2150
2163
  function s(u, p) {
2151
2164
  return (() => {
2152
2165
  const c = p.property, m = p.operator;
2153
- let b = p.value;
2154
- if (p && p.property === "urlPath" && p.value && typeof p.value == "string" && p.value !== "/" && p.value.endsWith("/") && (b = p.value.slice(0, -1)), !(c && m))
2166
+ let f = p.value;
2167
+ if (p && p.property === "urlPath" && p.value && typeof p.value == "string" && p.value !== "/" && p.value.endsWith("/") && (f = p.value.slice(0, -1)), !(c && m))
2155
2168
  return !0;
2156
- if (Array.isArray(b))
2157
- return m === "isNot" ? b.every((A) => s(u, {
2169
+ if (Array.isArray(f))
2170
+ return m === "isNot" ? f.every((A) => s(u, {
2158
2171
  property: c,
2159
2172
  operator: m,
2160
2173
  value: A
2161
- })) : !!b.find((A) => s(u, {
2174
+ })) : !!f.find((A) => s(u, {
2162
2175
  property: c,
2163
2176
  operator: m,
2164
2177
  value: A
2165
2178
  }));
2166
2179
  const g = u[c];
2167
2180
  if (Array.isArray(g))
2168
- return g.includes(b);
2181
+ return g.includes(f);
2169
2182
  switch (m) {
2170
2183
  case "is":
2171
- return g === b;
2184
+ return g === f;
2172
2185
  case "isNot":
2173
- return g !== b;
2186
+ return g !== f;
2174
2187
  case "contains":
2175
- return (r(g) || Array.isArray(g)) && g.includes(String(b));
2188
+ return (r(g) || Array.isArray(g)) && g.includes(String(f));
2176
2189
  case "startsWith":
2177
- return r(g) && g.startsWith(String(b));
2190
+ return r(g) && g.startsWith(String(f));
2178
2191
  case "endsWith":
2179
- return r(g) && g.endsWith(String(b));
2192
+ return r(g) && g.endsWith(String(f));
2180
2193
  case "greaterThan":
2181
- return i(g) && i(b) && g > b;
2194
+ return i(g) && i(f) && g > f;
2182
2195
  case "lessThan":
2183
- return i(g) && i(b) && g < b;
2196
+ return i(g) && i(f) && g < f;
2184
2197
  case "greaterThanOrEqualTo":
2185
- return i(g) && i(b) && g >= b;
2198
+ return i(g) && i(f) && g >= f;
2186
2199
  case "lessThanOrEqualTo":
2187
- return i(g) && i(b) && g <= b;
2200
+ return i(g) && i(f) && g <= f;
2188
2201
  default:
2189
2202
  return !1;
2190
2203
  }
@@ -2197,7 +2210,7 @@ function Jo(e, t, n, o) {
2197
2210
  }, a = e.date && new Date(e.date) || /* @__PURE__ */ new Date();
2198
2211
  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));
2199
2212
  }
2200
- const Qo = `function getPersonalizedVariant(variants, blockId, isHydrationTarget, locale) {
2213
+ const Yo = `function getPersonalizedVariant(variants, blockId, isHydrationTarget, locale) {
2201
2214
  if (!navigator.cookieEnabled) {
2202
2215
  return;
2203
2216
  }
@@ -2242,7 +2255,7 @@ const Qo = `function getPersonalizedVariant(variants, blockId, isHydrationTarget
2242
2255
  thisScript.remove();
2243
2256
  }
2244
2257
  }
2245
- }`, Yo = `function filterWithCustomTargeting(userAttributes, query, startDate, endDate) {
2258
+ }`, Xo = `function filterWithCustomTargeting(userAttributes, query, startDate, endDate) {
2246
2259
  function isString(val) {
2247
2260
  return typeof val === 'string';
2248
2261
  }
@@ -2320,7 +2333,7 @@ const Qo = `function getPersonalizedVariant(variants, blockId, isHydrationTarget
2320
2333
  return item.query.every(filter => {
2321
2334
  return objectMatchesQuery(userAttributes, filter);
2322
2335
  });
2323
- }`, Xo = `function updateVisibilityStylesScript(variants, blockId, isHydrationTarget, locale) {
2336
+ }`, Zo = `function updateVisibilityStylesScript(variants, blockId, isHydrationTarget, locale) {
2324
2337
  function getCookie(name) {
2325
2338
  const nameEQ = name + '=';
2326
2339
  const ca = document.cookie.split(';');
@@ -2358,11 +2371,11 @@ const Qo = `function getPersonalizedVariant(variants, blockId, isHydrationTarget
2358
2371
  visibilityStylesEl.innerHTML = newStyleStr;
2359
2372
  }
2360
2373
  }
2361
- }`, re = "default", Qe = "filterWithCustomTargeting", ke = "builderIoPersonalization", Ce = "updateVisibilityStylesScript", Zo = "PersonalizationContainer", Bt = ["react", "vue", "svelte", "qwik"], Vt = ["vue", "svelte", "qwik"];
2362
- function _o(e, t) {
2363
- return !(e && e.length > 0) || !t ? !1 : Vt.includes(E) ? !0 : !T();
2374
+ }`, se = "default", Ye = "filterWithCustomTargeting", Te = "builderIoPersonalization", we = "updateVisibilityStylesScript", _o = "PersonalizationContainer", Vt = ["react", "vue", "svelte", "qwik"], Nt = ["vue", "svelte", "qwik"];
2375
+ function er(e, t) {
2376
+ return !(e && e.length > 0) || !t ? !1 : Nt.includes(E) ? !0 : !w();
2364
2377
  }
2365
- function er({
2378
+ function tr({
2366
2379
  variants: e,
2367
2380
  previewingIndex: t,
2368
2381
  isHydrated: n,
@@ -2372,7 +2385,7 @@ function er({
2372
2385
  const i = {
2373
2386
  blocks: r ?? [],
2374
2387
  path: "this.children",
2375
- index: re
2388
+ index: se
2376
2389
  };
2377
2390
  if (n && P()) {
2378
2391
  if (typeof t == "number" && t < ((e == null ? void 0 : e.length) ?? 0)) {
@@ -2386,7 +2399,7 @@ function er({
2386
2399
  }
2387
2400
  return i;
2388
2401
  }
2389
- if (T()) {
2402
+ if (w()) {
2390
2403
  const s = o == null ? void 0 : o[0];
2391
2404
  if (s && e) {
2392
2405
  const l = e.indexOf(s);
@@ -2400,22 +2413,22 @@ function er({
2400
2413
  }
2401
2414
  return i;
2402
2415
  }
2403
- const Te = (e) => {
2416
+ const Ie = (e) => {
2404
2417
  var t;
2405
- return Array.isArray(e) ? e.some(Te) : !e || typeof e != "object" ? !1 : ((t = e.component) == null ? void 0 : t.name) === Zo ? !0 : Object.values(e).some(Te);
2406
- }, tr = (e) => Te(e), nr = () => `
2418
+ return Array.isArray(e) ? e.some(Ie) : !e || typeof e != "object" ? !1 : ((t = e.component) == null ? void 0 : t.name) === _o ? !0 : Object.values(e).some(Ie);
2419
+ }, nr = (e) => Ie(e), or = () => `
2407
2420
  (function() {
2408
- if (!window.${Qe}) {
2409
- window.${Qe} = ${Yo};
2421
+ if (!window.${Ye}) {
2422
+ window.${Ye} = ${Xo};
2410
2423
  }
2411
- if (!window.${ke}) {
2412
- window.${ke} = ${Qo};
2424
+ if (!window.${Te}) {
2425
+ window.${Te} = ${Yo};
2413
2426
  }
2414
- if (!window.${Ce}) {
2415
- window.${Ce} = ${Xo};
2427
+ if (!window.${we}) {
2428
+ window.${we} = ${Zo};
2416
2429
  }
2417
2430
  })();
2418
- `, Nt = E === "react", or = (e, t, n) => `window.${ke}(${JSON.stringify(e)}, "${t}", ${Nt}${n ? `, "${n}"` : ""})`, rr = (e, t, n) => `window.${Ce}(${JSON.stringify(e)}, "${t}", ${Nt}${n ? `, "${n}"` : ""})`, me = {
2431
+ `, Ot = E === "react", rr = (e, t, n) => `window.${Te}(${JSON.stringify(e)}, "${t}", ${Ot}${n ? `, "${n}"` : ""})`, ir = (e, t, n) => `window.${we}(${JSON.stringify(e)}, "${t}", ${Ot}${n ? `, "${n}"` : ""})`, fe = {
2419
2432
  "@type": "@builder.io/sdk:Element",
2420
2433
  layerName: "Accordion item title",
2421
2434
  responsiveStyles: {
@@ -2444,7 +2457,7 @@ const Te = (e) => {
2444
2457
  }
2445
2458
  }
2446
2459
  }]
2447
- }, he = {
2460
+ }, be = {
2448
2461
  "@type": "@builder.io/sdk:Element",
2449
2462
  layerName: "Accordion item detail",
2450
2463
  responsiveStyles: {
@@ -2475,7 +2488,7 @@ const Te = (e) => {
2475
2488
  }
2476
2489
  }
2477
2490
  }]
2478
- }, ir = {
2491
+ }, sr = {
2479
2492
  name: "Builder:Accordion",
2480
2493
  canHaveChildren: !0,
2481
2494
  image: "https://cdn.builder.io/api/v1/image/assets%2FagZ9n5CUKRfbL9t6CaJOyVSK4Es2%2Ffab6c1fd3fe542408cbdec078bca7f35",
@@ -2492,19 +2505,19 @@ const Te = (e) => {
2492
2505
  name: "title",
2493
2506
  type: "uiBlocks",
2494
2507
  hideFromUI: !0,
2495
- defaultValue: [me]
2508
+ defaultValue: [fe]
2496
2509
  }, {
2497
2510
  name: "detail",
2498
2511
  type: "uiBlocks",
2499
2512
  hideFromUI: !0,
2500
- defaultValue: [he]
2513
+ defaultValue: [be]
2501
2514
  }],
2502
2515
  defaultValue: [{
2503
- title: [me],
2504
- detail: [he]
2516
+ title: [fe],
2517
+ detail: [be]
2505
2518
  }, {
2506
- title: [me],
2507
- detail: [he]
2519
+ title: [fe],
2520
+ detail: [be]
2508
2521
  }],
2509
2522
  showIf: (e) => !e.get("useChildrenForItems")
2510
2523
  }, {
@@ -2539,7 +2552,7 @@ const Te = (e) => {
2539
2552
  builderComponents: !0,
2540
2553
  builderLinkComponent: !0
2541
2554
  }
2542
- }, sr = (e) => e.toString(), ar = y({
2555
+ }, ar = (e) => e.toString(), lr = y({
2543
2556
  name: "builder-accordion",
2544
2557
  components: { Blocks: K },
2545
2558
  props: [
@@ -2553,7 +2566,7 @@ const Te = (e) => {
2553
2566
  "builderLinkComponent"
2554
2567
  ],
2555
2568
  data() {
2556
- return { open: [], convertOrderNumberToString: sr };
2569
+ return { open: [], convertOrderNumberToString: ar };
2557
2570
  },
2558
2571
  computed: {
2559
2572
  onlyOneAtATime() {
@@ -2634,17 +2647,17 @@ const Te = (e) => {
2634
2647
  this.open.includes(e) ? this.open = this.onlyOneAtATime ? [] : this.open.filter((t) => t !== e) : this.open = this.onlyOneAtATime ? [e] : this.open.concat(e);
2635
2648
  }
2636
2649
  }
2637
- }), lr = ["data-index", "onClick"];
2638
- function cr(e, t, n, o, r, i) {
2650
+ }), cr = ["data-index", "onClick"];
2651
+ function dr(e, t, n, o, r, i) {
2639
2652
  const s = k("Blocks");
2640
2653
  return d(), h("div", {
2641
2654
  class: "builder-accordion",
2642
- style: M(e.accordionStyles)
2655
+ style: H(e.accordionStyles)
2643
2656
  }, [
2644
- (d(!0), h(I, null, F(e.items, (l, a) => (d(), h(I, { key: a }, [
2645
- q("div", {
2646
- class: _(e.getAccordionTitleClassName(a)),
2647
- style: M({
2657
+ (d(!0), h(I, null, L(e.items, (l, a) => (d(), h(I, { key: a }, [
2658
+ G("div", {
2659
+ class: ee(e.getAccordionTitleClassName(a)),
2660
+ style: H({
2648
2661
  ...e.accordionTitleStyles,
2649
2662
  ...e.grid && {
2650
2663
  width: e.gridRowWidth,
@@ -2662,11 +2675,11 @@ function cr(e, t, n, o, r, i) {
2662
2675
  registeredComponents: e.builderComponents,
2663
2676
  linkComponent: e.builderLinkComponent
2664
2677
  }, null, 8, ["blocks", "path", "parent", "context", "registeredComponents", "linkComponent"])
2665
- ], 14, lr),
2678
+ ], 14, cr),
2666
2679
  e.open.includes(a) ? (d(), h("div", {
2667
2680
  key: 0,
2668
- class: _(e.getAccordionDetailClassName(a)),
2669
- style: M(e.accordionDetailStyles)
2681
+ class: ee(e.getAccordionDetailClassName(a)),
2682
+ style: H(e.accordionDetailStyles)
2670
2683
  }, [
2671
2684
  R(s, {
2672
2685
  blocks: l.detail,
@@ -2676,11 +2689,11 @@ function cr(e, t, n, o, r, i) {
2676
2689
  registeredComponents: e.builderComponents,
2677
2690
  linkComponent: e.builderLinkComponent
2678
2691
  }, null, 8, ["blocks", "path", "parent", "context", "registeredComponents", "linkComponent"])
2679
- ], 6)) : C("", !0)
2692
+ ], 6)) : T("", !0)
2680
2693
  ], 64))), 128))
2681
2694
  ], 4);
2682
2695
  }
2683
- const dr = /* @__PURE__ */ v(ar, [["render", cr]]), ur = {
2696
+ const ur = /* @__PURE__ */ v(lr, [["render", dr]]), pr = {
2684
2697
  name: "Core:Button",
2685
2698
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F81a15681c3e74df09677dfc57a615b13",
2686
2699
  defaultStyles: {
@@ -2716,7 +2729,7 @@ const dr = /* @__PURE__ */ v(ar, [["render", cr]]), ur = {
2716
2729
  shouldReceiveBuilderProps: {
2717
2730
  builderLinkComponent: !0
2718
2731
  }
2719
- }, pr = {
2732
+ }, mr = {
2720
2733
  // TODO: ways to statically preprocess JSON for references, functions, etc
2721
2734
  name: "Columns",
2722
2735
  isRSC: !0,
@@ -2923,13 +2936,13 @@ const dr = /* @__PURE__ */ v(ar, [["render", cr]]), ur = {
2923
2936
  builderComponents: !0,
2924
2937
  builderLinkComponent: !0
2925
2938
  }
2926
- }, mr = {
2939
+ }, hr = {
2927
2940
  name: "Fragment",
2928
2941
  static: !0,
2929
2942
  hidden: !0,
2930
2943
  canHaveChildren: !0,
2931
2944
  noWrap: !0
2932
- }, Oe = ["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"], hr = ["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"], fr = {
2945
+ }, xe = ["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"], fr = ["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"], br = {
2933
2946
  name: "Image",
2934
2947
  static: !0,
2935
2948
  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",
@@ -2944,7 +2957,7 @@ const dr = /* @__PURE__ */ v(ar, [["render", cr]]), ur = {
2944
2957
  name: "image",
2945
2958
  type: "file",
2946
2959
  bubble: !0,
2947
- allowedFileTypes: Oe,
2960
+ allowedFileTypes: xe,
2948
2961
  required: !0,
2949
2962
  defaultValue: "https://cdn.builder.io/api/v1/image/assets%2FYJIGb4i01jvw0SRdL5Bt%2F72c80f114dc149019051b6852a9e3b7a",
2950
2963
  onChange: (e) => {
@@ -2952,13 +2965,13 @@ const dr = /* @__PURE__ */ v(ar, [["render", cr]]), ur = {
2952
2965
  function n(s, l = 6e4) {
2953
2966
  return new Promise((a, u) => {
2954
2967
  const p = document.createElement("img");
2955
- let f = !1;
2968
+ let b = !1;
2956
2969
  p.onload = () => {
2957
- f = !0, a(p);
2970
+ b = !0, a(p);
2958
2971
  }, p.addEventListener("error", (c) => {
2959
2972
  console.warn("Image load failed", c.error), u(c.error);
2960
2973
  }), p.src = s, setTimeout(() => {
2961
- f || u(new Error("Image load timed out"));
2974
+ b || u(new Error("Image load timed out"));
2962
2975
  }, l);
2963
2976
  });
2964
2977
  }
@@ -3042,7 +3055,7 @@ const dr = /* @__PURE__ */ v(ar, [["render", cr]]), ur = {
3042
3055
  shouldReceiveBuilderProps: {
3043
3056
  builderBlock: !0
3044
3057
  }
3045
- }, br = {
3058
+ }, gr = {
3046
3059
  name: "PersonalizationContainer",
3047
3060
  shouldReceiveBuilderProps: {
3048
3061
  builderBlock: !0,
@@ -3078,9 +3091,9 @@ const dr = /* @__PURE__ */ v(ar, [["render", cr]]), ur = {
3078
3091
  defaultValue: []
3079
3092
  }]
3080
3093
  }]
3081
- }, De = y({
3094
+ }, Ue = y({
3082
3095
  render() {
3083
- return _e("script", {
3096
+ return et("script", {
3084
3097
  innerHTML: this.scriptStr,
3085
3098
  "data-id": this.id,
3086
3099
  nonce: this.nonce
@@ -3088,12 +3101,12 @@ const dr = /* @__PURE__ */ v(ar, [["render", cr]]), ur = {
3088
3101
  },
3089
3102
  name: "inlined-script",
3090
3103
  props: ["scriptStr", "id", "nonce"]
3091
- }), gr = y({
3104
+ }), yr = y({
3092
3105
  name: "builder-personalization-container",
3093
3106
  components: {
3094
3107
  Blocks: K,
3095
- InlinedStyles: pe,
3096
- InlinedScript: De
3108
+ InlinedStyles: he,
3109
+ InlinedScript: Ue
3097
3110
  },
3098
3111
  props: [
3099
3112
  "builderContext",
@@ -3106,32 +3119,32 @@ const dr = /* @__PURE__ */ v(ar, [["render", cr]]), ur = {
3106
3119
  data() {
3107
3120
  var e, t, n, o, r, i, s;
3108
3121
  return {
3109
- userAttributes: ce.getUserAttributes(),
3110
- scriptStr: or(
3122
+ userAttributes: ue.getUserAttributes(),
3123
+ scriptStr: rr(
3111
3124
  this.variants,
3112
3125
  ((e = this.builderBlock) == null ? void 0 : e.id) || "none",
3113
3126
  (n = (t = this.builderContext) == null ? void 0 : t.rootState) == null ? void 0 : n.locale
3114
3127
  ),
3115
- updateVisibilityStylesScript: rr(
3128
+ updateVisibilityStylesScript: ir(
3116
3129
  this.variants,
3117
3130
  ((o = this.builderBlock) == null ? void 0 : o.id) || "none",
3118
3131
  (i = (r = this.builderContext) == null ? void 0 : r.rootState) == null ? void 0 : i.locale
3119
3132
  ),
3120
3133
  unsubscribers: [],
3121
- shouldRenderVariants: _o(
3134
+ shouldRenderVariants: er(
3122
3135
  this.variants,
3123
- G((s = this.builderContext) == null ? void 0 : s.canTrack)
3136
+ J((s = this.builderContext) == null ? void 0 : s.canTrack)
3124
3137
  ),
3125
3138
  shouldResetVariants: !1,
3126
3139
  TARGET: E,
3127
- DEFAULT_INDEX: re,
3128
- SDKS_REQUIRING_RESET_APPROACH: Vt
3140
+ DEFAULT_INDEX: se,
3141
+ SDKS_REQUIRING_RESET_APPROACH: Nt
3129
3142
  };
3130
3143
  },
3131
3144
  mounted() {
3132
3145
  var t;
3133
3146
  this.shouldResetVariants = !0;
3134
- const e = ce.subscribeOnUserAttributesChange(
3147
+ const e = ue.subscribeOnUserAttributesChange(
3135
3148
  (n) => {
3136
3149
  this.userAttributes = n;
3137
3150
  },
@@ -3139,12 +3152,12 @@ const dr = /* @__PURE__ */ v(ar, [["render", cr]]), ur = {
3139
3152
  fireImmediately: E === "qwik"
3140
3153
  }
3141
3154
  );
3142
- if (!(P() || Ae())) {
3155
+ if (!(P() || Ve())) {
3143
3156
  const n = this.filteredVariants[0];
3144
3157
  this.$refs.rootRef && (this.$refs.rootRef.dispatchEvent(
3145
3158
  new CustomEvent("builder.variantLoaded", {
3146
3159
  detail: {
3147
- variant: n || re,
3160
+ variant: n || se,
3148
3161
  content: (t = this.builderContext) == null ? void 0 : t.content
3149
3162
  },
3150
3163
  bubbles: !0
@@ -3155,7 +3168,7 @@ const dr = /* @__PURE__ */ v(ar, [["render", cr]]), ur = {
3155
3168
  i.isIntersecting && this.$refs.rootRef && this.$refs.rootRef.dispatchEvent(
3156
3169
  new CustomEvent("builder.variantDisplayed", {
3157
3170
  detail: {
3158
- variant: n || re,
3171
+ variant: n || se,
3159
3172
  content: (s = this.builderContext) == null ? void 0 : s.content
3160
3173
  },
3161
3174
  bubbles: !0
@@ -3172,15 +3185,15 @@ const dr = /* @__PURE__ */ v(ar, [["render", cr]]), ur = {
3172
3185
  computed: {
3173
3186
  attrs() {
3174
3187
  return {
3175
- ...W(this.attributes, "v-on:", !1),
3176
- ...W(this.attributes, "v-on:", !0),
3177
- [j()]: `builder-personalization-container ${this.attributes[j()] || ""}`
3188
+ ...O(this.attributes, "v-on:", !1),
3189
+ ...O(this.attributes, "v-on:", !0),
3190
+ [M()]: `builder-personalization-container ${this.attributes[M()] || ""}`
3178
3191
  };
3179
3192
  },
3180
3193
  filteredVariants() {
3181
3194
  return (this.variants || []).filter((e) => {
3182
3195
  var t, n, o, r;
3183
- return Jo(
3196
+ return Qo(
3184
3197
  {
3185
3198
  ...(n = (t = this.builderContext) == null ? void 0 : t.rootState) != null && n.locale ? {
3186
3199
  locale: (r = (o = this.builderContext) == null ? void 0 : o.rootState) == null ? void 0 : r.locale
@@ -3195,7 +3208,7 @@ const dr = /* @__PURE__ */ v(ar, [["render", cr]]), ur = {
3195
3208
  },
3196
3209
  blocksToRender() {
3197
3210
  var e;
3198
- return er({
3211
+ return tr({
3199
3212
  variants: this.variants,
3200
3213
  fallbackBlocks: (e = this.builderBlock) == null ? void 0 : e.children,
3201
3214
  isHydrated: this.shouldResetVariants,
@@ -3213,8 +3226,8 @@ const dr = /* @__PURE__ */ v(ar, [["render", cr]]), ur = {
3213
3226
  }
3214
3227
  }
3215
3228
  });
3216
- function yr(e, t, n, o, r, i) {
3217
- var u, p, f, c, m, b, g, A, U, V;
3229
+ function vr(e, t, n, o, r, i) {
3230
+ var u, p, b, c, m, f, g, A, x, V;
3218
3231
  const s = k("Blocks"), l = k("InlinedStyles"), a = k("InlinedScript");
3219
3232
  return d(), h("div", $({ ref: "rootRef" }, e.attrs), [
3220
3233
  e.shouldResetVariants && e.SDKS_REQUIRING_RESET_APPROACH.includes(e.TARGET) ? (d(), S(s, {
@@ -3226,9 +3239,9 @@ function yr(e, t, n, o, r, i) {
3226
3239
  registeredComponents: e.builderComponents,
3227
3240
  BlocksWrapperProps: {
3228
3241
  ...(p = e.builderContext) == null ? void 0 : p.BlocksWrapperProps,
3229
- "data-variant-id": `${(f = e.builderBlock) == null ? void 0 : f.id}-${e.blocksToRender.index}`
3242
+ "data-variant-id": `${(b = e.builderBlock) == null ? void 0 : b.id}-${e.blocksToRender.index}`
3230
3243
  }
3231
- }, null, 8, ["blocks", "parent", "path", "context", "registeredComponents", "BlocksWrapperProps"])) : C("", !0),
3244
+ }, null, 8, ["blocks", "parent", "path", "context", "registeredComponents", "BlocksWrapperProps"])) : T("", !0),
3232
3245
  !e.shouldResetVariants && e.SDKS_REQUIRING_RESET_APPROACH.includes(e.TARGET) || !e.SDKS_REQUIRING_RESET_APPROACH.includes(e.TARGET) ? (d(), h(I, { key: 1 }, [
3233
3246
  e.shouldRenderVariants ? (d(), h(I, { key: 0 }, [
3234
3247
  R(l, {
@@ -3237,40 +3250,40 @@ function yr(e, t, n, o, r, i) {
3237
3250
  id: `variants-styles-${(m = e.builderBlock) == null ? void 0 : m.id}`
3238
3251
  }, null, 8, ["nonce", "styles", "id"]),
3239
3252
  R(a, {
3240
- nonce: ((b = e.builderContext) == null ? void 0 : b.nonce) || "",
3253
+ nonce: ((f = e.builderContext) == null ? void 0 : f.nonce) || "",
3241
3254
  scriptStr: e.updateVisibilityStylesScript,
3242
3255
  id: `variants-visibility-script-${(g = e.builderBlock) == null ? void 0 : g.id}`
3243
3256
  }, null, 8, ["nonce", "scriptStr", "id"]),
3244
- (d(!0), h(I, null, F(e.variants, (w, O) => {
3245
- var J, Q, D, H;
3257
+ (d(!0), h(I, null, L(e.variants, (q, C) => {
3258
+ var z, Q, Y, W;
3246
3259
  return d(), S(s, {
3247
- key: `${(J = e.builderBlock) == null ? void 0 : J.id}-${O}`,
3260
+ key: `${(z = e.builderBlock) == null ? void 0 : z.id}-${C}`,
3248
3261
  BlocksWrapperProps: {
3249
3262
  ...(Q = e.builderContext) == null ? void 0 : Q.BlocksWrapperProps,
3250
3263
  "aria-hidden": !0,
3251
3264
  hidden: !0,
3252
- "data-variant-id": `${(D = e.builderBlock) == null ? void 0 : D.id}-${O}`
3265
+ "data-variant-id": `${(Y = e.builderBlock) == null ? void 0 : Y.id}-${C}`
3253
3266
  },
3254
- blocks: w.blocks,
3255
- parent: (H = e.builderBlock) == null ? void 0 : H.id,
3256
- path: `component.options.variants.${O}.blocks`,
3267
+ blocks: q.blocks,
3268
+ parent: (W = e.builderBlock) == null ? void 0 : W.id,
3269
+ path: `component.options.variants.${C}.blocks`,
3257
3270
  context: e.builderContext,
3258
3271
  registeredComponents: e.builderComponents
3259
3272
  }, {
3260
- default: x(() => {
3261
- var Ue, Le;
3273
+ default: D(() => {
3274
+ var F, Fe;
3262
3275
  return [
3263
3276
  R(a, {
3264
- nonce: ((Ue = e.builderContext) == null ? void 0 : Ue.nonce) || "",
3277
+ nonce: ((F = e.builderContext) == null ? void 0 : F.nonce) || "",
3265
3278
  scriptStr: e.scriptStr,
3266
- id: `variants-script-${(Le = e.builderBlock) == null ? void 0 : Le.id}-${O}`
3279
+ id: `variants-script-${(Fe = e.builderBlock) == null ? void 0 : Fe.id}-${C}`
3267
3280
  }, null, 8, ["nonce", "scriptStr", "id"])
3268
3281
  ];
3269
3282
  }),
3270
3283
  _: 2
3271
3284
  }, 1032, ["BlocksWrapperProps", "blocks", "parent", "path", "context", "registeredComponents"]);
3272
3285
  }), 128))
3273
- ], 64)) : C("", !0),
3286
+ ], 64)) : T("", !0),
3274
3287
  R(s, {
3275
3288
  blocks: e.blocksToRender.blocks,
3276
3289
  parent: (A = e.builderBlock) == null ? void 0 : A.id,
@@ -3278,27 +3291,27 @@ function yr(e, t, n, o, r, i) {
3278
3291
  context: e.builderContext,
3279
3292
  registeredComponents: e.builderComponents,
3280
3293
  BlocksWrapperProps: {
3281
- ...(U = e.builderContext) == null ? void 0 : U.BlocksWrapperProps,
3294
+ ...(x = e.builderContext) == null ? void 0 : x.BlocksWrapperProps,
3282
3295
  "data-variant-id": `${(V = e.builderBlock) == null ? void 0 : V.id}-${e.blocksToRender.index}`
3283
3296
  }
3284
3297
  }, {
3285
- default: x(() => {
3286
- var w, O;
3298
+ default: D(() => {
3299
+ var q, C;
3287
3300
  return [
3288
3301
  e.shouldRenderVariants ? (d(), S(a, {
3289
3302
  key: 0,
3290
- nonce: ((w = e.builderContext) == null ? void 0 : w.nonce) || "",
3303
+ nonce: ((q = e.builderContext) == null ? void 0 : q.nonce) || "",
3291
3304
  scriptStr: e.scriptStr,
3292
- id: `variants-script-${(O = e.builderBlock) == null ? void 0 : O.id}-${e.DEFAULT_INDEX}`
3293
- }, null, 8, ["nonce", "scriptStr", "id"])) : C("", !0)
3305
+ id: `variants-script-${(C = e.builderBlock) == null ? void 0 : C.id}-${e.DEFAULT_INDEX}`
3306
+ }, null, 8, ["nonce", "scriptStr", "id"])) : T("", !0)
3294
3307
  ];
3295
3308
  }),
3296
3309
  _: 1
3297
3310
  }, 8, ["blocks", "parent", "path", "context", "registeredComponents", "BlocksWrapperProps"])
3298
- ], 64)) : C("", !0)
3311
+ ], 64)) : T("", !0)
3299
3312
  ], 16);
3300
3313
  }
3301
- const vr = /* @__PURE__ */ v(gr, [["render", yr]]), Sr = {
3314
+ const Sr = /* @__PURE__ */ v(yr, [["render", vr]]), kr = {
3302
3315
  name: "Core:Section",
3303
3316
  static: !0,
3304
3317
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F682efef23ace49afac61748dd305c70a",
@@ -3337,7 +3350,7 @@ const vr = /* @__PURE__ */ v(gr, [["render", yr]]), Sr = {
3337
3350
  }
3338
3351
  }
3339
3352
  }]
3340
- }, kr = {
3353
+ }, Cr = {
3341
3354
  name: "Slot",
3342
3355
  isRSC: !0,
3343
3356
  description: "Allow child blocks to be inserted into this content when used as a Symbol",
@@ -3354,12 +3367,12 @@ const vr = /* @__PURE__ */ v(gr, [["render", yr]]), Sr = {
3354
3367
  builderContext: !0,
3355
3368
  builderComponents: !0
3356
3369
  }
3357
- }, Cr = y({
3370
+ }, Tr = y({
3358
3371
  name: "builder-slot",
3359
3372
  components: { Blocks: K },
3360
3373
  props: ["builderContext", "name", "builderComponents"]
3361
3374
  });
3362
- function Tr(e, t, n, o, r, i) {
3375
+ function wr(e, t, n, o, r, i) {
3363
3376
  var l, a, u;
3364
3377
  const s = k("Blocks");
3365
3378
  return d(), h("div", $(
@@ -3379,7 +3392,7 @@ function Tr(e, t, n, o, r, i) {
3379
3392
  }, null, 8, ["parent", "path", "context", "registeredComponents", "blocks"])
3380
3393
  ], 16);
3381
3394
  }
3382
- const wr = /* @__PURE__ */ v(Cr, [["render", Tr]]), Ir = {
3395
+ const Ir = /* @__PURE__ */ v(Tr, [["render", wr]]), $r = {
3383
3396
  name: "Symbol",
3384
3397
  noWrap: !0,
3385
3398
  static: !0,
@@ -3418,7 +3431,7 @@ const wr = /* @__PURE__ */ v(Cr, [["render", Tr]]), Ir = {
3418
3431
  builderComponents: !0,
3419
3432
  builderLinkComponent: !0
3420
3433
  }
3421
- }, fe = {
3434
+ }, ge = {
3422
3435
  "@type": "@builder.io/sdk:Element",
3423
3436
  responsiveStyles: {
3424
3437
  large: {
@@ -3440,7 +3453,7 @@ const wr = /* @__PURE__ */ v(Cr, [["render", Tr]]), Ir = {
3440
3453
  text: "New tab"
3441
3454
  }
3442
3455
  }
3443
- }, be = {
3456
+ }, ye = {
3444
3457
  "@type": "@builder.io/sdk:Element",
3445
3458
  responsiveStyles: {
3446
3459
  large: {
@@ -3456,7 +3469,7 @@ const wr = /* @__PURE__ */ v(Cr, [["render", Tr]]), Ir = {
3456
3469
  text: "New tab content "
3457
3470
  }
3458
3471
  }
3459
- }, $r = {
3472
+ }, Er = {
3460
3473
  name: "Builder: Tabs",
3461
3474
  inputs: [{
3462
3475
  name: "tabs",
@@ -3466,16 +3479,16 @@ const wr = /* @__PURE__ */ v(Cr, [["render", Tr]]), Ir = {
3466
3479
  name: "label",
3467
3480
  type: "uiBlocks",
3468
3481
  hideFromUI: !0,
3469
- defaultValue: [fe]
3482
+ defaultValue: [ge]
3470
3483
  }, {
3471
3484
  name: "content",
3472
3485
  type: "uiBlocks",
3473
3486
  hideFromUI: !0,
3474
- defaultValue: [be]
3487
+ defaultValue: [ye]
3475
3488
  }],
3476
3489
  defaultValue: [{
3477
3490
  label: [{
3478
- ...fe,
3491
+ ...ge,
3479
3492
  component: {
3480
3493
  name: "Text",
3481
3494
  options: {
@@ -3484,7 +3497,7 @@ const wr = /* @__PURE__ */ v(Cr, [["render", Tr]]), Ir = {
3484
3497
  }
3485
3498
  }],
3486
3499
  content: [{
3487
- ...be,
3500
+ ...ye,
3488
3501
  component: {
3489
3502
  name: "Text",
3490
3503
  options: {
@@ -3494,7 +3507,7 @@ const wr = /* @__PURE__ */ v(Cr, [["render", Tr]]), Ir = {
3494
3507
  }]
3495
3508
  }, {
3496
3509
  label: [{
3497
- ...fe,
3510
+ ...ge,
3498
3511
  component: {
3499
3512
  name: "Text",
3500
3513
  options: {
@@ -3503,7 +3516,7 @@ const wr = /* @__PURE__ */ v(Cr, [["render", Tr]]), Ir = {
3503
3516
  }
3504
3517
  }],
3505
3518
  content: [{
3506
- ...be,
3519
+ ...ye,
3507
3520
  component: {
3508
3521
  name: "Text",
3509
3522
  options: {
@@ -3559,7 +3572,7 @@ const wr = /* @__PURE__ */ v(Cr, [["render", Tr]]), Ir = {
3559
3572
  builderComponents: !0,
3560
3573
  builderLinkComponent: !0
3561
3574
  }
3562
- }, Er = y({
3575
+ }, Rr = y({
3563
3576
  name: "builder-tabs",
3564
3577
  components: { Blocks: K },
3565
3578
  props: [
@@ -3587,23 +3600,23 @@ const wr = /* @__PURE__ */ v(Cr, [["render", Tr]]), Ir = {
3587
3600
  e === this.activeTab && this.collapsible ? this.activeTab = -1 : this.activeTab = e;
3588
3601
  }
3589
3602
  }
3590
- }), Rr = ["onClick"], Pr = { key: 0 };
3591
- function Ar(e, t, n, o, r, i) {
3603
+ }), Pr = ["onClick"], Ar = { key: 0 };
3604
+ function Br(e, t, n, o, r, i) {
3592
3605
  const s = k("Blocks");
3593
3606
  return d(), h("div", null, [
3594
- q("div", {
3607
+ G("div", {
3595
3608
  class: "builder-tabs-wrap",
3596
- style: M({
3609
+ style: H({
3597
3610
  display: "flex",
3598
3611
  flexDirection: "row",
3599
3612
  justifyContent: e.tabHeaderLayout || "flex-start",
3600
3613
  overflow: "auto"
3601
3614
  })
3602
3615
  }, [
3603
- (d(!0), h(I, null, F(e.tabs, (l, a) => (d(), h("span", {
3616
+ (d(!0), h(I, null, L(e.tabs, (l, a) => (d(), h("span", {
3604
3617
  key: a,
3605
- class: _(`builder-tab-wrap ${e.activeTab === a ? "builder-tab-active" : ""}`),
3606
- style: M(e.getTabStyle(a)),
3618
+ class: ee(`builder-tab-wrap ${e.activeTab === a ? "builder-tab-active" : ""}`),
3619
+ style: H(e.getTabStyle(a)),
3607
3620
  onClick: async (u) => e.onClick(a)
3608
3621
  }, [
3609
3622
  R(s, {
@@ -3614,9 +3627,9 @@ function Ar(e, t, n, o, r, i) {
3614
3627
  registeredComponents: e.builderComponents,
3615
3628
  linkComponent: e.builderLinkComponent
3616
3629
  }, null, 8, ["parent", "path", "blocks", "context", "registeredComponents", "linkComponent"])
3617
- ], 14, Rr))), 128))
3630
+ ], 14, Pr))), 128))
3618
3631
  ], 4),
3619
- e.activeTabContent(e.activeTab) ? (d(), h("div", Pr, [
3632
+ e.activeTabContent(e.activeTab) ? (d(), h("div", Ar, [
3620
3633
  R(s, {
3621
3634
  parent: e.builderBlock.id,
3622
3635
  path: `tabs.${e.activeTab}.content`,
@@ -3625,10 +3638,10 @@ function Ar(e, t, n, o, r, i) {
3625
3638
  registeredComponents: e.builderComponents,
3626
3639
  linkComponent: e.builderLinkComponent
3627
3640
  }, null, 8, ["parent", "path", "blocks", "context", "registeredComponents", "linkComponent"])
3628
- ])) : C("", !0)
3641
+ ])) : T("", !0)
3629
3642
  ]);
3630
3643
  }
3631
- const Br = /* @__PURE__ */ v(Er, [["render", Ar]]), Vr = {
3644
+ const Vr = /* @__PURE__ */ v(Rr, [["render", Br]]), Nr = {
3632
3645
  shouldReceiveBuilderProps: {},
3633
3646
  name: "Text",
3634
3647
  static: !0,
@@ -3646,11 +3659,11 @@ const Br = /* @__PURE__ */ v(Er, [["render", Ar]]), Vr = {
3646
3659
  height: "auto",
3647
3660
  textAlign: "center"
3648
3661
  }
3649
- }, Nr = y({
3662
+ }, Or = y({
3650
3663
  name: "builder-text",
3651
3664
  props: ["text"]
3652
3665
  }), Wr = ["innerHTML"];
3653
- function Or(e, t, n, o, r, i) {
3666
+ function Dr(e, t, n, o, r, i) {
3654
3667
  var s;
3655
3668
  return d(), h("div", {
3656
3669
  class: "builder-text",
@@ -3660,7 +3673,7 @@ function Or(e, t, n, o, r, i) {
3660
3673
  }
3661
3674
  }, null, 8, Wr);
3662
3675
  }
3663
- const Dr = /* @__PURE__ */ v(Nr, [["render", Or]]), xr = {
3676
+ const xr = /* @__PURE__ */ v(Or, [["render", Dr]]), Ur = {
3664
3677
  name: "Custom Code",
3665
3678
  static: !0,
3666
3679
  requiredPermissions: ["editCode"],
@@ -3682,7 +3695,7 @@ const Dr = /* @__PURE__ */ v(Nr, [["render", Or]]), xr = {
3682
3695
  helperText: "Only print and run scripts on the client. Important when scripts influence DOM that could be replaced when client loads",
3683
3696
  advanced: !0
3684
3697
  }]
3685
- }, Ur = y({
3698
+ }, Lr = y({
3686
3699
  name: "builder-custom-code",
3687
3700
  props: ["code", "replaceNodes"],
3688
3701
  data() {
@@ -3741,15 +3754,15 @@ const Dr = /* @__PURE__ */ v(Nr, [["render", Or]]), xr = {
3741
3754
  }
3742
3755
  }
3743
3756
  }
3744
- }), Lr = ["innerHTML"];
3745
- function Fr(e, t, n, o, r, i) {
3757
+ }), Fr = ["innerHTML"];
3758
+ function Hr(e, t, n, o, r, i) {
3746
3759
  return d(), h("div", {
3747
3760
  ref: "elementRef",
3748
- class: _("builder-custom-code" + (e.replaceNodes ? " replace-nodes" : "")),
3761
+ class: ee("builder-custom-code" + (e.replaceNodes ? " replace-nodes" : "")),
3749
3762
  innerHTML: e.code
3750
- }, null, 10, Lr);
3763
+ }, null, 10, Fr);
3751
3764
  }
3752
- const Hr = /* @__PURE__ */ v(Ur, [["render", Fr]]), Mr = {
3765
+ const Mr = /* @__PURE__ */ v(Lr, [["render", Hr]]), jr = {
3753
3766
  name: "Embed",
3754
3767
  static: !0,
3755
3768
  inputs: [{
@@ -3764,7 +3777,7 @@ const Hr = /* @__PURE__ */ v(Ur, [["render", Fr]]), Mr = {
3764
3777
  defaultValue: '<div style="padding: 20px; text-align: center">(Choose an embed URL)<div>',
3765
3778
  hideFromUI: !0
3766
3779
  }]
3767
- }, jr = ["text/javascript", "application/javascript", "application/ecmascript"], zr = (e) => jr.includes(e.type), Kr = y({
3780
+ }, zr = ["text/javascript", "application/javascript", "application/ecmascript"], Kr = (e) => zr.includes(e.type), qr = y({
3768
3781
  name: "builder-embed",
3769
3782
  props: ["content"],
3770
3783
  data() {
@@ -3797,7 +3810,7 @@ const Hr = /* @__PURE__ */ v(Ur, [["render", Fr]]), Mr = {
3797
3810
  this.scriptsInserted.push(n.src);
3798
3811
  const o = document.createElement("script");
3799
3812
  o.async = !0, o.src = n.src, document.head.appendChild(o);
3800
- } else if (zr(n) && !this.scriptsRun.includes(n.innerText))
3813
+ } else if (Kr(n) && !this.scriptsRun.includes(n.innerText))
3801
3814
  try {
3802
3815
  this.scriptsRun.push(n.innerText), new Function(n.innerText)();
3803
3816
  } catch (o) {
@@ -3806,15 +3819,15 @@ const Hr = /* @__PURE__ */ v(Ur, [["render", Fr]]), Mr = {
3806
3819
  }
3807
3820
  }
3808
3821
  }
3809
- }), qr = ["innerHTML"];
3810
- function Gr(e, t, n, o, r, i) {
3822
+ }), Gr = ["innerHTML"];
3823
+ function Jr(e, t, n, o, r, i) {
3811
3824
  return d(), h("div", {
3812
3825
  class: "builder-embed",
3813
3826
  ref: "elem",
3814
3827
  innerHTML: e.content
3815
- }, null, 8, qr);
3828
+ }, null, 8, Gr);
3816
3829
  }
3817
- const Jr = /* @__PURE__ */ v(Kr, [["render", Gr]]), Qr = {
3830
+ const Qr = /* @__PURE__ */ v(qr, [["render", Jr]]), Yr = {
3818
3831
  name: "Form:Form",
3819
3832
  // editableTags: ['builder-form-error']
3820
3833
  defaults: {
@@ -4051,10 +4064,10 @@ const Jr = /* @__PURE__ */ v(Kr, [["render", Gr]]), Qr = {
4051
4064
  builderComponents: !0,
4052
4065
  builderLinkComponent: !0
4053
4066
  }
4054
- }, Yr = ["production", "qa", "test", "development", "dev", "cdn-qa", "cloud", "fast", "cdn2", "cdn-prod"], Xr = () => {
4067
+ }, Xr = ["production", "qa", "test", "development", "dev", "cdn-qa", "cloud", "fast", "cdn2", "cdn-prod"], Zr = () => {
4055
4068
  const e = process.env.NODE_ENV || "production";
4056
- return Yr.includes(e) ? e : "production";
4057
- }, Zr = y({
4069
+ return Xr.includes(e) ? e : "production";
4070
+ }, _r = y({
4058
4071
  name: "builder-form-component",
4059
4072
  components: { Blocks: K },
4060
4073
  props: [
@@ -4082,7 +4095,7 @@ const Jr = /* @__PURE__ */ v(Kr, [["render", Gr]]), Qr = {
4082
4095
  formState: "unsubmitted",
4083
4096
  responseData: null,
4084
4097
  formErrorMessage: "",
4085
- filterAttrs: W
4098
+ filterAttrs: O
4086
4099
  };
4087
4100
  },
4088
4101
  methods: {
@@ -4117,12 +4130,12 @@ const Jr = /* @__PURE__ */ v(Kr, [["render", Gr]]), Qr = {
4117
4130
  (c) => !!c.name && (c.type !== "radio" || c.checked)
4118
4131
  ).map((c) => {
4119
4132
  let m;
4120
- const b = c.name;
4133
+ const f = c.name;
4121
4134
  if (c instanceof HTMLInputElement)
4122
4135
  if (c.type === "radio") {
4123
4136
  if (c.checked)
4124
4137
  return m = c.value, {
4125
- key: b,
4138
+ key: f,
4126
4139
  value: m
4127
4140
  };
4128
4141
  } else if (c.type === "checkbox")
@@ -4135,7 +4148,7 @@ const Jr = /* @__PURE__ */ v(Kr, [["render", Gr]]), Qr = {
4135
4148
  else
4136
4149
  m = c.value;
4137
4150
  return {
4138
- key: b,
4151
+ key: f,
4139
4152
  value: m
4140
4153
  };
4141
4154
  });
@@ -4146,8 +4159,8 @@ const Jr = /* @__PURE__ */ v(Kr, [["render", Gr]]), Qr = {
4146
4159
  i = s;
4147
4160
  else {
4148
4161
  const c = {};
4149
- Array.from(l).forEach(({ value: m, key: b }) => {
4150
- ht(c, b, m);
4162
+ Array.from(l).forEach(({ value: m, key: f }) => {
4163
+ ft(c, f, m);
4151
4164
  }), i = JSON.stringify(c);
4152
4165
  }
4153
4166
  a && a !== "multipart/form-data" && (t && ((n = this.action) != null && n.includes("zapier.com")) || (r["content-type"] = a));
@@ -4165,10 +4178,10 @@ const Jr = /* @__PURE__ */ v(Kr, [["render", Gr]]), Qr = {
4165
4178
  });
4166
4179
  return;
4167
4180
  }
4168
- const p = `${Xr() === "dev" ? "http://localhost:5000" : "https://builder.io"}/api/v1/form-submit?apiKey=${this.builderContext.apiKey}&to=${btoa(
4181
+ const p = `${Zr() === "dev" ? "http://localhost:5000" : "https://builder.io"}/api/v1/form-submit?apiKey=${this.builderContext.apiKey}&to=${btoa(
4169
4182
  this.sendSubmissionsToEmail || ""
4170
- )}&name=${encodeURIComponent(this.name || "")}`, f = this.sendSubmissionsTo === "email" ? p : this.action;
4171
- Re(f), fetch(f, {
4183
+ )}&name=${encodeURIComponent(this.name || "")}`, b = this.sendSubmissionsTo === "email" ? p : this.action;
4184
+ Ae(b), fetch(b, {
4172
4185
  body: i,
4173
4186
  headers: r,
4174
4187
  method: this.method || "post"
@@ -4176,34 +4189,34 @@ const Jr = /* @__PURE__ */ v(Kr, [["render", Gr]]), Qr = {
4176
4189
  async (c) => {
4177
4190
  var g, A;
4178
4191
  let m;
4179
- const b = c.headers.get("content-type");
4180
- if (b && b.indexOf("application/json") !== -1 ? m = await c.json() : m = await c.text(), !c.ok) {
4181
- const U = new CustomEvent("submit:error", {
4192
+ const f = c.headers.get("content-type");
4193
+ if (f && f.indexOf("application/json") !== -1 ? m = await c.json() : m = await c.text(), !c.ok) {
4194
+ const x = new CustomEvent("submit:error", {
4182
4195
  detail: {
4183
4196
  error: m,
4184
4197
  status: c.status
4185
4198
  }
4186
4199
  });
4187
4200
  if ((g = this.$refs.formRef) != null && g.nativeElement && ((A = this.$refs.formRef) == null || A.nativeElement.dispatchEvent(
4188
- U
4189
- ), U.defaultPrevented))
4201
+ x
4202
+ ), x.defaultPrevented))
4190
4203
  return;
4191
4204
  this.responseData = m, this.formState = "error";
4192
- let V = this.errorMessagePath ? tt(m, this.errorMessagePath) : m.message || m.error || m;
4205
+ let V = this.errorMessagePath ? nt(m, this.errorMessagePath) : m.message || m.error || m;
4193
4206
  typeof V != "string" && (V = JSON.stringify(V)), this.formErrorMessage = V, this.mergeNewRootState({
4194
4207
  formErrorMessage: V
4195
4208
  });
4196
4209
  return;
4197
4210
  }
4198
4211
  if (this.responseData = m, this.formState = c.ok ? "success" : "error", c.ok) {
4199
- const U = new CustomEvent("submit:success", {
4212
+ const x = new CustomEvent("submit:success", {
4200
4213
  detail: {
4201
4214
  res: c,
4202
4215
  body: m
4203
4216
  }
4204
4217
  });
4205
4218
  if (this.$refs.formRef) {
4206
- if (this.$refs.formRef.dispatchEvent(U), U.defaultPrevented)
4219
+ if (this.$refs.formRef.dispatchEvent(x), x.defaultPrevented)
4207
4220
  return;
4208
4221
  this.resetFormOnSubmit !== !1 && this.$refs.formRef.reset();
4209
4222
  }
@@ -4231,11 +4244,11 @@ const Jr = /* @__PURE__ */ v(Kr, [["render", Gr]]), Qr = {
4231
4244
  }
4232
4245
  }
4233
4246
  }
4234
- }), _r = ["validate", "action", "method", "name"], ei = {
4247
+ }), ei = ["validate", "action", "method", "name"], ti = {
4235
4248
  key: 2,
4236
4249
  class: "builder-form-error-text pre-2oa2wtipkzk"
4237
4250
  };
4238
- function ti(e, t, n, o, r, i) {
4251
+ function ni(e, t, n, o, r, i) {
4239
4252
  const s = k("Blocks");
4240
4253
  return d(), h("form", $({
4241
4254
  validate: e.validate,
@@ -4244,30 +4257,30 @@ function ti(e, t, n, o, r, i) {
4244
4257
  method: e.method,
4245
4258
  name: e.name,
4246
4259
  onSubmit: t[0] || (t[0] = async (l) => e.onSubmit(l))
4247
- }, { ...e.filterAttrs(e.attributes, "v-on:", !1) }, L(e.filterAttrs(e.attributes, "v-on:", !0), !0)), [
4260
+ }, { ...e.filterAttrs(e.attributes, "v-on:", !1) }, U(e.filterAttrs(e.attributes, "v-on:", !0), !0)), [
4248
4261
  N(e.$slots, "default", {}, void 0, !0),
4249
4262
  e.submissionState() === "error" ? (d(), S(s, {
4250
4263
  key: 0,
4251
4264
  path: "errorMessage",
4252
4265
  blocks: e.errorMessage,
4253
4266
  context: e.builderContext
4254
- }, null, 8, ["blocks", "context"])) : C("", !0),
4267
+ }, null, 8, ["blocks", "context"])) : T("", !0),
4255
4268
  e.submissionState() === "sending" ? (d(), S(s, {
4256
4269
  key: 1,
4257
4270
  path: "sendingMessage",
4258
4271
  blocks: e.sendingMessage,
4259
4272
  context: e.builderContext
4260
- }, null, 8, ["blocks", "context"])) : C("", !0),
4261
- e.submissionState() === "error" && e.responseData ? (d(), h("pre", ei, de(e.errorResponse(e.responseData)), 1)) : C("", !0),
4273
+ }, null, 8, ["blocks", "context"])) : T("", !0),
4274
+ e.submissionState() === "error" && e.responseData ? (d(), h("pre", ti, pe(e.errorResponse(e.responseData)), 1)) : T("", !0),
4262
4275
  e.submissionState() === "success" ? (d(), S(s, {
4263
4276
  key: 3,
4264
4277
  path: "successMessage",
4265
4278
  blocks: e.successMessage,
4266
4279
  context: e.builderContext
4267
- }, null, 8, ["blocks", "context"])) : C("", !0)
4268
- ], 16, _r);
4280
+ }, null, 8, ["blocks", "context"])) : T("", !0)
4281
+ ], 16, ei);
4269
4282
  }
4270
- const ni = /* @__PURE__ */ v(Zr, [["render", ti], ["__scopeId", "data-v-77c7888c"]]), oi = {
4283
+ const oi = /* @__PURE__ */ v(_r, [["render", ni], ["__scopeId", "data-v-77c7888c"]]), ri = {
4271
4284
  name: "Form:Input",
4272
4285
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fad6f37889d9e40bbbbc72cdb5875d6ca",
4273
4286
  inputs: [
@@ -4318,7 +4331,7 @@ const ni = /* @__PURE__ */ v(Zr, [["render", ti], ["__scopeId", "data-v-77c7888c
4318
4331
  borderStyle: "solid",
4319
4332
  borderColor: "#ccc"
4320
4333
  }
4321
- }, ri = y({
4334
+ }, ii = y({
4322
4335
  name: "builder-form-input-component",
4323
4336
  props: [
4324
4337
  "attributes",
@@ -4330,10 +4343,10 @@ const ni = /* @__PURE__ */ v(Zr, [["render", ti], ["__scopeId", "data-v-77c7888c
4330
4343
  "required"
4331
4344
  ],
4332
4345
  data() {
4333
- return { isEditing: P, filterAttrs: W };
4346
+ return { isEditing: P, filterAttrs: O };
4334
4347
  }
4335
- }), ii = ["placeholder", "type", "name", "value", "defaultValue", "required"];
4336
- function si(e, t, n, o, r, i) {
4348
+ }), si = ["placeholder", "type", "name", "value", "defaultValue", "required"];
4349
+ function ai(e, t, n, o, r, i) {
4337
4350
  return d(), h("input", $({
4338
4351
  key: e.isEditing() && e.defaultValue ? e.defaultValue : "default-key",
4339
4352
  placeholder: e.placeholder,
@@ -4342,9 +4355,9 @@ function si(e, t, n, o, r, i) {
4342
4355
  value: e.value,
4343
4356
  defaultValue: e.defaultValue,
4344
4357
  required: e.required
4345
- }, e.filterAttrs(e.attributes, "v-on:", !1), L(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16, ii);
4358
+ }, e.filterAttrs(e.attributes, "v-on:", !1), U(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16, si);
4346
4359
  }
4347
- const ai = /* @__PURE__ */ v(ri, [["render", si]]), li = {
4360
+ const li = /* @__PURE__ */ v(ii, [["render", ai]]), ci = {
4348
4361
  name: "Form:Select",
4349
4362
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F83acca093fb24aaf94dee136e9a4b045",
4350
4363
  defaultStyles: {
@@ -4386,28 +4399,28 @@ const ai = /* @__PURE__ */ v(ri, [["render", si]]), li = {
4386
4399
  }],
4387
4400
  static: !0,
4388
4401
  noWrap: !0
4389
- }, ci = y({
4402
+ }, di = y({
4390
4403
  name: "builder-select-component",
4391
4404
  props: ["attributes", "value", "defaultValue", "name", "required", "options"],
4392
4405
  data() {
4393
- return { isEditing: P, filterAttrs: W };
4406
+ return { isEditing: P, filterAttrs: O };
4394
4407
  }
4395
- }), di = ["value", "defaultValue", "name", "required"], ui = ["value"];
4396
- function pi(e, t, n, o, r, i) {
4408
+ }), ui = ["value", "defaultValue", "name", "required"], pi = ["value"];
4409
+ function mi(e, t, n, o, r, i) {
4397
4410
  return d(), h("select", $({
4398
4411
  value: e.value,
4399
4412
  key: e.isEditing() && e.defaultValue ? e.defaultValue : "default-key",
4400
4413
  defaultValue: e.defaultValue,
4401
4414
  name: e.name,
4402
4415
  required: e.required
4403
- }, e.filterAttrs(e.attributes, "v-on:", !1), L(e.filterAttrs(e.attributes, "v-on:", !0), !0)), [
4404
- (d(!0), h(I, null, F(e.options, (s, l) => (d(), h("option", {
4416
+ }, e.filterAttrs(e.attributes, "v-on:", !1), U(e.filterAttrs(e.attributes, "v-on:", !0), !0)), [
4417
+ (d(!0), h(I, null, L(e.options, (s, l) => (d(), h("option", {
4405
4418
  key: `${s.name}-${l}`,
4406
4419
  value: s.value
4407
- }, de(s.name || s.value), 9, ui))), 128))
4408
- ], 16, di);
4420
+ }, pe(s.name || s.value), 9, pi))), 128))
4421
+ ], 16, ui);
4409
4422
  }
4410
- const mi = /* @__PURE__ */ v(ci, [["render", pi]]), hi = {
4423
+ const hi = /* @__PURE__ */ v(di, [["render", mi]]), fi = {
4411
4424
  name: "Form:SubmitButton",
4412
4425
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fdf2820ffed1f4349a94c40b3221f5b98",
4413
4426
  defaultStyles: {
@@ -4432,17 +4445,17 @@ const mi = /* @__PURE__ */ v(ci, [["render", pi]]), hi = {
4432
4445
  // that only shows if advanced setting is flipped
4433
4446
  // TODO: defaultChildren
4434
4447
  // canHaveChildren: true,
4435
- }, fi = y({
4448
+ }, bi = y({
4436
4449
  name: "builder-submit-button",
4437
4450
  props: ["attributes", "text"],
4438
4451
  data() {
4439
- return { filterAttrs: W };
4452
+ return { filterAttrs: O };
4440
4453
  }
4441
4454
  });
4442
- function bi(e, t, n, o, r, i) {
4443
- return d(), h("button", $({ type: "submit" }, e.filterAttrs(e.attributes, "v-on:", !1), L(e.filterAttrs(e.attributes, "v-on:", !0), !0)), de(e.text), 17);
4455
+ function gi(e, t, n, o, r, i) {
4456
+ return d(), h("button", $({ type: "submit" }, e.filterAttrs(e.attributes, "v-on:", !1), U(e.filterAttrs(e.attributes, "v-on:", !0), !0)), pe(e.text), 17);
4444
4457
  }
4445
- const gi = /* @__PURE__ */ v(fi, [["render", bi]]), yi = {
4458
+ const yi = /* @__PURE__ */ v(bi, [["render", gi]]), vi = {
4446
4459
  name: "Form:TextArea",
4447
4460
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Ff74a2f3de58c4c3e939204e5b6b8f6c3",
4448
4461
  inputs: [{
@@ -4478,7 +4491,7 @@ const gi = /* @__PURE__ */ v(fi, [["render", bi]]), yi = {
4478
4491
  },
4479
4492
  static: !0,
4480
4493
  noWrap: !0
4481
- }, vi = y({
4494
+ }, Si = y({
4482
4495
  name: "builder-textarea",
4483
4496
  props: [
4484
4497
  "attributes",
@@ -4489,19 +4502,19 @@ const gi = /* @__PURE__ */ v(fi, [["render", bi]]), yi = {
4489
4502
  "required"
4490
4503
  ],
4491
4504
  data() {
4492
- return { filterAttrs: W };
4505
+ return { filterAttrs: O };
4493
4506
  }
4494
- }), Si = ["placeholder", "name", "value", "defaultValue", "required"];
4495
- function ki(e, t, n, o, r, i) {
4507
+ }), ki = ["placeholder", "name", "value", "defaultValue", "required"];
4508
+ function Ci(e, t, n, o, r, i) {
4496
4509
  return d(), h("textarea", $({
4497
4510
  placeholder: e.placeholder,
4498
4511
  name: e.name,
4499
4512
  value: e.value,
4500
4513
  defaultValue: e.defaultValue,
4501
4514
  required: e.required
4502
- }, e.filterAttrs(e.attributes, "v-on:", !1), L(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16, Si);
4515
+ }, e.filterAttrs(e.attributes, "v-on:", !1), U(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16, ki);
4503
4516
  }
4504
- const Ci = /* @__PURE__ */ v(vi, [["render", ki]]), Ti = {
4517
+ const Ti = /* @__PURE__ */ v(Si, [["render", Ci]]), wi = {
4505
4518
  name: "Raw:Img",
4506
4519
  hideFromInsertMenu: !0,
4507
4520
  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",
@@ -4509,7 +4522,7 @@ const Ci = /* @__PURE__ */ v(vi, [["render", ki]]), Ti = {
4509
4522
  name: "image",
4510
4523
  bubble: !0,
4511
4524
  type: "file",
4512
- allowedFileTypes: Oe,
4525
+ allowedFileTypes: xe,
4513
4526
  required: !0
4514
4527
  }, {
4515
4528
  name: "backgroundSize",
@@ -4545,7 +4558,7 @@ const Ci = /* @__PURE__ */ v(vi, [["render", ki]]), Ti = {
4545
4558
  defaultValue: 0.7041
4546
4559
  }],
4547
4560
  noWrap: !0
4548
- }, wi = y({
4561
+ }, Ii = y({
4549
4562
  name: "builder-img-component",
4550
4563
  props: [
4551
4564
  "imgSrc",
@@ -4564,19 +4577,19 @@ const Ci = /* @__PURE__ */ v(vi, [["render", ki]]), Ti = {
4564
4577
  srcSetToUse() {
4565
4578
  const e = this.imgSrc || this.image;
4566
4579
  if (!(!e || typeof e != "string") && e.match(/builder\.io/))
4567
- return oe(e);
4580
+ return ie(e);
4568
4581
  },
4569
4582
  imgAttrs() {
4570
4583
  const e = {
4571
- ...W(this.attributes, "v-on:", !1),
4572
- ...W(this.attributes, "v-on:", !0),
4573
- [j()]: `builder-raw-img ${this.attributes[j()] || ""}`
4584
+ ...O(this.attributes, "v-on:", !1),
4585
+ ...O(this.attributes, "v-on:", !0),
4586
+ [M()]: `builder-raw-img ${this.attributes[M()] || ""}`
4574
4587
  };
4575
4588
  return delete e.style, e;
4576
4589
  }
4577
4590
  }
4578
- }), Ii = ["alt", "title", "src"];
4579
- function $i(e, t, n, o, r, i) {
4591
+ }), $i = ["alt", "title", "src"];
4592
+ function Ei(e, t, n, o, r, i) {
4580
4593
  var s;
4581
4594
  return d(), h("img", $({
4582
4595
  loading: "lazy",
@@ -4590,9 +4603,9 @@ function $i(e, t, n, o, r, i) {
4590
4603
  aspectRatio: e.aspectRatio || void 0,
4591
4604
  ...((s = e.attributes) == null ? void 0 : s.style) || {}
4592
4605
  }
4593
- }, e.imgAttrs), null, 16, Ii);
4606
+ }, e.imgAttrs), null, 16, $i);
4594
4607
  }
4595
- const Ei = /* @__PURE__ */ v(wi, [["render", $i]]), Ri = {
4608
+ const Ri = /* @__PURE__ */ v(Ii, [["render", Ei]]), Pi = {
4596
4609
  name: "Video",
4597
4610
  canHaveChildren: !0,
4598
4611
  defaultStyles: {
@@ -4603,14 +4616,14 @@ const Ei = /* @__PURE__ */ v(wi, [["render", $i]]), Ri = {
4603
4616
  inputs: [{
4604
4617
  name: "video",
4605
4618
  type: "file",
4606
- allowedFileTypes: hr,
4619
+ allowedFileTypes: fr,
4607
4620
  bubble: !0,
4608
4621
  defaultValue: "https://cdn.builder.io/o/assets%2FYJIGb4i01jvw0SRdL5Bt%2Fd27731a526464deba0016216f5f9e570%2Fcompressed?apiKey=YJIGb4i01jvw0SRdL5Bt&token=d27731a526464deba0016216f5f9e570&alt=media&optimized=true",
4609
4622
  required: !0
4610
4623
  }, {
4611
4624
  name: "posterImage",
4612
4625
  type: "file",
4613
- allowedFileTypes: Oe,
4626
+ allowedFileTypes: xe,
4614
4627
  helperText: "Image to show before the video plays"
4615
4628
  }, {
4616
4629
  name: "autoPlay",
@@ -4676,7 +4689,7 @@ const Ei = /* @__PURE__ */ v(wi, [["render", $i]]), Ri = {
4676
4689
  shouldReceiveBuilderProps: {
4677
4690
  builderBlock: !0
4678
4691
  }
4679
- }, Pi = y({
4692
+ }, Ai = y({
4680
4693
  name: "builder-video",
4681
4694
  props: [
4682
4695
  "lazyLoad",
@@ -4749,16 +4762,16 @@ const Ei = /* @__PURE__ */ v(wi, [["render", $i]]), Ri = {
4749
4762
  };
4750
4763
  }
4751
4764
  }
4752
- }), Ai = { style: {
4765
+ }), Bi = { style: {
4753
4766
  position: "relative"
4754
- } }, Bi = ["preload", "poster"], Vi = {
4767
+ } }, Vi = ["preload", "poster"], Ni = {
4755
4768
  key: 1,
4756
4769
  style: {
4757
4770
  display: "flex",
4758
4771
  flexDirection: "column",
4759
4772
  alignItems: "stretch"
4760
4773
  }
4761
- }, Ni = {
4774
+ }, Oi = {
4762
4775
  key: 2,
4763
4776
  style: {
4764
4777
  pointerEvents: "none",
@@ -4773,9 +4786,9 @@ const Ei = /* @__PURE__ */ v(wi, [["render", $i]]), Ri = {
4773
4786
  }
4774
4787
  };
4775
4788
  function Wi(e, t, n, o, r, i) {
4776
- var s, l, a, u, p, f, c;
4777
- return d(), h("div", Ai, [
4778
- q("video", $({
4789
+ var s, l, a, u, p, b, c;
4790
+ return d(), h("div", Bi, [
4791
+ G("video", $({
4779
4792
  class: "builder-video",
4780
4793
  ref: "videoRef",
4781
4794
  preload: e.lazyLoad ? "none" : e.preload || "metadata",
@@ -4794,7 +4807,7 @@ function Wi(e, t, n, o, r, i) {
4794
4807
  },
4795
4808
  poster: e.posterImage
4796
4809
  }, e.spreadProps), [
4797
- q("source", $(
4810
+ G("source", $(
4798
4811
  { type: "video/mp4" },
4799
4812
  e.lazyLoad ? {
4800
4813
  "data-src": e.video
@@ -4802,85 +4815,85 @@ function Wi(e, t, n, o, r, i) {
4802
4815
  src: e.video
4803
4816
  }
4804
4817
  ), null, 16)
4805
- ], 16, Bi),
4818
+ ], 16, Vi),
4806
4819
  e.aspectRatio && !(e.fitContent && ((a = (l = e.builderBlock) == null ? void 0 : l.children) != null && a.length)) ? (d(), h("div", {
4807
4820
  key: 0,
4808
- style: M({
4821
+ style: H({
4809
4822
  width: "100%",
4810
4823
  paddingTop: e.aspectRatio * 100 + "%",
4811
4824
  pointerEvents: "none",
4812
4825
  fontSize: "0px"
4813
4826
  })
4814
- }, null, 4)) : C("", !0),
4815
- (p = (u = e.builderBlock) == null ? void 0 : u.children) != null && p.length && e.fitContent ? (d(), h("div", Vi, [
4827
+ }, null, 4)) : T("", !0),
4828
+ (p = (u = e.builderBlock) == null ? void 0 : u.children) != null && p.length && e.fitContent ? (d(), h("div", Ni, [
4816
4829
  N(e.$slots, "default")
4817
- ])) : C("", !0),
4818
- (c = (f = e.builderBlock) == null ? void 0 : f.children) != null && c.length && !e.fitContent ? (d(), h("div", Ni, [
4830
+ ])) : T("", !0),
4831
+ (c = (b = e.builderBlock) == null ? void 0 : b.children) != null && c.length && !e.fitContent ? (d(), h("div", Oi, [
4819
4832
  N(e.$slots, "default")
4820
- ])) : C("", !0)
4833
+ ])) : T("", !0)
4821
4834
  ]);
4822
4835
  }
4823
- const Oi = /* @__PURE__ */ v(Pi, [["render", Wi]]), Di = () => [{
4824
- component: Hr,
4825
- ...xr
4826
- }, {
4827
- component: Jr,
4828
- ...Mr
4836
+ const Di = /* @__PURE__ */ v(Ai, [["render", Wi]]), xi = () => [{
4837
+ component: Mr,
4838
+ ...Ur
4829
4839
  }, {
4830
- component: ni,
4831
- ...Qr
4840
+ component: Qr,
4841
+ ...jr
4832
4842
  }, {
4833
- component: ai,
4834
- ...oi
4843
+ component: oi,
4844
+ ...Yr
4835
4845
  }, {
4836
- component: gi,
4837
- ...hi
4846
+ component: li,
4847
+ ...ri
4838
4848
  }, {
4839
- component: mi,
4840
- ...li
4849
+ component: yi,
4850
+ ...fi
4841
4851
  }, {
4842
- component: Ci,
4843
- ...yi
4852
+ component: hi,
4853
+ ...ci
4844
4854
  }, {
4845
- component: Ei,
4846
- ...Ti
4855
+ component: Ti,
4856
+ ...vi
4847
4857
  }, {
4848
- component: Oi,
4849
- ...Ri
4850
- }], Ye = () => [{
4851
- component: Mt,
4852
- ...ur
4858
+ component: Ri,
4859
+ ...wi
4853
4860
  }, {
4854
- component: No,
4861
+ component: Di,
4862
+ ...Pi
4863
+ }], Xe = () => [{
4864
+ component: jt,
4855
4865
  ...pr
4856
4866
  }, {
4857
- component: Do,
4867
+ component: Oo,
4858
4868
  ...mr
4859
4869
  }, {
4860
- component: zo,
4861
- ...fr
4870
+ component: xo,
4871
+ ...hr
4862
4872
  }, {
4863
- component: Go,
4864
- ...Sr
4873
+ component: Ko,
4874
+ ...br
4865
4875
  }, {
4866
- component: wr,
4876
+ component: Jo,
4867
4877
  ...kr
4868
4878
  }, {
4869
- component: Ss,
4870
- ...Ir
4879
+ component: Ir,
4880
+ ...Cr
4871
4881
  }, {
4872
- component: Dr,
4873
- ...Vr
4874
- }, ...Bt.includes(E) ? [{
4875
- component: vr,
4876
- ...br
4877
- }] : [], {
4878
- component: Br,
4882
+ component: ks,
4879
4883
  ...$r
4880
4884
  }, {
4881
- component: dr,
4882
- ...ir
4883
- }, ...Di()], xi = `function updateCookiesAndStyles(contentId, variants, isHydrationTarget, isAngularSDK) {
4885
+ component: xr,
4886
+ ...Nr
4887
+ }, ...Vt.includes(E) ? [{
4888
+ component: Sr,
4889
+ ...gr
4890
+ }] : [], {
4891
+ component: Vr,
4892
+ ...Er
4893
+ }, {
4894
+ component: ur,
4895
+ ...sr
4896
+ }, ...xi()], Ui = `function updateCookiesAndStyles(contentId, variants, isHydrationTarget, isAngularSDK) {
4884
4897
  function getAndSetVariantId() {
4885
4898
  function setCookie(name, value, days) {
4886
4899
  let expires = '';
@@ -4939,7 +4952,7 @@ const Oi = /* @__PURE__ */ v(Pi, [["render", Wi]]), Di = () => [{
4939
4952
  }).join('');
4940
4953
  styleEl.innerHTML = newStyleStr;
4941
4954
  }
4942
- }`, Ui = `function updateVariantVisibility(variantContentId, defaultContentId, isHydrationTarget) {
4955
+ }`, Li = `function updateVariantVisibility(variantContentId, defaultContentId, isHydrationTarget) {
4943
4956
  if (!navigator.cookieEnabled) {
4944
4957
  return;
4945
4958
  }
@@ -4973,37 +4986,37 @@ const Oi = /* @__PURE__ */ v(Pi, [["render", Wi]]), Di = () => [{
4973
4986
  thisScriptEl?.remove();
4974
4987
  }
4975
4988
  return;
4976
- }`, we = "builderIoAbTest", Ie = "builderIoRenderContent", ie = (e) => Object.values((e == null ? void 0 : e.variations) || {}).map((t) => ({
4989
+ }`, $e = "builderIoAbTest", Ee = "builderIoRenderContent", ae = (e) => Object.values((e == null ? void 0 : e.variations) || {}).map((t) => ({
4977
4990
  ...t,
4978
4991
  testVariationId: t.id,
4979
4992
  id: e == null ? void 0 : e.id
4980
- })), Li = ({
4993
+ })), Fi = ({
4981
4994
  canTrack: e,
4982
4995
  content: t
4983
- }) => !(!(ie(t).length > 0) || !e), Fi = (e) => e === "react" || e === "reactNative", Hi = E === "angular", xe = Fi(E), Mi = () => `
4996
+ }) => !(!(ae(t).length > 0) || !e), Hi = (e) => e === "react" || e === "reactNative", Mi = E === "angular", Le = Hi(E), ji = () => `
4984
4997
  (function() {
4985
- if (!window.${we}) {
4986
- window.${we} = ${xi};
4998
+ if (!window.${$e}) {
4999
+ window.${$e} = ${Ui};
4987
5000
  }
4988
- if (!window.${Ie}) {
4989
- window.${Ie} = ${Ui};
4990
- }${xe ? `
5001
+ if (!window.${Ee}) {
5002
+ window.${Ee} = ${Li};
5003
+ }${Le ? `
4991
5004
  var thisScriptEl = document.currentScript;
4992
5005
  if (thisScriptEl) { thisScriptEl.remove(); }` : ""}
4993
5006
  })();
4994
- `, ji = (e, t) => `
4995
- window.${we}(
4996
- "${t}",${JSON.stringify(e)}, ${xe}, ${Hi}
4997
- )`, zi = ({
5007
+ `, zi = (e, t) => `
5008
+ window.${$e}(
5009
+ "${t}",${JSON.stringify(e)}, ${Le}, ${Mi}
5010
+ )`, Ki = ({
4998
5011
  contentId: e,
4999
5012
  variationId: t
5000
- }) => `window.${Ie}(
5001
- "${t}", "${e}", ${xe}
5013
+ }) => `window.${Ee}(
5014
+ "${t}", "${e}", ${Le}
5002
5015
  )`;
5003
- function Xe(e) {
5016
+ function Ze(e) {
5004
5017
  return Math.round(e * 1e3) / 1e3;
5005
5018
  }
5006
- const Ki = (e, t, n = !0) => {
5019
+ const qi = (e, t, n = !0) => {
5007
5020
  if (!(e instanceof HTMLElement))
5008
5021
  return null;
5009
5022
  let o = n ? e : e.parentElement;
@@ -5014,35 +5027,35 @@ const Ki = (e, t, n = !0) => {
5014
5027
  return o;
5015
5028
  } while (o = o.parentElement);
5016
5029
  return null;
5017
- }, qi = (e) => Ki(e, (t) => {
5030
+ }, Gi = (e) => qi(e, (t) => {
5018
5031
  const n = t.getAttribute("builder-id") || t.id;
5019
5032
  return (n == null ? void 0 : n.indexOf("builder-")) === 0;
5020
- }), Ze = ({
5033
+ }), _e = ({
5021
5034
  event: e,
5022
5035
  target: t
5023
5036
  }) => {
5024
- const n = t.getBoundingClientRect(), o = e.clientX - n.left, r = e.clientY - n.top, i = Xe(o / n.width), s = Xe(r / n.height);
5037
+ const n = t.getBoundingClientRect(), o = e.clientX - n.left, r = e.clientY - n.top, i = Ze(o / n.width), s = Ze(r / n.height);
5025
5038
  return {
5026
5039
  x: i,
5027
5040
  y: s
5028
5041
  };
5029
- }, Gi = (e) => {
5030
- const t = e.target, n = t && qi(t), o = (n == null ? void 0 : n.getAttribute("builder-id")) || (n == null ? void 0 : n.id);
5042
+ }, Ji = (e) => {
5043
+ const t = e.target, n = t && Gi(t), o = (n == null ? void 0 : n.getAttribute("builder-id")) || (n == null ? void 0 : n.id);
5031
5044
  return {
5032
5045
  targetBuilderElement: o || void 0,
5033
5046
  metadata: {
5034
- targetOffset: t ? Ze({
5047
+ targetOffset: t ? _e({
5035
5048
  event: e,
5036
5049
  target: t
5037
5050
  }) : void 0,
5038
- builderTargetOffset: n ? Ze({
5051
+ builderTargetOffset: n ? _e({
5039
5052
  event: e,
5040
5053
  target: n
5041
5054
  }) : void 0,
5042
5055
  builderElementIndex: n && o ? [].slice.call(document.getElementsByClassName(o)).indexOf(n) : void 0
5043
5056
  }
5044
5057
  };
5045
- }, Ji = ["svelte", "qwik", "vue"], Qi = () => Ji.includes(E) && (P() || Ae()), Yi = (e) => {
5058
+ }, Qi = ["svelte", "qwik", "vue"], Yi = () => Qi.includes(E) && (P() || Ve()), Xi = (e) => {
5046
5059
  var i;
5047
5060
  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);
5048
5061
  let r = "";
@@ -5068,15 +5081,15 @@ font-weight: ${s};
5068
5081
  `.trim());
5069
5082
  }
5070
5083
  return r;
5071
- }, Xi = ({
5084
+ }, Zi = ({
5072
5085
  customFonts: e
5073
5086
  }) => {
5074
5087
  var t;
5075
- return ((t = e == null ? void 0 : e.map((n) => Yi(n))) == null ? void 0 : t.join(" ")) || "";
5076
- }, Zi = ({
5088
+ return ((t = e == null ? void 0 : e.map((n) => Xi(n))) == null ? void 0 : t.join(" ")) || "";
5089
+ }, _i = ({
5077
5090
  cssCode: e,
5078
5091
  contentId: t
5079
- }) => e ? t ? (e == null ? void 0 : e.replace(/&/g, `div[builder-content-id="${t}"]`)) || "" : e : "", _i = `
5092
+ }) => e ? t ? (e == null ? void 0 : e.replace(/&/g, `div[builder-content-id="${t}"]`)) || "" : e : "", es = `
5080
5093
  .builder-button {
5081
5094
  all: unset;
5082
5095
  }
@@ -5093,9 +5106,9 @@ font-weight: ${s};
5093
5106
  text-align: inherit;
5094
5107
  font-family: inherit;
5095
5108
  }
5096
- `, es = (e) => e ? "" : _i, ts = (e) => `variant-${e}`, ns = y({
5109
+ `, ts = (e) => e ? "" : es, ns = (e) => `variant-${e}`, os = y({
5097
5110
  name: "enable-editor",
5098
- components: { DynamicDiv: te },
5111
+ components: { DynamicDiv: ne },
5099
5112
  props: [
5100
5113
  "isNestedRender",
5101
5114
  "builderContextSignal",
@@ -5104,6 +5117,7 @@ font-weight: ${s};
5104
5117
  "apiHost",
5105
5118
  "locale",
5106
5119
  "enrich",
5120
+ "enrichOptions",
5107
5121
  "trustedHosts",
5108
5122
  "model",
5109
5123
  "content",
@@ -5124,15 +5138,15 @@ font-weight: ${s};
5124
5138
  httpReqsData: {},
5125
5139
  httpReqsPending: {},
5126
5140
  clicked: !1,
5127
- builderContext: ge,
5128
- needsElementRefDivForEditing: Qi,
5129
- getWrapperClassName: ts
5141
+ builderContext: ve,
5142
+ needsElementRefDivForEditing: Yi,
5143
+ getWrapperClassName: ns
5130
5144
  };
5131
5145
  },
5132
5146
  provide() {
5133
5147
  const e = this;
5134
5148
  return {
5135
- [ge.key]: e.builderContextSignal
5149
+ [ve.key]: e.builderContextSignal
5136
5150
  };
5137
5151
  },
5138
5152
  created() {
@@ -5140,17 +5154,17 @@ font-weight: ${s};
5140
5154
  },
5141
5155
  mounted() {
5142
5156
  var e, t, n;
5143
- if (T()) {
5157
+ if (w()) {
5144
5158
  P() && !this.isNestedRender && this.$refs.elementRef && this.$refs.elementRef.dispatchEvent(
5145
5159
  new CustomEvent("initeditingbldr")
5146
5160
  );
5147
- const o = this.builderContextSignal.content && G(this.canTrack), r = ue({
5161
+ const o = this.builderContextSignal.content && J(this.canTrack), r = me({
5148
5162
  name: `builder.tests.${(e = this.builderContextSignal.content) == null ? void 0 : e.id}`,
5149
5163
  canTrack: !0
5150
5164
  }), i = (t = this.builderContextSignal.content) == null ? void 0 : t.testVariationId;
5151
5165
  if (o && i === r) {
5152
5166
  const s = (n = this.builderContextSignal.content) == null ? void 0 : n.id, l = this.apiKey;
5153
- se({
5167
+ le({
5154
5168
  apiHost: this.apiHost,
5155
5169
  type: "impression",
5156
5170
  canTrack: !0,
@@ -5159,7 +5173,7 @@ font-weight: ${s};
5159
5173
  variationId: r !== s ? r : void 0
5160
5174
  });
5161
5175
  }
5162
- Ae() && !P() && this.$refs.elementRef && this.$refs.elementRef.dispatchEvent(
5176
+ Ve() && !P() && this.$refs.elementRef && this.$refs.elementRef.dispatchEvent(
5163
5177
  new CustomEvent("initpreviewingbldr")
5164
5178
  );
5165
5179
  }
@@ -5201,7 +5215,7 @@ font-weight: ${s};
5201
5215
  }
5202
5216
  },
5203
5217
  unmounted() {
5204
- T() && (window.removeEventListener("message", this.processMessage), window.removeEventListener(
5218
+ w() && (window.removeEventListener("message", this.processMessage), window.removeEventListener(
5205
5219
  "builder:component:stateChangeListenerActivated",
5206
5220
  this.emitStateUpdate
5207
5221
  ));
@@ -5261,7 +5275,7 @@ font-weight: ${s};
5261
5275
  this.builderContextSignal.content = n;
5262
5276
  },
5263
5277
  processMessage(e) {
5264
- return yt({
5278
+ return vt({
5265
5279
  model: this.model,
5266
5280
  trustedHosts: this.trustedHosts,
5267
5281
  callbacks: {
@@ -5275,7 +5289,7 @@ font-weight: ${s};
5275
5289
  });
5276
5290
  },
5277
5291
  animation: (t) => {
5278
- It(t);
5292
+ $t(t);
5279
5293
  },
5280
5294
  contentUpdate: (t, n) => {
5281
5295
  this.mergeNewContent(t, n);
@@ -5290,14 +5304,14 @@ font-weight: ${s};
5290
5304
  var t, n;
5291
5305
  if (this.builderContextSignal.content) {
5292
5306
  const o = (t = this.builderContextSignal.content) == null ? void 0 : t.testVariationId, r = (n = this.builderContextSignal.content) == null ? void 0 : n.id;
5293
- se({
5307
+ le({
5294
5308
  apiHost: this.apiHost,
5295
5309
  type: "click",
5296
- canTrack: G(this.canTrack),
5310
+ canTrack: J(this.canTrack),
5297
5311
  contentId: r,
5298
5312
  apiKey: this.apiKey,
5299
5313
  variationId: o !== r ? o : void 0,
5300
- ...Gi(e),
5314
+ ...Ji(e),
5301
5315
  unique: !this.clicked
5302
5316
  });
5303
5317
  }
@@ -5317,9 +5331,9 @@ font-weight: ${s};
5317
5331
  this.httpReqsPending[o] = !0;
5318
5332
  const l = s.replace(
5319
5333
  /{{([^}]+)}}/g,
5320
- (p, f) => String(
5321
- ee({
5322
- code: f,
5334
+ (p, b) => String(
5335
+ te({
5336
+ code: b,
5323
5337
  context: this.context || {},
5324
5338
  localState: void 0,
5325
5339
  rootState: this.builderContextSignal.rootState,
@@ -5335,7 +5349,7 @@ font-weight: ${s};
5335
5349
  url: l,
5336
5350
  method: "GET"
5337
5351
  };
5338
- Re(JSON.stringify(a));
5352
+ Ae(JSON.stringify(a));
5339
5353
  const u = {
5340
5354
  method: a.method,
5341
5355
  headers: a.headers,
@@ -5363,7 +5377,7 @@ font-weight: ${s};
5363
5377
  "builder:component:stateChange",
5364
5378
  {
5365
5379
  detail: {
5366
- state: Pe(this.builderContextSignal.rootState),
5380
+ state: Be(this.builderContextSignal.rootState),
5367
5381
  ref: {
5368
5382
  name: this.model
5369
5383
  }
@@ -5373,13 +5387,16 @@ font-weight: ${s};
5373
5387
  );
5374
5388
  },
5375
5389
  elementRef_onIniteditingbldr(e) {
5376
- window.addEventListener("message", this.processMessage), gt({
5390
+ window.addEventListener("message", this.processMessage), yt({
5377
5391
  ...this.locale ? {
5378
5392
  locale: this.locale
5379
5393
  } : {},
5380
5394
  ...this.enrich ? {
5381
5395
  enrich: this.enrich
5382
5396
  } : {},
5397
+ ...this.enrichOptions ? {
5398
+ enrichOptions: this.enrichOptions
5399
+ } : {},
5383
5400
  ...this.trustedHosts ? {
5384
5401
  trustedHosts: this.trustedHosts
5385
5402
  } : {},
@@ -5390,7 +5407,7 @@ font-weight: ${s};
5390
5407
  ).forEach((t) => {
5391
5408
  var n, o;
5392
5409
  if (!((n = t.models) != null && n.length) || t.models.includes(this.model)) {
5393
- const r = An(t);
5410
+ const r = Bn(t);
5394
5411
  (o = window.parent) == null || o.postMessage(r, "*");
5395
5412
  }
5396
5413
  }), window.addEventListener(
@@ -5403,7 +5420,7 @@ font-weight: ${s};
5403
5420
  const t = new URL(location.href).searchParams, n = t.get("builder.preview"), o = t.get(
5404
5421
  `builder.overrides.${n}`
5405
5422
  ), r = t.get("apiKey") || t.get("builder.space");
5406
- (n === "BUILDER_STUDIO" || n === this.model && r === this.apiKey && (!this.content || o === this.content.id)) && Ne({
5423
+ (n === "BUILDER_STUDIO" || n === this.model && r === this.apiKey && (!this.content || o === this.content.id)) && We({
5407
5424
  model: this.model,
5408
5425
  apiKey: this.apiKey,
5409
5426
  apiVersion: this.builderContextSignal.apiVersion,
@@ -5418,9 +5435,9 @@ font-weight: ${s};
5418
5435
  }
5419
5436
  }
5420
5437
  });
5421
- function os(e, t, n, o, r, i) {
5438
+ function rs(e, t, n, o, r, i) {
5422
5439
  var s, l, a;
5423
- return e.builderContextSignal.content || e.needsElementRefDivForEditing() ? (d(), S(X(e.ContentWrapper), $({
5440
+ return e.builderContextSignal.content || e.needsElementRefDivForEditing() ? (d(), S(Z(e.ContentWrapper), $({
5424
5441
  key: 0,
5425
5442
  ref: "elementRef",
5426
5443
  onClick: (u) => e.onClick(u),
@@ -5433,32 +5450,32 @@ function os(e, t, n, o, r, i) {
5433
5450
  onIniteditingbldr: (u) => e.elementRef_onIniteditingbldr(u),
5434
5451
  onInitpreviewingbldr: (u) => e.elementRef_onInitpreviewingbldr(u)
5435
5452
  }, { ...e.showContentProps, ...e.contentWrapperProps }), {
5436
- default: x(() => [
5453
+ default: D(() => [
5437
5454
  N(e.$slots, "default")
5438
5455
  ]),
5439
5456
  _: 3
5440
- }, 16, ["onClick", "builder-content-id", "builder-model", "className", "style", "onIniteditingbldr", "onInitpreviewingbldr"])) : C("", !0);
5457
+ }, 16, ["onClick", "builder-content-id", "builder-model", "className", "style", "onIniteditingbldr", "onInitpreviewingbldr"])) : T("", !0);
5441
5458
  }
5442
- const rs = /* @__PURE__ */ v(ns, [["render", os]]), is = y({
5459
+ const is = /* @__PURE__ */ v(os, [["render", rs]]), ss = y({
5443
5460
  name: "content-styles",
5444
- components: { InlinedStyles: pe },
5461
+ components: { InlinedStyles: he },
5445
5462
  props: ["cssCode", "contentId", "customFonts", "isNestedRender", "nonce"],
5446
5463
  data() {
5447
5464
  return {
5448
5465
  injectedStyles: `
5449
- ${Zi({
5466
+ ${_i({
5450
5467
  cssCode: this.cssCode,
5451
5468
  contentId: this.contentId
5452
5469
  })}
5453
- ${Xi({
5470
+ ${Zi({
5454
5471
  customFonts: this.customFonts
5455
5472
  })}
5456
- ${es(this.isNestedRender)}
5473
+ ${ts(this.isNestedRender)}
5457
5474
  `.trim()
5458
5475
  };
5459
5476
  }
5460
5477
  });
5461
- function ss(e, t, n, o, r, i) {
5478
+ function as(e, t, n, o, r, i) {
5462
5479
  const s = k("InlinedStyles");
5463
5480
  return d(), S(s, {
5464
5481
  id: "builderio-content",
@@ -5466,7 +5483,7 @@ function ss(e, t, n, o, r, i) {
5466
5483
  nonce: e.nonce
5467
5484
  }, null, 8, ["styles", "nonce"]);
5468
5485
  }
5469
- const as = /* @__PURE__ */ v(is, [["render", ss]]), ls = ({
5486
+ const ls = /* @__PURE__ */ v(ss, [["render", as]]), cs = ({
5470
5487
  content: e,
5471
5488
  data: t,
5472
5489
  locale: n
@@ -5483,7 +5500,7 @@ const as = /* @__PURE__ */ v(is, [["render", ss]]), ls = ({
5483
5500
  locale: n
5484
5501
  } : {}
5485
5502
  };
5486
- }, cs = ({
5503
+ }, ds = ({
5487
5504
  content: e,
5488
5505
  data: t
5489
5506
  }) => e ? {
@@ -5493,14 +5510,14 @@ const as = /* @__PURE__ */ v(is, [["render", ss]]), ls = ({
5493
5510
  ...t
5494
5511
  },
5495
5512
  meta: e == null ? void 0 : e.meta
5496
- } : void 0, ds = Ot, us = y({
5513
+ } : void 0, us = Dt, ps = y({
5497
5514
  name: "content-component",
5498
5515
  components: {
5499
- EnableEditor: rs,
5500
- InlinedScript: De,
5501
- ContentStyles: as,
5516
+ EnableEditor: is,
5517
+ InlinedScript: Ue,
5518
+ ContentStyles: ls,
5502
5519
  Blocks: K,
5503
- DynamicDiv: te
5520
+ DynamicDiv: ne
5504
5521
  },
5505
5522
  props: [
5506
5523
  "content",
@@ -5517,6 +5534,7 @@ const as = /* @__PURE__ */ v(is, [["render", ss]]), ls = ({
5517
5534
  "model",
5518
5535
  "apiHost",
5519
5536
  "enrich",
5537
+ "enrichOptions",
5520
5538
  "showContent",
5521
5539
  "contentWrapper",
5522
5540
  "contentWrapperProps",
@@ -5528,32 +5546,32 @@ const as = /* @__PURE__ */ v(is, [["render", ss]]), ls = ({
5528
5546
  data() {
5529
5547
  var e, t;
5530
5548
  return {
5531
- scriptStr: zi({
5549
+ scriptStr: Ki({
5532
5550
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
5533
5551
  variationId: (e = this.content) == null ? void 0 : e.testVariationId,
5534
5552
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
5535
5553
  contentId: (t = this.content) == null ? void 0 : t.id
5536
5554
  }),
5537
5555
  registeredComponents: [
5538
- ...Ye(),
5556
+ ...Xe(),
5539
5557
  ...this.customComponents || []
5540
5558
  ].reduce(
5541
5559
  (n, { component: o, ...r }) => ({
5542
5560
  ...n,
5543
5561
  [r.name]: {
5544
- component: ds(o),
5545
- ...le(r)
5562
+ component: us(o),
5563
+ ...de(r)
5546
5564
  }
5547
5565
  }),
5548
5566
  {}
5549
5567
  ),
5550
5568
  builderContextSignal: {
5551
- content: cs({
5569
+ content: ds({
5552
5570
  content: this.content,
5553
5571
  data: this.data
5554
5572
  }),
5555
5573
  localState: void 0,
5556
- rootState: ls({
5574
+ rootState: cs({
5557
5575
  content: this.content,
5558
5576
  data: this.data,
5559
5577
  locale: this.locale
@@ -5564,12 +5582,12 @@ const as = /* @__PURE__ */ v(is, [["render", ss]]), ls = ({
5564
5582
  apiKey: this.apiKey,
5565
5583
  apiVersion: this.apiVersion,
5566
5584
  componentInfos: [
5567
- ...Ye(),
5585
+ ...Xe(),
5568
5586
  ...this.customComponents || []
5569
5587
  ].reduce(
5570
5588
  (n, { component: o, ...r }) => ({
5571
5589
  ...n,
5572
- [r.name]: le(r)
5590
+ [r.name]: de(r)
5573
5591
  }),
5574
5592
  {}
5575
5593
  ),
@@ -5585,7 +5603,7 @@ const as = /* @__PURE__ */ v(is, [["render", ss]]), ls = ({
5585
5603
  provide() {
5586
5604
  const e = this;
5587
5605
  return {
5588
- [et.key]: {
5606
+ [tt.key]: {
5589
5607
  registeredComponents: e.registeredComponents
5590
5608
  }
5591
5609
  };
@@ -5596,7 +5614,7 @@ const as = /* @__PURE__ */ v(is, [["render", ss]]), ls = ({
5596
5614
  "No API key provided to `Content` component. This can cause issues. Please provide an API key using the `apiKey` prop."
5597
5615
  );
5598
5616
  const e = (n = (t = this.builderContextSignal.content) == null ? void 0 : t.data) == null ? void 0 : n.jsCode;
5599
- e && ee({
5617
+ e && te({
5600
5618
  code: e,
5601
5619
  context: this.context || {},
5602
5620
  localState: void 0,
@@ -5629,7 +5647,7 @@ const as = /* @__PURE__ */ v(is, [["render", ss]]), ls = ({
5629
5647
  }
5630
5648
  }
5631
5649
  });
5632
- function ps(e, t, n, o, r, i) {
5650
+ function ms(e, t, n, o, r, i) {
5633
5651
  const s = k("InlinedScript"), l = k("ContentStyles"), a = k("Blocks"), u = k("EnableEditor");
5634
5652
  return d(), S(u, $({
5635
5653
  apiHost: e.apiHost,
@@ -5642,6 +5660,7 @@ function ps(e, t, n, o, r, i) {
5642
5660
  canTrack: e.canTrack,
5643
5661
  locale: e.locale,
5644
5662
  enrich: e.enrich,
5663
+ enrichOptions: e.enrichOptions,
5645
5664
  showContent: e.showContent,
5646
5665
  builderContextSignal: e.builderContextSignal,
5647
5666
  contentWrapper: e.contentWrapper,
@@ -5649,23 +5668,23 @@ function ps(e, t, n, o, r, i) {
5649
5668
  trustedHosts: e.trustedHosts,
5650
5669
  isNestedRender: e.isNestedRender
5651
5670
  }, {}), {
5652
- default: x(() => {
5653
- var p, f, c, m, b, g, A;
5671
+ default: D(() => {
5672
+ var p, b, c, m, f, g, A;
5654
5673
  return [
5655
5674
  e.isSsrAbTest ? (d(), S(s, {
5656
5675
  key: 0,
5657
5676
  id: "builderio-variant-visibility",
5658
5677
  scriptStr: e.scriptStr,
5659
5678
  nonce: e.nonce || ""
5660
- }, null, 8, ["scriptStr", "nonce"])) : C("", !0),
5679
+ }, null, 8, ["scriptStr", "nonce"])) : T("", !0),
5661
5680
  e.TARGET !== "reactNative" ? (d(), S(l, {
5662
5681
  key: 1,
5663
5682
  nonce: e.nonce || "",
5664
5683
  isNestedRender: e.isNestedRender,
5665
5684
  contentId: (p = e.builderContextSignal.content) == null ? void 0 : p.id,
5666
- cssCode: (c = (f = e.builderContextSignal.content) == null ? void 0 : f.data) == null ? void 0 : c.cssCode,
5667
- customFonts: (b = (m = e.builderContextSignal.content) == null ? void 0 : m.data) == null ? void 0 : b.customFonts
5668
- }, null, 8, ["nonce", "isNestedRender", "contentId", "cssCode", "customFonts"])) : C("", !0),
5685
+ cssCode: (c = (b = e.builderContextSignal.content) == null ? void 0 : b.data) == null ? void 0 : c.cssCode,
5686
+ customFonts: (f = (m = e.builderContextSignal.content) == null ? void 0 : m.data) == null ? void 0 : f.customFonts
5687
+ }, null, 8, ["nonce", "isNestedRender", "contentId", "cssCode", "customFonts"])) : T("", !0),
5669
5688
  R(a, {
5670
5689
  blocks: (A = (g = e.builderContextSignal.content) == null ? void 0 : g.data) == null ? void 0 : A.blocks,
5671
5690
  context: e.builderContextSignal,
@@ -5675,14 +5694,14 @@ function ps(e, t, n, o, r, i) {
5675
5694
  ];
5676
5695
  }),
5677
5696
  _: 1
5678
- }, 16, ["apiHost", "nonce", "content", "data", "model", "context", "apiKey", "canTrack", "locale", "enrich", "showContent", "builderContextSignal", "contentWrapper", "contentWrapperProps", "trustedHosts", "isNestedRender"]);
5697
+ }, 16, ["apiHost", "nonce", "content", "data", "model", "context", "apiKey", "canTrack", "locale", "enrich", "enrichOptions", "showContent", "builderContextSignal", "contentWrapper", "contentWrapperProps", "trustedHosts", "isNestedRender"]);
5679
5698
  }
5680
- const ms = /* @__PURE__ */ v(us, [["render", ps]]), hs = y({
5699
+ const hs = /* @__PURE__ */ v(ps, [["render", ms]]), fs = y({
5681
5700
  name: "content-variants",
5682
5701
  components: {
5683
- InlinedScript: De,
5684
- InlinedStyles: pe,
5685
- ContentComponent: ms
5702
+ InlinedScript: Ue,
5703
+ InlinedStyles: he,
5704
+ ContentComponent: hs
5686
5705
  },
5687
5706
  props: [
5688
5707
  "canTrack",
@@ -5699,6 +5718,7 @@ const ms = /* @__PURE__ */ v(us, [["render", ps]]), hs = y({
5699
5718
  "linkComponent",
5700
5719
  "locale",
5701
5720
  "enrich",
5721
+ "enrichOptions",
5702
5722
  "blocksWrapper",
5703
5723
  "blocksWrapperProps",
5704
5724
  "contentWrapper",
@@ -5707,16 +5727,16 @@ const ms = /* @__PURE__ */ v(us, [["render", ps]]), hs = y({
5707
5727
  ],
5708
5728
  data() {
5709
5729
  return {
5710
- shouldRenderVariants: Li({
5711
- canTrack: G(this.canTrack),
5730
+ shouldRenderVariants: Fi({
5731
+ canTrack: J(this.canTrack),
5712
5732
  content: this.content
5713
5733
  }),
5714
- shouldEmitPersonalizationFns: tr(this.content),
5715
- SDKS_SUPPORTING_PERSONALIZATION: Bt,
5716
- getInitPersonalizationVariantsFnsScriptString: nr,
5734
+ shouldEmitPersonalizationFns: nr(this.content),
5735
+ SDKS_SUPPORTING_PERSONALIZATION: Vt,
5736
+ getInitPersonalizationVariantsFnsScriptString: or,
5717
5737
  TARGET: E,
5718
- getInitVariantsFnsScriptString: Mi,
5719
- getVariants: ie
5738
+ getInitVariantsFnsScriptString: ji,
5739
+ getVariants: ae
5720
5740
  };
5721
5741
  },
5722
5742
  mounted() {
@@ -5724,8 +5744,8 @@ const ms = /* @__PURE__ */ v(us, [["render", ps]]), hs = y({
5724
5744
  computed: {
5725
5745
  updateCookieAndStylesScriptStr() {
5726
5746
  var e;
5727
- return ji(
5728
- ie(this.content).map((t) => ({
5747
+ return zi(
5748
+ ae(this.content).map((t) => ({
5729
5749
  id: t.testVariationId,
5730
5750
  testRatio: t.testRatio
5731
5751
  })),
@@ -5733,21 +5753,21 @@ const ms = /* @__PURE__ */ v(us, [["render", ps]]), hs = y({
5733
5753
  );
5734
5754
  },
5735
5755
  hideVariantsStyleString() {
5736
- return ie(this.content).map((e) => `.variant-${e.testVariationId} { display: none; } `).join("");
5756
+ return ae(this.content).map((e) => `.variant-${e.testVariationId} { display: none; } `).join("");
5737
5757
  },
5738
5758
  defaultContent() {
5739
5759
  var e;
5740
5760
  return this.shouldRenderVariants ? {
5741
5761
  ...this.content,
5742
5762
  testVariationId: (e = this.content) == null ? void 0 : e.id
5743
- } : Fn({
5763
+ } : Hn({
5744
5764
  item: this.content,
5745
- canTrack: G(this.canTrack)
5765
+ canTrack: J(this.canTrack)
5746
5766
  });
5747
5767
  }
5748
5768
  }
5749
5769
  });
5750
- function fs(e, t, n, o, r, i) {
5770
+ function bs(e, t, n, o, r, i) {
5751
5771
  const s = k("InlinedScript"), l = k("InlinedStyles"), a = k("ContentComponent");
5752
5772
  return d(), h(I, null, [
5753
5773
  e.shouldEmitPersonalizationFns ? (d(), h(I, { key: 0 }, [
@@ -5756,8 +5776,8 @@ function fs(e, t, n, o, r, i) {
5756
5776
  id: "builderio-init-personalization-variants-fns",
5757
5777
  nonce: e.nonce || "",
5758
5778
  scriptStr: e.getInitPersonalizationVariantsFnsScriptString()
5759
- }, null, 8, ["nonce", "scriptStr"])) : C("", !0)
5760
- ], 64)) : C("", !0),
5779
+ }, null, 8, ["nonce", "scriptStr"])) : T("", !0)
5780
+ ], 64)) : T("", !0),
5761
5781
  e.shouldRenderVariants ? (d(), h(I, { key: 1 }, [
5762
5782
  R(s, {
5763
5783
  id: "builderio-init-variants-fns",
@@ -5774,7 +5794,7 @@ function fs(e, t, n, o, r, i) {
5774
5794
  scriptStr: e.updateCookieAndStylesScriptStr,
5775
5795
  nonce: e.nonce || ""
5776
5796
  }, null, 8, ["scriptStr", "nonce"]),
5777
- (d(!0), h(I, null, F(e.getVariants(e.content), (u, p) => (d(), S(a, $({
5797
+ (d(!0), h(I, null, L(e.getVariants(e.content), (u, p) => (d(), S(a, $({
5778
5798
  key: u.testVariationId,
5779
5799
  apiHost: e.apiHost,
5780
5800
  isNestedRender: e.isNestedRender,
@@ -5791,14 +5811,15 @@ function fs(e, t, n, o, r, i) {
5791
5811
  canTrack: e.canTrack,
5792
5812
  locale: e.locale,
5793
5813
  enrich: e.enrich,
5814
+ enrichOptions: e.enrichOptions,
5794
5815
  isSsrAbTest: e.shouldRenderVariants,
5795
5816
  blocksWrapper: e.blocksWrapper,
5796
5817
  blocksWrapperProps: e.blocksWrapperProps,
5797
5818
  contentWrapper: e.contentWrapper,
5798
5819
  contentWrapperProps: e.contentWrapperProps,
5799
5820
  trustedHosts: e.trustedHosts
5800
- }, {}), null, 16, ["apiHost", "isNestedRender", "nonce", "content", "model", "data", "context", "apiKey", "apiVersion", "customComponents", "linkComponent", "canTrack", "locale", "enrich", "isSsrAbTest", "blocksWrapper", "blocksWrapperProps", "contentWrapper", "contentWrapperProps", "trustedHosts"]))), 128))
5801
- ], 64)) : C("", !0),
5821
+ }, {}), null, 16, ["apiHost", "isNestedRender", "nonce", "content", "model", "data", "context", "apiKey", "apiVersion", "customComponents", "linkComponent", "canTrack", "locale", "enrich", "enrichOptions", "isSsrAbTest", "blocksWrapper", "blocksWrapperProps", "contentWrapper", "contentWrapperProps", "trustedHosts"]))), 128))
5822
+ ], 64)) : T("", !0),
5802
5823
  R(a, $({
5803
5824
  apiHost: e.apiHost,
5804
5825
  nonce: e.nonce,
@@ -5815,6 +5836,7 @@ function fs(e, t, n, o, r, i) {
5815
5836
  canTrack: e.canTrack,
5816
5837
  locale: e.locale,
5817
5838
  enrich: e.enrich,
5839
+ enrichOptions: e.enrichOptions,
5818
5840
  isSsrAbTest: e.shouldRenderVariants,
5819
5841
  blocksWrapper: e.blocksWrapper,
5820
5842
  blocksWrapperProps: e.blocksWrapperProps,
@@ -5823,16 +5845,16 @@ function fs(e, t, n, o, r, i) {
5823
5845
  trustedHosts: e.trustedHosts
5824
5846
  }, {
5825
5847
  key: e.shouldRenderVariants.toString()
5826
- }), null, 16, ["apiHost", "nonce", "isNestedRender", "content", "model", "data", "context", "apiKey", "apiVersion", "customComponents", "linkComponent", "canTrack", "locale", "enrich", "isSsrAbTest", "blocksWrapper", "blocksWrapperProps", "contentWrapper", "contentWrapperProps", "trustedHosts"])
5848
+ }), null, 16, ["apiHost", "nonce", "isNestedRender", "content", "model", "data", "context", "apiKey", "apiVersion", "customComponents", "linkComponent", "canTrack", "locale", "enrich", "enrichOptions", "isSsrAbTest", "blocksWrapper", "blocksWrapperProps", "contentWrapper", "contentWrapperProps", "trustedHosts"])
5827
5849
  ], 64);
5828
5850
  }
5829
- const bs = /* @__PURE__ */ v(hs, [["render", fs]]), gs = async ({
5851
+ const gs = /* @__PURE__ */ v(fs, [["render", bs]]), ys = async ({
5830
5852
  builderContextValue: e,
5831
5853
  symbol: t
5832
5854
  }) => {
5833
5855
  if (t != null && t.model && // This is a hack, we should not need to check for this, but it is needed for Svelte.
5834
5856
  (e != null && e.apiKey))
5835
- return Ne({
5857
+ return We({
5836
5858
  model: t.model,
5837
5859
  apiKey: t.global && t.ownerId ? t.ownerId : e.apiKey,
5838
5860
  apiVersion: e.apiVersion,
@@ -5844,9 +5866,9 @@ const bs = /* @__PURE__ */ v(hs, [["render", fs]]), gs = async ({
5844
5866
  }).catch((n) => {
5845
5867
  B.error("Could not fetch symbol content: ", n);
5846
5868
  });
5847
- }, ys = y({
5869
+ }, vs = y({
5848
5870
  name: "builder-symbol",
5849
- components: { ContentVariants: bs, DynamicDiv: te },
5871
+ components: { ContentVariants: gs, DynamicDiv: ne },
5850
5872
  props: [
5851
5873
  "symbol",
5852
5874
  "builderComponents",
@@ -5861,7 +5883,7 @@ const bs = /* @__PURE__ */ v(hs, [["render", fs]]), gs = async ({
5861
5883
  return {
5862
5884
  contentToUse: (e = this.symbol) == null ? void 0 : e.content,
5863
5885
  symbolEntry: (t = this.symbol) == null ? void 0 : t.entry,
5864
- filterAttrs: W
5886
+ filterAttrs: O
5865
5887
  };
5866
5888
  },
5867
5889
  mounted() {
@@ -5888,7 +5910,7 @@ const bs = /* @__PURE__ */ v(hs, [["render", fs]]), gs = async ({
5888
5910
  className() {
5889
5911
  var e, t;
5890
5912
  return [
5891
- this.attributes[j()],
5913
+ this.attributes[M()],
5892
5914
  "builder-symbol",
5893
5915
  (e = this.symbol) != null && e.inline ? "builder-inline-symbol" : void 0,
5894
5916
  (t = this.symbol) != null && t.dynamic || this.dynamic ? "builder-dynamic-symbol" : void 0
@@ -5903,7 +5925,7 @@ const bs = /* @__PURE__ */ v(hs, [["render", fs]]), gs = async ({
5903
5925
  methods: {
5904
5926
  setContent() {
5905
5927
  var e;
5906
- this.contentToUse && this.symbolEntry === ((e = this.symbol) == null ? void 0 : e.entry) || gs({
5928
+ this.contentToUse && this.symbolEntry === ((e = this.symbol) == null ? void 0 : e.entry) || ys({
5907
5929
  symbol: this.symbol,
5908
5930
  builderContextValue: this.builderContext
5909
5931
  }).then((t) => {
@@ -5913,10 +5935,10 @@ const bs = /* @__PURE__ */ v(hs, [["render", fs]]), gs = async ({
5913
5935
  }
5914
5936
  }
5915
5937
  });
5916
- function vs(e, t, n, o, r, i) {
5917
- var l, a, u, p, f, c, m;
5938
+ function Ss(e, t, n, o, r, i) {
5939
+ var l, a, u, p, b, c, m;
5918
5940
  const s = k("ContentVariants");
5919
- return d(), h("div", $({ class: e.className }, { ...e.filterAttrs(e.attributes, "v-on:", !1) }, L(e.filterAttrs(e.attributes, "v-on:", !0), !0)), [
5941
+ return d(), h("div", $({ class: e.className }, { ...e.filterAttrs(e.attributes, "v-on:", !1) }, U(e.filterAttrs(e.attributes, "v-on:", !0), !0)), [
5920
5942
  R(s, {
5921
5943
  nonce: e.builderContext.nonce,
5922
5944
  isNestedRender: !0,
@@ -5930,7 +5952,7 @@ function vs(e, t, n, o, r, i) {
5930
5952
  data: {
5931
5953
  ...(p = e.symbol) == null ? void 0 : p.data,
5932
5954
  ...e.builderContext.localState,
5933
- ...(c = (f = e.contentToUse) == null ? void 0 : f.data) == null ? void 0 : c.state
5955
+ ...(c = (b = e.contentToUse) == null ? void 0 : b.data) == null ? void 0 : c.state
5934
5956
  },
5935
5957
  canTrack: e.builderContext.canTrack,
5936
5958
  model: ((m = e.symbol) == null ? void 0 : m.model) ?? "",
@@ -5941,47 +5963,48 @@ function vs(e, t, n, o, r, i) {
5941
5963
  }, null, 8, ["nonce", "apiVersion", "apiKey", "context", "customComponents", "data", "canTrack", "model", "content", "linkComponent", "blocksWrapper", "contentWrapper"])
5942
5964
  ], 16);
5943
5965
  }
5944
- const Ss = /* @__PURE__ */ v(ys, [["render", vs]]);
5966
+ const ks = /* @__PURE__ */ v(vs, [["render", Ss]]);
5945
5967
  export {
5946
- Rs as A,
5947
- Pt as B,
5948
- No as C,
5949
- As as D,
5950
- Zn as E,
5951
- Do as F,
5968
+ Is as A,
5969
+ At as B,
5970
+ Oo as C,
5971
+ Ps as D,
5972
+ Bs as E,
5973
+ xo as F,
5952
5974
  _n as G,
5953
- Ne as H,
5954
- zo as I,
5955
- Ts as J,
5956
- Ns as K,
5957
- Go as S,
5975
+ eo as H,
5976
+ Ko as I,
5977
+ We as J,
5978
+ ws as K,
5979
+ Ws as L,
5980
+ Jo as S,
5958
5981
  E as T,
5959
- Oi as V,
5982
+ Di as V,
5960
5983
  v as _,
5961
- j as a,
5962
- ge as b,
5963
- pe as c,
5964
- z as d,
5965
- ee as e,
5966
- Po as f,
5967
- Vs as g,
5968
- Bs as h,
5984
+ M as a,
5985
+ ve as b,
5986
+ he as c,
5987
+ j as d,
5988
+ te as e,
5989
+ Vs as f,
5990
+ Os as g,
5991
+ Ao as h,
5969
5992
  P as i,
5970
- Ws as j,
5971
- We as k,
5972
- Pn as l,
5973
- Mt as m,
5974
- Ss as n,
5975
- Dr as o,
5976
- K as p,
5977
- bs as q,
5978
- Ae as r,
5979
- Ps as s,
5980
- An as t,
5981
- Is as u,
5993
+ Ns as j,
5994
+ Ds as k,
5995
+ De as l,
5996
+ An as m,
5997
+ jt as n,
5998
+ ks as o,
5999
+ xr as p,
6000
+ K as q,
6001
+ gs as r,
6002
+ As as s,
6003
+ Ve as t,
6004
+ Bn as u,
5982
6005
  $s as v,
5983
- ds as w,
6006
+ us as w,
5984
6007
  Es as x,
5985
- ft as y,
5986
- ws as z
6008
+ Rs as y,
6009
+ bt as z
5987
6010
  };