@builder.io/sdk-react 2.0.12 → 2.0.14

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 +20 -20
  2. package/lib/browser/blocks-exports.mjs +445 -434
  3. package/lib/browser/index.cjs +1 -1
  4. package/lib/browser/index.mjs +1 -1
  5. package/lib/browser/init.cjs +1 -1
  6. package/lib/browser/init.mjs +1 -1
  7. package/lib/{node/server-entry-dc66de59.js → browser/server-entry-13acc156.js} +1 -1
  8. package/lib/browser/{server-entry-acf08871.cjs → server-entry-d6f4f920.cjs} +1 -1
  9. package/lib/browser/server-entry.cjs +1 -1
  10. package/lib/browser/server-entry.mjs +1 -1
  11. package/lib/edge/{accordion-37ff8319.js → accordion-1d87140d.js} +1 -1
  12. package/lib/edge/{accordion-b3b8c262.cjs → accordion-87e3ac98.cjs} +1 -1
  13. package/lib/edge/{blocks-e0e60319.js → blocks-40966fa4.js} +220 -211
  14. package/lib/edge/blocks-91726dda.cjs +12 -0
  15. package/lib/edge/blocks-exports.cjs +1 -1
  16. package/lib/edge/blocks-exports.mjs +2 -2
  17. package/lib/edge/{button-15992755.js → button-45918a0a.js} +2 -2
  18. package/lib/edge/{button-875ac10b.cjs → button-79b579a5.cjs} +1 -1
  19. package/lib/edge/{columns-cfe663b2.js → columns-b55666de.js} +4 -4
  20. package/lib/edge/{columns-11ead988.cjs → columns-bee45776.cjs} +1 -1
  21. package/lib/edge/{content-variants-e780597b.js → content-variants-56933eef.js} +13 -12
  22. package/lib/edge/{content-variants-f8ef104d.cjs → content-variants-c19f46ab.cjs} +1 -1
  23. package/lib/edge/{evaluate-6408d64d.js → evaluate-2b7026be.js} +1 -1
  24. package/lib/edge/{evaluate-938a955e.cjs → evaluate-41623a71.cjs} +1 -1
  25. package/lib/edge/{form-75a774bc.cjs → form-2724acae.cjs} +1 -1
  26. package/lib/edge/{form-7735178f.js → form-7e2f833c.js} +4 -4
  27. package/lib/edge/{get-class-prop-name-d005a2bb.js → get-class-prop-name-8c963ff3.js} +1 -1
  28. package/lib/edge/{get-class-prop-name-e596650d.cjs → get-class-prop-name-b1c9455b.cjs} +1 -1
  29. package/lib/edge/{img-045bb860.js → img-d0f2941c.js} +1 -1
  30. package/lib/edge/{img-dd79e34b.cjs → img-f5173c7a.cjs} +1 -1
  31. package/lib/edge/index.cjs +1 -1
  32. package/lib/edge/index.mjs +1 -1
  33. package/lib/edge/init.cjs +1 -1
  34. package/lib/edge/init.mjs +1 -1
  35. package/lib/edge/{input-adf80016.js → input-71715eac.js} +1 -1
  36. package/lib/edge/{input-3bd0ac03.cjs → input-d76e00ea.cjs} +1 -1
  37. package/lib/edge/{select-90b076db.js → select-09cb37c7.js} +1 -1
  38. package/lib/edge/{select-882193d4.cjs → select-8c281d1f.cjs} +1 -1
  39. package/lib/edge/{server-entry-d5ae6221.cjs → server-entry-65199b3b.cjs} +1 -1
  40. package/lib/edge/{server-entry-84c3cdd6.js → server-entry-7556ee3d.js} +1 -1
  41. package/lib/edge/server-entry.cjs +1 -1
  42. package/lib/edge/server-entry.mjs +1 -1
  43. package/lib/edge/{slot-293114eb.js → slot-4350be16.js} +12 -11
  44. package/lib/edge/slot-cae739f4.cjs +1 -0
  45. package/lib/edge/{symbol-aed9cd2b.js → symbol-061ca26c.js} +2 -2
  46. package/lib/edge/{symbol-3e0799b8.cjs → symbol-96f073c1.cjs} +1 -1
  47. package/lib/edge/{tabs-0cf37bf4.js → tabs-081f284d.js} +4 -4
  48. package/lib/edge/{tabs-f5c4f350.cjs → tabs-4806b2ae.cjs} +1 -1
  49. package/lib/edge/{text-abb84188.cjs → text-3b4c1f89.cjs} +1 -1
  50. package/lib/edge/{text-9e2166c7.js → text-b277727f.js} +2 -2
  51. package/lib/node/blocks-exports.cjs +20 -20
  52. package/lib/node/blocks-exports.mjs +442 -431
  53. package/lib/node/index.cjs +1 -1
  54. package/lib/node/index.mjs +2 -2
  55. package/lib/node/init.cjs +1 -1
  56. package/lib/node/init.mjs +2 -2
  57. package/lib/node/{node-runtime-49e4c6cb.js → node-runtime-1e74e14c.js} +1 -1
  58. package/lib/node/{node-runtime-11912803.cjs → node-runtime-9c4150c6.cjs} +1 -1
  59. package/lib/{browser/server-entry-dc66de59.js → node/server-entry-13acc156.js} +1 -1
  60. package/lib/node/{server-entry-acf08871.cjs → server-entry-d6f4f920.cjs} +1 -1
  61. package/lib/node/server-entry.cjs +1 -1
  62. package/lib/node/server-entry.mjs +1 -1
  63. package/package.json +3 -2
  64. package/types/blocks/slot/slot.d.ts +2 -2
  65. package/types/constants/sdk-version.d.ts +1 -1
  66. package/lib/edge/blocks-793430a0.cjs +0 -12
  67. package/lib/edge/slot-42b9b358.cjs +0 -1
@@ -1,13 +1,13 @@
1
1
  "use client";
