@builder.io/sdk-react 5.2.2 → 5.2.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (67) hide show
  1. package/lib/browser/blocks-exports.cjs +32 -62
  2. package/lib/browser/blocks-exports.mjs +433 -467
  3. package/lib/browser/index.cjs +1 -1
  4. package/lib/browser/index.mjs +1 -1
  5. package/lib/browser/{server-entry-44ac782f.cjs → server-entry-4bf14bc1.cjs} +1 -1
  6. package/lib/browser/{server-entry-aff2c5ee.js → server-entry-a6f43f98.js} +1 -1
  7. package/lib/browser/server-entry.cjs +1 -1
  8. package/lib/browser/server-entry.mjs +1 -1
  9. package/lib/edge/{accordion-3144e69e.js → accordion-52741334.js} +1 -1
  10. package/lib/edge/{accordion-8b1afed8.cjs → accordion-6c708d49.cjs} +1 -1
  11. package/lib/edge/{blocks-817f9485.js → blocks-af5e55f6.js} +2 -2
  12. package/lib/edge/{blocks-5b2c456f.cjs → blocks-e94e371c.cjs} +1 -1
  13. package/lib/edge/blocks-exports.cjs +1 -1
  14. package/lib/edge/blocks-exports.mjs +2 -2
  15. package/lib/edge/{button-cfe682cf.js → button-2a5bf939.js} +2 -2
  16. package/lib/edge/{button-ac5a0022.cjs → button-df76a8b2.cjs} +1 -1
  17. package/lib/edge/{columns-e400b435.cjs → columns-044891a6.cjs} +1 -1
  18. package/lib/edge/{columns-1de197aa.js → columns-dc5fc496.js} +3 -3
  19. package/lib/edge/{content-variants-7113e9cf.cjs → content-variants-9ee0d895.cjs} +23 -53
  20. package/lib/edge/{content-variants-c6ff157f.js → content-variants-d950ffc8.js} +301 -335
  21. package/lib/edge/{custom-code-7616d00a.cjs → custom-code-2403d3d3.cjs} +1 -1
  22. package/lib/edge/{custom-code-143b5a84.js → custom-code-685e8b43.js} +1 -1
  23. package/lib/edge/{embed-e6116e90.js → embed-462f3730.js} +1 -1
  24. package/lib/edge/{embed-f68db9ab.cjs → embed-cdbaa40e.cjs} +1 -1
  25. package/lib/edge/{form-bbe1e30e.js → form-1a9b42a0.js} +3 -3
  26. package/lib/edge/{form-3b66981f.cjs → form-43c8dbf3.cjs} +1 -1
  27. package/lib/edge/{get-class-prop-name-541f7abc.js → get-class-prop-name-e944471a.js} +1 -1
  28. package/lib/edge/{get-class-prop-name-13da1e6d.cjs → get-class-prop-name-fbedc76f.cjs} +1 -1
  29. package/lib/edge/{img-e4fe298b.cjs → img-d3819e49.cjs} +1 -1
  30. package/lib/edge/{img-89400807.js → img-fb540382.js} +2 -2
  31. package/lib/edge/index.cjs +1 -1
  32. package/lib/edge/index.mjs +1 -1
  33. package/lib/edge/{input-4b0e20ac.js → input-0efc2cf0.js} +1 -1
  34. package/lib/edge/{input-9fd73d5f.cjs → input-6c53f2f3.cjs} +1 -1
  35. package/lib/edge/{personalization-container-d4bfb7a9.js → personalization-container-63d25e42.js} +4 -4
  36. package/lib/edge/{personalization-container-adbe238a.cjs → personalization-container-a9c09c80.cjs} +1 -1
  37. package/lib/edge/{select-93ec2e99.cjs → select-391ac558.cjs} +1 -1
  38. package/lib/edge/{select-53fe8822.js → select-61deb890.js} +1 -1
  39. package/lib/edge/{server-entry-92cd5eeb.cjs → server-entry-4528f206.cjs} +1 -1
  40. package/lib/edge/{server-entry-17b8ed52.js → server-entry-5182bda7.js} +1 -1
  41. package/lib/edge/server-entry.cjs +1 -1
  42. package/lib/edge/server-entry.mjs +1 -1
  43. package/lib/edge/{slot-1d00a5ae.cjs → slot-373f1e81.cjs} +1 -1
  44. package/lib/edge/{slot-31cbb5b2.js → slot-6f93fc15.js} +3 -3
  45. package/lib/edge/{symbol-9aca7157.js → symbol-2ad1da28.js} +2 -2
  46. package/lib/edge/{symbol-84c1857b.cjs → symbol-a1651207.cjs} +1 -1
  47. package/lib/edge/{tabs-a7d93c37.cjs → tabs-a0eccabc.cjs} +1 -1
  48. package/lib/edge/{tabs-f8858f81.js → tabs-c4e43a9c.js} +3 -3
  49. package/lib/node/blocks-exports.cjs +30 -60
  50. package/lib/node/blocks-exports.mjs +500 -534
  51. package/lib/node/index.cjs +1 -1
  52. package/lib/node/index.mjs +3 -3
  53. package/lib/node/init.cjs +1 -1
  54. package/lib/node/init.mjs +3 -3
  55. package/lib/node/{server-entry-c3bc01a9.js → server-entry-52b9a881.js} +1 -1
  56. package/lib/node/{server-entry-99ae937a.cjs → server-entry-88c9db7d.cjs} +1 -1
  57. package/lib/node/server-entry.cjs +1 -1
  58. package/lib/node/server-entry.mjs +1 -1
  59. package/lib/node/{setIvm-f74f2921.js → setIvm-25463972.js} +1 -1
  60. package/lib/node/{setIvm-4dccb8f3.cjs → setIvm-5e533ce2.cjs} +1 -1
  61. package/lib/node/setIvm.cjs +1 -1
  62. package/lib/node/setIvm.mjs +2 -2
  63. package/lib/node/{should-force-browser-runtime-in-node-131d268b.cjs → should-force-browser-runtime-in-node-a8019095.cjs} +1 -1
  64. package/lib/node/{should-force-browser-runtime-in-node-1af30e6f.js → should-force-browser-runtime-in-node-d883c014.js} +1 -1
  65. package/package.json +1 -1
  66. package/types/components/content-variants/helpers.d.ts +0 -1
  67. package/types/constants/sdk-version.d.ts +1 -1
@@ -1,16 +1,16 @@
1
1
  "use client";
2
- import { TARGET as F, isBrowser as G, logger as ee, checkIsDefined as ge, isPreviewing as oe, isEditing as U, userAttributesService as Te, getDefaultCanTrack as Z, logFetch as Le, setupBrowserForEditing as ct, createRegisterComponentMessage as ut, getCookieSync as dt, _track as Ie, fetchOneEntry as _e, createEditorListener as mt, serializeIncludingFunctions as we, handleABTestingSync as ft } from "./server-entry-c3bc01a9.js";
3
- import { setClientUserAttributes as ji } from "./server-entry-c3bc01a9.js";
4
- import { jsx as s, Fragment as P, jsxs as D } from "react/jsx-runtime";
5
- import * as ht from "react";
6
- import { createContext as Ue, useEffect as B, useState as k, useContext as ye, useRef as K, createElement as He } from "react";
7
- import { getFunctionArguments as bt, flattenState as gt, runInNode as yt, parseCode as pt, getBuilderGlobals as vt, set as Me, fastClone as ve } from "./setIvm-f74f2921.js";
8
- import { shouldForceBrowserRuntimeInNode as xt } from "./should-force-browser-runtime-in-node-1af30e6f.js";
9
- const St = /* @__PURE__ */ new Set(["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen", "link", "meta", "param", "source", "track", "wbr"]), kt = (e) => typeof e == "string" && St.has(e.toLowerCase());
2
+ import { TARGET as F, isBrowser as G, logger as ee, checkIsDefined as be, isPreviewing as oe, isEditing as U, userAttributesService as Te, getDefaultCanTrack as Z, logFetch as Le, setupBrowserForEditing as st, createRegisterComponentMessage as ct, getCookieSync as ut, _track as Ie, fetchOneEntry as Oe, createEditorListener as dt, serializeIncludingFunctions as we, handleABTestingSync as mt } from "./server-entry-52b9a881.js";
3
+ import { setClientUserAttributes as qi } from "./server-entry-52b9a881.js";
4
+ import { jsx as s, Fragment as w, jsxs as D } from "react/jsx-runtime";
5
+ import * as ft from "react";
6
+ import { createContext as _e, useEffect as B, useState as k, useContext as ye, useRef as z, createElement as Ue } from "react";
7
+ import { getFunctionArguments as ht, flattenState as gt, runInNode as bt, parseCode as yt, getBuilderGlobals as pt, set as He, fastClone as ve } from "./setIvm-25463972.js";
8
+ import { shouldForceBrowserRuntimeInNode as vt } from "./should-force-browser-runtime-in-node-d883c014.js";
9
+ const xt = /* @__PURE__ */ new Set(["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen", "link", "meta", "param", "source", "track", "wbr"]), St = (e) => typeof e == "string" && xt.has(e.toLowerCase());
10
10
  function xe(e) {
11
- return /* @__PURE__ */ s(P, { children: kt(e.TagName) ? /* @__PURE__ */ s(P, { children: /* @__PURE__ */ s(e.TagName, { ...e.attributes, ...e.actionAttributes }) }) : /* @__PURE__ */ s(P, { children: typeof e.TagName == "string" ? /* @__PURE__ */ s(e.TagName, { ...e.attributes, ...e.actionAttributes, children: e.children }) : /* @__PURE__ */ s(e.TagName, { ...e.attributes, ...e.actionAttributes, children: e.children }) }) });
11
+ return /* @__PURE__ */ s(w, { children: St(e.TagName) ? /* @__PURE__ */ s(w, { children: /* @__PURE__ */ s(e.TagName, { ...e.attributes, ...e.actionAttributes }) }) : /* @__PURE__ */ s(w, { children: typeof e.TagName == "string" ? /* @__PURE__ */ s(e.TagName, { ...e.attributes, ...e.actionAttributes, children: e.children }) : /* @__PURE__ */ s(e.TagName, { ...e.attributes, ...e.actionAttributes, children: e.children }) }) });
12
12
  }
