@builder.io/sdk-react 1.0.11 → 1.0.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (67) hide show
  1. package/lib/browser/blocks-exports.cjs +32 -31
  2. package/lib/browser/blocks-exports.mjs +914 -877
  3. package/lib/browser/index.cjs +1 -1
  4. package/lib/browser/index.mjs +1 -1
  5. package/lib/browser/{server-entry-acc5a9c8.js → server-entry-1a840bf8.js} +1 -1
  6. package/lib/browser/{server-entry-4829e1ce.cjs → server-entry-20402a85.cjs} +1 -1
  7. package/lib/browser/server-entry.cjs +1 -1
  8. package/lib/browser/server-entry.mjs +1 -1
  9. package/lib/edge/blocks-ca61b343.cjs +32 -0
  10. package/lib/edge/blocks-exports.cjs +1 -1
  11. package/lib/edge/blocks-exports.mjs +2 -2
  12. package/lib/edge/{blocks-244199ab.js → blocks-fd4ab30c.js} +1003 -967
  13. package/lib/edge/{button-73916377.js → button-45681a80.js} +3 -3
  14. package/lib/edge/{button-8cd5d71a.cjs → button-6d8b002c.cjs} +1 -1
  15. package/lib/edge/{columns-c7d9b9f1.js → columns-61e1043d.js} +33 -33
  16. package/lib/edge/{columns-88c9df52.cjs → columns-77e4f17d.cjs} +2 -2
  17. package/lib/edge/{content-variants-d5455178.js → content-variants-c085fa7f.js} +135 -124
  18. package/lib/edge/{content-variants-1a65d814.cjs → content-variants-c86fdb5a.cjs} +13 -12
  19. package/lib/edge/dynamic-renderer-8b343325.js +8 -0
  20. package/lib/edge/{dynamic-renderer-1c9f24c0.cjs → dynamic-renderer-b29b45ca.cjs} +1 -1
  21. package/lib/edge/{form-ad532981.js → form-4fae6192.js} +56 -66
  22. package/lib/edge/form-b996f9f9.cjs +1 -0
  23. package/lib/edge/{get-class-prop-name-1178de8b.js → get-class-prop-name-0e4b7b88.js} +1 -1
  24. package/lib/edge/{get-class-prop-name-c082f4f3.cjs → get-class-prop-name-14e14eea.cjs} +1 -1
  25. package/lib/edge/{image-2cc909d9.js → image-0008c792.js} +25 -25
  26. package/lib/edge/image-ee3dd857.cjs +17 -0
  27. package/lib/edge/{img-749d10ed.js → img-1259941e.js} +1 -1
  28. package/lib/edge/{img-f61f7931.cjs → img-c623011b.cjs} +1 -1
  29. package/lib/edge/index.cjs +1 -1
  30. package/lib/edge/index.mjs +1 -1
  31. package/lib/edge/{input-ccec5aae.js → input-02a1cd9f.js} +1 -1
  32. package/lib/edge/{input-184da708.cjs → input-2c618b06.cjs} +1 -1
  33. package/lib/edge/{select-a5fc0333.cjs → select-3acbf5f6.cjs} +1 -1
  34. package/lib/edge/{select-50a6db92.js → select-b1b6d0bf.js} +1 -1
  35. package/lib/edge/{server-entry-1cbf5bef.js → server-entry-3f0061ea.js} +1 -1
  36. package/lib/edge/{server-entry-178f215d.cjs → server-entry-d8f950e0.cjs} +1 -1
  37. package/lib/edge/server-entry.cjs +1 -1
  38. package/lib/edge/server-entry.mjs +1 -1
  39. package/lib/edge/{slot-dad01f2d.js → slot-3cefe326.js} +4 -4
  40. package/lib/edge/{slot-d3ff8e4d.cjs → slot-92eac261.cjs} +1 -1
  41. package/lib/edge/{symbol-31283b30.cjs → symbol-741f0aee.cjs} +1 -1
  42. package/lib/edge/{symbol-b6db0014.js → symbol-e2a47b92.js} +3 -3
  43. package/lib/edge/{video-d02ff89b.js → video-58c2cc8d.js} +15 -15
  44. package/lib/edge/video-e20dcbbc.cjs +1 -0
  45. package/lib/node/blocks-exports.cjs +22 -21
  46. package/lib/node/blocks-exports.mjs +492 -455
  47. package/lib/node/index.cjs +1 -1
  48. package/lib/node/index.mjs +1 -1
  49. package/lib/node/{server-entry-09a75819.js → server-entry-383e8da6.js} +1 -1
  50. package/lib/node/{server-entry-856d379b.cjs → server-entry-6d61d1cf.cjs} +1 -1
  51. package/lib/node/server-entry.cjs +1 -1
  52. package/lib/node/server-entry.mjs +1 -1
  53. package/package.json +1 -1
  54. package/types/components/block/block.helpers.d.ts +4 -0
  55. package/types/components/content/components/enable-editor.d.ts +1 -1
  56. package/types/components/content/components/styles.d.ts +1 -0
  57. package/types/components/content/components/styles.helpers.d.ts +1 -0
  58. package/types/components/content/contentProps.types.d.ts +6 -1
  59. package/types/components/content-variants/content-variants.d.ts +1 -1
  60. package/types/constants/sdk-version.d.ts +1 -1
  61. package/types/functions/evaluate/evaluate.d.ts +3 -1
  62. package/types/functions/evaluate/helpers.d.ts +1 -0
  63. package/lib/edge/blocks-a05f6af2.cjs +0 -32
  64. package/lib/edge/dynamic-renderer-96ba4e48.js +0 -8
  65. package/lib/edge/form-713c6da6.cjs +0 -1
  66. package/lib/edge/image-7e1361ce.cjs +0 -17
  67. package/lib/edge/video-64014cc4.cjs +0 -1
@@ -1,13 +1,16 @@
1
1
  "use client";
