@builder.io/sdk-react 5.2.1 → 5.2.2

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 +62 -32
  2. package/lib/browser/blocks-exports.mjs +467 -433
  3. package/lib/browser/index.cjs +1 -1
  4. package/lib/browser/index.mjs +1 -1
  5. package/lib/browser/{server-entry-56a43424.cjs → server-entry-44ac782f.cjs} +1 -1
  6. package/lib/browser/{server-entry-2aabcfc5.js → server-entry-aff2c5ee.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-7a8559d1.js → accordion-3144e69e.js} +1 -1
  10. package/lib/edge/{accordion-b8a726ee.cjs → accordion-8b1afed8.cjs} +1 -1
  11. package/lib/edge/{blocks-58f7d3bf.cjs → blocks-5b2c456f.cjs} +1 -1
  12. package/lib/edge/{blocks-12590d6b.js → blocks-817f9485.js} +2 -2
  13. package/lib/edge/blocks-exports.cjs +1 -1
  14. package/lib/edge/blocks-exports.mjs +2 -2
  15. package/lib/edge/{button-c68ea03d.cjs → button-ac5a0022.cjs} +1 -1
  16. package/lib/edge/{button-8c1d414f.js → button-cfe682cf.js} +2 -2
  17. package/lib/edge/{columns-ea10971b.js → columns-1de197aa.js} +3 -3
  18. package/lib/edge/{columns-5bad599a.cjs → columns-e400b435.cjs} +1 -1
  19. package/lib/edge/{content-variants-1ea2cc45.cjs → content-variants-7113e9cf.cjs} +53 -23
  20. package/lib/edge/{content-variants-8052ce9b.js → content-variants-c6ff157f.js} +335 -301
  21. package/lib/edge/{custom-code-29bcd3c1.js → custom-code-143b5a84.js} +1 -1
  22. package/lib/edge/{custom-code-126854d0.cjs → custom-code-7616d00a.cjs} +1 -1
  23. package/lib/edge/{embed-51ea3559.js → embed-e6116e90.js} +1 -1
  24. package/lib/edge/{embed-2986e15c.cjs → embed-f68db9ab.cjs} +1 -1
  25. package/lib/edge/{form-0e910fbf.cjs → form-3b66981f.cjs} +1 -1
  26. package/lib/edge/{form-75a443ad.js → form-bbe1e30e.js} +3 -3
  27. package/lib/edge/{get-class-prop-name-db97ef04.cjs → get-class-prop-name-13da1e6d.cjs} +1 -1
  28. package/lib/edge/{get-class-prop-name-1e9476bb.js → get-class-prop-name-541f7abc.js} +1 -1
  29. package/lib/edge/{img-71d8f85a.js → img-89400807.js} +2 -2
  30. package/lib/edge/{img-d73b746e.cjs → img-e4fe298b.cjs} +1 -1
  31. package/lib/edge/index.cjs +1 -1
  32. package/lib/edge/index.mjs +1 -1
  33. package/lib/edge/{input-1aeefc8e.js → input-4b0e20ac.js} +1 -1
  34. package/lib/edge/{input-c8886579.cjs → input-9fd73d5f.cjs} +1 -1
  35. package/lib/edge/{personalization-container-9daeb712.cjs → personalization-container-adbe238a.cjs} +1 -1
  36. package/lib/edge/{personalization-container-13aa06c8.js → personalization-container-d4bfb7a9.js} +4 -4
  37. package/lib/edge/{select-d6a5369f.js → select-53fe8822.js} +1 -1
  38. package/lib/edge/{select-8a79d8dd.cjs → select-93ec2e99.cjs} +1 -1
  39. package/lib/edge/{server-entry-77646307.js → server-entry-17b8ed52.js} +1 -1
  40. package/lib/edge/{server-entry-a1d12fab.cjs → server-entry-92cd5eeb.cjs} +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-215396be.cjs → slot-1d00a5ae.cjs} +1 -1
  44. package/lib/edge/{slot-110c36af.js → slot-31cbb5b2.js} +3 -3
  45. package/lib/edge/{symbol-5e7704f0.cjs → symbol-84c1857b.cjs} +1 -1
  46. package/lib/edge/{symbol-cb47c30e.js → symbol-9aca7157.js} +2 -2
  47. package/lib/edge/{tabs-dddcc4d9.cjs → tabs-a7d93c37.cjs} +1 -1
  48. package/lib/edge/{tabs-4a754007.js → tabs-f8858f81.js} +3 -3
  49. package/lib/node/blocks-exports.cjs +60 -30
  50. package/lib/node/blocks-exports.mjs +534 -500
  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-ef0a9bc1.cjs → server-entry-99ae937a.cjs} +1 -1
  56. package/lib/node/{server-entry-683f926c.js → server-entry-c3bc01a9.js} +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-4b6c067d.cjs → setIvm-4dccb8f3.cjs} +1 -1
  60. package/lib/node/{setIvm-bcaed0e9.js → setIvm-f74f2921.js} +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-92af2305.cjs → should-force-browser-runtime-in-node-131d268b.cjs} +1 -1
  64. package/lib/node/{should-force-browser-runtime-in-node-8b51c95e.js → should-force-browser-runtime-in-node-1af30e6f.js} +1 -1
  65. package/package.json +1 -1
  66. package/types/components/content-variants/helpers.d.ts +1 -0
  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 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-683f926c.js";
3
- import { setClientUserAttributes as qi } from "./server-entry-683f926c.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-bcaed0e9.js";
8
- import { shouldForceBrowserRuntimeInNode as vt } from "./should-force-browser-runtime-in-node-8b51c95e.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());
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());
10
10
  function xe(e) {
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 }) }) });
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 }) }) });
12
12
  }