13
- const z = () => {
13
+ const K = () => {
14
14
  switch (F) {
15
15
  case "react":
16
16
  case "reactNative":
@@ -24,11 +24,11 @@ const z = () => {
24
24
  return "class";
25
25
  }
26
26
  };
27
- function Ct(e) {
27
+ function kt(e) {
28
28
  function t() {
29
29
  return {
30
30
  ...e.attributes,
31
- [z()]: `${e.link ? "" : "builder-button"} ${e.attributes[z()] || ""}`,
31
+ [K()]: `${e.link ? "" : "builder-button"} ${e.attributes[K()] || ""}`,
32
32
  ...e.link ? {
33
33
  href: e.link,
34
34
  target: e.openLinkInNewTab ? "_blank" : void 0,
@@ -48,7 +48,7 @@ function Ct(e) {
48
48
  }
49
49
  );
50
50
  }
51
- const le = Ue({
51
+ const le = _e({
52
52
  content: null,
53
53
  context: {},
54
54
  localState: void 0,
@@ -63,10 +63,10 @@ const le = Ue({
63
63
  BlocksWrapperProps: {},
64
64
  nonce: "",
65
65
  model: ""
66
- }), qe = Ue({ registeredComponents: {} }), je = (e, t, n) => {
66
+ }), Me = _e({ registeredComponents: {} }), qe = (e, t, n) => {
67
67
  const i = String.prototype.split.call(t, /[,[\].]+?/).filter(Boolean).reduce((a, r) => a != null ? a[r] : a, e);
68
68
  return i === void 0 || i === e ? n : i;
69
- }, Tt = ({
69
+ }, Ct = ({
70
70
  code: e,
71
71
  builder: t,
72
72
  context: n,
@@ -75,7 +75,7 @@ const le = Ue({
75
75
  rootSetState: r,
76
76
  rootState: o
77
77
  }) => {
78
- const l = bt({
78
+ const l = ht({
79
79
  builder: t,
80
80
  context: n,
81
81
  event: i,
@@ -86,11 +86,11 @@ const le = Ue({
86
86
  })
87
87
  });
88
88
  return new Function(...l.map(([c]) => c), e)(...l.map(([, c]) => c));
89
- }, It = (e) => G() || xt({
89
+ }, Tt = (e) => G() || vt({
90
90
  shouldLogWarning: !0
91
- }) ? Tt(e) : yt(e), wt = /^(return )?(\s*)?state(?<getPath>(\.\w+)+)(\s*);?$/, Et = /(\s)*var(\s)+_virtual_index(\s)*=(\s)*state(?<getPath>(\.\w+)+)(\s*);?(\s)*return(\s)*_virtual_index(\s)*/, Rt = (e) => {
91
+ }) ? Ct(e) : bt(e), It = /^(return )?(\s*)?state(?<getPath>(\.\w+)+)(\s*);?$/, wt = /(\s)*var(\s)+_virtual_index(\s)*=(\s)*state(?<getPath>(\.\w+)+)(\s*);?(\s)*return(\s)*_virtual_index(\s)*/, Et = (e) => {
92
92
  var t, n, i, a, r, o;
93
- return ((i = (n = (t = wt.exec(e.trim())) == null ? void 0 : t.groups) == null ? void 0 : n.getPath) == null ? void 0 : i.slice(1)) || ((o = (r = (a = Et.exec(e.trim())) == null ? void 0 : a.groups) == null ? void 0 : r.getPath) == null ? void 0 : o.slice(1));
93
+ return ((i = (n = (t = It.exec(e.trim())) == null ? void 0 : t.groups) == null ? void 0 : n.getPath) == null ? void 0 : i.slice(1)) || ((o = (r = (a = wt.exec(e.trim())) == null ? void 0 : a.groups) == null ? void 0 : r.getPath) == null ? void 0 : o.slice(1));
94
94
  };
95
95
  function Q({
96
96
  code: e,
@@ -104,17 +104,17 @@ function Q({
104
104
  }) {
105
105
  if (e.trim() === "")
106
106
  return;
107
- const c = Rt(e.trim());
107
+ const c = Et(e.trim());
108
108
  if (c)
109
- return je({
109
+ return qe({
110
110
  ...i,
111
111
  ...n
112
112
  }, c);
113
113
  const d = {
114
- code: pt(e, {
114
+ code: yt(e, {
115
115
  isExpression: o
116
116
  }),
117
- builder: vt(l),
117
+ builder: pt(l),
118
118
  context: t,
119
119
  event: r,
120
120
  rootSetState: a,
@@ -122,7 +122,7 @@ function Q({
122
122
  localState: n
123
123
  };
124
124
  try {
125
- return It(d);
125
+ return Tt(d);
126
126
  } catch (h) {
127
127
  ee.error("Failed code evaluation: " + h.message, {
128
128
  code: e
@@ -130,15 +130,15 @@ function Q({
130
130
  return;
131
131
  }
132
132
  }
133
- function Pt(e, t) {
133
+ function Rt(e, t) {
134
134
  var n;
135
135
  return {
136
136
  ...(n = e.component) == null ? void 0 : n.options,
137
137
  ...e.options,
138
- ...Vt(e, t)
138
+ ...Pt(e, t)
139
139
  };
140
140
  }
141
- const Vt = (e, t) => {
141
+ const Pt = (e, t) => {
142
142
  var n, i;
143
143
  if (((n = e.component) == null ? void 0 : n.name) === "Text" && ((i = e.component.options) != null && i.text) && typeof e.component.options.text == "string")
144
144
  return {
@@ -152,7 +152,7 @@ const Vt = (e, t) => {
152
152
  }))
153
153
  };
154
154
  };
155
- function At(e, ...t) {
155
+ function Vt(e, ...t) {
156
156
  const n = Object.assign({}, e);
157
157
  for (const i of t)
158
158
  delete n[i];
@@ -175,29 +175,29 @@ function re(e, t, n = null, i = null, a = /* @__PURE__ */ new WeakSet()) {
175
175
  }), re(o, t, e, r, a);
176
176
  }));
177
177
  }
178
- function Ke(e) {
178
+ function je(e) {
179
179
  return e && typeof e == "object" && e["@type"] === "@builder.io/core:LocalizedValue";
180
180
  }
181
- function Bt(e) {
181
+ function At(e) {
182
182
  if (!e || !Object.getOwnPropertyNames(e).length)
183
183
  return !1;
184
184
  let t = !1;
185
185
  return re(e, (n) => {
186
- if (Ke(n)) {
186
+ if (je(n)) {
187
187
  t = !0;
188
188
  return;
189
189
  }
190
190
  }), t;
191
191
  }
192
- function Nt(e, t) {
192
+ function Bt(e, t) {
193
193
  return !e || !Object.getOwnPropertyNames(e).length ? {} : (re(e, (n, i) => {
194
194
  var a;
195
- Ke(n) && i((a = n[t]) != null ? a : void 0);
195
+ je(n) && i((a = n[t]) != null ? a : void 0);
196
196
  }), e);
197
197
  }
198
- function $t(e, t) {
198
+ function Nt(e, t) {
199
199
  var n, i;
200
- return (n = e.component) != null && n.options && Bt((i = e.component) == null ? void 0 : i.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 = Nt(e.component.options, t != null ? t : "Default")), e;
200
+ return (n = e.component) != null && n.options && At((i = e.component) == null ? void 0 : i.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 = Bt(e.component.options, t != null ? t : "Default")), e;
201
201
  }
202
202
  function pe(e) {
203
203
  if (e === null || typeof e != "object")
@@ -211,8 +211,8 @@ function pe(e) {
211
211
  n !== "meta" && Object.prototype.hasOwnProperty.call(e, n) && (t[n] = pe(e[n]));
212
212
  return t;
213
213
  }
214
- const Wt = ["svelte", "vue", "angular", "qwik", "solid"].includes(F), Dt = (e) => {
215
- if (Wt) {
214
+ const $t = ["svelte", "vue", "angular", "qwik", "solid"].includes(F), Wt = (e) => {
215
+ if ($t) {
216
216
  const t = ve(e);
217
217
  return {
218
218
  ...t,
@@ -224,7 +224,7 @@ const Wt = ["svelte", "vue", "angular", "qwik", "solid"].includes(F), Dt = (e) =
224
224
  }
225
225
  };
226
226
  } else {
227
- const t = pe(At(e, "children", "meta"));
227
+ const t = pe(Vt(e, "children", "meta"));
228
228
  return {
229
229
  ...t,
230
230
  properties: {
@@ -237,7 +237,7 @@ const Wt = ["svelte", "vue", "angular", "qwik", "solid"].includes(F), Dt = (e) =
237
237
  meta: e.meta
238
238
  };
239
239
  }
240
- }, Ft = ({
240
+ }, Dt = ({
241
241
  block: e,
242
242
  context: t,
243
243
  localState: n,
@@ -246,7 +246,7 @@ const Wt = ["svelte", "vue", "angular", "qwik", "solid"].includes(F), Dt = (e) =
246
246
  }) => {
247
247
  if (!e.bindings)
248
248
  return e;
249
- const r = Dt(e);
249
+ const r = Wt(e);
250
250
  for (const o in e.bindings) {
251
251
  const l = e.bindings[o], c = Q({
252
252
  code: l,
@@ -255,11 +255,11 @@ const Wt = ["svelte", "vue", "angular", "qwik", "solid"].includes(F), Dt = (e) =
255
255
  rootSetState: a,
256
256
  context: t
257
257
  });
258
- Me(r, o, c);
258
+ He(r, o, c);
259
259
  }
260
260
  return r;
261
261
  };
262
- function Ot({
262
+ function Ft({
263
263
  block: e,
264
264
  context: t,
265
265
  localState: n,
@@ -267,13 +267,13 @@ function Ot({
267
267
  rootSetState: a
268
268
  }) {
269
269
  let r = e;
270
- return r = Ft({
270
+ return r = Dt({
271
271
  block: r,
272
272
  localState: n,
273
273
  rootState: i,
274
274
  rootSetState: a,
275
275
  context: t
276
- }), r = $t(r, i.locale), r;
276
+ }), r = Nt(r, i.locale), r;
277
277
  }
278
278
  const se = (e) => e ? e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase() : "";
279
279
  function Lt(e, t, n = {}) {
@@ -298,55 +298,55 @@ function X(e, ...t) {
298
298
  }
299
299
  return n;
300
300
  }
301
- function _t(e) {
301
+ function Ot(e) {
302
302
  for (const t of e)
303
303
  switch (t.trigger) {
304
304
  case "pageLoad":
305
- Ge(t);
305
+ Je(t);
306
306
  break;
307
307
  case "scrollInView":
308
- Ht(t);
308
+ Ut(t);
309
309
  break;
310
310
  }
311
311
  }
312
312
  function ze(e) {
313
313
  console.warn(`Cannot animate element: element with ID ${e} not found!`);
314
314
  }
315
- function Je(e, t) {
316
- const n = Ut(e), i = getComputedStyle(t), a = e.steps[0].styles, r = e.steps[e.steps.length - 1].styles, o = [a, r];
315
+ function Ke(e, t) {
316
+ const n = _t(e), i = getComputedStyle(t), a = e.steps[0].styles, r = e.steps[e.steps.length - 1].styles, o = [a, r];
317
317
  for (const l of o)
318
318
  for (const c of n)
319
319
  c in l || (l[c] = i[c]);
320
320
  }
321
- function Ut(e) {
321
+ function _t(e) {
322
322
  const t = [];
323
323
  for (const n of e.steps)
324
324
  for (const i in n.styles)
325
325
  t.indexOf(i) === -1 && t.push(i);
326
326
  return t;
327
327
  }
328
- function Ge(e) {
328
+ function Je(e) {
329
329
  const t = Array.prototype.slice.call(document.getElementsByClassName(e.elementId || e.id || ""));
330
330
  if (!t.length) {
331
331
  ze(e.elementId || e.id || "");
332
332
  return;
333
333
  }
334
334
  Array.from(t).forEach((n) => {
335
- Je(e, n), n.style.transition = "none", n.style.transitionDelay = "0", X(n.style, e.steps[0].styles), setTimeout(() => {
335
+ Ke(e, n), n.style.transition = "none", n.style.transitionDelay = "0", X(n.style, e.steps[0].styles), setTimeout(() => {
336
336
  n.style.transition = `all ${e.duration}s ${se(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s"), X(n.style, e.steps[1].styles), setTimeout(() => {
337
337
  n.style.transition = "", n.style.transitionDelay = "";
338
338
  }, (e.delay || 0) * 1e3 + e.duration * 1e3 + 100);
339
339
  });
340
340
  });
341
341
  }
342
- function Ht(e) {
342
+ function Ut(e) {
343
343
  const t = Array.prototype.slice.call(document.getElementsByClassName(e.elementId || e.id || ""));
344
344
  if (!t.length) {
345
345
  ze(e.elementId || e.id || "");
346
346
  return;
347
347
  }
348
348
  Array.from(t).forEach((n) => {
349
- Je(e, n);
349
+ Ke(e, n);
350
350
  let i = !1, a = !1;
351
351
  function r() {
352
352
  !i && l(n) ? (i = !0, a = !0, setTimeout(() => {
@@ -359,8 +359,8 @@ function Ht(e) {
359
359
  leading: !1
360
360
  });
361
361
  function l(h) {
362
- const g = h.getBoundingClientRect(), u = window.innerHeight, m = (e.thresholdPercent || 0) / 100 * u;
363
- return g.bottom > m && g.top < u - m;
362
+ const b = h.getBoundingClientRect(), u = window.innerHeight, m = (e.thresholdPercent || 0) / 100 * u;
363
+ return b.bottom > m && b.top < u - m;
364
364
  }
365
365
  const c = e.steps[0].styles;
366
366
  function d() {
@@ -374,42 +374,42 @@ function Ht(e) {
374
374
  }), r();
375
375
  });
376
376
  }
377
- const Qe = (e) => Object.entries(e).map(([n, i]) => {
377
+ const Ge = (e) => Object.entries(e).map(([n, i]) => {
378
378
  if (typeof i == "string")
379
379
  return `${se(n)}: ${i};`;
380
- }).filter(ge), Mt = (e) => Qe(e).join(`
380
+ }).filter(be), Ht = (e) => Ge(e).join(`
381
381
  `), Y = ({
382
382
  mediaQuery: e,
383
383
  className: t,
384
384
  styles: n
385
385
  }) => {
386
386
  const i = `.${t} {
387
- ${Mt(n)}
387
+ ${Ht(n)}
388
388
  }`;
389
389
  return e ? `${e} {
390
390
  ${i}
391
391
  }` : i;
392
392
  };
393
- function qt({
393
+ function Mt({
394
394
  style: e
395
395
  }) {
396
396
  return e;
397
397
  }
398
- const jt = ({
398
+ const qt = ({
399
399
  block: e,
400
400
  context: t
401
- }) => Ye(qt({
401
+ }) => Qe(Mt({
402
402
  style: e.style || {},
403
403
  context: t,
404
404
  block: e
405
405
  }));
406
- function Ye(e) {
406
+ function Qe(e) {
407
407
  switch (F) {
408
408
  case "svelte":
409
409
  case "vue":
410
410
  case "solid":
411
411
  case "angular":
412
- return Qe(e).join(" ");
412
+ return Ge(e).join(" ");
413
413
  case "qwik":
414
414
  case "reactNative":
415
415
  case "react":
@@ -417,7 +417,7 @@ function Ye(e) {
417
417
  return e;
418
418
  }
419
419
  }
420
- const Xe = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includes(t) : !1 : !0, Kt = ({
420
+ const Ye = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includes(t) : !1 : !0, jt = ({
421
421
  block: e,
422
422
  registeredComponents: t,
423
423
  model: n
@@ -427,7 +427,7 @@ const Xe = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
427
427
  if (!i)
428
428
  return null;
429
429
  const a = t[i];
430
- if (!a || Xe(a, n)) {
430
+ if (!a || Ye(a, n)) {
431
431
  console.warn(`
432
432
  Could not find a registered component named "${i}".
433
433
  If you registered it, is the file that registered it imported by the file that needs to render it?`);
@@ -467,31 +467,31 @@ const Xe = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
467
467
  },
468
468
  block: i
469
469
  }));
470
- }, Jt = (e, t) => {
470
+ }, Kt = (e, t) => {
471
471
  var n;
472
472
  return (n = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && n.builderLinkComponent ? {
473
473
  builderLinkComponent: t
474
474
  } : {};
475
- }, Gt = (e, t, n) => {
475
+ }, Jt = (e, t, n) => {
476
476
  var i;
477
477
  return (i = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && i.builderComponents ? {
478
- builderComponents: Object.fromEntries(Object.entries(t).filter(([r, o]) => !Xe(o, n)))
478
+ builderComponents: Object.fromEntries(Object.entries(t).filter(([r, o]) => !Ye(o, n)))
479
479
  } : {};
480
- }, Qt = (e, t) => {
480
+ }, Gt = (e, t) => {
481
481
  var n;
482
482
  return (n = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && n.builderBlock ? {
483
483
  builderBlock: t
484
484
  } : {};
485
- }, Yt = (e, t) => {
485
+ }, Qt = (e, t) => {
486
486
  var n;
487
487
  return (n = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && n.builderContext ? {
488
488
  builderContext: t
489
489
  } : {};
490
490
  }, Ee = (e) => e.toString();
491
- function Xt(e) {
491
+ function Yt(e) {
492
492
  return e.charAt(0).toUpperCase() + e.slice(1);
493
493
  }
494
- const Zt = (e) => `on${Xt(e)}`, en = (e, t) => (n) => Q({
494
+ const Xt = (e) => `on${Yt(e)}`, Zt = (e, t) => (n) => Q({
495
495
  code: e,
496
496
  context: t.context,
497
497
  localState: t.localState,
@@ -501,14 +501,14 @@ const Zt = (e) => `on${Xt(e)}`, en = (e, t) => (n) => Q({
501
501
  isExpression: !1,
502
502
  trackingContext: t.trackingContext
503
503
  });
504
- function Ze(e) {
504
+ function Xe(e) {
505
505
  var i;
506
506
  const t = {}, n = (i = e.block.actions) != null ? i : {};
507
507
  for (const a in n) {
508
508
  if (!n.hasOwnProperty(a))
509
509
  continue;
510
510
  const r = n[a];
511
- let o = Zt(a);
511
+ let o = Xt(a);
512
512
  if (e.stripPrefix)
513
513
  switch (F) {
514
514
  case "vue":
@@ -518,16 +518,16 @@ function Ze(e) {
518
518
  o = o.replace("on:", "");
519
519
  break;
520
520
  }
521
- t[o] = en(r, e);
521
+ t[o] = Zt(r, e);
522
522
  }
523
523
  return t;
524
524
  }
525
- function tn({
525
+ function en({
526
526
  properties: e
527
527
  }) {
528
528
  return e;
529
529
  }
530
- const nn = (e) => ({
530
+ const tn = (e) => ({
531
531
  href: e.href
532
532
  });
533
533
  function Se({
@@ -536,22 +536,22 @@ function Se({
536
536
  }) {
537
537
  var i;
538
538
  const n = {
539
- ...nn(e),
539
+ ...tn(e),
540
540
  ...e.properties,
541
541
  "builder-id": e.id,
542
- style: jt({
542
+ style: qt({
543
543
  block: e,
544
544
  context: t
545
545
  }),
546
- [z()]: [e.id, "builder-block", e.class, (i = e.properties) == null ? void 0 : i.class].filter(Boolean).join(" ")
546
+ [K()]: [e.id, "builder-block", e.class, (i = e.properties) == null ? void 0 : i.class].filter(Boolean).join(" ")
547
547
  };
548
- return tn({
548
+ return en({
549
549
  properties: n,
550
550
  context: t,
551
551
  block: e
552
552
  });
553
553
  }
554
- function an(e) {
554
+ function nn(e) {
555
555
  var t, n, i;
556
556
  return /* @__PURE__ */ s(
557
557
  xe,
@@ -561,7 +561,7 @@ function an(e) {
561
561
  block: e.block,
562
562
  context: e.context
563
563
  }),
564
- actionAttributes: Ze({
564
+ actionAttributes: Xe({
565
565
  block: e.block,
566
566
  rootState: e.context.rootState,
567
567
  rootSetState: e.context.rootSetState,
@@ -579,11 +579,11 @@ function an(e) {
579
579
  }
580
580
  );
581
581
  }
582
- function rn(e) {
582
+ function an(e) {
583
583
  return B(() => {
584
- }, []), /* @__PURE__ */ s(P, { children: e.children });
584
+ }, []), /* @__PURE__ */ s(w, { children: e.children });
585
585
  }
586
- function on(e) {
586
+ function rn(e) {
587
587
  var i, a;
588
588
  k(() => 0);
589
589
  function t() {
@@ -593,7 +593,7 @@ function on(e) {
593
593
  block: e.block,
594
594
  context: e.context
595
595
  }),
596
- ...Ze({
596
+ ...Xe({
597
597
  block: e.block,
598
598
  rootState: e.context.rootState,
599
599
  rootSetState: e.context.rootSetState,
@@ -612,8 +612,8 @@ function on(e) {
612
612
  return e.wrapperProps;
613
613
  }
614
614
  return B(() => {
615
- }, [e.wrapperProps, (a = (i = e.block) == null ? void 0 : i.component) == null ? void 0 : a.options]), /* @__PURE__ */ s(P, { children: e.Wrapper.load ? /* @__PURE__ */ s(P, { children: /* @__PURE__ */ s(
616
- rn,
615
+ }, [e.wrapperProps, (a = (i = e.block) == null ? void 0 : i.component) == null ? void 0 : a.options]), /* @__PURE__ */ s(w, { children: e.Wrapper.load ? /* @__PURE__ */ s(w, { children: /* @__PURE__ */ s(
616
+ an,
617
617
  {
618
618
  load: e.Wrapper.load,
619
619
  fallback: e.Wrapper.fallback,
@@ -623,7 +623,7 @@ function on(e) {
623
623
  }
624
624
  ) }) : /* @__PURE__ */ s(e.Wrapper, { ...n(), attributes: t(), children: e.children }) });
625
625
  }
626
- const ln = ({
626
+ const on = ({
627
627
  componentOptions: e,
628
628
  builderBlock: t,
629
629
  context: n,
@@ -657,15 +657,15 @@ function Re(e) {
657
657
  var a;
658
658
  k(() => !1);
659
659
  const [t, n] = k(
660
- () => e.isInteractive ? on : e.componentRef
660
+ () => e.isInteractive ? rn : e.componentRef
661
661
  );
662
662
  function i() {
663
663
  return e.componentRef ? e.blockChildren : [];
664
664
  }
665
- return /* @__PURE__ */ s(P, { children: e.componentRef ? /* @__PURE__ */ s(P, { children: /* @__PURE__ */ s(
665
+ return /* @__PURE__ */ s(w, { children: e.componentRef ? /* @__PURE__ */ s(w, { children: /* @__PURE__ */ s(
666
666
  t,
667
667
  {
668
- ...ln({
668
+ ...on({
669
669
  componentOptions: e.componentOptions,
670
670
  builderBlock: e.builderBlock,
671
671
  context: e.context,
@@ -702,7 +702,7 @@ function Pe(e) {
702
702
  }
703
703
  ) });
704
704
  }
705
- const et = {
705
+ const Ze = {
706
706
  xsmall: {
707
707
  min: 0,
708
708
  default: 160,
@@ -723,8 +723,8 @@ const et = {
723
723
  default: 991,
724
724
  max: 1200
725
725
  }
726
- }, ue = (e, t = et) => `@media (max-width: ${t[e].max}px)`, tt = (e) => {
727
- const t = ve(et);
726
+ }, ue = (e, t = Ze) => `@media (max-width: ${t[e].max}px)`, et = (e) => {
727
+ const t = ve(Ze);
728
728
  if (!e)
729
729
  return t;
730
730
  const {
@@ -775,13 +775,13 @@ function te(e) {
775
775
  function Ve(e) {
776
776
  function t() {
777
777
  const i = e.block;
778
- return ge(i.hide) ? !i.hide : ge(i.show) ? i.show : !0;
778
+ return be(i.hide) ? !i.hide : be(i.show) ? i.show : !0;
779
779
  }
780
780
  function n() {
781
- var T, w, _, H, q;
782
- const i = e.block, a = i.responsiveStyles, r = e.context.content, o = tt(
781
+ var T, E, _, H, q;
782
+ const i = e.block, a = i.responsiveStyles, r = e.context.content, o = et(
783
783
  ((T = r == null ? void 0 : r.meta) == null ? void 0 : T.breakpoints) || {}
784
- ), l = !!((_ = (w = r == null ? void 0 : r.meta) == null ? void 0 : w.breakpoints) != null && _.xsmall), c = a == null ? void 0 : a.large, d = a == null ? void 0 : a.medium, h = a == null ? void 0 : a.small, g = a == null ? void 0 : a.xsmall, u = i.id;
784
+ ), l = !!((_ = (E = r == null ? void 0 : r.meta) == null ? void 0 : E.breakpoints) != null && _.xsmall), c = a == null ? void 0 : a.large, d = a == null ? void 0 : a.medium, h = a == null ? void 0 : a.small, b = a == null ? void 0 : a.xsmall, u = i.id;
785
785
  if (!u)
786
786
  return "";
787
787
  const S = c ? Y({
@@ -794,16 +794,16 @@ function Ve(e) {
794
794
  "medium",
795
795
  o
796
796
  )
797
- }) : "", b = h ? Y({
797
+ }) : "", g = h ? Y({
798
798
  className: u,
799
799
  styles: h,
800
800
  mediaQuery: ue(
801
801
  "small",
802
802
  o
803
803
  )
804
- }) : "", p = g && l ? Y({
804
+ }) : "", p = b && l ? Y({
805
805
  className: u,
806
- styles: g,
806
+ styles: b,
807
807
  mediaQuery: ue(
808
808
  "xsmall",
809
809
  o
@@ -826,12 +826,12 @@ function Ve(e) {
826
826
  return [
827
827
  S,
828
828
  m,
829
- b,
829
+ g,
830
830
  p,
831
831
  v
832
832
  ].join(" ");
833
833
  }
834
- return /* @__PURE__ */ s(P, { children: n() && t() ? /* @__PURE__ */ s(P, { children: /* @__PURE__ */ s(
834
+ return /* @__PURE__ */ s(w, { children: n() && t() ? /* @__PURE__ */ s(w, { children: /* @__PURE__ */ s(
835
835
  te,
836
836
  {
837
837
  id: "builderio-block",
@@ -840,14 +840,14 @@ function Ve(e) {
840
840
  }
841
841
  ) }) : null });
842
842
  }
843
- function sn(e) {
843
+ function ln(e) {
844
844
  k(() => !1);
845
845
  const [t, n] = k(() => !1);
846
846
  return ye(le), B(() => {
847
- }, []), /* @__PURE__ */ s(P, { children: t ? /* @__PURE__ */ s(P, { children: /* @__PURE__ */ s(P, { children: /* @__PURE__ */ s(Ve, { block: e.block, context: e.context }) }) }) : /* @__PURE__ */ s(P, { children: /* @__PURE__ */ s(Ve, { block: e.block, context: e.context }) }) });
847
+ }, []), /* @__PURE__ */ s(w, { children: t ? /* @__PURE__ */ s(w, { children: /* @__PURE__ */ s(w, { children: /* @__PURE__ */ s(Ve, { block: e.block, context: e.context }) }) }) : /* @__PURE__ */ s(w, { children: /* @__PURE__ */ s(Ve, { block: e.block, context: e.context }) }) });
848
848
  }
849
849
  function ce(e) {
850
- var h, g, u, S;
850
+ var h, b, u, S;
851
851
  function t() {
852
852
  return zt({
853
853
  block: e.block,
@@ -859,10 +859,10 @@ function ce(e) {
859
859
  update: !1
860
860
  }));
861
861
  function a() {
862
- var b;
862
+ var g;
863
863
  if (n.value && !n.update && !oe())
864
864
  return n.value;
865
- const m = (b = e.block.repeat) != null && b.collection ? e.block : Ot({
865
+ const m = (g = e.block.repeat) != null && g.collection ? e.block : Ft({
866
866
  block: e.block,
867
867
  localState: e.context.localState,
868
868
  rootState: e.context.rootState,
@@ -872,15 +872,15 @@ function ce(e) {
872
872
  return n.value = m, n.update = !1, m;
873
873
  }
874
874
  function r() {
875
- return Kt({
875
+ return jt({
876
876
  block: a(),
877
877
  registeredComponents: e.registeredComponents,
878
878
  model: e.context.model
879
879
  });
880
880
  }
881
881
  function o() {
882
- var b;
883
- return e.block.tagName === "a" || ((b = a().properties) == null ? void 0 : b.href) || a().href ? e.linkComponent || "a" : e.block.tagName || "div";
882
+ var g;
883
+ return e.block.tagName === "a" || ((g = a().properties) == null ? void 0 : g.href) || a().href ? e.linkComponent || "a" : e.block.tagName || "div";
884
884
  }
885
885
  function l() {
886
886
  var p, f;
@@ -890,20 +890,20 @@ function ce(e) {
890
890
  return ("show" in a() ? a().show : !0) && !m;
891
891
  }
892
892
  function c() {
893
- var b, p;
894
- return !((b = r == null ? void 0 : r()) != null && b.component) && !t() ? (p = a().children) != null ? p : [] : [];
893
+ var g, p;
894
+ return !((g = r == null ? void 0 : r()) != null && g.component) && !t() ? (p = a().children) != null ? p : [] : [];
895
895
  }
896
896
  function d() {
897
- var m, b, p, f;
897
+ var m, g, p, f;
898
898
  return {
899
899
  blockChildren: (m = a().children) != null ? m : [],
900
- componentRef: (b = r == null ? void 0 : r()) == null ? void 0 : b.component,
900
+ componentRef: (g = r == null ? void 0 : r()) == null ? void 0 : g.component,
901
901
  componentOptions: {
902
- ...Pt(a(), e.context),
903
- ...Qt(r(), a()),
904
- ...Yt(r(), e.context),
905
- ...Jt(r(), e.linkComponent),
906
- ...Gt(
902
+ ...Rt(a(), e.context),
903
+ ...Gt(r(), a()),
904
+ ...Qt(r(), e.context),
905
+ ...Kt(r(), e.linkComponent),
906
+ ...Jt(
907
907
  r(),
908
908
  e.registeredComponents,
909
909
  e.context.model
@@ -918,25 +918,25 @@ function ce(e) {
918
918
  };
919
919
  }
920
920
  return B(() => {
921
- const m = a().id, b = a().animations;
922
- b && m && _t(
923
- b.map((p) => ({
921
+ const m = a().id, g = a().animations;
922
+ g && m && Ot(
923
+ g.map((p) => ({
924
924
  ...p,
925
925
  elementId: m
926
926
  }))
927
927
  );
928
928
  }, []), B(() => {
929
929
  n.update = !0;
930
- }), /* @__PURE__ */ s(P, { children: l() ? /* @__PURE__ */ D(P, { children: [
930
+ }), /* @__PURE__ */ s(w, { children: l() ? /* @__PURE__ */ D(w, { children: [
931
931
  /* @__PURE__ */ s(
932
- sn,
932
+ ln,
933
933
  {
934
934
  block: a(),
935
935
  context: e.context,
936
936
  id: e.block.id
937
937
  }
938
938
  ),
939
- (h = r == null ? void 0 : r()) != null && h.noWrap ? t() ? /* @__PURE__ */ s(P, { children: (S = t()) == null ? void 0 : S.map((m, b) => /* @__PURE__ */ s(
939
+ (h = r == null ? void 0 : r()) != null && h.noWrap ? t() ? /* @__PURE__ */ s(w, { children: (S = t()) == null ? void 0 : S.map((m, g) => /* @__PURE__ */ s(
940
940
  Pe,
941
941
  {
942
942
  repeatContext: m.context,
@@ -944,7 +944,7 @@ function ce(e) {
944
944
  registeredComponents: e.registeredComponents,
945
945
  linkComponent: e.linkComponent
946
946
  },
947
- Ee(b)
947
+ Ee(g)
948
948
  )) }) : /* @__PURE__ */ s(
949
949
  Re,
950
950
  {
@@ -958,7 +958,7 @@ function ce(e) {
958
958
  includeBlockProps: d().includeBlockProps,
959
959
  isInteractive: d().isInteractive
960
960
  }
961
- ) : /* @__PURE__ */ s(P, { children: t() ? /* @__PURE__ */ s(P, { children: (u = t()) == null ? void 0 : u.map((m, b) => /* @__PURE__ */ s(
961
+ ) : /* @__PURE__ */ s(w, { children: t() ? /* @__PURE__ */ s(w, { children: (u = t()) == null ? void 0 : u.map((m, g) => /* @__PURE__ */ s(
962
962
  Pe,
963
963
  {
964
964
  repeatContext: m.context,
@@ -966,9 +966,9 @@ function ce(e) {
966
966
  registeredComponents: e.registeredComponents,
967
967
  linkComponent: e.linkComponent
968
968
  },
969
- Ee(b)
969
+ Ee(g)
970
970
  )) }) : /* @__PURE__ */ D(
971
- an,
971
+ nn,
972
972
  {
973
973
  Wrapper: o(),
974
974
  block: a(),
@@ -988,7 +988,7 @@ function ce(e) {
988
988
  isInteractive: d().isInteractive
989
989
  }
990
990
  ),
991
- (g = c()) == null ? void 0 : g.map((m) => /* @__PURE__ */ s(
991
+ (b = c()) == null ? void 0 : b.map((m) => /* @__PURE__ */ s(
992
992
  ce,
993
993
  {
994
994
  block: m,
@@ -1003,8 +1003,8 @@ function ce(e) {
1003
1003
  ) })
1004
1004
  ] }) : null });
1005
1005
  }
1006
- function cn(e) {
1007
- const t = K(null);
1006
+ function sn(e) {
1007
+ const t = z(null);
1008
1008
  k(() => !1);
1009
1009
  function n() {
1010
1010
  var o;
@@ -1048,7 +1048,7 @@ function cn(e) {
1048
1048
  }
1049
1049
  return B(() => {
1050
1050
  }, []), B(() => {
1051
- }, [e.blocks]), /* @__PURE__ */ D(P, { children: [
1051
+ }, [e.blocks]), /* @__PURE__ */ D(w, { children: [
1052
1052
  /* @__PURE__ */ s("style", { children: `.props-blocks-wrapper-b46bf284 {
1053
1053
  display: flex;
1054
1054
  flex-direction: column;
@@ -1073,9 +1073,9 @@ function cn(e) {
1073
1073
  }
1074
1074
  function M(e) {
1075
1075
  var i, a, r;
1076
- const t = ye(le), n = ye(qe);
1076
+ const t = ye(le), n = ye(Me);
1077
1077
  return /* @__PURE__ */ D(
1078
- cn,
1078
+ sn,
1079
1079
  {
1080
1080
  blocks: e.blocks,
1081
1081
  parent: e.parent,
@@ -1086,7 +1086,7 @@ function M(e) {
1086
1086
  BlocksWrapper: ((a = e.context) == null ? void 0 : a.BlocksWrapper) || (t == null ? void 0 : t.BlocksWrapper),
1087
1087
  children: [
1088
1088
  e.children,
1089
- e.blocks ? /* @__PURE__ */ s(P, { children: (r = e.blocks) == null ? void 0 : r.map((o) => /* @__PURE__ */ s(
1089
+ e.blocks ? /* @__PURE__ */ s(w, { children: (r = e.blocks) == null ? void 0 : r.map((o) => /* @__PURE__ */ s(
1090
1090
  ce,
1091
1091
  {
1092
1092
  block: o,
@@ -1100,9 +1100,9 @@ function M(e) {
1100
1100
  }
1101
1101
  );
1102
1102
  }
1103
- const un = (e) => `builder-columns ${e}-breakpoints`;
1104
- function dn(e) {
1105
- var b, p;
1103
+ const cn = (e) => `builder-columns ${e}-breakpoints`;
1104
+ function un(e) {
1105
+ var g, p;
1106
1106
  function t() {
1107
1107
  return typeof e.space == "number" ? e.space || 0 : 20;
1108
1108
  }
@@ -1147,8 +1147,8 @@ function dn(e) {
1147
1147
  })
1148
1148
  };
1149
1149
  }
1150
- function g(f) {
1151
- const v = f === 0 ? 0 : t(), T = o(f), w = `${v}px`, _ = "100%", H = 0;
1150
+ function b(f) {
1151
+ const v = f === 0 ? 0 : t(), T = o(f), E = `${v}px`, _ = "100%", H = 0;
1152
1152
  return {
1153
1153
  ...{
1154
1154
  display: "flex",
@@ -1156,14 +1156,14 @@ function dn(e) {
1156
1156
  alignItems: "stretch"
1157
1157
  },
1158
1158
  width: T,
1159
- ["marginLeft"]: w,
1159
+ ["marginLeft"]: E,
1160
1160
  "--column-width-mobile": c({
1161
1161
  stackedStyle: _,
1162
1162
  desktopStyle: T
1163
1163
  }),
1164
1164
  "--column-margin-left-mobile": c({
1165
1165
  stackedStyle: H,
1166
- desktopStyle: w
1166
+ desktopStyle: E
1167
1167
  }),
1168
1168
  "--column-width-tablet": l({
1169
1169
  stackedStyle: _,
@@ -1171,14 +1171,14 @@ function dn(e) {
1171
1171
  }),
1172
1172
  "--column-margin-left-tablet": l({
1173
1173
  stackedStyle: H,
1174
- desktopStyle: w
1174
+ desktopStyle: E
1175
1175
  })
1176
1176
  };
1177
1177
  }
1178
1178
  function u(f) {
1179
- var T, w;
1180
- return tt(
1181
- ((w = (T = e.builderContext.content) == null ? void 0 : T.meta) == null ? void 0 : w.breakpoints) || {}
1179
+ var T, E;
1180
+ return et(
1181
+ ((E = (T = e.builderContext.content) == null ? void 0 : T.meta) == null ? void 0 : E.breakpoints) || {}
1182
1182
  )[f].max;
1183
1183
  }
1184
1184
  function S() {
@@ -1214,11 +1214,11 @@ function dn(e) {
1214
1214
  ...f.link ? {
1215
1215
  href: f.link
1216
1216
  } : {},
1217
- [z()]: "builder-column",
1218
- style: Ye(g(v))
1217
+ [K()]: "builder-column",
1218
+ style: Qe(b(v))
1219
1219
  };
1220
1220
  }
1221
- return /* @__PURE__ */ D(P, { children: [
1221
+ return /* @__PURE__ */ D(w, { children: [
1222
1222
  /* @__PURE__ */ s("style", { children: `.div-0369db37 {
1223
1223
  display: flex;
1224
1224
  line-height: normal;
@@ -1227,7 +1227,7 @@ function dn(e) {
1227
1227
  /* @__PURE__ */ D(
1228
1228
  "div",
1229
1229
  {
1230
- className: un((b = e.builderBlock) == null ? void 0 : b.id) + " div-0369db37",
1230
+ className: cn((g = e.builderBlock) == null ? void 0 : g.id) + " div-0369db37",
1231
1231
  style: h(),
1232
1232
  children: [
1233
1233
  /* @__PURE__ */ s(
@@ -1266,17 +1266,17 @@ function dn(e) {
1266
1266
  )
1267
1267
  ] });
1268
1268
  }
1269
- function mn(e) {
1269
+ function dn(e) {
1270
1270
  return /* @__PURE__ */ s("span", { children: e.children });
1271
1271
  }
1272
1272
  function Ae(e) {
1273
1273
  return e.replace(/http(s)?:/, "");
1274
1274
  }
1275
- function fn(e = "", t, n) {
1275
+ function mn(e = "", t, n) {
1276
1276
  const i = new RegExp("([?&])" + t + "=.*?(&|$)", "i"), a = e.indexOf("?") !== -1 ? "&" : "?";
1277
1277
  return e.match(i) ? e.replace(i, "$1" + t + "=" + encodeURIComponent(n) + "$2") : e + a + t + "=" + encodeURIComponent(n);
1278
1278
  }
1279
- function hn(e, t) {
1279
+ function fn(e, t) {
1280
1280
  if (!e || !(e != null && e.match(/cdn\.shopify\.com/)) || !t)
1281
1281
  return e;
1282
1282
  if (t === "master")
@@ -1295,26 +1295,26 @@ function de(e) {
1295
1295
  if (e.match(/builder\.io/)) {
1296
1296
  let n = e;
1297
1297
  const i = Number(e.split("?width=")[1]);
1298
- return isNaN(i) || (n = `${n} ${i}w`), t.filter((a) => a !== i).map((a) => `${fn(e, "width", a)} ${a}w`).concat([n]).join(", ");
1298
+ return isNaN(i) || (n = `${n} ${i}w`), t.filter((a) => a !== i).map((a) => `${mn(e, "width", a)} ${a}w`).concat([n]).join(", ");
1299
1299
  }
1300
- return e.match(/cdn\.shopify\.com/) ? t.map((n) => [hn(e, `${n}x${n}`), n]).filter(([n]) => !!n).map(([n, i]) => `${n} ${i}w`).concat([e]).join(", ") : e;
1300
+ return e.match(/cdn\.shopify\.com/) ? t.map((n) => [fn(e, `${n}x${n}`), n]).filter(([n]) => !!n).map(([n, i]) => `${n} ${i}w`).concat([e]).join(", ") : e;
1301
1301
  }
1302
- function bn(e) {
1302
+ function hn(e) {
1303
1303
  var a, r, o, l, c, d;
1304
1304
  function t() {
1305
1305
  var u;
1306
- const g = e.image || e.src;
1307
- if (!g || // We can auto add srcset for cdn.builder.io and shopify
1306
+ const b = e.image || e.src;
1307
+ if (!b || // We can auto add srcset for cdn.builder.io and shopify
1308
1308
  // images, otherwise you can supply this prop manually
1309
- !(typeof g == "string" && (g.match(/builder\.io/) || g.match(/cdn\.shopify\.com/))))
1309
+ !(typeof b == "string" && (b.match(/builder\.io/) || b.match(/cdn\.shopify\.com/))))
1310
1310
  return e.srcset;
1311
1311
  if (!e.noWebp) {
1312
1312
  if (e.srcset && ((u = e.image) != null && u.includes("builder.io/api/v1/image"))) {
1313
1313
  if (!e.srcset.includes(e.image.split("?")[0]))
1314
- return console.debug("Removed given srcset"), de(g);
1314
+ return console.debug("Removed given srcset"), de(b);
1315
1315
  } else if (e.image && !e.srcset)
1316
- return de(g);
1317
- return de(g);
1316
+ return de(b);
1317
+ return de(b);
1318
1318
  }
1319
1319
  }
1320
1320
  function n() {
@@ -1332,7 +1332,7 @@ function bn(e) {
1332
1332
  return e.aspectRatio ? h : void 0;
1333
1333
  }
1334
1334
  return B(() => {
1335
- }, []), /* @__PURE__ */ D(P, { children: [
1335
+ }, []), /* @__PURE__ */ D(w, { children: [
1336
1336
  /* @__PURE__ */ s("style", { children: `.img-3cc22d08 {
1337
1337
  opacity: 1;
1338
1338
  transition: opacity 0.2s ease-in-out;
@@ -1350,7 +1350,7 @@ function bn(e) {
1350
1350
  width: 100%;
1351
1351
  height: 100%;
1352
1352
  }` }),
1353
- /* @__PURE__ */ D(P, { children: [
1353
+ /* @__PURE__ */ D(w, { children: [
1354
1354
  /* @__PURE__ */ D("picture", { children: [
1355
1355
  n() ? /* @__PURE__ */ s("source", { type: "image/webp", srcSet: n() }) : null,
1356
1356
  /* @__PURE__ */ s(
@@ -1382,7 +1382,7 @@ function bn(e) {
1382
1382
  }
1383
1383
  }
1384
1384
  ) : null,
1385
- (l = (o = e.builderBlock) == null ? void 0 : o.children) != null && l.length && e.fitContent ? /* @__PURE__ */ s(P, { children: e.children }) : null,
1385
+ (l = (o = e.builderBlock) == null ? void 0 : o.children) != null && l.length && e.fitContent ? /* @__PURE__ */ s(w, { children: e.children }) : null,
1386
1386
  !e.fitContent && ((d = (c = e.builderBlock) == null ? void 0 : c.children) != null && d.length) ? /* @__PURE__ */ s("div", { className: "div-3cc22d08-2", children: e.children }) : null
1387
1387
  ] })
1388
1388
  ] });
@@ -1408,7 +1408,7 @@ function gn(e) {
1408
1408
  }
1409
1409
  );
1410
1410
  }
1411
- function yn(e, t, n, i) {
1411
+ function bn(e, t, n, i) {
1412
1412
  function a(d) {
1413
1413
  return typeof d == "string";
1414
1414
  }
@@ -1431,28 +1431,28 @@ function yn(e, t, n, i) {
1431
1431
  operator: S,
1432
1432
  value: p
1433
1433
  }));
1434
- const b = d[u];
1435
- if (Array.isArray(b))
1436
- return b.includes(m);
1434
+ const g = d[u];
1435
+ if (Array.isArray(g))
1436
+ return g.includes(m);
1437
1437
  switch (S) {
1438
1438
  case "is":
1439
- return b === m;
1439
+ return g === m;
1440
1440
  case "isNot":
1441
- return b !== m;
1441
+ return g !== m;
1442
1442
  case "contains":
1443
- return (a(b) || Array.isArray(b)) && b.includes(String(m));
1443
+ return (a(g) || Array.isArray(g)) && g.includes(String(m));
1444
1444
  case "startsWith":
1445
- return a(b) && b.startsWith(String(m));
1445
+ return a(g) && g.startsWith(String(m));
1446
1446
  case "endsWith":
1447
- return a(b) && b.endsWith(String(m));
1447
+ return a(g) && g.endsWith(String(m));
1448
1448
  case "greaterThan":
1449
- return r(b) && r(m) && b > m;
1449
+ return r(g) && r(m) && g > m;
1450
1450
  case "lessThan":
1451
- return r(b) && r(m) && b < m;
1451
+ return r(g) && r(m) && g < m;
1452
1452
  case "greaterThanOrEqualTo":
1453
- return r(b) && r(m) && b >= m;
1453
+ return r(g) && r(m) && g >= m;
1454
1454
  case "lessThanOrEqualTo":
1455
- return r(b) && r(m) && b <= m;
1455
+ return r(g) && r(m) && g <= m;
1456
1456
  default:
1457
1457
  return !1;
1458
1458
  }
@@ -1465,7 +1465,7 @@ function yn(e, t, n, i) {
1465
1465
  }, c = e.date && new Date(e.date) || /* @__PURE__ */ new Date();
1466
1466
  return l.startDate && new Date(l.startDate) > c || l.endDate && new Date(l.endDate) < c ? !1 : !l.query || !l.query.length ? !0 : l.query.every((d) => o(e, d));
1467
1467
  }
1468
- const pn = `function getPersonalizedVariant(variants, blockId, isHydrationTarget, locale) {
1468
+ const yn = `function getPersonalizedVariant(variants, blockId, isHydrationTarget, locale) {
1469
1469
  if (!navigator.cookieEnabled) {
1470
1470
  return;
1471
1471
  }
@@ -1510,7 +1510,7 @@ const pn = `function getPersonalizedVariant(variants, blockId, isHydrationTarget
1510
1510
  thisScript.remove();
1511
1511
  }
1512
1512
  }
1513
- }`, vn = `function filterWithCustomTargeting(userAttributes, query, startDate, endDate) {
1513
+ }`, pn = `function filterWithCustomTargeting(userAttributes, query, startDate, endDate) {
1514
1514
  function isString(val) {
1515
1515
  return typeof val === 'string';
1516
1516
  }
@@ -1588,7 +1588,7 @@ const pn = `function getPersonalizedVariant(variants, blockId, isHydrationTarget
1588
1588
  return item.query.every(filter => {
1589
1589
  return objectMatchesQuery(userAttributes, filter);
1590
1590
  });
1591
- }`, xn = `function updateVisibilityStylesScript(variants, blockId, isHydrationTarget, locale) {
1591
+ }`, vn = `function updateVisibilityStylesScript(variants, blockId, isHydrationTarget, locale) {
1592
1592
  function getCookie(name) {
1593
1593
  const nameEQ = name + '=';
1594
1594
  const ca = document.cookie.split(';');
@@ -1626,11 +1626,11 @@ const pn = `function getPersonalizedVariant(variants, blockId, isHydrationTarget
1626
1626
  visibilityStylesEl.innerHTML = newStyleStr;
1627
1627
  }
1628
1628
  }
1629
- }`, ne = "default", Sn = "filterWithCustomTargeting", nt = "builderIoPersonalization", it = "updateVisibilityStylesScript", at = ["react", "vue", "svelte", "qwik"], ie = ["vue", "svelte", "qwik"];
1630
- function kn(e, t) {
1629
+ }`, ne = "default", xn = "filterWithCustomTargeting", tt = "builderIoPersonalization", nt = "updateVisibilityStylesScript", it = ["react", "vue", "svelte", "qwik"], ie = ["vue", "svelte", "qwik"];
1630
+ function Sn(e, t) {
1631
1631
  return !(e && e.length > 0) || !t ? !1 : ie.includes(F) ? !0 : !G();
1632
1632
  }
1633
- function Cn({
1633
+ function kn({
1634
1634
  variants: e,
1635
1635
  previewingIndex: t,
1636
1636
  isHydrated: n,
@@ -1669,11 +1669,11 @@ function Cn({
1669
1669
  }
1670
1670
  return r;
1671
1671
  }
1672
- const Tn = () => `
1673
- window.${Sn} = ${vn}
1674
- window.${nt} = ${pn}
1675
- window.${it} = ${xn}
1676
- `, rt = F === "react", In = (e, t, n) => `window.${nt}(${JSON.stringify(e)}, "${t}", ${rt}${n ? `, "${n}"` : ""})`, wn = (e, t, n) => `window.${it}(${JSON.stringify(e)}, "${t}", ${rt}${n ? `, "${n}"` : ""})`, me = {
1672
+ const Cn = () => `
1673
+ window.${xn} = ${pn}
1674
+ window.${tt} = ${yn}
1675
+ window.${nt} = ${vn}
1676
+ `, at = F === "react", Tn = (e, t, n) => `window.${tt}(${JSON.stringify(e)}, "${t}", ${at}${n ? `, "${n}"` : ""})`, In = (e, t, n) => `window.${nt}(${JSON.stringify(e)}, "${t}", ${at}${n ? `, "${n}"` : ""})`, me = {
1677
1677
  "@type": "@builder.io/sdk:Element",
1678
1678
  layerName: "Accordion item title",
1679
1679
  responsiveStyles: {
@@ -1733,7 +1733,7 @@ const Tn = () => `
1733
1733
  }
1734
1734
  }
1735
1735
  }]
1736
- }, En = {
1736
+ }, wn = {
1737
1737
  name: "Builder:Accordion",
1738
1738
  canHaveChildren: !0,
1739
1739
  image: "https://cdn.builder.io/api/v1/image/assets%2FagZ9n5CUKRfbL9t6CaJOyVSK4Es2%2Ffab6c1fd3fe542408cbdec078bca7f35",
@@ -1798,8 +1798,8 @@ const Tn = () => `
1798
1798
  builderLinkComponent: !0
1799
1799
  }
1800
1800
  }, Be = (e) => e.toString();
1801
- function Rn(e) {
1802
- var g;
1801
+ function En(e) {
1802
+ var b;
1803
1803
  const [t, n] = k(() => []);
1804
1804
  function i() {
1805
1805
  return !!(e.grid || e.oneAtATime);
@@ -1826,7 +1826,7 @@ function Rn(e) {
1826
1826
  cursor: "pointer"
1827
1827
  };
1828
1828
  return Object.fromEntries(
1829
- Object.entries(S).filter(([m, b]) => b !== void 0)
1829
+ Object.entries(S).filter(([m, g]) => g !== void 0)
1830
1830
  );
1831
1831
  }
1832
1832
  function o(u) {
@@ -1876,7 +1876,7 @@ function Rn(e) {
1876
1876
  function h(u) {
1877
1877
  t.includes(u) ? n(i() ? [] : t.filter((S) => S !== u)) : n(i() ? [u] : t.concat(u));
1878
1878
  }
1879
- return /* @__PURE__ */ s("div", { className: "builder-accordion", style: a(), children: (g = e.items) == null ? void 0 : g.map((u, S) => /* @__PURE__ */ D(ht.Fragment, { children: [
1879
+ return /* @__PURE__ */ s("div", { className: "builder-accordion", style: a(), children: (b = e.items) == null ? void 0 : b.map((u, S) => /* @__PURE__ */ D(ft.Fragment, { children: [
1880
1880
  /* @__PURE__ */ s(
1881
1881
  "div",
1882
1882
  {
@@ -1923,7 +1923,7 @@ function Rn(e) {
1923
1923
  ) : null
1924
1924
  ] }, S)) });
1925
1925
  }
1926
- const Pn = {
1926
+ const Rn = {
1927
1927
  name: "Core:Button",
1928
1928
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F81a15681c3e74df09677dfc57a615b13",
1929
1929
  defaultStyles: {
@@ -1959,7 +1959,7 @@ const Pn = {
1959
1959
  shouldReceiveBuilderProps: {
1960
1960
  builderLinkComponent: !0
1961
1961
  }
1962
- }, Vn = {
1962
+ }, Pn = {
1963
1963
  // TODO: ways to statically preprocess JSON for references, functions, etc
1964
1964
  name: "Columns",
1965
1965
  isRSC: !0,
@@ -2166,13 +2166,13 @@ const Pn = {
2166
2166
  builderComponents: !0,
2167
2167
  builderLinkComponent: !0
2168
2168
  }
2169
- }, An = {
2169
+ }, Vn = {
2170
2170
  name: "Fragment",
2171
2171
  static: !0,
2172
2172
  hidden: !0,
2173
2173
  canHaveChildren: !0,
2174
2174
  noWrap: !0
2175
- }, ke = ["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"], Bn = ["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"], Nn = {
2175
+ }, ke = ["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"], An = ["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"], Bn = {
2176
2176
  name: "Image",
2177
2177
  static: !0,
2178
2178
  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",
@@ -2195,13 +2195,13 @@ const Pn = {
2195
2195
  function n(o, l = 6e4) {
2196
2196
  return new Promise((c, d) => {
2197
2197
  const h = document.createElement("img");
2198
- let g = !1;
2198
+ let b = !1;
2199
2199
  h.onload = () => {
2200
- g = !0, c(h);
2200
+ b = !0, c(h);
2201
2201
  }, h.addEventListener("error", (u) => {
2202
2202
  console.warn("Image load failed", u.error), d(u.error);
2203
2203
  }), h.src = o, setTimeout(() => {
2204
- g || d(new Error("Image load timed out"));
2204
+ b || d(new Error("Image load timed out"));
2205
2205
  }, l);
2206
2206
  });
2207
2207
  }
@@ -2284,7 +2284,7 @@ const Pn = {
2284
2284
  shouldReceiveBuilderProps: {
2285
2285
  builderBlock: !0
2286
2286
  }
2287
- }, $n = {
2287
+ }, Nn = {
2288
2288
  name: "PersonalizationContainer",
2289
2289
  shouldReceiveBuilderProps: {
2290
2290
  builderBlock: !0,
@@ -2331,14 +2331,14 @@ function J(e) {
2331
2331
  }
2332
2332
  );
2333
2333
  }
2334
- function Wn(e) {
2335
- var v, T, w, _, H, q, y, x, V, A, $, E, R;
2336
- const t = K(null), [n, i] = k(
2334
+ function $n(e) {
2335
+ var v, T, E, _, H, q, y, x, V, A, $, R, P;
2336
+ const t = z(null), [n, i] = k(
2337
2337
  () => Te.getUserAttributes()
2338
2338
  ), [a, r] = k(
2339
2339
  () => {
2340
2340
  var I, N, C;
2341
- return In(
2341
+ return Tn(
2342
2342
  e.variants,
2343
2343
  ((I = e.builderBlock) == null ? void 0 : I.id) || "none",
2344
2344
  (C = (N = e.builderContext) == null ? void 0 : N.rootState) == null ? void 0 : C.locale
@@ -2347,16 +2347,16 @@ function Wn(e) {
2347
2347
  ), [o, l] = k(
2348
2348
  () => {
2349
2349
  var I, N, C;
2350
- return wn(
2350
+ return In(
2351
2351
  e.variants,
2352
2352
  ((I = e.builderBlock) == null ? void 0 : I.id) || "none",
2353
2353
  (C = (N = e.builderContext) == null ? void 0 : N.rootState) == null ? void 0 : C.locale
2354
2354
  );
2355
2355
  }
2356
- ), [c, d] = k(() => []), [h, g] = k(
2356
+ ), [c, d] = k(() => []), [h, b] = k(
2357
2357
  () => {
2358
2358
  var I;
2359
- return kn(
2359
+ return Sn(
2360
2360
  e.variants,
2361
2361
  Z((I = e.builderContext) == null ? void 0 : I.canTrack)
2362
2362
  );
@@ -2365,16 +2365,16 @@ function Wn(e) {
2365
2365
  function m() {
2366
2366
  return {
2367
2367
  ...e.attributes,
2368
- [z()]: `builder-personalization-container ${e.attributes[z()] || ""}`
2368
+ [K()]: `builder-personalization-container ${e.attributes[K()] || ""}`
2369
2369
  };
2370
2370
  }
2371
- function b() {
2371
+ function g() {
2372
2372
  return (e.variants || []).filter((I) => {
2373
- var N, C, W, O;
2374
- return yn(
2373
+ var N, C, W, L;
2374
+ return bn(
2375
2375
  {
2376
2376
  ...(C = (N = e.builderContext) == null ? void 0 : N.rootState) != null && C.locale ? {
2377
- locale: (O = (W = e.builderContext) == null ? void 0 : W.rootState) == null ? void 0 : O.locale
2377
+ locale: (L = (W = e.builderContext) == null ? void 0 : W.rootState) == null ? void 0 : L.locale
2378
2378
  } : {},
2379
2379
  ...n
2380
2380
  },
@@ -2386,11 +2386,11 @@ function Wn(e) {
2386
2386
  }
2387
2387
  function p() {
2388
2388
  var I;
2389
- return Cn({
2389
+ return kn({
2390
2390
  variants: e.variants,
2391
2391
  fallbackBlocks: (I = e.builderBlock) == null ? void 0 : I.children,
2392
2392
  isHydrated: u,
2393
- filteredVariants: b(),
2393
+ filteredVariants: g(),
2394
2394
  previewingIndex: e.previewingIndex
2395
2395
  });
2396
2396
  }
@@ -2414,7 +2414,7 @@ function Wn(e) {
2414
2414
  }
2415
2415
  );
2416
2416
  if (!(U() || oe())) {
2417
- const C = b()[0];
2417
+ const C = g()[0];
2418
2418
  t.current && (t.current.dispatchEvent(
2419
2419
  new CustomEvent("builder.variantLoaded", {
2420
2420
  detail: {
@@ -2423,10 +2423,10 @@ function Wn(e) {
2423
2423
  },
2424
2424
  bubbles: !0
2425
2425
  })
2426
- ), new IntersectionObserver((O) => {
2427
- O.forEach((L) => {
2426
+ ), new IntersectionObserver((L) => {
2427
+ L.forEach((O) => {
2428
2428
  var j;
2429
- L.isIntersecting && t.current && t.current.dispatchEvent(
2429
+ O.isIntersecting && t.current && t.current.dispatchEvent(
2430
2430
  new CustomEvent("builder.variantDisplayed", {
2431
2431
  detail: {
2432
2432
  variant: C || ne,
@@ -2452,12 +2452,12 @@ function Wn(e) {
2452
2452
  registeredComponents: e.builderComponents,
2453
2453
  BlocksWrapperProps: {
2454
2454
  ...(T = e.builderContext) == null ? void 0 : T.BlocksWrapperProps,
2455
- "data-variant-id": `${(w = e.builderBlock) == null ? void 0 : w.id}-${p().index}`
2455
+ "data-variant-id": `${(E = e.builderBlock) == null ? void 0 : E.id}-${p().index}`
2456
2456
  }
2457
2457
  }
2458
2458
  ) : null,
2459
- !u && ie.includes(F) || !ie.includes(F) ? /* @__PURE__ */ D(P, { children: [
2460
- h ? /* @__PURE__ */ D(P, { children: [
2459
+ !u && ie.includes(F) || !ie.includes(F) ? /* @__PURE__ */ D(w, { children: [
2460
+ h ? /* @__PURE__ */ D(w, { children: [
2461
2461
  /* @__PURE__ */ s(
2462
2462
  te,
2463
2463
  {
@@ -2475,7 +2475,7 @@ function Wn(e) {
2475
2475
  }
2476
2476
  ),
2477
2477
  (x = e.variants) == null ? void 0 : x.map((I, N) => {
2478
- var C, W, O, L, j, Ce;
2478
+ var C, W, L, O, j, Ce;
2479
2479
  return /* @__PURE__ */ s(
2480
2480
  M,
2481
2481
  {
@@ -2486,14 +2486,14 @@ function Wn(e) {
2486
2486
  "data-variant-id": `${(W = e.builderBlock) == null ? void 0 : W.id}-${N}`
2487
2487
  },
2488
2488
  blocks: I.blocks,
2489
- parent: (O = e.builderBlock) == null ? void 0 : O.id,
2489
+ parent: (L = e.builderBlock) == null ? void 0 : L.id,
2490
2490
  path: `component.options.variants.${N}.blocks`,
2491
2491
  context: e.builderContext,
2492
2492
  registeredComponents: e.builderComponents,
2493
2493
  children: /* @__PURE__ */ s(
2494
2494
  J,
2495
2495
  {
2496
- nonce: ((L = e.builderContext) == null ? void 0 : L.nonce) || "",
2496
+ nonce: ((O = e.builderContext) == null ? void 0 : O.nonce) || "",
2497
2497
  scriptStr: a,
2498
2498
  id: `variants-script-${(j = e.builderBlock) == null ? void 0 : j.id}-${N}`
2499
2499
  }
@@ -2518,9 +2518,9 @@ function Wn(e) {
2518
2518
  children: h ? /* @__PURE__ */ s(
2519
2519
  J,
2520
2520
  {
2521
- nonce: ((E = e.builderContext) == null ? void 0 : E.nonce) || "",
2521
+ nonce: ((R = e.builderContext) == null ? void 0 : R.nonce) || "",
2522
2522
  scriptStr: a,
2523
- id: `variants-script-${(R = e.builderBlock) == null ? void 0 : R.id}-${ne}`
2523
+ id: `variants-script-${(P = e.builderBlock) == null ? void 0 : P.id}-${ne}`
2524
2524
  }
2525
2525
  ) : null
2526
2526
  }
@@ -2528,7 +2528,7 @@ function Wn(e) {
2528
2528
  ] }) : null
2529
2529
  ] });
2530
2530
  }
2531
- const Dn = {
2531
+ const Wn = {
2532
2532
  name: "Core:Section",
2533
2533
  static: !0,
2534
2534
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F682efef23ace49afac61748dd305c70a",
@@ -2567,7 +2567,7 @@ const Dn = {
2567
2567
  }
2568
2568
  }
2569
2569
  }]
2570
- }, Fn = {
2570
+ }, Dn = {
2571
2571
  name: "Slot",
2572
2572
  isRSC: !0,
2573
2573
  description: "Allow child blocks to be inserted into this content when used as a Symbol",
@@ -2585,7 +2585,7 @@ const Dn = {
2585
2585
  builderComponents: !0
2586
2586
  }
2587
2587
  };
2588
- function On(e) {
2588
+ function Fn(e) {
2589
2589
  var t, n, i;
2590
2590
  return /* @__PURE__ */ s(
2591
2591
  "div",
@@ -2670,7 +2670,7 @@ const Ln = {
2670
2670
  text: "New tab"
2671
2671
  }
2672
2672
  }
2673
- }, be = {
2673
+ }, ge = {
2674
2674
  "@type": "@builder.io/sdk:Element",
2675
2675
  responsiveStyles: {
2676
2676
  large: {
@@ -2686,7 +2686,7 @@ const Ln = {
2686
2686
  text: "New tab content "
2687
2687
  }
2688
2688
  }
2689
- }, _n = {
2689
+ }, On = {
2690
2690
  name: "Builder: Tabs",
2691
2691
  inputs: [{
2692
2692
  name: "tabs",
@@ -2701,7 +2701,7 @@ const Ln = {
2701
2701
  name: "content",
2702
2702
  type: "uiBlocks",
2703
2703
  hideFromUI: !0,
2704
- defaultValue: [be]
2704
+ defaultValue: [ge]
2705
2705
  }],
2706
2706
  defaultValue: [{
2707
2707
  label: [{
@@ -2714,7 +2714,7 @@ const Ln = {
2714
2714
  }
2715
2715
  }],
2716
2716
  content: [{
2717
- ...be,
2717
+ ...ge,
2718
2718
  component: {
2719
2719
  name: "Text",
2720
2720
  options: {
@@ -2733,7 +2733,7 @@ const Ln = {
2733
2733
  }
2734
2734
  }],
2735
2735
  content: [{
2736
- ...be,
2736
+ ...ge,
2737
2737
  component: {
2738
2738
  name: "Text",
2739
2739
  options: {
@@ -2790,7 +2790,7 @@ const Ln = {
2790
2790
  builderLinkComponent: !0
2791
2791
  }
2792
2792
  };
2793
- function Un(e) {
2793
+ function _n(e) {
2794
2794
  var o;
2795
2795
  const [t, n] = k(
2796
2796
  () => e.defaultActiveTab ? e.defaultActiveTab - 1 : 0
@@ -2850,7 +2850,7 @@ function Un(e) {
2850
2850
  ) }) : null
2851
2851
  ] });
2852
2852
  }
2853
- const Hn = {
2853
+ const Un = {
2854
2854
  shouldReceiveBuilderProps: {},
2855
2855
  name: "Text",
2856
2856
  static: !0,
@@ -2869,7 +2869,7 @@ const Hn = {
2869
2869
  textAlign: "center"
2870
2870
  }
2871
2871
  };
2872
- function Mn(e) {
2872
+ function Hn(e) {
2873
2873
  var t;
2874
2874
  return /* @__PURE__ */ s(
2875
2875
  "div",
@@ -2882,7 +2882,7 @@ function Mn(e) {
2882
2882
  }
2883
2883
  );
2884
2884
  }
2885
- const qn = {
2885
+ const Mn = {
2886
2886
  name: "Custom Code",
2887
2887
  static: !0,
2888
2888
  requiredPermissions: ["editCode"],
@@ -2905,8 +2905,8 @@ const qn = {
2905
2905
  advanced: !0
2906
2906
  }]
2907
2907
  };
2908
- function jn(e) {
2909
- const t = K(null), [n, i] = k(() => []), [a, r] = k(() => []);
2908
+ function qn(e) {
2909
+ const t = z(null), [n, i] = k(() => []), [a, r] = k(() => []);
2910
2910
  function o() {
2911
2911
  var c;
2912
2912
  if (!t.current || !((c = t.current) != null && c.getElementsByTagName) || typeof window == "undefined")
@@ -2918,8 +2918,8 @@ function jn(e) {
2918
2918
  if (n.includes(h.src))
2919
2919
  continue;
2920
2920
  n.push(h.src);
2921
- const g = document.createElement("script");
2922
- g.async = !0, g.src = h.src, document.head.appendChild(g);
2921
+ const b = document.createElement("script");
2922
+ b.async = !0, b.src = h.src, document.head.appendChild(b);
2923
2923
  } else if (!h.type || [
2924
2924
  "text/javascript",
2925
2925
  "application/javascript",
@@ -2929,10 +2929,10 @@ function jn(e) {
2929
2929
  continue;
2930
2930
  try {
2931
2931
  a.push(h.innerText), new Function(h.innerText)();
2932
- } catch (g) {
2932
+ } catch (b) {
2933
2933
  ee.warn(
2934
2934
  "[BUILDER.IO] `CustomCode`: Error running script:",
2935
- g
2935
+ b
2936
2936
  );
2937
2937
  }
2938
2938
  }
@@ -2951,7 +2951,7 @@ function jn(e) {
2951
2951
  }
2952
2952
  );
2953
2953
  }
2954
- const Kn = {
2954
+ const jn = {
2955
2955
  name: "Embed",
2956
2956
  static: !0,
2957
2957
  inputs: [{
@@ -2966,22 +2966,22 @@ const Kn = {
2966
2966
  defaultValue: '<div style="padding: 20px; text-align: center">(Choose an embed URL)<div>',
2967
2967
  hideFromUI: !0
2968
2968
  }]
2969
- }, zn = ["text/javascript", "application/javascript", "application/ecmascript"], Jn = (e) => zn.includes(e.type);
2970
- function Gn(e) {
2971
- const t = K(null), [n, i] = k(() => []), [a, r] = k(() => []), [o, l] = k(() => !1);
2969
+ }, zn = ["text/javascript", "application/javascript", "application/ecmascript"], Kn = (e) => zn.includes(e.type);
2970
+ function Jn(e) {
2971
+ const t = z(null), [n, i] = k(() => []), [a, r] = k(() => []), [o, l] = k(() => !1);
2972
2972
  function c() {
2973
2973
  if (!t.current || !t.current.getElementsByTagName)
2974
2974
  return;
2975
2975
  const d = t.current.getElementsByTagName("script");
2976
2976
  for (let h = 0; h < d.length; h++) {
2977
- const g = d[h];
2978
- if (g.src && !n.includes(g.src)) {
2979
- n.push(g.src);
2977
+ const b = d[h];
2978
+ if (b.src && !n.includes(b.src)) {
2979
+ n.push(b.src);
2980
2980
  const u = document.createElement("script");
2981
- u.async = !0, u.src = g.src, document.head.appendChild(u);
2982
- } else if (Jn(g) && !a.includes(g.innerText))
2981
+ u.async = !0, u.src = b.src, document.head.appendChild(u);
2982
+ } else if (Kn(b) && !a.includes(b.innerText))
2983
2983
  try {
2984
- a.push(g.innerText), new Function(g.innerText)();
2984
+ a.push(b.innerText), new Function(b.innerText)();
2985
2985
  } catch (u) {
2986
2986
  ee.warn("[BUILDER.IO] `Embed`: Error running script:", u);
2987
2987
  }
@@ -2998,7 +2998,7 @@ function Gn(e) {
2998
2998
  }
2999
2999
  );
3000
3000
  }
3001
- const Qn = {
3001
+ const Gn = {
3002
3002
  name: "Form:Form",
3003
3003
  // editableTags: ['builder-form-error']
3004
3004
  defaults: {
@@ -3235,19 +3235,19 @@ const Qn = {
3235
3235
  builderComponents: !0,
3236
3236
  builderLinkComponent: !0
3237
3237
  }
3238
- }, Yn = ["production", "qa", "test", "development", "dev", "cdn-qa", "cloud", "fast", "cdn2", "cdn-prod"], Xn = () => {
3238
+ }, Qn = ["production", "qa", "test", "development", "dev", "cdn-qa", "cloud", "fast", "cdn2", "cdn-prod"], Yn = () => {
3239
3239
  const e = process.env.NODE_ENV || "production";
3240
- return Yn.includes(e) ? e : "production";
3240
+ return Qn.includes(e) ? e : "production";
3241
3241
  };
3242
- function Zn(e) {
3243
- const t = K(null), [n, i] = k(() => "unsubmitted"), [a, r] = k(() => null), [o, l] = k(() => "");
3242
+ function Xn(e) {
3243
+ const t = z(null), [n, i] = k(() => "unsubmitted"), [a, r] = k(() => null), [o, l] = k(() => "");
3244
3244
  function c(u) {
3245
- var m, b;
3245
+ var m, g;
3246
3246
  const S = {
3247
3247
  ...e.builderContext.rootState,
3248
3248
  ...u
3249
3249
  };
3250
- e.builderContext.rootSetState ? (b = (m = e.builderContext).rootSetState) == null || b.call(m, S) : e.builderContext.rootState = S;
3250
+ e.builderContext.rootSetState ? (g = (m = e.builderContext).rootSetState) == null || g.call(m, S) : e.builderContext.rootState = S;
3251
3251
  }
3252
3252
  function d() {
3253
3253
  return U() && e.previewState || n;
@@ -3255,7 +3255,7 @@ function Zn(e) {
3255
3255
  function h(u) {
3256
3256
  return JSON.stringify(u, null, 2);
3257
3257
  }
3258
- function g(u) {
3258
+ function b(u) {
3259
3259
  var m;
3260
3260
  const S = e.sendWithJs || e.sendSubmissionsTo === "email";
3261
3261
  if (e.sendSubmissionsTo === "zapier")
@@ -3266,9 +3266,9 @@ function Zn(e) {
3266
3266
  return;
3267
3267
  }
3268
3268
  u.preventDefault();
3269
- const b = u.currentTarget || u.target, p = e.customHeaders || {};
3269
+ const g = u.currentTarget || u.target, p = e.customHeaders || {};
3270
3270
  let f;
3271
- const v = new FormData(b), T = Array.from(b.querySelectorAll("input,select,textarea")).filter((y) => !!y.name).filter(
3271
+ const v = new FormData(g), T = Array.from(g.querySelectorAll("input,select,textarea")).filter((y) => !!y.name).filter(
3272
3272
  (y) => !!y.name && (y.type !== "radio" || y.checked)
3273
3273
  ).map((y) => {
3274
3274
  let x;
@@ -3294,18 +3294,18 @@ function Zn(e) {
3294
3294
  value: x
3295
3295
  };
3296
3296
  });
3297
- let w = e.contentType;
3298
- if (e.sendSubmissionsTo === "email" && (w = "multipart/form-data"), Array.from(T).forEach(({ value: y }) => {
3299
- (y instanceof File || Array.isArray(y) && y[0] instanceof File || y instanceof FileList) && (w = "multipart/form-data");
3300
- }), w !== "application/json")
3297
+ let E = e.contentType;
3298
+ if (e.sendSubmissionsTo === "email" && (E = "multipart/form-data"), Array.from(T).forEach(({ value: y }) => {
3299
+ (y instanceof File || Array.isArray(y) && y[0] instanceof File || y instanceof FileList) && (E = "multipart/form-data");
3300
+ }), E !== "application/json")
3301
3301
  f = v;
3302
3302
  else {
3303
3303
  const y = {};
3304
3304
  Array.from(T).forEach(({ value: x, key: V }) => {
3305
- Me(y, V, x);
3305
+ He(y, V, x);
3306
3306
  }), f = JSON.stringify(y);
3307
3307
  }
3308
- w && w !== "multipart/form-data" && (S && ((m = e.action) != null && m.includes("zapier.com")) || (p["content-type"] = w));
3308
+ E && E !== "multipart/form-data" && (S && ((m = e.action) != null && m.includes("zapier.com")) || (p["content-type"] = E));
3309
3309
  const _ = new CustomEvent("presubmit", { detail: { body: f } });
3310
3310
  if (t.current && (t.current.dispatchEvent(_), _.defaultPrevented))
3311
3311
  return;
@@ -3314,7 +3314,7 @@ function Zn(e) {
3314
3314
  console.error(y), i("error"), c({ formErrorMessage: y });
3315
3315
  return;
3316
3316
  }
3317
- const H = `${Xn() === "dev" ? "http://localhost:5000" : "https://builder.io"}/api/v1/form-submit?apiKey=${e.builderContext.apiKey}&to=${btoa(
3317
+ const H = `${Yn() === "dev" ? "http://localhost:5000" : "https://builder.io"}/api/v1/form-submit?apiKey=${e.builderContext.apiKey}&to=${btoa(
3318
3318
  e.sendSubmissionsToEmail || ""
3319
3319
  )}&name=${encodeURIComponent(e.name || "")}`, q = e.sendSubmissionsTo === "email" ? H : e.action;
3320
3320
  Le(q), fetch(q, { body: f, headers: p, method: e.method || "post" }).then(
@@ -3323,31 +3323,31 @@ function Zn(e) {
3323
3323
  let x;
3324
3324
  const V = y.headers.get("content-type");
3325
3325
  if (V && V.indexOf("application/json") !== -1 ? x = await y.json() : x = await y.text(), !y.ok) {
3326
- const E = new CustomEvent("submit:error", {
3326
+ const R = new CustomEvent("submit:error", {
3327
3327
  detail: { error: x, status: y.status }
3328
3328
  });
3329
- if ((A = t.current) != null && A.nativeElement && (($ = t.current) == null || $.nativeElement.dispatchEvent(E), E.defaultPrevented))
3329
+ if ((A = t.current) != null && A.nativeElement && (($ = t.current) == null || $.nativeElement.dispatchEvent(R), R.defaultPrevented))
3330
3330
  return;
3331
3331
  r(x), i("error");
3332
- let R = e.errorMessagePath ? je(x, e.errorMessagePath) : x.message || x.error || x;
3333
- typeof R != "string" && (R = JSON.stringify(R)), l(R), c({ formErrorMessage: R });
3332
+ let P = e.errorMessagePath ? qe(x, e.errorMessagePath) : x.message || x.error || x;
3333
+ typeof P != "string" && (P = JSON.stringify(P)), l(P), c({ formErrorMessage: P });
3334
3334
  return;
3335
3335
  }
3336
3336
  if (r(x), i(y.ok ? "success" : "error"), y.ok) {
3337
- const E = new CustomEvent("submit:success", {
3337
+ const R = new CustomEvent("submit:success", {
3338
3338
  detail: { res: y, body: x }
3339
3339
  });
3340
3340
  if (t.current) {
3341
- if (t.current.dispatchEvent(E), E.defaultPrevented)
3341
+ if (t.current.dispatchEvent(R), R.defaultPrevented)
3342
3342
  return;
3343
3343
  e.resetFormOnSubmit !== !1 && t.current.reset();
3344
3344
  }
3345
3345
  if (e.successUrl)
3346
3346
  if (t.current) {
3347
- const R = new CustomEvent("route", {
3347
+ const P = new CustomEvent("route", {
3348
3348
  detail: { url: e.successUrl }
3349
3349
  });
3350
- t.current.dispatchEvent(R), R.defaultPrevented || (location.href = e.successUrl);
3350
+ t.current.dispatchEvent(P), P.defaultPrevented || (location.href = e.successUrl);
3351
3351
  } else
3352
3352
  location.href = e.successUrl;
3353
3353
  }
@@ -3361,7 +3361,7 @@ function Zn(e) {
3361
3361
  );
3362
3362
  }
3363
3363
  }
3364
- return /* @__PURE__ */ D(P, { children: [
3364
+ return /* @__PURE__ */ D(w, { children: [
3365
3365
  " ",
3366
3366
  /* @__PURE__ */ s("style", { children: ".pre-abc898ba { padding: 10px; color: red; text-align: center; }" }),
3367
3367
  " ",
@@ -3373,7 +3373,7 @@ function Zn(e) {
3373
3373
  action: !e.sendWithJs && e.action,
3374
3374
  method: e.method,
3375
3375
  name: e.name,
3376
- onSubmit: (u) => g(u),
3376
+ onSubmit: (u) => b(u),
3377
3377
  ...e.attributes,
3378
3378
  children: [
3379
3379
  e.children,
@@ -3408,7 +3408,7 @@ function Zn(e) {
3408
3408
  " "
3409
3409
  ] });
3410
3410
  }
3411
- const ei = {
3411
+ const Zn = {
3412
3412
  name: "Form:Input",
3413
3413
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fad6f37889d9e40bbbbc72cdb5875d6ca",
3414
3414
  inputs: [
@@ -3460,8 +3460,8 @@ const ei = {
3460
3460
  borderColor: "#ccc"
3461
3461
  }
3462
3462
  };
3463
- function ti(e) {
3464
- return /* @__PURE__ */ He(
3463
+ function ei(e) {
3464
+ return /* @__PURE__ */ Ue(
3465
3465
  "input",
3466
3466
  {
3467
3467
  ...e.attributes,
@@ -3475,7 +3475,7 @@ function ti(e) {
3475
3475
  }
3476
3476
  );
3477
3477
  }
3478
- const ni = {
3478
+ const ti = {
3479
3479
  name: "Form:Select",
3480
3480
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F83acca093fb24aaf94dee136e9a4b045",
3481
3481
  defaultStyles: {
@@ -3518,9 +3518,9 @@ const ni = {
3518
3518
  static: !0,
3519
3519
  noWrap: !0
3520
3520
  };
3521
- function ii(e) {
3521
+ function ni(e) {
3522
3522
  var t;
3523
- return /* @__PURE__ */ He(
3523
+ return /* @__PURE__ */ Ue(
3524
3524
  "select",
3525
3525
  {
3526
3526
  ...e.attributes,
@@ -3533,7 +3533,7 @@ function ii(e) {
3533
3533
  (t = e.options) == null ? void 0 : t.map((n, i) => /* @__PURE__ */ s("option", { value: n.value, children: n.name || n.value }, `${n.name}-${i}`))
3534
3534
  );
3535
3535
  }
3536
- const ai = {
3536
+ const ii = {
3537
3537
  name: "Form:SubmitButton",
3538
3538
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fdf2820ffed1f4349a94c40b3221f5b98",
3539
3539
  defaultStyles: {
@@ -3559,10 +3559,10 @@ const ai = {
3559
3559
  // TODO: defaultChildren
3560
3560
  // canHaveChildren: true,
3561
3561
  };
3562
- function ri(e) {
3562
+ function ai(e) {
3563
3563
  return /* @__PURE__ */ s("button", { type: "submit", ...e.attributes, children: e.text });
3564
3564
  }
3565
- const oi = {
3565
+ const ri = {
3566
3566
  name: "Form:TextArea",
3567
3567
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Ff74a2f3de58c4c3e939204e5b6b8f6c3",
3568
3568
  inputs: [{
@@ -3599,7 +3599,7 @@ const oi = {
3599
3599
  static: !0,
3600
3600
  noWrap: !0
3601
3601
  };
3602
- function li(e) {
3602
+ function oi(e) {
3603
3603
  return /* @__PURE__ */ s(
3604
3604
  "textarea",
3605
3605
  {
@@ -3612,7 +3612,7 @@ function li(e) {
3612
3612
  }
3613
3613
  );
3614
3614
  }
3615
- const si = {
3615
+ const li = {
3616
3616
  name: "Raw:Img",
3617
3617
  hideFromInsertMenu: !0,
3618
3618
  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",
@@ -3657,12 +3657,12 @@ const si = {
3657
3657
  }],
3658
3658
  noWrap: !0
3659
3659
  };
3660
- function ci(e) {
3660
+ function si(e) {
3661
3661
  var n;
3662
3662
  function t() {
3663
3663
  const i = {
3664
3664
  ...e.attributes,
3665
- [z()]: `builder-raw-img ${e.attributes[z()] || ""}`
3665
+ [K()]: `builder-raw-img ${e.attributes[K()] || ""}`
3666
3666
  };
3667
3667
  return delete i.style, i;
3668
3668
  }
@@ -3684,7 +3684,7 @@ function ci(e) {
3684
3684
  U() && e.imgSrc || "default-key"
3685
3685
  );
3686
3686
  }
3687
- const ui = {
3687
+ const ci = {
3688
3688
  name: "Video",
3689
3689
  canHaveChildren: !0,
3690
3690
  defaultStyles: {
@@ -3695,7 +3695,7 @@ const ui = {
3695
3695
  inputs: [{
3696
3696
  name: "video",
3697
3697
  type: "file",
3698
- allowedFileTypes: Bn,
3698
+ allowedFileTypes: An,
3699
3699
  bubble: !0,
3700
3700
  defaultValue: "https://cdn.builder.io/o/assets%2FYJIGb4i01jvw0SRdL5Bt%2Fd27731a526464deba0016216f5f9e570%2Fcompressed?apiKey=YJIGb4i01jvw0SRdL5Bt&token=d27731a526464deba0016216f5f9e570&alt=media&optimized=true",
3701
3701
  required: !0
@@ -3769,9 +3769,9 @@ const ui = {
3769
3769
  builderBlock: !0
3770
3770
  }
3771
3771
  };
3772
- function di(e) {
3773
- var o, l, c, d, h, g, u;
3774
- const t = K(null);
3772
+ function ui(e) {
3773
+ var o, l, c, d, h, b, u;
3774
+ const t = z(null);
3775
3775
  function n() {
3776
3776
  return {
3777
3777
  ...e.autoPlay === !0 ? {
@@ -3801,10 +3801,10 @@ function di(e) {
3801
3801
  return B(() => {
3802
3802
  if (e.lazyLoad) {
3803
3803
  const S = new IntersectionObserver(function(m) {
3804
- m.forEach(function(b) {
3805
- if (!b.isIntersecting)
3804
+ m.forEach(function(g) {
3805
+ if (!g.isIntersecting)
3806
3806
  return;
3807
- const p = b.target;
3807
+ const p = g.target;
3808
3808
  try {
3809
3809
  Array.from(p.children).filter(
3810
3810
  (f) => f instanceof HTMLElement && f.tagName === "SOURCE"
@@ -3884,7 +3884,7 @@ function di(e) {
3884
3884
  children: e.children
3885
3885
  }
3886
3886
  ) : null,
3887
- (u = (g = e.builderBlock) == null ? void 0 : g.children) != null && u.length && !e.fitContent ? /* @__PURE__ */ s(
3887
+ (u = (b = e.builderBlock) == null ? void 0 : b.children) != null && u.length && !e.fitContent ? /* @__PURE__ */ s(
3888
3888
  "div",
3889
3889
  {
3890
3890
  style: {
@@ -3905,67 +3905,67 @@ function di(e) {
3905
3905
  }
3906
3906
  );
3907
3907
  }
3908
- const mi = () => [{
3909
- component: jn,
3910
- ...qn
3908
+ const di = () => [{
3909
+ component: qn,
3910
+ ...Mn
3911
3911
  }, {
3912
- component: Gn,
3913
- ...Kn
3912
+ component: Jn,
3913
+ ...jn
3914
3914
  }, {
3915
- component: Zn,
3916
- ...Qn
3915
+ component: Xn,
3916
+ ...Gn
3917
3917
  }, {
3918
- component: ti,
3919
- ...ei
3918
+ component: ei,
3919
+ ...Zn
3920
3920
  }, {
3921
- component: ri,
3922
- ...ai
3921
+ component: ai,
3922
+ ...ii
3923
3923
  }, {
3924
- component: ii,
3925
- ...ni
3924
+ component: ni,
3925
+ ...ti
3926
3926
  }, {
3927
- component: li,
3928
- ...oi
3927
+ component: oi,
3928
+ ...ri
3929
3929
  }, {
3930
- component: ci,
3931
- ...si
3930
+ component: si,
3931
+ ...li
3932
3932
  }, {
3933
- component: di,
3934
- ...ui
3933
+ component: ui,
3934
+ ...ci
3935
3935
  }], Ne = () => [{
3936
- component: Ct,
3936
+ component: kt,
3937
+ ...Rn
3938
+ }, {
3939
+ component: un,
3937
3940
  ...Pn
3938
3941
  }, {
3939
3942
  component: dn,
3940
3943
  ...Vn
3941
3944
  }, {
3942
- component: mn,
3943
- ...An
3944
- }, {
3945
- component: bn,
3946
- ...Nn
3945
+ component: hn,
3946
+ ...Bn
3947
3947
  }, {
3948
3948
  component: gn,
3949
- ...Dn
3949
+ ...Wn
3950
3950
  }, {
3951
- component: On,
3952
- ...Fn
3951
+ component: Fn,
3952
+ ...Dn
3953
3953
  }, {
3954
- component: Fi,
3954
+ component: Di,
3955
3955
  ...Ln
3956
3956
  }, {
3957
- component: Mn,
3958
- ...Hn
3959
- }, ...at.includes(F) ? [{
3960
- component: Wn,
3961
- ...$n
3957
+ component: Hn,
3958
+ ...Un
3959
+ }, ...it.includes(F) ? [{
3960
+ component: $n,
3961
+ ...Nn
3962
3962
  }] : [], {
3963
- component: Un,
3964
- ..._n
3963
+ component: _n,
3964
+ ...On
3965
3965
  }, {
3966
- component: Rn,
3967
- ...En
3968
- }, ...mi()], fi = `function updateCookiesAndStyles(contentId, variants, isHydrationTarget, isAngularSDK) {
3966
+ component: En,
3967
+ ...wn
3968
+ }, ...di()], mi = `function updateCookiesAndStyles(contentId, variants, isHydrationTarget, isAngularSDK) {
3969
3969
  function getAndSetVariantId() {
3970
3970
  function setCookie(name, value, days) {
3971
3971
  let expires = '';
@@ -4024,7 +4024,7 @@ const mi = () => [{
4024
4024
  }).join('');
4025
4025
  styleEl.innerHTML = newStyleStr;
4026
4026
  }
4027
- }`, hi = `function updateVariantVisibility(variantContentId, defaultContentId, isHydrationTarget) {
4027
+ }`, fi = `function updateVariantVisibility(variantContentId, defaultContentId, isHydrationTarget) {
4028
4028
  if (!navigator.cookieEnabled) {
4029
4029
  return;
4030
4030
  }
@@ -4058,59 +4058,29 @@ const mi = () => [{
4058
4058
  thisScriptEl?.remove();
4059
4059
  }
4060
4060
  return;
4061
- }`, ot = "builderIoAbTest", lt = "builderIoRenderContent", ae = (e) => Object.values((e == null ? void 0 : e.variations) || {}).map((t) => ({
4061
+ }`, rt = "builderIoAbTest", ot = "builderIoRenderContent", ae = (e) => Object.values((e == null ? void 0 : e.variations) || {}).map((t) => ({
4062
4062
  ...t,
4063
4063
  testVariationId: t.id,
4064
4064
  id: e == null ? void 0 : e.id
4065
- })), bi = ({
4065
+ })), hi = ({
4066
4066
  canTrack: e,
4067
4067
  content: t
4068
- }) => !(!(ae(t).length > 0) || !e || G()), gi = (e) => e === "react" || e === "reactNative", yi = F === "angular", st = gi(F), $e = (e, t) => `
4069
- (function() {
4070
- var selector = 'script[data-id="${e}"]';
4071
- var scriptKey = '__builderioScriptInitialized_${e}';
4072
- var observerKey = '__builderioScriptObserver_${e}';
4073
-
4074
- // Synchronously remove any duplicates already in the DOM
4075
- var existing = document.querySelectorAll(selector);
4076
- existing.forEach(function(script, index) {
4077
- if (index > 0) {
4078
- script.parentNode && script.parentNode.removeChild(script);
4079
- }
4080
- });
4081
-
4082
- // Watch for duplicates added later (e.g. RSC streaming chunks)
4083
- if (!window[observerKey] && typeof MutationObserver !== 'undefined') {
4084
- window[observerKey] = new MutationObserver(function() {
4085
- var all = document.querySelectorAll(selector);
4086
- for (var i = 1; i < all.length; i++) {
4087
- all[i].parentNode && all[i].parentNode.removeChild(all[i]);
4088
- }
4089
- });
4090
- window[observerKey].observe(document.documentElement, { childList: true, subtree: true });
4091
- }
4092
-
4093
- if (!window[scriptKey]) {
4094
- window[scriptKey] = true;
4095
- ${t}
4096
- }
4097
- })();
4098
- `, pi = () => `
4068
+ }) => !(!(ae(t).length > 0) || !e || G()), gi = (e) => e === "react" || e === "reactNative", bi = F === "angular", lt = gi(F), yi = () => `
4069
+ window.${rt} = ${mi}
4099
4070
  window.${ot} = ${fi}
4100
- window.${lt} = ${hi}
4101
- `, vi = (e, t) => `
4102
- window.${ot}(
4103
- "${t}",${JSON.stringify(e)}, ${st}, ${yi}
4104
- )`, xi = ({
4071
+ `, pi = (e, t) => `
4072
+ window.${rt}(
4073
+ "${t}",${JSON.stringify(e)}, ${lt}, ${bi}
4074
+ )`, vi = ({
4105
4075
  contentId: e,
4106
4076
  variationId: t
4107
- }) => `window.${lt}(
4108
- "${t}", "${e}", ${st}
4077
+ }) => `window.${ot}(
4078
+ "${t}", "${e}", ${lt}
4109
4079
  )`;
4110
- function We(e) {
4080
+ function $e(e) {
4111
4081
  return Math.round(e * 1e3) / 1e3;
4112
4082
  }
4113
- const Si = (e, t, n = !0) => {
4083
+ const xi = (e, t, n = !0) => {
4114
4084
  if (!(e instanceof HTMLElement))
4115
4085
  return null;
4116
4086
  let i = n ? e : e.parentElement;
@@ -4121,35 +4091,35 @@ const Si = (e, t, n = !0) => {
4121
4091
  return i;
4122
4092
  } while (i = i.parentElement);
4123
4093
  return null;
4124
- }, ki = (e) => Si(e, (t) => {
4094
+ }, Si = (e) => xi(e, (t) => {
4125
4095
  const n = t.getAttribute("builder-id") || t.id;
4126
4096
  return (n == null ? void 0 : n.indexOf("builder-")) === 0;
4127
- }), De = ({
4097
+ }), We = ({
4128
4098
  event: e,
4129
4099
  target: t
4130
4100
  }) => {
4131
- const n = t.getBoundingClientRect(), i = e.clientX - n.left, a = e.clientY - n.top, r = We(i / n.width), o = We(a / n.height);
4101
+ const n = t.getBoundingClientRect(), i = e.clientX - n.left, a = e.clientY - n.top, r = $e(i / n.width), o = $e(a / n.height);
4132
4102
  return {
4133
4103
  x: r,
4134
4104
  y: o
4135
4105
  };
4136
- }, Ci = (e) => {
4137
- const t = e.target, n = t && ki(t), i = (n == null ? void 0 : n.getAttribute("builder-id")) || (n == null ? void 0 : n.id);
4106
+ }, ki = (e) => {
4107
+ const t = e.target, n = t && Si(t), i = (n == null ? void 0 : n.getAttribute("builder-id")) || (n == null ? void 0 : n.id);
4138
4108
  return {
4139
4109
  targetBuilderElement: i || void 0,
4140
4110
  metadata: {
4141
- targetOffset: t ? De({
4111
+ targetOffset: t ? We({
4142
4112
  event: e,
4143
4113
  target: t
4144
4114
  }) : void 0,
4145
- builderTargetOffset: n ? De({
4115
+ builderTargetOffset: n ? We({
4146
4116
  event: e,
4147
4117
  target: n
4148
4118
  }) : void 0,
4149
4119
  builderElementIndex: n && i ? [].slice.call(document.getElementsByClassName(i)).indexOf(n) : void 0
4150
4120
  }
4151
4121
  };
4152
- }, Ti = ["svelte", "qwik", "vue"], Fe = () => Ti.includes(F) && (U() || oe()), Ii = (e) => {
4122
+ }, Ci = ["svelte", "qwik", "vue"], De = () => Ci.includes(F) && (U() || oe()), Ti = (e) => {
4153
4123
  var r, o;
4154
4124
  const t = e.family + (e.kind && !e.kind.includes("#") ? ", " + e.kind : ""), n = t.split(",")[0], i = (o = e.fileUrl) != null ? o : (r = e == null ? void 0 : e.files) == null ? void 0 : r.regular;
4155
4125
  let a = "";
@@ -4175,15 +4145,15 @@ font-weight: ${l};
4175
4145
  `.trim());
4176
4146
  }
4177
4147
  return a;
4178
- }, wi = ({
4148
+ }, Ii = ({
4179
4149
  customFonts: e
4180
4150
  }) => {
4181
4151
  var t;
4182
- return ((t = e == null ? void 0 : e.map((n) => Ii(n))) == null ? void 0 : t.join(" ")) || "";
4183
- }, Ei = ({
4152
+ return ((t = e == null ? void 0 : e.map((n) => Ti(n))) == null ? void 0 : t.join(" ")) || "";
4153
+ }, wi = ({
4184
4154
  cssCode: e,
4185
4155
  contentId: t
4186
- }) => e ? t ? (e == null ? void 0 : e.replace(/&/g, `div[builder-content-id="${t}"]`)) || "" : e : "", Ri = `
4156
+ }) => e ? t ? (e == null ? void 0 : e.replace(/&/g, `div[builder-content-id="${t}"]`)) || "" : e : "", Ei = `
4187
4157
  .builder-button {
4188
4158
  all: unset;
4189
4159
  }
@@ -4200,30 +4170,30 @@ font-weight: ${l};
4200
4170
  text-align: inherit;
4201
4171
  font-family: inherit;
4202
4172
  }
4203
- `, Pi = (e) => e ? "" : Ri, Vi = (e) => `variant-${e}`;
4204
- function Ai(e) {
4173
+ `, Ri = (e) => e ? "" : Ei, Pi = (e) => `variant-${e}`;
4174
+ function Vi(e) {
4205
4175
  var H, q, y;
4206
- const t = K(null);
4176
+ const t = z(null);
4207
4177
  k(() => !1), k(
4208
4178
  () => e.builderContextSignal
4209
4179
  );
4210
4180
  const [n, i] = k(() => null), [a, r] = k(() => "");
4211
4181
  function o(x, V) {
4212
- var $, E;
4182
+ var $, R;
4213
4183
  const A = {
4214
4184
  ...e.builderContextSignal.rootState,
4215
4185
  ...x
4216
4186
  };
4217
- e.builderContextSignal.rootSetState ? (E = ($ = e.builderContextSignal).rootSetState) == null || E.call($, A) : e.setBuilderContextSignal((R) => ({
4218
- ...R,
4187
+ e.builderContextSignal.rootSetState ? (R = ($ = e.builderContextSignal).rootSetState) == null || R.call($, A) : e.setBuilderContextSignal((P) => ({
4188
+ ...P,
4219
4189
  rootState: A
4220
- })), e.builderContextSignal.rootSetState ? e.builderContextSignal.rootSetState(A) : e.setBuilderContextSignal((R) => ({
4221
- ...R,
4190
+ })), e.builderContextSignal.rootSetState ? e.builderContextSignal.rootSetState(A) : e.setBuilderContextSignal((P) => ({
4191
+ ...P,
4222
4192
  rootState: A
4223
4193
  }));
4224
4194
  }
4225
4195
  function l(x, V) {
4226
- var $, E, R, I, N;
4196
+ var $, R, P, I, N;
4227
4197
  const A = {
4228
4198
  ...e.builderContextSignal.content,
4229
4199
  ...x,
@@ -4232,9 +4202,9 @@ function Ai(e) {
4232
4202
  ...x == null ? void 0 : x.data
4233
4203
  },
4234
4204
  meta: {
4235
- ...(E = e.builderContextSignal.content) == null ? void 0 : E.meta,
4205
+ ...(R = e.builderContextSignal.content) == null ? void 0 : R.meta,
4236
4206
  ...x == null ? void 0 : x.meta,
4237
- breakpoints: ((R = x == null ? void 0 : x.meta) == null ? void 0 : R.breakpoints) || ((N = (I = e.builderContextSignal.content) == null ? void 0 : I.meta) == null ? void 0 : N.breakpoints)
4207
+ breakpoints: ((P = x == null ? void 0 : x.meta) == null ? void 0 : P.breakpoints) || ((N = (I = e.builderContextSignal.content) == null ? void 0 : I.meta) == null ? void 0 : N.breakpoints)
4238
4208
  }
4239
4209
  };
4240
4210
  e.setBuilderContextSignal((C) => ({
@@ -4251,22 +4221,22 @@ function Ai(e) {
4251
4221
  const [d, h] = k(
4252
4222
  () => e.contentWrapper || "div"
4253
4223
  );
4254
- function g(x) {
4255
- return mt({
4224
+ function b(x) {
4225
+ return dt({
4256
4226
  model: e.model,
4257
4227
  trustedHosts: e.trustedHosts,
4258
4228
  callbacks: {
4259
4229
  configureSdk: (V) => {
4260
- var E;
4230
+ var R;
4261
4231
  const { breakpoints: A, contentId: $ } = V;
4262
- !$ || $ !== ((E = e.builderContextSignal.content) == null ? void 0 : E.id) || A && l({
4232
+ !$ || $ !== ((R = e.builderContextSignal.content) == null ? void 0 : R.id) || A && l({
4263
4233
  meta: {
4264
4234
  breakpoints: A
4265
4235
  }
4266
4236
  });
4267
4237
  },
4268
4238
  animation: (V) => {
4269
- Ge(V);
4239
+ Je(V);
4270
4240
  },
4271
4241
  contentUpdate: (V, A) => {
4272
4242
  l(V);
@@ -4277,19 +4247,19 @@ function Ai(e) {
4277
4247
  }
4278
4248
  })(x);
4279
4249
  }
4280
- const [u, S] = k(() => ({})), [m, b] = k(() => ({})), [p, f] = k(() => !1);
4250
+ const [u, S] = k(() => ({})), [m, g] = k(() => ({})), [p, f] = k(() => !1);
4281
4251
  function v(x) {
4282
4252
  var V, A;
4283
4253
  if (e.builderContextSignal.content) {
4284
- const $ = (V = e.builderContextSignal.content) == null ? void 0 : V.testVariationId, E = (A = e.builderContextSignal.content) == null ? void 0 : A.id;
4254
+ const $ = (V = e.builderContextSignal.content) == null ? void 0 : V.testVariationId, R = (A = e.builderContextSignal.content) == null ? void 0 : A.id;
4285
4255
  Ie({
4286
4256
  apiHost: e.apiHost,
4287
4257
  type: "click",
4288
4258
  canTrack: Z(e.canTrack),
4289
- contentId: E,
4259
+ contentId: R,
4290
4260
  apiKey: e.apiKey,
4291
- variationId: $ !== E ? $ : void 0,
4292
- ...Ci(x),
4261
+ variationId: $ !== R ? $ : void 0,
4262
+ ...ki(x),
4293
4263
  unique: !p
4294
4264
  });
4295
4265
  }
@@ -4299,17 +4269,17 @@ function Ai(e) {
4299
4269
  var V, A, $;
4300
4270
  const x = ($ = (A = (V = e.builderContextSignal.content) == null ? void 0 : V.data) == null ? void 0 : A.httpRequests) != null ? $ : {};
4301
4271
  Object.entries(x).forEach(
4302
- ([E, R]) => {
4303
- if (!R)
4272
+ ([R, P]) => {
4273
+ if (!P)
4304
4274
  return;
4305
- const I = typeof R == "object" && R["@type"] === "@builder.io/core:Request";
4306
- if (m[E] || u[E] && !U())
4275
+ const I = typeof P == "object" && P["@type"] === "@builder.io/core:Request";
4276
+ if (m[R] || u[R] && !U())
4307
4277
  return;
4308
- const N = I ? R.request.url : R;
4309
- m[E] = !0;
4278
+ const N = I ? P.request.url : P;
4279
+ m[R] = !0;
4310
4280
  const C = N.replace(
4311
4281
  /{{([^}]+)}}/g,
4312
- (L, j) => String(
4282
+ (O, j) => String(
4313
4283
  Q({
4314
4284
  code: j,
4315
4285
  context: e.context || {},
@@ -4320,36 +4290,36 @@ function Ai(e) {
4320
4290
  )
4321
4291
  ), W = I ? {
4322
4292
  url: C,
4323
- method: R.request.method,
4324
- headers: R.request.headers,
4325
- body: R.request.body
4293
+ method: P.request.method,
4294
+ headers: P.request.headers,
4295
+ body: P.request.body
4326
4296
  } : {
4327
4297
  url: C,
4328
4298
  method: "GET"
4329
4299
  };
4330
4300
  Le(JSON.stringify(W));
4331
- const O = {
4301
+ const L = {
4332
4302
  method: W.method,
4333
4303
  headers: W.headers,
4334
4304
  body: W.body
4335
4305
  };
4336
- W.method === "GET" && delete O.body, fetch(W.url, O).then((L) => L.json()).then((L) => {
4306
+ W.method === "GET" && delete L.body, fetch(W.url, L).then((O) => O.json()).then((O) => {
4337
4307
  o({
4338
- [E]: L
4339
- }), u[E] = !0;
4340
- }).catch((L) => {
4308
+ [R]: O
4309
+ }), u[R] = !0;
4310
+ }).catch((O) => {
4341
4311
  console.error(
4342
4312
  "error fetching dynamic data",
4343
- JSON.stringify(R),
4344
- L
4313
+ JSON.stringify(P),
4314
+ O
4345
4315
  );
4346
4316
  }).finally(() => {
4347
- m[E] = !1;
4317
+ m[R] = !1;
4348
4318
  });
4349
4319
  }
4350
4320
  );
4351
4321
  }
4352
- function w() {
4322
+ function E() {
4353
4323
  U() && window.dispatchEvent(
4354
4324
  new CustomEvent(
4355
4325
  "builder:component:stateChange",
@@ -4364,11 +4334,11 @@ function Ai(e) {
4364
4334
  )
4365
4335
  );
4366
4336
  }
4367
- const _ = K(!1);
4368
- return _.current || (T(), w(), _.current = !0), B(() => {
4369
- var x, V, A, $, E;
4337
+ const _ = z(!1);
4338
+ return _.current || (T(), E(), _.current = !0), B(() => {
4339
+ var x, V, A, $, R;
4370
4340
  if (G()) {
4371
- U() && !e.isNestedRender && (window.addEventListener("message", g), ct({
4341
+ U() && !e.isNestedRender && (window.addEventListener("message", b), st({
4372
4342
  ...e.locale ? {
4373
4343
  locale: e.locale
4374
4344
  } : {},
@@ -4383,20 +4353,20 @@ function Ai(e) {
4383
4353
  }), Object.values(
4384
4354
  e.builderContextSignal.componentInfos
4385
4355
  ).forEach((C) => {
4386
- var W, O;
4356
+ var W, L;
4387
4357
  if (!((W = C.models) != null && W.length) || C.models.includes(e.model)) {
4388
- const L = ut(C);
4389
- (O = window.parent) == null || O.postMessage(L, "*");
4358
+ const O = ct(C);
4359
+ (L = window.parent) == null || L.postMessage(O, "*");
4390
4360
  }
4391
4361
  }), window.addEventListener(
4392
4362
  "builder:component:stateChangeListenerActivated",
4393
- w
4363
+ E
4394
4364
  ));
4395
- const R = e.builderContextSignal.content && Z(e.canTrack), I = dt({
4365
+ const P = e.builderContextSignal.content && Z(e.canTrack), I = ut({
4396
4366
  name: `builder.tests.${(V = e.builderContextSignal.content) == null ? void 0 : V.id}`,
4397
4367
  canTrack: !0
4398
4368
  }), N = (A = e.builderContextSignal.content) == null ? void 0 : A.testVariationId;
4399
- if (R && N === I) {
4369
+ if (P && N === I) {
4400
4370
  const C = ($ = e.builderContextSignal.content) == null ? void 0 : $.id, W = e.apiKey;
4401
4371
  Ie({
4402
4372
  apiHost: e.apiHost,
@@ -4408,14 +4378,14 @@ function Ai(e) {
4408
4378
  });
4409
4379
  }
4410
4380
  if (oe() && !U()) {
4411
- const C = new URL(location.href).searchParams, W = C.get("builder.preview"), O = C.get(
4381
+ const C = new URL(location.href).searchParams, W = C.get("builder.preview"), L = C.get(
4412
4382
  `builder.overrides.${W}`
4413
- ), L = C.get("apiKey") || C.get("builder.space");
4414
- (W === "BUILDER_STUDIO" || W === e.model && L === e.apiKey && (!e.content || O === e.content.id)) && _e({
4383
+ ), O = C.get("apiKey") || C.get("builder.space");
4384
+ (W === "BUILDER_STUDIO" || W === e.model && O === e.apiKey && (!e.content || L === e.content.id)) && Oe({
4415
4385
  model: e.model,
4416
4386
  apiKey: e.apiKey,
4417
4387
  apiVersion: e.builderContextSignal.apiVersion,
4418
- ...W === "BUILDER_STUDIO" && ((E = e.context) != null && E.symbolId) ? {
4388
+ ...W === "BUILDER_STUDIO" && ((R = e.context) != null && R.symbolId) ? {
4419
4389
  query: {
4420
4390
  id: e.context.symbolId
4421
4391
  }
@@ -4428,7 +4398,7 @@ function Ai(e) {
4428
4398
  }, []), B(() => {
4429
4399
  e.content && l(e.content);
4430
4400
  }, [e.content]), B(() => {
4431
- w();
4401
+ E();
4432
4402
  }, [e.builderContextSignal.rootState]), B(() => {
4433
4403
  if (e.data) {
4434
4404
  if (n === e.data)
@@ -4444,22 +4414,22 @@ function Ai(e) {
4444
4414
  }), r(e.locale);
4445
4415
  }
4446
4416
  }, [e.locale]), B(() => () => {
4447
- G() && (window.removeEventListener("message", g), window.removeEventListener(
4417
+ G() && (window.removeEventListener("message", b), window.removeEventListener(
4448
4418
  "builder:component:stateChangeListenerActivated",
4449
- w
4419
+ E
4450
4420
  ));
4451
- }, []), /* @__PURE__ */ s(le.Provider, { value: e.builderContextSignal, children: e.builderContextSignal.content || Fe() ? /* @__PURE__ */ s(
4421
+ }, []), /* @__PURE__ */ s(le.Provider, { value: e.builderContextSignal, children: e.builderContextSignal.content || De() ? /* @__PURE__ */ s(
4452
4422
  d,
4453
4423
  {
4454
4424
  ref: t,
4455
4425
  onClick: (x) => v(x),
4456
4426
  "builder-content-id": (H = e.builderContextSignal.content) == null ? void 0 : H.id,
4457
4427
  "builder-model": e.model,
4458
- className: Vi(
4428
+ className: Pi(
4459
4429
  ((q = e.content) == null ? void 0 : q.testVariationId) || ((y = e.content) == null ? void 0 : y.id)
4460
4430
  ),
4461
4431
  style: {
4462
- display: !e.builderContextSignal.content && Fe() ? "none" : void 0
4432
+ display: !e.builderContextSignal.content && De() ? "none" : void 0
4463
4433
  },
4464
4434
  ...c(),
4465
4435
  ...e.contentWrapperProps,
@@ -4467,17 +4437,17 @@ function Ai(e) {
4467
4437
  }
4468
4438
  ) : null });
4469
4439
  }
4470
- function Bi(e) {
4440
+ function Ai(e) {
4471
4441
  const [t, n] = k(
4472
4442
  () => `
4473
- ${Ei({
4443
+ ${wi({
4474
4444
  cssCode: e.cssCode,
4475
4445
  contentId: e.contentId
4476
4446
  })}
4477
- ${wi({
4447
+ ${Ii({
4478
4448
  customFonts: e.customFonts
4479
4449
  })}
4480
- ${Pi(e.isNestedRender)}
4450
+ ${Ri(e.isNestedRender)}
4481
4451
  `.trim()
4482
4452
  );
4483
4453
  return /* @__PURE__ */ s(
@@ -4489,7 +4459,7 @@ ${Pi(e.isNestedRender)}
4489
4459
  }
4490
4460
  );
4491
4461
  }
4492
- const Ni = ({
4462
+ const Bi = ({
4493
4463
  content: e,
4494
4464
  data: t,
4495
4465
  locale: n
@@ -4506,7 +4476,7 @@ const Ni = ({
4506
4476
  locale: n
4507
4477
  } : {}
4508
4478
  };
4509
- }, $i = ({
4479
+ }, Ni = ({
4510
4480
  content: e,
4511
4481
  data: t
4512
4482
  }) => e ? {
@@ -4517,12 +4487,12 @@ const Ni = ({
4517
4487
  },
4518
4488
  meta: e == null ? void 0 : e.meta
4519
4489
  } : void 0;
4520
- function Oe(e) {
4521
- var d, h, g, u, S, m, b, p, f;
4490
+ function Fe(e) {
4491
+ var d, h, b, u, S, m, g, p, f;
4522
4492
  const [t, n] = k(
4523
4493
  () => {
4524
4494
  var v, T;
4525
- return xi({
4495
+ return vi({
4526
4496
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
4527
4497
  variationId: (v = e.content) == null ? void 0 : v.testVariationId,
4528
4498
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
@@ -4541,22 +4511,22 @@ function Oe(e) {
4541
4511
  ...Ne(),
4542
4512
  ...e.customComponents || []
4543
4513
  ].reduce(
4544
- (v, { component: T, ...w }) => ({
4514
+ (v, { component: T, ...E }) => ({
4545
4515
  ...v,
4546
- [w.name]: {
4516
+ [E.name]: {
4547
4517
  component: T,
4548
- ...we(w)
4518
+ ...we(E)
4549
4519
  }
4550
4520
  }),
4551
4521
  {}
4552
4522
  )
4553
4523
  ), [o, l] = k(() => ({
4554
- content: $i({
4524
+ content: Ni({
4555
4525
  content: e.content,
4556
4526
  data: e.data
4557
4527
  }),
4558
4528
  localState: void 0,
4559
- rootState: Ni({
4529
+ rootState: Bi({
4560
4530
  content: e.content,
4561
4531
  data: e.data,
4562
4532
  locale: e.locale
@@ -4570,9 +4540,9 @@ function Oe(e) {
4570
4540
  ...Ne(),
4571
4541
  ...e.customComponents || []
4572
4542
  ].reduce(
4573
- (v, { component: T, ...w }) => ({
4543
+ (v, { component: T, ...E }) => ({
4574
4544
  ...v,
4575
- [w.name]: we(w)
4545
+ [E.name]: we(E)
4576
4546
  }),
4577
4547
  {}
4578
4548
  ),
@@ -4581,7 +4551,7 @@ function Oe(e) {
4581
4551
  BlocksWrapperProps: e.blocksWrapperProps || {},
4582
4552
  nonce: e.nonce || "",
4583
4553
  model: e.model
4584
- })), c = K(!1);
4554
+ })), c = z(!1);
4585
4555
  if (!c.current) {
4586
4556
  e.apiKey || ee.error(
4587
4557
  "No API key provided to `Content` component. This can cause issues. Please provide an API key using the `apiKey` prop."
@@ -4600,13 +4570,13 @@ function Oe(e) {
4600
4570
  }
4601
4571
  return B(() => {
4602
4572
  }, [e.content, e.data, e.locale]), /* @__PURE__ */ s(
4603
- qe.Provider,
4573
+ Me.Provider,
4604
4574
  {
4605
4575
  value: {
4606
4576
  registeredComponents: a
4607
4577
  },
4608
4578
  children: /* @__PURE__ */ D(
4609
- Ai,
4579
+ Vi,
4610
4580
  {
4611
4581
  apiHost: e.apiHost,
4612
4582
  nonce: e.nonce,
@@ -4635,13 +4605,13 @@ function Oe(e) {
4635
4605
  }
4636
4606
  ) : null,
4637
4607
  /* @__PURE__ */ s(
4638
- Bi,
4608
+ Ai,
4639
4609
  {
4640
4610
  nonce: e.nonce || "",
4641
4611
  isNestedRender: e.isNestedRender,
4642
- contentId: (g = o.content) == null ? void 0 : g.id,
4612
+ contentId: (b = o.content) == null ? void 0 : b.id,
4643
4613
  cssCode: (S = (u = o.content) == null ? void 0 : u.data) == null ? void 0 : S.cssCode,
4644
- customFonts: (b = (m = o.content) == null ? void 0 : m.data) == null ? void 0 : b.customFonts
4614
+ customFonts: (g = (m = o.content) == null ? void 0 : m.data) == null ? void 0 : g.customFonts
4645
4615
  }
4646
4616
  ),
4647
4617
  /* @__PURE__ */ s(
@@ -4659,17 +4629,17 @@ function Oe(e) {
4659
4629
  }
4660
4630
  );
4661
4631
  }
4662
- function Wi(e) {
4632
+ function $i(e) {
4663
4633
  var o;
4664
4634
  const [t, n] = k(
4665
- () => bi({
4635
+ () => hi({
4666
4636
  canTrack: Z(e.canTrack),
4667
4637
  content: e.content
4668
4638
  })
4669
4639
  );
4670
4640
  function i() {
4671
4641
  var l;
4672
- return vi(
4642
+ return pi(
4673
4643
  ae(e.content).map((c) => ({
4674
4644
  id: c.testVariationId,
4675
4645
  testRatio: c.testRatio
@@ -4685,36 +4655,32 @@ function Wi(e) {
4685
4655
  return t ? {
4686
4656
  ...e.content,
4687
4657
  testVariationId: (l = e.content) == null ? void 0 : l.id
4688
- } : ft({
4658
+ } : mt({
4689
4659
  item: e.content,
4690
4660
  canTrack: Z(e.canTrack)
4691
4661
  });
4692
4662
  }
4693
4663
  return B(() => {
4694
- }, []), /* @__PURE__ */ D(P, { children: [
4695
- !e.isNestedRender && F !== "reactNative" ? /* @__PURE__ */ s(
4696
- J,
4697
- {
4698
- id: "builderio-init-variants-fns",
4699
- scriptStr: $e(
4700
- "builderio-init-variants-fns",
4701
- pi()
4702
- ),
4703
- nonce: e.nonce || ""
4704
- }
4705
- ) : null,
4706
- !e.isNestedRender && F !== "reactNative" && at.includes(F) ? /* @__PURE__ */ s(
4707
- J,
4708
- {
4709
- id: "builderio-init-personalization-variants-fns",
4710
- nonce: e.nonce || "",
4711
- scriptStr: $e(
4712
- "builderio-init-personalization-variants-fns",
4713
- Tn()
4714
- )
4715
- }
4716
- ) : null,
4717
- t ? /* @__PURE__ */ D(P, { children: [
4664
+ }, []), /* @__PURE__ */ D(w, { children: [
4665
+ !e.isNestedRender && F !== "reactNative" ? /* @__PURE__ */ D(w, { children: [
4666
+ /* @__PURE__ */ s(
4667
+ J,
4668
+ {
4669
+ id: "builderio-init-variants-fns",
4670
+ scriptStr: yi(),
4671
+ nonce: e.nonce || ""
4672
+ }
4673
+ ),
4674
+ it.includes(F) ? /* @__PURE__ */ s(
4675
+ J,
4676
+ {
4677
+ id: "builderio-init-personalization-variants-fns",
4678
+ nonce: e.nonce || "",
4679
+ scriptStr: Cn()
4680
+ }
4681
+ ) : null
4682
+ ] }) : null,
4683
+ t ? /* @__PURE__ */ D(w, { children: [
4718
4684
  /* @__PURE__ */ s(
4719
4685
  te,
4720
4686
  {
@@ -4732,7 +4698,7 @@ function Wi(e) {
4732
4698
  }
4733
4699
  ),
4734
4700
  (o = ae(e.content)) == null ? void 0 : o.map((l) => /* @__PURE__ */ s(
4735
- Oe,
4701
+ Fe,
4736
4702
  {
4737
4703
  apiHost: e.apiHost,
4738
4704
  isNestedRender: e.isNestedRender,
@@ -4760,7 +4726,7 @@ function Wi(e) {
4760
4726
  ))
4761
4727
  ] }) : null,
4762
4728
  /* @__PURE__ */ s(
4763
- Oe,
4729
+ Fe,
4764
4730
  {
4765
4731
  apiHost: e.apiHost,
4766
4732
  nonce: e.nonce,
@@ -4787,13 +4753,13 @@ function Wi(e) {
4787
4753
  )
4788
4754
  ] });
4789
4755
  }
4790
- const Di = async ({
4756
+ const Wi = async ({
4791
4757
  builderContextValue: e,
4792
4758
  symbol: t
4793
4759
  }) => {
4794
4760
  if (t != null && t.model && // This is a hack, we should not need to check for this, but it is needed for Svelte.
4795
4761
  (e != null && e.apiKey))
4796
- return _e({
4762
+ return Oe({
4797
4763
  model: t.model,
4798
4764
  apiKey: t.global && t.ownerId ? t.ownerId : e.apiKey,
4799
4765
  apiVersion: e.apiVersion,
@@ -4806,8 +4772,8 @@ const Di = async ({
4806
4772
  ee.error("Could not fetch symbol content: ", n);
4807
4773
  });
4808
4774
  };
4809
- function Fi(e) {
4810
- var h, g, u, S, m, b, p;
4775
+ function Di(e) {
4776
+ var h, b, u, S, m, g, p;
4811
4777
  function t() {
4812
4778
  return "div";
4813
4779
  }
@@ -4820,7 +4786,7 @@ function Fi(e) {
4820
4786
  function a() {
4821
4787
  var f, v;
4822
4788
  return [
4823
- e.attributes[z()],
4789
+ e.attributes[K()],
4824
4790
  "builder-symbol",
4825
4791
  (f = e.symbol) != null && f.inline ? "builder-inline-symbol" : void 0,
4826
4792
  (v = e.symbol) != null && v.dynamic || e.dynamic ? "builder-dynamic-symbol" : void 0
@@ -4835,7 +4801,7 @@ function Fi(e) {
4835
4801
  });
4836
4802
  function d() {
4837
4803
  var f;
4838
- r && l === ((f = e.symbol) == null ? void 0 : f.entry) || Di({
4804
+ r && l === ((f = e.symbol) == null ? void 0 : f.entry) || Wi({
4839
4805
  symbol: e.symbol,
4840
4806
  builderContextValue: e.builderContext
4841
4807
  }).then((v) => {
@@ -4847,12 +4813,12 @@ function Fi(e) {
4847
4813
  }, []), B(() => {
4848
4814
  d();
4849
4815
  }, [e.symbol]), /* @__PURE__ */ s("div", { ...e.attributes, className: a(), children: /* @__PURE__ */ s(
4850
- Wi,
4816
+ $i,
4851
4817
  {
4852
4818
  nonce: e.builderContext.nonce,
4853
4819
  isNestedRender: !0,
4854
4820
  apiVersion: e.builderContext.apiVersion,
4855
- apiKey: (h = e.symbol) != null && h.global && ((g = e.symbol) != null && g.ownerId) ? e.symbol.ownerId : e.builderContext.apiKey,
4821
+ apiKey: (h = e.symbol) != null && h.global && ((b = e.symbol) != null && b.ownerId) ? e.symbol.ownerId : e.builderContext.apiKey,
4856
4822
  context: {
4857
4823
  ...e.builderContext.context,
4858
4824
  symbolId: (u = e.builderBlock) == null ? void 0 : u.id
@@ -4864,7 +4830,7 @@ function Fi(e) {
4864
4830
  ...(m = r == null ? void 0 : r.data) == null ? void 0 : m.state
4865
4831
  },
4866
4832
  canTrack: e.builderContext.canTrack,
4867
- model: (p = (b = e.symbol) == null ? void 0 : b.model) != null ? p : "",
4833
+ model: (p = (g = e.symbol) == null ? void 0 : g.model) != null ? p : "",
4868
4834
  content: r,
4869
4835
  linkComponent: e.builderLinkComponent,
4870
4836
  blocksWrapper: t(),
@@ -4875,14 +4841,14 @@ function Fi(e) {
4875
4841
  export {
4876
4842
  M as Blocks,
4877
4843
  le as BuilderContext,
4878
- Ct as Button,
4879
- dn as Columns,
4880
- Wi as Content,
4881
- mn as Fragment,
4882
- bn as Image,
4844
+ kt as Button,
4845
+ un as Columns,
4846
+ $i as Content,
4847
+ dn as Fragment,
4848
+ hn as Image,
4883
4849
  gn as Section,
4884
- Fi as Symbol,
4885
- Mn as Text,
4886
- di as Video,
4887
- ji as setClientUserAttributes
4850
+ Di as Symbol,
4851
+ Hn as Text,
4852
+ ui as Video,
4853
+ qi as setClientUserAttributes
4888
4854
  };