@builder.io/sdk-react 4.0.9 → 4.1.0

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 (82) hide show
  1. package/lib/browser/blocks-exports.cjs +10 -10
  2. package/lib/browser/blocks-exports.mjs +480 -459
  3. package/lib/browser/index.cjs +1 -1
  4. package/lib/browser/index.mjs +1 -1
  5. package/lib/browser/server-entry-9ed7eace.cjs +2 -0
  6. package/lib/{edge/server-entry-8dc3478a.js → browser/server-entry-cddec22e.js} +272 -265
  7. package/lib/browser/server-entry.cjs +1 -1
  8. package/lib/browser/server-entry.mjs +1 -1
  9. package/lib/edge/{accordion-e3f81e74.cjs → accordion-59aed902.cjs} +1 -1
  10. package/lib/edge/{accordion-b551e135.js → accordion-88f5ca79.js} +1 -1
  11. package/lib/edge/{blocks-cd1feef2.js → blocks-1bfa0619.js} +2 -2
  12. package/lib/edge/{blocks-eb6fa21f.cjs → blocks-e5610e53.cjs} +1 -1
  13. package/lib/edge/blocks-exports.cjs +1 -1
  14. package/lib/edge/blocks-exports.mjs +2 -2
  15. package/lib/edge/{button-f390f723.js → button-cfcad5ee.js} +2 -2
  16. package/lib/edge/{button-5c6a9392.cjs → button-d4969c10.cjs} +1 -1
  17. package/lib/edge/{columns-ad17139e.cjs → columns-4c22f5f9.cjs} +1 -1
  18. package/lib/edge/{columns-7018a027.js → columns-840b77f4.js} +3 -3
  19. package/lib/edge/{content-variants-dc54ce4f.js → content-variants-5b95a71c.js} +13 -13
  20. package/lib/edge/{content-variants-c72ca81f.cjs → content-variants-9084d7cf.cjs} +3 -3
  21. package/lib/edge/{custom-code-0daf1c91.js → custom-code-c12691cc.js} +1 -1
  22. package/lib/edge/{custom-code-e87af7b1.cjs → custom-code-f0f3bef1.cjs} +1 -1
  23. package/lib/edge/{embed-1dfcba43.js → embed-46acac57.js} +1 -1
  24. package/lib/edge/{embed-c695c98e.cjs → embed-95c874d3.cjs} +1 -1
  25. package/lib/edge/form-49928227.js +178 -0
  26. package/lib/edge/form-e74d90ef.cjs +1 -0
  27. package/lib/edge/{get-class-prop-name-c479656a.cjs → get-class-prop-name-5d642918.cjs} +1 -1
  28. package/lib/edge/{get-class-prop-name-5edacc3b.js → get-class-prop-name-de337a1b.js} +1 -1
  29. package/lib/edge/image-209835f4.js +94 -0
  30. package/lib/edge/image-87a4e006.cjs +17 -0
  31. package/lib/edge/image.helpers-3e926d47.js +33 -0
  32. package/lib/edge/image.helpers-dba8a869.cjs +1 -0
  33. package/lib/edge/img-0fe56811.cjs +1 -0
  34. package/lib/edge/img-a0115c68.js +27 -0
  35. package/lib/edge/index.cjs +1 -1
  36. package/lib/edge/index.mjs +1 -1
  37. package/lib/edge/{input-3d4f956b.js → input-2a39a1a8.js} +1 -1
  38. package/lib/edge/{input-8c7008b5.cjs → input-4f2e451f.cjs} +1 -1
  39. package/lib/edge/personalization-container-9ddd7a55.cjs +1 -0
  40. package/lib/edge/{personalization-container-3a8dc18a.js → personalization-container-d477347e.js} +35 -32
  41. package/lib/edge/{select-2efc7503.cjs → select-b5449eba.cjs} +1 -1
  42. package/lib/edge/{select-153586f8.js → select-d1902b94.js} +1 -1
  43. package/lib/{node/server-entry-f03c1146.js → edge/server-entry-50618347.js} +306 -303
  44. package/lib/edge/server-entry-a24928b8.cjs +2 -0
  45. package/lib/edge/server-entry.cjs +1 -1
  46. package/lib/edge/server-entry.mjs +1 -1
  47. package/lib/edge/{slot-f1f7513c.cjs → slot-e2f8c494.cjs} +1 -1
  48. package/lib/edge/{slot-d268693c.js → slot-f37576fc.js} +3 -3
  49. package/lib/edge/{symbol-0344516c.cjs → symbol-8424cd54.cjs} +1 -1
  50. package/lib/edge/{symbol-378e19ee.js → symbol-a34eea2a.js} +2 -2
  51. package/lib/edge/{tabs-29ff78a0.js → tabs-b97f9798.js} +3 -3
  52. package/lib/edge/{tabs-4e931765.cjs → tabs-e686d11f.cjs} +1 -1
  53. package/lib/node/blocks-exports.cjs +16 -16
  54. package/lib/node/blocks-exports.mjs +502 -481
  55. package/lib/node/index.cjs +1 -1
  56. package/lib/node/index.mjs +3 -3
  57. package/lib/node/init.cjs +1 -1
  58. package/lib/node/init.mjs +3 -3
  59. package/lib/{browser/server-entry-231f8ecd.js → node/server-entry-1556528d.js} +205 -199
  60. package/lib/node/server-entry-ecee24b6.cjs +2 -0
  61. package/lib/node/server-entry.cjs +1 -1
  62. package/lib/node/server-entry.mjs +1 -1
  63. package/lib/node/{setIvm-044ce9e7.js → setIvm-15c96eda.js} +1 -1
  64. package/lib/node/{setIvm-3761bb10.cjs → setIvm-432010ba.cjs} +1 -1
  65. package/lib/node/setIvm.cjs +1 -1
  66. package/lib/node/setIvm.mjs +2 -2
  67. package/lib/node/{should-force-browser-runtime-in-node-e760d4f2.cjs → should-force-browser-runtime-in-node-4128d124.cjs} +1 -1
  68. package/lib/node/{should-force-browser-runtime-in-node-f620dcdc.js → should-force-browser-runtime-in-node-d0bca779.js} +1 -1
  69. package/package.json +1 -1
  70. package/types/constants/sdk-version.d.ts +1 -1
  71. package/types/helpers/no-serialize-wrapper.d.ts +1 -0
  72. package/types/helpers/user-attributes.d.ts +6 -2
  73. package/lib/browser/server-entry-bdbd3c0d.cjs +0 -2
  74. package/lib/edge/form-5a0c89d9.js +0 -166
  75. package/lib/edge/form-ba54942c.cjs +0 -1
  76. package/lib/edge/image-cce92f6c.cjs +0 -17
  77. package/lib/edge/image-d87761af.js +0 -123
  78. package/lib/edge/img-6982d6eb.cjs +0 -1
  79. package/lib/edge/img-882c7222.js +0 -20
  80. package/lib/edge/personalization-container-4557a50b.cjs +0 -1
  81. package/lib/edge/server-entry-9d269960.cjs +0 -2
  82. package/lib/node/server-entry-916c726c.cjs +0 -2
@@ -1,15 +1,15 @@
1
1
  "use client";
2
- import { TARGET as D, isEditing as O, isBrowser as M, getUserAttributes as ct, checkIsDefined as ae, logger as J, isPreviewing as le, userAttributesService as Ce, getDefaultCanTrack as Z, logFetch as Oe, registerInsertMenu as ut, setupBrowserForEditing as dt, createRegisterComponentMessage as mt, getCookieSync as ft, _track as Te, fetchOneEntry as Le, createEditorListener as ht, serializeIncludingFunctions as Ie, handleABTestingSync as gt } from "./server-entry-231f8ecd.js";
3
- import { setClientUserAttributes as Mi } from "./server-entry-231f8ecd.js";
2
+ import { TARGET as F, isEditing as L, isBrowser as M, getUserAttributes as ct, checkIsDefined as ae, logger as J, isPreviewing as se, userAttributesService as Ce, getDefaultCanTrack as Z, logFetch as Oe, registerInsertMenu as ut, setupBrowserForEditing as dt, createRegisterComponentMessage as mt, getCookieSync as ft, _track as Te, fetchOneEntry as Le, createEditorListener as ht, serializeIncludingFunctions as Ie, handleABTestingSync as gt } from "./server-entry-cddec22e.js";
3
+ import { setClientUserAttributes as Mi } from "./server-entry-cddec22e.js";
4
4
  import { jsx as s, Fragment as R, jsxs as W } from "react/jsx-runtime";
5
5
  import * as bt from "react";
6
- import { createContext as _e, useEffect as P, useState as C, useRef as H, useContext as we, createElement as Ue } from "react";
6
+ import { createContext as _e, useEffect as V, useState as C, useRef as H, useContext as we, createElement as Ue } from "react";
7
7
  const yt = /* @__PURE__ */ new Set(["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen", "link", "meta", "param", "source", "track", "wbr"]), pt = (e) => typeof e == "string" && yt.has(e.toLowerCase());
8
8
  function ye(e) {
9
9
  return /* @__PURE__ */ s(R, { children: pt(e.TagName) ? /* @__PURE__ */ s(R, { children: /* @__PURE__ */ s(e.TagName, { ...e.attributes, ...e.actionAttributes }) }) : /* @__PURE__ */ s(R, { children: typeof e.TagName == "string" ? /* @__PURE__ */ s(e.TagName, { ...e.attributes, ...e.actionAttributes, children: e.children }) : /* @__PURE__ */ s(e.TagName, { ...e.attributes, ...e.actionAttributes, children: e.children }) }) });
10
10
  }
