@builder.io/sdk-react-nextjs 0.16.1 → 0.16.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. package/lib/browser/blocks-exports.cjs +11 -11
  2. package/lib/browser/blocks-exports.mjs +213 -211
  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/browser/{server-entry-8a4d2728.js → server-entry-242f596f.js} +1 -1
  8. package/lib/browser/{server-entry-555ce264.cjs → server-entry-494604dc.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/blocks-exports.cjs +16 -16
  12. package/lib/edge/blocks-exports.mjs +243 -241
  13. package/lib/edge/index.cjs +1 -1
  14. package/lib/edge/index.mjs +1 -1
  15. package/lib/edge/init.cjs +1 -1
  16. package/lib/edge/init.mjs +1 -1
  17. package/lib/edge/{server-entry-8a4d2728.js → server-entry-242f596f.js} +1 -1
  18. package/lib/edge/{server-entry-555ce264.cjs → server-entry-494604dc.cjs} +1 -1
  19. package/lib/edge/server-entry.cjs +1 -1
  20. package/lib/edge/server-entry.mjs +1 -1
  21. package/lib/node/blocks-exports.cjs +11 -11
  22. package/lib/node/blocks-exports.mjs +169 -167
  23. package/lib/node/index.cjs +1 -1
  24. package/lib/node/index.mjs +2 -2
  25. package/lib/node/init.cjs +1 -1
  26. package/lib/node/init.mjs +2 -2
  27. package/lib/node/{node-runtime-753c71f6.js → node-runtime-42e494ca.js} +1 -1
  28. package/lib/node/{node-runtime-1e70fe16.cjs → node-runtime-e1243cd6.cjs} +1 -1
  29. package/lib/node/{server-entry-61a8c25a.cjs → server-entry-db7b41aa.cjs} +1 -1
  30. package/lib/node/{server-entry-e47775d7.js → server-entry-fbf4e3a9.js} +1 -1
  31. package/lib/node/server-entry.cjs +1 -1
  32. package/lib/node/server-entry.mjs +1 -1
  33. package/package.json +1 -1
  34. package/types/cjs/constants/sdk-version.d.ts +1 -1
  35. package/types/esm/constants/sdk-version.d.ts +1 -1
@@ -2,14 +2,14 @@
2
2
  var Ae = Object.defineProperty;
3
3
  var Ve = (e, t, n) => t in e ? Ae(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
4
4
  var ee = (e, t, n) => (Ve(e, typeof t != "symbol" ? t + "" : t, n), n);
5
- import { jsx as l, Fragment as w, jsxs as E } from "react/jsx-runtime";
6
- import { TARGET as M, isEditing as V, isBrowser as L, getUserAttributes as $e, checkIsDefined as z, logger as J, fastClone as ie, init as Fe, getDefaultCanTrack as q, _track as ue, isPreviewing as Le, createEditorListener as Oe, fetch as De, registerInsertMenu as je, setupBrowserForEditing as He, createRegisterComponentMessage as Me, fetchOneEntry as ke, serializeComponentInfo as me, handleABTestingSync as Ue } from "./server-entry-8a4d2728.js";
7
- import { useRef as oe, useState as N, useEffect as R, createContext as _e } from "react";
5
+ import { jsx as l, Fragment as C, jsxs as E } from "react/jsx-runtime";
6
+ import { TARGET as M, isEditing as V, isBrowser as L, getUserAttributes as $e, checkIsDefined as z, logger as J, fastClone as ie, init as Fe, getDefaultCanTrack as q, _track as ue, isPreviewing as Le, createEditorListener as Oe, fetch as De, registerInsertMenu as je, setupBrowserForEditing as He, createRegisterComponentMessage as Me, fetchOneEntry as ke, serializeComponentInfo as me, handleABTestingSync as Ue } from "./server-entry-242f596f.js";
7
+ import { useRef as oe, useState as A, useEffect as R, createContext as _e } from "react";
8
8
  import { useRouter as Ke } from "next/navigation";
9
9
  import "lru-cache";
10
10
  const ze = /* @__PURE__ */ new Set(["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen", "link", "meta", "param", "source", "track", "wbr"]), qe = (e) => typeof e == "string" && ze.has(e.toLowerCase());
11
11
  function ae(e) {
12
- return /* @__PURE__ */ l(w, { children: qe(e.TagName) ? /* @__PURE__ */ l(w, { children: /* @__PURE__ */ l(e.TagName, { ...e.attributes, ...e.actionAttributes }) }) : /* @__PURE__ */ l(w, { 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 }) }) });
12
+ return /* @__PURE__ */ l(C, { children: qe(e.TagName) ? /* @__PURE__ */ l(C, { children: /* @__PURE__ */ l(e.TagName, { ...e.attributes, ...e.actionAttributes }) }) : /* @__PURE__ */ l(C, { 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 }) }) });
13
13
  }