13
- const K = () => {
13
+ const z = () => {
14
14
  switch (F) {
15
15
  case "react":
16
16
  case "reactNative":
@@ -24,11 +24,11 @@ const K = () => {
24
24
  return "class";
25
25
  }
26
26
  };
27
- function kt(e) {
27
+ function Ct(e) {
28
28
  function t() {
29
29
  return {
30
30
  ...e.attributes,
31
- [K()]: `${e.link ? "" : "builder-button"} ${e.attributes[K()] || ""}`,
31
+ [z()]: `${e.link ? "" : "builder-button"} ${e.attributes[z()] || ""}`,
32
32
  ...e.link ? {
33
33
  href: e.link,
34
34
  target: e.openLinkInNewTab ? "_blank" : void 0,
@@ -48,7 +48,7 @@ function kt(e) {
48
48
  }
49
49
  );
50
50
  }
51
- const le = _e({
51
+ const le = Ue({
52
52
  content: null,
53
53
  context: {},
54
54
  localState: void 0,
@@ -63,10 +63,10 @@ const le = _e({
63
63
  BlocksWrapperProps: {},
64
64
  nonce: "",
65
65
  model: ""
66
- }), Me = _e({ registeredComponents: {} }), qe = (e, t, n) => {
66
+ }), qe = Ue({ registeredComponents: {} }), je = (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
- }, Ct = ({
69
+ }, Tt = ({
70
70
  code: e,
71
71
  builder: t,
72
72
  context: n,
@@ -75,7 +75,7 @@ const le = _e({
75
75
  rootSetState: r,
76
76
  rootState: o
77
77
  }) => {
78
- const l = ht({
78
+ const l = bt({
79
79
  builder: t,
80
80
  context: n,
81
81
  event: i,
@@ -86,11 +86,11 @@ const le = _e({
86
86
  })
87
87
  });
88
88
  return new Function(...l.map(([c]) => c), e)(...l.map(([, c]) => c));
89
- }, Tt = (e) => G() || vt({
89
+ }, It = (e) => G() || xt({
90
90
  shouldLogWarning: !0
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) => {
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) => {
92
92
  var t, n, i, a, r, o;
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));
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));
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 = Et(e.trim());
107
+ const c = Rt(e.trim());
108
108
  if (c)
109
- return qe({
109
+ return je({
110
110
  ...i,
111
111
  ...n
112
112
  }, c);
113
113
  const d = {
114
- code: yt(e, {
114
+ code: pt(e, {
115
115
  isExpression: o
116
116
  }),
117
- builder: pt(l),
117
+ builder: vt(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 Tt(d);
125
+ return It(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 Rt(e, t) {
133
+ function Pt(e, t) {
134
134
  var n;
135
135
  return {
136
136
  ...(n = e.component) == null ? void 0 : n.options,
137
137
  ...e.options,
138
- ...Pt(e, t)
138
+ ...Vt(e, t)
139
139
  };
140
140
  }
141
- const Pt = (e, t) => {
141
+ const Vt = (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 Pt = (e, t) => {
152
152
  }))
153
153
  };
154
154
  };
155
- function Vt(e, ...t) {
155
+ function At(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 je(e) {
178
+ function Ke(e) {
179
179
  return e && typeof e == "object" && e["@type"] === "@builder.io/core:LocalizedValue";
180
180
  }
181
- function At(e) {
181
+ function Bt(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 (je(n)) {
186
+ if (Ke(n)) {
187
187
  t = !0;
188
188
  return;
189
189
  }
190
190
  }), t;
191
191
  }
192
- function Bt(e, t) {
192
+ function Nt(e, t) {
193
193
  return !e || !Object.getOwnPropertyNames(e).length ? {} : (re(e, (n, i) => {
194
194
  var a;
195
- je(n) && i((a = n[t]) != null ? a : void 0);
195
+ Ke(n) && i((a = n[t]) != null ? a : void 0);
196
196
  }), e);
197
197
  }
198
- function Nt(e, t) {
198
+ function $t(e, t) {
199
199
  var n, i;
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;
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;
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 $t = ["svelte", "vue", "angular", "qwik", "solid"].includes(F), Wt = (e) => {
215
- if ($t) {
214
+ const Wt = ["svelte", "vue", "angular", "qwik", "solid"].includes(F), Dt = (e) => {
215
+ if (Wt) {
216
216
  const t = ve(e);
217
217
  return {
218
218
  ...t,
@@ -224,7 +224,7 @@ const $t = ["svelte", "vue", "angular", "qwik", "solid"].includes(F), Wt = (e) =
224
224
  }
225
225
  };
226
226
  } else {
227
- const t = pe(Vt(e, "children", "meta"));
227
+ const t = pe(At(e, "children", "meta"));
228
228
  return {
229
229
  ...t,
230
230
  properties: {
@@ -237,7 +237,7 @@ const $t = ["svelte", "vue", "angular", "qwik", "solid"].includes(F), Wt = (e) =
237
237
  meta: e.meta
238
238
  };
239
239
  }
240
- }, Dt = ({
240
+ }, Ft = ({
241
241
  block: e,
242
242
  context: t,
243
243
  localState: n,
@@ -246,7 +246,7 @@ const $t = ["svelte", "vue", "angular", "qwik", "solid"].includes(F), Wt = (e) =
246
246
  }) => {
247
247
  if (!e.bindings)
248
248
  return e;
249
- const r = Wt(e);
249
+ const r = Dt(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 $t = ["svelte", "vue", "angular", "qwik", "solid"].includes(F), Wt = (e) =
255
255
  rootSetState: a,
256
256
  context: t
257
257
  });
258
- He(r, o, c);
258
+ Me(r, o, c);
259
259
  }
260
260
  return r;
261
261
  };
262
- function Ft({
262
+ function Ot({
263
263
  block: e,
264
264
  context: t,
265
265
  localState: n,
@@ -267,13 +267,13 @@ function Ft({
267
267
  rootSetState: a
268
268
  }) {
269
269
  let r = e;
270
- return r = Dt({
270
+ return r = Ft({
271
271
  block: r,
272
272
  localState: n,
273
273
  rootState: i,
274
274
  rootSetState: a,
275
275
  context: t
276
- }), r = Nt(r, i.locale), r;
276
+ }), r = $t(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 Ot(e) {
301
+ function _t(e) {
302
302
  for (const t of e)
303
303
  switch (t.trigger) {
304
304
  case "pageLoad":
305
- Je(t);
305
+ Ge(t);
306
306
  break;
307
307
  case "scrollInView":
308
- Ut(t);
308
+ Ht(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 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];
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];
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 _t(e) {
321
+ function Ut(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 Je(e) {
328
+ function Ge(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
- Ke(e, n), n.style.transition = "none", n.style.transitionDelay = "0", X(n.style, e.steps[0].styles), setTimeout(() => {
335
+ Je(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 Ut(e) {
342
+ function Ht(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
- Ke(e, n);
349
+ Je(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 Ut(e) {
359
359
  leading: !1
360
360
  });
361
361
  function l(h) {
362
- const b = h.getBoundingClientRect(), u = window.innerHeight, m = (e.thresholdPercent || 0) / 100 * u;
363
- return b.bottom > m && b.top < u - m;
362
+ const g = h.getBoundingClientRect(), u = window.innerHeight, m = (e.thresholdPercent || 0) / 100 * u;
363
+ return g.bottom > m && g.top < u - m;
364
364
  }
365
365
  const c = e.steps[0].styles;
366
366
  function d() {
@@ -374,42 +374,42 @@ function Ut(e) {
374
374
  }), r();
375
375
  });
376
376
  }
377
- const Ge = (e) => Object.entries(e).map(([n, i]) => {
377
+ const Qe = (e) => Object.entries(e).map(([n, i]) => {
378
378
  if (typeof i == "string")
379
379
  return `${se(n)}: ${i};`;
380
- }).filter(be), Ht = (e) => Ge(e).join(`
380
+ }).filter(ge), Mt = (e) => Qe(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
- ${Ht(n)}
387
+ ${Mt(n)}
388
388
  }`;
389
389
  return e ? `${e} {
390
390
  ${i}
391
391
  }` : i;
392
392
  };
393
- function Mt({
393
+ function qt({
394
394
  style: e
395
395
  }) {
396
396
  return e;
397
397
  }
398
- const qt = ({
398
+ const jt = ({
399
399
  block: e,
400
400
  context: t
401
- }) => Qe(Mt({
401
+ }) => Ye(qt({
402
402
  style: e.style || {},
403
403
  context: t,
404
404
  block: e
405
405
  }));
406
- function Qe(e) {
406
+ function Ye(e) {
407
407
  switch (F) {
408
408
  case "svelte":
409
409
  case "vue":
410
410
  case "solid":
411
411
  case "angular":
412
- return Ge(e).join(" ");
412
+ return Qe(e).join(" ");
413
413
  case "qwik":
414
414
  case "reactNative":
415
415
  case "react":
@@ -417,7 +417,7 @@ function Qe(e) {
417
417
  return e;
418
418
  }
419
419
  }
420
- const Ye = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includes(t) : !1 : !0, jt = ({
420
+ const Xe = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includes(t) : !1 : !0, Kt = ({
421
421
  block: e,
422
422
  registeredComponents: t,
423
423
  model: n
@@ -427,7 +427,7 @@ const Ye = (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 || Ye(a, n)) {
430
+ if (!a || Xe(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 Ye = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
467
467
  },
468
468
  block: i
469
469
  }));
470
- }, Kt = (e, t) => {
470
+ }, Jt = (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
- }, Jt = (e, t, n) => {
475
+ }, Gt = (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]) => !Ye(o, n)))
478
+ builderComponents: Object.fromEntries(Object.entries(t).filter(([r, o]) => !Xe(o, n)))
479
479
  } : {};
480
- }, Gt = (e, t) => {
480
+ }, Qt = (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
- }, Qt = (e, t) => {
485
+ }, Yt = (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 Yt(e) {
491
+ function Xt(e) {
492
492
  return e.charAt(0).toUpperCase() + e.slice(1);
493
493
  }
494
- const Xt = (e) => `on${Yt(e)}`, Zt = (e, t) => (n) => Q({
494
+ const Zt = (e) => `on${Xt(e)}`, en = (e, t) => (n) => Q({
495
495
  code: e,
496
496
  context: t.context,
497
497
  localState: t.localState,
@@ -501,14 +501,14 @@ const Xt = (e) => `on${Yt(e)}`, Zt = (e, t) => (n) => Q({
501
501
  isExpression: !1,
502
502
  trackingContext: t.trackingContext
503
503
  });
504
- function Xe(e) {
504
+ function Ze(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 = Xt(a);
511
+ let o = Zt(a);
512
512
  if (e.stripPrefix)
513
513
  switch (F) {
514
514
  case "vue":
@@ -518,16 +518,16 @@ function Xe(e) {
518
518
  o = o.replace("on:", "");
519
519
  break;
520
520
  }
521
- t[o] = Zt(r, e);
521
+ t[o] = en(r, e);
522
522
  }
523
523
  return t;
524
524
  }
525
- function en({
525
+ function tn({
526
526
  properties: e
527
527
  }) {
528
528
  return e;
529
529
  }
530
- const tn = (e) => ({
530
+ const nn = (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
- ...tn(e),
539
+ ...nn(e),
540
540
  ...e.properties,
541
541
  "builder-id": e.id,
542
- style: qt({
542
+ style: jt({
543
543
  block: e,
544
544
  context: t
545
545
  }),
546
- [K()]: [e.id, "builder-block", e.class, (i = e.properties) == null ? void 0 : i.class].filter(Boolean).join(" ")
546
+ [z()]: [e.id, "builder-block", e.class, (i = e.properties) == null ? void 0 : i.class].filter(Boolean).join(" ")
547
547
  };
548
- return en({
548
+ return tn({
549
549
  properties: n,
550
550
  context: t,
551
551
  block: e
552
552
  });
553
553
  }
554
- function nn(e) {
554
+ function an(e) {
555
555
  var t, n, i;
556
556
  return /* @__PURE__ */ s(
557
557
  xe,
@@ -561,7 +561,7 @@ function nn(e) {
561
561
  block: e.block,
562
562
  context: e.context
563
563
  }),
564
- actionAttributes: Xe({
564
+ actionAttributes: Ze({
565
565
  block: e.block,
566
566
  rootState: e.context.rootState,
567
567
  rootSetState: e.context.rootSetState,
@@ -579,11 +579,11 @@ function nn(e) {
579
579
  }
580
580
  );
581
581
  }
582
- function an(e) {
582
+ function rn(e) {
583
583
  return B(() => {
584
- }, []), /* @__PURE__ */ s(w, { children: e.children });
584
+ }, []), /* @__PURE__ */ s(P, { children: e.children });
585
585
  }
586
- function rn(e) {
586
+ function on(e) {
587
587
  var i, a;
588
588
  k(() => 0);
589
589
  function t() {
@@ -593,7 +593,7 @@ function rn(e) {
593
593
  block: e.block,
594
594
  context: e.context
595
595
  }),
596
- ...Xe({
596
+ ...Ze({
597
597
  block: e.block,
598
598
  rootState: e.context.rootState,
599
599
  rootSetState: e.context.rootSetState,
@@ -612,8 +612,8 @@ function rn(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(w, { children: e.Wrapper.load ? /* @__PURE__ */ s(w, { children: /* @__PURE__ */ s(
616
- an,
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,
617
617
  {
618
618
  load: e.Wrapper.load,
619
619
  fallback: e.Wrapper.fallback,
@@ -623,7 +623,7 @@ function rn(e) {
623
623
  }
624
624
  ) }) : /* @__PURE__ */ s(e.Wrapper, { ...n(), attributes: t(), children: e.children }) });
625
625
  }
626
- const on = ({
626
+ const ln = ({
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 ? rn : e.componentRef
660
+ () => e.isInteractive ? on : e.componentRef
661
661
  );
662
662
  function i() {
663
663
  return e.componentRef ? e.blockChildren : [];
664
664
  }
665
- return /* @__PURE__ */ s(w, { children: e.componentRef ? /* @__PURE__ */ s(w, { children: /* @__PURE__ */ s(
665
+ return /* @__PURE__ */ s(P, { children: e.componentRef ? /* @__PURE__ */ s(P, { children: /* @__PURE__ */ s(
666
666
  t,
667
667
  {
668
- ...on({
668
+ ...ln({
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 Ze = {
705
+ const et = {
706
706
  xsmall: {
707
707
  min: 0,
708
708
  default: 160,
@@ -723,8 +723,8 @@ const Ze = {
723
723
  default: 991,
724
724
  max: 1200
725
725
  }
726
- }, ue = (e, t = Ze) => `@media (max-width: ${t[e].max}px)`, et = (e) => {
727
- const t = ve(Ze);
726
+ }, ue = (e, t = et) => `@media (max-width: ${t[e].max}px)`, tt = (e) => {
727
+ const t = ve(et);
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 be(i.hide) ? !i.hide : be(i.show) ? i.show : !0;
778
+ return ge(i.hide) ? !i.hide : ge(i.show) ? i.show : !0;
779
779
  }
780
780
  function n() {
781
- var T, E, _, H, q;
782
- const i = e.block, a = i.responsiveStyles, r = e.context.content, o = et(
781
+ var T, w, _, H, q;
782
+ const i = e.block, a = i.responsiveStyles, r = e.context.content, o = tt(
783
783
  ((T = r == null ? void 0 : r.meta) == null ? void 0 : T.breakpoints) || {}
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;
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;
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
- }) : "", g = h ? Y({
797
+ }) : "", b = h ? Y({
798
798
  className: u,
799
799
  styles: h,
800
800
  mediaQuery: ue(
801
801
  "small",
802
802
  o
803
803
  )
804
- }) : "", p = b && l ? Y({
804
+ }) : "", p = g && l ? Y({
805
805
  className: u,
806
- styles: b,
806
+ styles: g,
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
- g,
829
+ b,
830
830
  p,
831
831
  v
832
832
  ].join(" ");
833
833
  }
834
- return /* @__PURE__ */ s(w, { children: n() && t() ? /* @__PURE__ */ s(w, { children: /* @__PURE__ */ s(
834
+ return /* @__PURE__ */ s(P, { children: n() && t() ? /* @__PURE__ */ s(P, { 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 ln(e) {
843
+ function sn(e) {
844
844
  k(() => !1);
845
845
  const [t, n] = k(() => !1);
846
846
  return ye(le), B(() => {
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 }) }) });
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 }) }) });
848
848
  }
849
849
  function ce(e) {
850
- var h, b, u, S;
850
+ var h, g, 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 g;
862
+ var b;
863
863
  if (n.value && !n.update && !oe())
864
864
  return n.value;
865
- const m = (g = e.block.repeat) != null && g.collection ? e.block : Ft({
865
+ const m = (b = e.block.repeat) != null && b.collection ? e.block : Ot({
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 jt({
875
+ return Kt({
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 g;
883
- return e.block.tagName === "a" || ((g = a().properties) == null ? void 0 : g.href) || a().href ? e.linkComponent || "a" : e.block.tagName || "div";
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";
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 g, p;
894
- return !((g = r == null ? void 0 : r()) != null && g.component) && !t() ? (p = a().children) != null ? p : [] : [];
893
+ var b, p;
894
+ return !((b = r == null ? void 0 : r()) != null && b.component) && !t() ? (p = a().children) != null ? p : [] : [];
895
895
  }
896
896
  function d() {
897
- var m, g, p, f;
897
+ var m, b, p, f;
898
898
  return {
899
899
  blockChildren: (m = a().children) != null ? m : [],
900
- componentRef: (g = r == null ? void 0 : r()) == null ? void 0 : g.component,
900
+ componentRef: (b = r == null ? void 0 : r()) == null ? void 0 : b.component,
901
901
  componentOptions: {
902
- ...Rt(a(), e.context),
903
- ...Gt(r(), a()),
904
- ...Qt(r(), e.context),
905
- ...Kt(r(), e.linkComponent),
906
- ...Jt(
902
+ ...Pt(a(), e.context),
903
+ ...Qt(r(), a()),
904
+ ...Yt(r(), e.context),
905
+ ...Jt(r(), e.linkComponent),
906
+ ...Gt(
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, g = a().animations;
922
- g && m && Ot(
923
- g.map((p) => ({
921
+ const m = a().id, b = a().animations;
922
+ b && m && _t(
923
+ b.map((p) => ({
924
924
  ...p,
925
925
  elementId: m
926
926
  }))
927
927
  );
928
928
  }, []), B(() => {
929
929
  n.update = !0;
930
- }), /* @__PURE__ */ s(w, { children: l() ? /* @__PURE__ */ D(w, { children: [
930
+ }), /* @__PURE__ */ s(P, { children: l() ? /* @__PURE__ */ D(P, { children: [
931
931
  /* @__PURE__ */ s(
932
- ln,
932
+ sn,
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(w, { children: (S = t()) == null ? void 0 : S.map((m, g) => /* @__PURE__ */ s(
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(
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(g)
947
+ Ee(b)
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(w, { children: t() ? /* @__PURE__ */ s(w, { children: (u = t()) == null ? void 0 : u.map((m, g) => /* @__PURE__ */ s(
961
+ ) : /* @__PURE__ */ s(P, { children: t() ? /* @__PURE__ */ s(P, { children: (u = t()) == null ? void 0 : u.map((m, b) => /* @__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(g)
969
+ Ee(b)
970
970
  )) }) : /* @__PURE__ */ D(
971
- nn,
971
+ an,
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
- (b = c()) == null ? void 0 : b.map((m) => /* @__PURE__ */ s(
991
+ (g = c()) == null ? void 0 : g.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 sn(e) {
1007
- const t = z(null);
1006
+ function cn(e) {
1007
+ const t = K(null);
1008
1008
  k(() => !1);
1009
1009
  function n() {
1010
1010
  var o;
@@ -1048,7 +1048,7 @@ function sn(e) {
1048
1048
  }
1049
1049
  return B(() => {
1050
1050
  }, []), B(() => {
1051
- }, [e.blocks]), /* @__PURE__ */ D(w, { children: [
1051
+ }, [e.blocks]), /* @__PURE__ */ D(P, { 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 sn(e) {
1073
1073
  }
1074
1074
  function M(e) {
1075
1075
  var i, a, r;
1076
- const t = ye(le), n = ye(Me);
1076
+ const t = ye(le), n = ye(qe);
1077
1077
  return /* @__PURE__ */ D(
1078
- sn,
1078
+ cn,
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(w, { children: (r = e.blocks) == null ? void 0 : r.map((o) => /* @__PURE__ */ s(
1089
+ e.blocks ? /* @__PURE__ */ s(P, { 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 cn = (e) => `builder-columns ${e}-breakpoints`;
1104
- function un(e) {
1105
- var g, p;
1103
+ const un = (e) => `builder-columns ${e}-breakpoints`;
1104
+ function dn(e) {
1105
+ var b, p;
1106
1106
  function t() {
1107
1107
  return typeof e.space == "number" ? e.space || 0 : 20;
1108
1108
  }
@@ -1147,8 +1147,8 @@ function un(e) {
1147
1147
  })
1148
1148
  };
1149
1149
  }
1150
- function b(f) {
1151
- const v = f === 0 ? 0 : t(), T = o(f), E = `${v}px`, _ = "100%", H = 0;
1150
+ function g(f) {
1151
+ const v = f === 0 ? 0 : t(), T = o(f), w = `${v}px`, _ = "100%", H = 0;
1152
1152
  return {
1153
1153
  ...{
1154
1154
  display: "flex",
@@ -1156,14 +1156,14 @@ function un(e) {
1156
1156
  alignItems: "stretch"
1157
1157
  },
1158
1158
  width: T,
1159
- ["marginLeft"]: E,
1159
+ ["marginLeft"]: w,
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: E
1166
+ desktopStyle: w
1167
1167
  }),
1168
1168
  "--column-width-tablet": l({
1169
1169
  stackedStyle: _,
@@ -1171,14 +1171,14 @@ function un(e) {
1171
1171
  }),
1172
1172
  "--column-margin-left-tablet": l({
1173
1173
  stackedStyle: H,
1174
- desktopStyle: E
1174
+ desktopStyle: w
1175
1175
  })
1176
1176
  };
1177
1177
  }
1178
1178
  function u(f) {
1179
- var T, E;
1180
- return et(
1181
- ((E = (T = e.builderContext.content) == null ? void 0 : T.meta) == null ? void 0 : E.breakpoints) || {}
1179
+ var T, w;
1180
+ return tt(
1181
+ ((w = (T = e.builderContext.content) == null ? void 0 : T.meta) == null ? void 0 : w.breakpoints) || {}
1182
1182
  )[f].max;
1183
1183
  }
1184
1184
  function S() {
@@ -1214,11 +1214,11 @@ function un(e) {
1214
1214
  ...f.link ? {
1215
1215
  href: f.link
1216
1216
  } : {},
1217
- [K()]: "builder-column",
1218
- style: Qe(b(v))
1217
+ [z()]: "builder-column",
1218
+ style: Ye(g(v))
1219
1219
  };
1220
1220
  }
1221
- return /* @__PURE__ */ D(w, { children: [
1221
+ return /* @__PURE__ */ D(P, { children: [
1222
1222
  /* @__PURE__ */ s("style", { children: `.div-0369db37 {
1223
1223
  display: flex;
1224
1224
  line-height: normal;
@@ -1227,7 +1227,7 @@ function un(e) {
1227
1227
  /* @__PURE__ */ D(
1228
1228
  "div",
1229
1229
  {
1230
- className: cn((g = e.builderBlock) == null ? void 0 : g.id) + " div-0369db37",
1230
+ className: un((b = e.builderBlock) == null ? void 0 : b.id) + " div-0369db37",
1231
1231
  style: h(),
1232
1232
  children: [
1233
1233
  /* @__PURE__ */ s(
@@ -1266,17 +1266,17 @@ function un(e) {
1266
1266
  )
1267
1267
  ] });
1268
1268
  }
1269
- function dn(e) {
1269
+ function mn(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 mn(e = "", t, n) {
1275
+ function fn(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 fn(e, t) {
1279
+ function hn(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) => `${mn(e, "width", a)} ${a}w`).concat([n]).join(", ");
1298
+ return isNaN(i) || (n = `${n} ${i}w`), t.filter((a) => a !== i).map((a) => `${fn(e, "width", a)} ${a}w`).concat([n]).join(", ");
1299
1299
  }
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;
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;
1301
1301
  }
1302
- function hn(e) {
1302
+ function bn(e) {
1303
1303
  var a, r, o, l, c, d;
1304
1304
  function t() {
1305
1305
  var u;
1306
- const b = e.image || e.src;
1307
- if (!b || // We can auto add srcset for cdn.builder.io and shopify
1306
+ const g = e.image || e.src;
1307
+ if (!g || // We can auto add srcset for cdn.builder.io and shopify
1308
1308
  // images, otherwise you can supply this prop manually
1309
- !(typeof b == "string" && (b.match(/builder\.io/) || b.match(/cdn\.shopify\.com/))))
1309
+ !(typeof g == "string" && (g.match(/builder\.io/) || g.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(b);
1314
+ return console.debug("Removed given srcset"), de(g);
1315
1315
  } else if (e.image && !e.srcset)
1316
- return de(b);
1317
- return de(b);
1316
+ return de(g);
1317
+ return de(g);
1318
1318
  }
1319
1319
  }
1320
1320
  function n() {
@@ -1332,7 +1332,7 @@ function hn(e) {
1332
1332
  return e.aspectRatio ? h : void 0;
1333
1333
  }
1334
1334
  return B(() => {
1335
- }, []), /* @__PURE__ */ D(w, { children: [
1335
+ }, []), /* @__PURE__ */ D(P, { 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 hn(e) {
1350
1350
  width: 100%;
1351
1351
  height: 100%;
1352
1352
  }` }),
1353
- /* @__PURE__ */ D(w, { children: [
1353
+ /* @__PURE__ */ D(P, { 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 hn(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(w, { children: e.children }) : null,
1385
+ (l = (o = e.builderBlock) == null ? void 0 : o.children) != null && l.length && e.fitContent ? /* @__PURE__ */ s(P, { 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 bn(e, t, n, i) {
1411
+ function yn(e, t, n, i) {
1412
1412
  function a(d) {
1413
1413
  return typeof d == "string";
1414
1414
  }
@@ -1431,28 +1431,28 @@ function bn(e, t, n, i) {
1431
1431
  operator: S,
1432
1432
  value: p
1433
1433
  }));
1434
- const g = d[u];
1435
- if (Array.isArray(g))
1436
- return g.includes(m);
1434
+ const b = d[u];
1435
+ if (Array.isArray(b))
1436
+ return b.includes(m);
1437
1437
  switch (S) {
1438
1438
  case "is":
1439
- return g === m;
1439
+ return b === m;
1440
1440
  case "isNot":
1441
- return g !== m;
1441
+ return b !== m;
1442
1442
  case "contains":
1443
- return (a(g) || Array.isArray(g)) && g.includes(String(m));
1443
+ return (a(b) || Array.isArray(b)) && b.includes(String(m));
1444
1444
  case "startsWith":
1445
- return a(g) && g.startsWith(String(m));
1445
+ return a(b) && b.startsWith(String(m));
1446
1446
  case "endsWith":
1447
- return a(g) && g.endsWith(String(m));
1447
+ return a(b) && b.endsWith(String(m));
1448
1448
  case "greaterThan":
1449
- return r(g) && r(m) && g > m;
1449
+ return r(b) && r(m) && b > m;
1450
1450
  case "lessThan":
1451
- return r(g) && r(m) && g < m;
1451
+ return r(b) && r(m) && b < m;
1452
1452
  case "greaterThanOrEqualTo":
1453
- return r(g) && r(m) && g >= m;
1453
+ return r(b) && r(m) && b >= m;
1454
1454
  case "lessThanOrEqualTo":
1455
- return r(g) && r(m) && g <= m;
1455
+ return r(b) && r(m) && b <= m;
1456
1456
  default:
1457
1457
  return !1;
1458
1458
  }
@@ -1465,7 +1465,7 @@ function bn(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 yn = `function getPersonalizedVariant(variants, blockId, isHydrationTarget, locale) {
1468
+ const pn = `function getPersonalizedVariant(variants, blockId, isHydrationTarget, locale) {
1469
1469
  if (!navigator.cookieEnabled) {
1470
1470
  return;
1471
1471
  }
@@ -1510,7 +1510,7 @@ const yn = `function getPersonalizedVariant(variants, blockId, isHydrationTarget
1510
1510
  thisScript.remove();
1511
1511
  }
1512
1512
  }
1513
- }`, pn = `function filterWithCustomTargeting(userAttributes, query, startDate, endDate) {
1513
+ }`, vn = `function filterWithCustomTargeting(userAttributes, query, startDate, endDate) {
1514
1514
  function isString(val) {
1515
1515
  return typeof val === 'string';
1516
1516
  }
@@ -1588,7 +1588,7 @@ const yn = `function getPersonalizedVariant(variants, blockId, isHydrationTarget
1588
1588
  return item.query.every(filter => {
1589
1589
  return objectMatchesQuery(userAttributes, filter);
1590
1590
  });
1591
- }`, vn = `function updateVisibilityStylesScript(variants, blockId, isHydrationTarget, locale) {
1591
+ }`, xn = `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 yn = `function getPersonalizedVariant(variants, blockId, isHydrationTarget
1626
1626
  visibilityStylesEl.innerHTML = newStyleStr;
1627
1627
  }
1628
1628
  }
1629
- }`, ne = "default", xn = "filterWithCustomTargeting", tt = "builderIoPersonalization", nt = "updateVisibilityStylesScript", it = ["react", "vue", "svelte", "qwik"], ie = ["vue", "svelte", "qwik"];
1630
- function Sn(e, t) {
1629
+ }`, ne = "default", Sn = "filterWithCustomTargeting", nt = "builderIoPersonalization", it = "updateVisibilityStylesScript", at = ["react", "vue", "svelte", "qwik"], ie = ["vue", "svelte", "qwik"];
1630
+ function kn(e, t) {
1631
1631
  return !(e && e.length > 0) || !t ? !1 : ie.includes(F) ? !0 : !G();
1632
1632
  }
1633
- function kn({
1633
+ function Cn({
1634
1634
  variants: e,
1635
1635
  previewingIndex: t,
1636
1636
  isHydrated: n,
@@ -1669,11 +1669,11 @@ function kn({
1669
1669
  }
1670
1670
  return r;
1671
1671
  }
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 = {
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 = {
1677
1677
  "@type": "@builder.io/sdk:Element",
1678
1678
  layerName: "Accordion item title",
1679
1679
  responsiveStyles: {
@@ -1733,7 +1733,7 @@ const Cn = () => `
1733
1733
  }
1734
1734
  }
1735
1735
  }]
1736
- }, wn = {
1736
+ }, En = {
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 Cn = () => `
1798
1798
  builderLinkComponent: !0
1799
1799
  }
1800
1800
  }, Be = (e) => e.toString();
1801
- function En(e) {
1802
- var b;
1801
+ function Rn(e) {
1802
+ var g;
1803
1803
  const [t, n] = k(() => []);
1804
1804
  function i() {
1805
1805
  return !!(e.grid || e.oneAtATime);
@@ -1826,7 +1826,7 @@ function En(e) {
1826
1826
  cursor: "pointer"
1827
1827
  };
1828
1828
  return Object.fromEntries(
1829
- Object.entries(S).filter(([m, g]) => g !== void 0)
1829
+ Object.entries(S).filter(([m, b]) => b !== void 0)
1830
1830
  );
1831
1831
  }
1832
1832
  function o(u) {
@@ -1876,7 +1876,7 @@ function En(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: (b = e.items) == null ? void 0 : b.map((u, S) => /* @__PURE__ */ D(ft.Fragment, { children: [
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: [
1880
1880
  /* @__PURE__ */ s(
1881
1881
  "div",
1882
1882
  {
@@ -1923,7 +1923,7 @@ function En(e) {
1923
1923
  ) : null
1924
1924
  ] }, S)) });
1925
1925
  }
1926
- const Rn = {
1926
+ const Pn = {
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 Rn = {
1959
1959
  shouldReceiveBuilderProps: {
1960
1960
  builderLinkComponent: !0
1961
1961
  }
1962
- }, Pn = {
1962
+ }, Vn = {
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 Rn = {
2166
2166
  builderComponents: !0,
2167
2167
  builderLinkComponent: !0
2168
2168
  }
2169
- }, Vn = {
2169
+ }, An = {
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"], 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 = {
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 = {
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 Rn = {
2195
2195
  function n(o, l = 6e4) {
2196
2196
  return new Promise((c, d) => {
2197
2197
  const h = document.createElement("img");
2198
- let b = !1;
2198
+ let g = !1;
2199
2199
  h.onload = () => {
2200
- b = !0, c(h);
2200
+ g = !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
- b || d(new Error("Image load timed out"));
2204
+ g || d(new Error("Image load timed out"));
2205
2205
  }, l);
2206
2206
  });
2207
2207
  }
@@ -2284,7 +2284,7 @@ const Rn = {
2284
2284
  shouldReceiveBuilderProps: {
2285
2285
  builderBlock: !0
2286
2286
  }
2287
- }, Nn = {
2287
+ }, $n = {
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 $n(e) {
2335
- var v, T, E, _, H, q, y, x, V, A, $, R, P;
2336
- const t = z(null), [n, i] = k(
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(
2337
2337
  () => Te.getUserAttributes()
2338
2338
  ), [a, r] = k(
2339
2339
  () => {
2340
2340
  var I, N, C;
2341
- return Tn(
2341
+ return In(
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 $n(e) {
2347
2347
  ), [o, l] = k(
2348
2348
  () => {
2349
2349
  var I, N, C;
2350
- return In(
2350
+ return wn(
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, b] = k(
2356
+ ), [c, d] = k(() => []), [h, g] = k(
2357
2357
  () => {
2358
2358
  var I;
2359
- return Sn(
2359
+ return kn(
2360
2360
  e.variants,
2361
2361
  Z((I = e.builderContext) == null ? void 0 : I.canTrack)
2362
2362
  );
@@ -2365,16 +2365,16 @@ function $n(e) {
2365
2365
  function m() {
2366
2366
  return {
2367
2367
  ...e.attributes,
2368
- [K()]: `builder-personalization-container ${e.attributes[K()] || ""}`
2368
+ [z()]: `builder-personalization-container ${e.attributes[z()] || ""}`
2369
2369
  };
2370
2370
  }
2371
- function g() {
2371
+ function b() {
2372
2372
  return (e.variants || []).filter((I) => {
2373
- var N, C, W, L;
2374
- return bn(
2373
+ var N, C, W, O;
2374
+ return yn(
2375
2375
  {
2376
2376
  ...(C = (N = e.builderContext) == null ? void 0 : N.rootState) != null && C.locale ? {
2377
- locale: (L = (W = e.builderContext) == null ? void 0 : W.rootState) == null ? void 0 : L.locale
2377
+ locale: (O = (W = e.builderContext) == null ? void 0 : W.rootState) == null ? void 0 : O.locale
2378
2378
  } : {},
2379
2379
  ...n
2380
2380
  },
@@ -2386,11 +2386,11 @@ function $n(e) {
2386
2386
  }
2387
2387
  function p() {
2388
2388
  var I;
2389
- return kn({
2389
+ return Cn({
2390
2390
  variants: e.variants,
2391
2391
  fallbackBlocks: (I = e.builderBlock) == null ? void 0 : I.children,
2392
2392
  isHydrated: u,
2393
- filteredVariants: g(),
2393
+ filteredVariants: b(),
2394
2394
  previewingIndex: e.previewingIndex
2395
2395
  });
2396
2396
  }
@@ -2414,7 +2414,7 @@ function $n(e) {
2414
2414
  }
2415
2415
  );
2416
2416
  if (!(U() || oe())) {
2417
- const C = g()[0];
2417
+ const C = b()[0];
2418
2418
  t.current && (t.current.dispatchEvent(
2419
2419
  new CustomEvent("builder.variantLoaded", {
2420
2420
  detail: {
@@ -2423,10 +2423,10 @@ function $n(e) {
2423
2423
  },
2424
2424
  bubbles: !0
2425
2425
  })
2426
- ), new IntersectionObserver((L) => {
2427
- L.forEach((O) => {
2426
+ ), new IntersectionObserver((O) => {
2427
+ O.forEach((L) => {
2428
2428
  var j;
2429
- O.isIntersecting && t.current && t.current.dispatchEvent(
2429
+ L.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 $n(e) {
2452
2452
  registeredComponents: e.builderComponents,
2453
2453
  BlocksWrapperProps: {
2454
2454
  ...(T = e.builderContext) == null ? void 0 : T.BlocksWrapperProps,
2455
- "data-variant-id": `${(E = e.builderBlock) == null ? void 0 : E.id}-${p().index}`
2455
+ "data-variant-id": `${(w = e.builderBlock) == null ? void 0 : w.id}-${p().index}`
2456
2456
  }
2457
2457
  }
2458
2458
  ) : null,
2459
- !u && ie.includes(F) || !ie.includes(F) ? /* @__PURE__ */ D(w, { children: [
2460
- h ? /* @__PURE__ */ D(w, { children: [
2459
+ !u && ie.includes(F) || !ie.includes(F) ? /* @__PURE__ */ D(P, { children: [
2460
+ h ? /* @__PURE__ */ D(P, { children: [
2461
2461
  /* @__PURE__ */ s(
2462
2462
  te,
2463
2463
  {
@@ -2475,7 +2475,7 @@ function $n(e) {
2475
2475
  }
2476
2476
  ),
2477
2477
  (x = e.variants) == null ? void 0 : x.map((I, N) => {
2478
- var C, W, L, O, j, Ce;
2478
+ var C, W, O, L, j, Ce;
2479
2479
  return /* @__PURE__ */ s(
2480
2480
  M,
2481
2481
  {
@@ -2486,14 +2486,14 @@ function $n(e) {
2486
2486
  "data-variant-id": `${(W = e.builderBlock) == null ? void 0 : W.id}-${N}`
2487
2487
  },
2488
2488
  blocks: I.blocks,
2489
- parent: (L = e.builderBlock) == null ? void 0 : L.id,
2489
+ parent: (O = e.builderBlock) == null ? void 0 : O.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: ((O = e.builderContext) == null ? void 0 : O.nonce) || "",
2496
+ nonce: ((L = e.builderContext) == null ? void 0 : L.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 $n(e) {
2518
2518
  children: h ? /* @__PURE__ */ s(
2519
2519
  J,
2520
2520
  {
2521
- nonce: ((R = e.builderContext) == null ? void 0 : R.nonce) || "",
2521
+ nonce: ((E = e.builderContext) == null ? void 0 : E.nonce) || "",
2522
2522
  scriptStr: a,
2523
- id: `variants-script-${(P = e.builderBlock) == null ? void 0 : P.id}-${ne}`
2523
+ id: `variants-script-${(R = e.builderBlock) == null ? void 0 : R.id}-${ne}`
2524
2524
  }
2525
2525
  ) : null
2526
2526
  }
@@ -2528,7 +2528,7 @@ function $n(e) {
2528
2528
  ] }) : null
2529
2529
  ] });
2530
2530
  }
2531
- const Wn = {
2531
+ const Dn = {
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 Wn = {
2567
2567
  }
2568
2568
  }
2569
2569
  }]
2570
- }, Dn = {
2570
+ }, Fn = {
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 Wn = {
2585
2585
  builderComponents: !0
2586
2586
  }
2587
2587
  };
2588
- function Fn(e) {
2588
+ function On(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
- }, ge = {
2673
+ }, be = {
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
- }, On = {
2689
+ }, _n = {
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: [ge]
2704
+ defaultValue: [be]
2705
2705
  }],
2706
2706
  defaultValue: [{
2707
2707
  label: [{
@@ -2714,7 +2714,7 @@ const Ln = {
2714
2714
  }
2715
2715
  }],
2716
2716
  content: [{
2717
- ...ge,
2717
+ ...be,
2718
2718
  component: {
2719
2719
  name: "Text",
2720
2720
  options: {
@@ -2733,7 +2733,7 @@ const Ln = {
2733
2733
  }
2734
2734
  }],
2735
2735
  content: [{
2736
- ...ge,
2736
+ ...be,
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 _n(e) {
2793
+ function Un(e) {
2794
2794
  var o;
2795
2795
  const [t, n] = k(
2796
2796
  () => e.defaultActiveTab ? e.defaultActiveTab - 1 : 0
@@ -2850,7 +2850,7 @@ function _n(e) {
2850
2850
  ) }) : null
2851
2851
  ] });
2852
2852
  }
2853
- const Un = {
2853
+ const Hn = {
2854
2854
  shouldReceiveBuilderProps: {},
2855
2855
  name: "Text",
2856
2856
  static: !0,
@@ -2869,7 +2869,7 @@ const Un = {
2869
2869
  textAlign: "center"
2870
2870
  }
2871
2871
  };
2872
- function Hn(e) {
2872
+ function Mn(e) {
2873
2873
  var t;
2874
2874
  return /* @__PURE__ */ s(
2875
2875
  "div",
@@ -2882,7 +2882,7 @@ function Hn(e) {
2882
2882
  }
2883
2883
  );
2884
2884
  }
2885
- const Mn = {
2885
+ const qn = {
2886
2886
  name: "Custom Code",
2887
2887
  static: !0,
2888
2888
  requiredPermissions: ["editCode"],
@@ -2905,8 +2905,8 @@ const Mn = {
2905
2905
  advanced: !0
2906
2906
  }]
2907
2907
  };
2908
- function qn(e) {
2909
- const t = z(null), [n, i] = k(() => []), [a, r] = k(() => []);
2908
+ function jn(e) {
2909
+ const t = K(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 qn(e) {
2918
2918
  if (n.includes(h.src))
2919
2919
  continue;
2920
2920
  n.push(h.src);
2921
- const b = document.createElement("script");
2922
- b.async = !0, b.src = h.src, document.head.appendChild(b);
2921
+ const g = document.createElement("script");
2922
+ g.async = !0, g.src = h.src, document.head.appendChild(g);
2923
2923
  } else if (!h.type || [
2924
2924
  "text/javascript",
2925
2925
  "application/javascript",
@@ -2929,10 +2929,10 @@ function qn(e) {
2929
2929
  continue;
2930
2930
  try {
2931
2931
  a.push(h.innerText), new Function(h.innerText)();
2932
- } catch (b) {
2932
+ } catch (g) {
2933
2933
  ee.warn(
2934
2934
  "[BUILDER.IO] `CustomCode`: Error running script:",
2935
- b
2935
+ g
2936
2936
  );
2937
2937
  }
2938
2938
  }
@@ -2951,7 +2951,7 @@ function qn(e) {
2951
2951
  }
2952
2952
  );
2953
2953
  }
2954
- const jn = {
2954
+ const Kn = {
2955
2955
  name: "Embed",
2956
2956
  static: !0,
2957
2957
  inputs: [{
@@ -2966,22 +2966,22 @@ const jn = {
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"], 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);
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);
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 b = d[h];
2978
- if (b.src && !n.includes(b.src)) {
2979
- n.push(b.src);
2977
+ const g = d[h];
2978
+ if (g.src && !n.includes(g.src)) {
2979
+ n.push(g.src);
2980
2980
  const u = document.createElement("script");
2981
- u.async = !0, u.src = b.src, document.head.appendChild(u);
2982
- } else if (Kn(b) && !a.includes(b.innerText))
2981
+ u.async = !0, u.src = g.src, document.head.appendChild(u);
2982
+ } else if (Jn(g) && !a.includes(g.innerText))
2983
2983
  try {
2984
- a.push(b.innerText), new Function(b.innerText)();
2984
+ a.push(g.innerText), new Function(g.innerText)();
2985
2985
  } catch (u) {
2986
2986
  ee.warn("[BUILDER.IO] `Embed`: Error running script:", u);
2987
2987
  }
@@ -2998,7 +2998,7 @@ function Jn(e) {
2998
2998
  }
2999
2999
  );
3000
3000
  }
3001
- const Gn = {
3001
+ const Qn = {
3002
3002
  name: "Form:Form",
3003
3003
  // editableTags: ['builder-form-error']
3004
3004
  defaults: {
@@ -3235,19 +3235,19 @@ const Gn = {
3235
3235
  builderComponents: !0,
3236
3236
  builderLinkComponent: !0
3237
3237
  }
3238
- }, Qn = ["production", "qa", "test", "development", "dev", "cdn-qa", "cloud", "fast", "cdn2", "cdn-prod"], Yn = () => {
3238
+ }, Yn = ["production", "qa", "test", "development", "dev", "cdn-qa", "cloud", "fast", "cdn2", "cdn-prod"], Xn = () => {
3239
3239
  const e = process.env.NODE_ENV || "production";
3240
- return Qn.includes(e) ? e : "production";
3240
+ return Yn.includes(e) ? e : "production";
3241
3241
  };
3242
- function Xn(e) {
3243
- const t = z(null), [n, i] = k(() => "unsubmitted"), [a, r] = k(() => null), [o, l] = k(() => "");
3242
+ function Zn(e) {
3243
+ const t = K(null), [n, i] = k(() => "unsubmitted"), [a, r] = k(() => null), [o, l] = k(() => "");
3244
3244
  function c(u) {
3245
- var m, g;
3245
+ var m, b;
3246
3246
  const S = {
3247
3247
  ...e.builderContext.rootState,
3248
3248
  ...u
3249
3249
  };
3250
- e.builderContext.rootSetState ? (g = (m = e.builderContext).rootSetState) == null || g.call(m, S) : e.builderContext.rootState = S;
3250
+ e.builderContext.rootSetState ? (b = (m = e.builderContext).rootSetState) == null || b.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 Xn(e) {
3255
3255
  function h(u) {
3256
3256
  return JSON.stringify(u, null, 2);
3257
3257
  }
3258
- function b(u) {
3258
+ function g(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 Xn(e) {
3266
3266
  return;
3267
3267
  }
3268
3268
  u.preventDefault();
3269
- const g = u.currentTarget || u.target, p = e.customHeaders || {};
3269
+ const b = u.currentTarget || u.target, p = e.customHeaders || {};
3270
3270
  let f;
3271
- const v = new FormData(g), T = Array.from(g.querySelectorAll("input,select,textarea")).filter((y) => !!y.name).filter(
3271
+ const v = new FormData(b), T = Array.from(b.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 Xn(e) {
3294
3294
  value: x
3295
3295
  };
3296
3296
  });
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")
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")
3301
3301
  f = v;
3302
3302
  else {
3303
3303
  const y = {};
3304
3304
  Array.from(T).forEach(({ value: x, key: V }) => {
3305
- He(y, V, x);
3305
+ Me(y, V, x);
3306
3306
  }), f = JSON.stringify(y);
3307
3307
  }
3308
- E && E !== "multipart/form-data" && (S && ((m = e.action) != null && m.includes("zapier.com")) || (p["content-type"] = E));
3308
+ w && w !== "multipart/form-data" && (S && ((m = e.action) != null && m.includes("zapier.com")) || (p["content-type"] = w));
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 Xn(e) {
3314
3314
  console.error(y), i("error"), c({ formErrorMessage: y });
3315
3315
  return;
3316
3316
  }
3317
- const H = `${Yn() === "dev" ? "http://localhost:5000" : "https://builder.io"}/api/v1/form-submit?apiKey=${e.builderContext.apiKey}&to=${btoa(
3317
+ const H = `${Xn() === "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 Xn(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 R = new CustomEvent("submit:error", {
3326
+ const E = 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(R), R.defaultPrevented))
3329
+ if ((A = t.current) != null && A.nativeElement && (($ = t.current) == null || $.nativeElement.dispatchEvent(E), E.defaultPrevented))
3330
3330
  return;
3331
3331
  r(x), i("error");
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 });
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 });
3334
3334
  return;
3335
3335
  }
3336
3336
  if (r(x), i(y.ok ? "success" : "error"), y.ok) {
3337
- const R = new CustomEvent("submit:success", {
3337
+ const E = new CustomEvent("submit:success", {
3338
3338
  detail: { res: y, body: x }
3339
3339
  });
3340
3340
  if (t.current) {
3341
- if (t.current.dispatchEvent(R), R.defaultPrevented)
3341
+ if (t.current.dispatchEvent(E), E.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 P = new CustomEvent("route", {
3347
+ const R = new CustomEvent("route", {
3348
3348
  detail: { url: e.successUrl }
3349
3349
  });
3350
- t.current.dispatchEvent(P), P.defaultPrevented || (location.href = e.successUrl);
3350
+ t.current.dispatchEvent(R), R.defaultPrevented || (location.href = e.successUrl);
3351
3351
  } else
3352
3352
  location.href = e.successUrl;
3353
3353
  }
@@ -3361,7 +3361,7 @@ function Xn(e) {
3361
3361
  );
3362
3362
  }
3363
3363
  }
3364
- return /* @__PURE__ */ D(w, { children: [
3364
+ return /* @__PURE__ */ D(P, { 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 Xn(e) {
3373
3373
  action: !e.sendWithJs && e.action,
3374
3374
  method: e.method,
3375
3375
  name: e.name,
3376
- onSubmit: (u) => b(u),
3376
+ onSubmit: (u) => g(u),
3377
3377
  ...e.attributes,
3378
3378
  children: [
3379
3379
  e.children,
@@ -3408,7 +3408,7 @@ function Xn(e) {
3408
3408
  " "
3409
3409
  ] });
3410
3410
  }
3411
- const Zn = {
3411
+ const ei = {
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 Zn = {
3460
3460
  borderColor: "#ccc"
3461
3461
  }
3462
3462
  };
3463
- function ei(e) {
3464
- return /* @__PURE__ */ Ue(
3463
+ function ti(e) {
3464
+ return /* @__PURE__ */ He(
3465
3465
  "input",
3466
3466
  {
3467
3467
  ...e.attributes,
@@ -3475,7 +3475,7 @@ function ei(e) {
3475
3475
  }
3476
3476
  );
3477
3477
  }
3478
- const ti = {
3478
+ const ni = {
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 ti = {
3518
3518
  static: !0,
3519
3519
  noWrap: !0
3520
3520
  };
3521
- function ni(e) {
3521
+ function ii(e) {
3522
3522
  var t;
3523
- return /* @__PURE__ */ Ue(
3523
+ return /* @__PURE__ */ He(
3524
3524
  "select",
3525
3525
  {
3526
3526
  ...e.attributes,
@@ -3533,7 +3533,7 @@ function ni(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 ii = {
3536
+ const ai = {
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 ii = {
3559
3559
  // TODO: defaultChildren
3560
3560
  // canHaveChildren: true,
3561
3561
  };
3562
- function ai(e) {
3562
+ function ri(e) {
3563
3563
  return /* @__PURE__ */ s("button", { type: "submit", ...e.attributes, children: e.text });
3564
3564
  }
3565
- const ri = {
3565
+ const oi = {
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 ri = {
3599
3599
  static: !0,
3600
3600
  noWrap: !0
3601
3601
  };
3602
- function oi(e) {
3602
+ function li(e) {
3603
3603
  return /* @__PURE__ */ s(
3604
3604
  "textarea",
3605
3605
  {
@@ -3612,7 +3612,7 @@ function oi(e) {
3612
3612
  }
3613
3613
  );
3614
3614
  }
3615
- const li = {
3615
+ const si = {
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 li = {
3657
3657
  }],
3658
3658
  noWrap: !0
3659
3659
  };
3660
- function si(e) {
3660
+ function ci(e) {
3661
3661
  var n;
3662
3662
  function t() {
3663
3663
  const i = {
3664
3664
  ...e.attributes,
3665
- [K()]: `builder-raw-img ${e.attributes[K()] || ""}`
3665
+ [z()]: `builder-raw-img ${e.attributes[z()] || ""}`
3666
3666
  };
3667
3667
  return delete i.style, i;
3668
3668
  }
@@ -3684,7 +3684,7 @@ function si(e) {
3684
3684
  U() && e.imgSrc || "default-key"
3685
3685
  );
3686
3686
  }
3687
- const ci = {
3687
+ const ui = {
3688
3688
  name: "Video",
3689
3689
  canHaveChildren: !0,
3690
3690
  defaultStyles: {
@@ -3695,7 +3695,7 @@ const ci = {
3695
3695
  inputs: [{
3696
3696
  name: "video",
3697
3697
  type: "file",
3698
- allowedFileTypes: An,
3698
+ allowedFileTypes: Bn,
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 ci = {
3769
3769
  builderBlock: !0
3770
3770
  }
3771
3771
  };
3772
- function ui(e) {
3773
- var o, l, c, d, h, b, u;
3774
- const t = z(null);
3772
+ function di(e) {
3773
+ var o, l, c, d, h, g, u;
3774
+ const t = K(null);
3775
3775
  function n() {
3776
3776
  return {
3777
3777
  ...e.autoPlay === !0 ? {
@@ -3801,10 +3801,10 @@ function ui(e) {
3801
3801
  return B(() => {
3802
3802
  if (e.lazyLoad) {
3803
3803
  const S = new IntersectionObserver(function(m) {
3804
- m.forEach(function(g) {
3805
- if (!g.isIntersecting)
3804
+ m.forEach(function(b) {
3805
+ if (!b.isIntersecting)
3806
3806
  return;
3807
- const p = g.target;
3807
+ const p = b.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 ui(e) {
3884
3884
  children: e.children
3885
3885
  }
3886
3886
  ) : null,
3887
- (u = (b = e.builderBlock) == null ? void 0 : b.children) != null && u.length && !e.fitContent ? /* @__PURE__ */ s(
3887
+ (u = (g = e.builderBlock) == null ? void 0 : g.children) != null && u.length && !e.fitContent ? /* @__PURE__ */ s(
3888
3888
  "div",
3889
3889
  {
3890
3890
  style: {
@@ -3905,67 +3905,67 @@ function ui(e) {
3905
3905
  }
3906
3906
  );
3907
3907
  }
3908
- const di = () => [{
3909
- component: qn,
3910
- ...Mn
3908
+ const mi = () => [{
3909
+ component: jn,
3910
+ ...qn
3911
3911
  }, {
3912
- component: Jn,
3913
- ...jn
3912
+ component: Gn,
3913
+ ...Kn
3914
3914
  }, {
3915
- component: Xn,
3916
- ...Gn
3915
+ component: Zn,
3916
+ ...Qn
3917
3917
  }, {
3918
- component: ei,
3919
- ...Zn
3918
+ component: ti,
3919
+ ...ei
3920
3920
  }, {
3921
- component: ai,
3922
- ...ii
3921
+ component: ri,
3922
+ ...ai
3923
3923
  }, {
3924
- component: ni,
3925
- ...ti
3924
+ component: ii,
3925
+ ...ni
3926
3926
  }, {
3927
- component: oi,
3928
- ...ri
3927
+ component: li,
3928
+ ...oi
3929
3929
  }, {
3930
- component: si,
3931
- ...li
3930
+ component: ci,
3931
+ ...si
3932
3932
  }, {
3933
- component: ui,
3934
- ...ci
3933
+ component: di,
3934
+ ...ui
3935
3935
  }], Ne = () => [{
3936
- component: kt,
3937
- ...Rn
3938
- }, {
3939
- component: un,
3936
+ component: Ct,
3940
3937
  ...Pn
3941
3938
  }, {
3942
3939
  component: dn,
3943
3940
  ...Vn
3944
3941
  }, {
3945
- component: hn,
3946
- ...Bn
3942
+ component: mn,
3943
+ ...An
3947
3944
  }, {
3948
- component: gn,
3949
- ...Wn
3945
+ component: bn,
3946
+ ...Nn
3950
3947
  }, {
3951
- component: Fn,
3948
+ component: gn,
3952
3949
  ...Dn
3953
3950
  }, {
3954
- component: Di,
3951
+ component: On,
3952
+ ...Fn
3953
+ }, {
3954
+ component: Fi,
3955
3955
  ...Ln
3956
3956
  }, {
3957
- component: Hn,
3958
- ...Un
3959
- }, ...it.includes(F) ? [{
3960
- component: $n,
3961
- ...Nn
3957
+ component: Mn,
3958
+ ...Hn
3959
+ }, ...at.includes(F) ? [{
3960
+ component: Wn,
3961
+ ...$n
3962
3962
  }] : [], {
3963
- component: _n,
3964
- ...On
3963
+ component: Un,
3964
+ ..._n
3965
3965
  }, {
3966
- component: En,
3967
- ...wn
3968
- }, ...di()], mi = `function updateCookiesAndStyles(contentId, variants, isHydrationTarget, isAngularSDK) {
3966
+ component: Rn,
3967
+ ...En
3968
+ }, ...mi()], fi = `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 di = () => [{
4024
4024
  }).join('');
4025
4025
  styleEl.innerHTML = newStyleStr;
4026
4026
  }
4027
- }`, fi = `function updateVariantVisibility(variantContentId, defaultContentId, isHydrationTarget) {
4027
+ }`, hi = `function updateVariantVisibility(variantContentId, defaultContentId, isHydrationTarget) {
4028
4028
  if (!navigator.cookieEnabled) {
4029
4029
  return;
4030
4030
  }
@@ -4058,29 +4058,59 @@ const di = () => [{
4058
4058
  thisScriptEl?.remove();
4059
4059
  }
4060
4060
  return;
4061
- }`, rt = "builderIoAbTest", ot = "builderIoRenderContent", ae = (e) => Object.values((e == null ? void 0 : e.variations) || {}).map((t) => ({
4061
+ }`, ot = "builderIoAbTest", lt = "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
- })), hi = ({
4065
+ })), bi = ({
4066
4066
  canTrack: e,
4067
4067
  content: t
4068
- }) => !(!(ae(t).length > 0) || !e || G()), gi = (e) => e === "react" || e === "reactNative", bi = F === "angular", lt = gi(F), yi = () => `
4069
- window.${rt} = ${mi}
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 = () => `
4070
4099
  window.${ot} = ${fi}
4071
- `, pi = (e, t) => `
4072
- window.${rt}(
4073
- "${t}",${JSON.stringify(e)}, ${lt}, ${bi}
4074
- )`, vi = ({
4100
+ window.${lt} = ${hi}
4101
+ `, vi = (e, t) => `
4102
+ window.${ot}(
4103
+ "${t}",${JSON.stringify(e)}, ${st}, ${yi}
4104
+ )`, xi = ({
4075
4105
  contentId: e,
4076
4106
  variationId: t
4077
- }) => `window.${ot}(
4078
- "${t}", "${e}", ${lt}
4107
+ }) => `window.${lt}(
4108
+ "${t}", "${e}", ${st}
4079
4109
  )`;
4080
- function $e(e) {
4110
+ function We(e) {
4081
4111
  return Math.round(e * 1e3) / 1e3;
4082
4112
  }
4083
- const xi = (e, t, n = !0) => {
4113
+ const Si = (e, t, n = !0) => {
4084
4114
  if (!(e instanceof HTMLElement))
4085
4115
  return null;
4086
4116
  let i = n ? e : e.parentElement;
@@ -4091,35 +4121,35 @@ const xi = (e, t, n = !0) => {
4091
4121
  return i;
4092
4122
  } while (i = i.parentElement);
4093
4123
  return null;
4094
- }, Si = (e) => xi(e, (t) => {
4124
+ }, ki = (e) => Si(e, (t) => {
4095
4125
  const n = t.getAttribute("builder-id") || t.id;
4096
4126
  return (n == null ? void 0 : n.indexOf("builder-")) === 0;
4097
- }), We = ({
4127
+ }), De = ({
4098
4128
  event: e,
4099
4129
  target: t
4100
4130
  }) => {
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);
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);
4102
4132
  return {
4103
4133
  x: r,
4104
4134
  y: o
4105
4135
  };
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);
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);
4108
4138
  return {
4109
4139
  targetBuilderElement: i || void 0,
4110
4140
  metadata: {
4111
- targetOffset: t ? We({
4141
+ targetOffset: t ? De({
4112
4142
  event: e,
4113
4143
  target: t
4114
4144
  }) : void 0,
4115
- builderTargetOffset: n ? We({
4145
+ builderTargetOffset: n ? De({
4116
4146
  event: e,
4117
4147
  target: n
4118
4148
  }) : void 0,
4119
4149
  builderElementIndex: n && i ? [].slice.call(document.getElementsByClassName(i)).indexOf(n) : void 0
4120
4150
  }
4121
4151
  };
4122
- }, Ci = ["svelte", "qwik", "vue"], De = () => Ci.includes(F) && (U() || oe()), Ti = (e) => {
4152
+ }, Ti = ["svelte", "qwik", "vue"], Fe = () => Ti.includes(F) && (U() || oe()), Ii = (e) => {
4123
4153
  var r, o;
4124
4154
  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;
4125
4155
  let a = "";
@@ -4145,15 +4175,15 @@ font-weight: ${l};
4145
4175
  `.trim());
4146
4176
  }
4147
4177
  return a;
4148
- }, Ii = ({
4178
+ }, wi = ({
4149
4179
  customFonts: e
4150
4180
  }) => {
4151
4181
  var t;
4152
- return ((t = e == null ? void 0 : e.map((n) => Ti(n))) == null ? void 0 : t.join(" ")) || "";
4153
- }, wi = ({
4182
+ return ((t = e == null ? void 0 : e.map((n) => Ii(n))) == null ? void 0 : t.join(" ")) || "";
4183
+ }, Ei = ({
4154
4184
  cssCode: e,
4155
4185
  contentId: t
4156
- }) => e ? t ? (e == null ? void 0 : e.replace(/&/g, `div[builder-content-id="${t}"]`)) || "" : e : "", Ei = `
4186
+ }) => e ? t ? (e == null ? void 0 : e.replace(/&/g, `div[builder-content-id="${t}"]`)) || "" : e : "", Ri = `
4157
4187
  .builder-button {
4158
4188
  all: unset;
4159
4189
  }
@@ -4170,30 +4200,30 @@ font-weight: ${l};
4170
4200
  text-align: inherit;
4171
4201
  font-family: inherit;
4172
4202
  }
4173
- `, Ri = (e) => e ? "" : Ei, Pi = (e) => `variant-${e}`;
4174
- function Vi(e) {
4203
+ `, Pi = (e) => e ? "" : Ri, Vi = (e) => `variant-${e}`;
4204
+ function Ai(e) {
4175
4205
  var H, q, y;
4176
- const t = z(null);
4206
+ const t = K(null);
4177
4207
  k(() => !1), k(
4178
4208
  () => e.builderContextSignal
4179
4209
  );
4180
4210
  const [n, i] = k(() => null), [a, r] = k(() => "");
4181
4211
  function o(x, V) {
4182
- var $, R;
4212
+ var $, E;
4183
4213
  const A = {
4184
4214
  ...e.builderContextSignal.rootState,
4185
4215
  ...x
4186
4216
  };
4187
- e.builderContextSignal.rootSetState ? (R = ($ = e.builderContextSignal).rootSetState) == null || R.call($, A) : e.setBuilderContextSignal((P) => ({
4188
- ...P,
4217
+ e.builderContextSignal.rootSetState ? (E = ($ = e.builderContextSignal).rootSetState) == null || E.call($, A) : e.setBuilderContextSignal((R) => ({
4218
+ ...R,
4189
4219
  rootState: A
4190
- })), e.builderContextSignal.rootSetState ? e.builderContextSignal.rootSetState(A) : e.setBuilderContextSignal((P) => ({
4191
- ...P,
4220
+ })), e.builderContextSignal.rootSetState ? e.builderContextSignal.rootSetState(A) : e.setBuilderContextSignal((R) => ({
4221
+ ...R,
4192
4222
  rootState: A
4193
4223
  }));
4194
4224
  }
4195
4225
  function l(x, V) {
4196
- var $, R, P, I, N;
4226
+ var $, E, R, I, N;
4197
4227
  const A = {
4198
4228
  ...e.builderContextSignal.content,
4199
4229
  ...x,
@@ -4202,9 +4232,9 @@ function Vi(e) {
4202
4232
  ...x == null ? void 0 : x.data
4203
4233
  },
4204
4234
  meta: {
4205
- ...(R = e.builderContextSignal.content) == null ? void 0 : R.meta,
4235
+ ...(E = e.builderContextSignal.content) == null ? void 0 : E.meta,
4206
4236
  ...x == null ? void 0 : x.meta,
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)
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)
4208
4238
  }
4209
4239
  };
4210
4240
  e.setBuilderContextSignal((C) => ({
@@ -4221,22 +4251,22 @@ function Vi(e) {
4221
4251
  const [d, h] = k(
4222
4252
  () => e.contentWrapper || "div"
4223
4253
  );
4224
- function b(x) {
4225
- return dt({
4254
+ function g(x) {
4255
+ return mt({
4226
4256
  model: e.model,
4227
4257
  trustedHosts: e.trustedHosts,
4228
4258
  callbacks: {
4229
4259
  configureSdk: (V) => {
4230
- var R;
4260
+ var E;
4231
4261
  const { breakpoints: A, contentId: $ } = V;
4232
- !$ || $ !== ((R = e.builderContextSignal.content) == null ? void 0 : R.id) || A && l({
4262
+ !$ || $ !== ((E = e.builderContextSignal.content) == null ? void 0 : E.id) || A && l({
4233
4263
  meta: {
4234
4264
  breakpoints: A
4235
4265
  }
4236
4266
  });
4237
4267
  },
4238
4268
  animation: (V) => {
4239
- Je(V);
4269
+ Ge(V);
4240
4270
  },
4241
4271
  contentUpdate: (V, A) => {
4242
4272
  l(V);
@@ -4247,19 +4277,19 @@ function Vi(e) {
4247
4277
  }
4248
4278
  })(x);
4249
4279
  }
4250
- const [u, S] = k(() => ({})), [m, g] = k(() => ({})), [p, f] = k(() => !1);
4280
+ const [u, S] = k(() => ({})), [m, b] = k(() => ({})), [p, f] = k(() => !1);
4251
4281
  function v(x) {
4252
4282
  var V, A;
4253
4283
  if (e.builderContextSignal.content) {
4254
- const $ = (V = e.builderContextSignal.content) == null ? void 0 : V.testVariationId, R = (A = e.builderContextSignal.content) == null ? void 0 : A.id;
4284
+ const $ = (V = e.builderContextSignal.content) == null ? void 0 : V.testVariationId, E = (A = e.builderContextSignal.content) == null ? void 0 : A.id;
4255
4285
  Ie({
4256
4286
  apiHost: e.apiHost,
4257
4287
  type: "click",
4258
4288
  canTrack: Z(e.canTrack),
4259
- contentId: R,
4289
+ contentId: E,
4260
4290
  apiKey: e.apiKey,
4261
- variationId: $ !== R ? $ : void 0,
4262
- ...ki(x),
4291
+ variationId: $ !== E ? $ : void 0,
4292
+ ...Ci(x),
4263
4293
  unique: !p
4264
4294
  });
4265
4295
  }
@@ -4269,17 +4299,17 @@ function Vi(e) {
4269
4299
  var V, A, $;
4270
4300
  const x = ($ = (A = (V = e.builderContextSignal.content) == null ? void 0 : V.data) == null ? void 0 : A.httpRequests) != null ? $ : {};
4271
4301
  Object.entries(x).forEach(
4272
- ([R, P]) => {
4273
- if (!P)
4302
+ ([E, R]) => {
4303
+ if (!R)
4274
4304
  return;
4275
- const I = typeof P == "object" && P["@type"] === "@builder.io/core:Request";
4276
- if (m[R] || u[R] && !U())
4305
+ const I = typeof R == "object" && R["@type"] === "@builder.io/core:Request";
4306
+ if (m[E] || u[E] && !U())
4277
4307
  return;
4278
- const N = I ? P.request.url : P;
4279
- m[R] = !0;
4308
+ const N = I ? R.request.url : R;
4309
+ m[E] = !0;
4280
4310
  const C = N.replace(
4281
4311
  /{{([^}]+)}}/g,
4282
- (O, j) => String(
4312
+ (L, j) => String(
4283
4313
  Q({
4284
4314
  code: j,
4285
4315
  context: e.context || {},
@@ -4290,36 +4320,36 @@ function Vi(e) {
4290
4320
  )
4291
4321
  ), W = I ? {
4292
4322
  url: C,
4293
- method: P.request.method,
4294
- headers: P.request.headers,
4295
- body: P.request.body
4323
+ method: R.request.method,
4324
+ headers: R.request.headers,
4325
+ body: R.request.body
4296
4326
  } : {
4297
4327
  url: C,
4298
4328
  method: "GET"
4299
4329
  };
4300
4330
  Le(JSON.stringify(W));
4301
- const L = {
4331
+ const O = {
4302
4332
  method: W.method,
4303
4333
  headers: W.headers,
4304
4334
  body: W.body
4305
4335
  };
4306
- W.method === "GET" && delete L.body, fetch(W.url, L).then((O) => O.json()).then((O) => {
4336
+ W.method === "GET" && delete O.body, fetch(W.url, O).then((L) => L.json()).then((L) => {
4307
4337
  o({
4308
- [R]: O
4309
- }), u[R] = !0;
4310
- }).catch((O) => {
4338
+ [E]: L
4339
+ }), u[E] = !0;
4340
+ }).catch((L) => {
4311
4341
  console.error(
4312
4342
  "error fetching dynamic data",
4313
- JSON.stringify(P),
4314
- O
4343
+ JSON.stringify(R),
4344
+ L
4315
4345
  );
4316
4346
  }).finally(() => {
4317
- m[R] = !1;
4347
+ m[E] = !1;
4318
4348
  });
4319
4349
  }
4320
4350
  );
4321
4351
  }
4322
- function E() {
4352
+ function w() {
4323
4353
  U() && window.dispatchEvent(
4324
4354
  new CustomEvent(
4325
4355
  "builder:component:stateChange",
@@ -4334,11 +4364,11 @@ function Vi(e) {
4334
4364
  )
4335
4365
  );
4336
4366
  }
4337
- const _ = z(!1);
4338
- return _.current || (T(), E(), _.current = !0), B(() => {
4339
- var x, V, A, $, R;
4367
+ const _ = K(!1);
4368
+ return _.current || (T(), w(), _.current = !0), B(() => {
4369
+ var x, V, A, $, E;
4340
4370
  if (G()) {
4341
- U() && !e.isNestedRender && (window.addEventListener("message", b), st({
4371
+ U() && !e.isNestedRender && (window.addEventListener("message", g), ct({
4342
4372
  ...e.locale ? {
4343
4373
  locale: e.locale
4344
4374
  } : {},
@@ -4353,20 +4383,20 @@ function Vi(e) {
4353
4383
  }), Object.values(
4354
4384
  e.builderContextSignal.componentInfos
4355
4385
  ).forEach((C) => {
4356
- var W, L;
4386
+ var W, O;
4357
4387
  if (!((W = C.models) != null && W.length) || C.models.includes(e.model)) {
4358
- const O = ct(C);
4359
- (L = window.parent) == null || L.postMessage(O, "*");
4388
+ const L = ut(C);
4389
+ (O = window.parent) == null || O.postMessage(L, "*");
4360
4390
  }
4361
4391
  }), window.addEventListener(
4362
4392
  "builder:component:stateChangeListenerActivated",
4363
- E
4393
+ w
4364
4394
  ));
4365
- const P = e.builderContextSignal.content && Z(e.canTrack), I = ut({
4395
+ const R = e.builderContextSignal.content && Z(e.canTrack), I = dt({
4366
4396
  name: `builder.tests.${(V = e.builderContextSignal.content) == null ? void 0 : V.id}`,
4367
4397
  canTrack: !0
4368
4398
  }), N = (A = e.builderContextSignal.content) == null ? void 0 : A.testVariationId;
4369
- if (P && N === I) {
4399
+ if (R && N === I) {
4370
4400
  const C = ($ = e.builderContextSignal.content) == null ? void 0 : $.id, W = e.apiKey;
4371
4401
  Ie({
4372
4402
  apiHost: e.apiHost,
@@ -4378,14 +4408,14 @@ function Vi(e) {
4378
4408
  });
4379
4409
  }
4380
4410
  if (oe() && !U()) {
4381
- const C = new URL(location.href).searchParams, W = C.get("builder.preview"), L = C.get(
4411
+ const C = new URL(location.href).searchParams, W = C.get("builder.preview"), O = C.get(
4382
4412
  `builder.overrides.${W}`
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({
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({
4385
4415
  model: e.model,
4386
4416
  apiKey: e.apiKey,
4387
4417
  apiVersion: e.builderContextSignal.apiVersion,
4388
- ...W === "BUILDER_STUDIO" && ((R = e.context) != null && R.symbolId) ? {
4418
+ ...W === "BUILDER_STUDIO" && ((E = e.context) != null && E.symbolId) ? {
4389
4419
  query: {
4390
4420
  id: e.context.symbolId
4391
4421
  }
@@ -4398,7 +4428,7 @@ function Vi(e) {
4398
4428
  }, []), B(() => {
4399
4429
  e.content && l(e.content);
4400
4430
  }, [e.content]), B(() => {
4401
- E();
4431
+ w();
4402
4432
  }, [e.builderContextSignal.rootState]), B(() => {
4403
4433
  if (e.data) {
4404
4434
  if (n === e.data)
@@ -4414,22 +4444,22 @@ function Vi(e) {
4414
4444
  }), r(e.locale);
4415
4445
  }
4416
4446
  }, [e.locale]), B(() => () => {
4417
- G() && (window.removeEventListener("message", b), window.removeEventListener(
4447
+ G() && (window.removeEventListener("message", g), window.removeEventListener(
4418
4448
  "builder:component:stateChangeListenerActivated",
4419
- E
4449
+ w
4420
4450
  ));
4421
- }, []), /* @__PURE__ */ s(le.Provider, { value: e.builderContextSignal, children: e.builderContextSignal.content || De() ? /* @__PURE__ */ s(
4451
+ }, []), /* @__PURE__ */ s(le.Provider, { value: e.builderContextSignal, children: e.builderContextSignal.content || Fe() ? /* @__PURE__ */ s(
4422
4452
  d,
4423
4453
  {
4424
4454
  ref: t,
4425
4455
  onClick: (x) => v(x),
4426
4456
  "builder-content-id": (H = e.builderContextSignal.content) == null ? void 0 : H.id,
4427
4457
  "builder-model": e.model,
4428
- className: Pi(
4458
+ className: Vi(
4429
4459
  ((q = e.content) == null ? void 0 : q.testVariationId) || ((y = e.content) == null ? void 0 : y.id)
4430
4460
  ),
4431
4461
  style: {
4432
- display: !e.builderContextSignal.content && De() ? "none" : void 0
4462
+ display: !e.builderContextSignal.content && Fe() ? "none" : void 0
4433
4463
  },
4434
4464
  ...c(),
4435
4465
  ...e.contentWrapperProps,
@@ -4437,17 +4467,17 @@ function Vi(e) {
4437
4467
  }
4438
4468
  ) : null });
4439
4469
  }
4440
- function Ai(e) {
4470
+ function Bi(e) {
4441
4471
  const [t, n] = k(
4442
4472
  () => `
4443
- ${wi({
4473
+ ${Ei({
4444
4474
  cssCode: e.cssCode,
4445
4475
  contentId: e.contentId
4446
4476
  })}
4447
- ${Ii({
4477
+ ${wi({
4448
4478
  customFonts: e.customFonts
4449
4479
  })}
4450
- ${Ri(e.isNestedRender)}
4480
+ ${Pi(e.isNestedRender)}
4451
4481
  `.trim()
4452
4482
  );
4453
4483
  return /* @__PURE__ */ s(
@@ -4459,7 +4489,7 @@ ${Ri(e.isNestedRender)}
4459
4489
  }
4460
4490
  );
4461
4491
  }
4462
- const Bi = ({
4492
+ const Ni = ({
4463
4493
  content: e,
4464
4494
  data: t,
4465
4495
  locale: n
@@ -4476,7 +4506,7 @@ const Bi = ({
4476
4506
  locale: n
4477
4507
  } : {}
4478
4508
  };
4479
- }, Ni = ({
4509
+ }, $i = ({
4480
4510
  content: e,
4481
4511
  data: t
4482
4512
  }) => e ? {
@@ -4487,12 +4517,12 @@ const Bi = ({
4487
4517
  },
4488
4518
  meta: e == null ? void 0 : e.meta
4489
4519
  } : void 0;
4490
- function Fe(e) {
4491
- var d, h, b, u, S, m, g, p, f;
4520
+ function Oe(e) {
4521
+ var d, h, g, u, S, m, b, p, f;
4492
4522
  const [t, n] = k(
4493
4523
  () => {
4494
4524
  var v, T;
4495
- return vi({
4525
+ return xi({
4496
4526
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
4497
4527
  variationId: (v = e.content) == null ? void 0 : v.testVariationId,
4498
4528
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
@@ -4511,22 +4541,22 @@ function Fe(e) {
4511
4541
  ...Ne(),
4512
4542
  ...e.customComponents || []
4513
4543
  ].reduce(
4514
- (v, { component: T, ...E }) => ({
4544
+ (v, { component: T, ...w }) => ({
4515
4545
  ...v,
4516
- [E.name]: {
4546
+ [w.name]: {
4517
4547
  component: T,
4518
- ...we(E)
4548
+ ...we(w)
4519
4549
  }
4520
4550
  }),
4521
4551
  {}
4522
4552
  )
4523
4553
  ), [o, l] = k(() => ({
4524
- content: Ni({
4554
+ content: $i({
4525
4555
  content: e.content,
4526
4556
  data: e.data
4527
4557
  }),
4528
4558
  localState: void 0,
4529
- rootState: Bi({
4559
+ rootState: Ni({
4530
4560
  content: e.content,
4531
4561
  data: e.data,
4532
4562
  locale: e.locale
@@ -4540,9 +4570,9 @@ function Fe(e) {
4540
4570
  ...Ne(),
4541
4571
  ...e.customComponents || []
4542
4572
  ].reduce(
4543
- (v, { component: T, ...E }) => ({
4573
+ (v, { component: T, ...w }) => ({
4544
4574
  ...v,
4545
- [E.name]: we(E)
4575
+ [w.name]: we(w)
4546
4576
  }),
4547
4577
  {}
4548
4578
  ),
@@ -4551,7 +4581,7 @@ function Fe(e) {
4551
4581
  BlocksWrapperProps: e.blocksWrapperProps || {},
4552
4582
  nonce: e.nonce || "",
4553
4583
  model: e.model
4554
- })), c = z(!1);
4584
+ })), c = K(!1);
4555
4585
  if (!c.current) {
4556
4586
  e.apiKey || ee.error(
4557
4587
  "No API key provided to `Content` component. This can cause issues. Please provide an API key using the `apiKey` prop."
@@ -4570,13 +4600,13 @@ function Fe(e) {
4570
4600
  }
4571
4601
  return B(() => {
4572
4602
  }, [e.content, e.data, e.locale]), /* @__PURE__ */ s(
4573
- Me.Provider,
4603
+ qe.Provider,
4574
4604
  {
4575
4605
  value: {
4576
4606
  registeredComponents: a
4577
4607
  },
4578
4608
  children: /* @__PURE__ */ D(
4579
- Vi,
4609
+ Ai,
4580
4610
  {
4581
4611
  apiHost: e.apiHost,
4582
4612
  nonce: e.nonce,
@@ -4605,13 +4635,13 @@ function Fe(e) {
4605
4635
  }
4606
4636
  ) : null,
4607
4637
  /* @__PURE__ */ s(
4608
- Ai,
4638
+ Bi,
4609
4639
  {
4610
4640
  nonce: e.nonce || "",
4611
4641
  isNestedRender: e.isNestedRender,
4612
- contentId: (b = o.content) == null ? void 0 : b.id,
4642
+ contentId: (g = o.content) == null ? void 0 : g.id,
4613
4643
  cssCode: (S = (u = o.content) == null ? void 0 : u.data) == null ? void 0 : S.cssCode,
4614
- customFonts: (g = (m = o.content) == null ? void 0 : m.data) == null ? void 0 : g.customFonts
4644
+ customFonts: (b = (m = o.content) == null ? void 0 : m.data) == null ? void 0 : b.customFonts
4615
4645
  }
4616
4646
  ),
4617
4647
  /* @__PURE__ */ s(
@@ -4629,17 +4659,17 @@ function Fe(e) {
4629
4659
  }
4630
4660
  );
4631
4661
  }
4632
- function $i(e) {
4662
+ function Wi(e) {
4633
4663
  var o;
4634
4664
  const [t, n] = k(
4635
- () => hi({
4665
+ () => bi({
4636
4666
  canTrack: Z(e.canTrack),
4637
4667
  content: e.content
4638
4668
  })
4639
4669
  );
4640
4670
  function i() {
4641
4671
  var l;
4642
- return pi(
4672
+ return vi(
4643
4673
  ae(e.content).map((c) => ({
4644
4674
  id: c.testVariationId,
4645
4675
  testRatio: c.testRatio
@@ -4655,32 +4685,36 @@ function $i(e) {
4655
4685
  return t ? {
4656
4686
  ...e.content,
4657
4687
  testVariationId: (l = e.content) == null ? void 0 : l.id
4658
- } : mt({
4688
+ } : ft({
4659
4689
  item: e.content,
4660
4690
  canTrack: Z(e.canTrack)
4661
4691
  });
4662
4692
  }
4663
4693
  return B(() => {
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: [
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: [
4684
4718
  /* @__PURE__ */ s(
4685
4719
  te,
4686
4720
  {
@@ -4698,7 +4732,7 @@ function $i(e) {
4698
4732
  }
4699
4733
  ),
4700
4734
  (o = ae(e.content)) == null ? void 0 : o.map((l) => /* @__PURE__ */ s(
4701
- Fe,
4735
+ Oe,
4702
4736
  {
4703
4737
  apiHost: e.apiHost,
4704
4738
  isNestedRender: e.isNestedRender,
@@ -4726,7 +4760,7 @@ function $i(e) {
4726
4760
  ))
4727
4761
  ] }) : null,
4728
4762
  /* @__PURE__ */ s(
4729
- Fe,
4763
+ Oe,
4730
4764
  {
4731
4765
  apiHost: e.apiHost,
4732
4766
  nonce: e.nonce,
@@ -4753,13 +4787,13 @@ function $i(e) {
4753
4787
  )
4754
4788
  ] });
4755
4789
  }
4756
- const Wi = async ({
4790
+ const Di = async ({
4757
4791
  builderContextValue: e,
4758
4792
  symbol: t
4759
4793
  }) => {
4760
4794
  if (t != null && t.model && // This is a hack, we should not need to check for this, but it is needed for Svelte.
4761
4795
  (e != null && e.apiKey))
4762
- return Oe({
4796
+ return _e({
4763
4797
  model: t.model,
4764
4798
  apiKey: t.global && t.ownerId ? t.ownerId : e.apiKey,
4765
4799
  apiVersion: e.apiVersion,
@@ -4772,8 +4806,8 @@ const Wi = async ({
4772
4806
  ee.error("Could not fetch symbol content: ", n);
4773
4807
  });
4774
4808
  };
4775
- function Di(e) {
4776
- var h, b, u, S, m, g, p;
4809
+ function Fi(e) {
4810
+ var h, g, u, S, m, b, p;
4777
4811
  function t() {
4778
4812
  return "div";
4779
4813
  }
@@ -4786,7 +4820,7 @@ function Di(e) {
4786
4820
  function a() {
4787
4821
  var f, v;
4788
4822
  return [
4789
- e.attributes[K()],
4823
+ e.attributes[z()],
4790
4824
  "builder-symbol",
4791
4825
  (f = e.symbol) != null && f.inline ? "builder-inline-symbol" : void 0,
4792
4826
  (v = e.symbol) != null && v.dynamic || e.dynamic ? "builder-dynamic-symbol" : void 0
@@ -4801,7 +4835,7 @@ function Di(e) {
4801
4835
  });
4802
4836
  function d() {
4803
4837
  var f;
4804
- r && l === ((f = e.symbol) == null ? void 0 : f.entry) || Wi({
4838
+ r && l === ((f = e.symbol) == null ? void 0 : f.entry) || Di({
4805
4839
  symbol: e.symbol,
4806
4840
  builderContextValue: e.builderContext
4807
4841
  }).then((v) => {
@@ -4813,12 +4847,12 @@ function Di(e) {
4813
4847
  }, []), B(() => {
4814
4848
  d();
4815
4849
  }, [e.symbol]), /* @__PURE__ */ s("div", { ...e.attributes, className: a(), children: /* @__PURE__ */ s(
4816
- $i,
4850
+ Wi,
4817
4851
  {
4818
4852
  nonce: e.builderContext.nonce,
4819
4853
  isNestedRender: !0,
4820
4854
  apiVersion: e.builderContext.apiVersion,
4821
- apiKey: (h = e.symbol) != null && h.global && ((b = e.symbol) != null && b.ownerId) ? e.symbol.ownerId : e.builderContext.apiKey,
4855
+ apiKey: (h = e.symbol) != null && h.global && ((g = e.symbol) != null && g.ownerId) ? e.symbol.ownerId : e.builderContext.apiKey,
4822
4856
  context: {
4823
4857
  ...e.builderContext.context,
4824
4858
  symbolId: (u = e.builderBlock) == null ? void 0 : u.id
@@ -4830,7 +4864,7 @@ function Di(e) {
4830
4864
  ...(m = r == null ? void 0 : r.data) == null ? void 0 : m.state
4831
4865
  },
4832
4866
  canTrack: e.builderContext.canTrack,
4833
- model: (p = (g = e.symbol) == null ? void 0 : g.model) != null ? p : "",
4867
+ model: (p = (b = e.symbol) == null ? void 0 : b.model) != null ? p : "",
4834
4868
  content: r,
4835
4869
  linkComponent: e.builderLinkComponent,
4836
4870
  blocksWrapper: t(),
@@ -4841,14 +4875,14 @@ function Di(e) {
4841
4875
  export {
4842
4876
  M as Blocks,
4843
4877
  le as BuilderContext,
4844
- kt as Button,
4845
- un as Columns,
4846
- $i as Content,
4847
- dn as Fragment,
4848
- hn as Image,
4878
+ Ct as Button,
4879
+ dn as Columns,
4880
+ Wi as Content,
4881
+ mn as Fragment,
4882
+ bn as Image,
4849
4883
  gn as Section,
4850
- Di as Symbol,
4851
- Hn as Text,
4852
- ui as Video,
4853
- qi as setClientUserAttributes
4884
+ Fi as Symbol,
4885
+ Mn as Text,
4886
+ di as Video,
4887
+ ji as setClientUserAttributes
4854
4888
  };