11
11
  const z = () => {
12
- switch (D) {
12
+ switch (F) {
13
13
  case "react":
14
14
  case "reactNative":
15
15
  case "rsc":
@@ -62,7 +62,7 @@ const pe = _e({
62
62
  nonce: "",
63
63
  model: ""
64
64
  }), He = _e({ registeredComponents: {} }), Me = (e, t, n) => {
65
- const i = String.prototype.split.call(t, /[,[\].]+?/).filter(Boolean).reduce((r, a) => r != null ? r[a] : r, e);
65
+ const i = String.prototype.split.call(t, /[,[\].]+?/).filter(Boolean).reduce((r, o) => r != null ? r[o] : r, e);
66
66
  return i === void 0 || i === e ? n : i;
67
67
  }, xt = ({
68
68
  builder: e,
@@ -77,7 +77,7 @@ const pe = _e({
77
77
  context: t,
78
78
  event: n
79
79
  }), St = () => ({
80
- isEditing: O(),
80
+ isEditing: L(),
81
81
  isBrowser: M(),
82
82
  isServer: !M(),
83
83
  getUserAttributes: () => ct()
@@ -93,19 +93,19 @@ function qe({
93
93
  get: (i, r) => {
94
94
  if (t && r in t)
95
95
  return t[r];
96
- const a = i[r];
97
- return typeof a == "object" && a !== null ? qe({
98
- rootState: a,
96
+ const o = i[r];
97
+ return typeof o == "object" && o !== null ? qe({
98
+ rootState: o,
99
99
  localState: void 0,
100
- rootSetState: n ? (o) => {
101
- i[r] = o, n(i);
100
+ rootSetState: n ? (a) => {
101
+ i[r] = a, n(i);
102
102
  } : void 0
103
- }) : a;
103
+ }) : o;
104
104
  },
105
- set: (i, r, a) => {
105
+ set: (i, r, o) => {
106
106
  if (t && r in t)
107
107
  throw new Error("Writing to local state is not allowed as it is read-only.");
108
- return i[r] = a, n == null || n(i), !0;
108
+ return i[r] = o, n == null || n(i), !0;
109
109
  }
110
110
  });
111
111
  }
@@ -115,17 +115,17 @@ const Ee = ({
115
115
  context: n,
116
116
  event: i,
117
117
  localState: r,
118
- rootSetState: a,
119
- rootState: o
118
+ rootSetState: o,
119
+ rootState: a
120
120
  }) => {
121
121
  const l = xt({
122
122
  builder: t,
123
123
  context: n,
124
124
  event: i,
125
125
  state: qe({
126
- rootState: o,
126
+ rootState: a,
127
127
  localState: r,
128
- rootSetState: a
128
+ rootSetState: o
129
129
  })
130
130
  });
131
131
  return new Function(...l.map(([c]) => c), e)(...l.map(([, c]) => c));
@@ -145,8 +145,8 @@ const Tt = ({
145
145
  }, It = (e) => (M() || Tt({
146
146
  shouldLogWarning: !0
147
147
  }), Ee(e)), wt = /^(return )?(\s*)?state(?<getPath>(\.\w+)+)(\s*);?$/, Et = /(\s)*var(\s)+_virtual_index(\s)*=(\s)*state(?<getPath>(\.\w+)+)(\s*);?(\s)*return(\s)*_virtual_index(\s)*/, Rt = (e) => {
148
- var t, n, i, r, a, o;
149
- return ((i = (n = (t = wt.exec(e.trim())) == null ? void 0 : t.groups) == null ? void 0 : n.getPath) == null ? void 0 : i.slice(1)) || ((o = (a = (r = Et.exec(e.trim())) == null ? void 0 : r.groups) == null ? void 0 : a.getPath) == null ? void 0 : o.slice(1));
148
+ var t, n, i, r, o, a;
149
+ return ((i = (n = (t = wt.exec(e.trim())) == null ? void 0 : t.groups) == null ? void 0 : n.getPath) == null ? void 0 : i.slice(1)) || ((a = (o = (r = Et.exec(e.trim())) == null ? void 0 : r.groups) == null ? void 0 : o.getPath) == null ? void 0 : a.slice(1));
150
150
  };
151
151
  function G({
152
152
  code: e,
@@ -154,8 +154,8 @@ function G({
154
154
  localState: n,
155
155
  rootState: i,
156
156
  rootSetState: r,
157
- event: a,
158
- isExpression: o = !0
157
+ event: o,
158
+ isExpression: a = !0
159
159
  }) {
160
160
  if (e.trim() === "")
161
161
  return;
@@ -167,11 +167,11 @@ function G({
167
167
  }, l);
168
168
  const c = {
169
169
  code: kt(e, {
170
- isExpression: o
170
+ isExpression: a
171
171
  }),
172
172
  builder: St(),
173
173
  context: t,
174
- event: a,
174
+ event: o,
175
175
  rootSetState: r,
176
176
  rootState: i,
177
177
  localState: n
@@ -198,8 +198,8 @@ const Vt = (e, t) => {
198
198
  if (((n = e.component) == null ? void 0 : n.name) === "Text" && ((i = e.component.options) != null && i.text) && typeof e.component.options.text == "string")
199
199
  return {
200
200
  ...e.component.options,
201
- text: e.component.options.text.replace(/{{([^}]+)}}/g, (r, a) => G({
202
- code: a,
201
+ text: e.component.options.text.replace(/{{([^}]+)}}/g, (r, o) => G({
202
+ code: o,
203
203
  context: t,
204
204
  localState: t.localState,
205
205
  rootState: t.rootState,
@@ -213,21 +213,21 @@ function At(e, ...t) {
213
213
  delete n[i];
214
214
  return n;
215
215
  }
216
- function oe(e, t, n = null, i = null, r = /* @__PURE__ */ new WeakSet()) {
216
+ function le(e, t, n = null, i = null, r = /* @__PURE__ */ new WeakSet()) {
217
217
  if (e == null || typeof e != "object") {
218
- t(e, (a) => {
219
- n !== null && i !== null && (n[i] = a);
218
+ t(e, (o) => {
219
+ n !== null && i !== null && (n[i] = o);
220
220
  });
221
221
  return;
222
222
  }
223
- r.has(e) || (r.add(e), Array.isArray(e) ? e.forEach((a, o) => {
224
- t(a, (c) => {
225
- e[o] = c;
226
- }), oe(a, t, e, o, r);
227
- }) : Object.entries(e).forEach(([a, o]) => {
223
+ r.has(e) || (r.add(e), Array.isArray(e) ? e.forEach((o, a) => {
228
224
  t(o, (c) => {
229
225
  e[a] = c;
230
- }), oe(o, t, e, a, r);
226
+ }), le(o, t, e, a, r);
227
+ }) : Object.entries(e).forEach(([o, a]) => {
228
+ t(a, (c) => {
229
+ e[o] = c;
230
+ }), le(a, t, e, o, r);
231
231
  }));
232
232
  }
233
233
  function je(e) {
@@ -237,7 +237,7 @@ function Bt(e) {
237
237
  if (!e || !Object.getOwnPropertyNames(e).length)
238
238
  return !1;
239
239
  let t = !1;
240
- return oe(e, (n) => {
240
+ return le(e, (n) => {
241
241
  if (je(n)) {
242
242
  t = !0;
243
243
  return;
@@ -245,7 +245,7 @@ function Bt(e) {
245
245
  }), t;
246
246
  }
247
247
  function Nt(e, t) {
248
- return !e || !Object.getOwnPropertyNames(e).length ? {} : (oe(e, (n, i) => {
248
+ return !e || !Object.getOwnPropertyNames(e).length ? {} : (le(e, (n, i) => {
249
249
  var r;
250
250
  je(n) && i((r = n[t]) != null ? r : void 0);
251
251
  }), e);
@@ -258,7 +258,7 @@ const ve = (e) => JSON.parse(JSON.stringify(e)), ze = (e, t, n) => {
258
258
  if (Object(e) !== e)
259
259
  return e;
260
260
  const i = Array.isArray(t) ? t : t.toString().match(/[^.[\]]+/g);
261
- return i.slice(0, -1).reduce((r, a, o) => Object(r[a]) === r[a] ? r[a] : r[a] = Math.abs(Number(i[o + 1])) >> 0 === +i[o + 1] ? [] : {}, e)[i[i.length - 1]] = n, e;
261
+ return i.slice(0, -1).reduce((r, o, a) => Object(r[o]) === r[o] ? r[o] : r[o] = Math.abs(Number(i[a + 1])) >> 0 === +i[a + 1] ? [] : {}, e)[i[i.length - 1]] = n, e;
262
262
  };
263
263
  function be(e) {
264
264
  if (e === null || typeof e != "object")
@@ -272,7 +272,7 @@ function be(e) {
272
272
  n !== "meta" && Object.prototype.hasOwnProperty.call(e, n) && (t[n] = be(e[n]));
273
273
  return t;
274
274
  }
275
- const $t = ["svelte", "vue", "angular", "qwik", "solid"].includes(D), Dt = (e) => {
275
+ const $t = ["svelte", "vue", "angular", "qwik", "solid"].includes(F), Dt = (e) => {
276
276
  if ($t) {
277
277
  const t = ve(e);
278
278
  return {
@@ -307,18 +307,18 @@ const $t = ["svelte", "vue", "angular", "qwik", "solid"].includes(D), Dt = (e) =
307
307
  }) => {
308
308
  if (!e.bindings)
309
309
  return e;
310
- const a = Dt(e);
311
- for (const o in e.bindings) {
312
- const l = e.bindings[o], c = G({
310
+ const o = Dt(e);
311
+ for (const a in e.bindings) {
312
+ const l = e.bindings[a], c = G({
313
313
  code: l,
314
314
  localState: n,
315
315
  rootState: i,
316
316
  rootSetState: r,
317
317
  context: t
318
318
  });
319
- ze(a, o, c);
319
+ ze(o, a, c);
320
320
  }
321
- return a;
321
+ return o;
322
322
  };
323
323
  function Ot({
324
324
  block: e,
@@ -327,26 +327,26 @@ function Ot({
327
327
  rootState: i,
328
328
  rootSetState: r
329
329
  }) {
330
- let a = Wt(e, i.locale);
331
- return a = a, Ft({
332
- block: a,
330
+ let o = Wt(e, i.locale);
331
+ return o = o, Ft({
332
+ block: o,
333
333
  localState: n,
334
334
  rootState: i,
335
335
  rootSetState: r,
336
336
  context: t
337
337
  });
338
338
  }
339
- const se = (e) => e ? e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase() : "";
339
+ const ce = (e) => e ? e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase() : "";
340
340
  function Lt(e, t, n = {}) {
341
- let i, r, a, o = null, l = 0;
341
+ let i, r, o, a = null, l = 0;
342
342
  const c = function() {
343
- l = n.leading === !1 ? 0 : Date.now(), o = null, a = e.apply(i, r), o || (i = r = null);
343
+ l = n.leading === !1 ? 0 : Date.now(), a = null, o = e.apply(i, r), a || (i = r = null);
344
344
  };
345
345
  return function() {
346
346
  const u = Date.now();
347
347
  !l && n.leading === !1 && (l = u);
348
348
  const f = t - (u - l);
349
- return i = this, r = arguments, f <= 0 || f > t ? (o && (clearTimeout(o), o = null), l = u, a = e.apply(i, r), o || (i = r = null)) : !o && n.trailing !== !1 && (o = setTimeout(c, f)), a;
349
+ return i = this, r = arguments, f <= 0 || f > t ? (a && (clearTimeout(a), a = null), l = u, o = e.apply(i, r), a || (i = r = null)) : !a && n.trailing !== !1 && (a = setTimeout(c, f)), o;
350
350
  };
351
351
  }
352
352
  function X(e, ...t) {
@@ -354,8 +354,8 @@ function X(e, ...t) {
354
354
  for (let i = 1; i < arguments.length; i++) {
355
355
  const r = arguments[i];
356
356
  if (r != null)
357
- for (const a in r)
358
- Object.prototype.hasOwnProperty.call(r, a) && (n[a] = r[a]);
357
+ for (const o in r)
358
+ Object.prototype.hasOwnProperty.call(r, o) && (n[o] = r[o]);
359
359
  }
360
360
  return n;
361
361
  }
@@ -374,8 +374,8 @@ function Ke(e) {
374
374
  console.warn(`Cannot animate element: element with ID ${e} not found!`);
375
375
  }
376
376
  function Je(e, t) {
377
- const n = Ut(e), i = getComputedStyle(t), r = e.steps[0].styles, a = e.steps[e.steps.length - 1].styles, o = [r, a];
378
- for (const l of o)
377
+ const n = Ut(e), i = getComputedStyle(t), r = e.steps[0].styles, o = e.steps[e.steps.length - 1].styles, a = [r, o];
378
+ for (const l of a)
379
379
  for (const c of n)
380
380
  c in l || (l[c] = i[c]);
381
381
  }
@@ -394,7 +394,7 @@ function Ge(e) {
394
394
  }
395
395
  Array.from(t).forEach((n) => {
396
396
  Je(e, n), n.style.transition = "none", n.style.transitionDelay = "0", X(n.style, e.steps[0].styles), setTimeout(() => {
397
- n.style.transition = `all ${e.duration}s ${se(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s"), X(n.style, e.steps[1].styles), setTimeout(() => {
397
+ n.style.transition = `all ${e.duration}s ${ce(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s"), X(n.style, e.steps[1].styles), setTimeout(() => {
398
398
  n.style.transition = "", n.style.transitionDelay = "";
399
399
  }, (e.delay || 0) * 1e3 + e.duration * 1e3 + 100);
400
400
  });
@@ -409,35 +409,35 @@ function Ht(e) {
409
409
  Array.from(t).forEach((n) => {
410
410
  Je(e, n);
411
411
  let i = !1, r = !1;
412
- function a() {
412
+ function o() {
413
413
  !i && l(n) ? (i = !0, r = !0, setTimeout(() => {
414
- X(n.style, e.steps[1].styles), e.repeat || document.removeEventListener("scroll", o), setTimeout(() => {
414
+ X(n.style, e.steps[1].styles), e.repeat || document.removeEventListener("scroll", a), setTimeout(() => {
415
415
  r = !1, e.repeat || (n.style.transition = "", n.style.transitionDelay = "");
416
416
  }, (e.duration + (e.delay || 0)) * 1e3 + 100);
417
417
  })) : e.repeat && i && !r && !l(n) && (i = !1, X(n.style, e.steps[0].styles));
418
418
  }
419
- const o = Lt(a, 200, {
419
+ const a = Lt(o, 200, {
420
420
  leading: !1
421
421
  });
422
422
  function l(f) {
423
- const g = f.getBoundingClientRect(), m = window.innerHeight, d = (e.thresholdPercent || 0) / 100 * m;
424
- return g.bottom > d && g.top < m - d;
423
+ const b = f.getBoundingClientRect(), m = window.innerHeight, d = (e.thresholdPercent || 0) / 100 * m;
424
+ return b.bottom > d && b.top < m - d;
425
425
  }
426
426
  const c = e.steps[0].styles;
427
427
  function u() {
428
428
  X(n.style, c);
429
429
  }
430
430
  u(), setTimeout(() => {
431
- n.style.transition = `all ${e.duration}s ${se(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s");
432
- }), document.addEventListener("scroll", o, {
431
+ n.style.transition = `all ${e.duration}s ${ce(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s");
432
+ }), document.addEventListener("scroll", a, {
433
433
  capture: !0,
434
434
  passive: !0
435
- }), a();
435
+ }), o();
436
436
  });
437
437
  }
438
438
  const Qe = (e) => Object.entries(e).map(([n, i]) => {
439
439
  if (typeof i == "string")
440
- return `${se(n)}: ${i};`;
440
+ return `${ce(n)}: ${i};`;
441
441
  }).filter(ae), Mt = (e) => Qe(e).join(`
442
442
  `), Y = ({
443
443
  mediaQuery: e,
@@ -465,7 +465,7 @@ const jt = ({
465
465
  block: e
466
466
  }));
467
467
  function Ye(e) {
468
- switch (D) {
468
+ switch (F) {
469
469
  case "svelte":
470
470
  case "vue":
471
471
  case "solid":
@@ -483,8 +483,8 @@ const Xe = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
483
483
  registeredComponents: t,
484
484
  model: n
485
485
  }) => {
486
- var a;
487
- const i = (a = e.component) == null ? void 0 : a.name;
486
+ var o;
487
+ const i = (o = e.component) == null ? void 0 : o.name;
488
488
  if (!i)
489
489
  return null;
490
490
  const r = t[i];
@@ -514,7 +514,7 @@ const Xe = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
514
514
  });
515
515
  if (!Array.isArray(r))
516
516
  return;
517
- const a = n.collection.split(".").pop(), o = n.itemName || (a ? a + "Item" : "item");
517
+ const o = n.collection.split(".").pop(), a = n.itemName || (o ? o + "Item" : "item");
518
518
  return r.map((c, u) => ({
519
519
  context: {
520
520
  ...t,
@@ -522,8 +522,8 @@ const Xe = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
522
522
  ...t.localState,
523
523
  $index: u,
524
524
  $item: c,
525
- [o]: c,
526
- [`$${o}Index`]: u
525
+ [a]: c,
526
+ [`$${a}Index`]: u
527
527
  }
528
528
  },
529
529
  block: i
@@ -536,7 +536,7 @@ const Xe = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
536
536
  }, Gt = (e, t, n) => {
537
537
  var i;
538
538
  return (i = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && i.builderComponents ? {
539
- builderComponents: Object.fromEntries(Object.entries(t).filter(([a, o]) => !Xe(o, n)))
539
+ builderComponents: Object.fromEntries(Object.entries(t).filter(([o, a]) => !Xe(a, n)))
540
540
  } : {};
541
541
  }, Qt = (e, t) => {
542
542
  var n;
@@ -569,7 +569,7 @@ const Xe = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
569
569
  default: 991,
570
570
  max: 1200
571
571
  }
572
- }, ue = (e, t = Ze) => `@media (max-width: ${t[e].max}px)`, et = (e) => {
572
+ }, de = (e, t = Ze) => `@media (max-width: ${t[e].max}px)`, et = (e) => {
573
573
  const t = ve(Ze);
574
574
  if (!e)
575
575
  return t;
@@ -588,17 +588,17 @@ const Xe = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
588
588
  }
589
589
  if (!i || !r)
590
590
  return t;
591
- const a = n ? t.xsmall.max + 1 : Math.floor(i / 2);
591
+ const o = n ? t.xsmall.max + 1 : Math.floor(i / 2);
592
592
  t.small = {
593
593
  max: i,
594
- min: a,
595
- default: a + 1
594
+ min: o,
595
+ default: o + 1
596
596
  };
597
- const o = t.small.max + 1;
597
+ const a = t.small.max + 1;
598
598
  t.medium = {
599
599
  max: r,
600
- min: o,
601
- default: o + 1
600
+ min: a,
601
+ default: a + 1
602
602
  };
603
603
  const l = t.medium.max + 1;
604
604
  return t.large = {
@@ -624,10 +624,10 @@ function Xt(e) {
624
624
  return ae(i.hide) ? !i.hide : ae(i.show) ? i.show : !0;
625
625
  }
626
626
  function n() {
627
- var k, V, T, I, b;
628
- const i = e.block, r = i.responsiveStyles, a = e.context.content, o = et(
629
- ((k = a == null ? void 0 : a.meta) == null ? void 0 : k.breakpoints) || {}
630
- ), l = !!((T = (V = a == null ? void 0 : a.meta) == null ? void 0 : V.breakpoints) != null && T.xsmall), c = r == null ? void 0 : r.large, u = r == null ? void 0 : r.medium, f = r == null ? void 0 : r.small, g = r == null ? void 0 : r.xsmall, m = i.id;
627
+ var k, A, T, I, g;
628
+ const i = e.block, r = i.responsiveStyles, o = e.context.content, a = et(
629
+ ((k = o == null ? void 0 : o.meta) == null ? void 0 : k.breakpoints) || {}
630
+ ), l = !!((T = (A = o == null ? void 0 : o.meta) == null ? void 0 : A.breakpoints) != null && T.xsmall), c = r == null ? void 0 : r.large, u = r == null ? void 0 : r.medium, f = r == null ? void 0 : r.small, b = r == null ? void 0 : r.xsmall, m = i.id;
631
631
  if (!m)
632
632
  return "";
633
633
  const v = c ? Y({
@@ -636,33 +636,33 @@ function Xt(e) {
636
636
  }) : "", d = u ? Y({
637
637
  className: m,
638
638
  styles: u,
639
- mediaQuery: ue(
639
+ mediaQuery: de(
640
640
  "medium",
641
- o
641
+ a
642
642
  )
643
643
  }) : "", h = f ? Y({
644
644
  className: m,
645
645
  styles: f,
646
- mediaQuery: ue(
646
+ mediaQuery: de(
647
647
  "small",
648
- o
648
+ a
649
649
  )
650
- }) : "", p = g && l ? Y({
650
+ }) : "", p = b && l ? Y({
651
651
  className: m,
652
- styles: g,
653
- mediaQuery: ue(
652
+ styles: b,
653
+ mediaQuery: de(
654
654
  "xsmall",
655
- o
655
+ a
656
656
  )
657
- }) : "", y = i.animations && i.animations.find((S) => S.trigger === "hover");
658
- let x = "";
657
+ }) : "", y = i.animations && i.animations.find((x) => x.trigger === "hover");
658
+ let S = "";
659
659
  if (y) {
660
- const S = ((b = (I = y.steps) == null ? void 0 : I[1]) == null ? void 0 : b.styles) || {};
661
- x = Y({
660
+ const x = ((g = (I = y.steps) == null ? void 0 : I[1]) == null ? void 0 : g.styles) || {};
661
+ S = Y({
662
662
  className: `${m}:hover`,
663
663
  styles: {
664
- ...S,
665
- transition: `all ${y.duration}s ${se(
664
+ ...x,
665
+ transition: `all ${y.duration}s ${ce(
666
666
  y.easing
667
667
  )}`,
668
668
  transitionDelay: y.delay ? `${y.delay}s` : "0s"
@@ -674,7 +674,7 @@ function Xt(e) {
674
674
  d,
675
675
  h,
676
676
  p,
677
- x
677
+ S
678
678
  ].join(" ");
679
679
  }
680
680
  return /* @__PURE__ */ s(R, { children: n() && t() ? /* @__PURE__ */ s(R, { children: /* @__PURE__ */ s(
@@ -704,18 +704,18 @@ function tt(e) {
704
704
  for (const r in n) {
705
705
  if (!n.hasOwnProperty(r))
706
706
  continue;
707
- const a = n[r];
708
- let o = en(r);
707
+ const o = n[r];
708
+ let a = en(r);
709
709
  if (e.stripPrefix)
710
- switch (D) {
710
+ switch (F) {
711
711
  case "vue":
712
- o = o.replace("v-on:", "");
712
+ a = a.replace("v-on:", "");
713
713
  break;
714
714
  case "svelte":
715
- o = o.replace("on:", "");
715
+ a = a.replace("on:", "");
716
716
  break;
717
717
  }
718
- t[o] = tn(a, e);
718
+ t[a] = tn(o, e);
719
719
  }
720
720
  return t;
721
721
  }
@@ -748,7 +748,7 @@ function xe({
748
748
  block: e
749
749
  });
750
750
  }
751
- function an(e) {
751
+ function on(e) {
752
752
  return /* @__PURE__ */ s(
753
753
  ye,
754
754
  {
@@ -769,8 +769,8 @@ function an(e) {
769
769
  }
770
770
  );
771
771
  }
772
- function on(e) {
773
- return P(() => {
772
+ function an(e) {
773
+ return V(() => {
774
774
  }, []), /* @__PURE__ */ s(R, { children: e.children });
775
775
  }
776
776
  function ln(e) {
@@ -794,9 +794,9 @@ function ln(e) {
794
794
  function n() {
795
795
  return e.wrapperProps;
796
796
  }
797
- return P(() => {
797
+ return V(() => {
798
798
  }, [e.wrapperProps, (r = (i = e.block) == null ? void 0 : i.component) == null ? void 0 : r.options]), /* @__PURE__ */ s(R, { children: e.Wrapper.load ? /* @__PURE__ */ s(R, { children: /* @__PURE__ */ s(
799
- on,
799
+ an,
800
800
  {
801
801
  load: e.Wrapper.load,
802
802
  fallback: e.Wrapper.fallback,
@@ -812,8 +812,8 @@ const sn = ({
812
812
  context: n,
813
813
  componentRef: i,
814
814
  includeBlockProps: r,
815
- isInteractive: a,
816
- contextValue: o
815
+ isInteractive: o,
816
+ contextValue: a
817
817
  }) => {
818
818
  const l = {
819
819
  ...e,
@@ -824,11 +824,11 @@ const sn = ({
824
824
  ...r ? {
825
825
  attributes: xe({
826
826
  block: t,
827
- context: o
827
+ context: a
828
828
  })
829
829
  } : {}
830
830
  };
831
- return a ? {
831
+ return o ? {
832
832
  Wrapper: i,
833
833
  block: t,
834
834
  context: n,
@@ -842,7 +842,7 @@ function Pe(e) {
842
842
  const [t, n] = C(
843
843
  () => e.isInteractive ? ln : e.componentRef
844
844
  );
845
- return P(() => {
845
+ return V(() => {
846
846
  }, [e.componentOptions, e.blockChildren]), /* @__PURE__ */ s(R, { children: e.componentRef ? /* @__PURE__ */ s(R, { children: /* @__PURE__ */ s(
847
847
  t,
848
848
  {
@@ -857,7 +857,7 @@ function Pe(e) {
857
857
  contextValue: e.context
858
858
  }),
859
859
  children: (i = e.blockChildren) == null ? void 0 : i.map((r) => /* @__PURE__ */ s(
860
- ce,
860
+ ue,
861
861
  {
862
862
  block: r,
863
863
  context: e.context,
@@ -871,10 +871,10 @@ function Pe(e) {
871
871
  }
872
872
  function Ve(e) {
873
873
  const [t, n] = C(() => e.repeatContext);
874
- return P(() => {
874
+ return V(() => {
875
875
  n(e.repeatContext);
876
876
  }, [e.repeatContext]), /* @__PURE__ */ s(pe.Provider, { value: t, children: /* @__PURE__ */ s(
877
- ce,
877
+ ue,
878
878
  {
879
879
  block: e.block,
880
880
  context: t,
@@ -883,8 +883,8 @@ function Ve(e) {
883
883
  }
884
884
  ) });
885
885
  }
886
- function ce(e) {
887
- var f, g, m, v;
886
+ function ue(e) {
887
+ var f, b, m, v;
888
888
  function t() {
889
889
  return Kt({
890
890
  block: e.block,
@@ -897,7 +897,7 @@ function ce(e) {
897
897
  }));
898
898
  function r() {
899
899
  var h;
900
- if (n.value && !n.update && !le())
900
+ if (n.value && !n.update && !se())
901
901
  return n.value;
902
902
  const d = (h = e.block.repeat) != null && h.collection ? e.block : Ot({
903
903
  block: e.block,
@@ -908,14 +908,14 @@ function ce(e) {
908
908
  });
909
909
  return n.value = d, n.update = !1, d;
910
910
  }
911
- function a() {
911
+ function o() {
912
912
  return zt({
913
913
  block: r(),
914
914
  registeredComponents: e.registeredComponents,
915
915
  model: e.context.model
916
916
  });
917
917
  }
918
- function o() {
918
+ function a() {
919
919
  var h;
920
920
  return e.block.tagName === "a" || ((h = r().properties) == null ? void 0 : h.href) || r().href ? e.linkComponent || "a" : e.block.tagName || "div";
921
921
  }
@@ -928,20 +928,20 @@ function ce(e) {
928
928
  }
929
929
  function c() {
930
930
  var h, p;
931
- return !((h = a == null ? void 0 : a()) != null && h.component) && !t() ? (p = r().children) != null ? p : [] : [];
931
+ return !((h = o == null ? void 0 : o()) != null && h.component) && !t() ? (p = r().children) != null ? p : [] : [];
932
932
  }
933
933
  function u() {
934
934
  var d, h, p, y;
935
935
  return {
936
936
  blockChildren: (d = r().children) != null ? d : [],
937
- componentRef: (h = a == null ? void 0 : a()) == null ? void 0 : h.component,
937
+ componentRef: (h = o == null ? void 0 : o()) == null ? void 0 : h.component,
938
938
  componentOptions: {
939
939
  ...Pt(r(), e.context),
940
- ...Qt(a(), r()),
941
- ...Yt(a(), e.context),
942
- ...Jt(a(), e.linkComponent),
940
+ ...Qt(o(), r()),
941
+ ...Yt(o(), e.context),
942
+ ...Jt(o(), e.linkComponent),
943
943
  ...Gt(
944
- a(),
944
+ o(),
945
945
  e.registeredComponents,
946
946
  e.context.model
947
947
  )
@@ -950,11 +950,11 @@ function ce(e) {
950
950
  linkComponent: e.linkComponent,
951
951
  registeredComponents: e.registeredComponents,
952
952
  builderBlock: r(),
953
- includeBlockProps: ((p = a == null ? void 0 : a()) == null ? void 0 : p.noWrap) === !0,
954
- isInteractive: !((y = a == null ? void 0 : a()) != null && y.isRSC && D === "rsc")
953
+ includeBlockProps: ((p = o == null ? void 0 : o()) == null ? void 0 : p.noWrap) === !0,
954
+ isInteractive: !((y = o == null ? void 0 : o()) != null && y.isRSC && F === "rsc")
955
955
  };
956
956
  }
957
- return P(() => {
957
+ return V(() => {
958
958
  const d = r().id, h = r().animations;
959
959
  h && d && _t(
960
960
  h.map((p) => ({
@@ -962,11 +962,11 @@ function ce(e) {
962
962
  elementId: d
963
963
  }))
964
964
  );
965
- }, []), P(() => {
965
+ }, []), V(() => {
966
966
  n.update = !0;
967
967
  }), /* @__PURE__ */ s(R, { children: l() ? /* @__PURE__ */ W(R, { children: [
968
968
  /* @__PURE__ */ s(Xt, { block: r(), context: e.context }),
969
- (f = a == null ? void 0 : a()) != null && f.noWrap ? t() ? /* @__PURE__ */ s(R, { children: (v = t()) == null ? void 0 : v.map((d, h) => /* @__PURE__ */ s(
969
+ (f = o == null ? void 0 : o()) != null && f.noWrap ? t() ? /* @__PURE__ */ s(R, { children: (v = t()) == null ? void 0 : v.map((d, h) => /* @__PURE__ */ s(
970
970
  Ve,
971
971
  {
972
972
  repeatContext: d.context,
@@ -998,9 +998,9 @@ function ce(e) {
998
998
  },
999
999
  Re(h)
1000
1000
  )) }) : /* @__PURE__ */ W(
1001
- an,
1001
+ on,
1002
1002
  {
1003
- Wrapper: o(),
1003
+ Wrapper: a(),
1004
1004
  block: r(),
1005
1005
  context: e.context,
1006
1006
  children: [
@@ -1018,8 +1018,8 @@ function ce(e) {
1018
1018
  isInteractive: u().isInteractive
1019
1019
  }
1020
1020
  ),
1021
- (g = c()) == null ? void 0 : g.map((d) => /* @__PURE__ */ s(
1022
- ce,
1021
+ (b = c()) == null ? void 0 : b.map((d) => /* @__PURE__ */ s(
1022
+ ue,
1023
1023
  {
1024
1024
  block: d,
1025
1025
  registeredComponents: e.registeredComponents,
@@ -1037,22 +1037,22 @@ function cn(e) {
1037
1037
  const t = H(null);
1038
1038
  C(() => !1);
1039
1039
  function n() {
1040
- var o;
1040
+ var a;
1041
1041
  return [
1042
1042
  "builder-blocks",
1043
- (o = e.blocks) != null && o.length ? "" : "no-blocks",
1043
+ (a = e.blocks) != null && a.length ? "" : "no-blocks",
1044
1044
  e.classNameProp
1045
1045
  ].filter(Boolean).join(" ");
1046
1046
  }
1047
1047
  function i() {
1048
1048
  if (!e.path)
1049
1049
  return;
1050
- const o = "this.", l = "component.options.";
1051
- return e.path.startsWith(o) ? e.path.replace(o, "") : e.path.startsWith(l) ? e.path : `${l}${e.path || ""}`;
1050
+ const a = "this.", l = "component.options.";
1051
+ return e.path.startsWith(a) ? e.path.replace(a, "") : e.path.startsWith(l) ? e.path : `${l}${e.path || ""}`;
1052
1052
  }
1053
1053
  function r() {
1054
- var o, l;
1055
- O() && !((o = e.blocks) != null && o.length) && ((l = window.parent) == null || l.postMessage(
1054
+ var a, l;
1055
+ L() && !((a = e.blocks) != null && a.length) && ((l = window.parent) == null || l.postMessage(
1056
1056
  {
1057
1057
  type: "builder.clickEmptyBlocks",
1058
1058
  data: {
@@ -1063,9 +1063,9 @@ function cn(e) {
1063
1063
  "*"
1064
1064
  ));
1065
1065
  }
1066
- function a() {
1067
- var o, l;
1068
- O() && !((o = e.blocks) != null && o.length) && ((l = window.parent) == null || l.postMessage(
1066
+ function o() {
1067
+ var a, l;
1068
+ L() && !((a = e.blocks) != null && a.length) && ((l = window.parent) == null || l.postMessage(
1069
1069
  {
1070
1070
  type: "builder.hoverEmptyBlocks",
1071
1071
  data: {
@@ -1076,8 +1076,8 @@ function cn(e) {
1076
1076
  "*"
1077
1077
  ));
1078
1078
  }
1079
- return P(() => {
1080
- }, []), P(() => {
1079
+ return V(() => {
1080
+ }, []), V(() => {
1081
1081
  }, [e.blocks]), /* @__PURE__ */ W(R, { children: [
1082
1082
  /* @__PURE__ */ s("style", { children: `.props-blocks-wrapper-8834791c {
1083
1083
  display: flex;
@@ -1092,9 +1092,9 @@ function cn(e) {
1092
1092
  "builder-path": i(),
1093
1093
  "builder-parent-id": e.parent,
1094
1094
  style: e.styleProp,
1095
- onClick: (o) => r(),
1096
- onMouseEnter: (o) => a(),
1097
- onKeyPress: (o) => r(),
1095
+ onClick: (a) => r(),
1096
+ onMouseEnter: (a) => o(),
1097
+ onKeyPress: (a) => r(),
1098
1098
  ...e.BlocksWrapperProps,
1099
1099
  children: e.children
1100
1100
  }
@@ -1102,7 +1102,7 @@ function cn(e) {
1102
1102
  ] });
1103
1103
  }
1104
1104
  function _(e) {
1105
- var i, r, a;
1105
+ var i, r, o;
1106
1106
  const t = we(pe), n = we(He);
1107
1107
  return /* @__PURE__ */ W(
1108
1108
  cn,
@@ -1116,15 +1116,15 @@ function _(e) {
1116
1116
  BlocksWrapper: ((r = e.context) == null ? void 0 : r.BlocksWrapper) || (t == null ? void 0 : t.BlocksWrapper),
1117
1117
  children: [
1118
1118
  e.children,
1119
- e.blocks ? /* @__PURE__ */ s(R, { children: (a = e.blocks) == null ? void 0 : a.map((o) => /* @__PURE__ */ s(
1120
- ce,
1119
+ e.blocks ? /* @__PURE__ */ s(R, { children: (o = e.blocks) == null ? void 0 : o.map((a) => /* @__PURE__ */ s(
1120
+ ue,
1121
1121
  {
1122
- block: o,
1122
+ block: a,
1123
1123
  linkComponent: e.linkComponent,
1124
1124
  context: e.context || t,
1125
1125
  registeredComponents: e.registeredComponents || (n == null ? void 0 : n.registeredComponents)
1126
1126
  },
1127
- o.id
1127
+ a.id
1128
1128
  )) }) : null
1129
1129
  ]
1130
1130
  }
@@ -1145,25 +1145,25 @@ function dn(e) {
1145
1145
  function r(y) {
1146
1146
  return y.link ? e.builderLinkComponent || "a" : "div";
1147
1147
  }
1148
- function a(y) {
1149
- var x;
1150
- return ((x = n()[y]) == null ? void 0 : x.width) || 100 / n().length;
1151
- }
1152
1148
  function o(y) {
1153
- const x = a(y), k = t() * (n().length - 1) * (x / 100);
1154
- return `calc(${x}% - ${k}px)`;
1149
+ var S;
1150
+ return ((S = n()[y]) == null ? void 0 : S.width) || 100 / n().length;
1151
+ }
1152
+ function a(y) {
1153
+ const S = o(y), k = t() * (n().length - 1) * (S / 100);
1154
+ return `calc(${S}% - ${k}px)`;
1155
1155
  }
1156
1156
  function l({
1157
1157
  stackedStyle: y,
1158
- desktopStyle: x
1158
+ desktopStyle: S
1159
1159
  }) {
1160
- return i() === "tablet" ? y : x;
1160
+ return i() === "tablet" ? y : S;
1161
1161
  }
1162
1162
  function c({
1163
1163
  stackedStyle: y,
1164
- desktopStyle: x
1164
+ desktopStyle: S
1165
1165
  }) {
1166
- return i() === "never" ? x : y;
1166
+ return i() === "never" ? S : y;
1167
1167
  }
1168
1168
  function u() {
1169
1169
  return e.stackColumnsAt === "never" ? "row" : e.reverseColumnsWhenStacked ? "column-reverse" : "column";
@@ -1177,8 +1177,8 @@ function dn(e) {
1177
1177
  })
1178
1178
  };
1179
1179
  }
1180
- function g(y) {
1181
- const x = y === 0 ? 0 : t(), k = o(y), V = `${x}px`, T = "100%", I = 0;
1180
+ function b(y) {
1181
+ const S = y === 0 ? 0 : t(), k = a(y), A = `${S}px`, T = "100%", I = 0;
1182
1182
  return {
1183
1183
  ...{
1184
1184
  display: "flex",
@@ -1186,14 +1186,14 @@ function dn(e) {
1186
1186
  alignItems: "stretch"
1187
1187
  },
1188
1188
  width: k,
1189
- ["marginLeft"]: V,
1189
+ ["marginLeft"]: A,
1190
1190
  "--column-width-mobile": c({
1191
1191
  stackedStyle: T,
1192
1192
  desktopStyle: k
1193
1193
  }),
1194
1194
  "--column-margin-left-mobile": c({
1195
1195
  stackedStyle: I,
1196
- desktopStyle: V
1196
+ desktopStyle: A
1197
1197
  }),
1198
1198
  "--column-width-tablet": l({
1199
1199
  stackedStyle: T,
@@ -1201,14 +1201,14 @@ function dn(e) {
1201
1201
  }),
1202
1202
  "--column-margin-left-tablet": l({
1203
1203
  stackedStyle: I,
1204
- desktopStyle: V
1204
+ desktopStyle: A
1205
1205
  })
1206
1206
  };
1207
1207
  }
1208
1208
  function m(y) {
1209
- var k, V;
1209
+ var k, A;
1210
1210
  return et(
1211
- ((V = (k = e.builderContext.content) == null ? void 0 : k.meta) == null ? void 0 : V.breakpoints) || {}
1211
+ ((A = (k = e.builderContext.content) == null ? void 0 : k.meta) == null ? void 0 : A.breakpoints) || {}
1212
1212
  )[y].max;
1213
1213
  }
1214
1214
  function v() {
@@ -1239,13 +1239,13 @@ function dn(e) {
1239
1239
  },
1240
1240
  `;
1241
1241
  }
1242
- function d(y, x) {
1242
+ function d(y, S) {
1243
1243
  return {
1244
1244
  ...y.link ? {
1245
1245
  href: y.link
1246
1246
  } : {},
1247
1247
  [z()]: "builder-column",
1248
- style: Ye(g(x))
1248
+ style: Ye(b(S))
1249
1249
  };
1250
1250
  }
1251
1251
  return /* @__PURE__ */ W(R, { children: [
@@ -1268,16 +1268,16 @@ function dn(e) {
1268
1268
  nonce: e.builderContext.nonce
1269
1269
  }
1270
1270
  ),
1271
- (p = e.columns) == null ? void 0 : p.map((y, x) => /* @__PURE__ */ s(
1271
+ (p = e.columns) == null ? void 0 : p.map((y, S) => /* @__PURE__ */ s(
1272
1272
  ye,
1273
1273
  {
1274
1274
  TagName: r(y),
1275
1275
  actionAttributes: {},
1276
- attributes: d(y, x),
1276
+ attributes: d(y, S),
1277
1277
  children: /* @__PURE__ */ s(
1278
1278
  _,
1279
1279
  {
1280
- path: `columns.${x}.blocks`,
1280
+ path: `columns.${S}.blocks`,
1281
1281
  parent: e.builderBlock.id,
1282
1282
  context: e.builderContext,
1283
1283
  registeredComponents: e.builderComponents,
@@ -1289,7 +1289,7 @@ function dn(e) {
1289
1289
  }
1290
1290
  )
1291
1291
  },
1292
- x
1292
+ S
1293
1293
  ))
1294
1294
  ]
1295
1295
  }
@@ -1313,12 +1313,12 @@ function hn(e, t) {
1313
1313
  return Ae(e);
1314
1314
  const n = e.match(/(_\d+x(\d+)?)?(\.(jpg|jpeg|gif|png|bmp|bitmap|tiff|tif)(\?v=\d+)?)/i);
1315
1315
  if (n) {
1316
- const i = e.split(n[0]), r = n[3], a = t.match("x") ? t : `${t}x`;
1317
- return Ae(`${i[0]}_${a}${r}`);
1316
+ const i = e.split(n[0]), r = n[3], o = t.match("x") ? t : `${t}x`;
1317
+ return Ae(`${i[0]}_${o}${r}`);
1318
1318
  }
1319
1319
  return null;
1320
1320
  }
1321
- function de(e) {
1321
+ function ne(e) {
1322
1322
  if (!e)
1323
1323
  return e;
1324
1324
  const t = [100, 200, 400, 800, 1200, 1600, 2e3];
@@ -1330,21 +1330,21 @@ function de(e) {
1330
1330
  return e.match(/cdn\.shopify\.com/) ? t.map((n) => [hn(e, `${n}x${n}`), n]).filter(([n]) => !!n).map(([n, i]) => `${n} ${i}w`).concat([e]).join(", ") : e;
1331
1331
  }
1332
1332
  function gn(e) {
1333
- var r, a, o, l, c, u;
1333
+ var r, o, a, l, c, u;
1334
1334
  function t() {
1335
1335
  var m;
1336
- const g = e.image || e.src;
1337
- if (!g || // We can auto add srcset for cdn.builder.io and shopify
1336
+ const b = e.image || e.src;
1337
+ if (!b || // We can auto add srcset for cdn.builder.io and shopify
1338
1338
  // images, otherwise you can supply this prop manually
1339
- !(typeof g == "string" && (g.match(/builder\.io/) || g.match(/cdn\.shopify\.com/))))
1339
+ !(typeof b == "string" && (b.match(/builder\.io/) || b.match(/cdn\.shopify\.com/))))
1340
1340
  return e.srcset;
1341
1341
  if (!e.noWebp) {
1342
1342
  if (e.srcset && ((m = e.image) != null && m.includes("builder.io/api/v1/image"))) {
1343
1343
  if (!e.srcset.includes(e.image.split("?")[0]))
1344
- return console.debug("Removed given srcset"), de(g);
1344
+ return console.debug("Removed given srcset"), ne(b);
1345
1345
  } else if (e.image && !e.srcset)
1346
- return de(g);
1347
- return de(g);
1346
+ return ne(b);
1347
+ return ne(b);
1348
1348
  }
1349
1349
  }
1350
1350
  function n() {
@@ -1361,7 +1361,7 @@ function gn(e) {
1361
1361
  };
1362
1362
  return e.aspectRatio ? f : void 0;
1363
1363
  }
1364
- return P(() => {
1364
+ return V(() => {
1365
1365
  }, []), /* @__PURE__ */ W(R, { children: [
1366
1366
  /* @__PURE__ */ s("style", { children: `.img-3cc22d08 {
1367
1367
  opacity: 1;
@@ -1403,7 +1403,7 @@ function gn(e) {
1403
1403
  }
1404
1404
  )
1405
1405
  ] }),
1406
- e.aspectRatio && !((a = (r = e.builderBlock) == null ? void 0 : r.children) != null && a.length && e.fitContent) ? /* @__PURE__ */ s(
1406
+ e.aspectRatio && !((o = (r = e.builderBlock) == null ? void 0 : r.children) != null && o.length && e.fitContent) ? /* @__PURE__ */ s(
1407
1407
  "div",
1408
1408
  {
1409
1409
  className: "builder-image-sizer div-3cc22d08",
@@ -1412,7 +1412,7 @@ function gn(e) {
1412
1412
  }
1413
1413
  }
1414
1414
  ) : null,
1415
- (l = (o = e.builderBlock) == null ? void 0 : o.children) != null && l.length && e.fitContent ? /* @__PURE__ */ s(R, { children: e.children }) : null,
1415
+ (l = (a = e.builderBlock) == null ? void 0 : a.children) != null && l.length && e.fitContent ? /* @__PURE__ */ s(R, { children: e.children }) : null,
1416
1416
  !e.fitContent && ((u = (c = e.builderBlock) == null ? void 0 : c.children) != null && u.length) ? /* @__PURE__ */ s("div", { className: "div-3cc22d08-2", children: e.children }) : null
1417
1417
  ] })
1418
1418
  ] });
@@ -1442,21 +1442,21 @@ function yn(e, t, n, i) {
1442
1442
  function r(u) {
1443
1443
  return typeof u == "string";
1444
1444
  }
1445
- function a(u) {
1445
+ function o(u) {
1446
1446
  return typeof u == "number";
1447
1447
  }
1448
- function o(u, f) {
1448
+ function a(u, f) {
1449
1449
  return (() => {
1450
1450
  const m = f.property, v = f.operator;
1451
1451
  let d = f.value;
1452
1452
  if (f && f.property === "urlPath" && f.value && typeof f.value == "string" && f.value !== "/" && f.value.endsWith("/") && (d = f.value.slice(0, -1)), !(m && v))
1453
1453
  return !0;
1454
1454
  if (Array.isArray(d))
1455
- return v === "isNot" ? d.every((p) => o(u, {
1455
+ return v === "isNot" ? d.every((p) => a(u, {
1456
1456
  property: m,
1457
1457
  operator: v,
1458
1458
  value: p
1459
- })) : !!d.find((p) => o(u, {
1459
+ })) : !!d.find((p) => a(u, {
1460
1460
  property: m,
1461
1461
  operator: v,
1462
1462
  value: p
@@ -1476,13 +1476,13 @@ function yn(e, t, n, i) {
1476
1476
  case "endsWith":
1477
1477
  return r(h) && h.endsWith(String(d));
1478
1478
  case "greaterThan":
1479
- return a(h) && a(d) && h > d;
1479
+ return o(h) && o(d) && h > d;
1480
1480
  case "lessThan":
1481
- return a(h) && a(d) && h < d;
1481
+ return o(h) && o(d) && h < d;
1482
1482
  case "greaterThanOrEqualTo":
1483
- return a(h) && a(d) && h >= d;
1483
+ return o(h) && o(d) && h >= d;
1484
1484
  case "lessThanOrEqualTo":
1485
- return a(h) && a(d) && h <= d;
1485
+ return o(h) && o(d) && h <= d;
1486
1486
  default:
1487
1487
  return !1;
1488
1488
  }
@@ -1493,7 +1493,7 @@ function yn(e, t, n, i) {
1493
1493
  startDate: n,
1494
1494
  endDate: i
1495
1495
  }, c = e.date && new Date(e.date) || /* @__PURE__ */ new Date();
1496
- return l.startDate && new Date(l.startDate) > c || l.endDate && new Date(l.endDate) < c ? !1 : !l.query || !l.query.length ? !0 : l.query.every((u) => o(e, u));
1496
+ return l.startDate && new Date(l.startDate) > c || l.endDate && new Date(l.endDate) < c ? !1 : !l.query || !l.query.length ? !0 : l.query.every((u) => a(e, u));
1497
1497
  }
1498
1498
  const pn = `function getPersonalizedVariant(variants, blockId, isHydrationTarget, locale) {
1499
1499
  if (!navigator.cookieEnabled) {
@@ -1656,9 +1656,9 @@ const pn = `function getPersonalizedVariant(variants, blockId, isHydrationTarget
1656
1656
  visibilityStylesEl.innerHTML = newStyleStr;
1657
1657
  }
1658
1658
  }
1659
- }`, ne = "default", Sn = "filterWithCustomTargeting", nt = "builderIoPersonalization", it = "updateVisibilityStylesScript", rt = ["react", "vue", "svelte"], ie = ["vue", "svelte"];
1659
+ }`, ie = "default", Sn = "filterWithCustomTargeting", nt = "builderIoPersonalization", it = "updateVisibilityStylesScript", rt = ["react", "vue", "svelte", "qwik"], re = ["vue", "svelte", "qwik"];
1660
1660
  function kn(e, t) {
1661
- return !(e && e.length > 0) || !t ? !1 : ie.includes(D) ? !0 : !M();
1661
+ return !(e && e.length > 0) || !t ? !1 : re.includes(F) ? !0 : !M();
1662
1662
  }
1663
1663
  function Cn({
1664
1664
  variants: e,
@@ -1667,14 +1667,14 @@ function Cn({
1667
1667
  filteredVariants: i,
1668
1668
  fallbackBlocks: r
1669
1669
  }) {
1670
- var o;
1671
- const a = {
1670
+ var a;
1671
+ const o = {
1672
1672
  blocks: r != null ? r : [],
1673
1673
  path: "this.children",
1674
- index: ne
1674
+ index: ie
1675
1675
  };
1676
- if (n && O()) {
1677
- if (typeof t == "number" && t < ((o = e == null ? void 0 : e.length) != null ? o : 0)) {
1676
+ if (n && L()) {
1677
+ if (typeof t == "number" && t < ((a = e == null ? void 0 : e.length) != null ? a : 0)) {
1678
1678
  const l = e == null ? void 0 : e[t];
1679
1679
  if (l)
1680
1680
  return {
@@ -1683,7 +1683,7 @@ function Cn({
1683
1683
  index: t
1684
1684
  };
1685
1685
  }
1686
- return a;
1686
+ return o;
1687
1687
  }
1688
1688
  if (M()) {
1689
1689
  const l = i == null ? void 0 : i[0];
@@ -1697,13 +1697,13 @@ function Cn({
1697
1697
  };
1698
1698
  }
1699
1699
  }
1700
- return a;
1700
+ return o;
1701
1701
  }
1702
1702
  const Tn = () => `
1703
1703
  window.${Sn} = ${vn}
1704
1704
  window.${nt} = ${pn}
1705
1705
  window.${it} = ${xn}
1706
- `, at = D === "react", In = (e, t, n) => `window.${nt}(${JSON.stringify(e)}, "${t}", ${at}${n ? `, "${n}"` : ""})`, wn = (e, t, n) => `window.${it}(${JSON.stringify(e)}, "${t}", ${at}${n ? `, "${n}"` : ""})`, me = {
1706
+ `, ot = F === "react", In = (e, t, n) => `window.${nt}(${JSON.stringify(e)}, "${t}", ${ot}${n ? `, "${n}"` : ""})`, wn = (e, t, n) => `window.${it}(${JSON.stringify(e)}, "${t}", ${ot}${n ? `, "${n}"` : ""})`, me = {
1707
1707
  "@type": "@builder.io/sdk:Element",
1708
1708
  layerName: "Accordion item title",
1709
1709
  responsiveStyles: {
@@ -1829,7 +1829,7 @@ const Tn = () => `
1829
1829
  }
1830
1830
  }, Be = (e) => e.toString();
1831
1831
  function Rn(e) {
1832
- var g;
1832
+ var b;
1833
1833
  const [t, n] = C(() => []);
1834
1834
  function i() {
1835
1835
  return !!(e.grid || e.oneAtATime);
@@ -1846,7 +1846,7 @@ function Rn(e) {
1846
1846
  }
1847
1847
  };
1848
1848
  }
1849
- function a() {
1849
+ function o() {
1850
1850
  const v = {
1851
1851
  ...{
1852
1852
  display: "flex",
@@ -1859,7 +1859,7 @@ function Rn(e) {
1859
1859
  Object.entries(v).filter(([d, h]) => h !== void 0)
1860
1860
  );
1861
1861
  }
1862
- function o(m) {
1862
+ function a(m) {
1863
1863
  return `builder-accordion-title builder-accordion-title-${t.includes(m) ? "open" : "closed"}`;
1864
1864
  }
1865
1865
  function l(m) {
@@ -1878,13 +1878,13 @@ function Rn(e) {
1878
1878
  if (p) {
1879
1879
  if (p.classList.contains("builder-accordion-detail"))
1880
1880
  continue;
1881
- const x = p.getBoundingClientRect();
1882
- if (x.left > y.left) {
1881
+ const S = p.getBoundingClientRect();
1882
+ if (S.left > y.left) {
1883
1883
  const k = parseInt(
1884
1884
  p.getAttribute("data-index") || "",
1885
1885
  10
1886
1886
  );
1887
- isNaN(k) || (y = x, m = k);
1887
+ isNaN(k) || (y = S, m = k);
1888
1888
  } else
1889
1889
  break;
1890
1890
  }
@@ -1906,13 +1906,13 @@ function Rn(e) {
1906
1906
  function f(m) {
1907
1907
  t.includes(m) ? n(i() ? [] : t.filter((v) => v !== m)) : n(i() ? [m] : t.concat(m));
1908
1908
  }
1909
- return /* @__PURE__ */ s("div", { className: "builder-accordion", style: r(), children: (g = e.items) == null ? void 0 : g.map((m, v) => /* @__PURE__ */ W(bt.Fragment, { children: [
1909
+ return /* @__PURE__ */ s("div", { className: "builder-accordion", style: r(), children: (b = e.items) == null ? void 0 : b.map((m, v) => /* @__PURE__ */ W(bt.Fragment, { children: [
1910
1910
  /* @__PURE__ */ s(
1911
1911
  "div",
1912
1912
  {
1913
- className: o(v),
1913
+ className: a(v),
1914
1914
  style: {
1915
- ...a(),
1915
+ ...o(),
1916
1916
  ...e.grid && {
1917
1917
  width: e.gridRowWidth,
1918
1918
  order: c() !== null ? Be(v) : Be(v + 1)
@@ -2168,7 +2168,7 @@ const Pn = {
2168
2168
  });
2169
2169
  }
2170
2170
  const n = e.get("columns");
2171
- Array.isArray(n) && n.find((r) => r.get("width")) && (n.find((a) => !a.get("width")) || n.reduce((l, c) => l + c.get("width"), 0) !== 100) && t();
2171
+ Array.isArray(n) && n.find((r) => r.get("width")) && (n.find((o) => !o.get("width")) || n.reduce((l, c) => l + c.get("width"), 0) !== 100) && t();
2172
2172
  }
2173
2173
  }, {
2174
2174
  name: "space",
@@ -2222,29 +2222,29 @@ const Pn = {
2222
2222
  defaultValue: "https://cdn.builder.io/api/v1/image/assets%2FYJIGb4i01jvw0SRdL5Bt%2F72c80f114dc149019051b6852a9e3b7a",
2223
2223
  onChange: (e) => {
2224
2224
  e.delete("srcset"), e.delete("noWebp");
2225
- function n(o, l = 6e4) {
2225
+ function n(a, l = 6e4) {
2226
2226
  return new Promise((c, u) => {
2227
2227
  const f = document.createElement("img");
2228
- let g = !1;
2228
+ let b = !1;
2229
2229
  f.onload = () => {
2230
- g = !0, c(f);
2230
+ b = !0, c(f);
2231
2231
  }, f.addEventListener("error", (m) => {
2232
2232
  console.warn("Image load failed", m.error), u(m.error);
2233
- }), f.src = o, setTimeout(() => {
2234
- g || u(new Error("Image load timed out"));
2233
+ }), f.src = a, setTimeout(() => {
2234
+ b || u(new Error("Image load timed out"));
2235
2235
  }, l);
2236
2236
  });
2237
2237
  }
2238
- function i(o) {
2239
- return Math.round(o * 1e3) / 1e3;
2238
+ function i(a) {
2239
+ return Math.round(a * 1e3) / 1e3;
2240
2240
  }
2241
- const r = e.get("image"), a = e.get("aspectRatio");
2242
- if (fetch(r).then((o) => o.blob()).then((o) => {
2243
- o.type.includes("svg") && e.set("noWebp", !0);
2244
- }), r && (!a || a === 0.7041))
2245
- return n(r).then((o) => {
2241
+ const r = e.get("image"), o = e.get("aspectRatio");
2242
+ if (fetch(r).then((a) => a.blob()).then((a) => {
2243
+ a.type.includes("svg") && e.set("noWebp", !0);
2244
+ }), r && (!o || o === 0.7041))
2245
+ return n(r).then((a) => {
2246
2246
  const l = e.get("aspectRatio");
2247
- e.get("image") === r && (!l || l === 0.7041) && o.width && o.height && (e.set("aspectRatio", i(o.height / o.width)), e.set("height", o.height), e.set("width", o.width));
2247
+ e.get("image") === r && (!l || l === 0.7041) && a.width && a.height && (e.set("aspectRatio", i(a.height / a.width)), e.set("height", a.height), e.set("width", a.width));
2248
2248
  });
2249
2249
  }
2250
2250
  }, {
@@ -2362,10 +2362,10 @@ function j(e) {
2362
2362
  );
2363
2363
  }
2364
2364
  function $n(e) {
2365
- var x, k, V, T, I, b, S, w, A, F, L, $, U;
2365
+ var S, k, A, T, I, g, x, w, D, O, $, P, U;
2366
2366
  const t = H(null), [n, i] = C(
2367
2367
  () => Ce.getUserAttributes()
2368
- ), [r, a] = C(
2368
+ ), [r, o] = C(
2369
2369
  () => {
2370
2370
  var E, B, N;
2371
2371
  return In(
@@ -2374,7 +2374,7 @@ function $n(e) {
2374
2374
  (N = (B = e.builderContext) == null ? void 0 : B.rootState) == null ? void 0 : N.locale
2375
2375
  );
2376
2376
  }
2377
- ), [o, l] = C(
2377
+ ), [a, l] = C(
2378
2378
  () => {
2379
2379
  var E, B, N;
2380
2380
  return wn(
@@ -2383,7 +2383,7 @@ function $n(e) {
2383
2383
  (N = (B = e.builderContext) == null ? void 0 : B.rootState) == null ? void 0 : N.locale
2384
2384
  );
2385
2385
  }
2386
- ), [c, u] = C(() => []), [f, g] = C(
2386
+ ), [c, u] = C(() => []), [f, b] = C(
2387
2387
  () => {
2388
2388
  var E;
2389
2389
  return kn(
@@ -2432,20 +2432,23 @@ function $n(e) {
2432
2432
  }
2433
2433
  ).join("");
2434
2434
  }
2435
- return P(() => {
2435
+ return V(() => {
2436
2436
  var B;
2437
2437
  v(!0);
2438
2438
  const E = Ce.subscribeOnUserAttributesChange(
2439
2439
  (N) => {
2440
2440
  i(N);
2441
+ },
2442
+ {
2443
+ fireImmediately: F === "qwik"
2441
2444
  }
2442
2445
  );
2443
- if (!(O() || le())) {
2446
+ if (!(L() || se())) {
2444
2447
  const N = h()[0];
2445
2448
  t.current && (t.current.dispatchEvent(
2446
2449
  new CustomEvent("builder.variantLoaded", {
2447
2450
  detail: {
2448
- variant: N || ne,
2451
+ variant: N || ie,
2449
2452
  content: (B = e.builderContext) == null ? void 0 : B.content
2450
2453
  },
2451
2454
  bubbles: !0
@@ -2456,7 +2459,7 @@ function $n(e) {
2456
2459
  te.isIntersecting && t.current && t.current.dispatchEvent(
2457
2460
  new CustomEvent("builder.variantDisplayed", {
2458
2461
  detail: {
2459
- variant: N || ne,
2462
+ variant: N || ie,
2460
2463
  content: (Q = e.builderContext) == null ? void 0 : Q.content
2461
2464
  },
2462
2465
  bubbles: !0
@@ -2466,24 +2469,24 @@ function $n(e) {
2466
2469
  }).observe(t.current));
2467
2470
  }
2468
2471
  c.push(E);
2469
- }, []), P(() => () => {
2472
+ }, []), V(() => () => {
2470
2473
  c.forEach((E) => E());
2471
2474
  }, []), /* @__PURE__ */ W("div", { ref: t, ...d(), children: [
2472
- m && ie.includes(D) ? /* @__PURE__ */ s(
2475
+ m && re.includes(F) ? /* @__PURE__ */ s(
2473
2476
  _,
2474
2477
  {
2475
2478
  blocks: p().blocks,
2476
- parent: (x = e.builderBlock) == null ? void 0 : x.id,
2479
+ parent: (S = e.builderBlock) == null ? void 0 : S.id,
2477
2480
  path: p().path,
2478
2481
  context: e.builderContext,
2479
2482
  registeredComponents: e.builderComponents,
2480
2483
  BlocksWrapperProps: {
2481
2484
  ...(k = e.builderContext) == null ? void 0 : k.BlocksWrapperProps,
2482
- "data-variant-id": `${(V = e.builderBlock) == null ? void 0 : V.id}-${p().index}`
2485
+ "data-variant-id": `${(A = e.builderBlock) == null ? void 0 : A.id}-${p().index}`
2483
2486
  }
2484
2487
  }
2485
2488
  ) : null,
2486
- !m && ie.includes(D) || !ie.includes(D) ? /* @__PURE__ */ W(R, { children: [
2489
+ !m && re.includes(F) || !re.includes(F) ? /* @__PURE__ */ W(R, { children: [
2487
2490
  f ? /* @__PURE__ */ W(R, { children: [
2488
2491
  /* @__PURE__ */ s(
2489
2492
  ee,
@@ -2496,9 +2499,9 @@ function $n(e) {
2496
2499
  /* @__PURE__ */ s(
2497
2500
  j,
2498
2501
  {
2499
- nonce: ((b = e.builderContext) == null ? void 0 : b.nonce) || "",
2500
- scriptStr: o,
2501
- id: `variants-visibility-script-${(S = e.builderBlock) == null ? void 0 : S.id}`
2502
+ nonce: ((g = e.builderContext) == null ? void 0 : g.nonce) || "",
2503
+ scriptStr: a,
2504
+ id: `variants-visibility-script-${(x = e.builderBlock) == null ? void 0 : x.id}`
2502
2505
  }
2503
2506
  ),
2504
2507
  (w = e.variants) == null ? void 0 : w.map((E, B) => {
@@ -2534,20 +2537,20 @@ function $n(e) {
2534
2537
  _,
2535
2538
  {
2536
2539
  blocks: p().blocks,
2537
- parent: (A = e.builderBlock) == null ? void 0 : A.id,
2540
+ parent: (D = e.builderBlock) == null ? void 0 : D.id,
2538
2541
  path: p().path,
2539
2542
  context: e.builderContext,
2540
2543
  registeredComponents: e.builderComponents,
2541
2544
  BlocksWrapperProps: {
2542
- ...(F = e.builderContext) == null ? void 0 : F.BlocksWrapperProps,
2543
- "data-variant-id": `${(L = e.builderBlock) == null ? void 0 : L.id}-${p().index}`
2545
+ ...(O = e.builderContext) == null ? void 0 : O.BlocksWrapperProps,
2546
+ "data-variant-id": `${($ = e.builderBlock) == null ? void 0 : $.id}-${p().index}`
2544
2547
  },
2545
2548
  children: f ? /* @__PURE__ */ s(
2546
2549
  j,
2547
2550
  {
2548
- nonce: (($ = e.builderContext) == null ? void 0 : $.nonce) || "",
2551
+ nonce: ((P = e.builderContext) == null ? void 0 : P.nonce) || "",
2549
2552
  scriptStr: r,
2550
- id: `variants-script-${(U = e.builderBlock) == null ? void 0 : U.id}-${ne}`
2553
+ id: `variants-script-${(U = e.builderBlock) == null ? void 0 : U.id}-${ie}`
2551
2554
  }
2552
2555
  ) : null
2553
2556
  }
@@ -2818,15 +2821,15 @@ const Ln = {
2818
2821
  }
2819
2822
  };
2820
2823
  function Un(e) {
2821
- var a;
2824
+ var o;
2822
2825
  const [t, n] = C(
2823
2826
  () => e.defaultActiveTab ? e.defaultActiveTab - 1 : 0
2824
2827
  );
2825
- function i(o) {
2826
- return e.tabs && e.tabs[o].content;
2828
+ function i(a) {
2829
+ return e.tabs && e.tabs[a].content;
2827
2830
  }
2828
- function r(o) {
2829
- o === t && e.collapsible ? n(-1) : n(o);
2831
+ function r(a) {
2832
+ a === t && e.collapsible ? n(-1) : n(a);
2830
2833
  }
2831
2834
  return /* @__PURE__ */ W("div", { children: [
2832
2835
  /* @__PURE__ */ s(
@@ -2839,7 +2842,7 @@ function Un(e) {
2839
2842
  justifyContent: e.tabHeaderLayout || "flex-start",
2840
2843
  overflow: "auto"
2841
2844
  },
2842
- children: (a = e.tabs) == null ? void 0 : a.map((o, l) => /* @__PURE__ */ s(
2845
+ children: (o = e.tabs) == null ? void 0 : o.map((a, l) => /* @__PURE__ */ s(
2843
2846
  "span",
2844
2847
  {
2845
2848
  className: `builder-tab-wrap ${t === l ? "builder-tab-active" : ""}`,
@@ -2852,7 +2855,7 @@ function Un(e) {
2852
2855
  {
2853
2856
  parent: e.builderBlock.id,
2854
2857
  path: `tabs.${l}.label`,
2855
- blocks: o.label,
2858
+ blocks: a.label,
2856
2859
  context: e.builderContext,
2857
2860
  registeredComponents: e.builderComponents,
2858
2861
  linkComponent: e.builderLinkComponent
@@ -2933,8 +2936,8 @@ const qn = {
2933
2936
  }]
2934
2937
  };
2935
2938
  function jn(e) {
2936
- const t = H(null), [n, i] = C(() => []), [r, a] = C(() => []);
2937
- function o() {
2939
+ const t = H(null), [n, i] = C(() => []), [r, o] = C(() => []);
2940
+ function a() {
2938
2941
  var c;
2939
2942
  if (!t.current || !((c = t.current) != null && c.getElementsByTagName) || typeof window == "undefined")
2940
2943
  return;
@@ -2945,8 +2948,8 @@ function jn(e) {
2945
2948
  if (n.includes(f.src))
2946
2949
  continue;
2947
2950
  n.push(f.src);
2948
- const g = document.createElement("script");
2949
- g.async = !0, g.src = f.src, document.head.appendChild(g);
2951
+ const b = document.createElement("script");
2952
+ b.async = !0, b.src = f.src, document.head.appendChild(b);
2950
2953
  } else if (!f.type || [
2951
2954
  "text/javascript",
2952
2955
  "application/javascript",
@@ -2956,19 +2959,19 @@ function jn(e) {
2956
2959
  continue;
2957
2960
  try {
2958
2961
  r.push(f.innerText), new Function(f.innerText)();
2959
- } catch (g) {
2962
+ } catch (b) {
2960
2963
  J.warn(
2961
2964
  "[BUILDER.IO] `CustomCode`: Error running script:",
2962
- g
2965
+ b
2963
2966
  );
2964
2967
  }
2965
2968
  }
2966
2969
  }
2967
2970
  }
2968
- return P(() => {
2969
- o();
2970
- }, []), P(() => {
2971
- O() && o();
2971
+ return V(() => {
2972
+ a();
2973
+ }, []), V(() => {
2974
+ L() && a();
2972
2975
  }, [e.code]), /* @__PURE__ */ s(
2973
2976
  "div",
2974
2977
  {
@@ -2995,28 +2998,28 @@ const zn = {
2995
2998
  }]
2996
2999
  }, Kn = ["text/javascript", "application/javascript", "application/ecmascript"], Jn = (e) => Kn.includes(e.type);
2997
3000
  function Gn(e) {
2998
- const t = H(null), [n, i] = C(() => []), [r, a] = C(() => []), [o, l] = C(() => !1);
3001
+ const t = H(null), [n, i] = C(() => []), [r, o] = C(() => []), [a, l] = C(() => !1);
2999
3002
  function c() {
3000
3003
  if (!t.current || !t.current.getElementsByTagName)
3001
3004
  return;
3002
3005
  const u = t.current.getElementsByTagName("script");
3003
3006
  for (let f = 0; f < u.length; f++) {
3004
- const g = u[f];
3005
- if (g.src && !n.includes(g.src)) {
3006
- n.push(g.src);
3007
+ const b = u[f];
3008
+ if (b.src && !n.includes(b.src)) {
3009
+ n.push(b.src);
3007
3010
  const m = document.createElement("script");
3008
- m.async = !0, m.src = g.src, document.head.appendChild(m);
3009
- } else if (Jn(g) && !r.includes(g.innerText))
3011
+ m.async = !0, m.src = b.src, document.head.appendChild(m);
3012
+ } else if (Jn(b) && !r.includes(b.innerText))
3010
3013
  try {
3011
- r.push(g.innerText), new Function(g.innerText)();
3014
+ r.push(b.innerText), new Function(b.innerText)();
3012
3015
  } catch (m) {
3013
3016
  J.warn("[BUILDER.IO] `Embed`: Error running script:", m);
3014
3017
  }
3015
3018
  }
3016
3019
  }
3017
- return P(() => {
3018
- t.current && !o && (l(!0), c());
3019
- }, [t.current, o]), /* @__PURE__ */ s(
3020
+ return V(() => {
3021
+ t.current && !a && (l(!0), c());
3022
+ }, [t.current, a]), /* @__PURE__ */ s(
3020
3023
  "div",
3021
3024
  {
3022
3025
  className: "builder-embed",
@@ -3267,113 +3270,125 @@ const Qn = {
3267
3270
  return Yn.includes(e) ? e : "production";
3268
3271
  };
3269
3272
  function Zn(e) {
3270
- const t = H(null), [n, i] = C(() => "unsubmitted"), [r, a] = C(() => null), [o, l] = C(() => "");
3271
- function c(g) {
3273
+ const t = H(null), [n, i] = C(() => "unsubmitted"), [r, o] = C(() => null), [a, l] = C(() => "");
3274
+ function c(b) {
3272
3275
  var v, d;
3273
3276
  const m = {
3274
3277
  ...e.builderContext.rootState,
3275
- ...g
3278
+ ...b
3276
3279
  };
3277
3280
  e.builderContext.rootSetState ? (d = (v = e.builderContext).rootSetState) == null || d.call(v, m) : e.builderContext.rootState = m;
3278
3281
  }
3279
3282
  function u() {
3280
- return O() && e.previewState || n;
3283
+ return L() && e.previewState || n;
3281
3284
  }
3282
- function f(g) {
3285
+ function f(b) {
3283
3286
  var v;
3284
3287
  const m = e.sendWithJs || e.sendSubmissionsTo === "email";
3285
3288
  if (e.sendSubmissionsTo === "zapier")
3286
- g.preventDefault();
3289
+ b.preventDefault();
3287
3290
  else if (m) {
3288
3291
  if (!(e.action || e.sendSubmissionsTo === "email")) {
3289
- g.preventDefault();
3292
+ b.preventDefault();
3290
3293
  return;
3291
3294
  }
3292
- g.preventDefault();
3293
- const d = g.currentTarget || g.target, h = e.customHeaders || {};
3295
+ b.preventDefault();
3296
+ const d = b.currentTarget || b.target, h = e.customHeaders || {};
3294
3297
  let p;
3295
- const y = new FormData(d), x = Array.from(d.querySelectorAll("input,select,textarea")).filter((b) => !!b.name).map((b) => {
3296
- let S;
3297
- const w = b.name;
3298
- if (b instanceof HTMLInputElement)
3299
- if (b.type === "radio") {
3300
- if (b.checked)
3301
- return S = b.name, {
3298
+ const y = new FormData(d), S = Array.from(d.querySelectorAll("input,select,textarea")).filter((g) => !!g.name).map((g) => {
3299
+ let x;
3300
+ const w = g.name;
3301
+ if (g instanceof HTMLInputElement)
3302
+ if (g.type === "radio") {
3303
+ if (g.checked)
3304
+ return x = g.name, {
3302
3305
  key: w,
3303
- value: S
3306
+ value: x
3304
3307
  };
3305
- } else if (b.type === "checkbox")
3306
- S = b.checked;
3307
- else if (b.type === "number" || b.type === "range") {
3308
- const A = b.valueAsNumber;
3309
- isNaN(A) || (S = A);
3308
+ } else if (g.type === "checkbox")
3309
+ x = g.checked;
3310
+ else if (g.type === "number" || g.type === "range") {
3311
+ const D = g.valueAsNumber;
3312
+ isNaN(D) || (x = D);
3310
3313
  } else
3311
- b.type === "file" ? S = b.files : S = b.value;
3314
+ g.type === "file" ? x = g.files : x = g.value;
3312
3315
  else
3313
- S = b.value;
3316
+ x = g.value;
3314
3317
  return {
3315
3318
  key: w,
3316
- value: S
3319
+ value: x
3317
3320
  };
3318
3321
  });
3319
3322
  let k = e.contentType;
3320
- if (e.sendSubmissionsTo === "email" && (k = "multipart/form-data"), Array.from(x).forEach(({ value: b }) => {
3321
- (b instanceof File || Array.isArray(b) && b[0] instanceof File || b instanceof FileList) && (k = "multipart/form-data");
3323
+ if (e.sendSubmissionsTo === "email" && (k = "multipart/form-data"), Array.from(S).forEach(({ value: g }) => {
3324
+ (g instanceof File || Array.isArray(g) && g[0] instanceof File || g instanceof FileList) && (k = "multipart/form-data");
3322
3325
  }), k !== "application/json")
3323
3326
  p = y;
3324
3327
  else {
3325
- const b = {};
3326
- Array.from(x).forEach(({ value: S, key: w }) => {
3327
- ze(b, w, S);
3328
- }), p = JSON.stringify(b);
3328
+ const g = {};
3329
+ Array.from(S).forEach(({ value: x, key: w }) => {
3330
+ ze(g, w, x);
3331
+ }), p = JSON.stringify(g);
3329
3332
  }
3330
3333
  k && k !== "multipart/form-data" && (m && ((v = e.action) != null && v.includes("zapier.com")) || (h["content-type"] = k));
3331
- const V = new CustomEvent("presubmit", { detail: { body: p } });
3332
- if (t.current && (t.current.dispatchEvent(V), V.defaultPrevented))
3334
+ const A = new CustomEvent("presubmit", { detail: { body: p } });
3335
+ if (t.current && (t.current.dispatchEvent(A), A.defaultPrevented))
3336
+ return;
3337
+ if (i("sending"), e.sendSubmissionsTo === "email" && (e.sendSubmissionsToEmail === "your@email.com" || !e.sendSubmissionsToEmail)) {
3338
+ const g = "SubmissionsToEmail is required when sendSubmissionsTo is set to email";
3339
+ console.error(g), i("error"), c({ formErrorMessage: g });
3333
3340
  return;
3334
- i("sending");
3341
+ }
3335
3342
  const T = `${Xn() === "dev" ? "http://localhost:5000" : "https://builder.io"}/api/v1/form-submit?apiKey=${e.builderContext.apiKey}&to=${btoa(
3336
3343
  e.sendSubmissionsToEmail || ""
3337
3344
  )}&name=${encodeURIComponent(e.name || "")}`, I = e.sendSubmissionsTo === "email" ? T : e.action;
3338
3345
  Oe(I), fetch(I, { body: p, headers: h, method: e.method || "post" }).then(
3339
- async (b) => {
3340
- let S;
3341
- const w = b.headers.get("content-type");
3342
- if (w && w.indexOf("application/json") !== -1 ? S = await b.json() : S = await b.text(), !b.ok && e.errorMessagePath) {
3343
- let A = Me(S, e.errorMessagePath);
3344
- A && (typeof A != "string" && (A = JSON.stringify(A)), l(A), c({ formErrorMessage: A }));
3346
+ async (g) => {
3347
+ var D, O;
3348
+ let x;
3349
+ const w = g.headers.get("content-type");
3350
+ if (w && w.indexOf("application/json") !== -1 ? x = await g.json() : x = await g.text(), !g.ok) {
3351
+ const $ = new CustomEvent("submit:error", {
3352
+ detail: { error: x, status: g.status }
3353
+ });
3354
+ if ((D = t.current) != null && D.nativeElement && ((O = t.current) == null || O.nativeElement.dispatchEvent($), $.defaultPrevented))
3355
+ return;
3356
+ o(x), i("error");
3357
+ let P = e.errorMessagePath ? Me(x, e.errorMessagePath) : x.message || x.error || x;
3358
+ typeof P != "string" && (P = JSON.stringify(P)), l(P), c({ formErrorMessage: P });
3359
+ return;
3345
3360
  }
3346
- if (a(S), i(b.ok ? "success" : "error"), b.ok) {
3347
- const A = new CustomEvent("submit:success", {
3348
- detail: { res: b, body: S }
3361
+ if (o(x), i(g.ok ? "success" : "error"), g.ok) {
3362
+ const $ = new CustomEvent("submit:success", {
3363
+ detail: { res: g, body: x }
3349
3364
  });
3350
3365
  if (t.current) {
3351
- if (t.current.dispatchEvent(A), A.defaultPrevented)
3366
+ if (t.current.dispatchEvent($), $.defaultPrevented)
3352
3367
  return;
3353
3368
  e.resetFormOnSubmit !== !1 && t.current.reset();
3354
3369
  }
3355
3370
  if (e.successUrl)
3356
3371
  if (t.current) {
3357
- const F = new CustomEvent("route", {
3372
+ const P = new CustomEvent("route", {
3358
3373
  detail: { url: e.successUrl }
3359
3374
  });
3360
- t.current.dispatchEvent(F), F.defaultPrevented || (location.href = e.successUrl);
3375
+ t.current.dispatchEvent(P), P.defaultPrevented || (location.href = e.successUrl);
3361
3376
  } else
3362
3377
  location.href = e.successUrl;
3363
3378
  }
3364
3379
  },
3365
- (b) => {
3366
- const S = new CustomEvent("submit:error", {
3367
- detail: { error: b }
3380
+ (g) => {
3381
+ const x = new CustomEvent("submit:error", {
3382
+ detail: { error: g }
3368
3383
  });
3369
- t.current && (t.current.dispatchEvent(S), S.defaultPrevented) || (a(b), i("error"));
3384
+ t.current && (t.current.dispatchEvent(x), x.defaultPrevented) || (o(g), i("error"));
3370
3385
  }
3371
3386
  );
3372
3387
  }
3373
3388
  }
3374
3389
  return /* @__PURE__ */ W(R, { children: [
3375
3390
  " ",
3376
- /* @__PURE__ */ s("style", { children: ".pre-7acc3b46 { padding: 10px; color: red; text-align: center; }" }),
3391
+ /* @__PURE__ */ s("style", { children: ".pre-7c90c93e { padding: 10px; color: red; text-align: center; }" }),
3377
3392
  " ",
3378
3393
  /* @__PURE__ */ W(
3379
3394
  "form",
@@ -3383,7 +3398,7 @@ function Zn(e) {
3383
3398
  action: !e.sendWithJs && e.action,
3384
3399
  method: e.method,
3385
3400
  name: e.name,
3386
- onSubmit: (g) => f(g),
3401
+ onSubmit: (b) => f(b),
3387
3402
  ...e.attributes,
3388
3403
  children: [
3389
3404
  e.children,
@@ -3403,7 +3418,7 @@ function Zn(e) {
3403
3418
  context: e.builderContext
3404
3419
  }
3405
3420
  ) : null,
3406
- u() === "error" && r ? /* @__PURE__ */ s("pre", { className: "builder-form-error-text pre-7acc3b46", children: JSON.stringify(r, null, 2) }) : null,
3421
+ u() === "error" && r ? /* @__PURE__ */ s("pre", { className: "builder-form-error-text pre-7c90c93e", children: JSON.stringify(r, null, 2) }) : null,
3407
3422
  u() === "success" ? /* @__PURE__ */ s(
3408
3423
  _,
3409
3424
  {
@@ -3475,7 +3490,7 @@ function ti(e) {
3475
3490
  "input",
3476
3491
  {
3477
3492
  ...e.attributes,
3478
- key: O() && e.defaultValue ? e.defaultValue : "default-key",
3493
+ key: L() && e.defaultValue ? e.defaultValue : "default-key",
3479
3494
  placeholder: e.placeholder,
3480
3495
  type: e.type,
3481
3496
  name: e.name,
@@ -3535,7 +3550,7 @@ function ii(e) {
3535
3550
  {
3536
3551
  ...e.attributes,
3537
3552
  value: e.value,
3538
- key: O() && e.defaultValue ? e.defaultValue : "default-key",
3553
+ key: L() && e.defaultValue ? e.defaultValue : "default-key",
3539
3554
  defaultValue: e.defaultValue,
3540
3555
  name: e.name,
3541
3556
  required: e.required
@@ -3569,10 +3584,10 @@ const ri = {
3569
3584
  // TODO: defaultChildren
3570
3585
  // canHaveChildren: true,
3571
3586
  };
3572
- function ai(e) {
3587
+ function oi(e) {
3573
3588
  return /* @__PURE__ */ s("button", { type: "submit", ...e.attributes, children: e.text });
3574
3589
  }
3575
- const oi = {
3590
+ const ai = {
3576
3591
  name: "Form:TextArea",
3577
3592
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Ff74a2f3de58c4c3e939204e5b6b8f6c3",
3578
3593
  inputs: [{
@@ -3638,6 +3653,11 @@ const si = {
3638
3653
  static: !0
3639
3654
  };
3640
3655
  function ci(e) {
3656
+ function t() {
3657
+ const n = e.imgSrc || e.image;
3658
+ if (!(!n || typeof n != "string") && n.match(/builder\.io/))
3659
+ return ne(n);
3660
+ }
3641
3661
  return /* @__PURE__ */ s(
3642
3662
  "img",
3643
3663
  {
@@ -3647,9 +3667,10 @@ function ci(e) {
3647
3667
  },
3648
3668
  alt: e.altText,
3649
3669
  src: e.imgSrc || e.image,
3670
+ srcSet: t(),
3650
3671
  ...e.attributes
3651
3672
  },
3652
- O() && e.imgSrc || "default-key"
3673
+ L() && e.imgSrc || "default-key"
3653
3674
  );
3654
3675
  }
3655
3676
  const ui = {
@@ -3738,7 +3759,7 @@ const ui = {
3738
3759
  }
3739
3760
  };
3740
3761
  function di(e) {
3741
- var o, l, c, u, f, g, m;
3762
+ var a, l, c, u, f, b, m;
3742
3763
  const t = H(null);
3743
3764
  function n() {
3744
3765
  return {
@@ -3764,9 +3785,9 @@ function di(e) {
3764
3785
  ...n()
3765
3786
  };
3766
3787
  }
3767
- const [r, a] = C(() => {
3788
+ const [r, o] = C(() => {
3768
3789
  });
3769
- return P(() => {
3790
+ return V(() => {
3770
3791
  if (e.lazyLoad) {
3771
3792
  const v = new IntersectionObserver(function(d) {
3772
3793
  d.forEach(function(h) {
@@ -3777,17 +3798,17 @@ function di(e) {
3777
3798
  Array.from(p.children).filter(
3778
3799
  (y) => y instanceof HTMLElement && y.tagName === "SOURCE"
3779
3800
  ).forEach((y) => {
3780
- const x = y.dataset.src;
3781
- x && (y.src = x);
3801
+ const S = y.dataset.src;
3802
+ S && (y.src = S);
3782
3803
  }), p.load(), v.unobserve(p);
3783
3804
  } catch (y) {
3784
3805
  console.error("Error loading lazy video:", y);
3785
3806
  }
3786
3807
  });
3787
3808
  });
3788
- t.current && v.observe(t.current), a(v);
3809
+ t.current && v.observe(t.current), o(v);
3789
3810
  }
3790
- }, []), P(() => () => {
3811
+ }, []), V(() => () => {
3791
3812
  r && r.disconnect();
3792
3813
  }, []), /* @__PURE__ */ W(
3793
3814
  "div",
@@ -3806,7 +3827,7 @@ function di(e) {
3806
3827
  style: {
3807
3828
  width: "100%",
3808
3829
  height: "100%",
3809
- ...(o = e.attributes) == null ? void 0 : o.style,
3830
+ ...(a = e.attributes) == null ? void 0 : a.style,
3810
3831
  objectFit: e.fit,
3811
3832
  objectPosition: e.position,
3812
3833
  // Hack to get object fit to work as expected and
@@ -3852,7 +3873,7 @@ function di(e) {
3852
3873
  children: e.children
3853
3874
  }
3854
3875
  ) : null,
3855
- (m = (g = e.builderBlock) == null ? void 0 : g.children) != null && m.length && !e.fitContent ? /* @__PURE__ */ s(
3876
+ (m = (b = e.builderBlock) == null ? void 0 : b.children) != null && m.length && !e.fitContent ? /* @__PURE__ */ s(
3856
3877
  "div",
3857
3878
  {
3858
3879
  style: {
@@ -3886,14 +3907,14 @@ const mi = () => [{
3886
3907
  component: ti,
3887
3908
  ...ei
3888
3909
  }, {
3889
- component: ai,
3910
+ component: oi,
3890
3911
  ...ri
3891
3912
  }, {
3892
3913
  component: ii,
3893
3914
  ...ni
3894
3915
  }, {
3895
3916
  component: li,
3896
- ...oi
3917
+ ...ai
3897
3918
  }, {
3898
3919
  component: ci,
3899
3920
  ...si
@@ -3924,7 +3945,7 @@ const mi = () => [{
3924
3945
  }, {
3925
3946
  component: Mn,
3926
3947
  ...Hn
3927
- }, ...rt.includes(D) ? [{
3948
+ }, ...rt.includes(F) ? [{
3928
3949
  component: $n,
3929
3950
  ...Wn
3930
3951
  }] : [], {
@@ -4026,18 +4047,18 @@ const mi = () => [{
4026
4047
  thisScriptEl?.remove();
4027
4048
  }
4028
4049
  return;
4029
- }`, ot = "builderIoAbTest", lt = "builderIoRenderContent", re = (e) => Object.values((e == null ? void 0 : e.variations) || {}).map((t) => ({
4050
+ }`, at = "builderIoAbTest", lt = "builderIoRenderContent", oe = (e) => Object.values((e == null ? void 0 : e.variations) || {}).map((t) => ({
4030
4051
  ...t,
4031
4052
  testVariationId: t.id,
4032
4053
  id: e == null ? void 0 : e.id
4033
4054
  })), gi = ({
4034
4055
  canTrack: e,
4035
4056
  content: t
4036
- }) => !(!(re(t).length > 0) || !e || M()), bi = (e) => e === "react" || e === "reactNative", yi = D === "angular", st = bi(D), pi = () => `
4037
- window.${ot} = ${fi}
4057
+ }) => !(!(oe(t).length > 0) || !e || M()), bi = (e) => e === "react" || e === "reactNative", yi = F === "angular", st = bi(F), pi = () => `
4058
+ window.${at} = ${fi}
4038
4059
  window.${lt} = ${hi}
4039
4060
  `, vi = (e, t) => `
4040
- window.${ot}(
4061
+ window.${at}(
4041
4062
  "${t}",${JSON.stringify(e)}, ${st}, ${yi}
4042
4063
  )`, xi = ({
4043
4064
  contentId: e,
@@ -4066,10 +4087,10 @@ const Si = (e, t, n = !0) => {
4066
4087
  event: e,
4067
4088
  target: t
4068
4089
  }) => {
4069
- const n = t.getBoundingClientRect(), i = e.clientX - n.left, r = e.clientY - n.top, a = We(i / n.width), o = We(r / n.height);
4090
+ const n = t.getBoundingClientRect(), i = e.clientX - n.left, r = e.clientY - n.top, o = We(i / n.width), a = We(r / n.height);
4070
4091
  return {
4071
- x: a,
4072
- y: o
4092
+ x: o,
4093
+ y: a
4073
4094
  };
4074
4095
  }, Ci = (e) => {
4075
4096
  const t = e.target, n = t && ki(t), i = (n == null ? void 0 : n.getAttribute("builder-id")) || (n == null ? void 0 : n.id);
@@ -4087,9 +4108,9 @@ const Si = (e, t, n = !0) => {
4087
4108
  builderElementIndex: n && i ? [].slice.call(document.getElementsByClassName(i)).indexOf(n) : void 0
4088
4109
  }
4089
4110
  };
4090
- }, Ti = ["svelte", "qwik", "vue"], De = () => Ti.includes(D) && (O() || le()), Ii = (e) => {
4091
- var a, o;
4092
- const t = e.family + (e.kind && !e.kind.includes("#") ? ", " + e.kind : ""), n = t.split(",")[0], i = (o = e.fileUrl) != null ? o : (a = e == null ? void 0 : e.files) == null ? void 0 : a.regular;
4111
+ }, Ti = ["svelte", "qwik", "vue"], De = () => Ti.includes(F) && (L() || se()), Ii = (e) => {
4112
+ var o, a;
4113
+ const t = e.family + (e.kind && !e.kind.includes("#") ? ", " + e.kind : ""), n = t.split(",")[0], i = (a = e.fileUrl) != null ? a : (o = e == null ? void 0 : e.files) == null ? void 0 : o.regular;
4093
4114
  let r = "";
4094
4115
  if (i && t && n && (r += `
4095
4116
  @font-face {
@@ -4140,37 +4161,37 @@ font-weight: ${l};
4140
4161
  }
4141
4162
  `, Pi = (e) => e ? "" : Ri, Vi = (e) => `variant-${e}`;
4142
4163
  function Ai(e) {
4143
- var x, k, V;
4164
+ var S, k, A;
4144
4165
  const t = H(null);
4145
4166
  C(() => !1);
4146
4167
  function n(T) {
4147
- var b, S;
4168
+ var g, x;
4148
4169
  const I = {
4149
4170
  ...e.builderContextSignal.rootState,
4150
4171
  ...T
4151
4172
  };
4152
- e.builderContextSignal.rootSetState ? (S = (b = e.builderContextSignal).rootSetState) == null || S.call(b, I) : e.setBuilderContextSignal((w) => ({
4173
+ e.builderContextSignal.rootSetState ? (x = (g = e.builderContextSignal).rootSetState) == null || x.call(g, I) : e.setBuilderContextSignal((w) => ({
4153
4174
  ...w,
4154
4175
  rootState: I
4155
4176
  }));
4156
4177
  }
4157
4178
  function i(T) {
4158
- var b, S, w, A, F;
4179
+ var g, x, w, D, O;
4159
4180
  const I = {
4160
4181
  ...e.builderContextSignal.content,
4161
4182
  ...T,
4162
4183
  data: {
4163
- ...(b = e.builderContextSignal.content) == null ? void 0 : b.data,
4184
+ ...(g = e.builderContextSignal.content) == null ? void 0 : g.data,
4164
4185
  ...T == null ? void 0 : T.data
4165
4186
  },
4166
4187
  meta: {
4167
- ...(S = e.builderContextSignal.content) == null ? void 0 : S.meta,
4188
+ ...(x = e.builderContextSignal.content) == null ? void 0 : x.meta,
4168
4189
  ...T == null ? void 0 : T.meta,
4169
- breakpoints: ((w = T == null ? void 0 : T.meta) == null ? void 0 : w.breakpoints) || ((F = (A = e.builderContextSignal.content) == null ? void 0 : A.meta) == null ? void 0 : F.breakpoints)
4190
+ breakpoints: ((w = T == null ? void 0 : T.meta) == null ? void 0 : w.breakpoints) || ((O = (D = e.builderContextSignal.content) == null ? void 0 : D.meta) == null ? void 0 : O.breakpoints)
4170
4191
  }
4171
4192
  };
4172
- e.setBuilderContextSignal((L) => ({
4173
- ...L,
4193
+ e.setBuilderContextSignal(($) => ({
4194
+ ...$,
4174
4195
  content: I
4175
4196
  }));
4176
4197
  }
@@ -4180,7 +4201,7 @@ function Ai(e) {
4180
4201
  "aria-hidden": !0
4181
4202
  };
4182
4203
  }
4183
- const [a, o] = C(
4204
+ const [o, a] = C(
4184
4205
  () => e.contentWrapper || "div"
4185
4206
  );
4186
4207
  function l(T) {
@@ -4190,10 +4211,10 @@ function Ai(e) {
4190
4211
  callbacks: {
4191
4212
  configureSdk: (I) => {
4192
4213
  var w;
4193
- const { breakpoints: b, contentId: S } = I;
4194
- !S || S !== ((w = e.builderContextSignal.content) == null ? void 0 : w.id) || b && i({
4214
+ const { breakpoints: g, contentId: x } = I;
4215
+ !x || x !== ((w = e.builderContextSignal.content) == null ? void 0 : w.id) || g && i({
4195
4216
  meta: {
4196
- breakpoints: b
4217
+ breakpoints: g
4197
4218
  }
4198
4219
  });
4199
4220
  },
@@ -4209,18 +4230,18 @@ function Ai(e) {
4209
4230
  }
4210
4231
  })(T);
4211
4232
  }
4212
- const [c, u] = C(() => ({})), [f, g] = C(() => ({})), [m, v] = C(() => !1);
4233
+ const [c, u] = C(() => ({})), [f, b] = C(() => ({})), [m, v] = C(() => !1);
4213
4234
  function d(T) {
4214
- var I, b;
4235
+ var I, g;
4215
4236
  if (e.builderContextSignal.content) {
4216
- const S = (I = e.builderContextSignal.content) == null ? void 0 : I.testVariationId, w = (b = e.builderContextSignal.content) == null ? void 0 : b.id;
4237
+ const x = (I = e.builderContextSignal.content) == null ? void 0 : I.testVariationId, w = (g = e.builderContextSignal.content) == null ? void 0 : g.id;
4217
4238
  Te({
4218
4239
  apiHost: e.apiHost,
4219
4240
  type: "click",
4220
4241
  canTrack: Z(e.canTrack),
4221
4242
  contentId: w,
4222
4243
  apiKey: e.apiKey,
4223
- variationId: S !== w ? S : void 0,
4244
+ variationId: x !== w ? x : void 0,
4224
4245
  ...Ci(T),
4225
4246
  unique: !m
4226
4247
  });
@@ -4228,17 +4249,17 @@ function Ai(e) {
4228
4249
  m || v(!0);
4229
4250
  }
4230
4251
  function h() {
4231
- var I, b, S;
4232
- const T = (S = (b = (I = e.builderContextSignal.content) == null ? void 0 : I.data) == null ? void 0 : b.httpRequests) != null ? S : {};
4233
- Object.entries(T).forEach(([w, A]) => {
4234
- if (!A || f[w] || c[w] && !O())
4252
+ var I, g, x;
4253
+ const T = (x = (g = (I = e.builderContextSignal.content) == null ? void 0 : I.data) == null ? void 0 : g.httpRequests) != null ? x : {};
4254
+ Object.entries(T).forEach(([w, D]) => {
4255
+ if (!D || f[w] || c[w] && !L())
4235
4256
  return;
4236
4257
  f[w] = !0;
4237
- const F = A.replace(
4258
+ const O = D.replace(
4238
4259
  /{{([^}]+)}}/g,
4239
- (L, $) => String(
4260
+ ($, P) => String(
4240
4261
  G({
4241
- code: $,
4262
+ code: P,
4242
4263
  context: e.context || {},
4243
4264
  localState: void 0,
4244
4265
  rootState: e.builderContextSignal.rootState,
@@ -4246,19 +4267,19 @@ function Ai(e) {
4246
4267
  })
4247
4268
  )
4248
4269
  );
4249
- Oe(F), fetch(F).then((L) => L.json()).then((L) => {
4270
+ Oe(O), fetch(O).then(($) => $.json()).then(($) => {
4250
4271
  n({
4251
- [w]: L
4272
+ [w]: $
4252
4273
  }), c[w] = !0;
4253
- }).catch((L) => {
4254
- console.error("error fetching dynamic data", A, L);
4274
+ }).catch(($) => {
4275
+ console.error("error fetching dynamic data", D, $);
4255
4276
  }).finally(() => {
4256
4277
  f[w] = !1;
4257
4278
  });
4258
4279
  });
4259
4280
  }
4260
4281
  function p() {
4261
- O() && window.dispatchEvent(
4282
+ L() && window.dispatchEvent(
4262
4283
  new CustomEvent(
4263
4284
  "builder:component:stateChange",
4264
4285
  {
@@ -4273,10 +4294,10 @@ function Ai(e) {
4273
4294
  );
4274
4295
  }
4275
4296
  const y = H(!1);
4276
- return y.current || (h(), p(), y.current = !0), P(() => {
4277
- var T, I, b, S, w;
4297
+ return y.current || (h(), p(), y.current = !0), V(() => {
4298
+ var T, I, g, x, w;
4278
4299
  if (M()) {
4279
- O() && !e.isNestedRender && (window.addEventListener("message", l), ut(), dt({
4300
+ L() && !e.isNestedRender && (window.addEventListener("message", l), ut(), dt({
4280
4301
  ...e.locale ? {
4281
4302
  locale: e.locale
4282
4303
  } : {},
@@ -4290,35 +4311,35 @@ function Ai(e) {
4290
4311
  apiKey: e.apiKey
4291
4312
  }), Object.values(
4292
4313
  e.builderContextSignal.componentInfos
4293
- ).forEach(($) => {
4314
+ ).forEach((P) => {
4294
4315
  var U, E;
4295
- if (!((U = $.models) != null && U.length) || $.models.includes(e.model)) {
4296
- const B = mt($);
4316
+ if (!((U = P.models) != null && U.length) || P.models.includes(e.model)) {
4317
+ const B = mt(P);
4297
4318
  (E = window.parent) == null || E.postMessage(B, "*");
4298
4319
  }
4299
4320
  }), window.addEventListener(
4300
4321
  "builder:component:stateChangeListenerActivated",
4301
4322
  p
4302
4323
  ));
4303
- const A = e.builderContextSignal.content && Z(e.canTrack), F = ft({
4324
+ const D = e.builderContextSignal.content && Z(e.canTrack), O = ft({
4304
4325
  name: `builder.tests.${(I = e.builderContextSignal.content) == null ? void 0 : I.id}`,
4305
4326
  canTrack: !0
4306
- }), L = (b = e.builderContextSignal.content) == null ? void 0 : b.testVariationId;
4307
- if (A && L === F) {
4308
- const $ = (S = e.builderContextSignal.content) == null ? void 0 : S.id, U = e.apiKey;
4327
+ }), $ = (g = e.builderContextSignal.content) == null ? void 0 : g.testVariationId;
4328
+ if (D && $ === O) {
4329
+ const P = (x = e.builderContextSignal.content) == null ? void 0 : x.id, U = e.apiKey;
4309
4330
  Te({
4310
4331
  apiHost: e.apiHost,
4311
4332
  type: "impression",
4312
4333
  canTrack: !0,
4313
- contentId: $,
4334
+ contentId: P,
4314
4335
  apiKey: U,
4315
- variationId: F !== $ ? F : void 0
4336
+ variationId: O !== P ? O : void 0
4316
4337
  });
4317
4338
  }
4318
- if (le() && !O()) {
4319
- const $ = new URL(location.href).searchParams, U = $.get("builder.preview"), E = $.get(
4339
+ if (se() && !L()) {
4340
+ const P = new URL(location.href).searchParams, U = P.get("builder.preview"), E = P.get(
4320
4341
  `builder.overrides.${U}`
4321
- ), B = $.get("apiKey") || $.get("builder.space");
4342
+ ), B = P.get("apiKey") || P.get("builder.space");
4322
4343
  (U === "BUILDER_STUDIO" || U === e.model && B === e.apiKey && (!e.content || E === e.content.id)) && Le({
4323
4344
  model: e.model,
4324
4345
  apiKey: e.apiKey,
@@ -4333,30 +4354,30 @@ function Ai(e) {
4333
4354
  });
4334
4355
  }
4335
4356
  }
4336
- }, []), P(() => {
4357
+ }, []), V(() => {
4337
4358
  e.content && i(e.content);
4338
- }, [e.content]), P(() => {
4359
+ }, [e.content]), V(() => {
4339
4360
  p();
4340
- }, [e.builderContextSignal.rootState]), P(() => {
4361
+ }, [e.builderContextSignal.rootState]), V(() => {
4341
4362
  e.data && n(e.data);
4342
- }, [e.data]), P(() => {
4363
+ }, [e.data]), V(() => {
4343
4364
  e.locale && n({
4344
4365
  locale: e.locale
4345
4366
  });
4346
- }, [e.locale]), P(() => () => {
4367
+ }, [e.locale]), V(() => () => {
4347
4368
  M() && (window.removeEventListener("message", l), window.removeEventListener(
4348
4369
  "builder:component:stateChangeListenerActivated",
4349
4370
  p
4350
4371
  ));
4351
4372
  }, []), /* @__PURE__ */ s(pe.Provider, { value: e.builderContextSignal, children: e.builderContextSignal.content || De() ? /* @__PURE__ */ s(
4352
- a,
4373
+ o,
4353
4374
  {
4354
4375
  ref: t,
4355
4376
  onClick: (T) => d(T),
4356
- "builder-content-id": (x = e.builderContextSignal.content) == null ? void 0 : x.id,
4377
+ "builder-content-id": (S = e.builderContextSignal.content) == null ? void 0 : S.id,
4357
4378
  "builder-model": e.model,
4358
4379
  className: Vi(
4359
- ((k = e.content) == null ? void 0 : k.testVariationId) || ((V = e.content) == null ? void 0 : V.id)
4380
+ ((k = e.content) == null ? void 0 : k.testVariationId) || ((A = e.content) == null ? void 0 : A.id)
4360
4381
  ),
4361
4382
  style: {
4362
4383
  display: !e.builderContextSignal.content && De() ? "none" : void 0
@@ -4394,9 +4415,9 @@ const Ni = ({
4394
4415
  data: t,
4395
4416
  locale: n
4396
4417
  }) => {
4397
- var a, o, l;
4398
- const i = {}, r = ((a = e == null ? void 0 : e.data) == null ? void 0 : a.state) || {};
4399
- return (l = (o = e == null ? void 0 : e.data) == null ? void 0 : o.inputs) == null || l.forEach((c) => {
4418
+ var o, a, l;
4419
+ const i = {}, r = ((o = e == null ? void 0 : e.data) == null ? void 0 : o.state) || {};
4420
+ return (l = (a = e == null ? void 0 : e.data) == null ? void 0 : a.inputs) == null || l.forEach((c) => {
4400
4421
  c.name && c.defaultValue !== void 0 && (i[c.name] = c.defaultValue);
4401
4422
  }), {
4402
4423
  ...i,
@@ -4418,39 +4439,39 @@ const Ni = ({
4418
4439
  meta: e == null ? void 0 : e.meta
4419
4440
  } : void 0;
4420
4441
  function Fe(e) {
4421
- var u, f, g, m, v, d, h, p, y;
4442
+ var u, f, b, m, v, d, h, p, y;
4422
4443
  const [t, n] = C(
4423
4444
  () => {
4424
- var x, k;
4445
+ var S, k;
4425
4446
  return xi({
4426
4447
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
4427
- variationId: (x = e.content) == null ? void 0 : x.testVariationId,
4448
+ variationId: (S = e.content) == null ? void 0 : S.testVariationId,
4428
4449
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
4429
4450
  contentId: (k = e.content) == null ? void 0 : k.id
4430
4451
  });
4431
4452
  }
4432
4453
  );
4433
- function i(x) {
4454
+ function i(S) {
4434
4455
  l((k) => ({
4435
4456
  ...k,
4436
- rootState: x
4457
+ rootState: S
4437
4458
  }));
4438
4459
  }
4439
- const [r, a] = C(
4460
+ const [r, o] = C(
4440
4461
  () => [
4441
4462
  ...Ne(),
4442
4463
  ...e.customComponents || []
4443
4464
  ].reduce(
4444
- (x, { component: k, ...V }) => ({
4445
- ...x,
4446
- [V.name]: {
4465
+ (S, { component: k, ...A }) => ({
4466
+ ...S,
4467
+ [A.name]: {
4447
4468
  component: k,
4448
- ...Ie(V)
4469
+ ...Ie(A)
4449
4470
  }
4450
4471
  }),
4451
4472
  {}
4452
4473
  )
4453
- ), [o, l] = C(() => ({
4474
+ ), [a, l] = C(() => ({
4454
4475
  content: Wi({
4455
4476
  content: e.content,
4456
4477
  data: e.data
@@ -4470,9 +4491,9 @@ function Fe(e) {
4470
4491
  ...Ne(),
4471
4492
  ...e.customComponents || []
4472
4493
  ].reduce(
4473
- (x, { component: k, ...V }) => ({
4474
- ...x,
4475
- [V.name]: Ie(V)
4494
+ (S, { component: k, ...A }) => ({
4495
+ ...S,
4496
+ [A.name]: Ie(A)
4476
4497
  }),
4477
4498
  {}
4478
4499
  ),
@@ -4486,14 +4507,14 @@ function Fe(e) {
4486
4507
  e.apiKey || J.error(
4487
4508
  "No API key provided to `Content` component. This can cause issues. Please provide an API key using the `apiKey` prop."
4488
4509
  );
4489
- const x = (f = (u = o.content) == null ? void 0 : u.data) == null ? void 0 : f.jsCode;
4490
- x && G({
4491
- code: x,
4510
+ const S = (f = (u = a.content) == null ? void 0 : u.data) == null ? void 0 : f.jsCode;
4511
+ S && G({
4512
+ code: S,
4492
4513
  context: e.context || {},
4493
4514
  localState: void 0,
4494
- rootState: o.rootState,
4515
+ rootState: a.rootState,
4495
4516
  rootSetState: (k) => {
4496
- Object.assign(o.rootState, k);
4517
+ Object.assign(a.rootState, k);
4497
4518
  },
4498
4519
  isExpression: !1
4499
4520
  }), c.current = !0;
@@ -4518,7 +4539,7 @@ function Fe(e) {
4518
4539
  locale: e.locale,
4519
4540
  enrich: e.enrich,
4520
4541
  showContent: e.showContent,
4521
- builderContextSignal: o,
4542
+ builderContextSignal: a,
4522
4543
  contentWrapper: e.contentWrapper,
4523
4544
  contentWrapperProps: e.contentWrapperProps,
4524
4545
  trustedHosts: e.trustedHosts,
@@ -4538,16 +4559,16 @@ function Fe(e) {
4538
4559
  {
4539
4560
  nonce: e.nonce || "",
4540
4561
  isNestedRender: e.isNestedRender,
4541
- contentId: (g = o.content) == null ? void 0 : g.id,
4542
- cssCode: (v = (m = o.content) == null ? void 0 : m.data) == null ? void 0 : v.cssCode,
4543
- customFonts: (h = (d = o.content) == null ? void 0 : d.data) == null ? void 0 : h.customFonts
4562
+ contentId: (b = a.content) == null ? void 0 : b.id,
4563
+ cssCode: (v = (m = a.content) == null ? void 0 : m.data) == null ? void 0 : v.cssCode,
4564
+ customFonts: (h = (d = a.content) == null ? void 0 : d.data) == null ? void 0 : h.customFonts
4544
4565
  }
4545
4566
  ),
4546
4567
  /* @__PURE__ */ s(
4547
4568
  _,
4548
4569
  {
4549
- blocks: (y = (p = o.content) == null ? void 0 : p.data) == null ? void 0 : y.blocks,
4550
- context: o,
4570
+ blocks: (y = (p = a.content) == null ? void 0 : p.data) == null ? void 0 : y.blocks,
4571
+ context: a,
4551
4572
  registeredComponents: r,
4552
4573
  linkComponent: e.linkComponent
4553
4574
  }
@@ -4559,7 +4580,7 @@ function Fe(e) {
4559
4580
  );
4560
4581
  }
4561
4582
  function $i(e) {
4562
- var o;
4583
+ var a;
4563
4584
  const [t, n] = C(
4564
4585
  () => gi({
4565
4586
  canTrack: Z(e.canTrack),
@@ -4569,7 +4590,7 @@ function $i(e) {
4569
4590
  function i() {
4570
4591
  var l;
4571
4592
  return vi(
4572
- re(e.content).map((c) => ({
4593
+ oe(e.content).map((c) => ({
4573
4594
  id: c.testVariationId,
4574
4595
  testRatio: c.testRatio
4575
4596
  })),
@@ -4577,9 +4598,9 @@ function $i(e) {
4577
4598
  );
4578
4599
  }
4579
4600
  function r() {
4580
- return re(e.content).map((l) => `.variant-${l.testVariationId} { display: none; } `).join("");
4601
+ return oe(e.content).map((l) => `.variant-${l.testVariationId} { display: none; } `).join("");
4581
4602
  }
4582
- function a() {
4603
+ function o() {
4583
4604
  var l;
4584
4605
  return t ? {
4585
4606
  ...e.content,
@@ -4589,9 +4610,9 @@ function $i(e) {
4589
4610
  canTrack: Z(e.canTrack)
4590
4611
  });
4591
4612
  }
4592
- return P(() => {
4613
+ return V(() => {
4593
4614
  }, []), /* @__PURE__ */ W(R, { children: [
4594
- !e.isNestedRender && D !== "reactNative" ? /* @__PURE__ */ W(R, { children: [
4615
+ !e.isNestedRender && F !== "reactNative" ? /* @__PURE__ */ W(R, { children: [
4595
4616
  /* @__PURE__ */ s(
4596
4617
  j,
4597
4618
  {
@@ -4600,7 +4621,7 @@ function $i(e) {
4600
4621
  nonce: e.nonce || ""
4601
4622
  }
4602
4623
  ),
4603
- rt.includes(D) ? /* @__PURE__ */ s(
4624
+ rt.includes(F) ? /* @__PURE__ */ s(
4604
4625
  j,
4605
4626
  {
4606
4627
  id: "builderio-init-personalization-variants-fns",
@@ -4626,7 +4647,7 @@ function $i(e) {
4626
4647
  nonce: e.nonce || ""
4627
4648
  }
4628
4649
  ),
4629
- (o = re(e.content)) == null ? void 0 : o.map((l) => /* @__PURE__ */ s(
4650
+ (a = oe(e.content)) == null ? void 0 : a.map((l) => /* @__PURE__ */ s(
4630
4651
  Fe,
4631
4652
  {
4632
4653
  apiHost: e.apiHost,
@@ -4660,7 +4681,7 @@ function $i(e) {
4660
4681
  apiHost: e.apiHost,
4661
4682
  nonce: e.nonce,
4662
4683
  isNestedRender: e.isNestedRender,
4663
- content: a(),
4684
+ content: o(),
4664
4685
  showContent: !0,
4665
4686
  model: e.model,
4666
4687
  data: e.data,
@@ -4702,7 +4723,7 @@ const Di = async ({
4702
4723
  });
4703
4724
  };
4704
4725
  function Fi(e) {
4705
- var u, f, g, m, v;
4726
+ var u, f, b, m, v;
4706
4727
  function t() {
4707
4728
  return "div";
4708
4729
  }
@@ -4718,25 +4739,25 @@ function Fi(e) {
4718
4739
  (h = e.symbol) != null && h.dynamic || e.dynamic ? "builder-dynamic-symbol" : void 0
4719
4740
  ].filter(Boolean).join(" ");
4720
4741
  }
4721
- const [r, a] = C(() => {
4742
+ const [r, o] = C(() => {
4722
4743
  var d;
4723
4744
  return (d = e.symbol) == null ? void 0 : d.content;
4724
- }), [o, l] = C(() => {
4745
+ }), [a, l] = C(() => {
4725
4746
  var d;
4726
4747
  return (d = e.symbol) == null ? void 0 : d.entry;
4727
4748
  });
4728
4749
  function c() {
4729
4750
  var d;
4730
- r && o === ((d = e.symbol) == null ? void 0 : d.entry) || Di({
4751
+ r && a === ((d = e.symbol) == null ? void 0 : d.entry) || Di({
4731
4752
  symbol: e.symbol,
4732
4753
  builderContextValue: e.builderContext
4733
4754
  }).then((h) => {
4734
4755
  var p;
4735
- h && (a(h), l((p = e.symbol) == null ? void 0 : p.entry));
4756
+ h && (o(h), l((p = e.symbol) == null ? void 0 : p.entry));
4736
4757
  });
4737
4758
  }
4738
- return P(() => {
4739
- }, []), P(() => {
4759
+ return V(() => {
4760
+ }, []), V(() => {
4740
4761
  c();
4741
4762
  }, [e.symbol]), /* @__PURE__ */ s("div", { ...e.attributes, className: i(), children: /* @__PURE__ */ s(
4742
4763
  $i,
@@ -4753,7 +4774,7 @@ function Fi(e) {
4753
4774
  data: {
4754
4775
  ...(f = e.symbol) == null ? void 0 : f.data,
4755
4776
  ...e.builderContext.localState,
4756
- ...(g = r == null ? void 0 : r.data) == null ? void 0 : g.state
4777
+ ...(b = r == null ? void 0 : r.data) == null ? void 0 : b.state
4757
4778
  },
4758
4779
  canTrack: e.builderContext.canTrack,
4759
4780
  model: (v = (m = e.symbol) == null ? void 0 : m.model) != null ? v : "",