@builder.io/sdk-react 1.0.21 → 1.0.22

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 (58) hide show
  1. package/lib/browser/blocks-exports.cjs +22 -22
  2. package/lib/browser/blocks-exports.mjs +428 -432
  3. package/lib/browser/index.cjs +1 -1
  4. package/lib/browser/index.mjs +1 -1
  5. package/lib/browser/{server-entry-166d8ec9.js → server-entry-3e30c656.js} +81 -82
  6. package/lib/browser/server-entry-8951c0c5.cjs +2 -0
  7. package/lib/browser/server-entry.cjs +1 -1
  8. package/lib/browser/server-entry.mjs +1 -1
  9. package/lib/edge/blocks-5705f416.cjs +32 -0
  10. package/lib/edge/{blocks-793a81d9.js → blocks-b1f5ec2b.js} +719 -723
  11. package/lib/edge/blocks-exports.cjs +1 -1
  12. package/lib/edge/blocks-exports.mjs +2 -2
  13. package/lib/edge/{button-659db379.js → button-2b710146.js} +2 -2
  14. package/lib/edge/{button-f62c1e15.cjs → button-3c20ccff.cjs} +1 -1
  15. package/lib/edge/{columns-07ef2925.js → columns-38a397cd.js} +3 -3
  16. package/lib/edge/{columns-5fe66f05.cjs → columns-761d98c4.cjs} +1 -1
  17. package/lib/edge/{content-variants-9aedb66d.cjs → content-variants-befe3587.cjs} +4 -4
  18. package/lib/edge/{content-variants-fcba4b5b.js → content-variants-f165fa88.js} +21 -21
  19. package/lib/edge/{form-5c293cd8.cjs → form-b0d65d74.cjs} +1 -1
  20. package/lib/edge/{form-82e6d435.js → form-d0cfb830.js} +3 -3
  21. package/lib/edge/{get-class-prop-name-c54d7ada.cjs → get-class-prop-name-27f8a4f1.cjs} +1 -1
  22. package/lib/edge/{get-class-prop-name-6242df6a.js → get-class-prop-name-49d9b54f.js} +1 -1
  23. package/lib/edge/{img-11c91db6.js → img-e321016e.js} +1 -1
  24. package/lib/edge/{img-73cc7d69.cjs → img-fcf6e57f.cjs} +1 -1
  25. package/lib/edge/index.cjs +1 -1
  26. package/lib/edge/index.mjs +1 -1
  27. package/lib/edge/{input-6b8ac645.js → input-27f575fe.js} +1 -1
  28. package/lib/edge/{input-9c7d1291.cjs → input-f0319ee6.cjs} +1 -1
  29. package/lib/edge/{select-f324140d.js → select-dd4c61db.js} +1 -1
  30. package/lib/edge/{select-42de6b22.cjs → select-e31522ee.cjs} +1 -1
  31. package/lib/edge/{server-entry-396b1a7b.js → server-entry-253a0fa1.js} +80 -81
  32. package/lib/edge/server-entry-dd363108.cjs +2 -0
  33. package/lib/edge/server-entry.cjs +1 -1
  34. package/lib/edge/server-entry.mjs +1 -1
  35. package/lib/edge/{slot-746347ff.cjs → slot-a2388031.cjs} +1 -1
  36. package/lib/edge/{slot-4e55a3d1.js → slot-fea27ccf.js} +3 -3
  37. package/lib/edge/{symbol-e3905b86.js → symbol-686edeb8.js} +2 -2
  38. package/lib/edge/{symbol-4b8cffaa.cjs → symbol-ba2c6245.cjs} +1 -1
  39. package/lib/node/blocks-exports.cjs +23 -23
  40. package/lib/node/blocks-exports.mjs +423 -427
  41. package/lib/node/index.cjs +1 -1
  42. package/lib/node/index.mjs +2 -2
  43. package/lib/node/init.cjs +1 -1
  44. package/lib/node/init.mjs +2 -2
  45. package/lib/node/{node-runtime-eb3ca94b.js → node-runtime-6587ed2e.js} +1 -1
  46. package/lib/node/{node-runtime-2a838da2.cjs → node-runtime-fa43cf07.cjs} +1 -1
  47. package/lib/node/{server-entry-54c1491b.js → server-entry-14d7a1d0.js} +81 -82
  48. package/lib/node/server-entry-3abae5dd.cjs +2 -0
  49. package/lib/node/server-entry.cjs +1 -1
  50. package/lib/node/server-entry.mjs +1 -1
  51. package/package.json +1 -1
  52. package/types/components/block/animator.d.ts +1 -1
  53. package/types/constants/sdk-version.d.ts +1 -1
  54. package/types/functions/is-previewing.d.ts +1 -1
  55. package/lib/browser/server-entry-c6e9a10a.cjs +0 -2
  56. package/lib/edge/blocks-c26b2ffc.cjs +0 -32
  57. package/lib/edge/server-entry-bc7f82dd.cjs +0 -2
  58. package/lib/node/server-entry-cb0df432.cjs +0 -2
@@ -1,11 +1,11 @@
1
1
  "use client";
2
2
  var Le = Object.defineProperty;
3
3
  var De = (e, t, n) => t in e ? Le(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
4
- var ee = (e, t, n) => (De(e, typeof t != "symbol" ? t + "" : t, n), n);
4
+ var te = (e, t, n) => (De(e, typeof t != "symbol" ? t + "" : t, n), n);
5
5
  import { jsx as s, Fragment as T, jsxs as B } from "react/jsx-runtime";
6
- import { TARGET as q, checkIsDefined as J, logger as U, isBrowser as Y, fastClone as oe, isEditing as F, registerInsertMenu as Me, setupBrowserForEditing as je, createRegisterComponentMessage as Oe, getDefaultCanTrack as G, _track as ue, isPreviewing as Ue, fetchOneEntry as ve, createEditorListener as He, fetch as Ke, serializeComponentInfo as me, handleABTestingSync as qe } from "./server-entry-54c1491b.js";
7
- import { createContext as ke, useState as k, useEffect as V, useContext as fe, useRef as X, createElement as Ce } from "react";
8
- import { getFunctionArguments as _e, runInNode as ze, parseCode as Je, getBuilderGlobals as Ye, set as we } from "./node-runtime-eb3ca94b.js";
6
+ import { TARGET as q, checkIsDefined as Y, logger as U, isBrowser as G, fastClone as oe, isEditing as A, registerInsertMenu as Me, setupBrowserForEditing as je, createRegisterComponentMessage as Oe, getDefaultCanTrack as Q, _track as ce, isPreviewing as Ue, fetchOneEntry as xe, createEditorListener as He, fetch as Ke, serializeComponentInfo as de, handleABTestingSync as qe } from "./server-entry-14d7a1d0.js";
7
+ import { createContext as Se, useState as I, useEffect as V, useContext as ue, useRef as Z, createElement as ve } from "react";
8
+ import { getFunctionArguments as _e, runInNode as ze, parseCode as Je, getBuilderGlobals as Ye, set as ke } from "./node-runtime-6587ed2e.js";
9
9
  const Ge = /* @__PURE__ */ new Set(["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen", "link", "meta", "param", "source", "track", "wbr"]), Qe = (e) => typeof e == "string" && Ge.has(e.toLowerCase());
10
10
  function ae(e) {
11
11
  return /* @__PURE__ */ s(T, { children: Qe(e.TagName) ? /* @__PURE__ */ s(T, { children: /* @__PURE__ */ s(e.TagName, { ...e.attributes, ...e.actionAttributes }) }) : /* @__PURE__ */ s(T, { 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 }) }) });
@@ -44,7 +44,7 @@ function Xe(e) {
44
44
  }
45
45
  );
46
46
  }