14
14
  const j = () => {
15
15
  switch (M) {
@@ -75,7 +75,7 @@ const Qe = ({
75
75
  getUserAttributes: () => $e()
76
76
  }), Xe = (e, {
77
77
  isExpression: t = !0
78
- }) => /* 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, fe = ({
78
+ }) => /* 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, he = ({
79
79
  code: e,
80
80
  builder: t,
81
81
  context: n,
@@ -131,7 +131,7 @@ const et = () => {
131
131
  return !1;
132
132
  const e = process.arch === "arm64", t = process.version.startsWith("v20"), n = (i = process.env.NODE_OPTIONS) == null ? void 0 : i.includes("--no-node-snapshot");
133
133
  return e && t && !n ? (J.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;
134
- }, tt = (e) => (L() || et(), fe(e)), W = class W {
134
+ }, tt = (e) => (L() || et(), he(e)), N = class N {
135
135
  static getCacheKey(t) {
136
136
  return JSON.stringify({
137
137
  ...t,
@@ -141,16 +141,16 @@ const et = () => {
141
141
  });
142
142
  }
143
143
  static getCachedValue(t) {
144
- return W.cache.get(t);
144
+ return N.cache.get(t);
145
145
  }
146
146
  static setCachedValue(t, n) {
147
- W.cache.size > 20 && W.cache.delete(W.cache.keys().next().value), W.cache.set(t, {
147
+ N.cache.size > 20 && N.cache.delete(N.cache.keys().next().value), N.cache.set(t, {
148
148
  value: n
149
149
  });
150
150
  }
151
151
  };
152
- ee(W, "cacheLimit", 20), ee(W, "cache", /* @__PURE__ */ new Map());
153
- let F = W;
152
+ ee(N, "cacheLimit", 20), ee(N, "cache", /* @__PURE__ */ new Map());
153
+ let F = N;
154
154
  function H({
155
155
  code: e,
156
156
  context: t,
@@ -382,7 +382,7 @@ const ct = ({
382
382
  default: 991,
383
383
  max: 1200
384
384
  }
385
- }, he = (e, t = Te) => `@media (max-width: ${t[e].max}px)`, Re = ({
385
+ }, fe = (e, t = Te) => `@media (max-width: ${t[e].max}px)`, Re = ({
386
386
  small: e,
387
387
  medium: t
388
388
  }) => {
@@ -419,7 +419,7 @@ function Q(e) {
419
419
  }
420
420
  );
421
421
  }
422
- function ft(e) {
422
+ function ht(e) {
423
423
  const t = function() {
424
424
  const o = Y({
425
425
  block: e.block,
@@ -431,7 +431,7 @@ function ft(e) {
431
431
  });
432
432
  return z(o.hide) ? !o.hide : z(o.show) ? o.show : !0;
433
433
  }, n = function() {
434
- var S, b, k;
434
+ var y, v, p;
435
435
  const o = Y({
436
436
  block: e.block,
437
437
  localState: e.context.localState,
@@ -440,50 +440,50 @@ function ft(e) {
440
440
  context: e.context.context,
441
441
  shouldEvaluateBindings: !0
442
442
  }), a = o.responsiveStyles, r = e.context.content, c = Re(
443
- ((S = r == null ? void 0 : r.meta) == null ? void 0 : S.breakpoints) || {}
443
+ ((y = r == null ? void 0 : r.meta) == null ? void 0 : y.breakpoints) || {}
444
444
  ), s = a == null ? void 0 : a.large, d = a == null ? void 0 : a.medium, m = a == null ? void 0 : a.small, u = o.id;
445
445
  if (!u)
446
446
  return "";
447
- const h = s ? _({
447
+ const f = s ? _({
448
448
  className: u,
449
449
  styles: s
450
- }) : "", p = d ? _({
450
+ }) : "", w = d ? _({
451
451
  className: u,
452
452
  styles: d,
453
- mediaQuery: he(
453
+ mediaQuery: fe(
454
454
  "medium",
455
455
  c
456
456
  )
457
457
  }) : "", I = m ? _({
458
458
  className: u,
459
459
  styles: m,
460
- mediaQuery: he(
460
+ mediaQuery: fe(
461
461
  "small",
462
462
  c
463
463
  )
464
- }) : "", y = o.animations && o.animations.find((T) => T.trigger === "hover");
465
- let A = "";
466
- if (y) {
467
- const T = ((k = (b = y.steps) == null ? void 0 : b[1]) == null ? void 0 : k.styles) || {};
468
- A = _({
464
+ }) : "", b = o.animations && o.animations.find((T) => T.trigger === "hover");
465
+ let P = "";
466
+ if (b) {
467
+ const T = ((p = (v = b.steps) == null ? void 0 : v[1]) == null ? void 0 : p.styles) || {};
468
+ P = _({
469
469
  className: `${u}:hover`,
470
470
  styles: {
471
471
  ...T,
472
- transition: `all ${y.duration}s ${re(
473
- y.easing
472
+ transition: `all ${b.duration}s ${re(
473
+ b.easing
474
474
  )}`,
475
- transitionDelay: y.delay ? `${y.delay}s` : "0s"
475
+ transitionDelay: b.delay ? `${b.delay}s` : "0s"
476
476
  }
477
477
  }) || "";
478
478
  }
479
479
  return [
480
- h,
481
- p,
480
+ f,
481
+ w,
482
482
  I,
483
- A
483
+ P
484
484
  ].join(" ");
485
485
  };
486
- return /* @__PURE__ */ l(w, { children: n() && t() ? /* @__PURE__ */ l(w, { children: /* @__PURE__ */ l(
486
+ return /* @__PURE__ */ l(C, { children: n() && t() ? /* @__PURE__ */ l(C, { children: /* @__PURE__ */ l(
487
487
  Q,
488
488
  {
489
489
  id: "builderio-block",
@@ -492,10 +492,10 @@ function ft(e) {
492
492
  }
493
493
  ) }) : null });
494
494
  }
495
- function ht(e) {
495
+ function ft(e) {
496
496
  return e.charAt(0).toUpperCase() + e.slice(1);
497
497
  }
498
- const gt = (e) => `on${ht(e)}`, bt = (e, t) => (n) => H({
498
+ const gt = (e) => `on${ft(e)}`, bt = (e, t) => (n) => H({
499
499
  code: e,
500
500
  context: t.context,
501
501
  localState: t.localState,
@@ -627,7 +627,7 @@ const pt = ({
627
627
  function ge(e) {
628
628
  var n;
629
629
  const t = e.isInteractive ? St : e.componentRef;
630
- return /* @__PURE__ */ l(w, { children: e.componentRef ? /* @__PURE__ */ l(w, { children: /* @__PURE__ */ l(
630
+ return /* @__PURE__ */ l(C, { children: e.componentRef ? /* @__PURE__ */ l(C, { children: /* @__PURE__ */ l(
631
631
  t,
632
632
  {
633
633
  ...pt({
@@ -679,8 +679,8 @@ function G(e) {
679
679
  context: e.context
680
680
  });
681
681
  }, i = function() {
682
- var h;
683
- return (h = e.block.repeat) != null && h.collection ? e.block : Y({
682
+ var f;
683
+ return (f = e.block.repeat) != null && f.collection ? e.block : Y({
684
684
  block: e.block,
685
685
  localState: e.context.localState,
686
686
  rootState: e.context.rootState,
@@ -689,22 +689,22 @@ function G(e) {
689
689
  shouldEvaluateBindings: !0
690
690
  });
691
691
  }, o = function() {
692
- var p;
693
- return e.block.tagName === "a" || ((p = i().properties) == null ? void 0 : p.href) || i().href ? e.linkComponent || "a" : e.block.tagName || "div";
692
+ var w;
693
+ return e.block.tagName === "a" || ((w = i().properties) == null ? void 0 : w.href) || i().href ? e.linkComponent || "a" : e.block.tagName || "div";
694
694
  }, a = function() {
695
- var I, y;
695
+ var I, b;
696
696
  if ((I = e.block.repeat) != null && I.collection)
697
- return !!((y = n()) != null && y.length);
698
- const h = "hide" in i() ? i().hide : !1;
699
- return ("show" in i() ? i().show : !0) && !h;
697
+ return !!((b = n()) != null && b.length);
698
+ const f = "hide" in i() ? i().hide : !1;
699
+ return ("show" in i() ? i().show : !0) && !f;
700
700
  }, r = function() {
701
- var p, I;
702
- return !((p = t()) != null && p.component) && !n() ? (I = i().children) != null ? I : [] : [];
701
+ var w, I;
702
+ return !((w = t()) != null && w.component) && !n() ? (I = i().children) != null ? I : [] : [];
703
703
  }, c = function() {
704
- var h, p, I, y;
704
+ var f, w, I, b;
705
705
  return {
706
- blockChildren: (h = i().children) != null ? h : [],
707
- componentRef: (p = t()) == null ? void 0 : p.component,
706
+ blockChildren: (f = i().children) != null ? f : [],
707
+ componentRef: (w = t()) == null ? void 0 : w.component,
708
708
  componentOptions: {
709
709
  ...Je(i()),
710
710
  ...ut(t(), i()),
@@ -720,12 +720,12 @@ function G(e) {
720
720
  registeredComponents: e.registeredComponents,
721
721
  builderBlock: i(),
722
722
  includeBlockProps: ((I = t()) == null ? void 0 : I.noWrap) === !0,
723
- isInteractive: !((y = t()) != null && y.isRSC)
723
+ isInteractive: !((b = t()) != null && b.isRSC)
724
724
  };
725
725
  };
726
- return /* @__PURE__ */ l(w, { children: a() ? /* @__PURE__ */ E(w, { children: [
727
- /* @__PURE__ */ l(ft, { block: e.block, context: e.context }),
728
- (s = t()) != null && s.noWrap ? /* @__PURE__ */ l(w, { children: /* @__PURE__ */ l(
726
+ return /* @__PURE__ */ l(C, { children: a() ? /* @__PURE__ */ E(C, { children: [
727
+ /* @__PURE__ */ l(ht, { block: e.block, context: e.context }),
728
+ (s = t()) != null && s.noWrap ? /* @__PURE__ */ l(C, { children: /* @__PURE__ */ l(
729
729
  ge,
730
730
  {
731
731
  componentRef: c().componentRef,
@@ -738,7 +738,7 @@ function G(e) {
738
738
  includeBlockProps: c().includeBlockProps,
739
739
  isInteractive: c().isInteractive
740
740
  }
741
- ) }) : /* @__PURE__ */ l(w, { children: n() ? /* @__PURE__ */ l(w, { children: (m = n()) == null ? void 0 : m.map((u, h) => /* @__PURE__ */ l(
741
+ ) }) : /* @__PURE__ */ l(C, { children: n() ? /* @__PURE__ */ l(C, { children: (m = n()) == null ? void 0 : m.map((u, f) => /* @__PURE__ */ l(
742
742
  kt,
743
743
  {
744
744
  repeatContext: u.context,
@@ -746,7 +746,7 @@ function G(e) {
746
746
  registeredComponents: e.registeredComponents,
747
747
  linkComponent: e.linkComponent
748
748
  },
749
- h
749
+ f
750
750
  )) }) : /* @__PURE__ */ E(
751
751
  xt,
752
752
  {
@@ -814,7 +814,7 @@ function Ct(e) {
814
814
  "*"
815
815
  ));
816
816
  }
817
- return /* @__PURE__ */ E(w, { children: [
817
+ return /* @__PURE__ */ E(C, { children: [
818
818
  /* @__PURE__ */ l(
819
819
  e.BlocksWrapper,
820
820
  {
@@ -847,7 +847,7 @@ function le(e) {
847
847
  styleProp: e.styleProp,
848
848
  BlocksWrapper: (t = e.context) == null ? void 0 : t.BlocksWrapper,
849
849
  BlocksWrapperProps: (n = e.context) == null ? void 0 : n.BlocksWrapperProps,
850
- children: e.blocks ? /* @__PURE__ */ l(w, { children: (i = e.blocks) == null ? void 0 : i.map((o) => /* @__PURE__ */ l(
850
+ children: e.blocks ? /* @__PURE__ */ l(C, { children: (i = e.blocks) == null ? void 0 : i.map((o) => /* @__PURE__ */ l(
851
851
  G,
852
852
  {
853
853
  block: o,
@@ -862,25 +862,25 @@ function le(e) {
862
862
  }
863
863
  const wt = (e) => `builder-columns ${e}-breakpoints`;
864
864
  function It(e) {
865
- var y, A;
866
- const t = typeof e.space == "number" ? e.space || 0 : 20, n = e.columns || [], i = e.stackColumnsAt || "tablet", o = function(b) {
867
- return b.link ? e.builderLinkComponent || "a" : "div";
868
- }, a = function(b) {
869
- var k;
870
- return ((k = n[b]) == null ? void 0 : k.width) || 100 / n.length;
871
- }, r = function(b) {
872
- const k = a(b), T = t * (n.length - 1) * (k / 100);
873
- return `calc(${k}% - ${T}px)`;
865
+ var b, P;
866
+ const t = typeof e.space == "number" ? e.space || 0 : 20, n = e.columns || [], i = e.stackColumnsAt || "tablet", o = function(v) {
867
+ return v.link ? e.builderLinkComponent || "a" : "div";
868
+ }, a = function(v) {
869
+ var p;
870
+ return ((p = n[v]) == null ? void 0 : p.width) || 100 / n.length;
871
+ }, r = function(v) {
872
+ const p = a(v), T = t * (n.length - 1) * (p / 100);
873
+ return `calc(${p}% - ${T}px)`;
874
874
  }, c = function({
875
- stackedStyle: b,
876
- desktopStyle: k
875
+ stackedStyle: v,
876
+ desktopStyle: p
877
877
  }) {
878
- return i === "tablet" ? b : k;
878
+ return i === "tablet" ? v : p;
879
879
  }, s = function({
880
- stackedStyle: b,
881
- desktopStyle: k
880
+ stackedStyle: v,
881
+ desktopStyle: p
882
882
  }) {
883
- return i === "never" ? k : b;
883
+ return i === "never" ? p : v;
884
884
  }, d = e.stackColumnsAt === "never" ? "row" : e.reverseColumnsWhenStacked ? "column-reverse" : "column", m = function() {
885
885
  return {
886
886
  "--flex-dir": d,
@@ -889,8 +889,8 @@ function It(e) {
889
889
  desktopStyle: "row"
890
890
  })
891
891
  };
892
- }, u = function(b) {
893
- const k = b === 0 ? 0 : t, T = r(b), B = `${k}px`, O = "100%", D = 0;
892
+ }, u = function(v) {
893
+ const p = v === 0 ? 0 : t, T = r(v), W = `${p}px`, O = "100%", D = 0;
894
894
  return {
895
895
  ...{
896
896
  display: "flex",
@@ -898,14 +898,14 @@ function It(e) {
898
898
  alignItems: "stretch"
899
899
  },
900
900
  width: T,
901
- ["marginLeft"]: B,
901
+ ["marginLeft"]: W,
902
902
  "--column-width-mobile": s({
903
903
  stackedStyle: O,
904
904
  desktopStyle: T
905
905
  }),
906
906
  "--column-margin-left-mobile": s({
907
907
  stackedStyle: D,
908
- desktopStyle: B
908
+ desktopStyle: W
909
909
  }),
910
910
  "--column-width-tablet": c({
911
911
  stackedStyle: O,
@@ -913,17 +913,17 @@ function It(e) {
913
913
  }),
914
914
  "--column-margin-left-tablet": c({
915
915
  stackedStyle: D,
916
- desktopStyle: B
916
+ desktopStyle: W
917
917
  })
918
918
  };
919
- }, h = function(b) {
920
- var T, B;
919
+ }, f = function(v) {
920
+ var T, W;
921
921
  return Re(
922
- ((B = (T = e.builderContext.content) == null ? void 0 : T.meta) == null ? void 0 : B.breakpoints) || {}
923
- )[b].max;
924
- }, p = function() {
922
+ ((W = (T = e.builderContext.content) == null ? void 0 : T.meta) == null ? void 0 : W.breakpoints) || {}
923
+ )[v].max;
924
+ }, w = function() {
925
925
  return `
926
- @media (max-width: ${h("medium")}px) {
926
+ @media (max-width: ${f("medium")}px) {
927
927
  .${e.builderBlock.id}-breakpoints {
928
928
  flex-direction: var(--flex-dir-tablet);
929
929
  align-items: stretch;
@@ -935,7 +935,7 @@ function It(e) {
935
935
  }
936
936
  }
937
937
 
938
- @media (max-width: ${h("small")}px) {
938
+ @media (max-width: ${f("small")}px) {
939
939
  .${e.builderBlock.id}-breakpoints {
940
940
  flex-direction: var(--flex-dir);
941
941
  align-items: stretch;
@@ -947,40 +947,40 @@ function It(e) {
947
947
  }
948
948
  },
949
949
  `;
950
- }, I = function(b, k) {
950
+ }, I = function(v, p) {
951
951
  return {
952
- ...b.link ? {
953
- href: b.link
952
+ ...v.link ? {
953
+ href: v.link
954
954
  } : {},
955
955
  [j()]: "builder-column",
956
- style: Ie(u(k))
956
+ style: Ie(u(p))
957
957
  };
958
958
  };
959
- return /* @__PURE__ */ E(w, { children: [
959
+ return /* @__PURE__ */ E(C, { children: [
960
960
  /* @__PURE__ */ E(
961
961
  "div",
962
962
  {
963
- className: wt((y = e.builderBlock) == null ? void 0 : y.id) + " div-c89348d2",
963
+ className: wt((b = e.builderBlock) == null ? void 0 : b.id) + " div-c89348d2",
964
964
  style: m(),
965
965
  children: [
966
966
  /* @__PURE__ */ l(
967
967
  Q,
968
968
  {
969
969
  id: "builderio-columns",
970
- styles: p(),
970
+ styles: w(),
971
971
  nonce: e.builderContext.nonce
972
972
  }
973
973
  ),
974
- (A = e.columns) == null ? void 0 : A.map((S, b) => /* @__PURE__ */ l(
974
+ (P = e.columns) == null ? void 0 : P.map((y, v) => /* @__PURE__ */ l(
975
975
  ae,
976
976
  {
977
- TagName: o(S),
977
+ TagName: o(y),
978
978
  actionAttributes: {},
979
- attributes: I(S, b),
979
+ attributes: I(y, v),
980
980
  children: /* @__PURE__ */ l(
981
981
  le,
982
982
  {
983
- path: `component.options.columns.${b}.blocks`,
983
+ path: `component.options.columns.${v}.blocks`,
984
984
  parent: e.builderBlock.id,
985
985
  styleProp: {
986
986
  flexGrow: "1"
@@ -988,11 +988,11 @@ function It(e) {
988
988
  context: e.builderContext,
989
989
  registeredComponents: e.builderComponents,
990
990
  linkComponent: e.builderLinkComponent,
991
- blocks: S.blocks
991
+ blocks: y.blocks
992
992
  }
993
993
  )
994
994
  },
995
- b
995
+ v
996
996
  ))
997
997
  ]
998
998
  }
@@ -1039,18 +1039,20 @@ function te(e) {
1039
1039
  function Pt(e) {
1040
1040
  var o, a, r, c, s, d;
1041
1041
  function t() {
1042
- var h;
1042
+ var f;
1043
1043
  const u = e.image || e.src;
1044
1044
  if (!u || // We can auto add srcset for cdn.builder.io and shopify
1045
1045
  // images, otherwise you can supply this prop manually
1046
1046
  !(u.match(/builder\.io/) || u.match(/cdn\.shopify\.com/)))
1047
1047
  return e.srcset;
1048
- if (e.srcset && ((h = e.image) != null && h.includes("builder.io/api/v1/image"))) {
1049
- if (!e.srcset.includes(e.image.split("?")[0]))
1050
- return console.debug("Removed given srcset"), te(u);
1051
- } else if (e.image && !e.srcset)
1048
+ if (!e.noWebp) {
1049
+ if (e.srcset && ((f = e.image) != null && f.includes("builder.io/api/v1/image"))) {
1050
+ if (!e.srcset.includes(e.image.split("?")[0]))
1051
+ return console.debug("Removed given srcset"), te(u);
1052
+ } else if (e.image && !e.srcset)
1053
+ return te(u);
1052
1054
  return te(u);
1053
- return te(u);
1055
+ }
1054
1056
  }
1055
1057
  function n() {
1056
1058
  var m;
@@ -1066,8 +1068,8 @@ function Pt(e) {
1066
1068
  };
1067
1069
  return e.aspectRatio ? m : void 0;
1068
1070
  }
1069
- return /* @__PURE__ */ E(w, { children: [
1070
- /* @__PURE__ */ E(w, { children: [
1071
+ return /* @__PURE__ */ E(C, { children: [
1072
+ /* @__PURE__ */ E(C, { children: [
1071
1073
  /* @__PURE__ */ E("picture", { children: [
1072
1074
  n() ? /* @__PURE__ */ l("source", { type: "image/webp", srcSet: n() }) : null,
1073
1075
  /* @__PURE__ */ l(
@@ -1082,7 +1084,7 @@ function Pt(e) {
1082
1084
  objectFit: e.backgroundSize || "cover",
1083
1085
  ...i()
1084
1086
  },
1085
- className: "builder-image" + (e.className ? " " + e.className : "") + " img-ac3dff4a",
1087
+ className: "builder-image" + (e.className ? " " + e.className : "") + " img-56bbd606",
1086
1088
  src: e.image,
1087
1089
  srcSet: t(),
1088
1090
  sizes: e.sizes
@@ -1092,23 +1094,23 @@ function Pt(e) {
1092
1094
  e.aspectRatio && !((a = (o = e.builderBlock) == null ? void 0 : o.children) != null && a.length && e.fitContent) ? /* @__PURE__ */ l(
1093
1095
  "div",
1094
1096
  {
1095
- className: "builder-image-sizer div-ac3dff4a",
1097
+ className: "builder-image-sizer div-56bbd606",
1096
1098
  style: {
1097
1099
  paddingTop: e.aspectRatio * 100 + "%"
1098
1100
  }
1099
1101
  }
1100
1102
  ) : null,
1101
- (c = (r = e.builderBlock) == null ? void 0 : r.children) != null && c.length && e.fitContent ? /* @__PURE__ */ l(w, { children: e.children }) : null,
1102
- !e.fitContent && ((d = (s = e.builderBlock) == null ? void 0 : s.children) != null && d.length) ? /* @__PURE__ */ l("div", { className: "div-ac3dff4a-2", children: e.children }) : null
1103
+ (c = (r = e.builderBlock) == null ? void 0 : r.children) != null && c.length && e.fitContent ? /* @__PURE__ */ l(C, { children: e.children }) : null,
1104
+ !e.fitContent && ((d = (s = e.builderBlock) == null ? void 0 : s.children) != null && d.length) ? /* @__PURE__ */ l("div", { className: "div-56bbd606-2", children: e.children }) : null
1103
1105
  ] }),
1104
- /* @__PURE__ */ l("style", { children: `.img-ac3dff4a {
1106
+ /* @__PURE__ */ l("style", { children: `.img-56bbd606 {
1105
1107
  opacity: 1;
1106
1108
  transition: opacity 0.2s ease-in-out;
1107
- }.div-ac3dff4a {
1109
+ }.div-56bbd606 {
1108
1110
  width: 100%;
1109
1111
  pointer-events: none;
1110
1112
  font-size: 0;
1111
- }.div-ac3dff4a-2 {
1113
+ }.div-56bbd606-2 {
1112
1114
  display: flex;
1113
1115
  flex-direction: column;
1114
1116
  align-items: stretch;
@@ -1416,8 +1418,8 @@ const Wt = {
1416
1418
  let u = !1;
1417
1419
  m.onload = () => {
1418
1420
  u = !0, s(m);
1419
- }, m.addEventListener("error", (h) => {
1420
- console.warn("Image load failed", h.error), d(h.error);
1421
+ }, m.addEventListener("error", (f) => {
1422
+ console.warn("Image load failed", f.error), d(f.error);
1421
1423
  }), m.src = r, setTimeout(() => {
1422
1424
  u || d(new Error("Image load timed out"));
1423
1425
  }, c);
@@ -1675,7 +1677,7 @@ const Ht = {
1675
1677
  }]
1676
1678
  };
1677
1679
  function Mt(e) {
1678
- const t = oe(null), [n, i] = N(() => []), [o, a] = N(() => []);
1680
+ const t = oe(null), [n, i] = A(() => []), [o, a] = A(() => []);
1679
1681
  return R(() => {
1680
1682
  var c;
1681
1683
  if (!((c = t.current) != null && c.getElementsByTagName) || typeof window == "undefined")
@@ -1729,7 +1731,7 @@ const Ut = {
1729
1731
  }]
1730
1732
  }, _t = ["text/javascript", "application/javascript", "application/ecmascript"], Kt = (e) => _t.includes(e.type);
1731
1733
  function zt(e) {
1732
- const t = oe(null), [n, i] = N(() => []), [o, a] = N(() => []), [r, c] = N(() => !1);
1734
+ const t = oe(null), [n, i] = A(() => []), [o, a] = A(() => []), [r, c] = A(() => !1);
1733
1735
  function s() {
1734
1736
  if (!t.current || !t.current.getElementsByTagName)
1735
1737
  return;
@@ -1738,13 +1740,13 @@ function zt(e) {
1738
1740
  const u = d[m];
1739
1741
  if (u.src && !n.includes(u.src)) {
1740
1742
  n.push(u.src);
1741
- const h = document.createElement("script");
1742
- h.async = !0, h.src = u.src, document.head.appendChild(h);
1743
+ const f = document.createElement("script");
1744
+ f.async = !0, f.src = u.src, document.head.appendChild(f);
1743
1745
  } else if (Kt(u) && !o.includes(u.innerText))
1744
1746
  try {
1745
1747
  o.push(u.innerText), new Function(u.innerText)();
1746
- } catch (h) {
1747
- console.warn("`Embed`: Error running script:", h);
1748
+ } catch (f) {
1749
+ console.warn("`Embed`: Error running script:", f);
1748
1750
  }
1749
1751
  }
1750
1752
  }
@@ -2208,19 +2210,19 @@ function un(e) {
2208
2210
  console.warn(`Cannot animate element: element with ID ${e} not found!`);
2209
2211
  }
2210
2212
  function mn(e, t) {
2211
- const n = fn(e), i = getComputedStyle(t), o = e.steps[0].styles, a = e.steps[e.steps.length - 1].styles, r = [o, a];
2213
+ const n = hn(e), i = getComputedStyle(t), o = e.steps[0].styles, a = e.steps[e.steps.length - 1].styles, r = [o, a];
2212
2214
  for (const c of r)
2213
2215
  for (const s of n)
2214
2216
  s in c || (c[s] = i[s]);
2215
2217
  }
2216
- function fn(e) {
2218
+ function hn(e) {
2217
2219
  const t = [];
2218
2220
  for (const n of e.steps)
2219
2221
  for (const i in n.styles)
2220
2222
  t.indexOf(i) === -1 && t.push(i);
2221
2223
  return t;
2222
2224
  }
2223
- function hn(e) {
2225
+ function fn(e) {
2224
2226
  const t = Array.prototype.slice.call(document.getElementsByClassName(e.elementId || e.id || ""));
2225
2227
  if (!t.length) {
2226
2228
  un(e.elementId || e.id || "");
@@ -2287,34 +2289,34 @@ font-weight: ${c};
2287
2289
  }
2288
2290
  `, xn = (e) => e ? "" : vn, Sn = (e) => `variant-${e}`;
2289
2291
  function pn(e) {
2290
- var B, O, D, X, Z, se, de;
2292
+ var W, O, D, X, Z, se, de;
2291
2293
  const t = oe(null);
2292
2294
  function n(g) {
2293
- var v, x;
2294
- const f = {
2295
+ var x, S;
2296
+ const h = {
2295
2297
  ...e.builderContextSignal.rootState,
2296
2298
  ...g
2297
2299
  };
2298
- e.builderContextSignal.rootSetState ? (x = (v = e.builderContextSignal).rootSetState) == null || x.call(v, f) : e.builderContextSignal.rootState = f;
2300
+ e.builderContextSignal.rootSetState ? (S = (x = e.builderContextSignal).rootSetState) == null || S.call(x, h) : e.builderContextSignal.rootState = h;
2299
2301
  }
2300
2302
  function i(g) {
2301
- var v, x, C, P, U;
2302
- const f = {
2303
+ var x, S, k, B, U;
2304
+ const h = {
2303
2305
  ...e.builderContextSignal.content,
2304
2306
  ...g,
2305
2307
  data: {
2306
- ...(v = e.builderContextSignal.content) == null ? void 0 : v.data,
2308
+ ...(x = e.builderContextSignal.content) == null ? void 0 : x.data,
2307
2309
  ...g == null ? void 0 : g.data
2308
2310
  },
2309
2311
  meta: {
2310
- ...(x = e.builderContextSignal.content) == null ? void 0 : x.meta,
2312
+ ...(S = e.builderContextSignal.content) == null ? void 0 : S.meta,
2311
2313
  ...g == null ? void 0 : g.meta,
2312
- breakpoints: ((C = g == null ? void 0 : g.meta) == null ? void 0 : C.breakpoints) || ((U = (P = e.builderContextSignal.content) == null ? void 0 : P.meta) == null ? void 0 : U.breakpoints)
2314
+ breakpoints: ((k = g == null ? void 0 : g.meta) == null ? void 0 : k.breakpoints) || ((U = (B = e.builderContextSignal.content) == null ? void 0 : B.meta) == null ? void 0 : U.breakpoints)
2313
2315
  }
2314
2316
  };
2315
2317
  dn({
2316
- value: f,
2317
- key: f.id
2318
+ value: h,
2319
+ key: h.id
2318
2320
  }).then(() => {
2319
2321
  T.refresh();
2320
2322
  });
@@ -2325,7 +2327,7 @@ function pn(e) {
2325
2327
  "aria-hidden": !0
2326
2328
  };
2327
2329
  }
2328
- const [a, r] = N(
2330
+ const [a, r] = A(
2329
2331
  () => e.contentWrapper || "div"
2330
2332
  );
2331
2333
  function c(g) {
@@ -2333,27 +2335,27 @@ function pn(e) {
2333
2335
  model: e.model,
2334
2336
  trustedHosts: e.trustedHosts,
2335
2337
  callbacks: {
2336
- configureSdk: (f) => {
2337
- var C;
2338
- const { breakpoints: v, contentId: x } = f;
2339
- !x || x !== ((C = e.builderContextSignal.content) == null ? void 0 : C.id) || v && i({
2338
+ configureSdk: (h) => {
2339
+ var k;
2340
+ const { breakpoints: x, contentId: S } = h;
2341
+ !S || S !== ((k = e.builderContextSignal.content) == null ? void 0 : k.id) || x && i({
2340
2342
  meta: {
2341
- breakpoints: v
2343
+ breakpoints: x
2342
2344
  }
2343
2345
  });
2344
2346
  },
2345
- animation: (f) => {
2346
- hn(f);
2347
+ animation: (h) => {
2348
+ fn(h);
2347
2349
  },
2348
- contentUpdate: (f) => {
2349
- i(f);
2350
+ contentUpdate: (h) => {
2351
+ i(h);
2350
2352
  }
2351
2353
  }
2352
2354
  })(g);
2353
2355
  }
2354
2356
  function s() {
2355
- var f, v;
2356
- const g = (v = (f = e.builderContextSignal.content) == null ? void 0 : f.data) == null ? void 0 : v.jsCode;
2357
+ var h, x;
2358
+ const g = (x = (h = e.builderContextSignal.content) == null ? void 0 : h.data) == null ? void 0 : x.jsCode;
2357
2359
  g && H({
2358
2360
  code: g,
2359
2361
  context: e.context || {},
@@ -2366,31 +2368,31 @@ function pn(e) {
2366
2368
  enableCache: !1
2367
2369
  });
2368
2370
  }
2369
- const [d, m] = N(() => ({})), [u, h] = N(() => ({})), [p, I] = N(() => !1);
2370
- function y(g) {
2371
- var f, v;
2371
+ const [d, m] = A(() => ({})), [u, f] = A(() => ({})), [w, I] = A(() => !1);
2372
+ function b(g) {
2373
+ var h, x;
2372
2374
  if (e.builderContextSignal.content) {
2373
- const x = (f = e.builderContextSignal.content) == null ? void 0 : f.testVariationId, C = (v = e.builderContextSignal.content) == null ? void 0 : v.id;
2375
+ const S = (h = e.builderContextSignal.content) == null ? void 0 : h.testVariationId, k = (x = e.builderContextSignal.content) == null ? void 0 : x.id;
2374
2376
  ue({
2375
2377
  type: "click",
2376
2378
  canTrack: q(e.canTrack),
2377
- contentId: C,
2379
+ contentId: k,
2378
2380
  apiKey: e.apiKey,
2379
- variationId: x !== C ? x : void 0,
2381
+ variationId: S !== k ? S : void 0,
2380
2382
  ...sn(g),
2381
- unique: !p
2383
+ unique: !w
2382
2384
  });
2383
2385
  }
2384
- p || I(!0);
2386
+ w || I(!0);
2385
2387
  }
2386
- function A() {
2387
- var f, v, x;
2388
- const g = (x = (v = (f = e.builderContextSignal.content) == null ? void 0 : f.data) == null ? void 0 : v.httpRequests) != null ? x : {};
2389
- Object.entries(g).forEach(([C, P]) => {
2390
- if (!P || u[C] || d[C] && !V())
2388
+ function P() {
2389
+ var h, x, S;
2390
+ const g = (S = (x = (h = e.builderContextSignal.content) == null ? void 0 : h.data) == null ? void 0 : x.httpRequests) != null ? S : {};
2391
+ Object.entries(g).forEach(([k, B]) => {
2392
+ if (!B || u[k] || d[k] && !V())
2391
2393
  return;
2392
- u[C] = !0;
2393
- const U = P.replace(
2394
+ u[k] = !0;
2395
+ const U = B.replace(
2394
2396
  /{{([^}]+)}}/g,
2395
2397
  ($, Ne) => String(
2396
2398
  H({
@@ -2405,16 +2407,16 @@ function pn(e) {
2405
2407
  );
2406
2408
  De(U).then(($) => $.json()).then(($) => {
2407
2409
  n({
2408
- [C]: $
2409
- }), d[C] = !0;
2410
+ [k]: $
2411
+ }), d[k] = !0;
2410
2412
  }).catch(($) => {
2411
- console.error("error fetching dynamic data", P, $);
2413
+ console.error("error fetching dynamic data", B, $);
2412
2414
  }).finally(() => {
2413
- u[C] = !1;
2415
+ u[k] = !1;
2414
2416
  });
2415
2417
  });
2416
2418
  }
2417
- function S() {
2419
+ function y() {
2418
2420
  V() && window.dispatchEvent(
2419
2421
  new CustomEvent(
2420
2422
  "builder:component:stateChange",
@@ -2429,7 +2431,7 @@ function pn(e) {
2429
2431
  )
2430
2432
  );
2431
2433
  }
2432
- function b(g) {
2434
+ function v(g) {
2433
2435
  window.addEventListener("message", c), je(), He({
2434
2436
  ...e.locale ? {
2435
2437
  locale: e.locale
@@ -2442,25 +2444,25 @@ function pn(e) {
2442
2444
  } : {}
2443
2445
  }), Object.values(
2444
2446
  e.builderContextSignal.componentInfos
2445
- ).forEach((f) => {
2446
- var x;
2447
- const v = Me(f);
2448
- (x = window.parent) == null || x.postMessage(v, "*");
2447
+ ).forEach((h) => {
2448
+ var S;
2449
+ const x = Me(h);
2450
+ (S = window.parent) == null || S.postMessage(x, "*");
2449
2451
  }), window.addEventListener(
2450
2452
  "builder:component:stateChangeListenerActivated",
2451
- S
2453
+ y
2452
2454
  );
2453
2455
  }
2454
- function k(g) {
2455
- const f = new URL(location.href).searchParams, v = f.get("builder.preview"), x = f.get(
2456
- `builder.overrides.${v}`
2457
- ), C = f.get("apiKey") || f.get("builder.space");
2458
- v === e.model && C === e.apiKey && (!e.content || x === e.content.id) && ke({
2456
+ function p(g) {
2457
+ const h = new URL(location.href).searchParams, x = h.get("builder.preview"), S = h.get(
2458
+ `builder.overrides.${x}`
2459
+ ), k = h.get("apiKey") || h.get("builder.space");
2460
+ x === e.model && k === e.apiKey && (!e.content || S === e.content.id) && ke({
2459
2461
  model: e.model,
2460
2462
  apiKey: e.apiKey,
2461
2463
  apiVersion: e.builderContextSignal.apiVersion
2462
- }).then((P) => {
2463
- P && i(P);
2464
+ }).then((B) => {
2465
+ B && i(B);
2464
2466
  });
2465
2467
  }
2466
2468
  const T = Ke();
@@ -2468,37 +2470,37 @@ function pn(e) {
2468
2470
  var g;
2469
2471
  return (g = t.current) == null || g.addEventListener(
2470
2472
  "initeditingbldr",
2471
- b
2473
+ v
2472
2474
  ), () => {
2473
- var f;
2474
- return (f = t.current) == null ? void 0 : f.removeEventListener(
2475
+ var h;
2476
+ return (h = t.current) == null ? void 0 : h.removeEventListener(
2475
2477
  "initeditingbldr",
2476
- b
2478
+ v
2477
2479
  );
2478
2480
  };
2479
2481
  }, []), R(() => {
2480
2482
  var g;
2481
2483
  return (g = t.current) == null || g.addEventListener(
2482
2484
  "initpreviewingbldr",
2483
- k
2485
+ p
2484
2486
  ), () => {
2485
- var f;
2486
- return (f = t.current) == null ? void 0 : f.removeEventListener(
2487
+ var h;
2488
+ return (h = t.current) == null ? void 0 : h.removeEventListener(
2487
2489
  "initpreviewingbldr",
2488
- k
2490
+ p
2489
2491
  );
2490
2492
  };
2491
2493
  }, []), R(() => {
2492
- var g, f;
2494
+ var g, h;
2493
2495
  if (L()) {
2494
2496
  if (V() && t.current && t.current.dispatchEvent(new CustomEvent("initeditingbldr")), e.builderContextSignal.content && q(e.canTrack)) {
2495
- const x = (g = e.builderContextSignal.content) == null ? void 0 : g.testVariationId, C = (f = e.builderContextSignal.content) == null ? void 0 : f.id, P = e.apiKey;
2497
+ const S = (g = e.builderContextSignal.content) == null ? void 0 : g.testVariationId, k = (h = e.builderContextSignal.content) == null ? void 0 : h.id, B = e.apiKey;
2496
2498
  ue({
2497
2499
  type: "impression",
2498
2500
  canTrack: !0,
2499
- contentId: C,
2500
- apiKey: P,
2501
- variationId: x !== C ? x : void 0
2501
+ contentId: k,
2502
+ apiKey: B,
2503
+ variationId: S !== k ? S : void 0
2502
2504
  });
2503
2505
  }
2504
2506
  Le() && V();
@@ -2506,14 +2508,14 @@ function pn(e) {
2506
2508
  }, []), R(() => {
2507
2509
  e.apiKey || J.error(
2508
2510
  "No API key provided to `Content` component. This can cause issues. Please provide an API key using the `apiKey` prop."
2509
- ), s(), A(), S();
2511
+ ), s(), P(), y();
2510
2512
  }, []), R(() => {
2511
2513
  }, [e.content]), R(() => {
2512
2514
  s();
2513
- }, [(O = (B = e.builderContextSignal.content) == null ? void 0 : B.data) == null ? void 0 : O.jsCode]), R(() => {
2514
- A();
2515
+ }, [(O = (W = e.builderContextSignal.content) == null ? void 0 : W.data) == null ? void 0 : O.jsCode]), R(() => {
2516
+ P();
2515
2517
  }, [(X = (D = e.builderContextSignal.content) == null ? void 0 : D.data) == null ? void 0 : X.httpRequests]), R(() => {
2516
- S();
2518
+ y();
2517
2519
  }, [e.builderContextSignal.rootState]), R(() => {
2518
2520
  e.data && n(e.data);
2519
2521
  }, [e.data]), R(() => {
@@ -2523,13 +2525,13 @@ function pn(e) {
2523
2525
  }, [e.locale]), R(() => () => {
2524
2526
  L() && (window.removeEventListener("message", c), window.removeEventListener(
2525
2527
  "builder:component:stateChangeListenerActivated",
2526
- S
2528
+ y
2527
2529
  ));
2528
2530
  }, []), /* @__PURE__ */ l(rn.Provider, { value: e.builderContextSignal, children: e.builderContextSignal.content ? /* @__PURE__ */ l(
2529
2531
  a,
2530
2532
  {
2531
2533
  ref: t,
2532
- onClick: (g) => y(g),
2534
+ onClick: (g) => b(g),
2533
2535
  "builder-content-id": (Z = e.builderContextSignal.content) == null ? void 0 : Z.id,
2534
2536
  "builder-model": e.model,
2535
2537
  ...o(),
@@ -2590,7 +2592,7 @@ const Cn = ({
2590
2592
  meta: e == null ? void 0 : e.meta
2591
2593
  } : void 0;
2592
2594
  function pe(e) {
2593
- var o, a, r, c, s, d, m, u, h;
2595
+ var o, a, r, c, s, d, m, u, f, w, I;
2594
2596
  const t = an({
2595
2597
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
2596
2598
  variationId: (o = e.content) == null ? void 0 : o.testVariationId,
@@ -2598,12 +2600,12 @@ function pe(e) {
2598
2600
  contentId: (a = e.content) == null ? void 0 : a.id
2599
2601
  }), n = [
2600
2602
  ...ye(),
2601
- ...e.customComponents || []
2603
+ ...((r = e.customComponents) == null ? void 0 : r.filter(({ models: b }) => !(b != null && b.length) || !e.model ? !0 : b.includes(e.model))) || []
2602
2604
  ].reduce(
2603
- (p, { component: I, ...y }) => ({
2604
- ...p,
2605
+ (b, { component: P, ...y }) => ({
2606
+ ...b,
2605
2607
  [y.name]: {
2606
- component: I,
2608
+ component: P,
2607
2609
  ...me(y)
2608
2610
  }
2609
2611
  }),
@@ -2626,10 +2628,10 @@ function pe(e) {
2626
2628
  apiVersion: e.apiVersion,
2627
2629
  componentInfos: [
2628
2630
  ...ye(),
2629
- ...e.customComponents || []
2631
+ ...((c = e.customComponents) == null ? void 0 : c.filter(({ models: b }) => !(b != null && b.length) || !e.model ? !0 : b.includes(e.model))) || []
2630
2632
  ].reduce(
2631
- (p, { component: I, ...y }) => ({
2632
- ...p,
2633
+ (b, { component: P, ...y }) => ({
2634
+ ...b,
2633
2635
  [y.name]: me(y)
2634
2636
  }),
2635
2637
  {}
@@ -2670,15 +2672,15 @@ function pe(e) {
2670
2672
  {
2671
2673
  nonce: e.nonce || "",
2672
2674
  isNestedRender: e.isNestedRender,
2673
- contentId: (r = i.content) == null ? void 0 : r.id,
2674
- cssCode: (s = (c = i.content) == null ? void 0 : c.data) == null ? void 0 : s.cssCode,
2675
- customFonts: (m = (d = i.content) == null ? void 0 : d.data) == null ? void 0 : m.customFonts
2675
+ contentId: (s = i.content) == null ? void 0 : s.id,
2676
+ cssCode: (m = (d = i.content) == null ? void 0 : d.data) == null ? void 0 : m.cssCode,
2677
+ customFonts: (f = (u = i.content) == null ? void 0 : u.data) == null ? void 0 : f.customFonts
2676
2678
  }
2677
2679
  ),
2678
2680
  /* @__PURE__ */ l(
2679
2681
  le,
2680
2682
  {
2681
- blocks: (h = (u = i.content) == null ? void 0 : u.data) == null ? void 0 : h.blocks,
2683
+ blocks: (I = (w = i.content) == null ? void 0 : w.data) == null ? void 0 : I.blocks,
2682
2684
  context: i,
2683
2685
  registeredComponents: n,
2684
2686
  linkComponent: e.linkComponent
@@ -2714,7 +2716,7 @@ function In(e) {
2714
2716
  canTrack: q(e.canTrack)
2715
2717
  });
2716
2718
  };
2717
- return /* @__PURE__ */ E(w, { children: [
2719
+ return /* @__PURE__ */ E(C, { children: [
2718
2720
  !e.isNestedRender && M !== "reactNative" ? /* @__PURE__ */ l(
2719
2721
  ne,
2720
2722
  {
@@ -2723,7 +2725,7 @@ function In(e) {
2723
2725
  nonce: e.nonce || ""
2724
2726
  }
2725
2727
  ) : null,
2726
- t ? /* @__PURE__ */ E(w, { children: [
2728
+ t ? /* @__PURE__ */ E(C, { children: [
2727
2729
  /* @__PURE__ */ l(
2728
2730
  Q,
2729
2731
  {
@@ -2820,12 +2822,12 @@ async function Rn(e) {
2820
2822
  }, n = function() {
2821
2823
  return "div";
2822
2824
  }, i = function() {
2823
- var u, h;
2825
+ var u, f;
2824
2826
  return [
2825
2827
  e.attributes[j()],
2826
2828
  "builder-symbol",
2827
2829
  (u = e.symbol) != null && u.inline ? "builder-inline-symbol" : void 0,
2828
- (h = e.symbol) != null && h.dynamic || e.dynamic ? "builder-dynamic-symbol" : void 0
2830
+ (f = e.symbol) != null && f.dynamic || e.dynamic ? "builder-dynamic-symbol" : void 0
2829
2831
  ].filter(Boolean).join(" ");
2830
2832
  }, o = ((a = e.symbol) == null ? void 0 : a.content) || await Tn({
2831
2833
  symbol: e.symbol,