2
- var qe = Object.defineProperty;
3
- var _e = (e, t, n) => t in e ? qe(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
4
- var ne = (e, t, n) => (_e(e, typeof t != "symbol" ? t + "" : t, n), n);
5
- import { jsx as l, Fragment as R, jsxs as V } from "react/jsx-runtime";
6
- import { TARGET as U, isEditing as $, isBrowser as H, getUserAttributes as ze, checkIsDefined as Q, logger as Z, isPreviewing as we, registerInsertMenu as Je, setupBrowserForEditing as Ye, createRegisterComponentMessage as Ge, getDefaultCanTrack as X, _track as he, fetchOneEntry as Re, createEditorListener as Qe, fetch as Xe, serializeIncludingFunctions as ge, handleABTestingSync as Ze } from "./server-entry-dc66de59.js";
7
- import { createContext as Ee, useState as T, useEffect as P, useRef as z, useContext as be, createElement as Be } from "react";
8
- const et = /* @__PURE__ */ new Set(["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen", "link", "meta", "param", "source", "track", "wbr"]), tt = (e) => typeof e == "string" && et.has(e.toLowerCase());
2
+ var _e = Object.defineProperty;
3
+ var ze = (e, t, n) => t in e ? _e(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
4
+ var ne = (e, t, n) => (ze(e, typeof t != "symbol" ? t + "" : t, n), n);
5
+ import { jsx as l, Fragment as E, jsxs as V } from "react/jsx-runtime";
6
+ import { TARGET as U, isEditing as $, isBrowser as H, getUserAttributes as Je, checkIsDefined as Q, logger as Z, isPreviewing as Re, registerInsertMenu as Ye, setupBrowserForEditing as Ge, createRegisterComponentMessage as Qe, getDefaultCanTrack as X, _track as he, fetchOneEntry as Ee, createEditorListener as Xe, fetch as Ze, serializeIncludingFunctions as ge, handleABTestingSync as et } from "./server-entry-13acc156.js";
7
+ import { createContext as Be, useState as T, useEffect as P, useRef as z, useContext as be, createElement as Pe } from "react";
8
+ const tt = /* @__PURE__ */ new Set(["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen", "link", "meta", "param", "source", "track", "wbr"]), nt = (e) => typeof e == "string" && tt.has(e.toLowerCase());
9
9
  function de(e) {
10
- return /* @__PURE__ */ l(R, { children: tt(e.TagName) ? /* @__PURE__ */ l(R, { children: /* @__PURE__ */ l(e.TagName, { ...e.attributes, ...e.actionAttributes }) }) : /* @__PURE__ */ l(R, { children: typeof e.TagName == "string" ? /* @__PURE__ */ l(e.TagName, { ...e.attributes, ...e.actionAttributes, children: e.children }) : /* @__PURE__ */ l(e.TagName, { ...e.attributes, ...e.actionAttributes, children: e.children }) }) });
10
+ return /* @__PURE__ */ l(E, { children: nt(e.TagName) ? /* @__PURE__ */ l(E, { children: /* @__PURE__ */ l(e.TagName, { ...e.attributes, ...e.actionAttributes }) }) : /* @__PURE__ */ l(E, { children: typeof e.TagName == "string" ? /* @__PURE__ */ l(e.TagName, { ...e.attributes, ...e.actionAttributes, children: e.children }) : /* @__PURE__ */ l(e.TagName, { ...e.attributes, ...e.actionAttributes, children: e.children }) }) });
11
11
  }
12
12
  const _ = () => {
13
13
  switch (U) {
@@ -23,7 +23,7 @@ const _ = () => {
23
23
  return "class";
24
24
  }
25
25
  };
26
- function nt(e) {
26
+ function it(e) {
27
27
  function t() {
28
28
  return {
29
29
  ...e.attributes,
@@ -47,7 +47,7 @@ function nt(e) {
47
47
  }
48
48
  );
49
49
  }
50
- const ue = Ee({
50
+ const ue = Be({
51
51
  content: null,
52
52
  context: {},
53
53
  localState: void 0,
@@ -61,21 +61,21 @@ const ue = Ee({
61
61
  BlocksWrapper: "div",
62
62
  BlocksWrapperProps: {},
63
63
  nonce: ""
64
- }), Pe = Ee({ registeredComponents: {} });
65
- function it(e) {
64
+ }), Ve = Be({ registeredComponents: {} });
65
+ function ot(e) {
66
66
  var t;
67
67
  return {
68
68
  ...(t = e.component) == null ? void 0 : t.options,
69
69
  ...e.options
70
70
  };
71
71
  }
72
- function ot(e, ...t) {
72
+ function at(e, ...t) {
73
73
  const n = Object.assign({}, e);
74
74
  for (const i of t)
75
75
  delete n[i];
76
76
  return n;
77
77
  }
78
- const at = ({
78
+ const rt = ({
79
79
  builder: e,
80
80
  context: t,
81
81
  event: n,
@@ -87,12 +87,12 @@ const at = ({
87
87
  builder: e,
88
88
  context: t,
89
89
  event: n
90
- }), rt = () => ({
90
+ }), lt = () => ({
91
91
  isEditing: $(),
92
92
  isBrowser: H(),
93
93
  isServer: !H(),
94
- getUserAttributes: () => ze()
95
- }), lt = (e, {
94
+ getUserAttributes: () => Je()
95
+ }), st = (e, {
96
96
  isExpression: t = !0
97
97
  }) => /* we disable this for cases where we definitely don't want a return */ t && !(e.includes(";") || e.includes(" return ") || e.trim().startsWith("return ")) ? `return (${e});` : e, pe = ({
98
98
  code: e,
@@ -103,11 +103,11 @@ const at = ({
103
103
  rootSetState: a,
104
104
  rootState: r
105
105
  }) => {
106
- const s = at({
106
+ const s = rt({
107
107
  builder: t,
108
108
  context: n,
109
109
  event: i,
110
- state: Ve({
110
+ state: Ae({
111
111
  rootState: r,
112
112
  localState: o,
113
113
  rootSetState: a
@@ -115,7 +115,7 @@ const at = ({
115
115
  });
116
116
  return new Function(...s.map(([d]) => d), e)(...s.map(([, d]) => d));
117
117
  };
118
- function Ve({
118
+ function Ae({
119
119
  rootState: e,
120
120
  localState: t,
121
121
  rootSetState: n
@@ -125,7 +125,7 @@ function Ve({
125
125
  if (t && o in t)
126
126
  return t[o];
127
127
  const a = i[o];
128
- return typeof a == "object" && a !== null ? Ve({
128
+ return typeof a == "object" && a !== null ? Ae({
129
129
  rootState: a,
130
130
  localState: void 0,
131
131
  rootSetState: n ? (r) => {
@@ -140,17 +140,17 @@ function Ve({
140
140
  }
141
141
  });
142
142
  }
143
- function st() {
143
+ function ct() {
144
144
  var e;
145
145
  return typeof process != "undefined" && Q((e = process == null ? void 0 : process.versions) == null ? void 0 : e.node);
146
146
  }
147
- const ct = () => {
147
+ const dt = () => {
148
148
  var i;
149
- if (!st())
149
+ if (!ct())
150
150
  return !1;
151
151
  const e = process.arch === "arm64", t = process.version.startsWith("v20"), n = (i = process.env.NODE_OPTIONS) == null ? void 0 : i.includes("--no-node-snapshot");
152
152
  return e && t && !n ? (Z.log("Skipping usage of `isolated-vm` to avoid crashes in Node v20 on an arm64 machine.\n If you would like to use the `isolated-vm` package on this machine, please provide the `NODE_OPTIONS=--no-node-snapshot` config to your Node process.\n See https://github.com/BuilderIO/builder/blob/main/packages/sdks/README.md#node-v20--m1-macs-apple-silicon-support for more information.\n "), !0) : !1;
153
- }, dt = (e) => (H() || ct(), pe(e)), ut = !0, L = class L {
153
+ }, ut = (e) => (H() || dt(), pe(e)), mt = !0, L = class L {
154
154
  static getCacheKey(t) {
155
155
  return JSON.stringify({
156
156
  ...t,
@@ -183,26 +183,26 @@ function K({
183
183
  if (e === "")
184
184
  return;
185
185
  const d = {
186
- code: lt(e, {
186
+ code: st(e, {
187
187
  isExpression: r
188
188
  }),
189
- builder: rt(),
189
+ builder: lt(),
190
190
  context: t,
191
191
  event: a,
192
192
  rootSetState: o,
193
193
  rootState: i,
194
194
  localState: n
195
195
  };
196
- if (s && !ut) {
197
- const c = j.getCacheKey(d), m = j.getCachedValue(c);
198
- if (m)
199
- return m.value;
196
+ if (s && !mt) {
197
+ const c = j.getCacheKey(d), u = j.getCachedValue(c);
198
+ if (u)
199
+ return u.value;
200
200
  }
201
201
  try {
202
- const c = dt(d);
202
+ const c = ut(d);
203
203
  if (s) {
204
- const m = j.getCacheKey(d);
205
- j.setCachedValue(m, c);
204
+ const u = j.getCacheKey(d);
205
+ j.setCachedValue(u, c);
206
206
  }
207
207
  return c;
208
208
  } catch (c) {
@@ -212,7 +212,7 @@ function K({
212
212
  return;
213
213
  }
214
214
  }
215
- const me = (e) => JSON.parse(JSON.stringify(e)), Ae = (e, t, n) => {
215
+ const me = (e) => JSON.parse(JSON.stringify(e)), Ne = (e, t, n) => {
216
216
  if (Object(e) !== e)
217
217
  return e;
218
218
  const i = Array.isArray(t) ? t : t.toString().match(/[^.[\]]+/g);
@@ -230,8 +230,8 @@ function se(e) {
230
230
  n !== "meta" && Object.prototype.hasOwnProperty.call(e, n) && (t[n] = se(e[n]));
231
231
  return t;
232
232
  }
233
- const mt = ["svelte", "vue", "angular", "qwik", "solid"].includes(U), ft = (e) => {
234
- if (mt) {
233
+ const ft = ["svelte", "vue", "angular", "qwik", "solid"].includes(U), ht = (e) => {
234
+ if (ft) {
235
235
  const t = me(e);
236
236
  return {
237
237
  ...t,
@@ -243,7 +243,7 @@ const mt = ["svelte", "vue", "angular", "qwik", "solid"].includes(U), ft = (e) =
243
243
  }
244
244
  };
245
245
  } else {
246
- const t = se(ot(e, "children", "meta"));
246
+ const t = se(at(e, "children", "meta"));
247
247
  return {
248
248
  ...t,
249
249
  properties: {
@@ -256,7 +256,7 @@ const mt = ["svelte", "vue", "angular", "qwik", "solid"].includes(U), ft = (e) =
256
256
  meta: e.meta
257
257
  };
258
258
  }
259
- }, ht = ({
259
+ }, gt = ({
260
260
  block: e,
261
261
  context: t,
262
262
  localState: n,
@@ -265,7 +265,7 @@ const mt = ["svelte", "vue", "angular", "qwik", "solid"].includes(U), ft = (e) =
265
265
  }) => {
266
266
  if (!e.bindings)
267
267
  return e;
268
- const a = ft(e);
268
+ const a = ht(e);
269
269
  for (const r in e.bindings) {
270
270
  const s = e.bindings[r], d = K({
271
271
  code: s,
@@ -275,11 +275,11 @@ const mt = ["svelte", "vue", "angular", "qwik", "solid"].includes(U), ft = (e) =
275
275
  context: t,
276
276
  enableCache: !0
277
277
  });
278
- Ae(a, r, d);
278
+ Ne(a, r, d);
279
279
  }
280
280
  return a;
281
281
  };
282
- function gt({
282
+ function bt({
283
283
  block: e,
284
284
  context: t,
285
285
  shouldEvaluateBindings: n,
@@ -288,7 +288,7 @@ function gt({
288
288
  rootSetState: a
289
289
  }) {
290
290
  const r = e;
291
- return n ? ht({
291
+ return n ? gt({
292
292
  block: r,
293
293
  localState: i,
294
294
  rootState: o,
@@ -297,7 +297,7 @@ function gt({
297
297
  }) : r;
298
298
  }
299
299
  const ee = (e) => e ? e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase() : "";
300
- function bt(e, t, n = {}) {
300
+ function pt(e, t, n = {}) {
301
301
  let i, o, a, r = null, s = 0;
302
302
  const d = function() {
303
303
  s = n.leading === !1 ? 0 : Date.now(), r = null, a = e.apply(i, o), r || (i = o = null);
@@ -305,8 +305,8 @@ function bt(e, t, n = {}) {
305
305
  return function() {
306
306
  const c = Date.now();
307
307
  !s && n.leading === !1 && (s = c);
308
- const m = t - (c - s);
309
- return i = this, o = arguments, m <= 0 || m > t ? (r && (clearTimeout(r), r = null), s = c, a = e.apply(i, o), r || (i = o = null)) : !r && n.trailing !== !1 && (r = setTimeout(d, m)), a;
308
+ const u = t - (c - s);
309
+ return i = this, o = arguments, u <= 0 || u > t ? (r && (clearTimeout(r), r = null), s = c, a = e.apply(i, o), r || (i = o = null)) : !r && n.trailing !== !1 && (r = setTimeout(d, u)), a;
310
310
  };
311
311
  }
312
312
  function q(e, ...t) {
@@ -319,55 +319,55 @@ function q(e, ...t) {
319
319
  }
320
320
  return n;
321
321
  }
322
- function pt(e) {
322
+ function yt(e) {
323
323
  for (const t of e)
324
324
  switch (t.trigger) {
325
325
  case "pageLoad":
326
- Fe(t);
326
+ $e(t);
327
327
  break;
328
328
  case "scrollInView":
329
- xt(t);
329
+ vt(t);
330
330
  break;
331
331
  }
332
332
  }
333
- function Ne(e) {
333
+ function We(e) {
334
334
  console.warn(`Cannot animate element: element with ID ${e} not found!`);
335
335
  }
336
- function We(e, t) {
337
- const n = yt(e), i = getComputedStyle(t), o = e.steps[0].styles, a = e.steps[e.steps.length - 1].styles, r = [o, a];
336
+ function Fe(e, t) {
337
+ const n = xt(e), i = getComputedStyle(t), o = e.steps[0].styles, a = e.steps[e.steps.length - 1].styles, r = [o, a];
338
338
  for (const s of r)
339
339
  for (const d of n)
340
340
  d in s || (s[d] = i[d]);
341
341
  }
342
- function yt(e) {
342
+ function xt(e) {
343
343
  const t = [];
344
344
  for (const n of e.steps)
345
345
  for (const i in n.styles)
346
346
  t.indexOf(i) === -1 && t.push(i);
347
347
  return t;
348
348
  }
349
- function Fe(e) {
349
+ function $e(e) {
350
350
  const t = Array.prototype.slice.call(document.getElementsByClassName(e.elementId || e.id || ""));
351
351
  if (!t.length) {
352
- Ne(e.elementId || e.id || "");
352
+ We(e.elementId || e.id || "");
353
353
  return;
354
354
  }
355
355
  Array.from(t).forEach((n) => {
356
- We(e, n), n.style.transition = "none", n.style.transitionDelay = "0", q(n.style, e.steps[0].styles), setTimeout(() => {
356
+ Fe(e, n), n.style.transition = "none", n.style.transitionDelay = "0", q(n.style, e.steps[0].styles), setTimeout(() => {
357
357
  n.style.transition = `all ${e.duration}s ${ee(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s"), q(n.style, e.steps[1].styles), setTimeout(() => {
358
358
  n.style.transition = "", n.style.transitionDelay = "";
359
359
  }, (e.delay || 0) * 1e3 + e.duration * 1e3 + 100);
360
360
  });
361
361
  });
362
362
  }
363
- function xt(e) {
363
+ function vt(e) {
364
364
  const t = Array.prototype.slice.call(document.getElementsByClassName(e.elementId || e.id || ""));
365
365
  if (!t.length) {
366
- Ne(e.elementId || e.id || "");
366
+ We(e.elementId || e.id || "");
367
367
  return;
368
368
  }
369
369
  Array.from(t).forEach((n) => {
370
- We(e, n);
370
+ Fe(e, n);
371
371
  let i = !1, o = !1;
372
372
  function a() {
373
373
  !i && s(n) ? (i = !0, o = !0, setTimeout(() => {
@@ -376,12 +376,12 @@ function xt(e) {
376
376
  }, (e.duration + (e.delay || 0)) * 1e3 + 100);
377
377
  })) : e.repeat && i && !o && !s(n) && (i = !1, q(n.style, e.steps[0].styles));
378
378
  }
379
- const r = bt(a, 200, {
379
+ const r = pt(a, 200, {
380
380
  leading: !1
381
381
  });
382
- function s(m) {
383
- const h = m.getBoundingClientRect(), f = window.innerHeight, g = (e.thresholdPercent || 0) / 100 * f;
384
- return h.bottom > g && h.top < f - g;
382
+ function s(u) {
383
+ const g = u.getBoundingClientRect(), m = window.innerHeight, h = (e.thresholdPercent || 0) / 100 * m;
384
+ return g.bottom > h && g.top < m - h;
385
385
  }
386
386
  const d = e.steps[0].styles;
387
387
  function c() {
@@ -395,42 +395,42 @@ function xt(e) {
395
395
  }), a();
396
396
  });
397
397
  }
398
- const $e = (e) => Object.entries(e).map(([n, i]) => {
398
+ const De = (e) => Object.entries(e).map(([n, i]) => {
399
399
  if (typeof i == "string")
400
400
  return `${ee(n)}: ${i};`;
401
- }).filter(Q), vt = (e) => $e(e).join(`
401
+ }).filter(Q), St = (e) => De(e).join(`
402
402
  `), Y = ({
403
403
  mediaQuery: e,
404
404
  className: t,
405
405
  styles: n
406
406
  }) => {
407
407
  const i = `.${t} {
408
- ${vt(n)}
408
+ ${St(n)}
409
409
  }`;
410
410
  return e ? `${e} {
411
411
  ${i}
412
412
  }` : i;
413
413
  };
414
- function St({
414
+ function kt({
415
415
  style: e
416
416
  }) {
417
417
  return e;
418
418
  }
419
- const kt = ({
419
+ const Ct = ({
420
420
  block: e,
421
421
  context: t
422
- }) => De(St({
422
+ }) => Le(kt({
423
423
  style: e.style || {},
424
424
  context: t,
425
425
  block: e
426
426
  }));
427
- function De(e) {
427
+ function Le(e) {
428
428
  switch (U) {
429
429
  case "svelte":
430
430
  case "vue":
431
431
  case "solid":
432
432
  case "angular":
433
- return $e(e).join(" ");
433
+ return De(e).join(" ");
434
434
  case "qwik":
435
435
  case "reactNative":
436
436
  case "react":
@@ -438,7 +438,7 @@ function De(e) {
438
438
  return e;
439
439
  }
440
440
  }
441
- const Ct = ({
441
+ const Tt = ({
442
442
  block: e,
443
443
  registeredComponents: t
444
444
  }) => {
@@ -452,7 +452,7 @@ const Ct = ({
452
452
  console.warn(`
453
453
  Could not find a registered component named "${n}".
454
454
  If you registered it, is the file that registered it imported by the file that needs to render it?`);
455
- }, Tt = ({
455
+ }, It = ({
456
456
  block: e,
457
457
  context: t
458
458
  }) => {
@@ -486,27 +486,27 @@ const Ct = ({
486
486
  },
487
487
  block: i
488
488
  }));
489
- }, It = (e, t) => {
489
+ }, wt = (e, t) => {
490
490
  var n;
491
491
  return (n = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && n.builderLinkComponent ? {
492
492
  builderLinkComponent: t
493
493
  } : {};
494
- }, wt = (e, t) => {
494
+ }, Rt = (e, t) => {
495
495
  var n;
496
496
  return (n = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && n.builderComponents ? {
497
497
  builderComponents: t
498
498
  } : {};
499
- }, Rt = (e, t) => {
499
+ }, Et = (e, t) => {
500
500
  var n;
501
501
  return (n = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && n.builderBlock ? {
502
502
  builderBlock: t
503
503
  } : {};
504
- }, Et = (e, t) => {
504
+ }, Bt = (e, t) => {
505
505
  var n;
506
506
  return (n = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && n.builderContext ? {
507
507
  builderContext: t
508
508
  } : {};
509
- }, Le = {
509
+ }, Oe = {
510
510
  small: {
511
511
  min: 320,
512
512
  default: 321,
@@ -522,11 +522,11 @@ const Ct = ({
522
522
  default: 991,
523
523
  max: 1200
524
524
  }
525
- }, ye = (e, t = Le) => `@media (max-width: ${t[e].max}px)`, Oe = ({
525
+ }, ye = (e, t = Oe) => `@media (max-width: ${t[e].max}px)`, Ue = ({
526
526
  small: e,
527
527
  medium: t
528
528
  }) => {
529
- const n = me(Le);
529
+ const n = me(Oe);
530
530
  if (!e || !t)
531
531
  return n;
532
532
  const i = Math.floor(e / 2);
@@ -559,58 +559,58 @@ function te(e) {
559
559
  }
560
560
  );
561
561
  }
562
- function Bt(e) {
562
+ function Pt(e) {
563
563
  function t() {
564
564
  const i = e.block;
565
565
  return Q(i.hide) ? !i.hide : Q(i.show) ? i.show : !0;
566
566
  }
567
567
  function n() {
568
- var b, B, E;
569
- const i = e.block, o = i.responsiveStyles, a = e.context.content, r = Oe(
570
- ((b = a == null ? void 0 : a.meta) == null ? void 0 : b.breakpoints) || {}
571
- ), s = o == null ? void 0 : o.large, d = o == null ? void 0 : o.medium, c = o == null ? void 0 : o.small, m = i.id;
572
- if (!m)
568
+ var f, w, B;
569
+ const i = e.block, o = i.responsiveStyles, a = e.context.content, r = Ue(
570
+ ((f = a == null ? void 0 : a.meta) == null ? void 0 : f.breakpoints) || {}
571
+ ), s = o == null ? void 0 : o.large, d = o == null ? void 0 : o.medium, c = o == null ? void 0 : o.small, u = i.id;
572
+ if (!u)
573
573
  return "";
574
- const h = s ? Y({
575
- className: m,
574
+ const g = s ? Y({
575
+ className: u,
576
576
  styles: s
577
- }) : "", f = d ? Y({
578
- className: m,
577
+ }) : "", m = d ? Y({
578
+ className: u,
579
579
  styles: d,
580
580
  mediaQuery: ye(
581
581
  "medium",
582
582
  r
583
583
  )
584
- }) : "", u = c ? Y({
585
- className: m,
584
+ }) : "", x = c ? Y({
585
+ className: u,
586
586
  styles: c,
587
587
  mediaQuery: ye(
588
588
  "small",
589
589
  r
590
590
  )
591
- }) : "", g = i.animations && i.animations.find((A) => A.trigger === "hover");
592
- let x = "";
593
- if (g) {
594
- const A = ((E = (B = g.steps) == null ? void 0 : B[1]) == null ? void 0 : E.styles) || {};
595
- x = Y({
596
- className: `${m}:hover`,
591
+ }) : "", h = i.animations && i.animations.find((A) => A.trigger === "hover");
592
+ let p = "";
593
+ if (h) {
594
+ const A = ((B = (w = h.steps) == null ? void 0 : w[1]) == null ? void 0 : B.styles) || {};
595
+ p = Y({
596
+ className: `${u}:hover`,
597
597
  styles: {
598
598
  ...A,
599
- transition: `all ${g.duration}s ${ee(
600
- g.easing
599
+ transition: `all ${h.duration}s ${ee(
600
+ h.easing
601
601
  )}`,
602
- transitionDelay: g.delay ? `${g.delay}s` : "0s"
602
+ transitionDelay: h.delay ? `${h.delay}s` : "0s"
603
603
  }
604
604
  }) || "";
605
605
  }
606
606
  return [
607
- h,
608
- f,
609
- u,
610
- x
607
+ g,
608
+ m,
609
+ x,
610
+ p
611
611
  ].join(" ");
612
612
  }
613
- return /* @__PURE__ */ l(R, { children: n() && t() ? /* @__PURE__ */ l(R, { children: /* @__PURE__ */ l(
613
+ return /* @__PURE__ */ l(E, { children: n() && t() ? /* @__PURE__ */ l(E, { children: /* @__PURE__ */ l(
614
614
  te,
615
615
  {
616
616
  id: "builderio-block",
@@ -619,10 +619,10 @@ function Bt(e) {
619
619
  }
620
620
  ) }) : null });
621
621
  }
622
- function Pt(e) {
622
+ function Vt(e) {
623
623
  return e.charAt(0).toUpperCase() + e.slice(1);
624
624
  }
625
- const Vt = (e) => `on${Pt(e)}`, At = (e, t) => (n) => K({
625
+ const At = (e) => `on${Vt(e)}`, Nt = (e, t) => (n) => K({
626
626
  code: e,
627
627
  context: t.context,
628
628
  localState: t.localState,
@@ -632,14 +632,14 @@ const Vt = (e) => `on${Pt(e)}`, At = (e, t) => (n) => K({
632
632
  isExpression: !1,
633
633
  enableCache: !0
634
634
  });
635
- function Ue(e) {
635
+ function Me(e) {
636
636
  var i;
637
637
  const t = {}, n = (i = e.block.actions) != null ? i : {};
638
638
  for (const o in n) {
639
639
  if (!n.hasOwnProperty(o))
640
640
  continue;
641
641
  const a = n[o];
642
- let r = Vt(o);
642
+ let r = At(o);
643
643
  if (e.stripPrefix)
644
644
  switch (U) {
645
645
  case "vue":
@@ -649,16 +649,16 @@ function Ue(e) {
649
649
  r = r.replace("on:", "");
650
650
  break;
651
651
  }
652
- t[r] = At(a, e);
652
+ t[r] = Nt(a, e);
653
653
  }
654
654
  return t;
655
655
  }
656
- function Nt({
656
+ function Wt({
657
657
  properties: e
658
658
  }) {
659
659
  return e;
660
660
  }
661
- const Wt = (e) => ({
661
+ const Ft = (e) => ({
662
662
  href: e.href
663
663
  });
664
664
  function fe({
@@ -667,22 +667,22 @@ function fe({
667
667
  }) {
668
668
  var i;
669
669
  const n = {
670
- ...Wt(e),
670
+ ...Ft(e),
671
671
  ...e.properties,
672
672
  "builder-id": e.id,
673
- style: kt({
673
+ style: Ct({
674
674
  block: e,
675
675
  context: t
676
676
  }),
677
677
  [_()]: [e.id, "builder-block", e.class, (i = e.properties) == null ? void 0 : i.class].filter(Boolean).join(" ")
678
678
  };
679
- return Nt({
679
+ return Wt({
680
680
  properties: n,
681
681
  context: t,
682
682
  block: e
683
683
  });
684
684
  }
685
- function Ft(e) {
685
+ function $t(e) {
686
686
  return /* @__PURE__ */ l(
687
687
  de,
688
688
  {
@@ -691,7 +691,7 @@ function Ft(e) {
691
691
  block: e.block,
692
692
  context: e.context
693
693
  }),
694
- actionAttributes: Ue({
694
+ actionAttributes: Me({
695
695
  block: e.block,
696
696
  rootState: e.context.rootState,
697
697
  rootSetState: e.context.rootSetState,
@@ -703,14 +703,14 @@ function Ft(e) {
703
703
  }
704
704
  );
705
705
  }
706
- function $t(e) {
706
+ function Dt(e) {
707
707
  function t() {
708
708
  return e.includeBlockProps ? {
709
709
  ...fe({
710
710
  block: e.block,
711
711
  context: e.context
712
712
  }),
713
- ...Ue({
713
+ ...Me({
714
714
  block: e.block,
715
715
  rootState: e.context.rootState,
716
716
  rootSetState: e.context.rootSetState,
@@ -721,7 +721,7 @@ function $t(e) {
721
721
  }
722
722
  return /* @__PURE__ */ l(e.Wrapper, { ...e.wrapperProps, attributes: t(), children: e.children });
723
723
  }
724
- const Dt = ({
724
+ const Lt = ({
725
725
  componentOptions: e,
726
726
  builderBlock: t,
727
727
  context: n,
@@ -754,12 +754,12 @@ const Dt = ({
754
754
  function xe(e) {
755
755
  var i;
756
756
  const [t, n] = T(
757
- () => e.isInteractive ? $t : e.componentRef
757
+ () => e.isInteractive ? Dt : e.componentRef
758
758
  );
759
- return /* @__PURE__ */ l(R, { children: e.componentRef ? /* @__PURE__ */ l(R, { children: /* @__PURE__ */ l(
759
+ return /* @__PURE__ */ l(E, { children: e.componentRef ? /* @__PURE__ */ l(E, { children: /* @__PURE__ */ l(
760
760
  t,
761
761
  {
762
- ...Dt({
762
+ ...Lt({
763
763
  componentOptions: e.componentOptions,
764
764
  builderBlock: e.builderBlock,
765
765
  context: e.context,
@@ -782,7 +782,7 @@ function xe(e) {
782
782
  }
783
783
  ) }) : null });
784
784
  }
785
- function Lt(e) {
785
+ function ve(e) {
786
786
  const [t, n] = T(() => e.repeatContext);
787
787
  return /* @__PURE__ */ l(ue.Provider, { value: t, children: /* @__PURE__ */ l(
788
788
  J,
@@ -795,9 +795,9 @@ function Lt(e) {
795
795
  ) });
796
796
  }
797
797
  function J(e) {
798
- var m, h, f;
798
+ var u, g, m, x;
799
799
  function t() {
800
- return Tt({
800
+ return It({
801
801
  block: e.block,
802
802
  context: e.context
803
803
  });
@@ -807,10 +807,10 @@ function J(e) {
807
807
  update: !1
808
808
  }));
809
809
  function o() {
810
- var g;
811
- if (n.value && !n.update && !we())
810
+ var p;
811
+ if (n.value && !n.update && !Re())
812
812
  return n.value;
813
- const u = (g = e.block.repeat) != null && g.collection ? e.block : gt({
813
+ const h = (p = e.block.repeat) != null && p.collection ? e.block : bt({
814
814
  block: e.block,
815
815
  localState: e.context.localState,
816
816
  rootState: e.context.rootState,
@@ -818,40 +818,40 @@ function J(e) {
818
818
  context: e.context.context,
819
819
  shouldEvaluateBindings: !0
820
820
  });
821
- return n.value = u, n.update = !1, u;
821
+ return n.value = h, n.update = !1, h;
822
822
  }
823
823
  function a() {
824
- return Ct({
824
+ return Tt({
825
825
  block: o(),
826
826
  registeredComponents: e.registeredComponents
827
827
  });
828
828
  }
829
829
  function r() {
830
- var g;
831
- return e.block.tagName === "a" || ((g = o().properties) == null ? void 0 : g.href) || o().href ? e.linkComponent || "a" : e.block.tagName || "div";
830
+ var p;
831
+ return e.block.tagName === "a" || ((p = o().properties) == null ? void 0 : p.href) || o().href ? e.linkComponent || "a" : e.block.tagName || "div";
832
832
  }
833
833
  function s() {
834
- var x, b;
835
- if ((x = e.block.repeat) != null && x.collection)
836
- return !!((b = t == null ? void 0 : t()) != null && b.length);
837
- const u = "hide" in o() ? o().hide : !1;
838
- return ("show" in o() ? o().show : !0) && !u;
834
+ var f, w;
835
+ if ((f = e.block.repeat) != null && f.collection)
836
+ return !!((w = t == null ? void 0 : t()) != null && w.length);
837
+ const h = "hide" in o() ? o().hide : !1;
838
+ return ("show" in o() ? o().show : !0) && !h;
839
839
  }
840
840
  function d() {
841
- var g, x;
842
- return !((g = a == null ? void 0 : a()) != null && g.component) && !t() ? (x = o().children) != null ? x : [] : [];
841
+ var p, f;
842
+ return !((p = a == null ? void 0 : a()) != null && p.component) && !t() ? (f = o().children) != null ? f : [] : [];
843
843
  }
844
844
  function c() {
845
- var u, g, x, b;
845
+ var h, p, f, w;
846
846
  return {
847
- blockChildren: (u = o().children) != null ? u : [],
848
- componentRef: (g = a == null ? void 0 : a()) == null ? void 0 : g.component,
847
+ blockChildren: (h = o().children) != null ? h : [],
848
+ componentRef: (p = a == null ? void 0 : a()) == null ? void 0 : p.component,
849
849
  componentOptions: {
850
- ...it(o()),
851
- ...Rt(a(), o()),
852
- ...Et(a(), e.context),
853
- ...It(a(), e.linkComponent),
854
- ...wt(
850
+ ...ot(o()),
851
+ ...Et(a(), o()),
852
+ ...Bt(a(), e.context),
853
+ ...wt(a(), e.linkComponent),
854
+ ...Rt(
855
855
  a(),
856
856
  e.registeredComponents
857
857
  )
@@ -860,23 +860,32 @@ function J(e) {
860
860
  linkComponent: e.linkComponent,
861
861
  registeredComponents: e.registeredComponents,
862
862
  builderBlock: o(),
863
- includeBlockProps: ((x = a == null ? void 0 : a()) == null ? void 0 : x.noWrap) === !0,
864
- isInteractive: !((b = a == null ? void 0 : a()) != null && b.isRSC && U === "rsc")
863
+ includeBlockProps: ((f = a == null ? void 0 : a()) == null ? void 0 : f.noWrap) === !0,
864
+ isInteractive: !((w = a == null ? void 0 : a()) != null && w.isRSC && U === "rsc")
865
865
  };
866
866
  }
867
867
  return P(() => {
868
- const u = o().id, g = o().animations;
869
- g && u && pt(
870
- g.map((x) => ({
871
- ...x,
872
- elementId: u
868
+ const h = o().id, p = o().animations;
869
+ p && h && yt(
870
+ p.map((f) => ({
871
+ ...f,
872
+ elementId: h
873
873
  }))
874
874
  );
875
875
  }, []), P(() => {
876
876
  n.update = !0;
877
- }), /* @__PURE__ */ l(R, { children: s() ? /* @__PURE__ */ V(R, { children: [
878
- /* @__PURE__ */ l(Bt, { block: o(), context: e.context }),
879
- (m = a == null ? void 0 : a()) != null && m.noWrap ? /* @__PURE__ */ l(R, { children: /* @__PURE__ */ l(
877
+ }), /* @__PURE__ */ l(E, { children: s() ? /* @__PURE__ */ V(E, { children: [
878
+ /* @__PURE__ */ l(Pt, { block: o(), context: e.context }),
879
+ (u = a == null ? void 0 : a()) != null && u.noWrap ? t() ? /* @__PURE__ */ l(E, { children: (x = t()) == null ? void 0 : x.map((h, p) => /* @__PURE__ */ l(
880
+ ve,
881
+ {
882
+ repeatContext: h.context,
883
+ block: h.block,
884
+ registeredComponents: e.registeredComponents,
885
+ linkComponent: e.linkComponent
886
+ },
887
+ p
888
+ )) }) : /* @__PURE__ */ l(
880
889
  xe,
881
890
  {
882
891
  componentRef: c().componentRef,
@@ -889,17 +898,17 @@ function J(e) {
889
898
  includeBlockProps: c().includeBlockProps,
890
899
  isInteractive: c().isInteractive
891
900
  }
892
- ) }) : /* @__PURE__ */ l(R, { children: t() ? /* @__PURE__ */ l(R, { children: (f = t()) == null ? void 0 : f.map((u, g) => /* @__PURE__ */ l(
893
- Lt,
901
+ ) : /* @__PURE__ */ l(E, { children: t() ? /* @__PURE__ */ l(E, { children: (m = t()) == null ? void 0 : m.map((h, p) => /* @__PURE__ */ l(
902
+ ve,
894
903
  {
895
- repeatContext: u.context,
896
- block: u.block,
904
+ repeatContext: h.context,
905
+ block: h.block,
897
906
  registeredComponents: e.registeredComponents,
898
907
  linkComponent: e.linkComponent
899
908
  },
900
- g
909
+ p
901
910
  )) }) : /* @__PURE__ */ V(
902
- Ft,
911
+ $t,
903
912
  {
904
913
  Wrapper: r(),
905
914
  block: o(),
@@ -919,15 +928,15 @@ function J(e) {
919
928
  isInteractive: c().isInteractive
920
929
  }
921
930
  ),
922
- (h = d()) == null ? void 0 : h.map((u) => /* @__PURE__ */ l(
931
+ (g = d()) == null ? void 0 : g.map((h) => /* @__PURE__ */ l(
923
932
  J,
924
933
  {
925
- block: u,
934
+ block: h,
926
935
  registeredComponents: e.registeredComponents,
927
936
  linkComponent: e.linkComponent,
928
937
  context: e.context
929
938
  },
930
- u.id
939
+ h.id
931
940
  ))
932
941
  ]
933
942
  }
@@ -967,7 +976,7 @@ function Ot(e) {
967
976
  ));
968
977
  }
969
978
  return P(() => {
970
- }, []), /* @__PURE__ */ V(R, { children: [
979
+ }, []), /* @__PURE__ */ V(E, { children: [
971
980
  /* @__PURE__ */ l(
972
981
  e.BlocksWrapper,
973
982
  {
@@ -992,7 +1001,7 @@ function Ot(e) {
992
1001
  }
993
1002
  function D(e) {
994
1003
  var i, o, a;
995
- const t = be(ue), n = be(Pe);
1004
+ const t = be(ue), n = be(Ve);
996
1005
  return /* @__PURE__ */ l(
997
1006
  Ot,
998
1007
  {
@@ -1002,7 +1011,7 @@ function D(e) {
1002
1011
  styleProp: e.styleProp,
1003
1012
  BlocksWrapper: ((i = e.context) == null ? void 0 : i.BlocksWrapper) || t.BlocksWrapper,
1004
1013
  BlocksWrapperProps: ((o = e.context) == null ? void 0 : o.BlocksWrapperProps) || t.BlocksWrapperProps,
1005
- children: e.blocks ? /* @__PURE__ */ l(R, { children: (a = e.blocks) == null ? void 0 : a.map((r) => /* @__PURE__ */ l(
1014
+ children: e.blocks ? /* @__PURE__ */ l(E, { children: (a = e.blocks) == null ? void 0 : a.map((r) => /* @__PURE__ */ l(
1006
1015
  J,
1007
1016
  {
1008
1017
  block: r,
@@ -1027,39 +1036,39 @@ function Mt(e) {
1027
1036
  return v.link ? e.builderLinkComponent || "a" : "div";
1028
1037
  }
1029
1038
  function d(v) {
1030
- var w;
1031
- return ((w = i[v]) == null ? void 0 : w.width) || 100 / i.length;
1039
+ var R;
1040
+ return ((R = i[v]) == null ? void 0 : R.width) || 100 / i.length;
1032
1041
  }
1033
1042
  function c(v) {
1034
- const w = d(v), N = t * (i.length - 1) * (w / 100);
1035
- return `calc(${w}% - ${N}px)`;
1043
+ const R = d(v), N = t * (i.length - 1) * (R / 100);
1044
+ return `calc(${R}% - ${N}px)`;
1036
1045
  }
1037
- function m({
1046
+ function u({
1038
1047
  stackedStyle: v,
1039
- desktopStyle: w
1048
+ desktopStyle: R
1040
1049
  }) {
1041
- return a === "tablet" ? v : w;
1050
+ return a === "tablet" ? v : R;
1042
1051
  }
1043
- function h({
1052
+ function g({
1044
1053
  stackedStyle: v,
1045
- desktopStyle: w
1054
+ desktopStyle: R
1046
1055
  }) {
1047
- return a === "never" ? w : v;
1056
+ return a === "never" ? R : v;
1048
1057
  }
1049
- const [f, u] = T(
1058
+ const [m, x] = T(
1050
1059
  () => e.stackColumnsAt === "never" ? "row" : e.reverseColumnsWhenStacked ? "column-reverse" : "column"
1051
1060
  );
1052
- function g() {
1061
+ function h() {
1053
1062
  return {
1054
- "--flex-dir": f,
1055
- "--flex-dir-tablet": m({
1056
- stackedStyle: f,
1063
+ "--flex-dir": m,
1064
+ "--flex-dir-tablet": u({
1065
+ stackedStyle: m,
1057
1066
  desktopStyle: "row"
1058
1067
  })
1059
1068
  };
1060
1069
  }
1061
- function x(v) {
1062
- const w = v === 0 ? 0 : t, N = c(v), y = `${w}px`, p = "100%", S = 0;
1070
+ function p(v) {
1071
+ const R = v === 0 ? 0 : t, N = c(v), y = `${R}px`, b = "100%", S = 0;
1063
1072
  return {
1064
1073
  ...{
1065
1074
  display: "flex",
@@ -1068,34 +1077,34 @@ function Mt(e) {
1068
1077
  },
1069
1078
  width: N,
1070
1079
  ["marginLeft"]: y,
1071
- "--column-width-mobile": h({
1072
- stackedStyle: p,
1080
+ "--column-width-mobile": g({
1081
+ stackedStyle: b,
1073
1082
  desktopStyle: N
1074
1083
  }),
1075
- "--column-margin-left-mobile": h({
1084
+ "--column-margin-left-mobile": g({
1076
1085
  stackedStyle: S,
1077
1086
  desktopStyle: y
1078
1087
  }),
1079
- "--column-width-tablet": m({
1080
- stackedStyle: p,
1088
+ "--column-width-tablet": u({
1089
+ stackedStyle: b,
1081
1090
  desktopStyle: N
1082
1091
  }),
1083
- "--column-margin-left-tablet": m({
1092
+ "--column-margin-left-tablet": u({
1084
1093
  stackedStyle: S,
1085
1094
  desktopStyle: y
1086
1095
  })
1087
1096
  };
1088
1097
  }
1089
- function b(v) {
1098
+ function f(v) {
1090
1099
  var N, y;
1091
- return Oe(
1100
+ return Ue(
1092
1101
  ((y = (N = e.builderContext.content) == null ? void 0 : N.meta) == null ? void 0 : y.breakpoints) || {}
1093
1102
  )[v].max;
1094
1103
  }
1095
- function B() {
1104
+ function w() {
1096
1105
  const v = `.${e.builderBlock.id}-breakpoints > .builder-column`;
1097
1106
  return `
1098
- @media (max-width: ${b("medium")}px) {
1107
+ @media (max-width: ${f("medium")}px) {
1099
1108
  .${e.builderBlock.id}-breakpoints {
1100
1109
  flex-direction: var(--flex-dir-tablet);
1101
1110
  align-items: stretch;
@@ -1107,7 +1116,7 @@ function Mt(e) {
1107
1116
  }
1108
1117
  }
1109
1118
 
1110
- @media (max-width: ${b("small")}px) {
1119
+ @media (max-width: ${f("small")}px) {
1111
1120
  .${e.builderBlock.id}-breakpoints {
1112
1121
  flex-direction: var(--flex-dir);
1113
1122
  align-items: stretch;
@@ -1120,40 +1129,40 @@ function Mt(e) {
1120
1129
  },
1121
1130
  `;
1122
1131
  }
1123
- function E(v, w) {
1132
+ function B(v, R) {
1124
1133
  return {
1125
1134
  ...v.link ? {
1126
1135
  href: v.link
1127
1136
  } : {},
1128
1137
  [_()]: "builder-column",
1129
- style: De(x(w))
1138
+ style: Le(p(R))
1130
1139
  };
1131
1140
  }
1132
- return /* @__PURE__ */ V(R, { children: [
1141
+ return /* @__PURE__ */ V(E, { children: [
1133
1142
  /* @__PURE__ */ V(
1134
1143
  "div",
1135
1144
  {
1136
1145
  className: Ut((A = e.builderBlock) == null ? void 0 : A.id) + " div-34f576bb",
1137
- style: g(),
1146
+ style: h(),
1138
1147
  children: [
1139
1148
  /* @__PURE__ */ l(
1140
1149
  te,
1141
1150
  {
1142
1151
  id: "builderio-columns",
1143
- styles: B(),
1152
+ styles: w(),
1144
1153
  nonce: e.builderContext.nonce
1145
1154
  }
1146
1155
  ),
1147
- (O = e.columns) == null ? void 0 : O.map((v, w) => /* @__PURE__ */ l(
1156
+ (O = e.columns) == null ? void 0 : O.map((v, R) => /* @__PURE__ */ l(
1148
1157
  de,
1149
1158
  {
1150
1159
  TagName: s(v),
1151
1160
  actionAttributes: {},
1152
- attributes: E(v, w),
1161
+ attributes: B(v, R),
1153
1162
  children: /* @__PURE__ */ l(
1154
1163
  D,
1155
1164
  {
1156
- path: `component.options.columns.${w}.blocks`,
1165
+ path: `component.options.columns.${R}.blocks`,
1157
1166
  parent: e.builderBlock.id,
1158
1167
  styleProp: {
1159
1168
  flexGrow: "1"
@@ -1165,7 +1174,7 @@ function Mt(e) {
1165
1174
  }
1166
1175
  )
1167
1176
  },
1168
- w
1177
+ R
1169
1178
  ))
1170
1179
  ]
1171
1180
  }
@@ -1179,7 +1188,7 @@ function Mt(e) {
1179
1188
  function jt(e) {
1180
1189
  return /* @__PURE__ */ l("span", { children: e.children });
1181
1190
  }
1182
- function ve(e) {
1191
+ function Se(e) {
1183
1192
  return e.replace(/http(s)?:/, "");
1184
1193
  }
1185
1194
  function Ht(e = "", t, n) {
@@ -1190,11 +1199,11 @@ function Kt(e, t) {
1190
1199
  if (!e || !(e != null && e.match(/cdn\.shopify\.com/)) || !t)
1191
1200
  return e;
1192
1201
  if (t === "master")
1193
- return ve(e);
1202
+ return Se(e);
1194
1203
  const n = e.match(/(_\d+x(\d+)?)?(\.(jpg|jpeg|gif|png|bmp|bitmap|tiff|tif)(\?v=\d+)?)/i);
1195
1204
  if (n) {
1196
1205
  const i = e.split(n[0]), o = n[3], a = t.match("x") ? t : `${t}x`;
1197
- return ve(`${i[0]}_${a}${o}`);
1206
+ return Se(`${i[0]}_${a}${o}`);
1198
1207
  }
1199
1208
  return null;
1200
1209
  }
@@ -1212,38 +1221,38 @@ function ie(e) {
1212
1221
  function qt(e) {
1213
1222
  var o, a, r, s, d, c;
1214
1223
  function t() {
1215
- var f;
1216
- const h = e.image || e.src;
1217
- if (!h || // We can auto add srcset for cdn.builder.io and shopify
1224
+ var m;
1225
+ const g = e.image || e.src;
1226
+ if (!g || // We can auto add srcset for cdn.builder.io and shopify
1218
1227
  // images, otherwise you can supply this prop manually
1219
- !(h.match(/builder\.io/) || h.match(/cdn\.shopify\.com/)))
1228
+ !(g.match(/builder\.io/) || g.match(/cdn\.shopify\.com/)))
1220
1229
  return e.srcset;
1221
1230
  if (!e.noWebp) {
1222
- if (e.srcset && ((f = e.image) != null && f.includes("builder.io/api/v1/image"))) {
1231
+ if (e.srcset && ((m = e.image) != null && m.includes("builder.io/api/v1/image"))) {
1223
1232
  if (!e.srcset.includes(e.image.split("?")[0]))
1224
- return console.debug("Removed given srcset"), ie(h);
1233
+ return console.debug("Removed given srcset"), ie(g);
1225
1234
  } else if (e.image && !e.srcset)
1226
- return ie(h);
1227
- return ie(h);
1235
+ return ie(g);
1236
+ return ie(g);
1228
1237
  }
1229
1238
  }
1230
1239
  function n() {
1231
- var m;
1232
- return (m = t == null ? void 0 : t()) != null && m.match(/builder\.io/) && !e.noWebp ? t().replace(/\?/g, "?format=webp&") : "";
1240
+ var u;
1241
+ return (u = t == null ? void 0 : t()) != null && u.match(/builder\.io/) && !e.noWebp ? t().replace(/\?/g, "?format=webp&") : "";
1233
1242
  }
1234
1243
  function i() {
1235
- const m = {
1244
+ const u = {
1236
1245
  position: "absolute",
1237
1246
  height: "100%",
1238
1247
  width: "100%",
1239
1248
  left: "0px",
1240
1249
  top: "0px"
1241
1250
  };
1242
- return e.aspectRatio ? m : void 0;
1251
+ return e.aspectRatio ? u : void 0;
1243
1252
  }
1244
1253
  return P(() => {
1245
- }, []), /* @__PURE__ */ V(R, { children: [
1246
- /* @__PURE__ */ V(R, { children: [
1254
+ }, []), /* @__PURE__ */ V(E, { children: [
1255
+ /* @__PURE__ */ V(E, { children: [
1247
1256
  /* @__PURE__ */ V("picture", { children: [
1248
1257
  n() ? /* @__PURE__ */ l("source", { type: "image/webp", srcSet: n() }) : null,
1249
1258
  /* @__PURE__ */ l(
@@ -1274,7 +1283,7 @@ function qt(e) {
1274
1283
  }
1275
1284
  }
1276
1285
  ) : null,
1277
- (s = (r = e.builderBlock) == null ? void 0 : r.children) != null && s.length && e.fitContent ? /* @__PURE__ */ l(R, { children: e.children }) : null,
1286
+ (s = (r = e.builderBlock) == null ? void 0 : r.children) != null && s.length && e.fitContent ? /* @__PURE__ */ l(E, { children: e.children }) : null,
1278
1287
  !e.fitContent && ((c = (d = e.builderBlock) == null ? void 0 : d.children) != null && c.length) ? /* @__PURE__ */ l("div", { className: "div-2d6925f2-2", children: e.children }) : null
1279
1288
  ] }),
1280
1289
  /* @__PURE__ */ l("style", { children: `.img-2d6925f2 {
@@ -1441,9 +1450,9 @@ const oe = {
1441
1450
  builderComponents: !0,
1442
1451
  builderLinkComponent: !0
1443
1452
  }
1444
- }, Se = (e) => e.toString();
1453
+ }, ke = (e) => e.toString();
1445
1454
  function Jt(e) {
1446
- var h;
1455
+ var g;
1447
1456
  const [t, n] = T(() => []);
1448
1457
  function i() {
1449
1458
  return !!(e.grid || e.oneAtATime);
@@ -1461,7 +1470,7 @@ function Jt(e) {
1461
1470
  };
1462
1471
  }
1463
1472
  function a() {
1464
- const u = {
1473
+ const x = {
1465
1474
  ...{
1466
1475
  display: "flex",
1467
1476
  flexDirection: "column"
@@ -1470,73 +1479,73 @@ function Jt(e) {
1470
1479
  cursor: "pointer"
1471
1480
  };
1472
1481
  return Object.fromEntries(
1473
- Object.entries(u).filter(([g, x]) => x !== void 0)
1482
+ Object.entries(x).filter(([h, p]) => p !== void 0)
1474
1483
  );
1475
1484
  }
1476
- function r(f) {
1477
- return `builder-accordion-title builder-accordion-title-${t.includes(f) ? "open" : "closed"}`;
1485
+ function r(m) {
1486
+ return `builder-accordion-title builder-accordion-title-${t.includes(m) ? "open" : "closed"}`;
1478
1487
  }
1479
- function s(f) {
1480
- return `builder-accordion-detail builder-accordion-detail-${t.includes(f) ? "open" : "closed"}`;
1488
+ function s(m) {
1489
+ return `builder-accordion-detail builder-accordion-detail-${t.includes(m) ? "open" : "closed"}`;
1481
1490
  }
1482
1491
  function d() {
1483
- let f = null;
1492
+ let m = null;
1484
1493
  if (e.grid && t.length && document) {
1485
- const g = t[0];
1486
- let b = document.querySelector(
1487
- `.builder-accordion-title[data-index="${g}"]`
1494
+ const h = t[0];
1495
+ let f = document.querySelector(
1496
+ `.builder-accordion-title[data-index="${h}"]`
1488
1497
  );
1489
- if (f = g, b) {
1490
- let B = b.getBoundingClientRect();
1491
- for (; b = b && b.nextElementSibling; )
1492
- if (b) {
1493
- if (b.classList.contains("builder-accordion-detail"))
1498
+ if (m = h, f) {
1499
+ let w = f.getBoundingClientRect();
1500
+ for (; f = f && f.nextElementSibling; )
1501
+ if (f) {
1502
+ if (f.classList.contains("builder-accordion-detail"))
1494
1503
  continue;
1495
- const E = b.getBoundingClientRect();
1496
- if (E.left > B.left) {
1504
+ const B = f.getBoundingClientRect();
1505
+ if (B.left > w.left) {
1497
1506
  const A = parseInt(
1498
- b.getAttribute("data-index") || "",
1507
+ f.getAttribute("data-index") || "",
1499
1508
  10
1500
1509
  );
1501
- isNaN(A) || (B = E, f = A);
1510
+ isNaN(A) || (w = B, m = A);
1502
1511
  } else
1503
1512
  break;
1504
1513
  }
1505
1514
  }
1506
1515
  }
1507
- return typeof f == "number" && (f = f + 1), f;
1516
+ return typeof m == "number" && (m = m + 1), m;
1508
1517
  }
1509
1518
  function c() {
1510
- const f = {
1519
+ const m = {
1511
1520
  order: typeof d() == "number" ? d() : void 0,
1512
1521
  ...e.grid && {
1513
1522
  width: "100%"
1514
1523
  }
1515
1524
  };
1516
1525
  return Object.fromEntries(
1517
- Object.entries(f).filter(([u, g]) => g !== void 0)
1526
+ Object.entries(m).filter(([x, h]) => h !== void 0)
1518
1527
  );
1519
1528
  }
1520
- function m(f) {
1521
- t.includes(f) ? n(i() ? [] : t.filter((u) => u !== f)) : n(i() ? [f] : t.concat(f));
1529
+ function u(m) {
1530
+ t.includes(m) ? n(i() ? [] : t.filter((x) => x !== m)) : n(i() ? [m] : t.concat(m));
1522
1531
  }
1523
- return /* @__PURE__ */ l("div", { className: "builder-accordion", style: o(), children: (h = e.items) == null ? void 0 : h.map((f, u) => /* @__PURE__ */ V(R, { children: [
1532
+ return /* @__PURE__ */ l("div", { className: "builder-accordion", style: o(), children: (g = e.items) == null ? void 0 : g.map((m, x) => /* @__PURE__ */ V(E, { children: [
1524
1533
  /* @__PURE__ */ l(
1525
1534
  "div",
1526
1535
  {
1527
- className: r(u),
1536
+ className: r(x),
1528
1537
  style: {
1529
1538
  ...a(),
1530
1539
  width: e.grid ? e.gridRowWidth : void 0,
1531
- order: d() !== null ? Se(u) : Se(u + 1)
1540
+ order: d() !== null ? ke(x) : ke(x + 1)
1532
1541
  },
1533
- "data-index": u,
1534
- onClick: (g) => m(u),
1542
+ "data-index": x,
1543
+ onClick: (h) => u(x),
1535
1544
  children: /* @__PURE__ */ l(
1536
1545
  D,
1537
1546
  {
1538
- blocks: f.title,
1539
- path: `items.${u}.title`,
1547
+ blocks: m.title,
1548
+ path: `items.${x}.title`,
1540
1549
  parent: e.builderBlock.id,
1541
1550
  context: e.builderContext,
1542
1551
  registeredComponents: e.builderComponents,
@@ -1545,16 +1554,16 @@ function Jt(e) {
1545
1554
  )
1546
1555
  }
1547
1556
  ),
1548
- t.includes(u) ? /* @__PURE__ */ l(
1557
+ t.includes(x) ? /* @__PURE__ */ l(
1549
1558
  "div",
1550
1559
  {
1551
- className: s(u),
1560
+ className: s(x),
1552
1561
  style: c(),
1553
1562
  children: /* @__PURE__ */ l(
1554
1563
  D,
1555
1564
  {
1556
- blocks: f.detail,
1557
- path: `items.${u}.detail`,
1565
+ blocks: m.detail,
1566
+ path: `items.${x}.detail`,
1558
1567
  parent: e.builderBlock.id,
1559
1568
  context: e.builderContext,
1560
1569
  registeredComponents: e.builderComponents,
@@ -1836,14 +1845,14 @@ const Yt = {
1836
1845
  e.delete("srcset"), e.delete("noWebp");
1837
1846
  function n(r, s = 6e4) {
1838
1847
  return new Promise((d, c) => {
1839
- const m = document.createElement("img");
1840
- let h = !1;
1841
- m.onload = () => {
1842
- h = !0, d(m);
1843
- }, m.addEventListener("error", (f) => {
1844
- console.warn("Image load failed", f.error), c(f.error);
1845
- }), m.src = r, setTimeout(() => {
1846
- h || c(new Error("Image load timed out"));
1848
+ const u = document.createElement("img");
1849
+ let g = !1;
1850
+ u.onload = () => {
1851
+ g = !0, d(u);
1852
+ }, u.addEventListener("error", (m) => {
1853
+ console.warn("Image load failed", m.error), c(m.error);
1854
+ }), u.src = r, setTimeout(() => {
1855
+ g || c(new Error("Image load timed out"));
1847
1856
  }, s);
1848
1857
  });
1849
1858
  }
@@ -1975,7 +1984,8 @@ const Yt = {
1975
1984
  defaultValue: "children"
1976
1985
  }],
1977
1986
  shouldReceiveBuilderProps: {
1978
- builderContext: !0
1987
+ builderContext: !0,
1988
+ builderComponents: !0
1979
1989
  }
1980
1990
  };
1981
1991
  function tn(e) {
@@ -1995,6 +2005,7 @@ function tn(e) {
1995
2005
  parent: (n = e.builderContext.context) == null ? void 0 : n.symbolId,
1996
2006
  path: `symbol.data.${e.name}`,
1997
2007
  context: e.builderContext,
2008
+ registeredComponents: e.builderComponents,
1998
2009
  blocks: (i = e.builderContext.rootState) == null ? void 0 : i[e.name]
1999
2010
  }
2000
2011
  )
@@ -2332,8 +2343,8 @@ function cn(e) {
2332
2343
  if (n.includes(c.src))
2333
2344
  continue;
2334
2345
  n.push(c.src);
2335
- const m = document.createElement("script");
2336
- m.async = !0, m.src = c.src, document.head.appendChild(m);
2346
+ const u = document.createElement("script");
2347
+ u.async = !0, u.src = c.src, document.head.appendChild(u);
2337
2348
  } else if (!c.type || [
2338
2349
  "text/javascript",
2339
2350
  "application/javascript",
@@ -2343,8 +2354,8 @@ function cn(e) {
2343
2354
  continue;
2344
2355
  try {
2345
2356
  o.push(c.innerText), new Function(c.innerText)();
2346
- } catch (m) {
2347
- console.warn("`CustomCode`: Error running script:", m);
2357
+ } catch (u) {
2358
+ console.warn("`CustomCode`: Error running script:", u);
2348
2359
  }
2349
2360
  }
2350
2361
  }
@@ -2379,17 +2390,17 @@ function fn(e) {
2379
2390
  if (!t.current || !t.current.getElementsByTagName)
2380
2391
  return;
2381
2392
  const c = t.current.getElementsByTagName("script");
2382
- for (let m = 0; m < c.length; m++) {
2383
- const h = c[m];
2384
- if (h.src && !n.includes(h.src)) {
2385
- n.push(h.src);
2386
- const f = document.createElement("script");
2387
- f.async = !0, f.src = h.src, document.head.appendChild(f);
2388
- } else if (mn(h) && !o.includes(h.innerText))
2393
+ for (let u = 0; u < c.length; u++) {
2394
+ const g = c[u];
2395
+ if (g.src && !n.includes(g.src)) {
2396
+ n.push(g.src);
2397
+ const m = document.createElement("script");
2398
+ m.async = !0, m.src = g.src, document.head.appendChild(m);
2399
+ } else if (mn(g) && !o.includes(g.innerText))
2389
2400
  try {
2390
- o.push(h.innerText), new Function(h.innerText)();
2391
- } catch (f) {
2392
- console.warn("`Embed`: Error running script:", f);
2401
+ o.push(g.innerText), new Function(g.innerText)();
2402
+ } catch (m) {
2403
+ console.warn("`Embed`: Error running script:", m);
2393
2404
  }
2394
2405
  }
2395
2406
  }
@@ -2649,70 +2660,70 @@ const hn = {
2649
2660
  return i === void 0 || i === e ? n : i;
2650
2661
  };
2651
2662
  function yn(e) {
2652
- var h, f;
2663
+ var g, m;
2653
2664
  const t = z(null), [n, i] = T(() => "unsubmitted"), [o, a] = T(() => null), [r, s] = T(() => "");
2654
- function d(u) {
2655
- var x, b;
2656
- const g = {
2665
+ function d(x) {
2666
+ var p, f;
2667
+ const h = {
2657
2668
  ...e.builderContext.rootState,
2658
- ...u
2669
+ ...x
2659
2670
  };
2660
- e.builderContext.rootSetState ? (b = (x = e.builderContext).rootSetState) == null || b.call(x, g) : e.builderContext.rootState = g;
2671
+ e.builderContext.rootSetState ? (f = (p = e.builderContext).rootSetState) == null || f.call(p, h) : e.builderContext.rootState = h;
2661
2672
  }
2662
2673
  function c() {
2663
2674
  return $() && e.previewState || n;
2664
2675
  }
2665
- function m(u) {
2666
- var x;
2667
- const g = e.sendWithJs || e.sendSubmissionsTo === "email";
2676
+ function u(x) {
2677
+ var p;
2678
+ const h = e.sendWithJs || e.sendSubmissionsTo === "email";
2668
2679
  if (e.sendSubmissionsTo === "zapier")
2669
- u.preventDefault();
2670
- else if (g) {
2680
+ x.preventDefault();
2681
+ else if (h) {
2671
2682
  if (!(e.action || e.sendSubmissionsTo === "email")) {
2672
- u.preventDefault();
2683
+ x.preventDefault();
2673
2684
  return;
2674
2685
  }
2675
- u.preventDefault();
2676
- const b = u.currentTarget || u.target, B = e.customHeaders || {};
2677
- let E;
2678
- const A = new FormData(b), O = Array.from(b.querySelectorAll("input,select,textarea")).filter((y) => !!y.name).map((y) => {
2679
- let p;
2686
+ x.preventDefault();
2687
+ const f = x.currentTarget || x.target, w = e.customHeaders || {};
2688
+ let B;
2689
+ const A = new FormData(f), O = Array.from(f.querySelectorAll("input,select,textarea")).filter((y) => !!y.name).map((y) => {
2690
+ let b;
2680
2691
  const S = y.name;
2681
2692
  if (y instanceof HTMLInputElement)
2682
2693
  if (y.type === "radio") {
2683
2694
  if (y.checked)
2684
- return p = y.name, {
2695
+ return b = y.name, {
2685
2696
  key: S,
2686
- value: p
2697
+ value: b
2687
2698
  };
2688
2699
  } else if (y.type === "checkbox")
2689
- p = y.checked;
2700
+ b = y.checked;
2690
2701
  else if (y.type === "number" || y.type === "range") {
2691
2702
  const k = y.valueAsNumber;
2692
- isNaN(k) || (p = k);
2703
+ isNaN(k) || (b = k);
2693
2704
  } else
2694
- y.type === "file" ? p = y.files : p = y.value;
2705
+ y.type === "file" ? b = y.files : b = y.value;
2695
2706
  else
2696
- p = y.value;
2707
+ b = y.value;
2697
2708
  return {
2698
2709
  key: S,
2699
- value: p
2710
+ value: b
2700
2711
  };
2701
2712
  });
2702
2713
  let v = e.contentType;
2703
2714
  if (e.sendSubmissionsTo === "email" && (v = "multipart/form-data"), Array.from(O).forEach(({ value: y }) => {
2704
2715
  (y instanceof File || Array.isArray(y) && y[0] instanceof File || y instanceof FileList) && (v = "multipart/form-data");
2705
2716
  }), v !== "application/json")
2706
- E = A;
2717
+ B = A;
2707
2718
  else {
2708
2719
  const y = {};
2709
- Array.from(O).forEach(({ value: p, key: S }) => {
2710
- Ae(y, S, p);
2711
- }), E = JSON.stringify(y);
2720
+ Array.from(O).forEach(({ value: b, key: S }) => {
2721
+ Ne(y, S, b);
2722
+ }), B = JSON.stringify(y);
2712
2723
  }
2713
- v && v !== "multipart/form-data" && (g && ((x = e.action) != null && x.includes("zapier.com")) || (B["content-type"] = v));
2714
- const w = new CustomEvent("presubmit", { detail: { body: E } });
2715
- if (t.current && (t.current.dispatchEvent(w), w.defaultPrevented))
2724
+ v && v !== "multipart/form-data" && (h && ((p = e.action) != null && p.includes("zapier.com")) || (w["content-type"] = v));
2725
+ const R = new CustomEvent("presubmit", { detail: { body: B } });
2726
+ if (t.current && (t.current.dispatchEvent(R), R.defaultPrevented))
2716
2727
  return;
2717
2728
  i("sending");
2718
2729
  const N = `${bn() === "dev" ? "http://localhost:5000" : "https://builder.io"}/api/v1/form-submit?apiKey=${e.builderContext.apiKey}&to=${btoa(
@@ -2720,18 +2731,18 @@ function yn(e) {
2720
2731
  )}&name=${encodeURIComponent(e.name || "")}`;
2721
2732
  fetch(
2722
2733
  e.sendSubmissionsTo === "email" ? N : e.action,
2723
- { body: E, headers: B, method: e.method || "post" }
2734
+ { body: B, headers: w, method: e.method || "post" }
2724
2735
  ).then(
2725
2736
  async (y) => {
2726
- let p;
2737
+ let b;
2727
2738
  const S = y.headers.get("content-type");
2728
- if (S && S.indexOf("application/json") !== -1 ? p = await y.json() : p = await y.text(), !y.ok && e.errorMessagePath) {
2729
- let k = pn(p, e.errorMessagePath);
2739
+ if (S && S.indexOf("application/json") !== -1 ? b = await y.json() : b = await y.text(), !y.ok && e.errorMessagePath) {
2740
+ let k = pn(b, e.errorMessagePath);
2730
2741
  k && (typeof k != "string" && (k = JSON.stringify(k)), s(k), d({ formErrorMessage: k }));
2731
2742
  }
2732
- if (a(p), i(y.ok ? "success" : "error"), y.ok) {
2743
+ if (a(b), i(y.ok ? "success" : "error"), y.ok) {
2733
2744
  const k = new CustomEvent("submit:success", {
2734
- detail: { res: y, body: p }
2745
+ detail: { res: y, body: b }
2735
2746
  });
2736
2747
  if (t.current) {
2737
2748
  if (t.current.dispatchEvent(k), k.defaultPrevented)
@@ -2749,15 +2760,15 @@ function yn(e) {
2749
2760
  }
2750
2761
  },
2751
2762
  (y) => {
2752
- const p = new CustomEvent("submit:error", {
2763
+ const b = new CustomEvent("submit:error", {
2753
2764
  detail: { error: y }
2754
2765
  });
2755
- t.current && (t.current.dispatchEvent(p), p.defaultPrevented) || (a(y), i("error"));
2766
+ t.current && (t.current.dispatchEvent(b), b.defaultPrevented) || (a(y), i("error"));
2756
2767
  }
2757
2768
  );
2758
2769
  }
2759
2770
  }
2760
- return /* @__PURE__ */ V(R, { children: [
2771
+ return /* @__PURE__ */ V(E, { children: [
2761
2772
  " ",
2762
2773
  /* @__PURE__ */ V(
2763
2774
  "form",
@@ -2767,18 +2778,18 @@ function yn(e) {
2767
2778
  action: !e.sendWithJs && e.action,
2768
2779
  method: e.method,
2769
2780
  name: e.name,
2770
- onSubmit: (u) => m(u),
2781
+ onSubmit: (x) => u(x),
2771
2782
  ...e.attributes,
2772
2783
  children: [
2773
- e.builderBlock && e.builderBlock.children ? /* @__PURE__ */ l(R, { children: (f = (h = e.builderBlock) == null ? void 0 : h.children) == null ? void 0 : f.map((u, g) => /* @__PURE__ */ l(
2784
+ e.builderBlock && e.builderBlock.children ? /* @__PURE__ */ l(E, { children: (m = (g = e.builderBlock) == null ? void 0 : g.children) == null ? void 0 : m.map((x, h) => /* @__PURE__ */ l(
2774
2785
  J,
2775
2786
  {
2776
- block: u,
2787
+ block: x,
2777
2788
  context: e.builderContext,
2778
2789
  registeredComponents: e.builderComponents,
2779
2790
  linkComponent: e.builderLinkComponent
2780
2791
  },
2781
- `form-block-${g}`
2792
+ `form-block-${h}`
2782
2793
  )) }) : null,
2783
2794
  c() === "error" ? /* @__PURE__ */ l(
2784
2795
  D,
@@ -2866,7 +2877,7 @@ const xn = {
2866
2877
  }
2867
2878
  };
2868
2879
  function vn(e) {
2869
- return /* @__PURE__ */ Be(
2880
+ return /* @__PURE__ */ Pe(
2870
2881
  "input",
2871
2882
  {
2872
2883
  ...e.attributes,
@@ -2925,7 +2936,7 @@ const Sn = {
2925
2936
  };
2926
2937
  function kn(e) {
2927
2938
  var t;
2928
- return /* @__PURE__ */ Be(
2939
+ return /* @__PURE__ */ Pe(
2929
2940
  "select",
2930
2941
  {
2931
2942
  ...e.attributes,
@@ -3260,8 +3271,8 @@ const Vn = () => [{
3260
3271
  }, {
3261
3272
  component: Pn,
3262
3273
  ...Bn
3263
- }], ke = () => [{
3264
- component: nt,
3274
+ }], Ce = () => [{
3275
+ component: it,
3265
3276
  ...Yt
3266
3277
  }, {
3267
3278
  component: Mt,
@@ -3380,24 +3391,24 @@ const Vn = () => [{
3380
3391
  thisScriptEl?.remove();
3381
3392
  }
3382
3393
  return;
3383
- }`, Me = "builderIoAbTest", je = "builderIoRenderContent", G = (e) => Object.values((e == null ? void 0 : e.variations) || {}).map((t) => ({
3394
+ }`, je = "builderIoAbTest", He = "builderIoRenderContent", G = (e) => Object.values((e == null ? void 0 : e.variations) || {}).map((t) => ({
3384
3395
  ...t,
3385
3396
  testVariationId: t.id,
3386
3397
  id: e == null ? void 0 : e.id
3387
3398
  })), Wn = ({
3388
3399
  canTrack: e,
3389
3400
  content: t
3390
- }) => !(!(G(t).length > 0) || !e || H()), Fn = (e) => e === "react" || e === "reactNative", He = Fn(U), $n = () => `
3391
- window.${Me} = ${An}
3392
- window.${je} = ${Nn}
3401
+ }) => !(!(G(t).length > 0) || !e || H()), Fn = (e) => e === "react" || e === "reactNative", Ke = Fn(U), $n = () => `
3402
+ window.${je} = ${An}
3403
+ window.${He} = ${Nn}
3393
3404
  `, Dn = (e, t) => `
3394
- window.${Me}(
3395
- "${t}",${JSON.stringify(e)}, ${He}
3405
+ window.${je}(
3406
+ "${t}",${JSON.stringify(e)}, ${Ke}
3396
3407
  )`, Ln = ({
3397
3408
  contentId: e,
3398
3409
  variationId: t
3399
- }) => `window.${je}(
3400
- "${t}", "${e}", ${He}
3410
+ }) => `window.${He}(
3411
+ "${t}", "${e}", ${Ke}
3401
3412
  )`;
3402
3413
  function ce(e) {
3403
3414
  return /* @__PURE__ */ l(
@@ -3409,7 +3420,7 @@ function ce(e) {
3409
3420
  }
3410
3421
  );
3411
3422
  }
3412
- function Ce(e) {
3423
+ function Te(e) {
3413
3424
  return Math.round(e * 1e3) / 1e3;
3414
3425
  }
3415
3426
  const On = (e, t, n = !0) => {
@@ -3426,11 +3437,11 @@ const On = (e, t, n = !0) => {
3426
3437
  }, Un = (e) => On(e, (t) => {
3427
3438
  const n = t.getAttribute("builder-id") || t.id;
3428
3439
  return (n == null ? void 0 : n.indexOf("builder-")) === 0;
3429
- }), Te = ({
3440
+ }), Ie = ({
3430
3441
  event: e,
3431
3442
  target: t
3432
3443
  }) => {
3433
- const n = t.getBoundingClientRect(), i = e.clientX - n.left, o = e.clientY - n.top, a = Ce(i / n.width), r = Ce(o / n.height);
3444
+ const n = t.getBoundingClientRect(), i = e.clientX - n.left, o = e.clientY - n.top, a = Te(i / n.width), r = Te(o / n.height);
3434
3445
  return {
3435
3446
  x: a,
3436
3447
  y: r
@@ -3440,11 +3451,11 @@ const On = (e, t, n = !0) => {
3440
3451
  return {
3441
3452
  targetBuilderElement: i || void 0,
3442
3453
  metadata: {
3443
- targetOffset: t ? Te({
3454
+ targetOffset: t ? Ie({
3444
3455
  event: e,
3445
3456
  target: t
3446
3457
  }) : void 0,
3447
- builderTargetOffset: n ? Te({
3458
+ builderTargetOffset: n ? Ie({
3448
3459
  event: e,
3449
3460
  target: n
3450
3461
  }) : void 0,
@@ -3504,32 +3515,32 @@ font-weight: ${s};
3504
3515
  }
3505
3516
  `, _n = (e) => e ? "" : qn, zn = (e) => `variant-${e}`;
3506
3517
  function Jn(e) {
3507
- var E, A, O, v, w, N, y;
3518
+ var B, A, O, v, R, N, y;
3508
3519
  const t = z(null);
3509
- function n(p) {
3520
+ function n(b) {
3510
3521
  var k, C;
3511
3522
  const S = {
3512
3523
  ...e.builderContextSignal.rootState,
3513
- ...p
3524
+ ...b
3514
3525
  };
3515
3526
  e.builderContextSignal.rootSetState ? (C = (k = e.builderContextSignal).rootSetState) == null || C.call(k, S) : e.setBuilderContextSignal((I) => ({
3516
3527
  ...I,
3517
3528
  rootState: S
3518
3529
  }));
3519
3530
  }
3520
- function i(p) {
3531
+ function i(b) {
3521
3532
  var k, C, I, W, M;
3522
3533
  const S = {
3523
3534
  ...e.builderContextSignal.content,
3524
- ...p,
3535
+ ...b,
3525
3536
  data: {
3526
3537
  ...(k = e.builderContextSignal.content) == null ? void 0 : k.data,
3527
- ...p == null ? void 0 : p.data
3538
+ ...b == null ? void 0 : b.data
3528
3539
  },
3529
3540
  meta: {
3530
3541
  ...(C = e.builderContextSignal.content) == null ? void 0 : C.meta,
3531
- ...p == null ? void 0 : p.meta,
3532
- breakpoints: ((I = p == null ? void 0 : p.meta) == null ? void 0 : I.breakpoints) || ((M = (W = e.builderContextSignal.content) == null ? void 0 : W.meta) == null ? void 0 : M.breakpoints)
3542
+ ...b == null ? void 0 : b.meta,
3543
+ breakpoints: ((I = b == null ? void 0 : b.meta) == null ? void 0 : I.breakpoints) || ((M = (W = e.builderContextSignal.content) == null ? void 0 : W.meta) == null ? void 0 : M.breakpoints)
3533
3544
  }
3534
3545
  };
3535
3546
  e.setBuilderContextSignal((F) => ({
@@ -3546,8 +3557,8 @@ function Jn(e) {
3546
3557
  const [a, r] = T(
3547
3558
  () => e.contentWrapper || "div"
3548
3559
  );
3549
- function s(p) {
3550
- return Qe({
3560
+ function s(b) {
3561
+ return Xe({
3551
3562
  model: e.model,
3552
3563
  trustedHosts: e.trustedHosts,
3553
3564
  callbacks: {
@@ -3561,19 +3572,19 @@ function Jn(e) {
3561
3572
  });
3562
3573
  },
3563
3574
  animation: (S) => {
3564
- Fe(S);
3575
+ $e(S);
3565
3576
  },
3566
3577
  contentUpdate: (S) => {
3567
3578
  i(S);
3568
3579
  }
3569
3580
  }
3570
- })(p);
3581
+ })(b);
3571
3582
  }
3572
3583
  function d() {
3573
3584
  var S, k;
3574
- const p = (k = (S = e.builderContextSignal.content) == null ? void 0 : S.data) == null ? void 0 : k.jsCode;
3575
- p && K({
3576
- code: p,
3585
+ const b = (k = (S = e.builderContextSignal.content) == null ? void 0 : S.data) == null ? void 0 : k.jsCode;
3586
+ b && K({
3587
+ code: b,
3577
3588
  context: e.context || {},
3578
3589
  localState: void 0,
3579
3590
  rootState: e.builderContextSignal.rootState,
@@ -3584,8 +3595,8 @@ function Jn(e) {
3584
3595
  enableCache: !1
3585
3596
  });
3586
3597
  }
3587
- const [c, m] = T(() => ({})), [h, f] = T(() => ({})), [u, g] = T(() => !1);
3588
- function x(p) {
3598
+ const [c, u] = T(() => ({})), [g, m] = T(() => ({})), [x, h] = T(() => !1);
3599
+ function p(b) {
3589
3600
  var S, k;
3590
3601
  if (e.builderContextSignal.content) {
3591
3602
  const C = (S = e.builderContextSignal.content) == null ? void 0 : S.testVariationId, I = (k = e.builderContextSignal.content) == null ? void 0 : k.id;
@@ -3595,24 +3606,24 @@ function Jn(e) {
3595
3606
  contentId: I,
3596
3607
  apiKey: e.apiKey,
3597
3608
  variationId: C !== I ? C : void 0,
3598
- ...Mn(p),
3599
- unique: !u
3609
+ ...Mn(b),
3610
+ unique: !x
3600
3611
  });
3601
3612
  }
3602
- u || g(!0);
3613
+ x || h(!0);
3603
3614
  }
3604
- function b() {
3615
+ function f() {
3605
3616
  var S, k, C;
3606
- const p = (C = (k = (S = e.builderContextSignal.content) == null ? void 0 : S.data) == null ? void 0 : k.httpRequests) != null ? C : {};
3607
- Object.entries(p).forEach(([I, W]) => {
3608
- if (!W || h[I] || c[I] && !$())
3617
+ const b = (C = (k = (S = e.builderContextSignal.content) == null ? void 0 : S.data) == null ? void 0 : k.httpRequests) != null ? C : {};
3618
+ Object.entries(b).forEach(([I, W]) => {
3619
+ if (!W || g[I] || c[I] && !$())
3609
3620
  return;
3610
- h[I] = !0;
3621
+ g[I] = !0;
3611
3622
  const M = W.replace(
3612
3623
  /{{([^}]+)}}/g,
3613
- (F, Ke) => String(
3624
+ (F, qe) => String(
3614
3625
  K({
3615
- code: Ke,
3626
+ code: qe,
3616
3627
  context: e.context || {},
3617
3628
  localState: void 0,
3618
3629
  rootState: e.builderContextSignal.rootState,
@@ -3621,18 +3632,18 @@ function Jn(e) {
3621
3632
  })
3622
3633
  )
3623
3634
  );
3624
- Xe(M).then((F) => F.json()).then((F) => {
3635
+ Ze(M).then((F) => F.json()).then((F) => {
3625
3636
  n({
3626
3637
  [I]: F
3627
3638
  }), c[I] = !0;
3628
3639
  }).catch((F) => {
3629
3640
  console.error("error fetching dynamic data", W, F);
3630
3641
  }).finally(() => {
3631
- h[I] = !1;
3642
+ g[I] = !1;
3632
3643
  });
3633
3644
  });
3634
3645
  }
3635
- function B() {
3646
+ function w() {
3636
3647
  $() && window.dispatchEvent(
3637
3648
  new CustomEvent(
3638
3649
  "builder:component:stateChange",
@@ -3648,9 +3659,9 @@ function Jn(e) {
3648
3659
  );
3649
3660
  }
3650
3661
  return P(() => {
3651
- var p, S;
3662
+ var b, S;
3652
3663
  if (H()) {
3653
- if ($() && (window.addEventListener("message", s), Je(), Ye({
3664
+ if ($() && (window.addEventListener("message", s), Ye(), Ge({
3654
3665
  ...e.locale ? {
3655
3666
  locale: e.locale
3656
3667
  } : {},
@@ -3664,13 +3675,13 @@ function Jn(e) {
3664
3675
  e.builderContextSignal.componentInfos
3665
3676
  ).forEach((C) => {
3666
3677
  var W;
3667
- const I = Ge(C);
3678
+ const I = Qe(C);
3668
3679
  (W = window.parent) == null || W.postMessage(I, "*");
3669
3680
  }), window.addEventListener(
3670
3681
  "builder:component:stateChangeListenerActivated",
3671
- B
3682
+ w
3672
3683
  )), e.builderContextSignal.content && X(e.canTrack)) {
3673
- const C = (p = e.builderContextSignal.content) == null ? void 0 : p.testVariationId, I = (S = e.builderContextSignal.content) == null ? void 0 : S.id, W = e.apiKey;
3684
+ const C = (b = e.builderContextSignal.content) == null ? void 0 : b.testVariationId, I = (S = e.builderContextSignal.content) == null ? void 0 : S.id, W = e.apiKey;
3674
3685
  he({
3675
3686
  type: "impression",
3676
3687
  canTrack: !0,
@@ -3679,11 +3690,11 @@ function Jn(e) {
3679
3690
  variationId: C !== I ? C : void 0
3680
3691
  });
3681
3692
  }
3682
- if (we() && !$()) {
3693
+ if (Re() && !$()) {
3683
3694
  const C = new URL(location.href).searchParams, I = C.get("builder.preview"), W = C.get(
3684
3695
  `builder.overrides.${I}`
3685
3696
  ), M = C.get("apiKey") || C.get("builder.space");
3686
- I === e.model && M === e.apiKey && (!e.content || W === e.content.id) && Re({
3697
+ I === e.model && M === e.apiKey && (!e.content || W === e.content.id) && Ee({
3687
3698
  model: e.model,
3688
3699
  apiKey: e.apiKey,
3689
3700
  apiVersion: e.builderContextSignal.apiVersion
@@ -3695,15 +3706,15 @@ function Jn(e) {
3695
3706
  }, []), P(() => {
3696
3707
  e.apiKey || Z.error(
3697
3708
  "No API key provided to `Content` component. This can cause issues. Please provide an API key using the `apiKey` prop."
3698
- ), d(), b(), B();
3709
+ ), d(), f(), w();
3699
3710
  }, []), P(() => {
3700
3711
  e.content && i(e.content);
3701
3712
  }, [e.content]), P(() => {
3702
3713
  d();
3703
- }, [(A = (E = e.builderContextSignal.content) == null ? void 0 : E.data) == null ? void 0 : A.jsCode]), P(() => {
3704
- b();
3714
+ }, [(A = (B = e.builderContextSignal.content) == null ? void 0 : B.data) == null ? void 0 : A.jsCode]), P(() => {
3715
+ f();
3705
3716
  }, [(v = (O = e.builderContextSignal.content) == null ? void 0 : O.data) == null ? void 0 : v.httpRequests]), P(() => {
3706
- B();
3717
+ w();
3707
3718
  }, [e.builderContextSignal.rootState]), P(() => {
3708
3719
  e.data && n(e.data);
3709
3720
  }, [e.data]), P(() => {
@@ -3713,14 +3724,14 @@ function Jn(e) {
3713
3724
  }, [e.locale]), P(() => () => {
3714
3725
  H() && (window.removeEventListener("message", s), window.removeEventListener(
3715
3726
  "builder:component:stateChangeListenerActivated",
3716
- B
3727
+ w
3717
3728
  ));
3718
3729
  }, []), /* @__PURE__ */ l(ue.Provider, { value: e.builderContextSignal, children: e.builderContextSignal.content ? /* @__PURE__ */ l(
3719
3730
  a,
3720
3731
  {
3721
3732
  ref: t,
3722
- onClick: (p) => x(p),
3723
- "builder-content-id": (w = e.builderContextSignal.content) == null ? void 0 : w.id,
3733
+ onClick: (b) => p(b),
3734
+ "builder-content-id": (R = e.builderContextSignal.content) == null ? void 0 : R.id,
3724
3735
  "builder-model": e.model,
3725
3736
  ...o(),
3726
3737
  ...e.contentWrapperProps,
@@ -3781,44 +3792,44 @@ const Gn = ({
3781
3792
  },
3782
3793
  meta: e == null ? void 0 : e.meta
3783
3794
  } : void 0;
3784
- function Ie(e) {
3785
- var d, c, m, h, f, u, g;
3795
+ function we(e) {
3796
+ var d, c, u, g, m, x, h;
3786
3797
  const [t, n] = T(
3787
3798
  () => {
3788
- var x, b;
3799
+ var p, f;
3789
3800
  return Ln({
3790
3801
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
3791
- variationId: (x = e.content) == null ? void 0 : x.testVariationId,
3802
+ variationId: (p = e.content) == null ? void 0 : p.testVariationId,
3792
3803
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
3793
- contentId: (b = e.content) == null ? void 0 : b.id
3804
+ contentId: (f = e.content) == null ? void 0 : f.id
3794
3805
  });
3795
3806
  }
3796
3807
  );
3797
- function i(x) {
3798
- s((b) => ({
3799
- ...b,
3800
- rootState: x
3808
+ function i(p) {
3809
+ s((f) => ({
3810
+ ...f,
3811
+ rootState: p
3801
3812
  }));
3802
3813
  }
3803
3814
  const [o, a] = T(
3804
3815
  () => {
3805
- var x;
3816
+ var p;
3806
3817
  return [
3807
- ...ke(),
3808
- ...((x = e.customComponents) == null ? void 0 : x.filter(({ models: b }) => !(b != null && b.length) || !e.model ? !0 : b.includes(e.model))) || []
3818
+ ...Ce(),
3819
+ ...((p = e.customComponents) == null ? void 0 : p.filter(({ models: f }) => !(f != null && f.length) || !e.model ? !0 : f.includes(e.model))) || []
3809
3820
  ].reduce(
3810
- (b, { component: B, ...E }) => ({
3811
- ...b,
3812
- [E.name]: {
3813
- component: B,
3814
- ...ge(E)
3821
+ (f, { component: w, ...B }) => ({
3822
+ ...f,
3823
+ [B.name]: {
3824
+ component: w,
3825
+ ...ge(B)
3815
3826
  }
3816
3827
  }),
3817
3828
  {}
3818
3829
  );
3819
3830
  }
3820
3831
  ), [r, s] = T(() => {
3821
- var x;
3832
+ var p;
3822
3833
  return {
3823
3834
  content: Qn({
3824
3835
  content: e.content,
@@ -3836,12 +3847,12 @@ function Ie(e) {
3836
3847
  apiKey: e.apiKey,
3837
3848
  apiVersion: e.apiVersion,
3838
3849
  componentInfos: [
3839
- ...ke(),
3840
- ...((x = e.customComponents) == null ? void 0 : x.filter(({ models: b }) => !(b != null && b.length) || !e.model ? !0 : b.includes(e.model))) || []
3850
+ ...Ce(),
3851
+ ...((p = e.customComponents) == null ? void 0 : p.filter(({ models: f }) => !(f != null && f.length) || !e.model ? !0 : f.includes(e.model))) || []
3841
3852
  ].reduce(
3842
- (b, { component: B, ...E }) => ({
3843
- ...b,
3844
- [E.name]: ge(E)
3853
+ (f, { component: w, ...B }) => ({
3854
+ ...f,
3855
+ [B.name]: ge(B)
3845
3856
  }),
3846
3857
  {}
3847
3858
  ),
@@ -3852,7 +3863,7 @@ function Ie(e) {
3852
3863
  };
3853
3864
  });
3854
3865
  return /* @__PURE__ */ l(
3855
- Pe.Provider,
3866
+ Ve.Provider,
3856
3867
  {
3857
3868
  value: {
3858
3869
  registeredComponents: o
@@ -3890,14 +3901,14 @@ function Ie(e) {
3890
3901
  nonce: e.nonce || "",
3891
3902
  isNestedRender: e.isNestedRender,
3892
3903
  contentId: (d = r.content) == null ? void 0 : d.id,
3893
- cssCode: (m = (c = r.content) == null ? void 0 : c.data) == null ? void 0 : m.cssCode,
3894
- customFonts: (f = (h = r.content) == null ? void 0 : h.data) == null ? void 0 : f.customFonts
3904
+ cssCode: (u = (c = r.content) == null ? void 0 : c.data) == null ? void 0 : u.cssCode,
3905
+ customFonts: (m = (g = r.content) == null ? void 0 : g.data) == null ? void 0 : m.customFonts
3895
3906
  }
3896
3907
  ),
3897
3908
  /* @__PURE__ */ l(
3898
3909
  D,
3899
3910
  {
3900
- blocks: (g = (u = r.content) == null ? void 0 : u.data) == null ? void 0 : g.blocks,
3911
+ blocks: (h = (x = r.content) == null ? void 0 : x.data) == null ? void 0 : h.blocks,
3901
3912
  context: r,
3902
3913
  registeredComponents: o,
3903
3914
  linkComponent: e.linkComponent
@@ -3935,13 +3946,13 @@ function Xn(e) {
3935
3946
  return t ? {
3936
3947
  ...e.content,
3937
3948
  testVariationId: (s = e.content) == null ? void 0 : s.id
3938
- } : Ze({
3949
+ } : et({
3939
3950
  item: e.content,
3940
3951
  canTrack: X(e.canTrack)
3941
3952
  });
3942
3953
  }
3943
3954
  return P(() => {
3944
- }, []), /* @__PURE__ */ V(R, { children: [
3955
+ }, []), /* @__PURE__ */ V(E, { children: [
3945
3956
  !e.isNestedRender && U !== "reactNative" ? /* @__PURE__ */ l(
3946
3957
  ce,
3947
3958
  {
@@ -3950,7 +3961,7 @@ function Xn(e) {
3950
3961
  nonce: e.nonce || ""
3951
3962
  }
3952
3963
  ) : null,
3953
- t ? /* @__PURE__ */ V(R, { children: [
3964
+ t ? /* @__PURE__ */ V(E, { children: [
3954
3965
  /* @__PURE__ */ l(
3955
3966
  te,
3956
3967
  {
@@ -3968,7 +3979,7 @@ function Xn(e) {
3968
3979
  }
3969
3980
  ),
3970
3981
  (r = G(e.content)) == null ? void 0 : r.map((s) => /* @__PURE__ */ l(
3971
- Ie,
3982
+ we,
3972
3983
  {
3973
3984
  isNestedRender: e.isNestedRender,
3974
3985
  nonce: e.nonce,
@@ -3995,7 +4006,7 @@ function Xn(e) {
3995
4006
  ))
3996
4007
  ] }) : null,
3997
4008
  /* @__PURE__ */ l(
3998
- Ie,
4009
+ we,
3999
4010
  {
4000
4011
  nonce: e.nonce,
4001
4012
  isNestedRender: e.isNestedRender,
@@ -4027,7 +4038,7 @@ const Zn = async ({
4027
4038
  }) => {
4028
4039
  if (t != null && t.model && // This is a hack, we should not need to check for this, but it is needed for Svelte.
4029
4040
  (e != null && e.apiKey))
4030
- return Re({
4041
+ return Ee({
4031
4042
  model: t.model,
4032
4043
  apiKey: e.apiKey,
4033
4044
  apiVersion: e.apiVersion,
@@ -4041,7 +4052,7 @@ const Zn = async ({
4041
4052
  });
4042
4053
  };
4043
4054
  function ei(e) {
4044
- var s, d, c, m;
4055
+ var s, d, c, u;
4045
4056
  function t() {
4046
4057
  return "div";
4047
4058
  }
@@ -4049,24 +4060,24 @@ function ei(e) {
4049
4060
  return "div";
4050
4061
  }
4051
4062
  function i() {
4052
- var h, f;
4063
+ var g, m;
4053
4064
  return [
4054
4065
  e.attributes[_()],
4055
4066
  "builder-symbol",
4056
- (h = e.symbol) != null && h.inline ? "builder-inline-symbol" : void 0,
4057
- (f = e.symbol) != null && f.dynamic || e.dynamic ? "builder-dynamic-symbol" : void 0
4067
+ (g = e.symbol) != null && g.inline ? "builder-inline-symbol" : void 0,
4068
+ (m = e.symbol) != null && m.dynamic || e.dynamic ? "builder-dynamic-symbol" : void 0
4058
4069
  ].filter(Boolean).join(" ");
4059
4070
  }
4060
4071
  const [o, a] = T(() => {
4061
- var h;
4062
- return (h = e.symbol) == null ? void 0 : h.content;
4072
+ var g;
4073
+ return (g = e.symbol) == null ? void 0 : g.content;
4063
4074
  });
4064
4075
  function r() {
4065
4076
  o || Zn({
4066
4077
  symbol: e.symbol,
4067
4078
  builderContextValue: e.builderContext
4068
- }).then((h) => {
4069
- h && a(h);
4079
+ }).then((g) => {
4080
+ g && a(g);
4070
4081
  });
4071
4082
  }
4072
4083
  return P(() => {
@@ -4090,7 +4101,7 @@ function ei(e) {
4090
4101
  ...(c = o == null ? void 0 : o.data) == null ? void 0 : c.state
4091
4102
  },
4092
4103
  canTrack: e.builderContext.canTrack,
4093
- model: (m = e.symbol) == null ? void 0 : m.model,
4104
+ model: (u = e.symbol) == null ? void 0 : u.model,
4094
4105
  content: o,
4095
4106
  linkComponent: e.builderLinkComponent,
4096
4107
  blocksWrapper: t(),
@@ -4101,7 +4112,7 @@ function ei(e) {
4101
4112
  export {
4102
4113
  D as Blocks,
4103
4114
  ue as BuilderContext,
4104
- nt as Button,
4115
+ it as Button,
4105
4116
  Mt as Columns,
4106
4117
  Xn as Content,
4107
4118
  jt as Fragment,