47
- const re = ke({
47
+ const re = Se({
48
48
  content: null,
49
49
  context: {},
50
50
  localState: void 0,
@@ -57,7 +57,7 @@ const re = ke({
57
57
  inheritedStyles: {},
58
58
  BlocksWrapper: "div",
59
59
  BlocksWrapperProps: {}
60
- }), Ie = ke({ registeredComponents: {} });
60
+ }), Ce = Se({ registeredComponents: {} });
61
61
  function Ze(e) {
62
62
  var t;
63
63
  return {
@@ -82,7 +82,7 @@ const et = ({
82
82
  builder: t,
83
83
  context: n,
84
84
  event: i,
85
- state: Te({
85
+ state: we({
86
86
  rootState: a,
87
87
  localState: o,
88
88
  rootSetState: r
@@ -90,7 +90,7 @@ const et = ({
90
90
  });
91
91
  return new Function(...l.map(([d]) => d), e)(...l.map(([, d]) => d));
92
92
  };
93
- function Te({
93
+ function we({
94
94
  rootState: e,
95
95
  localState: t,
96
96
  rootSetState: n
@@ -100,7 +100,7 @@ function Te({
100
100
  if (t && o in t)
101
101
  return t[o];
102
102
  const r = i[o];
103
- return typeof r == "object" && r !== null ? Te({
103
+ return typeof r == "object" && r !== null ? we({
104
104
  rootState: r,
105
105
  localState: void 0,
106
106
  rootSetState: n ? (a) => {
@@ -117,7 +117,7 @@ function Te({
117
117
  }
118
118
  function tt() {
119
119
  var e;
120
- return typeof process != "undefined" && J((e = process == null ? void 0 : process.versions) == null ? void 0 : e.node);
120
+ return typeof process != "undefined" && Y((e = process == null ? void 0 : process.versions) == null ? void 0 : e.node);
121
121
  }
122
122
  const nt = () => {
123
123
  var i;
@@ -125,7 +125,7 @@ const nt = () => {
125
125
  return !1;
126
126
  const e = process.arch === "arm64", t = process.version.startsWith("v20"), n = (i = process.env.NODE_OPTIONS) == null ? void 0 : i.includes("--no-node-snapshot");
127
127
  return e && t && !n ? (U.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;
128
- }, it = (e) => Y() || nt() ? et(e) : ze(e), A = class A {
128
+ }, it = (e) => G() || nt() ? et(e) : ze(e), $ = class $ {
129
129
  static getCacheKey(t) {
130
130
  return JSON.stringify({
131
131
  ...t,
@@ -135,16 +135,16 @@ const nt = () => {
135
135
  });
136
136
  }
137
137
  static getCachedValue(t) {
138
- return A.cache.get(t);
138
+ return $.cache.get(t);
139
139
  }
140
140
  static setCachedValue(t, n) {
141
- A.cache.size > 20 && A.cache.delete(A.cache.keys().next().value), A.cache.set(t, {
141
+ $.cache.size > 20 && $.cache.delete($.cache.keys().next().value), $.cache.set(t, {
142
142
  value: n
143
143
  });
144
144
  }
145
145
  };
146
- ee(A, "cacheLimit", 20), ee(A, "cache", /* @__PURE__ */ new Map());
147
- let j = A;
146
+ te($, "cacheLimit", 20), te($, "cache", /* @__PURE__ */ new Map());
147
+ let M = $;
148
148
  function K({
149
149
  code: e,
150
150
  context: t,
@@ -171,15 +171,15 @@ function K({
171
171
  localState: n
172
172
  };
173
173
  if (l) {
174
- const c = j.getCacheKey(d), m = j.getCachedValue(c);
174
+ const c = M.getCacheKey(d), m = M.getCachedValue(c);
175
175
  if (m)
176
176
  return m.value;
177
177
  }
178
178
  try {
179
179
  const c = it(d);
180
180
  if (l) {
181
- const m = j.getCacheKey(d);
182
- j.setCachedValue(m, c);
181
+ const m = M.getCacheKey(d);
182
+ M.setCachedValue(m, c);
183
183
  }
184
184
  return c;
185
185
  } catch (c) {
@@ -216,11 +216,11 @@ const ot = ({
216
216
  context: t,
217
217
  enableCache: !0
218
218
  });
219
- we(a, l, c);
219
+ ke(a, l, c);
220
220
  }
221
221
  return a;
222
222
  };
223
- function Q({
223
+ function X({
224
224
  block: e,
225
225
  context: t,
226
226
  shouldEvaluateBindings: n,
@@ -249,7 +249,7 @@ function at(e, t, n = {}) {
249
249
  return i = this, o = arguments, m <= 0 || m > t ? (a && (clearTimeout(a), a = null), l = c, r = e.apply(i, o), a || (i = o = null)) : !a && n.trailing !== !1 && (a = setTimeout(d, m)), r;
250
250
  };
251
251
  }
252
- function D(e, ...t) {
252
+ function O(e, ...t) {
253
253
  const n = Object(e);
254
254
  for (let i = 1; i < arguments.length; i++) {
255
255
  const o = arguments[i];
@@ -266,18 +266,15 @@ function rt(e) {
266
266
  case "pageLoad":
267
267
  Ee(t);
268
268
  break;
269
- case "hover":
270
- st(t);
271
- break;
272
269
  case "scrollInView":
273
- ct(t);
270
+ st(t);
274
271
  break;
275
272
  }
276
273
  }
277
- function se(e) {
274
+ function Ie(e) {
278
275
  console.warn(`Cannot animate element: element with ID ${e} not found!`);
279
276
  }
280
- function ce(e, t) {
277
+ function Te(e, t) {
281
278
  const n = lt(e), i = getComputedStyle(t), o = e.steps[0].styles, r = e.steps[e.steps.length - 1].styles, a = [o, r];
282
279
  for (const l of a)
283
280
  for (const d of n)
@@ -293,12 +290,12 @@ function lt(e) {
293
290
  function Ee(e) {
294
291
  const t = Array.prototype.slice.call(document.getElementsByClassName(e.elementId || e.id || ""));
295
292
  if (!t.length) {
296
- se(e.elementId || e.id || "");
293
+ Ie(e.elementId || e.id || "");
297
294
  return;
298
295
  }
299
296
  Array.from(t).forEach((n) => {
300
- ce(e, n), n.style.transition = "none", n.style.transitionDelay = "0", D(n.style, e.steps[0].styles), setTimeout(() => {
301
- n.style.transition = `all ${e.duration}s ${le(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s"), D(n.style, e.steps[1].styles), setTimeout(() => {
297
+ Te(e, n), n.style.transition = "none", n.style.transitionDelay = "0", O(n.style, e.steps[0].styles), setTimeout(() => {
298
+ n.style.transition = `all ${e.duration}s ${le(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s"), O(n.style, e.steps[1].styles), setTimeout(() => {
302
299
  n.style.transition = "", n.style.transitionDelay = "";
303
300
  }, (e.delay || 0) * 1e3 + e.duration * 1e3 + 100);
304
301
  });
@@ -307,49 +304,29 @@ function Ee(e) {
307
304
  function st(e) {
308
305
  const t = Array.prototype.slice.call(document.getElementsByClassName(e.elementId || e.id || ""));
309
306
  if (!t.length) {
310
- se(e.elementId || e.id || "");
307
+ Ie(e.elementId || e.id || "");
311
308
  return;
312
309
  }
313
310
  Array.from(t).forEach((n) => {
314
- ce(e, n);
315
- const i = e.steps[0].styles, o = e.steps[1].styles;
316
- function r() {
317
- D(n.style, i);
318
- }
319
- function a() {
320
- D(n.style, o);
321
- }
322
- r(), n.addEventListener("mouseenter", a), n.addEventListener("mouseleave", r), setTimeout(() => {
323
- n.style.transition = `all ${e.duration}s ${le(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s");
324
- });
325
- });
326
- }
327
- function ct(e) {
328
- const t = Array.prototype.slice.call(document.getElementsByClassName(e.elementId || e.id || ""));
329
- if (!t.length) {
330
- se(e.elementId || e.id || "");
331
- return;
332
- }
333
- Array.from(t).forEach((n) => {
334
- ce(e, n);
311
+ Te(e, n);
335
312
  let i = !1, o = !1;
336
313
  function r() {
337
314
  !i && l(n) ? (i = !0, o = !0, setTimeout(() => {
338
- D(n.style, e.steps[1].styles), e.repeat || document.removeEventListener("scroll", a), setTimeout(() => {
315
+ O(n.style, e.steps[1].styles), e.repeat || document.removeEventListener("scroll", a), setTimeout(() => {
339
316
  o = !1, e.repeat || (n.style.transition = "", n.style.transitionDelay = "");
340
317
  }, (e.duration + (e.delay || 0)) * 1e3 + 100);
341
- })) : e.repeat && i && !o && !l(n) && (i = !1, D(n.style, e.steps[0].styles));
318
+ })) : e.repeat && i && !o && !l(n) && (i = !1, O(n.style, e.steps[0].styles));
342
319
  }
343
320
  const a = at(r, 200, {
344
321
  leading: !1
345
322
  });
346
323
  function l(m) {
347
- const f = m.getBoundingClientRect(), g = window.innerHeight, S = (e.thresholdPercent || 0) / 100 * g;
348
- return f.bottom > S && f.top < g - S;
324
+ const f = m.getBoundingClientRect(), g = window.innerHeight, x = (e.thresholdPercent || 0) / 100 * g;
325
+ return f.bottom > x && f.top < g - x;
349
326
  }
350
327
  const d = e.steps[0].styles;
351
328
  function c() {
352
- D(n.style, d);
329
+ O(n.style, d);
353
330
  }
354
331
  c(), setTimeout(() => {
355
332
  n.style.transition = `all ${e.duration}s ${le(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s");
@@ -359,31 +336,31 @@ function ct(e) {
359
336
  }), r();
360
337
  });
361
338
  }
362
- const dt = (e) => e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase(), Re = (e) => Object.entries(e).map(([n, i]) => {
339
+ const ct = (e) => e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase(), Re = (e) => Object.entries(e).map(([n, i]) => {
363
340
  if (typeof i == "string")
364
- return `${dt(n)}: ${i};`;
365
- }).filter(J), ut = (e) => Re(e).join(`
366
- `), te = ({
341
+ return `${ct(n)}: ${i};`;
342
+ }).filter(Y), dt = (e) => Re(e).join(`
343
+ `), z = ({
367
344
  mediaQuery: e,
368
345
  className: t,
369
346
  styles: n
370
347
  }) => {
371
348
  const i = `.${t} {
372
- ${ut(n)}
349
+ ${dt(n)}
373
350
  }`;
374
351
  return e ? `${e} {
375
352
  ${i}
376
353
  }` : i;
377
354
  };
378
- function mt({
355
+ function ut({
379
356
  style: e
380
357
  }) {
381
358
  return e;
382
359
  }
383
- const ft = ({
360
+ const mt = ({
384
361
  block: e,
385
362
  context: t
386
- }) => Pe(mt({
363
+ }) => Pe(ut({
387
364
  style: e.style || {},
388
365
  context: t,
389
366
  block: e
@@ -401,13 +378,13 @@ function Pe(e) {
401
378
  return e;
402
379
  }
403
380
  }
404
- const ht = ({
381
+ const ft = ({
405
382
  block: e,
406
383
  context: t,
407
384
  registeredComponents: n
408
385
  }) => {
409
386
  var r;
410
- const i = (r = Q({
387
+ const i = (r = X({
411
388
  block: e,
412
389
  localState: t.localState,
413
390
  rootState: t.rootState,
@@ -423,7 +400,7 @@ const ht = ({
423
400
  console.warn(`
424
401
  Could not find a registered component named "${i}".
425
402
  If you registered it, is the file that registered it imported by the file that needs to render it?`);
426
- }, gt = ({
403
+ }, ht = ({
427
404
  block: e,
428
405
  context: t
429
406
  }) => {
@@ -473,7 +450,7 @@ const ht = ({
473
450
  default: 991,
474
451
  max: 1200
475
452
  }
476
- }, he = (e, t = Ve) => `@media (max-width: ${t[e].max}px)`, Be = ({
453
+ }, me = (e, t = Ve) => `@media (max-width: ${t[e].max}px)`, Be = ({
477
454
  small: e,
478
455
  medium: t
479
456
  }) => {
@@ -500,7 +477,7 @@ const ht = ({
500
477
  default: r + 1
501
478
  }, n;
502
479
  };
503
- function Z(e) {
480
+ function ee(e) {
504
481
  return /* @__PURE__ */ s(
505
482
  "style",
506
483
  {
@@ -509,9 +486,9 @@ function Z(e) {
509
486
  }
510
487
  );
511
488
  }
512
- function bt(e) {
489
+ function gt(e) {
513
490
  function t() {
514
- const i = Q({
491
+ const i = X({
515
492
  block: e.block,
516
493
  localState: e.context.localState,
517
494
  rootState: e.context.rootState,
@@ -519,11 +496,11 @@ function bt(e) {
519
496
  context: e.context.context,
520
497
  shouldEvaluateBindings: !0
521
498
  });
522
- return J(i.hide) ? !i.hide : J(i.show) ? i.show : !0;
499
+ return Y(i.hide) ? !i.hide : Y(i.show) ? i.show : !0;
523
500
  }
524
501
  function n() {
525
- var S;
526
- const i = Q({
502
+ var w, E, p;
503
+ const i = X({
527
504
  block: e.block,
528
505
  localState: e.context.localState,
529
506
  rootState: e.context.rootState,
@@ -531,36 +508,55 @@ function bt(e) {
531
508
  context: e.context.context,
532
509
  shouldEvaluateBindings: !0
533
510
  }), o = i.responsiveStyles, r = e.context.content, a = Be(
534
- ((S = r == null ? void 0 : r.meta) == null ? void 0 : S.breakpoints) || {}
511
+ ((w = r == null ? void 0 : r.meta) == null ? void 0 : w.breakpoints) || {}
535
512
  ), l = o == null ? void 0 : o.large, d = o == null ? void 0 : o.medium, c = o == null ? void 0 : o.small, m = i.id;
536
513
  if (!m)
537
514
  return "";
538
- const f = l ? te({
515
+ const f = l ? z({
539
516
  className: m,
540
517
  styles: l
541
- }) : "", g = d ? te({
518
+ }) : "", g = d ? z({
542
519
  className: m,
543
520
  styles: d,
544
- mediaQuery: he(
521
+ mediaQuery: me(
545
522
  "medium",
546
523
  a
547
524
  )
548
- }) : "", y = c ? te({
525
+ }) : "", y = c ? z({
549
526
  className: m,
550
527
  styles: c,
551
- mediaQuery: he(
528
+ mediaQuery: me(
552
529
  "small",
553
530
  a
554
531
  )
555
- }) : "";
556
- return [f, g, y].join(" ");
532
+ }) : "", x = i.animations && i.animations.find((v) => v.trigger === "hover");
533
+ let k = "";
534
+ if (x) {
535
+ const v = ((p = (E = x.steps) == null ? void 0 : E[1]) == null ? void 0 : p.styles) || {};
536
+ k = z({
537
+ className: `${m}:hover`,
538
+ styles: {
539
+ ...v,
540
+ transition: `all ${x.duration}s ${le(
541
+ x.easing
542
+ )}`,
543
+ transitionDelay: x.delay ? `${x.delay}s` : "0s"
544
+ }
545
+ }) || "";
546
+ }
547
+ return [
548
+ f,
549
+ g,
550
+ y,
551
+ k
552
+ ].join(" ");
557
553
  }
558
- return /* @__PURE__ */ s(T, { children: n() && t() ? /* @__PURE__ */ s(T, { children: /* @__PURE__ */ s(Z, { id: "builderio-block", styles: n() }) }) : null });
554
+ return /* @__PURE__ */ s(T, { children: n() && t() ? /* @__PURE__ */ s(T, { children: /* @__PURE__ */ s(ee, { id: "builderio-block", styles: n() }) }) : null });
559
555
  }
560
- function yt(e) {
556
+ function bt(e) {
561
557
  return e.charAt(0).toUpperCase() + e.slice(1);
562
558
  }
563
- const pt = (e) => `on${yt(e)}`, xt = (e, t) => (n) => K({
559
+ const yt = (e) => `on${bt(e)}`, pt = (e, t) => (n) => K({
564
560
  code: e,
565
561
  context: t.context,
566
562
  localState: t.localState,
@@ -577,7 +573,7 @@ function We(e) {
577
573
  if (!n.hasOwnProperty(o))
578
574
  continue;
579
575
  const r = n[o];
580
- let a = pt(o);
576
+ let a = yt(o);
581
577
  if (e.stripPrefix)
582
578
  switch (q) {
583
579
  case "vue":
@@ -587,45 +583,45 @@ function We(e) {
587
583
  a = a.replace("on:", "");
588
584
  break;
589
585
  }
590
- t[a] = xt(r, e);
586
+ t[a] = pt(r, e);
591
587
  }
592
588
  return t;
593
589
  }
594
- function St({
590
+ function xt({
595
591
  properties: e
596
592
  }) {
597
593
  return e;
598
594
  }
599
- const vt = (e) => ({
595
+ const St = (e) => ({
600
596
  href: e.href
601
597
  });
602
- function de({
598
+ function se({
603
599
  block: e,
604
600
  context: t
605
601
  }) {
606
602
  var i;
607
603
  const n = {
608
- ...vt(e),
604
+ ...St(e),
609
605
  ...e.properties,
610
606
  "builder-id": e.id,
611
- style: ft({
607
+ style: mt({
612
608
  block: e,
613
609
  context: t
614
610
  }),
615
611
  [H()]: [e.id, "builder-block", e.class, (i = e.properties) == null ? void 0 : i.class].filter(Boolean).join(" ")
616
612
  };
617
- return St({
613
+ return xt({
618
614
  properties: n,
619
615
  context: t,
620
616
  block: e
621
617
  });
622
618
  }
623
- function kt(e) {
619
+ function vt(e) {
624
620
  return /* @__PURE__ */ s(
625
621
  ae,
626
622
  {
627
623
  TagName: e.Wrapper,
628
- attributes: de({
624
+ attributes: se({
629
625
  block: e.block,
630
626
  context: e.context
631
627
  }),
@@ -641,13 +637,13 @@ function kt(e) {
641
637
  }
642
638
  );
643
639
  }
644
- function Ct(e) {
640
+ function kt(e) {
645
641
  return /* @__PURE__ */ s(
646
642
  e.Wrapper,
647
643
  {
648
644
  ...e.wrapperProps,
649
645
  attributes: e.includeBlockProps ? {
650
- ...de({
646
+ ...se({
651
647
  block: e.block,
652
648
  context: e.context
653
649
  }),
@@ -663,7 +659,7 @@ function Ct(e) {
663
659
  }
664
660
  );
665
661
  }
666
- const wt = ({
662
+ const Ct = ({
667
663
  componentOptions: e,
668
664
  builderBlock: t,
669
665
  context: n,
@@ -679,7 +675,7 @@ const wt = ({
679
675
  * component itself directly. Otherwise, they are provided to the wrapper element.
680
676
  */
681
677
  ...o ? {
682
- attributes: de({
678
+ attributes: se({
683
679
  block: t,
684
680
  context: a
685
681
  })
@@ -693,15 +689,15 @@ const wt = ({
693
689
  includeBlockProps: o
694
690
  } : l;
695
691
  };
696
- function ge(e) {
692
+ function fe(e) {
697
693
  var i;
698
- const [t, n] = k(
699
- () => e.isInteractive ? Ct : e.componentRef
694
+ const [t, n] = I(
695
+ () => e.isInteractive ? kt : e.componentRef
700
696
  );
701
697
  return /* @__PURE__ */ s(T, { children: e.componentRef ? /* @__PURE__ */ s(T, { children: /* @__PURE__ */ s(
702
698
  t,
703
699
  {
704
- ...wt({
700
+ ...Ct({
705
701
  componentOptions: e.componentOptions,
706
702
  builderBlock: e.builderBlock,
707
703
  context: e.context,
@@ -724,8 +720,8 @@ function ge(e) {
724
720
  }
725
721
  ) }) : null });
726
722
  }
727
- function It(e) {
728
- const [t, n] = k(() => e.repeatContext);
723
+ function wt(e) {
724
+ const [t, n] = I(() => e.repeatContext);
729
725
  return /* @__PURE__ */ s(re.Provider, { value: t, children: /* @__PURE__ */ s(
730
726
  _,
731
727
  {
@@ -739,21 +735,21 @@ function It(e) {
739
735
  function _(e) {
740
736
  var d, c, m;
741
737
  function t() {
742
- return ht({
738
+ return ft({
743
739
  block: e.block,
744
740
  context: e.context,
745
741
  registeredComponents: e.registeredComponents
746
742
  });
747
743
  }
748
744
  function n() {
749
- return gt({
745
+ return ht({
750
746
  block: e.block,
751
747
  context: e.context
752
748
  });
753
749
  }
754
750
  function i() {
755
751
  var f;
756
- return (f = e.block.repeat) != null && f.collection ? e.block : Q({
752
+ return (f = e.block.repeat) != null && f.collection ? e.block : X({
757
753
  block: e.block,
758
754
  localState: e.context.localState,
759
755
  rootState: e.context.rootState,
@@ -767,9 +763,9 @@ function _(e) {
767
763
  return e.block.tagName === "a" || ((g = i().properties) == null ? void 0 : g.href) || i().href ? e.linkComponent || "a" : e.block.tagName || "div";
768
764
  }
769
765
  function r() {
770
- var y, S;
766
+ var y, x;
771
767
  if ((y = e.block.repeat) != null && y.collection)
772
- return !!((S = n == null ? void 0 : n()) != null && S.length);
768
+ return !!((x = n == null ? void 0 : n()) != null && x.length);
773
769
  const f = "hide" in i() ? i().hide : !1;
774
770
  return ("show" in i() ? i().show : !0) && !f;
775
771
  }
@@ -778,17 +774,17 @@ function _(e) {
778
774
  return !((g = t == null ? void 0 : t()) != null && g.component) && !n() ? (y = i().children) != null ? y : [] : [];
779
775
  }
780
776
  function l() {
781
- var f, g, y, S, C, I, R, p, w, P, E;
777
+ var f, g, y, x, k, w, E, p, v, P, R;
782
778
  return {
783
779
  blockChildren: (f = i().children) != null ? f : [],
784
780
  componentRef: (g = t == null ? void 0 : t()) == null ? void 0 : g.component,
785
781
  componentOptions: {
786
782
  ...Ze(i()),
787
783
  builderContext: e.context,
788
- ...((y = t == null ? void 0 : t()) == null ? void 0 : y.name) === "Core:Button" || ((S = t == null ? void 0 : t()) == null ? void 0 : S.name) === "Symbol" || ((C = t == null ? void 0 : t()) == null ? void 0 : C.name) === "Columns" || ((I = t == null ? void 0 : t()) == null ? void 0 : I.name) === "Form:Form" ? {
784
+ ...((y = t == null ? void 0 : t()) == null ? void 0 : y.name) === "Core:Button" || ((x = t == null ? void 0 : t()) == null ? void 0 : x.name) === "Symbol" || ((k = t == null ? void 0 : t()) == null ? void 0 : k.name) === "Columns" || ((w = t == null ? void 0 : t()) == null ? void 0 : w.name) === "Form:Form" ? {
789
785
  builderLinkComponent: e.linkComponent
790
786
  } : {},
791
- ...((R = t == null ? void 0 : t()) == null ? void 0 : R.name) === "Symbol" || ((p = t == null ? void 0 : t()) == null ? void 0 : p.name) === "Columns" || ((w = t == null ? void 0 : t()) == null ? void 0 : w.name) === "Form:Form" ? {
787
+ ...((E = t == null ? void 0 : t()) == null ? void 0 : E.name) === "Symbol" || ((p = t == null ? void 0 : t()) == null ? void 0 : p.name) === "Columns" || ((v = t == null ? void 0 : t()) == null ? void 0 : v.name) === "Form:Form" ? {
792
788
  builderComponents: e.registeredComponents
793
789
  } : {}
794
790
  },
@@ -797,21 +793,21 @@ function _(e) {
797
793
  registeredComponents: e.registeredComponents,
798
794
  builderBlock: i(),
799
795
  includeBlockProps: ((P = t == null ? void 0 : t()) == null ? void 0 : P.noWrap) === !0,
800
- isInteractive: !((E = t == null ? void 0 : t()) != null && E.isRSC)
796
+ isInteractive: !((R = t == null ? void 0 : t()) != null && R.isRSC)
801
797
  };
802
798
  }
803
799
  return V(() => {
804
800
  const f = i().id, g = i().animations;
805
801
  g && f && rt(
806
- g.filter((y) => y.trigger !== "hover").map((y) => ({
802
+ g.map((y) => ({
807
803
  ...y,
808
804
  elementId: f
809
805
  }))
810
806
  );
811
807
  }, []), /* @__PURE__ */ s(T, { children: r() ? /* @__PURE__ */ B(T, { children: [
812
- /* @__PURE__ */ s(bt, { block: e.block, context: e.context }),
808
+ /* @__PURE__ */ s(gt, { block: e.block, context: e.context }),
813
809
  (d = t == null ? void 0 : t()) != null && d.noWrap ? /* @__PURE__ */ s(T, { children: /* @__PURE__ */ s(
814
- ge,
810
+ fe,
815
811
  {
816
812
  componentRef: l().componentRef,
817
813
  componentOptions: l().componentOptions,
@@ -824,7 +820,7 @@ function _(e) {
824
820
  isInteractive: l().isInteractive
825
821
  }
826
822
  ) }) : /* @__PURE__ */ s(T, { children: n() ? /* @__PURE__ */ s(T, { children: (m = n()) == null ? void 0 : m.map((f, g) => /* @__PURE__ */ s(
827
- It,
823
+ wt,
828
824
  {
829
825
  repeatContext: f.context,
830
826
  block: f.block,
@@ -833,7 +829,7 @@ function _(e) {
833
829
  },
834
830
  g
835
831
  )) }) : /* @__PURE__ */ B(
836
- kt,
832
+ vt,
837
833
  {
838
834
  Wrapper: o(),
839
835
  block: i(),
@@ -841,7 +837,7 @@ function _(e) {
841
837
  linkComponent: e.linkComponent,
842
838
  children: [
843
839
  /* @__PURE__ */ s(
844
- ge,
840
+ fe,
845
841
  {
846
842
  componentRef: l().componentRef,
847
843
  componentOptions: l().componentOptions,
@@ -869,14 +865,14 @@ function _(e) {
869
865
  ) })
870
866
  ] }) : null });
871
867
  }
872
- function Tt(e) {
868
+ function It(e) {
873
869
  function t() {
874
870
  var o;
875
871
  return "builder-blocks" + ((o = e.blocks) != null && o.length ? "" : " no-blocks");
876
872
  }
877
873
  function n() {
878
874
  var o, r;
879
- F() && !((o = e.blocks) != null && o.length) && ((r = window.parent) == null || r.postMessage(
875
+ A() && !((o = e.blocks) != null && o.length) && ((r = window.parent) == null || r.postMessage(
880
876
  {
881
877
  type: "builder.clickEmptyBlocks",
882
878
  data: {
@@ -889,7 +885,7 @@ function Tt(e) {
889
885
  }
890
886
  function i() {
891
887
  var o, r;
892
- F() && !((o = e.blocks) != null && o.length) && ((r = window.parent) == null || r.postMessage(
888
+ A() && !((o = e.blocks) != null && o.length) && ((r = window.parent) == null || r.postMessage(
893
889
  {
894
890
  type: "builder.hoverEmptyBlocks",
895
891
  data: {
@@ -922,11 +918,11 @@ function Tt(e) {
922
918
  }` })
923
919
  ] });
924
920
  }
925
- function O(e) {
921
+ function j(e) {
926
922
  var i, o, r;
927
- const t = fe(re), n = fe(Ie);
923
+ const t = ue(re), n = ue(Ce);
928
924
  return /* @__PURE__ */ s(
929
- Tt,
925
+ It,
930
926
  {
931
927
  blocks: e.blocks,
932
928
  parent: e.parent,
@@ -947,34 +943,34 @@ function O(e) {
947
943
  }
948
944
  );
949
945
  }
950
- function Et(e) {
951
- var R;
952
- const [t, n] = k(
946
+ function Tt(e) {
947
+ var E;
948
+ const [t, n] = I(
953
949
  () => typeof e.space == "number" ? e.space || 0 : 20
954
- ), [i, o] = k(() => e.columns || []), [r, a] = k(
950
+ ), [i, o] = I(() => e.columns || []), [r, a] = I(
955
951
  () => e.stackColumnsAt || "tablet"
956
952
  );
957
953
  function l(p) {
958
- var w;
959
- return ((w = i[p]) == null ? void 0 : w.width) || 100 / i.length;
954
+ var v;
955
+ return ((v = i[p]) == null ? void 0 : v.width) || 100 / i.length;
960
956
  }
961
957
  function d(p) {
962
- const w = t * (i.length - 1) / i.length;
963
- return `calc(${l(p)}% - ${w}px)`;
958
+ const v = t * (i.length - 1) / i.length;
959
+ return `calc(${l(p)}% - ${v}px)`;
964
960
  }
965
961
  function c({
966
962
  stackedStyle: p,
967
- desktopStyle: w
963
+ desktopStyle: v
968
964
  }) {
969
- return r === "tablet" ? p : w;
965
+ return r === "tablet" ? p : v;
970
966
  }
971
967
  function m({
972
968
  stackedStyle: p,
973
- desktopStyle: w
969
+ desktopStyle: v
974
970
  }) {
975
- return r === "never" ? w : p;
971
+ return r === "never" ? v : p;
976
972
  }
977
- const [f, g] = k(
973
+ const [f, g] = I(
978
974
  () => e.stackColumnsAt === "never" ? "row" : e.reverseColumnsWhenStacked ? "column-reverse" : "column"
979
975
  );
980
976
  function y() {
@@ -986,8 +982,8 @@ function Et(e) {
986
982
  })
987
983
  };
988
984
  }
989
- function S(p) {
990
- const w = p === 0 ? 0 : t, P = d(p), E = `${w}px`, $ = "100%", L = 0;
985
+ function x(p) {
986
+ const v = p === 0 ? 0 : t, P = d(p), R = `${v}px`, F = "100%", L = 0;
991
987
  return {
992
988
  ...{
993
989
  display: "flex",
@@ -995,34 +991,34 @@ function Et(e) {
995
991
  alignItems: "stretch"
996
992
  },
997
993
  width: P,
998
- ["marginLeft"]: E,
994
+ ["marginLeft"]: R,
999
995
  "--column-width-mobile": m({
1000
- stackedStyle: $,
996
+ stackedStyle: F,
1001
997
  desktopStyle: P
1002
998
  }),
1003
999
  "--column-margin-left-mobile": m({
1004
1000
  stackedStyle: L,
1005
- desktopStyle: E
1001
+ desktopStyle: R
1006
1002
  }),
1007
1003
  "--column-width-tablet": c({
1008
- stackedStyle: $,
1004
+ stackedStyle: F,
1009
1005
  desktopStyle: P
1010
1006
  }),
1011
1007
  "--column-margin-left-tablet": c({
1012
1008
  stackedStyle: L,
1013
- desktopStyle: E
1009
+ desktopStyle: R
1014
1010
  })
1015
1011
  };
1016
1012
  }
1017
- function C(p) {
1018
- var P, E;
1013
+ function k(p) {
1014
+ var P, R;
1019
1015
  return Be(
1020
- ((E = (P = e.builderContext.content) == null ? void 0 : P.meta) == null ? void 0 : E.breakpoints) || {}
1016
+ ((R = (P = e.builderContext.content) == null ? void 0 : P.meta) == null ? void 0 : R.breakpoints) || {}
1021
1017
  )[p].max;
1022
1018
  }
1023
- function I() {
1019
+ function w() {
1024
1020
  return `
1025
- @media (max-width: ${C("medium")}px) {
1021
+ @media (max-width: ${k("medium")}px) {
1026
1022
  .${e.builderBlock.id}-breakpoints {
1027
1023
  flex-direction: var(--flex-dir-tablet);
1028
1024
  align-items: stretch;
@@ -1034,7 +1030,7 @@ function Et(e) {
1034
1030
  }
1035
1031
  }
1036
1032
 
1037
- @media (max-width: ${C("small")}px) {
1033
+ @media (max-width: ${k("small")}px) {
1038
1034
  .${e.builderBlock.id}-breakpoints {
1039
1035
  flex-direction: var(--flex-dir);
1040
1036
  align-items: stretch;
@@ -1054,8 +1050,8 @@ function Et(e) {
1054
1050
  className: `builder-columns ${e.builderBlock.id}-breakpoints div-003f4b1c`,
1055
1051
  style: y(),
1056
1052
  children: [
1057
- /* @__PURE__ */ s(Z, { id: "builderio-columns", styles: I() }),
1058
- (R = e.columns) == null ? void 0 : R.map((p, w) => /* @__PURE__ */ s(
1053
+ /* @__PURE__ */ s(ee, { id: "builderio-columns", styles: w() }),
1054
+ (E = e.columns) == null ? void 0 : E.map((p, v) => /* @__PURE__ */ s(
1059
1055
  ae,
1060
1056
  {
1061
1057
  TagName: p.link ? e.builderLinkComponent || "a" : "div",
@@ -1065,12 +1061,12 @@ function Et(e) {
1065
1061
  href: p.link
1066
1062
  } : {},
1067
1063
  [H()]: "builder-column",
1068
- style: Pe(S(w))
1064
+ style: Pe(x(v))
1069
1065
  },
1070
1066
  children: /* @__PURE__ */ s(
1071
- O,
1067
+ j,
1072
1068
  {
1073
- path: `component.options.columns.${w}.blocks`,
1069
+ path: `component.options.columns.${v}.blocks`,
1074
1070
  parent: e.builderBlock.id,
1075
1071
  styleProp: {
1076
1072
  flexGrow: "1"
@@ -1082,7 +1078,7 @@ function Et(e) {
1082
1078
  }
1083
1079
  )
1084
1080
  },
1085
- w
1081
+ v
1086
1082
  ))
1087
1083
  ]
1088
1084
  }
@@ -1093,25 +1089,25 @@ function Et(e) {
1093
1089
  }` })
1094
1090
  ] });
1095
1091
  }
1096
- function Rt(e) {
1092
+ function Et(e) {
1097
1093
  return /* @__PURE__ */ s("span", { children: e.children });
1098
1094
  }
1099
- function be(e) {
1095
+ function he(e) {
1100
1096
  return e.replace(/http(s)?:/, "");
1101
1097
  }
1102
- function Pt(e = "", t, n) {
1098
+ function Rt(e = "", t, n) {
1103
1099
  const i = new RegExp("([?&])" + t + "=.*?(&|$)", "i"), o = e.indexOf("?") !== -1 ? "&" : "?";
1104
1100
  return e.match(i) ? e.replace(i, "$1" + t + "=" + encodeURIComponent(n) + "$2") : e + o + t + "=" + encodeURIComponent(n);
1105
1101
  }
1106
- function Vt(e, t) {
1102
+ function Pt(e, t) {
1107
1103
  if (!e || !(e != null && e.match(/cdn\.shopify\.com/)) || !t)
1108
1104
  return e;
1109
1105
  if (t === "master")
1110
- return be(e);
1106
+ return he(e);
1111
1107
  const n = e.match(/(_\d+x(\d+)?)?(\.(jpg|jpeg|gif|png|bmp|bitmap|tiff|tif)(\?v=\d+)?)/i);
1112
1108
  if (n) {
1113
1109
  const i = e.split(n[0]), o = n[3], r = t.match("x") ? t : `${t}x`;
1114
- return be(`${i[0]}_${r}${o}`);
1110
+ return he(`${i[0]}_${r}${o}`);
1115
1111
  }
1116
1112
  return null;
1117
1113
  }
@@ -1122,11 +1118,11 @@ function ne(e) {
1122
1118
  if (e.match(/builder\.io/)) {
1123
1119
  let n = e;
1124
1120
  const i = Number(e.split("?width=")[1]);
1125
- return isNaN(i) || (n = `${n} ${i}w`), t.filter((o) => o !== i).map((o) => `${Pt(e, "width", o)} ${o}w`).concat([n]).join(", ");
1121
+ return isNaN(i) || (n = `${n} ${i}w`), t.filter((o) => o !== i).map((o) => `${Rt(e, "width", o)} ${o}w`).concat([n]).join(", ");
1126
1122
  }
1127
- return e.match(/cdn\.shopify\.com/) ? t.map((n) => [Vt(e, `${n}x${n}`), n]).filter(([n]) => !!n).map(([n, i]) => `${n} ${i}w`).concat([e]).join(", ") : e;
1123
+ return e.match(/cdn\.shopify\.com/) ? t.map((n) => [Pt(e, `${n}x${n}`), n]).filter(([n]) => !!n).map(([n, i]) => `${n} ${i}w`).concat([e]).join(", ") : e;
1128
1124
  }
1129
- function Bt(e) {
1125
+ function Vt(e) {
1130
1126
  var o, r, a, l;
1131
1127
  function t() {
1132
1128
  var m;
@@ -1209,7 +1205,7 @@ function Bt(e) {
1209
1205
  }` })
1210
1206
  ] });
1211
1207
  }
1212
- function Wt(e) {
1208
+ function Bt(e) {
1213
1209
  return /* @__PURE__ */ s(
1214
1210
  "section",
1215
1211
  {
@@ -1230,7 +1226,7 @@ function Wt(e) {
1230
1226
  }
1231
1227
  );
1232
1228
  }
1233
- const Nt = {
1229
+ const Wt = {
1234
1230
  name: "Core:Button",
1235
1231
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F81a15681c3e74df09677dfc57a615b13",
1236
1232
  defaultStyles: {
@@ -1263,7 +1259,7 @@ const Nt = {
1263
1259
  }],
1264
1260
  static: !0,
1265
1261
  noWrap: !0
1266
- }, At = {
1262
+ }, Nt = {
1267
1263
  // TODO: ways to statically preprocess JSON for references, functions, etc
1268
1264
  name: "Columns",
1269
1265
  isRSC: !0,
@@ -1464,7 +1460,7 @@ const Nt = {
1464
1460
  helperText: "When stacking columns for mobile devices, reverse the ordering",
1465
1461
  advanced: !0
1466
1462
  }]
1467
- }, Ft = {
1463
+ }, At = {
1468
1464
  name: "Fragment",
1469
1465
  static: !0,
1470
1466
  hidden: !0,
@@ -1570,7 +1566,7 @@ const Nt = {
1570
1566
  advanced: !0,
1571
1567
  defaultValue: 0.7041
1572
1568
  }]
1573
- }, Lt = {
1569
+ }, Ft = {
1574
1570
  name: "Core:Section",
1575
1571
  static: !0,
1576
1572
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F682efef23ace49afac61748dd305c70a",
@@ -1609,7 +1605,7 @@ const Nt = {
1609
1605
  }
1610
1606
  }
1611
1607
  }]
1612
- }, Dt = {
1608
+ }, Lt = {
1613
1609
  name: "Slot",
1614
1610
  isRSC: !0,
1615
1611
  description: "Allow child blocks to be inserted into this content when used as a Symbol",
@@ -1623,7 +1619,7 @@ const Nt = {
1623
1619
  defaultValue: "children"
1624
1620
  }]
1625
1621
  };
1626
- function Mt(e) {
1622
+ function Dt(e) {
1627
1623
  var t, n, i;
1628
1624
  return /* @__PURE__ */ s(
1629
1625
  "div",
@@ -1635,7 +1631,7 @@ function Mt(e) {
1635
1631
  "builder-slot": e.name
1636
1632
  },
1637
1633
  children: /* @__PURE__ */ s(
1638
- O,
1634
+ j,
1639
1635
  {
1640
1636
  parent: (n = e.builderContext.context) == null ? void 0 : n.symbolId,
1641
1637
  path: `symbol.data.${e.name}`,
@@ -1646,7 +1642,7 @@ function Mt(e) {
1646
1642
  }
1647
1643
  );
1648
1644
  }
1649
- const jt = {
1645
+ const Mt = {
1650
1646
  name: "Symbol",
1651
1647
  noWrap: !0,
1652
1648
  static: !0,
@@ -1679,7 +1675,7 @@ const jt = {
1679
1675
  hideFromUI: !0,
1680
1676
  type: "boolean"
1681
1677
  }]
1682
- }, Ot = {
1678
+ }, jt = {
1683
1679
  name: "Text",
1684
1680
  static: !0,
1685
1681
  isRSC: !0,
@@ -1698,7 +1694,7 @@ const jt = {
1698
1694
  textAlign: "center"
1699
1695
  }
1700
1696
  };
1701
- function Ut(e) {
1697
+ function Ot(e) {
1702
1698
  var t;
1703
1699
  return /* @__PURE__ */ s(
1704
1700
  "div",
@@ -1711,7 +1707,7 @@ function Ut(e) {
1711
1707
  }
1712
1708
  );
1713
1709
  }
1714
- const Ht = {
1710
+ const Ut = {
1715
1711
  name: "Custom Code",
1716
1712
  static: !0,
1717
1713
  requiredPermissions: ["editCode"],
@@ -1734,8 +1730,8 @@ const Ht = {
1734
1730
  advanced: !0
1735
1731
  }]
1736
1732
  };
1737
- function Kt(e) {
1738
- const t = X(null), [n, i] = k(() => []), [o, r] = k(() => []);
1733
+ function Ht(e) {
1734
+ const t = Z(null), [n, i] = I(() => []), [o, r] = I(() => []);
1739
1735
  return V(() => {
1740
1736
  var l;
1741
1737
  if (!((l = t.current) != null && l.getElementsByTagName) || typeof window == "undefined")
@@ -1772,7 +1768,7 @@ function Kt(e) {
1772
1768
  }
1773
1769
  );
1774
1770
  }
1775
- const qt = {
1771
+ const Kt = {
1776
1772
  name: "Embed",
1777
1773
  static: !0,
1778
1774
  inputs: [{
@@ -1797,9 +1793,9 @@ const qt = {
1797
1793
  defaultValue: '<div style="padding: 20px; text-align: center">(Choose an embed URL)<div>',
1798
1794
  hideFromUI: !0
1799
1795
  }]
1800
- }, _t = ["text/javascript", "application/javascript", "application/ecmascript"], zt = (e) => _t.includes(e.type);
1801
- function Jt(e) {
1802
- const t = X(null), [n, i] = k(() => []), [o, r] = k(() => []), [a, l] = k(() => !1);
1796
+ }, qt = ["text/javascript", "application/javascript", "application/ecmascript"], _t = (e) => qt.includes(e.type);
1797
+ function zt(e) {
1798
+ const t = Z(null), [n, i] = I(() => []), [o, r] = I(() => []), [a, l] = I(() => !1);
1803
1799
  function d() {
1804
1800
  if (!t.current || !t.current.getElementsByTagName)
1805
1801
  return;
@@ -1810,7 +1806,7 @@ function Jt(e) {
1810
1806
  n.push(f.src);
1811
1807
  const g = document.createElement("script");
1812
1808
  g.async = !0, g.src = f.src, document.head.appendChild(g);
1813
- } else if (zt(f) && !o.includes(f.innerText))
1809
+ } else if (_t(f) && !o.includes(f.innerText))
1814
1810
  try {
1815
1811
  o.push(f.innerText), new Function(f.innerText)();
1816
1812
  } catch (g) {
@@ -1829,7 +1825,7 @@ function Jt(e) {
1829
1825
  }
1830
1826
  );
1831
1827
  }
1832
- const Yt = {
1828
+ const Jt = {
1833
1829
  name: "Form:Form",
1834
1830
  // editableTags: ['builder-form-error']
1835
1831
  defaults: {
@@ -2060,50 +2056,50 @@ const Yt = {
2060
2056
  }
2061
2057
  }
2062
2058
  }]
2063
- }, Gt = ["production", "qa", "test", "development", "dev", "cdn-qa", "cloud", "fast", "cdn2", "cdn-prod"], Qt = () => {
2059
+ }, Yt = ["production", "qa", "test", "development", "dev", "cdn-qa", "cloud", "fast", "cdn2", "cdn-prod"], Gt = () => {
2064
2060
  const e = process.env.NODE_ENV || "production";
2065
- return Gt.includes(e) ? e : "production";
2066
- }, Xt = (e, t, n) => {
2061
+ return Yt.includes(e) ? e : "production";
2062
+ }, Qt = (e, t, n) => {
2067
2063
  const i = String.prototype.split.call(t, /[,[\].]+?/).filter(Boolean).reduce((o, r) => o != null ? o[r] : o, e);
2068
2064
  return i === void 0 || i === e ? n : i;
2069
2065
  };
2070
- function Zt(e) {
2066
+ function Xt(e) {
2071
2067
  var f, g;
2072
- const t = X(null), [n, i] = k(() => "unsubmitted"), [o, r] = k(() => null), [a, l] = k(() => "");
2068
+ const t = Z(null), [n, i] = I(() => "unsubmitted"), [o, r] = I(() => null), [a, l] = I(() => "");
2073
2069
  function d(y) {
2074
- var C, I;
2075
- const S = {
2070
+ var k, w;
2071
+ const x = {
2076
2072
  ...e.builderContext.rootState,
2077
2073
  ...y
2078
2074
  };
2079
- e.builderContext.rootSetState ? (I = (C = e.builderContext).rootSetState) == null || I.call(C, S) : e.builderContext.rootState = S;
2075
+ e.builderContext.rootSetState ? (w = (k = e.builderContext).rootSetState) == null || w.call(k, x) : e.builderContext.rootState = x;
2080
2076
  }
2081
2077
  function c() {
2082
- return F() && e.previewState || n;
2078
+ return A() && e.previewState || n;
2083
2079
  }
2084
2080
  function m(y) {
2085
- var C;
2086
- const S = e.sendWithJs || e.sendSubmissionsTo === "email";
2081
+ var k;
2082
+ const x = e.sendWithJs || e.sendSubmissionsTo === "email";
2087
2083
  if (e.sendSubmissionsTo === "zapier")
2088
2084
  y.preventDefault();
2089
- else if (S) {
2085
+ else if (x) {
2090
2086
  if (!(e.action || e.sendSubmissionsTo === "email")) {
2091
2087
  y.preventDefault();
2092
2088
  return;
2093
2089
  }
2094
2090
  y.preventDefault();
2095
- const I = y.currentTarget, R = e.customHeaders || {};
2091
+ const w = y.currentTarget, E = e.customHeaders || {};
2096
2092
  let p;
2097
- const w = new FormData(I), P = Array.from(
2093
+ const v = new FormData(w), P = Array.from(
2098
2094
  y.currentTarget.querySelectorAll("input,select,textarea")
2099
2095
  ).filter((u) => !!u.name).map((u) => {
2100
2096
  let h;
2101
- const v = u.name;
2097
+ const C = u.name;
2102
2098
  if (u instanceof HTMLInputElement)
2103
2099
  if (u.type === "radio") {
2104
2100
  if (u.checked)
2105
2101
  return h = u.name, {
2106
- key: v,
2102
+ key: C,
2107
2103
  value: h
2108
2104
  };
2109
2105
  } else if (u.type === "checkbox")
@@ -2116,38 +2112,38 @@ function Zt(e) {
2116
2112
  else
2117
2113
  h = u.value;
2118
2114
  return {
2119
- key: v,
2115
+ key: C,
2120
2116
  value: h
2121
2117
  };
2122
2118
  });
2123
- let E = e.contentType;
2124
- if (e.sendSubmissionsTo === "email" && (E = "multipart/form-data"), Array.from(P).forEach(({ value: u }) => {
2125
- (u instanceof File || Array.isArray(u) && u[0] instanceof File || u instanceof FileList) && (E = "multipart/form-data");
2126
- }), E !== "application/json")
2127
- p = w;
2119
+ let R = e.contentType;
2120
+ if (e.sendSubmissionsTo === "email" && (R = "multipart/form-data"), Array.from(P).forEach(({ value: u }) => {
2121
+ (u instanceof File || Array.isArray(u) && u[0] instanceof File || u instanceof FileList) && (R = "multipart/form-data");
2122
+ }), R !== "application/json")
2123
+ p = v;
2128
2124
  else {
2129
2125
  const u = {};
2130
- Array.from(P).forEach(({ value: h, key: v }) => {
2131
- we(u, v, h);
2126
+ Array.from(P).forEach(({ value: h, key: C }) => {
2127
+ ke(u, C, h);
2132
2128
  }), p = JSON.stringify(u);
2133
2129
  }
2134
- E && E !== "multipart/form-data" && (S && ((C = e.action) != null && C.includes("zapier.com")) || (R["content-type"] = E));
2135
- const $ = new CustomEvent("presubmit", { detail: { body: p } });
2136
- if (t.current && (t.current.dispatchEvent($), $.defaultPrevented))
2130
+ R && R !== "multipart/form-data" && (x && ((k = e.action) != null && k.includes("zapier.com")) || (E["content-type"] = R));
2131
+ const F = new CustomEvent("presubmit", { detail: { body: p } });
2132
+ if (t.current && (t.current.dispatchEvent(F), F.defaultPrevented))
2137
2133
  return;
2138
2134
  i("sending");
2139
- const L = `${Qt() === "dev" ? "http://localhost:5000" : "https://builder.io"}/api/v1/form-submit?apiKey=${e.builderContext.apiKey}&to=${btoa(
2135
+ const L = `${Gt() === "dev" ? "http://localhost:5000" : "https://builder.io"}/api/v1/form-submit?apiKey=${e.builderContext.apiKey}&to=${btoa(
2140
2136
  e.sendSubmissionsToEmail || ""
2141
2137
  )}&name=${encodeURIComponent(e.name || "")}`;
2142
2138
  fetch(
2143
2139
  e.sendSubmissionsTo === "email" ? L : e.action,
2144
- { body: p, headers: R, method: e.method || "post" }
2140
+ { body: p, headers: E, method: e.method || "post" }
2145
2141
  ).then(
2146
2142
  async (u) => {
2147
2143
  let h;
2148
- const v = u.headers.get("content-type");
2149
- if (v && v.indexOf("application/json") !== -1 ? h = await u.json() : h = await u.text(), !u.ok && e.errorMessagePath) {
2150
- let b = Xt(h, e.errorMessagePath);
2144
+ const C = u.headers.get("content-type");
2145
+ if (C && C.indexOf("application/json") !== -1 ? h = await u.json() : h = await u.text(), !u.ok && e.errorMessagePath) {
2146
+ let b = Qt(h, e.errorMessagePath);
2151
2147
  b && (typeof b != "string" && (b = JSON.stringify(b)), l(b), d({ formErrorMessage: b }));
2152
2148
  }
2153
2149
  if (r(h), i(u.ok ? "success" : "error"), u.ok) {
@@ -2161,10 +2157,10 @@ function Zt(e) {
2161
2157
  }
2162
2158
  if (e.successUrl)
2163
2159
  if (t.current) {
2164
- const x = new CustomEvent("route", {
2160
+ const S = new CustomEvent("route", {
2165
2161
  detail: { url: e.successUrl }
2166
2162
  });
2167
- t.current.dispatchEvent(x), x.defaultPrevented || (location.href = e.successUrl);
2163
+ t.current.dispatchEvent(S), S.defaultPrevented || (location.href = e.successUrl);
2168
2164
  } else
2169
2165
  location.href = e.successUrl;
2170
2166
  }
@@ -2191,7 +2187,7 @@ function Zt(e) {
2191
2187
  onSubmit: (y) => m(y),
2192
2188
  ...e.attributes,
2193
2189
  children: [
2194
- e.builderBlock && e.builderBlock.children ? /* @__PURE__ */ s(T, { children: (g = (f = e.builderBlock) == null ? void 0 : f.children) == null ? void 0 : g.map((y, S) => /* @__PURE__ */ s(
2190
+ e.builderBlock && e.builderBlock.children ? /* @__PURE__ */ s(T, { children: (g = (f = e.builderBlock) == null ? void 0 : f.children) == null ? void 0 : g.map((y, x) => /* @__PURE__ */ s(
2195
2191
  _,
2196
2192
  {
2197
2193
  block: y,
@@ -2199,10 +2195,10 @@ function Zt(e) {
2199
2195
  registeredComponents: e.builderComponents,
2200
2196
  linkComponent: e.builderLinkComponent
2201
2197
  },
2202
- `form-block-${S}`
2198
+ `form-block-${x}`
2203
2199
  )) }) : null,
2204
2200
  c() === "error" ? /* @__PURE__ */ s(
2205
- O,
2201
+ j,
2206
2202
  {
2207
2203
  path: "errorMessage",
2208
2204
  blocks: e.errorMessage,
@@ -2210,7 +2206,7 @@ function Zt(e) {
2210
2206
  }
2211
2207
  ) : null,
2212
2208
  c() === "sending" ? /* @__PURE__ */ s(
2213
- O,
2209
+ j,
2214
2210
  {
2215
2211
  path: "sendingMessage",
2216
2212
  blocks: e.sendingMessage,
@@ -2219,7 +2215,7 @@ function Zt(e) {
2219
2215
  ) : null,
2220
2216
  c() === "error" && o ? /* @__PURE__ */ s("pre", { className: "builder-form-error-text pre-31bf8a14", children: JSON.stringify(o, null, 2) }) : null,
2221
2217
  c() === "success" ? /* @__PURE__ */ s(
2222
- O,
2218
+ j,
2223
2219
  {
2224
2220
  path: "successMessage",
2225
2221
  blocks: e.successMessage,
@@ -2234,7 +2230,7 @@ function Zt(e) {
2234
2230
  " "
2235
2231
  ] });
2236
2232
  }
2237
- const en = {
2233
+ const Zt = {
2238
2234
  name: "Form:Input",
2239
2235
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fad6f37889d9e40bbbbc72cdb5875d6ca",
2240
2236
  inputs: [
@@ -2286,12 +2282,12 @@ const en = {
2286
2282
  borderColor: "#ccc"
2287
2283
  }
2288
2284
  };
2289
- function tn(e) {
2290
- return /* @__PURE__ */ Ce(
2285
+ function en(e) {
2286
+ return /* @__PURE__ */ ve(
2291
2287
  "input",
2292
2288
  {
2293
2289
  ...e.attributes,
2294
- key: F() && e.defaultValue ? e.defaultValue : "default-key",
2290
+ key: A() && e.defaultValue ? e.defaultValue : "default-key",
2295
2291
  placeholder: e.placeholder,
2296
2292
  type: e.type,
2297
2293
  name: e.name,
@@ -2301,7 +2297,7 @@ function tn(e) {
2301
2297
  }
2302
2298
  );
2303
2299
  }
2304
- const nn = {
2300
+ const tn = {
2305
2301
  name: "Form:Select",
2306
2302
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F83acca093fb24aaf94dee136e9a4b045",
2307
2303
  defaultStyles: {
@@ -2344,21 +2340,21 @@ const nn = {
2344
2340
  static: !0,
2345
2341
  noWrap: !0
2346
2342
  };
2347
- function on(e) {
2343
+ function nn(e) {
2348
2344
  var t;
2349
- return /* @__PURE__ */ Ce(
2345
+ return /* @__PURE__ */ ve(
2350
2346
  "select",
2351
2347
  {
2352
2348
  ...e.attributes,
2353
2349
  value: e.value,
2354
- key: F() && e.defaultValue ? e.defaultValue : "default-key",
2350
+ key: A() && e.defaultValue ? e.defaultValue : "default-key",
2355
2351
  defaultValue: e.defaultValue,
2356
2352
  name: e.name
2357
2353
  },
2358
2354
  (t = e.options) == null ? void 0 : t.map((n, i) => /* @__PURE__ */ s("option", { value: n.value, children: n.name || n.value }, `${n.name}-${i}`))
2359
2355
  );
2360
2356
  }
2361
- const an = {
2357
+ const on = {
2362
2358
  name: "Form:SubmitButton",
2363
2359
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fdf2820ffed1f4349a94c40b3221f5b98",
2364
2360
  defaultStyles: {
@@ -2384,10 +2380,10 @@ const an = {
2384
2380
  // TODO: defaultChildren
2385
2381
  // canHaveChildren: true,
2386
2382
  };
2387
- function rn(e) {
2383
+ function an(e) {
2388
2384
  return /* @__PURE__ */ s("button", { type: "submit", ...e.attributes, children: e.text });
2389
2385
  }
2390
- const ln = {
2386
+ const rn = {
2391
2387
  // friendlyName?
2392
2388
  name: "Raw:Img",
2393
2389
  hideFromInsertMenu: !0,
@@ -2402,7 +2398,7 @@ const ln = {
2402
2398
  noWrap: !0,
2403
2399
  static: !0
2404
2400
  };
2405
- function sn(e) {
2401
+ function ln(e) {
2406
2402
  return /* @__PURE__ */ s(
2407
2403
  "img",
2408
2404
  {
@@ -2414,10 +2410,10 @@ function sn(e) {
2414
2410
  src: e.imgSrc || e.image,
2415
2411
  ...e.attributes
2416
2412
  },
2417
- F() && e.imgSrc || "default-key"
2413
+ A() && e.imgSrc || "default-key"
2418
2414
  );
2419
2415
  }
2420
- const cn = {
2416
+ const sn = {
2421
2417
  name: "Video",
2422
2418
  canHaveChildren: !0,
2423
2419
  defaultStyles: {
@@ -2499,7 +2495,7 @@ const cn = {
2499
2495
  advanced: !0
2500
2496
  }]
2501
2497
  };
2502
- function dn(e) {
2498
+ function cn(e) {
2503
2499
  var i, o, r, a, l, d, c;
2504
2500
  function t() {
2505
2501
  return {
@@ -2600,55 +2596,55 @@ function dn(e) {
2600
2596
  }
2601
2597
  );
2602
2598
  }
2603
- const un = () => [{
2604
- component: Kt,
2605
- ...Ht
2599
+ const dn = () => [{
2600
+ component: Ht,
2601
+ ...Ut
2606
2602
  }, {
2607
- component: Jt,
2608
- ...qt
2603
+ component: zt,
2604
+ ...Kt
2609
2605
  }, {
2610
- component: Zt,
2611
- ...Yt
2606
+ component: Xt,
2607
+ ...Jt
2612
2608
  }, {
2613
- component: tn,
2614
- ...en
2609
+ component: en,
2610
+ ...Zt
2615
2611
  }, {
2616
- component: rn,
2617
- ...an
2612
+ component: an,
2613
+ ...on
2618
2614
  }, {
2619
- component: on,
2620
- ...nn
2615
+ component: nn,
2616
+ ...tn
2621
2617
  }, {
2622
- component: sn,
2623
- ...ln
2618
+ component: ln,
2619
+ ...rn
2624
2620
  }, {
2625
- component: dn,
2626
- ...cn
2627
- }], ye = () => [{
2621
+ component: cn,
2622
+ ...sn
2623
+ }], ge = () => [{
2628
2624
  component: Xe,
2625
+ ...Wt
2626
+ }, {
2627
+ component: Tt,
2629
2628
  ...Nt
2630
2629
  }, {
2631
2630
  component: Et,
2632
2631
  ...At
2633
2632
  }, {
2634
- component: Rt,
2635
- ...Ft
2633
+ component: Vt,
2634
+ ...$t
2636
2635
  }, {
2637
2636
  component: Bt,
2638
- ...$t
2637
+ ...Ft
2639
2638
  }, {
2640
- component: Wt,
2639
+ component: Dt,
2641
2640
  ...Lt
2642
2641
  }, {
2643
- component: Mt,
2644
- ...Dt
2642
+ component: Wn,
2643
+ ...Mt
2645
2644
  }, {
2646
- component: Nn,
2645
+ component: Ot,
2647
2646
  ...jt
2648
- }, {
2649
- component: Ut,
2650
- ...Ot
2651
- }, ...un()], mn = `function updateCookiesAndStyles(contentId, variants, isHydrationTarget) {
2647
+ }, ...dn()], un = `function updateCookiesAndStyles(contentId, variants, isHydrationTarget) {
2652
2648
  function getAndSetVariantId() {
2653
2649
  function setCookie(name, value, days) {
2654
2650
  let expires = '';
@@ -2704,7 +2700,7 @@ const un = () => [{
2704
2700
  }).join('');
2705
2701
  styleEl.innerHTML = newStyleStr;
2706
2702
  }
2707
- }`, fn = `function updateVariantVisibility(variantContentId, defaultContentId, isHydrationTarget) {
2703
+ }`, mn = `function updateVariantVisibility(variantContentId, defaultContentId, isHydrationTarget) {
2708
2704
  if (!navigator.cookieEnabled) {
2709
2705
  return;
2710
2706
  }
@@ -2738,24 +2734,24 @@ const un = () => [{
2738
2734
  thisScriptEl?.remove();
2739
2735
  }
2740
2736
  return;
2741
- }`, Ne = "builderIoAbTest", Ae = "builderIoRenderContent", z = (e) => Object.values((e == null ? void 0 : e.variations) || {}).map((t) => ({
2737
+ }`, Ne = "builderIoAbTest", Ae = "builderIoRenderContent", J = (e) => Object.values((e == null ? void 0 : e.variations) || {}).map((t) => ({
2742
2738
  ...t,
2743
2739
  testVariationId: t.id,
2744
2740
  id: e == null ? void 0 : e.id
2745
- })), hn = ({
2741
+ })), fn = ({
2746
2742
  canTrack: e,
2747
2743
  content: t
2748
- }) => !(!(z(t).length > 0) || !e || Y()), gn = (e) => e === "react" || e === "reactNative", Fe = gn(q), bn = () => `
2749
- window.${Ne} = ${mn}
2750
- window.${Ae} = ${fn}
2751
- `, yn = (e, t) => `
2744
+ }) => !(!(J(t).length > 0) || !e || G()), hn = (e) => e === "react" || e === "reactNative", $e = hn(q), gn = () => `
2745
+ window.${Ne} = ${un}
2746
+ window.${Ae} = ${mn}
2747
+ `, bn = (e, t) => `
2752
2748
  window.${Ne}(
2753
- "${t}",${JSON.stringify(e)}, ${Fe}
2754
- )`, pn = ({
2749
+ "${t}",${JSON.stringify(e)}, ${$e}
2750
+ )`, yn = ({
2755
2751
  contentId: e,
2756
2752
  variationId: t
2757
2753
  }) => `window.${Ae}(
2758
- "${t}", "${e}", ${Fe}
2754
+ "${t}", "${e}", ${$e}
2759
2755
  )`;
2760
2756
  function ie(e) {
2761
2757
  return /* @__PURE__ */ s(
@@ -2766,10 +2762,10 @@ function ie(e) {
2766
2762
  }
2767
2763
  );
2768
2764
  }
2769
- function pe(e) {
2765
+ function be(e) {
2770
2766
  return Math.round(e * 1e3) / 1e3;
2771
2767
  }
2772
- const xn = (e, t, n = !0) => {
2768
+ const pn = (e, t, n = !0) => {
2773
2769
  if (!(e instanceof HTMLElement))
2774
2770
  return null;
2775
2771
  let i = n ? e : e.parentElement;
@@ -2780,28 +2776,28 @@ const xn = (e, t, n = !0) => {
2780
2776
  return i;
2781
2777
  } while (i = i.parentElement);
2782
2778
  return null;
2783
- }, Sn = (e) => xn(e, (t) => {
2779
+ }, xn = (e) => pn(e, (t) => {
2784
2780
  const n = t.getAttribute("builder-id") || t.id;
2785
2781
  return (n == null ? void 0 : n.indexOf("builder-")) === 0;
2786
- }), xe = ({
2782
+ }), ye = ({
2787
2783
  event: e,
2788
2784
  target: t
2789
2785
  }) => {
2790
- const n = t.getBoundingClientRect(), i = e.clientX - n.left, o = e.clientY - n.top, r = pe(i / n.width), a = pe(o / n.height);
2786
+ const n = t.getBoundingClientRect(), i = e.clientX - n.left, o = e.clientY - n.top, r = be(i / n.width), a = be(o / n.height);
2791
2787
  return {
2792
2788
  x: r,
2793
2789
  y: a
2794
2790
  };
2795
- }, vn = (e) => {
2796
- const t = e.target, n = t && Sn(t), i = (n == null ? void 0 : n.getAttribute("builder-id")) || (n == null ? void 0 : n.id);
2791
+ }, Sn = (e) => {
2792
+ const t = e.target, n = t && xn(t), i = (n == null ? void 0 : n.getAttribute("builder-id")) || (n == null ? void 0 : n.id);
2797
2793
  return {
2798
2794
  targetBuilderElement: i || void 0,
2799
2795
  metadata: {
2800
- targetOffset: t ? xe({
2796
+ targetOffset: t ? ye({
2801
2797
  event: e,
2802
2798
  target: t
2803
2799
  }) : void 0,
2804
- builderTargetOffset: n ? xe({
2800
+ builderTargetOffset: n ? ye({
2805
2801
  event: e,
2806
2802
  target: n
2807
2803
  }) : void 0,
@@ -2809,33 +2805,33 @@ const xn = (e, t, n = !0) => {
2809
2805
  }
2810
2806
  };
2811
2807
  };
2812
- function kn(e) {
2813
- var R, p, w, P, E, $, L;
2814
- const t = X(null);
2808
+ function vn(e) {
2809
+ var E, p, v, P, R, F, L;
2810
+ const t = Z(null);
2815
2811
  function n(u) {
2816
- var v, b;
2812
+ var C, b;
2817
2813
  const h = {
2818
2814
  ...e.builderContextSignal.rootState,
2819
2815
  ...u
2820
2816
  };
2821
- e.builderContextSignal.rootSetState ? (b = (v = e.builderContextSignal).rootSetState) == null || b.call(v, h) : e.setBuilderContextSignal((x) => ({
2822
- ...x,
2817
+ e.builderContextSignal.rootSetState ? (b = (C = e.builderContextSignal).rootSetState) == null || b.call(C, h) : e.setBuilderContextSignal((S) => ({
2818
+ ...S,
2823
2819
  rootState: h
2824
2820
  }));
2825
2821
  }
2826
2822
  function i(u) {
2827
- var v, b, x, W, M;
2823
+ var C, b, S, W, D;
2828
2824
  const h = {
2829
2825
  ...e.builderContextSignal.content,
2830
2826
  ...u,
2831
2827
  data: {
2832
- ...(v = e.builderContextSignal.content) == null ? void 0 : v.data,
2828
+ ...(C = e.builderContextSignal.content) == null ? void 0 : C.data,
2833
2829
  ...u == null ? void 0 : u.data
2834
2830
  },
2835
2831
  meta: {
2836
2832
  ...(b = e.builderContextSignal.content) == null ? void 0 : b.meta,
2837
2833
  ...u == null ? void 0 : u.meta,
2838
- breakpoints: ((x = u == null ? void 0 : u.meta) == null ? void 0 : x.breakpoints) || ((M = (W = e.builderContextSignal.content) == null ? void 0 : W.meta) == null ? void 0 : M.breakpoints)
2834
+ breakpoints: ((S = u == null ? void 0 : u.meta) == null ? void 0 : S.breakpoints) || ((D = (W = e.builderContextSignal.content) == null ? void 0 : W.meta) == null ? void 0 : D.breakpoints)
2839
2835
  }
2840
2836
  };
2841
2837
  e.setBuilderContextSignal((N) => ({
@@ -2843,7 +2839,7 @@ function kn(e) {
2843
2839
  content: h
2844
2840
  }));
2845
2841
  }
2846
- const [o, r] = k(
2842
+ const [o, r] = I(
2847
2843
  () => e.contentWrapper || "div"
2848
2844
  );
2849
2845
  function a(u) {
@@ -2852,11 +2848,11 @@ function kn(e) {
2852
2848
  trustedHosts: e.trustedHosts,
2853
2849
  callbacks: {
2854
2850
  configureSdk: (h) => {
2855
- var x;
2856
- const { breakpoints: v, contentId: b } = h;
2857
- !b || b !== ((x = e.builderContextSignal.content) == null ? void 0 : x.id) || v && i({
2851
+ var S;
2852
+ const { breakpoints: C, contentId: b } = h;
2853
+ !b || b !== ((S = e.builderContextSignal.content) == null ? void 0 : S.id) || C && i({
2858
2854
  meta: {
2859
- breakpoints: v
2855
+ breakpoints: C
2860
2856
  }
2861
2857
  });
2862
2858
  },
@@ -2870,8 +2866,8 @@ function kn(e) {
2870
2866
  })(u);
2871
2867
  }
2872
2868
  function l() {
2873
- var h, v;
2874
- const u = (v = (h = e.builderContextSignal.content) == null ? void 0 : h.data) == null ? void 0 : v.jsCode;
2869
+ var h, C;
2870
+ const u = (C = (h = e.builderContextSignal.content) == null ? void 0 : h.data) == null ? void 0 : C.jsCode;
2875
2871
  u && K({
2876
2872
  code: u,
2877
2873
  context: e.context || {},
@@ -2884,35 +2880,35 @@ function kn(e) {
2884
2880
  enableCache: !1
2885
2881
  });
2886
2882
  }
2887
- const [d, c] = k(() => ({})), [m, f] = k(() => ({})), [g, y] = k(() => !1);
2888
- function S(u) {
2889
- var h, v;
2883
+ const [d, c] = I(() => ({})), [m, f] = I(() => ({})), [g, y] = I(() => !1);
2884
+ function x(u) {
2885
+ var h, C;
2890
2886
  if (e.builderContextSignal.content) {
2891
- const b = (h = e.builderContextSignal.content) == null ? void 0 : h.testVariationId, x = (v = e.builderContextSignal.content) == null ? void 0 : v.id;
2892
- ue({
2887
+ const b = (h = e.builderContextSignal.content) == null ? void 0 : h.testVariationId, S = (C = e.builderContextSignal.content) == null ? void 0 : C.id;
2888
+ ce({
2893
2889
  type: "click",
2894
- canTrack: G(e.canTrack),
2895
- contentId: x,
2890
+ canTrack: Q(e.canTrack),
2891
+ contentId: S,
2896
2892
  apiKey: e.apiKey,
2897
- variationId: b !== x ? b : void 0,
2898
- ...vn(u),
2893
+ variationId: b !== S ? b : void 0,
2894
+ ...Sn(u),
2899
2895
  unique: !g
2900
2896
  });
2901
2897
  }
2902
2898
  g || y(!0);
2903
2899
  }
2904
- function C() {
2905
- var h, v, b;
2906
- const u = (b = (v = (h = e.builderContextSignal.content) == null ? void 0 : h.data) == null ? void 0 : v.httpRequests) != null ? b : {};
2907
- Object.entries(u).forEach(([x, W]) => {
2908
- if (!W || m[x] || d[x] && !F())
2900
+ function k() {
2901
+ var h, C, b;
2902
+ const u = (b = (C = (h = e.builderContextSignal.content) == null ? void 0 : h.data) == null ? void 0 : C.httpRequests) != null ? b : {};
2903
+ Object.entries(u).forEach(([S, W]) => {
2904
+ if (!W || m[S] || d[S] && !A())
2909
2905
  return;
2910
- m[x] = !0;
2911
- const M = W.replace(
2906
+ m[S] = !0;
2907
+ const D = W.replace(
2912
2908
  /{{([^}]+)}}/g,
2913
- (N, $e) => String(
2909
+ (N, Fe) => String(
2914
2910
  K({
2915
- code: $e,
2911
+ code: Fe,
2916
2912
  context: e.context || {},
2917
2913
  localState: void 0,
2918
2914
  rootState: e.builderContextSignal.rootState,
@@ -2921,19 +2917,19 @@ function kn(e) {
2921
2917
  })
2922
2918
  )
2923
2919
  );
2924
- Ke(M).then((N) => N.json()).then((N) => {
2920
+ Ke(D).then((N) => N.json()).then((N) => {
2925
2921
  n({
2926
- [x]: N
2927
- }), d[x] = !0;
2922
+ [S]: N
2923
+ }), d[S] = !0;
2928
2924
  }).catch((N) => {
2929
2925
  console.error("error fetching dynamic data", W, N);
2930
2926
  }).finally(() => {
2931
- m[x] = !1;
2927
+ m[S] = !1;
2932
2928
  });
2933
2929
  });
2934
2930
  }
2935
- function I() {
2936
- F() && window.dispatchEvent(
2931
+ function w() {
2932
+ A() && window.dispatchEvent(
2937
2933
  new CustomEvent(
2938
2934
  "builder:component:stateChange",
2939
2935
  {
@@ -2949,8 +2945,8 @@ function kn(e) {
2949
2945
  }
2950
2946
  return V(() => {
2951
2947
  var u, h;
2952
- if (Y()) {
2953
- if (F() && (window.addEventListener("message", a), Me(), je({
2948
+ if (G()) {
2949
+ if (A() && (window.addEventListener("message", a), Me(), je({
2954
2950
  ...e.locale ? {
2955
2951
  locale: e.locale
2956
2952
  } : {},
@@ -2964,26 +2960,26 @@ function kn(e) {
2964
2960
  e.builderContextSignal.componentInfos
2965
2961
  ).forEach((b) => {
2966
2962
  var W;
2967
- const x = Oe(b);
2968
- (W = window.parent) == null || W.postMessage(x, "*");
2963
+ const S = Oe(b);
2964
+ (W = window.parent) == null || W.postMessage(S, "*");
2969
2965
  }), window.addEventListener(
2970
2966
  "builder:component:stateChangeListenerActivated",
2971
- I
2972
- )), e.builderContextSignal.content && G(e.canTrack)) {
2973
- const b = (u = e.builderContextSignal.content) == null ? void 0 : u.testVariationId, x = (h = e.builderContextSignal.content) == null ? void 0 : h.id, W = e.apiKey;
2974
- ue({
2967
+ w
2968
+ )), e.builderContextSignal.content && Q(e.canTrack)) {
2969
+ const b = (u = e.builderContextSignal.content) == null ? void 0 : u.testVariationId, S = (h = e.builderContextSignal.content) == null ? void 0 : h.id, W = e.apiKey;
2970
+ ce({
2975
2971
  type: "impression",
2976
2972
  canTrack: !0,
2977
- contentId: x,
2973
+ contentId: S,
2978
2974
  apiKey: W,
2979
- variationId: b !== x ? b : void 0
2975
+ variationId: b !== S ? b : void 0
2980
2976
  });
2981
2977
  }
2982
- if (Ue()) {
2983
- const b = new URL(location.href).searchParams, x = b.get("builder.preview"), W = b.get(
2984
- `builder.preview.${x}`
2985
- ), M = b.get("apiKey") || b.get("builder.space");
2986
- x === e.model && M === e.apiKey && (!e.content || W === e.content.id) && ve({
2978
+ if (Ue() && !A()) {
2979
+ const b = new URL(location.href).searchParams, S = b.get("builder.preview"), W = b.get(
2980
+ `builder.preview.${S}`
2981
+ ), D = b.get("apiKey") || b.get("builder.space");
2982
+ S === e.model && D === e.apiKey && (!e.content || W === e.content.id) && xe({
2987
2983
  model: e.model,
2988
2984
  apiKey: e.apiKey,
2989
2985
  apiVersion: e.builderContextSignal.apiVersion
@@ -2995,15 +2991,15 @@ function kn(e) {
2995
2991
  }, []), V(() => {
2996
2992
  e.apiKey || U.error(
2997
2993
  "No API key provided to `RenderContent` component. This can cause issues. Please provide an API key using the `apiKey` prop."
2998
- ), l(), C(), I();
2994
+ ), l(), k(), w();
2999
2995
  }, []), V(() => {
3000
2996
  e.content && i(e.content);
3001
2997
  }, [e.content]), V(() => {
3002
2998
  l();
3003
- }, [(p = (R = e.builderContextSignal.content) == null ? void 0 : R.data) == null ? void 0 : p.jsCode]), V(() => {
3004
- C();
3005
- }, [(P = (w = e.builderContextSignal.content) == null ? void 0 : w.data) == null ? void 0 : P.httpRequests]), V(() => {
3006
- I();
2999
+ }, [(p = (E = e.builderContextSignal.content) == null ? void 0 : E.data) == null ? void 0 : p.jsCode]), V(() => {
3000
+ k();
3001
+ }, [(P = (v = e.builderContextSignal.content) == null ? void 0 : v.data) == null ? void 0 : P.httpRequests]), V(() => {
3002
+ w();
3007
3003
  }, [e.builderContextSignal.rootState]), V(() => {
3008
3004
  e.data && n(e.data);
3009
3005
  }, [e.data]), V(() => {
@@ -3011,28 +3007,28 @@ function kn(e) {
3011
3007
  locale: e.locale
3012
3008
  });
3013
3009
  }, [e.locale]), V(() => () => {
3014
- Y() && (window.removeEventListener("message", a), window.removeEventListener(
3010
+ G() && (window.removeEventListener("message", a), window.removeEventListener(
3015
3011
  "builder:component:stateChangeListenerActivated",
3016
- I
3012
+ w
3017
3013
  ));
3018
3014
  }, []), /* @__PURE__ */ s(re.Provider, { value: e.builderContextSignal, children: e.builderContextSignal.content ? /* @__PURE__ */ s(
3019
3015
  o,
3020
3016
  {
3021
3017
  ref: t,
3022
- onClick: (u) => S(u),
3023
- "builder-content-id": (E = e.builderContextSignal.content) == null ? void 0 : E.id,
3018
+ onClick: (u) => x(u),
3019
+ "builder-content-id": (R = e.builderContextSignal.content) == null ? void 0 : R.id,
3024
3020
  "builder-model": e.model,
3025
3021
  ...e.showContent ? {} : {
3026
3022
  hidden: !0,
3027
3023
  "aria-hidden": !0
3028
3024
  },
3029
3025
  ...e.contentWrapperProps,
3030
- className: `variant-${(($ = e.content) == null ? void 0 : $.testVariationId) || ((L = e.content) == null ? void 0 : L.id)}`,
3026
+ className: `variant-${((F = e.content) == null ? void 0 : F.testVariationId) || ((L = e.content) == null ? void 0 : L.id)}`,
3031
3027
  children: e.children
3032
3028
  }
3033
3029
  ) : null });
3034
3030
  }
3035
- const Cn = (e) => {
3031
+ const kn = (e) => {
3036
3032
  var r, a;
3037
3033
  const t = e.family + (e.kind && !e.kind.includes("#") ? ", " + e.kind : ""), n = t.split(",")[0], i = (a = e.fileUrl) != null ? a : (r = e == null ? void 0 : e.files) == null ? void 0 : r.regular;
3038
3034
  let o = "";
@@ -3058,15 +3054,15 @@ font-weight: ${l};
3058
3054
  `.trim());
3059
3055
  }
3060
3056
  return o;
3061
- }, wn = ({
3057
+ }, Cn = ({
3062
3058
  customFonts: e
3063
3059
  }) => {
3064
3060
  var t;
3065
- return ((t = e == null ? void 0 : e.map((n) => Cn(n))) == null ? void 0 : t.join(" ")) || "";
3066
- }, In = ({
3061
+ return ((t = e == null ? void 0 : e.map((n) => kn(n))) == null ? void 0 : t.join(" ")) || "";
3062
+ }, wn = ({
3067
3063
  cssCode: e,
3068
3064
  contentId: t
3069
- }) => e ? t ? (e == null ? void 0 : e.replace(/&/g, `div[builder-content-id="${t}"]`)) || "" : e : "", Tn = `
3065
+ }) => e ? t ? (e == null ? void 0 : e.replace(/&/g, `div[builder-content-id="${t}"]`)) || "" : e : "", In = `
3070
3066
  .builder-button {
3071
3067
  all: unset;
3072
3068
  }
@@ -3083,23 +3079,23 @@ font-weight: ${l};
3083
3079
  text-align: inherit;
3084
3080
  font-family: inherit;
3085
3081
  }
3086
- `, En = (e) => e ? "" : Tn;
3087
- function Rn(e) {
3088
- const [t, n] = k(
3082
+ `, Tn = (e) => e ? "" : In;
3083
+ function En(e) {
3084
+ const [t, n] = I(
3089
3085
  () => `
3090
- ${In({
3086
+ ${wn({
3091
3087
  cssCode: e.cssCode,
3092
3088
  contentId: e.contentId
3093
3089
  })}
3094
- ${wn({
3090
+ ${Cn({
3095
3091
  customFonts: e.customFonts
3096
3092
  })}
3097
- ${En(e.isNestedRender)}
3093
+ ${Tn(e.isNestedRender)}
3098
3094
  `.trim()
3099
3095
  );
3100
- return /* @__PURE__ */ s(Z, { id: "builderio-content", styles: t });
3096
+ return /* @__PURE__ */ s(ee, { id: "builderio-content", styles: t });
3101
3097
  }
3102
- const Pn = ({
3098
+ const Rn = ({
3103
3099
  content: e,
3104
3100
  data: t,
3105
3101
  locale: n
@@ -3116,7 +3112,7 @@ const Pn = ({
3116
3112
  locale: n
3117
3113
  } : {}
3118
3114
  };
3119
- }, Vn = ({
3115
+ }, Pn = ({
3120
3116
  content: e,
3121
3117
  data: t
3122
3118
  }) => e ? {
@@ -3127,46 +3123,46 @@ const Pn = ({
3127
3123
  },
3128
3124
  meta: e == null ? void 0 : e.meta
3129
3125
  } : void 0;
3130
- function Se(e) {
3131
- var d, c, m, f, g, y, S;
3132
- const [t, n] = k(
3126
+ function pe(e) {
3127
+ var d, c, m, f, g, y, x;
3128
+ const [t, n] = I(
3133
3129
  () => {
3134
- var C, I;
3135
- return pn({
3130
+ var k, w;
3131
+ return yn({
3136
3132
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
3137
- variationId: (C = e.content) == null ? void 0 : C.testVariationId,
3133
+ variationId: (k = e.content) == null ? void 0 : k.testVariationId,
3138
3134
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
3139
- contentId: (I = e.content) == null ? void 0 : I.id
3135
+ contentId: (w = e.content) == null ? void 0 : w.id
3140
3136
  });
3141
3137
  }
3142
3138
  );
3143
- function i(C) {
3144
- l((I) => ({
3145
- ...I,
3146
- rootState: C
3139
+ function i(k) {
3140
+ l((w) => ({
3141
+ ...w,
3142
+ rootState: k
3147
3143
  }));
3148
3144
  }
3149
- const [o, r] = k(
3145
+ const [o, r] = I(
3150
3146
  () => [
3151
- ...ye(),
3147
+ ...ge(),
3152
3148
  ...e.customComponents || []
3153
3149
  ].reduce(
3154
- (C, { component: I, ...R }) => ({
3155
- ...C,
3156
- [R.name]: {
3157
- component: I,
3158
- ...me(R)
3150
+ (k, { component: w, ...E }) => ({
3151
+ ...k,
3152
+ [E.name]: {
3153
+ component: w,
3154
+ ...de(E)
3159
3155
  }
3160
3156
  }),
3161
3157
  {}
3162
3158
  )
3163
- ), [a, l] = k(() => ({
3164
- content: Vn({
3159
+ ), [a, l] = I(() => ({
3160
+ content: Pn({
3165
3161
  content: e.content,
3166
3162
  data: e.data
3167
3163
  }),
3168
3164
  localState: void 0,
3169
- rootState: Pn({
3165
+ rootState: Rn({
3170
3166
  content: e.content,
3171
3167
  data: e.data,
3172
3168
  locale: e.locale
@@ -3176,12 +3172,12 @@ function Se(e) {
3176
3172
  apiKey: e.apiKey,
3177
3173
  apiVersion: e.apiVersion,
3178
3174
  componentInfos: [
3179
- ...ye(),
3175
+ ...ge(),
3180
3176
  ...e.customComponents || []
3181
3177
  ].reduce(
3182
- (C, { component: I, ...R }) => ({
3183
- ...C,
3184
- [R.name]: me(R)
3178
+ (k, { component: w, ...E }) => ({
3179
+ ...k,
3180
+ [E.name]: de(E)
3185
3181
  }),
3186
3182
  {}
3187
3183
  ),
@@ -3190,13 +3186,13 @@ function Se(e) {
3190
3186
  BlocksWrapperProps: e.blocksWrapperProps || {}
3191
3187
  }));
3192
3188
  return /* @__PURE__ */ s(
3193
- Ie.Provider,
3189
+ Ce.Provider,
3194
3190
  {
3195
3191
  value: {
3196
3192
  registeredComponents: o
3197
3193
  },
3198
3194
  children: /* @__PURE__ */ B(
3199
- kn,
3195
+ vn,
3200
3196
  {
3201
3197
  content: e.content,
3202
3198
  data: e.data,
@@ -3222,7 +3218,7 @@ function Se(e) {
3222
3218
  }
3223
3219
  ) : null,
3224
3220
  /* @__PURE__ */ s(
3225
- Rn,
3221
+ En,
3226
3222
  {
3227
3223
  isNestedRender: e.isNestedRender,
3228
3224
  contentId: (d = a.content) == null ? void 0 : d.id,
@@ -3231,9 +3227,9 @@ function Se(e) {
3231
3227
  }
3232
3228
  ),
3233
3229
  /* @__PURE__ */ s(
3234
- O,
3230
+ j,
3235
3231
  {
3236
- blocks: (S = (y = a.content) == null ? void 0 : y.data) == null ? void 0 : S.blocks,
3232
+ blocks: (x = (y = a.content) == null ? void 0 : y.data) == null ? void 0 : x.blocks,
3237
3233
  context: a,
3238
3234
  registeredComponents: o,
3239
3235
  linkComponent: e.linkComponent
@@ -3245,18 +3241,18 @@ function Se(e) {
3245
3241
  }
3246
3242
  );
3247
3243
  }
3248
- function Bn(e) {
3244
+ function Vn(e) {
3249
3245
  var a;
3250
- const [t, n] = k(
3251
- () => hn({
3252
- canTrack: G(e.canTrack),
3246
+ const [t, n] = I(
3247
+ () => fn({
3248
+ canTrack: Q(e.canTrack),
3253
3249
  content: e.content
3254
3250
  })
3255
3251
  );
3256
3252
  function i() {
3257
3253
  var l;
3258
- return yn(
3259
- z(e.content).map((d) => ({
3254
+ return bn(
3255
+ J(e.content).map((d) => ({
3260
3256
  id: d.testVariationId,
3261
3257
  testRatio: d.testRatio
3262
3258
  })),
@@ -3264,7 +3260,7 @@ function Bn(e) {
3264
3260
  );
3265
3261
  }
3266
3262
  function o() {
3267
- return z(e.content).map((l) => `.variant-${l.testVariationId} { display: none; } `).join("");
3263
+ return J(e.content).map((l) => `.variant-${l.testVariationId} { display: none; } `).join("");
3268
3264
  }
3269
3265
  function r() {
3270
3266
  var l;
@@ -3273,7 +3269,7 @@ function Bn(e) {
3273
3269
  testVariationId: (l = e.content) == null ? void 0 : l.id
3274
3270
  } : qe({
3275
3271
  item: e.content,
3276
- canTrack: G(e.canTrack)
3272
+ canTrack: Q(e.canTrack)
3277
3273
  });
3278
3274
  }
3279
3275
  return V(() => {
@@ -3282,12 +3278,12 @@ function Bn(e) {
3282
3278
  ie,
3283
3279
  {
3284
3280
  id: "builderio-init-variants-fns",
3285
- scriptStr: bn()
3281
+ scriptStr: gn()
3286
3282
  }
3287
3283
  ) : null,
3288
3284
  t ? /* @__PURE__ */ B(T, { children: [
3289
3285
  /* @__PURE__ */ s(
3290
- Z,
3286
+ ee,
3291
3287
  {
3292
3288
  id: "builderio-variants",
3293
3289
  styles: o()
@@ -3300,8 +3296,8 @@ function Bn(e) {
3300
3296
  scriptStr: i()
3301
3297
  }
3302
3298
  ),
3303
- (a = z(e.content)) == null ? void 0 : a.map((l) => /* @__PURE__ */ s(
3304
- Se,
3299
+ (a = J(e.content)) == null ? void 0 : a.map((l) => /* @__PURE__ */ s(
3300
+ pe,
3305
3301
  {
3306
3302
  isNestedRender: e.isNestedRender,
3307
3303
  content: l,
@@ -3327,7 +3323,7 @@ function Bn(e) {
3327
3323
  ))
3328
3324
  ] }) : null,
3329
3325
  /* @__PURE__ */ s(
3330
- Se,
3326
+ pe,
3331
3327
  {
3332
3328
  isNestedRender: e.isNestedRender,
3333
3329
  content: r(),
@@ -3352,13 +3348,13 @@ function Bn(e) {
3352
3348
  )
3353
3349
  ] });
3354
3350
  }
3355
- const Wn = async ({
3351
+ const Bn = async ({
3356
3352
  builderContextValue: e,
3357
3353
  symbol: t
3358
3354
  }) => {
3359
3355
  if (t != null && t.model && // This is a hack, we should not need to check for this, but it is needed for Svelte.
3360
3356
  (e != null && e.apiKey))
3361
- return ve({
3357
+ return xe({
3362
3358
  model: t.model,
3363
3359
  apiKey: e.apiKey,
3364
3360
  apiVersion: e.apiVersion,
@@ -3371,7 +3367,7 @@ const Wn = async ({
3371
3367
  U.error("Could not fetch symbol content: ", n);
3372
3368
  });
3373
3369
  };
3374
- function Nn(e) {
3370
+ function Wn(e) {
3375
3371
  var r, a, l, d;
3376
3372
  function t() {
3377
3373
  var c, m;
@@ -3382,12 +3378,12 @@ function Nn(e) {
3382
3378
  (m = e.symbol) != null && m.dynamic || e.dynamic ? "builder-dynamic-symbol" : void 0
3383
3379
  ].filter(Boolean).join(" ");
3384
3380
  }
3385
- const [n, i] = k(() => {
3381
+ const [n, i] = I(() => {
3386
3382
  var c;
3387
3383
  return (c = e.symbol) == null ? void 0 : c.content;
3388
3384
  });
3389
3385
  function o() {
3390
- n || Wn({
3386
+ n || Bn({
3391
3387
  symbol: e.symbol,
3392
3388
  builderContextValue: e.builderContext
3393
3389
  }).then((c) => {
@@ -3398,7 +3394,7 @@ function Nn(e) {
3398
3394
  }, []), V(() => {
3399
3395
  o();
3400
3396
  }, [e.symbol]), /* @__PURE__ */ s("div", { ...e.attributes, className: t(), children: /* @__PURE__ */ s(
3401
- Bn,
3397
+ Vn,
3402
3398
  {
3403
3399
  isNestedRender: !0,
3404
3400
  apiVersion: e.builderContext.apiVersion,
@@ -3422,15 +3418,15 @@ function Nn(e) {
3422
3418
  ) });
3423
3419
  }
3424
3420
  export {
3425
- O as Blocks,
3421
+ j as Blocks,
3426
3422
  re as BuilderContext,
3427
3423
  Xe as Button,
3428
- Et as Columns,
3429
- Bn as Content,
3430
- Rt as Fragment,
3431
- Bt as Image,
3432
- Wt as Section,
3433
- Nn as Symbol,
3434
- Ut as Text,
3435
- dn as Video
3424
+ Tt as Columns,
3425
+ Vn as Content,
3426
+ Et as Fragment,
3427
+ Vt as Image,
3428
+ Bt as Section,
3429
+ Wn as Symbol,
3430
+ Ot as Text,
3431
+ cn as Video
3436
3432
  };