2
- import { jsx as l, Fragment as m, jsxs as N } from "react/jsx-runtime";
3
- import { TARGET as z, isEditing as M, isBrowser as H, getUserAttributes as De, checkIsDefined as Q, logger as _, fastClone as ae, registerInsertMenu as Me, setupBrowserForEditing as Oe, createRegisterComponentMessage as je, getDefaultCanTrack as X, _track as fe, isPreviewing as Ue, fetchOneEntry as we, createEditorListener as He, fetch as _e, serializeComponentInfo as he, handleABTestingSync as Ke } from "./server-entry-acc5a9c8.js";
4
- import { createContext as Ie, useState as x, useEffect as W, useContext as ge, useRef as ee, createElement as re } from "react";
5
- const qe = /* @__PURE__ */ new Set(["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen", "link", "meta", "param", "source", "track", "wbr"]), ze = (e) => typeof e == "string" && qe.has(e.toLowerCase());
6
- function le(e) {
7
- return /* @__PURE__ */ l(m, { children: ze(e.TagName) ? /* @__PURE__ */ l(m, { children: /* @__PURE__ */ l(e.TagName, { ...e.attributes, ...e.actionAttributes }) }) : /* @__PURE__ */ l(m, { children: typeof e.TagName == "string" ? /* @__PURE__ */ l(m, { children: /* @__PURE__ */ l(e.TagName, { ...e.attributes, ...e.actionAttributes, children: e.children }) }) : /* @__PURE__ */ l(m, { children: /* @__PURE__ */ l(e.TagName, { ...e.attributes, ...e.actionAttributes, children: e.children }) }) }) });
2
+ var Ue = Object.defineProperty;
3
+ var je = (e, t, n) => t in e ? Ue(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
4
+ var oe = (e, t, n) => (je(e, typeof t != "symbol" ? t + "" : t, n), n);
5
+ import { jsx as c, Fragment as E, jsxs as F } from "react/jsx-runtime";
6
+ import { TARGET as Y, isEditing as L, isBrowser as q, getUserAttributes as He, checkIsDefined as Z, logger as z, fastClone as se, registerInsertMenu as Ke, setupBrowserForEditing as qe, createRegisterComponentMessage as ze, getDefaultCanTrack as ee, _track as be, isPreviewing as _e, fetchOneEntry as Ee, createEditorListener as Je, fetch as Ye, serializeComponentInfo as ye, handleABTestingSync as Ge } from "./server-entry-1a840bf8.js";
7
+ import { createContext as Re, useState as S, useEffect as A, useContext as pe, useRef as ne, createElement as ce } from "react";
8
+ const Qe = /* @__PURE__ */ new Set(["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen", "link", "meta", "param", "source", "track", "wbr"]), Xe = (e) => typeof e == "string" && Qe.has(e.toLowerCase());
9
+ function de(e) {
10
+ return /* @__PURE__ */ c(E, { children: Xe(e.TagName) ? /* @__PURE__ */ c(E, { children: /* @__PURE__ */ c(e.TagName, { ...e.attributes, ...e.actionAttributes }) }) : /* @__PURE__ */ c(E, { children: typeof e.TagName == "string" ? /* @__PURE__ */ c(e.TagName, { ...e.attributes, ...e.actionAttributes, children: e.children }) : /* @__PURE__ */ c(e.TagName, { ...e.attributes, ...e.actionAttributes, children: e.children }) }) });
8
11
  }
9
- const K = () => {
10
- switch (z) {
12
+ const _ = () => {
13
+ switch (Y) {
11
14
  case "react":
12
15
  case "reactNative":
13
16
  case "rsc":
@@ -19,13 +22,13 @@ const K = () => {
19
22
  return "class";
20
23
  }
21
24
  };
22
- function Je(e) {
23
- return /* @__PURE__ */ l(
24
- le,
25
+ function Ze(e) {
26
+ return /* @__PURE__ */ c(
27
+ de,
25
28
  {
26
29
  attributes: {
27
30
  ...e.attributes,
28
- [K()]: `${e.link ? "" : "builder-button"} ${e.attributes[K()] || ""}`,
31
+ [_()]: `${e.link ? "" : "builder-button"} ${e.attributes[_()] || ""}`,
29
32
  ...e.link ? {
30
33
  href: e.link,
31
34
  target: e.openLinkInNewTab ? "_blank" : void 0,
@@ -40,7 +43,7 @@ function Je(e) {
40
43
  }
41
44
  );
42
45
  }
43
- const se = Ie({
46
+ const ue = Re({
44
47
  content: null,
45
48
  context: {},
46
49
  localState: void 0,
@@ -53,8 +56,8 @@ const se = Ie({
53
56
  inheritedStyles: {},
54
57
  BlocksWrapper: "div",
55
58
  BlocksWrapperProps: {}
56
- }), Te = Ie({ registeredComponents: {} });
57
- function Ye(e) {
59
+ }), Pe = Re({ registeredComponents: {} });
60
+ function et(e) {
58
61
  var t;
59
62
  return {
60
63
  ...(t = e.component) == null ? void 0 : t.options,
@@ -65,7 +68,7 @@ function Ye(e) {
65
68
  builderBlock: e
66
69
  };
67
70
  }
68
- const Ge = ({
71
+ const tt = ({
69
72
  builder: e,
70
73
  context: t,
71
74
  event: n,
@@ -77,14 +80,14 @@ const Ge = ({
77
80
  builder: e,
78
81
  context: t,
79
82
  event: n
80
- }), Qe = () => ({
81
- isEditing: M(),
82
- isBrowser: H(),
83
- isServer: !H(),
84
- getUserAttributes: () => De()
85
- }), Xe = (e, {
83
+ }), nt = () => ({
84
+ isEditing: L(),
85
+ isBrowser: q(),
86
+ isServer: !q(),
87
+ getUserAttributes: () => He()
88
+ }), it = (e, {
86
89
  isExpression: t = !0
87
- }) => /* 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, be = ({
90
+ }) => /* 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, Se = ({
88
91
  code: e,
89
92
  builder: t,
90
93
  context: n,
@@ -93,19 +96,19 @@ const Ge = ({
93
96
  rootSetState: a,
94
97
  rootState: r
95
98
  }) => {
96
- const s = Ge({
99
+ const l = tt({
97
100
  builder: t,
98
101
  context: n,
99
102
  event: i,
100
- state: Ee({
103
+ state: Ve({
101
104
  rootState: r,
102
105
  localState: o,
103
106
  rootSetState: a
104
107
  })
105
108
  });
106
- return new Function(...s.map(([c]) => c), e)(...s.map(([, c]) => c));
109
+ return new Function(...l.map(([d]) => d), e)(...l.map(([, d]) => d));
107
110
  };
108
- function Ee({
111
+ function Ve({
109
112
  rootState: e,
110
113
  localState: t,
111
114
  rootSetState: n
@@ -115,7 +118,7 @@ function Ee({
115
118
  if (t && o in t)
116
119
  return t[o];
117
120
  const a = i[o];
118
- return typeof a == "object" ? Ee({
121
+ return typeof a == "object" && a !== null ? Ve({
119
122
  rootState: a,
120
123
  localState: void 0,
121
124
  rootSetState: n ? (r) => {
@@ -130,57 +133,87 @@ function Ee({
130
133
  }
131
134
  });
132
135
  }
133
- function Ze() {
136
+ function ot() {
134
137
  var e;
135
- return typeof process != "undefined" && Q((e = process == null ? void 0 : process.versions) == null ? void 0 : e.node);
138
+ return typeof process != "undefined" && Z((e = process == null ? void 0 : process.versions) == null ? void 0 : e.node);
136
139
  }
137
- const et = () => {
140
+ const at = () => {
138
141
  var i;
139
- if (!Ze())
142
+ if (!ot())
140
143
  return !1;
141
144
  const e = process.arch === "arm64", t = process.version.startsWith("v20"), n = (i = process.env.NODE_OPTIONS) == null ? void 0 : i.includes("--no-node-snapshot");
142
- return e && t && !n ? (_.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;
143
- }, tt = (e) => (H() || et(), be(e));
144
- function q({
145
+ return e && t && !n ? (z.log("Skipping usage of `isolated-vm` to avoid crashes in Node v20 on an arm64 machine.\n If you would like to use the `isolated-vm` package on this machine, please provide the `NODE_OPTIONS=--no-node-snapshot` config to your Node process.\n See https://github.com/BuilderIO/builder/blob/main/packages/sdks/README.md#node-v20--m1-macs-apple-silicon-support for more information.\n "), !0) : !1;
146
+ }, rt = (e) => (q() || at(), Se(e)), D = class D {
147
+ static getCacheKey(t) {
148
+ return JSON.stringify({
149
+ ...t,
150
+ // replace the event with a random number to break cache
151
+ // thats because we can't serialize the event object due to circular refs in DOM node refs.
152
+ event: t.event ? Math.random() : void 0
153
+ });
154
+ }
155
+ static getCachedValue(t) {
156
+ return D.cache.get(t);
157
+ }
158
+ static setCachedValue(t, n) {
159
+ D.cache.size > 20 && D.cache.delete(D.cache.keys().next().value), D.cache.set(t, {
160
+ value: n
161
+ });
162
+ }
163
+ };
164
+ oe(D, "cacheLimit", 20), oe(D, "cache", /* @__PURE__ */ new Map());
165
+ let H = D;
166
+ function J({
145
167
  code: e,
146
168
  context: t,
147
169
  localState: n,
148
170
  rootState: i,
149
171
  rootSetState: o,
150
172
  event: a,
151
- isExpression: r = !0
173
+ isExpression: r = !0,
174
+ enableCache: l
152
175
  }) {
153
176
  if (e === "") {
154
- _.warn("Skipping evaluation of empty code block.");
177
+ z.warn("Skipping evaluation of empty code block.");
155
178
  return;
156
179
  }
157
- const s = {
158
- code: Xe(e, {
180
+ const d = {
181
+ code: it(e, {
159
182
  isExpression: r
160
183
  }),
161
- builder: Qe(),
184
+ builder: nt(),
162
185
  context: t,
163
186
  event: a,
164
187
  rootSetState: o,
165
188
  rootState: i,
166
189
  localState: n
167
190
  };
191
+ if (l) {
192
+ const s = H.getCacheKey(d), u = H.getCachedValue(s);
193
+ if (u)
194
+ return u.value;
195
+ }
168
196
  try {
169
- return tt(s);
170
- } catch (c) {
171
- _.error("Failed code evaluation: " + c.message, {
197
+ const s = rt(d);
198
+ if (l) {
199
+ const u = H.getCacheKey(d);
200
+ H.setCachedValue(u, s);
201
+ }
202
+ return s;
203
+ } catch (s) {
204
+ z.error("Failed code evaluation: " + s.message, {
172
205
  code: e
173
206
  });
174
207
  return;
175
208
  }
176
209
  }
177
- const Re = (e, t, n) => {
210
+ const Be = (e, t, n) => {
178
211
  if (Object(e) !== e)
179
212
  return e;
180
213
  const i = Array.isArray(t) ? t : t.toString().match(/[^.[\]]+/g);
181
214
  return i.slice(0, -1).reduce((o, a, r) => Object(o[a]) === o[a] ? o[a] : o[a] = Math.abs(Number(i[r + 1])) >> 0 === +i[r + 1] ? [] : {}, e)[i[i.length - 1]] = n, e;
182
215
  };
183
- const nt = ({
216
+ const lt = ({
184
217
  block: e,
185
218
  context: t,
186
219
  localState: n,
@@ -189,7 +222,7 @@ const nt = ({
189
222
  }) => {
190
223
  if (!e.bindings)
191
224
  return e;
192
- const a = ae(e), r = {
225
+ const a = se(e), r = {
193
226
  ...a,
194
227
  properties: {
195
228
  ...a.properties
@@ -198,19 +231,20 @@ const nt = ({
198
231
  ...a.actions
199
232
  }
200
233
  };
201
- for (const s in e.bindings) {
202
- const c = e.bindings[s], d = q({
203
- code: c,
234
+ for (const l in e.bindings) {
235
+ const d = e.bindings[l], s = J({
236
+ code: d,
204
237
  localState: n,
205
238
  rootState: i,
206
239
  rootSetState: o,
207
- context: t
240
+ context: t,
241
+ enableCache: !0
208
242
  });
209
- Re(r, s, d);
243
+ Be(r, l, s);
210
244
  }
211
245
  return r;
212
246
  };
213
- function Z({
247
+ function te({
214
248
  block: e,
215
249
  context: t,
216
250
  shouldEvaluateBindings: n,
@@ -219,7 +253,7 @@ function Z({
219
253
  rootSetState: a
220
254
  }) {
221
255
  const r = e;
222
- return n ? nt({
256
+ return n ? lt({
223
257
  block: r,
224
258
  localState: i,
225
259
  rootState: o,
@@ -227,19 +261,19 @@ function Z({
227
261
  context: t
228
262
  }) : r;
229
263
  }
230
- function it(e, t, n = {}) {
231
- let i, o, a, r = null, s = 0;
232
- const c = function() {
233
- s = n.leading === !1 ? 0 : Date.now(), r = null, a = e.apply(i, o), r || (i = o = null);
264
+ function st(e, t, n = {}) {
265
+ let i, o, a, r = null, l = 0;
266
+ const d = function() {
267
+ l = n.leading === !1 ? 0 : Date.now(), r = null, a = e.apply(i, o), r || (i = o = null);
234
268
  };
235
269
  return function() {
236
- const d = Date.now();
237
- !s && n.leading === !1 && (s = d);
238
- const u = t - (d - s);
239
- return i = this, o = arguments, u <= 0 || u > t ? (r && (clearTimeout(r), r = null), s = d, a = e.apply(i, o), r || (i = o = null)) : !r && n.trailing !== !1 && (r = setTimeout(c, u)), a;
270
+ const s = Date.now();
271
+ !l && n.leading === !1 && (l = s);
272
+ const u = t - (s - l);
273
+ return i = this, o = arguments, u <= 0 || u > t ? (r && (clearTimeout(r), r = null), l = s, a = e.apply(i, o), r || (i = o = null)) : !r && n.trailing !== !1 && (r = setTimeout(d, u)), a;
240
274
  };
241
275
  }
242
- function O(e, ...t) {
276
+ function U(e, ...t) {
243
277
  const n = Object(e);
244
278
  for (let i = 1; i < arguments.length; i++) {
245
279
  const o = arguments[i];
@@ -249,113 +283,155 @@ function O(e, ...t) {
249
283
  }
250
284
  return n;
251
285
  }
252
- const ce = (e) => e ? e.replace(/([A-Z])/g, (t) => `-${t[0].toLowerCase()}`) : "";
253
- function ot(e) {
286
+ const me = (e) => e ? e.replace(/([A-Z])/g, (t) => `-${t[0].toLowerCase()}`) : "";
287
+ function ct(e) {
254
288
  for (const t of e)
255
289
  switch (t.trigger) {
256
290
  case "pageLoad":
257
- Pe(t);
291
+ Ae(t);
258
292
  break;
259
293
  case "hover":
260
- rt(t);
294
+ ut(t);
261
295
  break;
262
296
  case "scrollInView":
263
- lt(t);
297
+ mt(t);
264
298
  break;
265
299
  }
266
300
  }
267
- function de(e) {
301
+ function fe(e) {
268
302
  console.warn(`Cannot animate element: element with ID ${e} not found!`);
269
303
  }
270
- function ue(e, t) {
271
- const n = at(e), i = getComputedStyle(t), o = e.steps[0].styles, a = e.steps[e.steps.length - 1].styles, r = [o, a];
272
- for (const s of r)
273
- for (const c of n)
274
- c in s || (s[c] = i[c]);
304
+ function he(e, t) {
305
+ const n = dt(e), i = getComputedStyle(t), o = e.steps[0].styles, a = e.steps[e.steps.length - 1].styles, r = [o, a];
306
+ for (const l of r)
307
+ for (const d of n)
308
+ d in l || (l[d] = i[d]);
275
309
  }
276
- function at(e) {
310
+ function dt(e) {
277
311
  const t = [];
278
312
  for (const n of e.steps)
279
313
  for (const i in n.styles)
280
314
  t.indexOf(i) === -1 && t.push(i);
281
315
  return t;
282
316
  }
283
- function Pe(e) {
317
+ function Ae(e) {
284
318
  const t = Array.prototype.slice.call(document.getElementsByClassName(e.elementId || e.id || ""));
285
319
  if (!t.length) {
286
- de(e.elementId || e.id || "");
320
+ fe(e.elementId || e.id || "");
287
321
  return;
288
322
  }
289
323
  Array.from(t).forEach((n) => {
290
- ue(e, n), n.style.transition = "none", n.style.transitionDelay = "0", O(n.style, e.steps[0].styles), setTimeout(() => {
291
- n.style.transition = `all ${e.duration}s ${ce(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s"), O(n.style, e.steps[1].styles), setTimeout(() => {
324
+ he(e, n), n.style.transition = "none", n.style.transitionDelay = "0", U(n.style, e.steps[0].styles), setTimeout(() => {
325
+ n.style.transition = `all ${e.duration}s ${me(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s"), U(n.style, e.steps[1].styles), setTimeout(() => {
292
326
  n.style.transition = "", n.style.transitionDelay = "";
293
327
  }, (e.delay || 0) * 1e3 + e.duration * 1e3 + 100);
294
328
  });
295
329
  });
296
330
  }
297
- function rt(e) {
331
+ function ut(e) {
298
332
  const t = Array.prototype.slice.call(document.getElementsByClassName(e.elementId || e.id || ""));
299
333
  if (!t.length) {
300
- de(e.elementId || e.id || "");
334
+ fe(e.elementId || e.id || "");
301
335
  return;
302
336
  }
303
337
  Array.from(t).forEach((n) => {
304
- ue(e, n);
338
+ he(e, n);
305
339
  const i = e.steps[0].styles, o = e.steps[1].styles;
306
340
  function a() {
307
- O(n.style, i);
341
+ U(n.style, i);
308
342
  }
309
343
  function r() {
310
- O(n.style, o);
344
+ U(n.style, o);
311
345
  }
312
346
  a(), n.addEventListener("mouseenter", r), n.addEventListener("mouseleave", a), setTimeout(() => {
313
- n.style.transition = `all ${e.duration}s ${ce(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s");
347
+ n.style.transition = `all ${e.duration}s ${me(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s");
314
348
  });
315
349
  });
316
350
  }
317
- function lt(e) {
351
+ function mt(e) {
318
352
  const t = Array.prototype.slice.call(document.getElementsByClassName(e.elementId || e.id || ""));
319
353
  if (!t.length) {
320
- de(e.elementId || e.id || "");
354
+ fe(e.elementId || e.id || "");
321
355
  return;
322
356
  }
323
357
  Array.from(t).forEach((n) => {
324
- ue(e, n);
358
+ he(e, n);
325
359
  let i = !1, o = !1;
326
360
  function a() {
327
- !i && s(n) ? (i = !0, o = !0, setTimeout(() => {
328
- O(n.style, e.steps[1].styles), e.repeat || document.removeEventListener("scroll", r), setTimeout(() => {
361
+ !i && l(n) ? (i = !0, o = !0, setTimeout(() => {
362
+ U(n.style, e.steps[1].styles), e.repeat || document.removeEventListener("scroll", r), setTimeout(() => {
329
363
  o = !1, e.repeat || (n.style.transition = "", n.style.transitionDelay = "");
330
364
  }, (e.duration + (e.delay || 0)) * 1e3 + 100);
331
- })) : e.repeat && i && !o && !s(n) && (i = !1, O(n.style, e.steps[0].styles));
365
+ })) : e.repeat && i && !o && !l(n) && (i = !1, U(n.style, e.steps[0].styles));
332
366
  }
333
- const r = it(a, 200, {
367
+ const r = st(a, 200, {
334
368
  leading: !1
335
369
  });
336
- function s(u) {
337
- const p = u.getBoundingClientRect(), v = window.innerHeight, g = (e.thresholdPercent || 0) / 100 * v;
338
- return p.bottom > g && p.top < v - g;
370
+ function l(u) {
371
+ const m = u.getBoundingClientRect(), h = window.innerHeight, y = (e.thresholdPercent || 0) / 100 * h;
372
+ return m.bottom > y && m.top < h - y;
339
373
  }
340
- const c = e.steps[0].styles;
341
- function d() {
342
- O(n.style, c);
374
+ const d = e.steps[0].styles;
375
+ function s() {
376
+ U(n.style, d);
343
377
  }
344
- d(), setTimeout(() => {
345
- n.style.transition = `all ${e.duration}s ${ce(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s");
378
+ s(), setTimeout(() => {
379
+ n.style.transition = `all ${e.duration}s ${me(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s");
346
380
  }), document.addEventListener("scroll", r, {
347
381
  capture: !0,
348
382
  passive: !0
349
383
  }), a();
350
384
  });
351
385
  }
352
- const st = ({
386
+ const ft = (e) => e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase(), We = (e) => Object.entries(e).map(([n, i]) => {
387
+ if (typeof i == "string")
388
+ return `${ft(n)}: ${i};`;
389
+ }).filter(Z), ht = (e) => We(e).join(`
390
+ `), ae = ({
391
+ mediaQuery: e,
392
+ className: t,
393
+ styles: n
394
+ }) => {
395
+ const i = `.${t} {
396
+ ${ht(n)}
397
+ }`;
398
+ return e ? `${e} {
399
+ ${i}
400
+ }` : i;
401
+ };
402
+ function gt({
403
+ style: e
404
+ }) {
405
+ return e;
406
+ }
407
+ const bt = ({
408
+ block: e,
409
+ context: t
410
+ }) => Ne(gt({
411
+ style: e.style || {},
412
+ context: t,
413
+ block: e
414
+ }));
415
+ function Ne(e) {
416
+ switch (Y) {
417
+ case "svelte":
418
+ case "vue":
419
+ case "solid":
420
+ return We(e).join(" ");
421
+ case "qwik":
422
+ case "reactNative":
423
+ case "react":
424
+ case "rsc":
425
+ return e;
426
+ }
427
+ }
428
+ const yt = ({
353
429
  block: e,
354
430
  context: t,
355
431
  registeredComponents: n
356
432
  }) => {
357
433
  var a;
358
- const i = (a = Z({
434
+ const i = (a = te({
359
435
  block: e,
360
436
  localState: t.localState,
361
437
  rootState: t.rootState,
@@ -371,7 +447,7 @@ const st = ({
371
447
  console.warn(`
372
448
  Could not find a registered component named "${i}".
373
449
  If you registered it, is the file that registered it imported by the file that needs to render it?`);
374
- }, ct = ({
450
+ }, pt = ({
375
451
  block: e,
376
452
  context: t
377
453
  }) => {
@@ -381,30 +457,31 @@ const st = ({
381
457
  } = e;
382
458
  if (!(n != null && n.collection))
383
459
  return;
384
- const o = q({
460
+ const o = J({
385
461
  code: n.collection,
386
462
  localState: t.localState,
387
463
  rootState: t.rootState,
388
464
  rootSetState: t.rootSetState,
389
- context: t.context
465
+ context: t.context,
466
+ enableCache: !0
390
467
  });
391
468
  if (!Array.isArray(o))
392
469
  return;
393
470
  const a = n.collection.split(".").pop(), r = n.itemName || (a ? a + "Item" : "item");
394
- return o.map((c, d) => ({
471
+ return o.map((d, s) => ({
395
472
  context: {
396
473
  ...t,
397
474
  localState: {
398
475
  ...t.localState,
399
- $index: d,
400
- $item: c,
401
- [r]: c,
402
- [`$${r}Index`]: d
476
+ $index: s,
477
+ $item: d,
478
+ [r]: d,
479
+ [`$${r}Index`]: s
403
480
  }
404
481
  },
405
482
  block: i
406
483
  }));
407
- }, Ve = {
484
+ }, Fe = {
408
485
  small: {
409
486
  min: 320,
410
487
  default: 321,
@@ -420,11 +497,11 @@ const st = ({
420
497
  default: 991,
421
498
  max: 1200
422
499
  }
423
- }, ye = (e, t = Ve) => `@media (max-width: ${t[e].max}px)`, Be = ({
500
+ }, xe = (e, t = Fe) => `@media (max-width: ${t[e].max}px)`, $e = ({
424
501
  small: e,
425
502
  medium: t
426
503
  }) => {
427
- const n = ae(Ve);
504
+ const n = se(Fe);
428
505
  if (!e || !t)
429
506
  return n;
430
507
  const i = Math.floor(e / 2);
@@ -446,28 +523,13 @@ const st = ({
446
523
  min: a,
447
524
  default: a + 1
448
525
  }, n;
449
- }, dt = (e) => e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase(), We = (e) => Object.entries(e).map(([n, i]) => {
450
- if (typeof i == "string")
451
- return `${dt(n)}: ${i};`;
452
- }).filter(Q), ut = (e) => We(e).join(`
453
- `), ne = ({
454
- mediaQuery: e,
455
- className: t,
456
- styles: n
457
- }) => {
458
- const i = `.${t} {
459
- ${ut(n)}
460
- }`;
461
- return e ? `${e} {
462
- ${i}
463
- }` : i;
464
526
  };
465
- function te(e) {
466
- return /* @__PURE__ */ l("style", { dangerouslySetInnerHTML: { __html: e.styles }, id: e.id });
527
+ function ie(e) {
528
+ return /* @__PURE__ */ c("style", { dangerouslySetInnerHTML: { __html: e.styles }, id: e.id });
467
529
  }
468
- function mt(e) {
530
+ function St(e) {
469
531
  function t() {
470
- const i = Z({
532
+ const i = te({
471
533
  block: e.block,
472
534
  localState: e.context.localState,
473
535
  rootState: e.context.rootState,
@@ -475,66 +537,67 @@ function mt(e) {
475
537
  context: e.context.context,
476
538
  shouldEvaluateBindings: !0
477
539
  });
478
- return Q(i.hide) ? !i.hide : Q(i.show) ? i.show : !0;
540
+ return Z(i.hide) ? !i.hide : Z(i.show) ? i.show : !0;
479
541
  }
480
542
  function n() {
481
- var g;
482
- const i = Z({
543
+ var y;
544
+ const i = te({
483
545
  block: e.block,
484
546
  localState: e.context.localState,
485
547
  rootState: e.context.rootState,
486
548
  rootSetState: e.context.rootSetState,
487
549
  context: e.context.context,
488
550
  shouldEvaluateBindings: !0
489
- }), o = i.responsiveStyles, a = e.context.content, r = Be(
490
- ((g = a == null ? void 0 : a.meta) == null ? void 0 : g.breakpoints) || {}
491
- ), s = o == null ? void 0 : o.large, c = o == null ? void 0 : o.medium, d = o == null ? void 0 : o.small, u = i.id;
551
+ }), o = i.responsiveStyles, a = e.context.content, r = $e(
552
+ ((y = a == null ? void 0 : a.meta) == null ? void 0 : y.breakpoints) || {}
553
+ ), l = o == null ? void 0 : o.large, d = o == null ? void 0 : o.medium, s = o == null ? void 0 : o.small, u = i.id;
492
554
  if (!u)
493
555
  return "";
494
- const p = s ? ne({
556
+ const m = l ? ae({
495
557
  className: u,
496
- styles: s
497
- }) : "", v = c ? ne({
558
+ styles: l
559
+ }) : "", h = d ? ae({
498
560
  className: u,
499
- styles: c,
500
- mediaQuery: ye(
561
+ styles: d,
562
+ mediaQuery: xe(
501
563
  "medium",
502
564
  r
503
565
  )
504
- }) : "", f = d ? ne({
566
+ }) : "", b = s ? ae({
505
567
  className: u,
506
- styles: d,
507
- mediaQuery: ye(
568
+ styles: s,
569
+ mediaQuery: xe(
508
570
  "small",
509
571
  r
510
572
  )
511
573
  }) : "";
512
- return [p, v, f].join(" ");
574
+ return [m, h, b].join(" ");
513
575
  }
514
- return /* @__PURE__ */ l(m, { children: n() && t() ? /* @__PURE__ */ l(m, { children: /* @__PURE__ */ l(te, { styles: n() }) }) : null });
576
+ return /* @__PURE__ */ c(E, { children: n() && t() ? /* @__PURE__ */ c(E, { children: /* @__PURE__ */ c(ie, { styles: n() }) }) : null });
515
577
  }
516
- function ft(e) {
578
+ function xt(e) {
517
579
  return e.charAt(0).toUpperCase() + e.slice(1);
518
580
  }
519
- const ht = (e) => `on${ft(e)}`, gt = (e, t) => (n) => q({
581
+ const vt = (e) => `on${xt(e)}`, kt = (e, t) => (n) => J({
520
582
  code: e,
521
583
  context: t.context,
522
584
  localState: t.localState,
523
585
  rootState: t.rootState,
524
586
  rootSetState: t.rootSetState,
525
587
  event: n,
526
- isExpression: !1
588
+ isExpression: !1,
589
+ enableCache: !0
527
590
  });
528
- function Ae(e) {
591
+ function Le(e) {
529
592
  var i;
530
593
  const t = {}, n = (i = e.block.actions) != null ? i : {};
531
594
  for (const o in n) {
532
595
  if (!n.hasOwnProperty(o))
533
596
  continue;
534
597
  const a = n[o];
535
- let r = ht(o);
598
+ let r = vt(o);
536
599
  if (e.stripPrefix)
537
- switch (z) {
600
+ switch (Y) {
538
601
  case "vue":
539
602
  r = r.replace("v-on:", "");
540
603
  break;
@@ -542,75 +605,49 @@ function Ae(e) {
542
605
  r = r.replace("on:", "");
543
606
  break;
544
607
  }
545
- t[r] = gt(a, e);
608
+ t[r] = kt(a, e);
546
609
  }
547
610
  return t;
548
611
  }
549
- function bt({
550
- style: e
551
- }) {
552
- return e;
553
- }
554
- const yt = ({
555
- block: e,
556
- context: t
557
- }) => Fe(bt({
558
- style: e.style || {},
559
- context: t,
560
- block: e
561
- }));
562
- function Fe(e) {
563
- switch (z) {
564
- case "svelte":
565
- case "vue":
566
- case "solid":
567
- return We(e).join(" ");
568
- case "qwik":
569
- case "reactNative":
570
- case "react":
571
- case "rsc":
572
- return e;
573
- }
574
- }
575
- function pt({
612
+ function Ct({
576
613
  properties: e
577
614
  }) {
578
615
  return e;
579
616
  }
580
- const xt = (e) => ({
617
+ const wt = (e) => ({
581
618
  href: e.href
582
619
  });
583
- function me({
620
+ function ge({
584
621
  block: e,
585
622
  context: t
586
623
  }) {
587
624
  var i;
588
625
  const n = {
589
- ...xt(e),
626
+ ...wt(e),
590
627
  ...e.properties,
591
628
  "builder-id": e.id,
592
- style: yt({
629
+ style: bt({
593
630
  block: e,
594
631
  context: t
595
632
  }),
596
- [K()]: [e.id, "builder-block", e.class, (i = e.properties) == null ? void 0 : i.class].filter(Boolean).join(" ")
633
+ [_()]: [e.id, "builder-block", e.class, (i = e.properties) == null ? void 0 : i.class].filter(Boolean).join(" ")
597
634
  };
598
- return pt({
635
+ return Ct({
599
636
  properties: n,
600
637
  context: t,
601
638
  block: e
602
639
  });
603
640
  }
604
- function St(e) {
605
- return /* @__PURE__ */ l(
606
- le,
641
+ function It(e) {
642
+ return /* @__PURE__ */ c(
643
+ de,
607
644
  {
608
645
  TagName: e.Wrapper,
609
- attributes: me({
646
+ attributes: ge({
610
647
  block: e.block,
611
648
  context: e.context
612
649
  }),
613
- actionAttributes: Ae({
650
+ actionAttributes: Le({
614
651
  block: e.block,
615
652
  rootState: e.context.rootState,
616
653
  rootSetState: e.context.rootSetState,
@@ -622,17 +659,17 @@ function St(e) {
622
659
  }
623
660
  );
624
661
  }
625
- function vt(e) {
626
- return /* @__PURE__ */ l(
662
+ function Tt(e) {
663
+ return /* @__PURE__ */ c(
627
664
  e.Wrapper,
628
665
  {
629
666
  ...e.wrapperProps,
630
667
  attributes: e.includeBlockProps ? {
631
- ...me({
668
+ ...ge({
632
669
  block: e.block,
633
670
  context: e.context
634
671
  }),
635
- ...Ae({
672
+ ...Le({
636
673
  block: e.block,
637
674
  rootState: e.context.rootState,
638
675
  rootSetState: e.context.rootSetState,
@@ -644,7 +681,7 @@ function vt(e) {
644
681
  }
645
682
  );
646
683
  }
647
- const kt = ({
684
+ const Et = ({
648
685
  componentOptions: e,
649
686
  builderBlock: t,
650
687
  context: n,
@@ -653,14 +690,14 @@ const kt = ({
653
690
  isInteractive: a,
654
691
  contextValue: r
655
692
  }) => {
656
- const s = {
693
+ const l = {
657
694
  ...e,
658
695
  /**
659
696
  * If `noWrap` is set to `true`, then the block's props/attributes are provided to the
660
697
  * component itself directly. Otherwise, they are provided to the wrapper element.
661
698
  */
662
699
  ...o ? {
663
- attributes: me({
700
+ attributes: ge({
664
701
  block: t,
665
702
  context: r
666
703
  })
@@ -672,17 +709,17 @@ const kt = ({
672
709
  context: n,
673
710
  wrapperProps: e,
674
711
  includeBlockProps: o
675
- } : s;
712
+ } : l;
676
713
  };
677
- function pe(e) {
714
+ function ve(e) {
678
715
  var i;
679
- const [t, n] = x(
680
- () => e.isInteractive ? vt : e.componentRef
716
+ const [t, n] = S(
717
+ () => e.isInteractive ? Tt : e.componentRef
681
718
  );
682
- return /* @__PURE__ */ l(m, { children: e.componentRef ? /* @__PURE__ */ l(m, { children: /* @__PURE__ */ l(
719
+ return /* @__PURE__ */ c(E, { children: e.componentRef ? /* @__PURE__ */ c(E, { children: /* @__PURE__ */ c(
683
720
  t,
684
721
  {
685
- ...kt({
722
+ ...Et({
686
723
  componentOptions: e.componentOptions,
687
724
  builderBlock: e.builderBlock,
688
725
  context: e.context,
@@ -692,8 +729,8 @@ function pe(e) {
692
729
  isInteractive: e.isInteractive,
693
730
  contextValue: e.context
694
731
  }),
695
- children: (i = e.blockChildren) == null ? void 0 : i.map((o) => /* @__PURE__ */ l(
696
- J,
732
+ children: (i = e.blockChildren) == null ? void 0 : i.map((o) => /* @__PURE__ */ c(
733
+ G,
697
734
  {
698
735
  block: o,
699
736
  context: e.context,
@@ -705,10 +742,10 @@ function pe(e) {
705
742
  }
706
743
  ) }) : null });
707
744
  }
708
- function Ct(e) {
709
- const [t, n] = x(() => e.repeatContext);
710
- return /* @__PURE__ */ l(se.Provider, { value: t, children: /* @__PURE__ */ l(
711
- J,
745
+ function Rt(e) {
746
+ const [t, n] = S(() => e.repeatContext);
747
+ return /* @__PURE__ */ c(ue.Provider, { value: t, children: /* @__PURE__ */ c(
748
+ G,
712
749
  {
713
750
  block: e.block,
714
751
  context: t,
@@ -717,24 +754,24 @@ function Ct(e) {
717
754
  }
718
755
  ) });
719
756
  }
720
- function J(e) {
721
- var u, p, v;
757
+ function G(e) {
758
+ var d, s, u;
722
759
  function t() {
723
- return st({
760
+ return yt({
724
761
  block: e.block,
725
762
  context: e.context,
726
763
  registeredComponents: e.registeredComponents
727
764
  });
728
765
  }
729
766
  function n() {
730
- return ct({
767
+ return pt({
731
768
  block: e.block,
732
769
  context: e.context
733
770
  });
734
771
  }
735
772
  function i() {
736
- var f;
737
- return (f = e.block.repeat) != null && f.collection ? e.block : Z({
773
+ var m;
774
+ return (m = e.block.repeat) != null && m.collection ? e.block : te({
738
775
  block: e.block,
739
776
  localState: e.context.localState,
740
777
  rootState: e.context.rootState,
@@ -744,121 +781,120 @@ function J(e) {
744
781
  });
745
782
  }
746
783
  function o() {
747
- var g;
748
- return e.block.tagName === "a" || ((g = i().properties) == null ? void 0 : g.href) || i().href ? e.linkComponent || "a" : e.block.tagName || "div";
784
+ var h;
785
+ return e.block.tagName === "a" || ((h = i().properties) == null ? void 0 : h.href) || i().href ? e.linkComponent || "a" : e.block.tagName || "div";
749
786
  }
750
787
  function a() {
751
- var y, R;
752
- if ((y = e.block.repeat) != null && y.collection)
753
- return !!((R = n == null ? void 0 : n()) != null && R.length);
754
- const f = "hide" in i() ? i().hide : !1;
755
- return ("show" in i() ? i().show : !0) && !f;
788
+ var b, y;
789
+ if ((b = e.block.repeat) != null && b.collection)
790
+ return !!((y = n == null ? void 0 : n()) != null && y.length);
791
+ const m = "hide" in i() ? i().hide : !1;
792
+ return ("show" in i() ? i().show : !0) && !m;
756
793
  }
757
794
  function r() {
758
- var g, y;
759
- return !((g = t == null ? void 0 : t()) != null && g.component) && !n() ? (y = i().children) != null ? y : [] : [];
795
+ var h, b;
796
+ return !((h = t == null ? void 0 : t()) != null && h.component) && !n() ? (b = i().children) != null ? b : [] : [];
760
797
  }
761
- function s() {
762
- var f, g, y, R, B, S, T, V, P, $, L;
798
+ function l() {
799
+ var m, h, b, y, T, R, B, p, w, V, P;
763
800
  return {
764
- blockChildren: (f = i().children) != null ? f : [],
765
- componentRef: (g = t == null ? void 0 : t()) == null ? void 0 : g.component,
801
+ blockChildren: (m = i().children) != null ? m : [],
802
+ componentRef: (h = t == null ? void 0 : t()) == null ? void 0 : h.component,
766
803
  componentOptions: {
767
- ...Ye(i()),
804
+ ...et(i()),
768
805
  builderContext: e.context,
769
- ...((y = t == null ? void 0 : t()) == null ? void 0 : y.name) === "Core:Button" || ((R = t == null ? void 0 : t()) == null ? void 0 : R.name) === "Symbol" || ((B = t == null ? void 0 : t()) == null ? void 0 : B.name) === "Columns" || ((S = t == null ? void 0 : t()) == null ? void 0 : S.name) === "Form:Form" ? {
806
+ ...((b = t == null ? void 0 : t()) == null ? void 0 : b.name) === "Core:Button" || ((y = t == null ? void 0 : t()) == null ? void 0 : y.name) === "Symbol" || ((T = t == null ? void 0 : t()) == null ? void 0 : T.name) === "Columns" || ((R = t == null ? void 0 : t()) == null ? void 0 : R.name) === "Form:Form" ? {
770
807
  builderLinkComponent: e.linkComponent
771
808
  } : {},
772
- ...((T = t == null ? void 0 : t()) == null ? void 0 : T.name) === "Symbol" || ((V = t == null ? void 0 : t()) == null ? void 0 : V.name) === "Columns" || ((P = t == null ? void 0 : t()) == null ? void 0 : P.name) === "Form:Form" ? {
809
+ ...((B = t == null ? void 0 : t()) == null ? void 0 : B.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" ? {
773
810
  builderComponents: e.registeredComponents
774
811
  } : {}
775
812
  },
776
- context: c,
813
+ context: e.context,
777
814
  linkComponent: e.linkComponent,
778
815
  registeredComponents: e.registeredComponents,
779
816
  builderBlock: i(),
780
- includeBlockProps: (($ = t == null ? void 0 : t()) == null ? void 0 : $.noWrap) === !0,
781
- isInteractive: !((L = t == null ? void 0 : t()) != null && L.isRSC)
817
+ includeBlockProps: ((V = t == null ? void 0 : t()) == null ? void 0 : V.noWrap) === !0,
818
+ isInteractive: !((P = t == null ? void 0 : t()) != null && P.isRSC)
782
819
  };
783
820
  }
784
- const [c, d] = x(() => e.context);
785
- return W(() => {
786
- const f = i().id, g = i().animations;
787
- g && f && ot(
788
- g.filter((y) => y.trigger !== "hover").map((y) => ({
789
- ...y,
790
- elementId: f
821
+ return A(() => {
822
+ const m = i().id, h = i().animations;
823
+ h && m && ct(
824
+ h.filter((b) => b.trigger !== "hover").map((b) => ({
825
+ ...b,
826
+ elementId: m
791
827
  }))
792
828
  );
793
- }, []), /* @__PURE__ */ l(m, { children: a() ? /* @__PURE__ */ N(m, { children: [
794
- /* @__PURE__ */ l(mt, { block: e.block, context: e.context }),
795
- (u = t == null ? void 0 : t()) != null && u.noWrap ? /* @__PURE__ */ l(m, { children: /* @__PURE__ */ l(
796
- pe,
829
+ }, []), /* @__PURE__ */ c(E, { children: a() ? /* @__PURE__ */ F(E, { children: [
830
+ /* @__PURE__ */ c(St, { block: e.block, context: e.context }),
831
+ (d = t == null ? void 0 : t()) != null && d.noWrap ? /* @__PURE__ */ c(E, { children: /* @__PURE__ */ c(
832
+ ve,
797
833
  {
798
- componentRef: s().componentRef,
799
- componentOptions: s().componentOptions,
800
- blockChildren: s().blockChildren,
801
- context: s().context,
802
- registeredComponents: s().registeredComponents,
803
- linkComponent: s().linkComponent,
804
- builderBlock: s().builderBlock,
805
- includeBlockProps: s().includeBlockProps,
806
- isInteractive: s().isInteractive
834
+ componentRef: l().componentRef,
835
+ componentOptions: l().componentOptions,
836
+ blockChildren: l().blockChildren,
837
+ context: l().context,
838
+ registeredComponents: l().registeredComponents,
839
+ linkComponent: l().linkComponent,
840
+ builderBlock: l().builderBlock,
841
+ includeBlockProps: l().includeBlockProps,
842
+ isInteractive: l().isInteractive
807
843
  }
808
- ) }) : /* @__PURE__ */ l(m, { children: n() ? /* @__PURE__ */ l(m, { children: (v = n()) == null ? void 0 : v.map((f, g) => /* @__PURE__ */ l(
809
- Ct,
844
+ ) }) : /* @__PURE__ */ c(E, { children: n() ? /* @__PURE__ */ c(E, { children: (u = n()) == null ? void 0 : u.map((m, h) => /* @__PURE__ */ c(
845
+ Rt,
810
846
  {
811
- repeatContext: f.context,
812
- block: f.block,
847
+ repeatContext: m.context,
848
+ block: m.block,
813
849
  registeredComponents: e.registeredComponents,
814
850
  linkComponent: e.linkComponent
815
851
  },
816
- g
817
- )) }) : /* @__PURE__ */ l(m, { children: /* @__PURE__ */ N(
818
- St,
852
+ h
853
+ )) }) : /* @__PURE__ */ F(
854
+ It,
819
855
  {
820
856
  Wrapper: o(),
821
857
  block: i(),
822
858
  context: e.context,
823
859
  linkComponent: e.linkComponent,
824
860
  children: [
825
- /* @__PURE__ */ l(
826
- pe,
861
+ /* @__PURE__ */ c(
862
+ ve,
827
863
  {
828
- componentRef: s().componentRef,
829
- componentOptions: s().componentOptions,
830
- blockChildren: s().blockChildren,
831
- context: s().context,
832
- registeredComponents: s().registeredComponents,
833
- linkComponent: s().linkComponent,
834
- builderBlock: s().builderBlock,
835
- includeBlockProps: s().includeBlockProps,
836
- isInteractive: s().isInteractive
864
+ componentRef: l().componentRef,
865
+ componentOptions: l().componentOptions,
866
+ blockChildren: l().blockChildren,
867
+ context: l().context,
868
+ registeredComponents: l().registeredComponents,
869
+ linkComponent: l().linkComponent,
870
+ builderBlock: l().builderBlock,
871
+ includeBlockProps: l().includeBlockProps,
872
+ isInteractive: l().isInteractive
837
873
  }
838
874
  ),
839
- (p = r()) == null ? void 0 : p.map((f) => /* @__PURE__ */ l(
840
- J,
875
+ (s = r()) == null ? void 0 : s.map((m) => /* @__PURE__ */ c(
876
+ G,
841
877
  {
842
- block: f,
843
- context: c,
878
+ block: m,
844
879
  registeredComponents: e.registeredComponents,
845
- linkComponent: e.linkComponent
880
+ linkComponent: e.linkComponent,
881
+ context: e.context
846
882
  },
847
- f.id
883
+ m.id
848
884
  ))
849
885
  ]
850
886
  }
851
- ) }) })
887
+ ) })
852
888
  ] }) : null });
853
889
  }
854
- function wt(e) {
890
+ function Pt(e) {
855
891
  function t() {
856
892
  var o;
857
893
  return "builder-blocks" + ((o = e.blocks) != null && o.length ? "" : " no-blocks");
858
894
  }
859
895
  function n() {
860
896
  var o, a;
861
- M() && !((o = e.blocks) != null && o.length) && ((a = window.parent) == null || a.postMessage(
897
+ L() && !((o = e.blocks) != null && o.length) && ((a = window.parent) == null || a.postMessage(
862
898
  {
863
899
  type: "builder.clickEmptyBlocks",
864
900
  data: {
@@ -871,7 +907,7 @@ function wt(e) {
871
907
  }
872
908
  function i() {
873
909
  var o, a;
874
- M() && !((o = e.blocks) != null && o.length) && ((a = window.parent) == null || a.postMessage(
910
+ L() && !((o = e.blocks) != null && o.length) && ((a = window.parent) == null || a.postMessage(
875
911
  {
876
912
  type: "builder.hoverEmptyBlocks",
877
913
  data: {
@@ -882,11 +918,11 @@ function wt(e) {
882
918
  "*"
883
919
  ));
884
920
  }
885
- return /* @__PURE__ */ N(m, { children: [
886
- /* @__PURE__ */ l(
921
+ return /* @__PURE__ */ F(E, { children: [
922
+ /* @__PURE__ */ c(
887
923
  e.BlocksWrapper,
888
924
  {
889
- className: t() + " props-blocks-wrapper-7354e098",
925
+ className: t() + " props-blocks-wrapper-7cd1560e",
890
926
  "builder-path": e.path,
891
927
  "builder-parent-id": e.parent,
892
928
  style: e.styleProp,
@@ -897,18 +933,18 @@ function wt(e) {
897
933
  children: e.children
898
934
  }
899
935
  ),
900
- /* @__PURE__ */ l("style", { children: `.props-blocks-wrapper-7354e098 {
936
+ /* @__PURE__ */ c("style", { children: `.props-blocks-wrapper-7cd1560e {
901
937
  display: flex;
902
938
  flex-direction: column;
903
939
  align-items: stretch;
904
940
  }` })
905
941
  ] });
906
942
  }
907
- function U(e) {
943
+ function K(e) {
908
944
  var i, o, a;
909
- const t = ge(se), n = ge(Te);
910
- return /* @__PURE__ */ l(
911
- wt,
945
+ const t = pe(ue), n = pe(Pe);
946
+ return /* @__PURE__ */ c(
947
+ Pt,
912
948
  {
913
949
  blocks: e.blocks,
914
950
  parent: e.parent,
@@ -916,8 +952,8 @@ function U(e) {
916
952
  styleProp: e.styleProp,
917
953
  BlocksWrapper: ((i = e.context) == null ? void 0 : i.BlocksWrapper) || t.BlocksWrapper,
918
954
  BlocksWrapperProps: ((o = e.context) == null ? void 0 : o.BlocksWrapperProps) || t.BlocksWrapperProps,
919
- children: e.blocks ? /* @__PURE__ */ l(m, { children: (a = e.blocks) == null ? void 0 : a.map((r) => /* @__PURE__ */ l(
920
- J,
955
+ children: e.blocks ? /* @__PURE__ */ c(E, { children: (a = e.blocks) == null ? void 0 : a.map((r) => /* @__PURE__ */ c(
956
+ G,
921
957
  {
922
958
  block: r,
923
959
  linkComponent: e.linkComponent,
@@ -929,47 +965,47 @@ function U(e) {
929
965
  }
930
966
  );
931
967
  }
932
- function It(e) {
968
+ function Vt(e) {
933
969
  var B;
934
- const [t, n] = x(
970
+ const [t, n] = S(
935
971
  () => typeof e.space == "number" ? e.space || 0 : 20
936
- ), [i, o] = x(() => e.columns || []), [a, r] = x(
972
+ ), [i, o] = S(() => e.columns || []), [a, r] = S(
937
973
  () => e.stackColumnsAt || "tablet"
938
974
  );
939
- function s(S) {
940
- var T;
941
- return ((T = i[S]) == null ? void 0 : T.width) || 100 / i.length;
975
+ function l(p) {
976
+ var w;
977
+ return ((w = i[p]) == null ? void 0 : w.width) || 100 / i.length;
942
978
  }
943
- function c(S) {
944
- const T = t * (i.length - 1) / i.length;
945
- return `calc(${s(S)}% - ${T}px)`;
979
+ function d(p) {
980
+ const w = t * (i.length - 1) / i.length;
981
+ return `calc(${l(p)}% - ${w}px)`;
946
982
  }
947
- function d({
948
- stackedStyle: S,
949
- desktopStyle: T
983
+ function s({
984
+ stackedStyle: p,
985
+ desktopStyle: w
950
986
  }) {
951
- return a === "tablet" ? S : T;
987
+ return a === "tablet" ? p : w;
952
988
  }
953
989
  function u({
954
- stackedStyle: S,
955
- desktopStyle: T
990
+ stackedStyle: p,
991
+ desktopStyle: w
956
992
  }) {
957
- return a === "never" ? T : S;
993
+ return a === "never" ? w : p;
958
994
  }
959
- const [p, v] = x(
995
+ const [m, h] = S(
960
996
  () => e.stackColumnsAt === "never" ? "row" : e.reverseColumnsWhenStacked ? "column-reverse" : "column"
961
997
  );
962
- function f() {
998
+ function b() {
963
999
  return {
964
- "--flex-dir": p,
965
- "--flex-dir-tablet": d({
966
- stackedStyle: p,
1000
+ "--flex-dir": m,
1001
+ "--flex-dir-tablet": s({
1002
+ stackedStyle: m,
967
1003
  desktopStyle: "row"
968
1004
  })
969
1005
  };
970
1006
  }
971
- function g(S) {
972
- const T = S === 0 ? 0 : t, V = c(S), P = `${T}px`, $ = "100%", L = 0;
1007
+ function y(p) {
1008
+ const w = p === 0 ? 0 : t, V = d(p), P = `${w}px`, M = "100%", O = 0;
973
1009
  return {
974
1010
  ...{
975
1011
  display: "flex",
@@ -979,32 +1015,32 @@ function It(e) {
979
1015
  width: V,
980
1016
  ["marginLeft"]: P,
981
1017
  "--column-width-mobile": u({
982
- stackedStyle: $,
1018
+ stackedStyle: M,
983
1019
  desktopStyle: V
984
1020
  }),
985
1021
  "--column-margin-left-mobile": u({
986
- stackedStyle: L,
1022
+ stackedStyle: O,
987
1023
  desktopStyle: P
988
1024
  }),
989
- "--column-width-tablet": d({
990
- stackedStyle: $,
1025
+ "--column-width-tablet": s({
1026
+ stackedStyle: M,
991
1027
  desktopStyle: V
992
1028
  }),
993
- "--column-margin-left-tablet": d({
994
- stackedStyle: L,
1029
+ "--column-margin-left-tablet": s({
1030
+ stackedStyle: O,
995
1031
  desktopStyle: P
996
1032
  })
997
1033
  };
998
1034
  }
999
- function y(S) {
1035
+ function T(p) {
1000
1036
  var V, P;
1001
- return Be(
1037
+ return $e(
1002
1038
  ((P = (V = e.builderContext.content) == null ? void 0 : V.meta) == null ? void 0 : P.breakpoints) || {}
1003
- )[S].max;
1039
+ )[p].max;
1004
1040
  }
1005
1041
  function R() {
1006
1042
  return `
1007
- @media (max-width: ${y("medium")}px) {
1043
+ @media (max-width: ${T("medium")}px) {
1008
1044
  .${e.builderBlock.id}-breakpoints {
1009
1045
  flex-direction: var(--flex-dir-tablet);
1010
1046
  align-items: stretch;
@@ -1016,7 +1052,7 @@ function It(e) {
1016
1052
  }
1017
1053
  }
1018
1054
 
1019
- @media (max-width: ${y("small")}px) {
1055
+ @media (max-width: ${T("small")}px) {
1020
1056
  .${e.builderBlock.id}-breakpoints {
1021
1057
  flex-direction: var(--flex-dir);
1022
1058
  align-items: stretch;
@@ -1029,30 +1065,30 @@ function It(e) {
1029
1065
  },
1030
1066
  `;
1031
1067
  }
1032
- return /* @__PURE__ */ N(m, { children: [
1033
- /* @__PURE__ */ N(
1068
+ return /* @__PURE__ */ F(E, { children: [
1069
+ /* @__PURE__ */ F(
1034
1070
  "div",
1035
1071
  {
1036
- className: `builder-columns ${e.builderBlock.id}-breakpoints div-f5024694`,
1037
- style: f(),
1072
+ className: `builder-columns ${e.builderBlock.id}-breakpoints div-5e636bea`,
1073
+ style: b(),
1038
1074
  children: [
1039
- /* @__PURE__ */ l(m, { children: /* @__PURE__ */ l(te, { styles: R() }) }),
1040
- (B = e.columns) == null ? void 0 : B.map((S, T) => /* @__PURE__ */ l(
1041
- le,
1075
+ /* @__PURE__ */ c(ie, { styles: R() }),
1076
+ (B = e.columns) == null ? void 0 : B.map((p, w) => /* @__PURE__ */ c(
1077
+ de,
1042
1078
  {
1043
- TagName: S.link ? e.builderLinkComponent || "a" : "div",
1079
+ TagName: p.link ? e.builderLinkComponent || "a" : "div",
1044
1080
  actionAttributes: {},
1045
1081
  attributes: {
1046
- ...S.link ? {
1047
- href: S.link
1082
+ ...p.link ? {
1083
+ href: p.link
1048
1084
  } : {},
1049
- [K()]: "builder-column",
1050
- style: Fe(g(T))
1085
+ [_()]: "builder-column",
1086
+ style: Ne(y(w))
1051
1087
  },
1052
- children: /* @__PURE__ */ l(
1053
- U,
1088
+ children: /* @__PURE__ */ c(
1089
+ K,
1054
1090
  {
1055
- path: `component.options.columns.${T}.blocks`,
1091
+ path: `component.options.columns.${w}.blocks`,
1056
1092
  parent: e.builderBlock.id,
1057
1093
  styleProp: {
1058
1094
  flexGrow: "1"
@@ -1060,89 +1096,89 @@ function It(e) {
1060
1096
  context: e.builderContext,
1061
1097
  registeredComponents: e.builderComponents,
1062
1098
  linkComponent: e.builderLinkComponent,
1063
- blocks: S.blocks
1099
+ blocks: p.blocks
1064
1100
  }
1065
1101
  )
1066
1102
  },
1067
- T
1103
+ w
1068
1104
  ))
1069
1105
  ]
1070
1106
  }
1071
1107
  ),
1072
- /* @__PURE__ */ l("style", { children: `.div-f5024694 {
1108
+ /* @__PURE__ */ c("style", { children: `.div-5e636bea {
1073
1109
  display: flex;
1074
1110
  line-height: normal;
1075
1111
  }` })
1076
1112
  ] });
1077
1113
  }
1078
- function Tt(e) {
1079
- return /* @__PURE__ */ l("span", { children: e.children });
1114
+ function Bt(e) {
1115
+ return /* @__PURE__ */ c("span", { children: e.children });
1080
1116
  }
1081
- function xe(e) {
1117
+ function ke(e) {
1082
1118
  return e.replace(/http(s)?:/, "");
1083
1119
  }
1084
- function Et(e = "", t, n) {
1120
+ function At(e = "", t, n) {
1085
1121
  const i = new RegExp("([?&])" + t + "=.*?(&|$)", "i"), o = e.indexOf("?") !== -1 ? "&" : "?";
1086
1122
  return e.match(i) ? e.replace(i, "$1" + t + "=" + encodeURIComponent(n) + "$2") : e + o + t + "=" + encodeURIComponent(n);
1087
1123
  }
1088
- function Rt(e, t) {
1124
+ function Wt(e, t) {
1089
1125
  if (!e || !(e != null && e.match(/cdn\.shopify\.com/)) || !t)
1090
1126
  return e;
1091
1127
  if (t === "master")
1092
- return xe(e);
1128
+ return ke(e);
1093
1129
  const n = e.match(/(_\d+x(\d+)?)?(\.(jpg|jpeg|gif|png|bmp|bitmap|tiff|tif)(\?v=\d+)?)/i);
1094
1130
  if (n) {
1095
1131
  const i = e.split(n[0]), o = n[3], a = t.match("x") ? t : `${t}x`;
1096
- return xe(`${i[0]}_${a}${o}`);
1132
+ return ke(`${i[0]}_${a}${o}`);
1097
1133
  }
1098
1134
  return null;
1099
1135
  }
1100
- function ie(e) {
1136
+ function re(e) {
1101
1137
  if (!e)
1102
1138
  return e;
1103
1139
  const t = [100, 200, 400, 800, 1200, 1600, 2e3];
1104
1140
  if (e.match(/builder\.io/)) {
1105
1141
  let n = e;
1106
1142
  const i = Number(e.split("?width=")[1]);
1107
- return isNaN(i) || (n = `${n} ${i}w`), t.filter((o) => o !== i).map((o) => `${Et(e, "width", o)} ${o}w`).concat([n]).join(", ");
1143
+ return isNaN(i) || (n = `${n} ${i}w`), t.filter((o) => o !== i).map((o) => `${At(e, "width", o)} ${o}w`).concat([n]).join(", ");
1108
1144
  }
1109
- return e.match(/cdn\.shopify\.com/) ? t.map((n) => [Rt(e, `${n}x${n}`), n]).filter(([n]) => !!n).map(([n, i]) => `${n} ${i}w`).concat([e]).join(", ") : e;
1145
+ return e.match(/cdn\.shopify\.com/) ? t.map((n) => [Wt(e, `${n}x${n}`), n]).filter(([n]) => !!n).map(([n, i]) => `${n} ${i}w`).concat([e]).join(", ") : e;
1110
1146
  }
1111
- function Pt(e) {
1112
- var o, a, r, s;
1147
+ function Nt(e) {
1148
+ var o, a, r, l;
1113
1149
  function t() {
1114
1150
  var u;
1115
- const d = e.image || e.src;
1116
- if (!d || // We can auto add srcset for cdn.builder.io and shopify
1151
+ const s = e.image || e.src;
1152
+ if (!s || // We can auto add srcset for cdn.builder.io and shopify
1117
1153
  // images, otherwise you can supply this prop manually
1118
- !(d.match(/builder\.io/) || d.match(/cdn\.shopify\.com/)))
1154
+ !(s.match(/builder\.io/) || s.match(/cdn\.shopify\.com/)))
1119
1155
  return e.srcset;
1120
1156
  if (e.srcset && ((u = e.image) != null && u.includes("builder.io/api/v1/image"))) {
1121
1157
  if (!e.srcset.includes(e.image.split("?")[0]))
1122
- return console.debug("Removed given srcset"), ie(d);
1158
+ return console.debug("Removed given srcset"), re(s);
1123
1159
  } else if (e.image && !e.srcset)
1124
- return ie(d);
1125
- return ie(d);
1160
+ return re(s);
1161
+ return re(s);
1126
1162
  }
1127
1163
  function n() {
1128
- var c;
1129
- return (c = t == null ? void 0 : t()) != null && c.match(/builder\.io/) && !e.noWebp ? t().replace(/\?/g, "?format=webp&") : "";
1164
+ var d;
1165
+ return (d = t == null ? void 0 : t()) != null && d.match(/builder\.io/) && !e.noWebp ? t().replace(/\?/g, "?format=webp&") : "";
1130
1166
  }
1131
1167
  function i() {
1132
- const c = {
1168
+ const d = {
1133
1169
  position: "absolute",
1134
1170
  height: "100%",
1135
1171
  width: "100%",
1136
1172
  left: "0px",
1137
1173
  top: "0px"
1138
1174
  };
1139
- return e.aspectRatio ? c : void 0;
1175
+ return e.aspectRatio ? d : void 0;
1140
1176
  }
1141
- return /* @__PURE__ */ N(m, { children: [
1142
- /* @__PURE__ */ N(m, { children: [
1143
- /* @__PURE__ */ N("picture", { children: [
1144
- n() ? /* @__PURE__ */ l(m, { children: /* @__PURE__ */ l("source", { type: "image/webp", srcSet: n() }) }) : null,
1145
- /* @__PURE__ */ l(
1177
+ return /* @__PURE__ */ F(E, { children: [
1178
+ /* @__PURE__ */ F(E, { children: [
1179
+ /* @__PURE__ */ F("picture", { children: [
1180
+ n() ? /* @__PURE__ */ c("source", { type: "image/webp", srcSet: n() }) : null,
1181
+ /* @__PURE__ */ c(
1146
1182
  "img",
1147
1183
  {
1148
1184
  loading: "lazy",
@@ -1153,33 +1189,33 @@ function Pt(e) {
1153
1189
  objectFit: e.backgroundSize || "cover",
1154
1190
  ...i()
1155
1191
  },
1156
- className: "builder-image" + (e.className ? " " + e.className : "") + " img-0614da04",
1192
+ className: "builder-image" + (e.className ? " " + e.className : "") + " img-a0c95e8c",
1157
1193
  src: e.image,
1158
1194
  srcSet: t(),
1159
1195
  sizes: e.sizes
1160
1196
  }
1161
1197
  )
1162
1198
  ] }),
1163
- e.aspectRatio && !((a = (o = e.builderBlock) == null ? void 0 : o.children) != null && a.length && e.fitContent) ? /* @__PURE__ */ l(m, { children: /* @__PURE__ */ l(
1199
+ e.aspectRatio && !((a = (o = e.builderBlock) == null ? void 0 : o.children) != null && a.length && e.fitContent) ? /* @__PURE__ */ c(
1164
1200
  "div",
1165
1201
  {
1166
- className: "builder-image-sizer div-0614da04",
1202
+ className: "builder-image-sizer div-a0c95e8c",
1167
1203
  style: {
1168
1204
  paddingTop: e.aspectRatio * 100 + "%"
1169
1205
  }
1170
1206
  }
1171
- ) }) : null,
1172
- (s = (r = e.builderBlock) == null ? void 0 : r.children) != null && s.length && e.fitContent ? /* @__PURE__ */ l(m, { children: e.children }) : null,
1173
- !e.fitContent && e.children ? /* @__PURE__ */ l(m, { children: /* @__PURE__ */ l("div", { className: "div-0614da04-2", children: e.children }) }) : null
1207
+ ) : null,
1208
+ (l = (r = e.builderBlock) == null ? void 0 : r.children) != null && l.length && e.fitContent ? /* @__PURE__ */ c(E, { children: e.children }) : null,
1209
+ !e.fitContent && e.children ? /* @__PURE__ */ c("div", { className: "div-a0c95e8c-2", children: e.children }) : null
1174
1210
  ] }),
1175
- /* @__PURE__ */ l("style", { children: `.img-0614da04 {
1211
+ /* @__PURE__ */ c("style", { children: `.img-a0c95e8c {
1176
1212
  opacity: 1;
1177
1213
  transition: opacity 0.2s ease-in-out;
1178
- }.div-0614da04 {
1214
+ }.div-a0c95e8c {
1179
1215
  width: 100%;
1180
1216
  pointer-events: none;
1181
1217
  font-size: 0;
1182
- }.div-0614da04-2 {
1218
+ }.div-a0c95e8c-2 {
1183
1219
  display: flex;
1184
1220
  flex-direction: column;
1185
1221
  align-items: stretch;
@@ -1191,8 +1227,8 @@ function Pt(e) {
1191
1227
  }` })
1192
1228
  ] });
1193
1229
  }
1194
- function Vt(e) {
1195
- return /* @__PURE__ */ l(
1230
+ function Ft(e) {
1231
+ return /* @__PURE__ */ c(
1196
1232
  "section",
1197
1233
  {
1198
1234
  ...e.attributes,
@@ -1212,7 +1248,7 @@ function Vt(e) {
1212
1248
  }
1213
1249
  );
1214
1250
  }
1215
- const Bt = {
1251
+ const $t = {
1216
1252
  name: "Core:Button",
1217
1253
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F81a15681c3e74df09677dfc57a615b13",
1218
1254
  defaultStyles: {
@@ -1245,7 +1281,7 @@ const Bt = {
1245
1281
  }],
1246
1282
  static: !0,
1247
1283
  noWrap: !0
1248
- }, Wt = {
1284
+ }, Lt = {
1249
1285
  // TODO: ways to statically preprocess JSON for references, functions, etc
1250
1286
  name: "Columns",
1251
1287
  isRSC: !0,
@@ -1424,7 +1460,7 @@ const Bt = {
1424
1460
  });
1425
1461
  }
1426
1462
  const n = e.get("columns");
1427
- Array.isArray(n) && n.find((o) => o.get("width")) && (n.find((a) => !a.get("width")) || n.reduce((s, c) => s + c.get("width"), 0) !== 100) && t();
1463
+ Array.isArray(n) && n.find((o) => o.get("width")) && (n.find((a) => !a.get("width")) || n.reduce((l, d) => l + d.get("width"), 0) !== 100) && t();
1428
1464
  }
1429
1465
  }, {
1430
1466
  name: "space",
@@ -1446,13 +1482,13 @@ const Bt = {
1446
1482
  helperText: "When stacking columns for mobile devices, reverse the ordering",
1447
1483
  advanced: !0
1448
1484
  }]
1449
- }, At = {
1485
+ }, Dt = {
1450
1486
  name: "Fragment",
1451
1487
  static: !0,
1452
1488
  hidden: !0,
1453
1489
  canHaveChildren: !0,
1454
1490
  noWrap: !0
1455
- }, Ft = {
1491
+ }, Mt = {
1456
1492
  name: "Image",
1457
1493
  static: !0,
1458
1494
  image: "https://firebasestorage.googleapis.com/v0/b/builder-3b0a2.appspot.com/o/images%2Fbaseline-insert_photo-24px.svg?alt=media&token=4e5d0ef4-f5e8-4e57-b3a9-38d63a9b9dc4",
@@ -1472,17 +1508,17 @@ const Bt = {
1472
1508
  defaultValue: "https://cdn.builder.io/api/v1/image/assets%2FYJIGb4i01jvw0SRdL5Bt%2F72c80f114dc149019051b6852a9e3b7a",
1473
1509
  onChange: (e) => {
1474
1510
  e.delete("srcset"), e.delete("noWebp");
1475
- function n(r, s = 6e4) {
1476
- return new Promise((c, d) => {
1511
+ function n(r, l = 6e4) {
1512
+ return new Promise((d, s) => {
1477
1513
  const u = document.createElement("img");
1478
- let p = !1;
1514
+ let m = !1;
1479
1515
  u.onload = () => {
1480
- p = !0, c(u);
1481
- }, u.addEventListener("error", (v) => {
1482
- console.warn("Image load failed", v.error), d(v.error);
1516
+ m = !0, d(u);
1517
+ }, u.addEventListener("error", (h) => {
1518
+ console.warn("Image load failed", h.error), s(h.error);
1483
1519
  }), u.src = r, setTimeout(() => {
1484
- p || d(new Error("Image load timed out"));
1485
- }, s);
1520
+ m || s(new Error("Image load timed out"));
1521
+ }, l);
1486
1522
  });
1487
1523
  }
1488
1524
  function i(r) {
@@ -1493,8 +1529,8 @@ const Bt = {
1493
1529
  r.type.includes("svg") && e.set("noWebp", !0);
1494
1530
  }), o && (!a || a === 0.7041))
1495
1531
  return n(o).then((r) => {
1496
- const s = e.get("aspectRatio");
1497
- e.get("image") === o && (!s || s === 0.7041) && r.width && r.height && (e.set("aspectRatio", i(r.height / r.width)), e.set("height", r.height), e.set("width", r.width));
1532
+ const l = e.get("aspectRatio");
1533
+ e.get("image") === o && (!l || l === 0.7041) && r.width && r.height && (e.set("aspectRatio", i(r.height / r.width)), e.set("height", r.height), e.set("width", r.width));
1498
1534
  });
1499
1535
  }
1500
1536
  }, {
@@ -1552,7 +1588,7 @@ const Bt = {
1552
1588
  advanced: !0,
1553
1589
  defaultValue: 0.7041
1554
1590
  }]
1555
- }, Nt = {
1591
+ }, Ot = {
1556
1592
  name: "Core:Section",
1557
1593
  static: !0,
1558
1594
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F682efef23ace49afac61748dd305c70a",
@@ -1591,7 +1627,7 @@ const Bt = {
1591
1627
  }
1592
1628
  }
1593
1629
  }]
1594
- }, $t = {
1630
+ }, Ut = {
1595
1631
  name: "Slot",
1596
1632
  isRSC: !0,
1597
1633
  description: "Allow child blocks to be inserted into this content when used as a Symbol",
@@ -1605,9 +1641,9 @@ const Bt = {
1605
1641
  defaultValue: "children"
1606
1642
  }]
1607
1643
  };
1608
- function Lt(e) {
1644
+ function jt(e) {
1609
1645
  var t, n, i;
1610
- return /* @__PURE__ */ l(
1646
+ return /* @__PURE__ */ c(
1611
1647
  "div",
1612
1648
  {
1613
1649
  style: {
@@ -1616,8 +1652,8 @@ function Lt(e) {
1616
1652
  ...!((t = e.builderContext.context) != null && t.symbolId) && {
1617
1653
  "builder-slot": e.name
1618
1654
  },
1619
- children: /* @__PURE__ */ l(
1620
- U,
1655
+ children: /* @__PURE__ */ c(
1656
+ K,
1621
1657
  {
1622
1658
  parent: (n = e.builderContext.context) == null ? void 0 : n.symbolId,
1623
1659
  path: `symbol.data.${e.name}`,
@@ -1628,7 +1664,7 @@ function Lt(e) {
1628
1664
  }
1629
1665
  );
1630
1666
  }
1631
- const Dt = {
1667
+ const Ht = {
1632
1668
  name: "Symbol",
1633
1669
  noWrap: !0,
1634
1670
  static: !0,
@@ -1661,7 +1697,7 @@ const Dt = {
1661
1697
  hideFromUI: !0,
1662
1698
  type: "boolean"
1663
1699
  }]
1664
- }, Mt = {
1700
+ }, Kt = {
1665
1701
  name: "Text",
1666
1702
  static: !0,
1667
1703
  isRSC: !0,
@@ -1680,9 +1716,9 @@ const Dt = {
1680
1716
  textAlign: "center"
1681
1717
  }
1682
1718
  };
1683
- function Ot(e) {
1719
+ function qt(e) {
1684
1720
  var t;
1685
- return /* @__PURE__ */ l(
1721
+ return /* @__PURE__ */ c(
1686
1722
  "div",
1687
1723
  {
1688
1724
  className: "builder-text",
@@ -1693,7 +1729,7 @@ function Ot(e) {
1693
1729
  }
1694
1730
  );
1695
1731
  }
1696
- const jt = {
1732
+ const zt = {
1697
1733
  name: "Custom Code",
1698
1734
  static: !0,
1699
1735
  requiredPermissions: ["editCode"],
@@ -1716,36 +1752,36 @@ const jt = {
1716
1752
  advanced: !0
1717
1753
  }]
1718
1754
  };
1719
- function Ut(e) {
1720
- const t = ee(null), [n, i] = x(() => []), [o, a] = x(() => []);
1721
- return W(() => {
1722
- var s;
1723
- if (!((s = t.current) != null && s.getElementsByTagName) || typeof window == "undefined")
1755
+ function _t(e) {
1756
+ const t = ne(null), [n, i] = S(() => []), [o, a] = S(() => []);
1757
+ return A(() => {
1758
+ var l;
1759
+ if (!((l = t.current) != null && l.getElementsByTagName) || typeof window == "undefined")
1724
1760
  return;
1725
1761
  const r = t.current.getElementsByTagName("script");
1726
- for (let c = 0; c < r.length; c++) {
1727
- const d = r[c];
1728
- if (d.src) {
1729
- if (n.includes(d.src))
1762
+ for (let d = 0; d < r.length; d++) {
1763
+ const s = r[d];
1764
+ if (s.src) {
1765
+ if (n.includes(s.src))
1730
1766
  continue;
1731
- n.push(d.src);
1767
+ n.push(s.src);
1732
1768
  const u = document.createElement("script");
1733
- u.async = !0, u.src = d.src, document.head.appendChild(u);
1734
- } else if (!d.type || [
1769
+ u.async = !0, u.src = s.src, document.head.appendChild(u);
1770
+ } else if (!s.type || [
1735
1771
  "text/javascript",
1736
1772
  "application/javascript",
1737
1773
  "application/ecmascript"
1738
- ].includes(d.type)) {
1739
- if (o.includes(d.innerText))
1774
+ ].includes(s.type)) {
1775
+ if (o.includes(s.innerText))
1740
1776
  continue;
1741
1777
  try {
1742
- o.push(d.innerText), new Function(d.innerText)();
1778
+ o.push(s.innerText), new Function(s.innerText)();
1743
1779
  } catch (u) {
1744
1780
  console.warn("`CustomCode`: Error running script:", u);
1745
1781
  }
1746
1782
  }
1747
1783
  }
1748
- }, []), /* @__PURE__ */ l(
1784
+ }, []), /* @__PURE__ */ c(
1749
1785
  "div",
1750
1786
  {
1751
1787
  ref: t,
@@ -1754,7 +1790,7 @@ function Ut(e) {
1754
1790
  }
1755
1791
  );
1756
1792
  }
1757
- const Ht = {
1793
+ const Jt = {
1758
1794
  name: "Embed",
1759
1795
  static: !0,
1760
1796
  inputs: [{
@@ -1779,30 +1815,30 @@ const Ht = {
1779
1815
  defaultValue: '<div style="padding: 20px; text-align: center">(Choose an embed URL)<div>',
1780
1816
  hideFromUI: !0
1781
1817
  }]
1782
- }, _t = ["text/javascript", "application/javascript", "application/ecmascript"], Kt = (e) => _t.includes(e.type);
1783
- function qt(e) {
1784
- const t = ee(null), [n, i] = x(() => []), [o, a] = x(() => []), [r, s] = x(() => !1);
1785
- function c() {
1818
+ }, Yt = ["text/javascript", "application/javascript", "application/ecmascript"], Gt = (e) => Yt.includes(e.type);
1819
+ function Qt(e) {
1820
+ const t = ne(null), [n, i] = S(() => []), [o, a] = S(() => []), [r, l] = S(() => !1);
1821
+ function d() {
1786
1822
  if (!t.current || !t.current.getElementsByTagName)
1787
1823
  return;
1788
- const d = t.current.getElementsByTagName("script");
1789
- for (let u = 0; u < d.length; u++) {
1790
- const p = d[u];
1791
- if (p.src && !n.includes(p.src)) {
1792
- n.push(p.src);
1793
- const v = document.createElement("script");
1794
- v.async = !0, v.src = p.src, document.head.appendChild(v);
1795
- } else if (Kt(p) && !o.includes(p.innerText))
1824
+ const s = t.current.getElementsByTagName("script");
1825
+ for (let u = 0; u < s.length; u++) {
1826
+ const m = s[u];
1827
+ if (m.src && !n.includes(m.src)) {
1828
+ n.push(m.src);
1829
+ const h = document.createElement("script");
1830
+ h.async = !0, h.src = m.src, document.head.appendChild(h);
1831
+ } else if (Gt(m) && !o.includes(m.innerText))
1796
1832
  try {
1797
- o.push(p.innerText), new Function(p.innerText)();
1798
- } catch (v) {
1799
- console.warn("`Embed`: Error running script:", v);
1833
+ o.push(m.innerText), new Function(m.innerText)();
1834
+ } catch (h) {
1835
+ console.warn("`Embed`: Error running script:", h);
1800
1836
  }
1801
1837
  }
1802
1838
  }
1803
- return W(() => {
1804
- t.current && !r && (s(!0), c());
1805
- }, [t.current, r]), /* @__PURE__ */ l(
1839
+ return A(() => {
1840
+ t.current && !r && (l(!0), d());
1841
+ }, [t.current, r]), /* @__PURE__ */ c(
1806
1842
  "div",
1807
1843
  {
1808
1844
  className: "builder-embed",
@@ -1811,7 +1847,7 @@ function qt(e) {
1811
1847
  }
1812
1848
  );
1813
1849
  }
1814
- const zt = {
1850
+ const Xt = {
1815
1851
  name: "Form:Form",
1816
1852
  // editableTags: ['builder-form-error']
1817
1853
  defaults: {
@@ -2042,127 +2078,127 @@ const zt = {
2042
2078
  }
2043
2079
  }
2044
2080
  }]
2045
- }, Jt = ["production", "qa", "test", "development", "dev", "cdn-qa", "cloud", "fast", "cdn2", "cdn-prod"], Yt = () => {
2081
+ }, Zt = ["production", "qa", "test", "development", "dev", "cdn-qa", "cloud", "fast", "cdn2", "cdn-prod"], en = () => {
2046
2082
  const e = process.env.NODE_ENV || "production";
2047
- return Jt.includes(e) ? e : "production";
2048
- }, Gt = (e, t, n) => {
2083
+ return Zt.includes(e) ? e : "production";
2084
+ }, tn = (e, t, n) => {
2049
2085
  const i = String.prototype.split.call(t, /[,[\].]+?/).filter(Boolean).reduce((o, a) => o != null ? o[a] : o, e);
2050
2086
  return i === void 0 || i === e ? n : i;
2051
2087
  };
2052
- function Qt(e) {
2053
- var p, v;
2054
- const t = ee(null), [n, i] = x(() => "unsubmitted"), [o, a] = x(() => null), [r, s] = x(() => "");
2055
- function c(f) {
2056
- var y, R;
2057
- const g = {
2088
+ function nn(e) {
2089
+ var m, h;
2090
+ const t = ne(null), [n, i] = S(() => "unsubmitted"), [o, a] = S(() => null), [r, l] = S(() => "");
2091
+ function d(b) {
2092
+ var T, R;
2093
+ const y = {
2058
2094
  ...e.builderContext.rootState,
2059
- ...f
2095
+ ...b
2060
2096
  };
2061
- e.builderContext.rootSetState ? (R = (y = e.builderContext).rootSetState) == null || R.call(y, g) : e.builderContext.rootState = g;
2097
+ e.builderContext.rootSetState ? (R = (T = e.builderContext).rootSetState) == null || R.call(T, y) : e.builderContext.rootState = y;
2062
2098
  }
2063
- function d() {
2064
- return M() && e.previewState || n;
2099
+ function s() {
2100
+ return L() && e.previewState || n;
2065
2101
  }
2066
- function u(f) {
2067
- var y;
2068
- const g = e.sendWithJs || e.sendSubmissionsTo === "email";
2102
+ function u(b) {
2103
+ var T;
2104
+ const y = e.sendWithJs || e.sendSubmissionsTo === "email";
2069
2105
  if (e.sendSubmissionsTo === "zapier")
2070
- f.preventDefault();
2071
- else if (g) {
2106
+ b.preventDefault();
2107
+ else if (y) {
2072
2108
  if (!(e.action || e.sendSubmissionsTo === "email")) {
2073
- f.preventDefault();
2109
+ b.preventDefault();
2074
2110
  return;
2075
2111
  }
2076
- f.preventDefault();
2077
- const R = f.currentTarget, B = e.customHeaders || {};
2078
- let S;
2079
- const T = new FormData(R), V = Array.from(
2080
- f.currentTarget.querySelectorAll("input,select,textarea")
2081
- ).filter((h) => !!h.name).map((h) => {
2082
- let E;
2083
- const D = h.name;
2084
- if (h instanceof HTMLInputElement)
2085
- if (h.type === "radio") {
2086
- if (h.checked)
2087
- return E = h.name, {
2088
- key: D,
2089
- value: E
2112
+ b.preventDefault();
2113
+ const R = b.currentTarget, B = e.customHeaders || {};
2114
+ let p;
2115
+ const w = new FormData(R), V = Array.from(
2116
+ b.currentTarget.querySelectorAll("input,select,textarea")
2117
+ ).filter((f) => !!f.name).map((f) => {
2118
+ let I;
2119
+ const $ = f.name;
2120
+ if (f instanceof HTMLInputElement)
2121
+ if (f.type === "radio") {
2122
+ if (f.checked)
2123
+ return I = f.name, {
2124
+ key: $,
2125
+ value: I
2090
2126
  };
2091
- } else if (h.type === "checkbox")
2092
- E = h.checked;
2093
- else if (h.type === "number" || h.type === "range") {
2094
- const A = h.valueAsNumber;
2095
- isNaN(A) || (E = A);
2127
+ } else if (f.type === "checkbox")
2128
+ I = f.checked;
2129
+ else if (f.type === "number" || f.type === "range") {
2130
+ const W = f.valueAsNumber;
2131
+ isNaN(W) || (I = W);
2096
2132
  } else
2097
- h.type === "file" ? E = h.files : E = h.value;
2133
+ f.type === "file" ? I = f.files : I = f.value;
2098
2134
  else
2099
- E = h.value;
2135
+ I = f.value;
2100
2136
  return {
2101
- key: D,
2102
- value: E
2137
+ key: $,
2138
+ value: I
2103
2139
  };
2104
2140
  });
2105
2141
  let P = e.contentType;
2106
- if (e.sendSubmissionsTo === "email" && (P = "multipart/form-data"), Array.from(V).forEach(({ value: h }) => {
2107
- (h instanceof File || Array.isArray(h) && h[0] instanceof File || h instanceof FileList) && (P = "multipart/form-data");
2142
+ if (e.sendSubmissionsTo === "email" && (P = "multipart/form-data"), Array.from(V).forEach(({ value: f }) => {
2143
+ (f instanceof File || Array.isArray(f) && f[0] instanceof File || f instanceof FileList) && (P = "multipart/form-data");
2108
2144
  }), P !== "application/json")
2109
- S = T;
2145
+ p = w;
2110
2146
  else {
2111
- const h = {};
2112
- Array.from(V).forEach(({ value: E, key: D }) => {
2113
- Re(h, D, E);
2114
- }), S = JSON.stringify(h);
2147
+ const f = {};
2148
+ Array.from(V).forEach(({ value: I, key: $ }) => {
2149
+ Be(f, $, I);
2150
+ }), p = JSON.stringify(f);
2115
2151
  }
2116
- P && P !== "multipart/form-data" && (g && ((y = e.action) != null && y.includes("zapier.com")) || (B["content-type"] = P));
2117
- const $ = new CustomEvent("presubmit", { detail: { body: S } });
2118
- if (t.current && (t.current.dispatchEvent($), $.defaultPrevented))
2152
+ P && P !== "multipart/form-data" && (y && ((T = e.action) != null && T.includes("zapier.com")) || (B["content-type"] = P));
2153
+ const M = new CustomEvent("presubmit", { detail: { body: p } });
2154
+ if (t.current && (t.current.dispatchEvent(M), M.defaultPrevented))
2119
2155
  return;
2120
2156
  i("sending");
2121
- const L = `${Yt() === "dev" ? "http://localhost:5000" : "https://builder.io"}/api/v1/form-submit?apiKey=${e.builderContext.apiKey}&to=${btoa(
2157
+ const O = `${en() === "dev" ? "http://localhost:5000" : "https://builder.io"}/api/v1/form-submit?apiKey=${e.builderContext.apiKey}&to=${btoa(
2122
2158
  e.sendSubmissionsToEmail || ""
2123
2159
  )}&name=${encodeURIComponent(e.name || "")}`;
2124
2160
  fetch(
2125
- e.sendSubmissionsTo === "email" ? L : e.action,
2126
- { body: S, headers: B, method: e.method || "post" }
2161
+ e.sendSubmissionsTo === "email" ? O : e.action,
2162
+ { body: p, headers: B, method: e.method || "post" }
2127
2163
  ).then(
2128
- async (h) => {
2129
- let E;
2130
- const D = h.headers.get("content-type");
2131
- if (D && D.indexOf("application/json") !== -1 ? E = await h.json() : E = await h.text(), !h.ok && e.errorMessagePath) {
2132
- let A = Gt(E, e.errorMessagePath);
2133
- A && (typeof A != "string" && (A = JSON.stringify(A)), s(A), c({ formErrorMessage: A }));
2164
+ async (f) => {
2165
+ let I;
2166
+ const $ = f.headers.get("content-type");
2167
+ if ($ && $.indexOf("application/json") !== -1 ? I = await f.json() : I = await f.text(), !f.ok && e.errorMessagePath) {
2168
+ let W = tn(I, e.errorMessagePath);
2169
+ W && (typeof W != "string" && (W = JSON.stringify(W)), l(W), d({ formErrorMessage: W }));
2134
2170
  }
2135
- if (a(E), i(h.ok ? "success" : "error"), h.ok) {
2136
- const A = new CustomEvent("submit:success", {
2137
- detail: { res: h, body: E }
2171
+ if (a(I), i(f.ok ? "success" : "error"), f.ok) {
2172
+ const W = new CustomEvent("submit:success", {
2173
+ detail: { res: f, body: I }
2138
2174
  });
2139
2175
  if (t.current) {
2140
- if (t.current.dispatchEvent(A), A.defaultPrevented)
2176
+ if (t.current.dispatchEvent(W), W.defaultPrevented)
2141
2177
  return;
2142
2178
  e.resetFormOnSubmit !== !1 && t.current.reset();
2143
2179
  }
2144
2180
  if (e.successUrl)
2145
2181
  if (t.current) {
2146
- const b = new CustomEvent("route", {
2182
+ const g = new CustomEvent("route", {
2147
2183
  detail: { url: e.successUrl }
2148
2184
  });
2149
- t.current.dispatchEvent(b), b.defaultPrevented || (location.href = e.successUrl);
2185
+ t.current.dispatchEvent(g), g.defaultPrevented || (location.href = e.successUrl);
2150
2186
  } else
2151
2187
  location.href = e.successUrl;
2152
2188
  }
2153
2189
  },
2154
- (h) => {
2155
- const E = new CustomEvent("submit:error", {
2156
- detail: { error: h }
2190
+ (f) => {
2191
+ const I = new CustomEvent("submit:error", {
2192
+ detail: { error: f }
2157
2193
  });
2158
- t.current && (t.current.dispatchEvent(E), E.defaultPrevented) || (a(h), i("error"));
2194
+ t.current && (t.current.dispatchEvent(I), I.defaultPrevented) || (a(f), i("error"));
2159
2195
  }
2160
2196
  );
2161
2197
  }
2162
2198
  }
2163
- return /* @__PURE__ */ N(m, { children: [
2199
+ return /* @__PURE__ */ F(E, { children: [
2164
2200
  " ",
2165
- /* @__PURE__ */ N(
2201
+ /* @__PURE__ */ F(
2166
2202
  "form",
2167
2203
  {
2168
2204
  validate: e.validate,
@@ -2170,63 +2206,53 @@ function Qt(e) {
2170
2206
  action: !e.sendWithJs && e.action,
2171
2207
  method: e.method,
2172
2208
  name: e.name,
2173
- onSubmit: (f) => u(f),
2209
+ onSubmit: (b) => u(b),
2174
2210
  ...e.attributes,
2175
2211
  children: [
2176
- " ",
2177
- e.builderBlock && e.builderBlock.children ? /* @__PURE__ */ l(m, { children: (v = (p = e.builderBlock) == null ? void 0 : p.children) == null ? void 0 : v.map((f, g) => /* @__PURE__ */ l(
2178
- J,
2212
+ e.builderBlock && e.builderBlock.children ? /* @__PURE__ */ c(E, { children: (h = (m = e.builderBlock) == null ? void 0 : m.children) == null ? void 0 : h.map((b, y) => /* @__PURE__ */ c(
2213
+ G,
2179
2214
  {
2180
- block: f,
2215
+ block: b,
2181
2216
  context: e.builderContext,
2182
2217
  registeredComponents: e.builderComponents,
2183
2218
  linkComponent: e.builderLinkComponent
2184
2219
  },
2185
- `form-block-${g}`
2220
+ `form-block-${y}`
2186
2221
  )) }) : null,
2187
- " ",
2188
- d() === "error" ? /* @__PURE__ */ l(m, { children: /* @__PURE__ */ l(
2189
- U,
2222
+ s() === "error" ? /* @__PURE__ */ c(
2223
+ K,
2190
2224
  {
2191
2225
  path: "errorMessage",
2192
2226
  blocks: e.errorMessage,
2193
2227
  context: e.builderContext
2194
2228
  }
2195
- ) }) : null,
2196
- " ",
2197
- d() === "sending" ? /* @__PURE__ */ l(m, { children: /* @__PURE__ */ l(
2198
- U,
2229
+ ) : null,
2230
+ s() === "sending" ? /* @__PURE__ */ c(
2231
+ K,
2199
2232
  {
2200
2233
  path: "sendingMessage",
2201
2234
  blocks: e.sendingMessage,
2202
2235
  context: e.builderContext
2203
2236
  }
2204
- ) }) : null,
2205
- " ",
2206
- d() === "error" && o ? /* @__PURE__ */ l(m, { children: /* @__PURE__ */ N("pre", { className: "builder-form-error-text pre-25b9edf0", children: [
2207
- " ",
2208
- JSON.stringify(o, null, 2),
2209
- " "
2210
- ] }) }) : null,
2211
- " ",
2212
- d() === "success" ? /* @__PURE__ */ l(m, { children: /* @__PURE__ */ l(
2213
- U,
2237
+ ) : null,
2238
+ s() === "error" && o ? /* @__PURE__ */ c("pre", { className: "builder-form-error-text pre-31bf8a14", children: JSON.stringify(o, null, 2) }) : null,
2239
+ s() === "success" ? /* @__PURE__ */ c(
2240
+ K,
2214
2241
  {
2215
2242
  path: "successMessage",
2216
2243
  blocks: e.successMessage,
2217
2244
  context: e.builderContext
2218
2245
  }
2219
- ) }) : null,
2220
- " "
2246
+ ) : null
2221
2247
  ]
2222
2248
  }
2223
2249
  ),
2224
2250
  " ",
2225
- /* @__PURE__ */ l("style", { children: ".pre-25b9edf0 { padding: 10px; color: red; text-align: center; }" }),
2251
+ /* @__PURE__ */ c("style", { children: ".pre-31bf8a14 { padding: 10px; color: red; text-align: center; }" }),
2226
2252
  " "
2227
2253
  ] });
2228
2254
  }
2229
- const Xt = {
2255
+ const on = {
2230
2256
  name: "Form:Input",
2231
2257
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fad6f37889d9e40bbbbc72cdb5875d6ca",
2232
2258
  inputs: [
@@ -2278,12 +2304,12 @@ const Xt = {
2278
2304
  borderColor: "#ccc"
2279
2305
  }
2280
2306
  };
2281
- function Zt(e) {
2282
- return /* @__PURE__ */ re(
2307
+ function an(e) {
2308
+ return /* @__PURE__ */ ce(
2283
2309
  "input",
2284
2310
  {
2285
2311
  ...e.attributes,
2286
- key: M() && e.defaultValue ? e.defaultValue : "default-key",
2312
+ key: L() && e.defaultValue ? e.defaultValue : "default-key",
2287
2313
  placeholder: e.placeholder,
2288
2314
  type: e.type,
2289
2315
  name: e.name,
@@ -2293,7 +2319,7 @@ function Zt(e) {
2293
2319
  }
2294
2320
  );
2295
2321
  }
2296
- const en = {
2322
+ const rn = {
2297
2323
  name: "Form:Select",
2298
2324
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F83acca093fb24aaf94dee136e9a4b045",
2299
2325
  defaultStyles: {
@@ -2336,21 +2362,21 @@ const en = {
2336
2362
  static: !0,
2337
2363
  noWrap: !0
2338
2364
  };
2339
- function tn(e) {
2365
+ function ln(e) {
2340
2366
  var t;
2341
- return /* @__PURE__ */ re(
2367
+ return /* @__PURE__ */ ce(
2342
2368
  "select",
2343
2369
  {
2344
2370
  ...e.attributes,
2345
2371
  value: e.value,
2346
- key: M() && e.defaultValue ? e.defaultValue : "default-key",
2372
+ key: L() && e.defaultValue ? e.defaultValue : "default-key",
2347
2373
  defaultValue: e.defaultValue,
2348
2374
  name: e.name
2349
2375
  },
2350
- (t = e.options) == null ? void 0 : t.map((n) => /* @__PURE__ */ l("option", { value: n.value, children: n.name || n.value }))
2376
+ (t = e.options) == null ? void 0 : t.map((n) => /* @__PURE__ */ c("option", { value: n.value, children: n.name || n.value }))
2351
2377
  );
2352
2378
  }
2353
- const nn = {
2379
+ const sn = {
2354
2380
  name: "Form:SubmitButton",
2355
2381
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fdf2820ffed1f4349a94c40b3221f5b98",
2356
2382
  defaultStyles: {
@@ -2376,10 +2402,10 @@ const nn = {
2376
2402
  // TODO: defaultChildren
2377
2403
  // canHaveChildren: true,
2378
2404
  };
2379
- function on(e) {
2380
- return /* @__PURE__ */ l("button", { type: "submit", ...e.attributes, children: e.text });
2405
+ function cn(e) {
2406
+ return /* @__PURE__ */ c("button", { type: "submit", ...e.attributes, children: e.text });
2381
2407
  }
2382
- const an = {
2408
+ const dn = {
2383
2409
  // friendlyName?
2384
2410
  name: "Raw:Img",
2385
2411
  hideFromInsertMenu: !0,
@@ -2394,8 +2420,8 @@ const an = {
2394
2420
  noWrap: !0,
2395
2421
  static: !0
2396
2422
  };
2397
- function rn(e) {
2398
- return /* @__PURE__ */ l(
2423
+ function un(e) {
2424
+ return /* @__PURE__ */ c(
2399
2425
  "img",
2400
2426
  {
2401
2427
  style: {
@@ -2406,10 +2432,10 @@ function rn(e) {
2406
2432
  src: e.imgSrc || e.image,
2407
2433
  ...e.attributes
2408
2434
  },
2409
- M() && e.imgSrc || "default-key"
2435
+ L() && e.imgSrc || "default-key"
2410
2436
  );
2411
2437
  }
2412
- const ln = {
2438
+ const mn = {
2413
2439
  name: "Video",
2414
2440
  canHaveChildren: !0,
2415
2441
  defaultStyles: {
@@ -2491,8 +2517,8 @@ const ln = {
2491
2517
  advanced: !0
2492
2518
  }]
2493
2519
  };
2494
- function sn(e) {
2495
- var i, o, a, r, s, c, d;
2520
+ function fn(e) {
2521
+ var i, o, a, r, l, d, s;
2496
2522
  function t() {
2497
2523
  return {
2498
2524
  ...e.autoPlay === !0 ? {
@@ -2517,14 +2543,14 @@ function sn(e) {
2517
2543
  ...t()
2518
2544
  };
2519
2545
  }
2520
- return /* @__PURE__ */ N(
2546
+ return /* @__PURE__ */ F(
2521
2547
  "div",
2522
2548
  {
2523
2549
  style: {
2524
2550
  position: "relative"
2525
2551
  },
2526
2552
  children: [
2527
- /* @__PURE__ */ l(
2553
+ /* @__PURE__ */ c(
2528
2554
  "video",
2529
2555
  {
2530
2556
  className: "builder-video",
@@ -2546,10 +2572,10 @@ function sn(e) {
2546
2572
  },
2547
2573
  src: e.video || "no-src",
2548
2574
  poster: e.posterImage,
2549
- children: e.lazyLoad ? null : /* @__PURE__ */ l("source", { type: "video/mp4", src: e.video })
2575
+ children: e.lazyLoad ? null : /* @__PURE__ */ c("source", { type: "video/mp4", src: e.video })
2550
2576
  }
2551
2577
  ),
2552
- e.aspectRatio && !(e.fitContent && ((a = (o = e.builderBlock) == null ? void 0 : o.children) != null && a.length)) ? /* @__PURE__ */ l(m, { children: /* @__PURE__ */ l(
2578
+ e.aspectRatio && !(e.fitContent && ((a = (o = e.builderBlock) == null ? void 0 : o.children) != null && a.length)) ? /* @__PURE__ */ c(
2553
2579
  "div",
2554
2580
  {
2555
2581
  style: {
@@ -2559,8 +2585,8 @@ function sn(e) {
2559
2585
  fontSize: "0px"
2560
2586
  }
2561
2587
  }
2562
- ) }) : null,
2563
- (s = (r = e.builderBlock) == null ? void 0 : r.children) != null && s.length && e.fitContent ? /* @__PURE__ */ l(m, { children: /* @__PURE__ */ l(
2588
+ ) : null,
2589
+ (l = (r = e.builderBlock) == null ? void 0 : r.children) != null && l.length && e.fitContent ? /* @__PURE__ */ c(
2564
2590
  "div",
2565
2591
  {
2566
2592
  style: {
@@ -2570,8 +2596,8 @@ function sn(e) {
2570
2596
  },
2571
2597
  children: e.children
2572
2598
  }
2573
- ) }) : null,
2574
- (d = (c = e.builderBlock) == null ? void 0 : c.children) != null && d.length && !e.fitContent ? /* @__PURE__ */ l(m, { children: /* @__PURE__ */ l(
2599
+ ) : null,
2600
+ (s = (d = e.builderBlock) == null ? void 0 : d.children) != null && s.length && !e.fitContent ? /* @__PURE__ */ c(
2575
2601
  "div",
2576
2602
  {
2577
2603
  style: {
@@ -2587,60 +2613,60 @@ function sn(e) {
2587
2613
  },
2588
2614
  children: e.children
2589
2615
  }
2590
- ) }) : null
2616
+ ) : null
2591
2617
  ]
2592
2618
  }
2593
2619
  );
2594
2620
  }
2595
- const cn = () => [{
2596
- component: Ut,
2597
- ...jt
2598
- }, {
2599
- component: qt,
2600
- ...Ht
2621
+ const hn = () => [{
2622
+ component: _t,
2623
+ ...zt
2601
2624
  }, {
2602
2625
  component: Qt,
2603
- ...zt
2626
+ ...Jt
2604
2627
  }, {
2605
- component: Zt,
2628
+ component: nn,
2606
2629
  ...Xt
2607
2630
  }, {
2608
- component: on,
2609
- ...nn
2610
- }, {
2611
- component: tn,
2612
- ...en
2613
- }, {
2614
- component: rn,
2615
- ...an
2631
+ component: an,
2632
+ ...on
2616
2633
  }, {
2617
- component: sn,
2618
- ...ln
2619
- }], Se = () => [{
2620
- component: Je,
2621
- ...Bt
2634
+ component: cn,
2635
+ ...sn
2622
2636
  }, {
2623
- component: It,
2624
- ...Wt
2637
+ component: ln,
2638
+ ...rn
2625
2639
  }, {
2626
- component: Tt,
2627
- ...At
2640
+ component: un,
2641
+ ...dn
2628
2642
  }, {
2629
- component: Pt,
2630
- ...Ft
2643
+ component: fn,
2644
+ ...mn
2645
+ }], Ce = () => [{
2646
+ component: Ze,
2647
+ ...$t
2631
2648
  }, {
2632
2649
  component: Vt,
2633
- ...Nt
2634
- }, {
2635
- component: Lt,
2636
- ...$t
2650
+ ...Lt
2637
2651
  }, {
2638
- component: Pn,
2652
+ component: Bt,
2639
2653
  ...Dt
2640
2654
  }, {
2641
- component: Ot,
2655
+ component: Nt,
2642
2656
  ...Mt
2643
- }, ...cn()], dn = `function updateCookiesAndStyles(contentId, variants, isHydrationTarget) {
2657
+ }, {
2658
+ component: Ft,
2659
+ ...Ot
2660
+ }, {
2661
+ component: jt,
2662
+ ...Ut
2663
+ }, {
2664
+ component: $n,
2665
+ ...Ht
2666
+ }, {
2667
+ component: qt,
2668
+ ...Kt
2669
+ }, ...hn()], gn = `function updateCookiesAndStyles(contentId, variants, isHydrationTarget) {
2644
2670
  function getAndSetVariantId() {
2645
2671
  function setCookie(name, value, days) {
2646
2672
  let expires = '';
@@ -2696,7 +2722,7 @@ const cn = () => [{
2696
2722
  }).join('');
2697
2723
  styleEl.innerHTML = newStyleStr;
2698
2724
  }
2699
- }`, un = `function updateVariantVisibility(variantContentId, defaultContentId, isHydrationTarget) {
2725
+ }`, bn = `function updateVariantVisibility(variantContentId, defaultContentId, isHydrationTarget) {
2700
2726
  if (!navigator.cookieEnabled) {
2701
2727
  return;
2702
2728
  }
@@ -2730,27 +2756,27 @@ const cn = () => [{
2730
2756
  thisScriptEl?.remove();
2731
2757
  }
2732
2758
  return;
2733
- }`, Ne = "builderIoAbTest", $e = "builderIoRenderContent", G = (e) => Object.values((e == null ? void 0 : e.variations) || {}).map((t) => ({
2759
+ }`, De = "builderIoAbTest", Me = "builderIoRenderContent", X = (e) => Object.values((e == null ? void 0 : e.variations) || {}).map((t) => ({
2734
2760
  ...t,
2735
2761
  testVariationId: t.id,
2736
2762
  id: e == null ? void 0 : e.id
2737
- })), mn = ({
2763
+ })), yn = ({
2738
2764
  canTrack: e,
2739
2765
  content: t
2740
- }) => !(!(G(t).length > 0) || !e || H()), fn = (e) => e === "react" || e === "reactNative", Le = fn(z), hn = () => `
2741
- window.${Ne} = ${dn}
2742
- window.${$e} = ${un}
2743
- `, gn = (e, t) => `
2744
- window.${Ne}(
2745
- "${t}",${JSON.stringify(e)}, ${Le}
2746
- )`, bn = ({
2766
+ }) => !(!(X(t).length > 0) || !e || q()), pn = (e) => e === "react" || e === "reactNative", Oe = pn(Y), Sn = () => `
2767
+ window.${De} = ${gn}
2768
+ window.${Me} = ${bn}
2769
+ `, xn = (e, t) => `
2770
+ window.${De}(
2771
+ "${t}",${JSON.stringify(e)}, ${Oe}
2772
+ )`, vn = ({
2747
2773
  contentId: e,
2748
2774
  variationId: t
2749
- }) => `window.${$e}(
2750
- "${t}", "${e}", ${Le}
2775
+ }) => `window.${Me}(
2776
+ "${t}", "${e}", ${Oe}
2751
2777
  )`;
2752
- function oe(e) {
2753
- return /* @__PURE__ */ l(
2778
+ function le(e) {
2779
+ return /* @__PURE__ */ c(
2754
2780
  "script",
2755
2781
  {
2756
2782
  dangerouslySetInnerHTML: { __html: e.scriptStr },
@@ -2758,10 +2784,10 @@ function oe(e) {
2758
2784
  }
2759
2785
  );
2760
2786
  }
2761
- function ve(e) {
2787
+ function we(e) {
2762
2788
  return Math.round(e * 1e3) / 1e3;
2763
2789
  }
2764
- const yn = (e, t, n = !0) => {
2790
+ const kn = (e, t, n = !0) => {
2765
2791
  if (!(e instanceof HTMLElement))
2766
2792
  return null;
2767
2793
  let i = n ? e : e.parentElement;
@@ -2772,28 +2798,28 @@ const yn = (e, t, n = !0) => {
2772
2798
  return i;
2773
2799
  } while (i = i.parentElement);
2774
2800
  return null;
2775
- }, pn = (e) => yn(e, (t) => {
2801
+ }, Cn = (e) => kn(e, (t) => {
2776
2802
  const n = t.getAttribute("builder-id") || t.id;
2777
2803
  return (n == null ? void 0 : n.indexOf("builder-")) === 0;
2778
- }), ke = ({
2804
+ }), Ie = ({
2779
2805
  event: e,
2780
2806
  target: t
2781
2807
  }) => {
2782
- const n = t.getBoundingClientRect(), i = e.clientX - n.left, o = e.clientY - n.top, a = ve(i / n.width), r = ve(o / n.height);
2808
+ const n = t.getBoundingClientRect(), i = e.clientX - n.left, o = e.clientY - n.top, a = we(i / n.width), r = we(o / n.height);
2783
2809
  return {
2784
2810
  x: a,
2785
2811
  y: r
2786
2812
  };
2787
- }, xn = (e) => {
2788
- const t = e.target, n = t && pn(t), i = (n == null ? void 0 : n.getAttribute("builder-id")) || (n == null ? void 0 : n.id);
2813
+ }, wn = (e) => {
2814
+ const t = e.target, n = t && Cn(t), i = (n == null ? void 0 : n.getAttribute("builder-id")) || (n == null ? void 0 : n.id);
2789
2815
  return {
2790
2816
  targetBuilderElement: i || void 0,
2791
2817
  metadata: {
2792
- targetOffset: t ? ke({
2818
+ targetOffset: t ? Ie({
2793
2819
  event: e,
2794
2820
  target: t
2795
2821
  }) : void 0,
2796
- builderTargetOffset: n ? ke({
2822
+ builderTargetOffset: n ? Ie({
2797
2823
  event: e,
2798
2824
  target: n
2799
2825
  }) : void 0,
@@ -2801,142 +2827,149 @@ const yn = (e, t, n = !0) => {
2801
2827
  }
2802
2828
  };
2803
2829
  };
2804
- function Sn(e) {
2805
- var P, $, L, h, E, D, A;
2806
- const t = ee(null), [n, i] = x(() => 0);
2807
- x(() => !0);
2808
- function o(b) {
2809
- var C, w;
2810
- const k = {
2830
+ function In(e) {
2831
+ var P, M, O, f, I, $, W;
2832
+ const t = ne(null), [n, i] = S(() => 0);
2833
+ S(() => !0);
2834
+ function o(g) {
2835
+ var v, k;
2836
+ const x = {
2811
2837
  ...e.builderContextSignal.rootState,
2812
- ...b
2838
+ ...g
2813
2839
  };
2814
- e.builderContextSignal.rootSetState ? (w = (C = e.builderContextSignal).rootSetState) == null || w.call(C, k) : e.setBuilderContextSignal((I) => ({
2815
- ...I,
2816
- rootState: k
2840
+ e.builderContextSignal.rootSetState ? (k = (v = e.builderContextSignal).rootSetState) == null || k.call(v, x) : e.setBuilderContextSignal((C) => ({
2841
+ ...C,
2842
+ rootState: x
2817
2843
  }));
2818
2844
  }
2819
- function a(b) {
2820
- var C, w, I, F, j;
2821
- const k = {
2845
+ function a(g) {
2846
+ var v, k, C, N, j;
2847
+ const x = {
2822
2848
  ...e.builderContextSignal.content,
2823
- ...b,
2849
+ ...g,
2824
2850
  data: {
2825
- ...(C = e.builderContextSignal.content) == null ? void 0 : C.data,
2826
- ...b == null ? void 0 : b.data
2851
+ ...(v = e.builderContextSignal.content) == null ? void 0 : v.data,
2852
+ ...g == null ? void 0 : g.data
2827
2853
  },
2828
2854
  meta: {
2829
- ...(w = e.builderContextSignal.content) == null ? void 0 : w.meta,
2830
- ...b == null ? void 0 : b.meta,
2831
- breakpoints: ((I = b == null ? void 0 : b.meta) == null ? void 0 : I.breakpoints) || ((j = (F = e.builderContextSignal.content) == null ? void 0 : F.meta) == null ? void 0 : j.breakpoints)
2855
+ ...(k = e.builderContextSignal.content) == null ? void 0 : k.meta,
2856
+ ...g == null ? void 0 : g.meta,
2857
+ breakpoints: ((C = g == null ? void 0 : g.meta) == null ? void 0 : C.breakpoints) || ((j = (N = e.builderContextSignal.content) == null ? void 0 : N.meta) == null ? void 0 : j.breakpoints)
2832
2858
  }
2833
2859
  };
2834
- e.setBuilderContextSignal((Y) => ({
2835
- ...Y,
2836
- content: k
2860
+ e.setBuilderContextSignal((Q) => ({
2861
+ ...Q,
2862
+ content: x
2837
2863
  }));
2838
2864
  }
2839
- x(() => 0);
2840
- const [r, s] = x(
2865
+ S(() => 0);
2866
+ const [r, l] = S(
2841
2867
  () => !1
2842
- ), [c, d] = x(
2868
+ ), [d, s] = S(
2843
2869
  () => e.contentWrapper || "div"
2844
2870
  );
2845
- function u(b) {
2846
- return He({
2871
+ function u(g) {
2872
+ return Je({
2847
2873
  model: e.model,
2848
2874
  trustedHosts: e.trustedHosts,
2849
2875
  callbacks: {
2850
- configureSdk: (k) => {
2851
- var I;
2852
- const { breakpoints: C, contentId: w } = k;
2853
- !w || w !== ((I = e.builderContextSignal.content) == null ? void 0 : I.id) || C && (a({
2876
+ configureSdk: (x) => {
2877
+ var C;
2878
+ const { breakpoints: v, contentId: k } = x;
2879
+ !k || k !== ((C = e.builderContextSignal.content) == null ? void 0 : C.id) || v && (a({
2854
2880
  meta: {
2855
- breakpoints: C
2881
+ breakpoints: v
2856
2882
  }
2857
2883
  }), i(n + 1));
2858
2884
  },
2859
- animation: (k) => {
2860
- Pe(k);
2885
+ animation: (x) => {
2886
+ Ae(x);
2861
2887
  },
2862
- contentUpdate: (k) => {
2863
- a(k), i(n + 1);
2888
+ contentUpdate: (x) => {
2889
+ a(x), i(n + 1);
2864
2890
  }
2865
2891
  }
2866
- })(b);
2892
+ })(g);
2867
2893
  }
2868
- function p() {
2869
- var k, C;
2870
- const b = (C = (k = e.builderContextSignal.content) == null ? void 0 : k.data) == null ? void 0 : C.jsCode;
2871
- b && q({
2872
- code: b,
2894
+ function m() {
2895
+ var x, v;
2896
+ const g = (v = (x = e.builderContextSignal.content) == null ? void 0 : x.data) == null ? void 0 : v.jsCode;
2897
+ g && J({
2898
+ code: g,
2873
2899
  context: e.context || {},
2874
2900
  localState: void 0,
2875
2901
  rootState: e.builderContextSignal.rootState,
2876
- rootSetState: e.builderContextSignal.rootSetState
2902
+ rootSetState: e.builderContextSignal.rootSetState,
2903
+ /**
2904
+ * We don't want to cache the result of the JS code, since it's arbitrary side effect code.
2905
+ */
2906
+ enableCache: !1
2877
2907
  });
2878
2908
  }
2879
- const [v, f] = x(() => ({})), [g, y] = x(() => !1);
2880
- function R(b) {
2881
- var k, C;
2909
+ const [h, b] = S(() => ({})), [y, T] = S(() => !1);
2910
+ function R(g) {
2911
+ var x, v;
2882
2912
  if (e.builderContextSignal.content) {
2883
- const w = (k = e.builderContextSignal.content) == null ? void 0 : k.testVariationId, I = (C = e.builderContextSignal.content) == null ? void 0 : C.id;
2884
- fe({
2913
+ const k = (x = e.builderContextSignal.content) == null ? void 0 : x.testVariationId, C = (v = e.builderContextSignal.content) == null ? void 0 : v.id;
2914
+ be({
2885
2915
  type: "click",
2886
- canTrack: X(e.canTrack),
2887
- contentId: I,
2916
+ canTrack: ee(e.canTrack),
2917
+ contentId: C,
2888
2918
  apiKey: e.apiKey,
2889
- variationId: w !== I ? w : void 0,
2890
- ...xn(b),
2891
- unique: !g
2919
+ variationId: k !== C ? k : void 0,
2920
+ ...wn(g),
2921
+ unique: !y
2892
2922
  });
2893
2923
  }
2894
- g || y(!0);
2924
+ y || T(!0);
2895
2925
  }
2896
- function B(b) {
2897
- return b.replace(
2926
+ function B(g) {
2927
+ return g.replace(
2898
2928
  /{{([^}]+)}}/g,
2899
- (k, C) => q({
2900
- code: C,
2901
- context: e.context || {},
2902
- localState: void 0,
2903
- rootState: e.builderContextSignal.rootState,
2904
- rootSetState: e.builderContextSignal.rootSetState
2905
- })
2929
+ (x, v) => String(
2930
+ J({
2931
+ code: v,
2932
+ context: e.context || {},
2933
+ localState: void 0,
2934
+ rootState: e.builderContextSignal.rootState,
2935
+ rootSetState: e.builderContextSignal.rootSetState,
2936
+ enableCache: !0
2937
+ })
2938
+ )
2906
2939
  );
2907
2940
  }
2908
- function S({ url: b, key: k }) {
2909
- _e(b).then((C) => C.json()).then((C) => {
2910
- var I, F;
2911
- const w = {
2941
+ function p({ url: g, key: x }) {
2942
+ Ye(g).then((v) => v.json()).then((v) => {
2943
+ var C, N;
2944
+ const k = {
2912
2945
  ...e.builderContextSignal.rootState,
2913
- [k]: C
2946
+ [x]: v
2914
2947
  };
2915
- (F = (I = e.builderContextSignal).rootSetState) == null || F.call(I, w), v[k] = !0;
2916
- }).catch((C) => {
2917
- console.error("error fetching dynamic data", b, C);
2948
+ (N = (C = e.builderContextSignal).rootSetState) == null || N.call(C, k), h[x] = !0;
2949
+ }).catch((v) => {
2950
+ console.error("error fetching dynamic data", g, v);
2918
2951
  });
2919
2952
  }
2920
- function T() {
2921
- var k, C, w;
2922
- const b = (w = (C = (k = e.builderContextSignal.content) == null ? void 0 : k.data) == null ? void 0 : C.httpRequests) != null ? w : {};
2923
- Object.entries(b).forEach(([I, F]) => {
2924
- if (F && (!v[I] || M())) {
2925
- const j = B(F);
2926
- S({
2953
+ function w() {
2954
+ var x, v, k;
2955
+ const g = (k = (v = (x = e.builderContextSignal.content) == null ? void 0 : x.data) == null ? void 0 : v.httpRequests) != null ? k : {};
2956
+ Object.entries(g).forEach(([C, N]) => {
2957
+ if (N && (!h[C] || L())) {
2958
+ const j = B(N);
2959
+ p({
2927
2960
  url: j,
2928
- key: I
2961
+ key: C
2929
2962
  });
2930
2963
  }
2931
2964
  });
2932
2965
  }
2933
2966
  function V() {
2934
- M() && window.dispatchEvent(
2967
+ L() && window.dispatchEvent(
2935
2968
  new CustomEvent(
2936
2969
  "builder:component:stateChange",
2937
2970
  {
2938
2971
  detail: {
2939
- state: ae(e.builderContextSignal.rootState),
2972
+ state: se(e.builderContextSignal.rootState),
2940
2973
  ref: {
2941
2974
  name: e.model
2942
2975
  }
@@ -2945,10 +2978,10 @@ function Sn(e) {
2945
2978
  )
2946
2979
  );
2947
2980
  }
2948
- return W(() => {
2949
- var b, k;
2950
- if (H()) {
2951
- if (M() && (i(n + 1), window.addEventListener("message", u), Me(), Oe({
2981
+ return A(() => {
2982
+ var g, x;
2983
+ if (q()) {
2984
+ if (L() && (i(n + 1), window.addEventListener("message", u), Ke(), qe({
2952
2985
  ...e.locale ? {
2953
2986
  locale: e.locale
2954
2987
  } : {},
@@ -2960,79 +2993,79 @@ function Sn(e) {
2960
2993
  } : {}
2961
2994
  }), Object.values(
2962
2995
  e.builderContextSignal.componentInfos
2963
- ).forEach((w) => {
2964
- var F;
2965
- const I = je(w);
2966
- (F = window.parent) == null || F.postMessage(I, "*");
2996
+ ).forEach((k) => {
2997
+ var N;
2998
+ const C = ze(k);
2999
+ (N = window.parent) == null || N.postMessage(C, "*");
2967
3000
  }), window.addEventListener(
2968
3001
  "builder:component:stateChangeListenerActivated",
2969
3002
  V
2970
- )), e.builderContextSignal.content && X(e.canTrack)) {
2971
- const w = (b = e.builderContextSignal.content) == null ? void 0 : b.testVariationId, I = (k = e.builderContextSignal.content) == null ? void 0 : k.id, F = e.apiKey;
2972
- fe({
3003
+ )), e.builderContextSignal.content && ee(e.canTrack)) {
3004
+ const k = (g = e.builderContextSignal.content) == null ? void 0 : g.testVariationId, C = (x = e.builderContextSignal.content) == null ? void 0 : x.id, N = e.apiKey;
3005
+ be({
2973
3006
  type: "impression",
2974
3007
  canTrack: !0,
2975
- contentId: I,
2976
- apiKey: F,
2977
- variationId: w !== I ? w : void 0
3008
+ contentId: C,
3009
+ apiKey: N,
3010
+ variationId: k !== C ? k : void 0
2978
3011
  });
2979
3012
  }
2980
- if (Ue()) {
2981
- const w = new URL(location.href).searchParams, I = w.get("builder.preview"), F = w.get(
2982
- `builder.preview.${I}`
2983
- ), j = w.get("apiKey") || w.get("builder.space");
2984
- I === e.model && j === e.apiKey && (!e.content || F === e.content.id) && we({
3013
+ if (_e()) {
3014
+ const k = new URL(location.href).searchParams, C = k.get("builder.preview"), N = k.get(
3015
+ `builder.preview.${C}`
3016
+ ), j = k.get("apiKey") || k.get("builder.space");
3017
+ C === e.model && j === e.apiKey && (!e.content || N === e.content.id) && Ee({
2985
3018
  model: e.model,
2986
3019
  apiKey: e.apiKey,
2987
3020
  apiVersion: e.builderContextSignal.apiVersion
2988
- }).then((Y) => {
2989
- Y && a(Y);
3021
+ }).then((Q) => {
3022
+ Q && a(Q);
2990
3023
  });
2991
3024
  }
2992
3025
  }
2993
- }, []), W(() => {
2994
- e.apiKey || _.error(
3026
+ }, []), A(() => {
3027
+ e.apiKey || z.error(
2995
3028
  "No API key provided to `RenderContent` component. This can cause issues. Please provide an API key using the `apiKey` prop."
2996
- ), p(), T(), V();
2997
- }, []), W(() => {
3029
+ ), m(), w(), V();
3030
+ }, []), A(() => {
2998
3031
  e.content && a(e.content);
2999
- }, [e.content]), W(() => {
3000
- }, [r]), W(() => {
3001
- p();
3002
- }, [($ = (P = e.builderContextSignal.content) == null ? void 0 : P.data) == null ? void 0 : $.jsCode]), W(() => {
3003
- T();
3004
- }, [(h = (L = e.builderContextSignal.content) == null ? void 0 : L.data) == null ? void 0 : h.httpRequests]), W(() => {
3032
+ }, [e.content]), A(() => {
3033
+ }, [r]), A(() => {
3034
+ m();
3035
+ }, [(M = (P = e.builderContextSignal.content) == null ? void 0 : P.data) == null ? void 0 : M.jsCode]), A(() => {
3036
+ w();
3037
+ }, [(f = (O = e.builderContextSignal.content) == null ? void 0 : O.data) == null ? void 0 : f.httpRequests]), A(() => {
3005
3038
  V();
3006
- }, [e.builderContextSignal.rootState]), W(() => {
3039
+ }, [e.builderContextSignal.rootState]), A(() => {
3007
3040
  e.data && o(e.data);
3008
- }, [e.data]), W(() => {
3041
+ }, [e.data]), A(() => {
3009
3042
  e.locale && o({
3010
3043
  locale: e.locale
3011
3044
  });
3012
- }, [e.locale]), W(() => () => {
3013
- H() && (window.removeEventListener("message", u), window.removeEventListener(
3045
+ }, [e.locale]), A(() => () => {
3046
+ q() && (window.removeEventListener("message", u), window.removeEventListener(
3014
3047
  "builder:component:stateChangeListenerActivated",
3015
3048
  V
3016
3049
  ));
3017
- }, []), /* @__PURE__ */ l(se.Provider, { value: e.builderContextSignal, children: e.builderContextSignal.content ? /* @__PURE__ */ l(m, { children: /* @__PURE__ */ re(
3018
- c,
3050
+ }, []), /* @__PURE__ */ c(ue.Provider, { value: e.builderContextSignal, children: e.builderContextSignal.content ? /* @__PURE__ */ ce(
3051
+ d,
3019
3052
  {
3020
3053
  key: n,
3021
3054
  ref: t,
3022
- onClick: (b) => R(b),
3023
- "builder-content-id": (E = e.builderContextSignal.content) == null ? void 0 : E.id,
3055
+ onClick: (g) => R(g),
3056
+ "builder-content-id": (I = e.builderContextSignal.content) == null ? void 0 : I.id,
3024
3057
  "builder-model": e.model,
3025
3058
  ...e.showContent ? {} : {
3026
3059
  hidden: !0,
3027
3060
  "aria-hidden": !0
3028
3061
  },
3029
3062
  ...e.contentWrapperProps,
3030
- className: `variant-${((D = e.content) == null ? void 0 : D.testVariationId) || ((A = e.content) == null ? void 0 : A.id)}`
3063
+ className: `variant-${(($ = e.content) == null ? void 0 : $.testVariationId) || ((W = e.content) == null ? void 0 : W.id)}`
3031
3064
  },
3032
3065
  e.children
3033
- ) }) : null });
3066
+ ) : null });
3034
3067
  }
3035
- const vn = (e) => {
3068
+ const Tn = (e) => {
3036
3069
  var a, r;
3037
3070
  const t = e.family + (e.kind && !e.kind.includes("#") ? ", " + e.kind : ""), n = t.split(",")[0], i = (r = e.fileUrl) != null ? r : (a = e == null ? void 0 : e.files) == null ? void 0 : a.regular;
3038
3071
  let o = "";
@@ -3044,40 +3077,29 @@ font-display: fallback;
3044
3077
  font-weight: 400;
3045
3078
  }
3046
3079
  `.trim()), e.files)
3047
- for (const s in e.files) {
3048
- if (!(String(Number(s)) === s))
3080
+ for (const l in e.files) {
3081
+ if (!(String(Number(l)) === l))
3049
3082
  continue;
3050
- const d = e.files[s];
3051
- d && d !== i && (o += `
3083
+ const s = e.files[l];
3084
+ s && s !== i && (o += `
3052
3085
  @font-face {
3053
3086
  font-family: "${t}";
3054
- src: url('${d}') format('woff2');
3087
+ src: url('${s}') format('woff2');
3055
3088
  font-display: fallback;
3056
- font-weight: ${s};
3089
+ font-weight: ${l};
3057
3090
  }
3058
3091
  `.trim());
3059
3092
  }
3060
3093
  return o;
3061
- }, kn = ({
3094
+ }, En = ({
3062
3095
  customFonts: e
3063
3096
  }) => {
3064
3097
  var t;
3065
- return ((t = e == null ? void 0 : e.map((n) => vn(n))) == null ? void 0 : t.join(" ")) || "";
3066
- }, Cn = ({
3098
+ return ((t = e == null ? void 0 : e.map((n) => Tn(n))) == null ? void 0 : t.join(" ")) || "";
3099
+ }, Rn = ({
3067
3100
  cssCode: e,
3068
3101
  contentId: t
3069
- }) => e ? t ? (e == null ? void 0 : e.replace(/&/g, `div[builder-content-id="${t}"]`)) || "" : e : "";
3070
- function wn(e) {
3071
- const [t, n] = x(
3072
- () => `
3073
- ${Cn({
3074
- cssCode: e.cssCode,
3075
- contentId: e.contentId
3076
- })}
3077
- ${kn({
3078
- customFonts: e.customFonts
3079
- })}
3080
-
3102
+ }) => e ? t ? (e == null ? void 0 : e.replace(/&/g, `div[builder-content-id="${t}"]`)) || "" : e : "", Pn = `
3081
3103
  .builder-button {
3082
3104
  all: unset;
3083
3105
  }
@@ -3094,19 +3116,31 @@ ${kn({
3094
3116
  text-align: inherit;
3095
3117
  font-family: inherit;
3096
3118
  }
3119
+ `, Vn = (e) => e ? "" : Pn;
3120
+ function Bn(e) {
3121
+ const [t, n] = S(
3122
+ () => `
3123
+ ${Rn({
3124
+ cssCode: e.cssCode,
3125
+ contentId: e.contentId
3126
+ })}
3127
+ ${En({
3128
+ customFonts: e.customFonts
3129
+ })}
3130
+ ${Vn(e.isNestedRender)}
3097
3131
  `.trim()
3098
3132
  );
3099
- return /* @__PURE__ */ l(te, { styles: t });
3133
+ return /* @__PURE__ */ c(ie, { styles: t });
3100
3134
  }
3101
- const In = ({
3135
+ const An = ({
3102
3136
  content: e,
3103
3137
  data: t,
3104
3138
  locale: n
3105
3139
  }) => {
3106
- var a, r, s;
3140
+ var a, r, l;
3107
3141
  const i = {}, o = ((a = e == null ? void 0 : e.data) == null ? void 0 : a.state) || {};
3108
- return (s = (r = e == null ? void 0 : e.data) == null ? void 0 : r.inputs) == null || s.forEach((c) => {
3109
- c.name && c.defaultValue !== void 0 && (i[c.name] = c.defaultValue);
3142
+ return (l = (r = e == null ? void 0 : e.data) == null ? void 0 : r.inputs) == null || l.forEach((d) => {
3143
+ d.name && d.defaultValue !== void 0 && (i[d.name] = d.defaultValue);
3110
3144
  }), {
3111
3145
  ...i,
3112
3146
  ...o,
@@ -3115,7 +3149,7 @@ const In = ({
3115
3149
  locale: n
3116
3150
  } : {}
3117
3151
  };
3118
- }, Tn = ({
3152
+ }, Wn = ({
3119
3153
  content: e,
3120
3154
  data: t
3121
3155
  }) => e ? {
@@ -3126,46 +3160,46 @@ const In = ({
3126
3160
  },
3127
3161
  meta: e == null ? void 0 : e.meta
3128
3162
  } : void 0;
3129
- function Ce(e) {
3130
- var c, d, u, p, v, f, g;
3131
- const [t, n] = x(
3163
+ function Te(e) {
3164
+ var d, s, u, m, h, b, y;
3165
+ const [t, n] = S(
3132
3166
  () => {
3133
- var y, R;
3134
- return bn({
3167
+ var T, R;
3168
+ return vn({
3135
3169
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
3136
- variationId: (y = e.content) == null ? void 0 : y.testVariationId,
3170
+ variationId: (T = e.content) == null ? void 0 : T.testVariationId,
3137
3171
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
3138
3172
  contentId: (R = e.content) == null ? void 0 : R.id
3139
3173
  });
3140
3174
  }
3141
3175
  );
3142
- function i(y) {
3143
- s((R) => ({
3176
+ function i(T) {
3177
+ l((R) => ({
3144
3178
  ...R,
3145
- rootState: y
3179
+ rootState: T
3146
3180
  }));
3147
3181
  }
3148
- const [o, a] = x(
3182
+ const [o, a] = S(
3149
3183
  () => [
3150
- ...Se(),
3184
+ ...Ce(),
3151
3185
  ...e.customComponents || []
3152
3186
  ].reduce(
3153
- (y, { component: R, ...B }) => ({
3154
- ...y,
3187
+ (T, { component: R, ...B }) => ({
3188
+ ...T,
3155
3189
  [B.name]: {
3156
3190
  component: R,
3157
- ...he(B)
3191
+ ...ye(B)
3158
3192
  }
3159
3193
  }),
3160
3194
  {}
3161
3195
  )
3162
- ), [r, s] = x(() => ({
3163
- content: Tn({
3196
+ ), [r, l] = S(() => ({
3197
+ content: Wn({
3164
3198
  content: e.content,
3165
3199
  data: e.data
3166
3200
  }),
3167
3201
  localState: void 0,
3168
- rootState: In({
3202
+ rootState: An({
3169
3203
  content: e.content,
3170
3204
  data: e.data,
3171
3205
  locale: e.locale
@@ -3175,12 +3209,12 @@ function Ce(e) {
3175
3209
  apiKey: e.apiKey,
3176
3210
  apiVersion: e.apiVersion,
3177
3211
  componentInfos: [
3178
- ...Se(),
3212
+ ...Ce(),
3179
3213
  ...e.customComponents || []
3180
3214
  ].reduce(
3181
- (y, { component: R, ...B }) => ({
3182
- ...y,
3183
- [B.name]: he(B)
3215
+ (T, { component: R, ...B }) => ({
3216
+ ...T,
3217
+ [B.name]: ye(B)
3184
3218
  }),
3185
3219
  {}
3186
3220
  ),
@@ -3188,14 +3222,14 @@ function Ce(e) {
3188
3222
  BlocksWrapper: e.blocksWrapper || "div",
3189
3223
  BlocksWrapperProps: e.blocksWrapperProps || {}
3190
3224
  }));
3191
- return /* @__PURE__ */ l(
3192
- Te.Provider,
3225
+ return /* @__PURE__ */ c(
3226
+ Pe.Provider,
3193
3227
  {
3194
3228
  value: {
3195
3229
  registeredComponents: o
3196
3230
  },
3197
- children: /* @__PURE__ */ N(
3198
- Sn,
3231
+ children: /* @__PURE__ */ F(
3232
+ In,
3199
3233
  {
3200
3234
  content: e.content,
3201
3235
  data: e.data,
@@ -3211,21 +3245,22 @@ function Ce(e) {
3211
3245
  contentWrapperProps: e.contentWrapperProps,
3212
3246
  linkComponent: e.linkComponent,
3213
3247
  trustedHosts: e.trustedHosts,
3214
- setBuilderContextSignal: s,
3248
+ setBuilderContextSignal: l,
3215
3249
  children: [
3216
- e.isSsrAbTest ? /* @__PURE__ */ l(m, { children: /* @__PURE__ */ l(oe, { scriptStr: t }) }) : null,
3217
- /* @__PURE__ */ l(m, { children: /* @__PURE__ */ l(
3218
- wn,
3250
+ e.isSsrAbTest ? /* @__PURE__ */ c(le, { scriptStr: t }) : null,
3251
+ /* @__PURE__ */ c(
3252
+ Bn,
3219
3253
  {
3220
- contentId: (c = r.content) == null ? void 0 : c.id,
3221
- cssCode: (u = (d = r.content) == null ? void 0 : d.data) == null ? void 0 : u.cssCode,
3222
- customFonts: (v = (p = r.content) == null ? void 0 : p.data) == null ? void 0 : v.customFonts
3254
+ isNestedRender: e.isNestedRender,
3255
+ contentId: (d = r.content) == null ? void 0 : d.id,
3256
+ cssCode: (u = (s = r.content) == null ? void 0 : s.data) == null ? void 0 : u.cssCode,
3257
+ customFonts: (h = (m = r.content) == null ? void 0 : m.data) == null ? void 0 : h.customFonts
3223
3258
  }
3224
- ) }),
3225
- /* @__PURE__ */ l(
3226
- U,
3259
+ ),
3260
+ /* @__PURE__ */ c(
3261
+ K,
3227
3262
  {
3228
- blocks: (g = (f = r.content) == null ? void 0 : f.data) == null ? void 0 : g.blocks,
3263
+ blocks: (y = (b = r.content) == null ? void 0 : b.data) == null ? void 0 : y.blocks,
3229
3264
  context: r,
3230
3265
  registeredComponents: o,
3231
3266
  linkComponent: e.linkComponent
@@ -3237,53 +3272,54 @@ function Ce(e) {
3237
3272
  }
3238
3273
  );
3239
3274
  }
3240
- function En(e) {
3241
- var r, s;
3242
- const [t, n] = x(
3243
- () => mn({
3244
- canTrack: X(e.canTrack),
3275
+ function Nn(e) {
3276
+ var r, l;
3277
+ const [t, n] = S(
3278
+ () => yn({
3279
+ canTrack: ee(e.canTrack),
3245
3280
  content: e.content
3246
3281
  })
3247
3282
  );
3248
3283
  function i() {
3249
- var c;
3250
- return gn(
3251
- G(e.content).map((d) => ({
3252
- id: d.testVariationId,
3253
- testRatio: d.testRatio
3284
+ var d;
3285
+ return xn(
3286
+ X(e.content).map((s) => ({
3287
+ id: s.testVariationId,
3288
+ testRatio: s.testRatio
3254
3289
  })),
3255
- ((c = e.content) == null ? void 0 : c.id) || ""
3290
+ ((d = e.content) == null ? void 0 : d.id) || ""
3256
3291
  );
3257
3292
  }
3258
3293
  function o() {
3259
- return G(e.content).map((c) => `.variant-${c.testVariationId} { display: none; } `).join("");
3294
+ return X(e.content).map((d) => `.variant-${d.testVariationId} { display: none; } `).join("");
3260
3295
  }
3261
3296
  function a() {
3262
- var c;
3297
+ var d;
3263
3298
  return t ? {
3264
3299
  ...e.content,
3265
- testVariationId: (c = e.content) == null ? void 0 : c.id
3266
- } : Ke({
3300
+ testVariationId: (d = e.content) == null ? void 0 : d.id
3301
+ } : Ge({
3267
3302
  item: e.content,
3268
- canTrack: X(e.canTrack)
3303
+ canTrack: ee(e.canTrack)
3269
3304
  });
3270
3305
  }
3271
- return W(() => {
3272
- }, []), /* @__PURE__ */ N(m, { children: [
3273
- !e.__isNestedRender && z !== "reactNative" ? /* @__PURE__ */ l(m, { children: /* @__PURE__ */ l(oe, { scriptStr: hn() }) }) : null,
3274
- t ? /* @__PURE__ */ N(m, { children: [
3275
- /* @__PURE__ */ l(
3276
- te,
3306
+ return A(() => {
3307
+ }, []), /* @__PURE__ */ F(E, { children: [
3308
+ !e.isNestedRender && Y !== "reactNative" ? /* @__PURE__ */ c(le, { scriptStr: Sn() }) : null,
3309
+ t ? /* @__PURE__ */ F(E, { children: [
3310
+ /* @__PURE__ */ c(
3311
+ ie,
3277
3312
  {
3278
3313
  id: `variants-styles-${(r = e.content) == null ? void 0 : r.id}`,
3279
3314
  styles: o()
3280
3315
  }
3281
3316
  ),
3282
- /* @__PURE__ */ l(oe, { scriptStr: i() }),
3283
- (s = G(e.content)) == null ? void 0 : s.map((c) => /* @__PURE__ */ l(
3284
- Ce,
3317
+ /* @__PURE__ */ c(le, { scriptStr: i() }),
3318
+ (l = X(e.content)) == null ? void 0 : l.map((d) => /* @__PURE__ */ c(
3319
+ Te,
3285
3320
  {
3286
- content: c,
3321
+ isNestedRender: e.isNestedRender,
3322
+ content: d,
3287
3323
  showContent: !1,
3288
3324
  model: e.model,
3289
3325
  data: e.data,
@@ -3302,12 +3338,13 @@ function En(e) {
3302
3338
  contentWrapperProps: e.contentWrapperProps,
3303
3339
  trustedHosts: e.trustedHosts
3304
3340
  },
3305
- c.testVariationId
3341
+ d.testVariationId
3306
3342
  ))
3307
3343
  ] }) : null,
3308
- /* @__PURE__ */ l(
3309
- Ce,
3344
+ /* @__PURE__ */ c(
3345
+ Te,
3310
3346
  {
3347
+ isNestedRender: e.isNestedRender,
3311
3348
  content: a(),
3312
3349
  showContent: !0,
3313
3350
  model: e.model,
@@ -3330,13 +3367,13 @@ function En(e) {
3330
3367
  )
3331
3368
  ] });
3332
3369
  }
3333
- const Rn = async ({
3370
+ const Fn = async ({
3334
3371
  builderContextValue: e,
3335
3372
  symbol: t
3336
3373
  }) => {
3337
3374
  if (t != null && t.model && // This is a hack, we should not need to check for this, but it is needed for Svelte.
3338
3375
  (e != null && e.apiKey))
3339
- return we({
3376
+ return Ee({
3340
3377
  model: t.model,
3341
3378
  apiKey: e.apiKey,
3342
3379
  apiVersion: e.apiVersion,
@@ -3346,39 +3383,39 @@ const Rn = async ({
3346
3383
  }
3347
3384
  }
3348
3385
  }).catch((n) => {
3349
- _.error("Could not fetch symbol content: ", n);
3386
+ z.error("Could not fetch symbol content: ", n);
3350
3387
  });
3351
3388
  };
3352
- function Pn(e) {
3353
- var a, r, s, c;
3389
+ function $n(e) {
3390
+ var a, r, l, d;
3354
3391
  function t() {
3355
- var d, u;
3392
+ var s, u;
3356
3393
  return [
3357
- e.attributes[K()],
3394
+ e.attributes[_()],
3358
3395
  "builder-symbol",
3359
- (d = e.symbol) != null && d.inline ? "builder-inline-symbol" : void 0,
3396
+ (s = e.symbol) != null && s.inline ? "builder-inline-symbol" : void 0,
3360
3397
  (u = e.symbol) != null && u.dynamic || e.dynamic ? "builder-dynamic-symbol" : void 0
3361
3398
  ].filter(Boolean).join(" ");
3362
3399
  }
3363
- const [n, i] = x(() => {
3364
- var d;
3365
- return (d = e.symbol) == null ? void 0 : d.content;
3400
+ const [n, i] = S(() => {
3401
+ var s;
3402
+ return (s = e.symbol) == null ? void 0 : s.content;
3366
3403
  });
3367
3404
  function o() {
3368
- n || Rn({
3405
+ n || Fn({
3369
3406
  symbol: e.symbol,
3370
3407
  builderContextValue: e.builderContext
3371
- }).then((d) => {
3372
- d && i(d);
3408
+ }).then((s) => {
3409
+ s && i(s);
3373
3410
  });
3374
3411
  }
3375
- return W(() => {
3376
- }, []), W(() => {
3412
+ return A(() => {
3413
+ }, []), A(() => {
3377
3414
  o();
3378
- }, [e.symbol]), /* @__PURE__ */ l("div", { ...e.attributes, className: t(), children: /* @__PURE__ */ l(
3379
- En,
3415
+ }, [e.symbol]), /* @__PURE__ */ c("div", { ...e.attributes, className: t(), children: /* @__PURE__ */ c(
3416
+ Nn,
3380
3417
  {
3381
- __isNestedRender: !0,
3418
+ isNestedRender: !0,
3382
3419
  apiVersion: e.builderContext.apiVersion,
3383
3420
  apiKey: e.builderContext.apiKey,
3384
3421
  context: {
@@ -3389,9 +3426,9 @@ function Pn(e) {
3389
3426
  data: {
3390
3427
  ...(r = e.symbol) == null ? void 0 : r.data,
3391
3428
  ...e.builderContext.localState,
3392
- ...(s = n == null ? void 0 : n.data) == null ? void 0 : s.state
3429
+ ...(l = n == null ? void 0 : n.data) == null ? void 0 : l.state
3393
3430
  },
3394
- model: (c = e.symbol) == null ? void 0 : c.model,
3431
+ model: (d = e.symbol) == null ? void 0 : d.model,
3395
3432
  content: n,
3396
3433
  linkComponent: e.builderLinkComponent,
3397
3434
  blocksWrapper: "div",
@@ -3400,14 +3437,14 @@ function Pn(e) {
3400
3437
  ) });
3401
3438
  }
3402
3439
  export {
3403
- U as Blocks,
3404
- Je as Button,
3405
- It as Columns,
3406
- En as Content,
3407
- Tt as Fragment,
3408
- Pt as Image,
3409
- Vt as Section,
3410
- Pn as Symbol,
3411
- Ot as Text,
3412
- sn as Video
3440
+ K as Blocks,
3441
+ Ze as Button,
3442
+ Vt as Columns,
3443
+ Nn as Content,
3444
+ Bt as Fragment,
3445
+ Nt as Image,
3446
+ Ft as Section,
3447
+ $n as Symbol,
3448
+ qt as Text,
3449
+ fn as Video
3413
3450
  };