@builder.io/sdk-react 4.1.1 → 4.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (70) hide show
  1. package/lib/browser/blocks-exports.cjs +2 -2
  2. package/lib/browser/blocks-exports.mjs +246 -246
  3. package/lib/browser/index.cjs +1 -1
  4. package/lib/browser/index.mjs +1 -1
  5. package/lib/browser/{server-entry-7fc3706d.js → server-entry-275748e0.js} +120 -144
  6. package/lib/browser/server-entry-d2f19ab1.cjs +2 -0
  7. package/lib/browser/server-entry.cjs +1 -1
  8. package/lib/browser/server-entry.mjs +1 -1
  9. package/lib/edge/{accordion-97979a98.cjs → accordion-59377bdf.cjs} +1 -1
  10. package/lib/edge/{accordion-52165801.js → accordion-59685072.js} +1 -1
  11. package/lib/edge/{blocks-f69d48c0.js → blocks-803a3669.js} +2 -2
  12. package/lib/edge/{blocks-b38b39ff.cjs → blocks-ab4caea4.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-3acce335.js → button-244756d9.js} +2 -2
  16. package/lib/edge/{button-c2b48e86.cjs → button-d9ead397.cjs} +1 -1
  17. package/lib/edge/{columns-600ece77.cjs → columns-88904faf.cjs} +1 -1
  18. package/lib/edge/{columns-301795ee.js → columns-ac088b45.js} +3 -3
  19. package/lib/edge/{content-variants-d80a626a.js → content-variants-7ba31977.js} +133 -133
  20. package/lib/edge/{content-variants-cb452ad4.cjs → content-variants-d0558de3.cjs} +5 -5
  21. package/lib/edge/{custom-code-38a0e487.js → custom-code-3d893bd2.js} +1 -1
  22. package/lib/edge/{custom-code-381f399e.cjs → custom-code-e2904013.cjs} +1 -1
  23. package/lib/edge/{embed-57e9672d.cjs → embed-7710e674.cjs} +1 -1
  24. package/lib/edge/{embed-3e62c6c0.js → embed-7c2fe6ce.js} +1 -1
  25. package/lib/edge/{form-01ee1ef4.js → form-a5b57678.js} +3 -3
  26. package/lib/edge/{form-dfb33605.cjs → form-ec1cd318.cjs} +1 -1
  27. package/lib/edge/{get-class-prop-name-7a52ddda.cjs → get-class-prop-name-31bfc4d6.cjs} +1 -1
  28. package/lib/edge/{get-class-prop-name-ca3fff6a.js → get-class-prop-name-4ca8bda9.js} +1 -1
  29. package/lib/edge/{img-35c030d0.js → img-1b034d45.js} +1 -1
  30. package/lib/edge/{img-ff08ac3a.cjs → img-f00b7db5.cjs} +1 -1
  31. package/lib/edge/index.cjs +1 -1
  32. package/lib/edge/index.mjs +1 -1
  33. package/lib/edge/{input-bd84e8ab.cjs → input-19390442.cjs} +1 -1
  34. package/lib/edge/{input-d466ec13.js → input-dfd8b37e.js} +1 -1
  35. package/lib/edge/{personalization-container-8b04de3e.cjs → personalization-container-40c62fee.cjs} +1 -1
  36. package/lib/edge/{personalization-container-87ff6375.js → personalization-container-660938a9.js} +4 -4
  37. package/lib/edge/{select-5d4ffe3b.js → select-155fc504.js} +1 -1
  38. package/lib/edge/{select-ef4ce171.cjs → select-9839622b.cjs} +1 -1
  39. package/lib/edge/{server-entry-db512751.js → server-entry-75006b6f.js} +119 -143
  40. package/lib/edge/server-entry-bdf7aa30.cjs +2 -0
  41. package/lib/edge/server-entry.cjs +1 -1
  42. package/lib/edge/server-entry.mjs +1 -1
  43. package/lib/edge/{slot-78b8ee2b.cjs → slot-28225152.cjs} +1 -1
  44. package/lib/edge/{slot-d0cbcacf.js → slot-c14c2de1.js} +3 -3
  45. package/lib/edge/{symbol-2e54d716.js → symbol-2419b184.js} +2 -2
  46. package/lib/edge/{symbol-6d9bb0a7.cjs → symbol-e5dc7a91.cjs} +1 -1
  47. package/lib/edge/{tabs-b8c2b851.js → tabs-c7011fa2.js} +3 -3
  48. package/lib/edge/{tabs-3f775737.cjs → tabs-d7aa6ac2.cjs} +1 -1
  49. package/lib/node/blocks-exports.cjs +2 -2
  50. package/lib/node/blocks-exports.mjs +244 -244
  51. package/lib/node/index.cjs +1 -1
  52. package/lib/node/index.mjs +3 -3
  53. package/lib/node/init.cjs +1 -1
  54. package/lib/node/init.mjs +3 -3
  55. package/lib/node/{server-entry-b0a12b94.js → server-entry-0cf21855.js} +120 -144
  56. package/lib/node/server-entry-7a611f62.cjs +2 -0
  57. package/lib/node/server-entry.cjs +1 -1
  58. package/lib/node/server-entry.mjs +1 -1
  59. package/lib/node/{setIvm-f591fbda.js → setIvm-4171d613.js} +1 -1
  60. package/lib/node/{setIvm-513e193d.cjs → setIvm-68685828.cjs} +1 -1
  61. package/lib/node/setIvm.cjs +1 -1
  62. package/lib/node/setIvm.mjs +2 -2
  63. package/lib/node/{should-force-browser-runtime-in-node-0fb1bbdd.cjs → should-force-browser-runtime-in-node-88656beb.cjs} +1 -1
  64. package/lib/node/{should-force-browser-runtime-in-node-da05f5c3.js → should-force-browser-runtime-in-node-9fe42073.js} +1 -1
  65. package/package.json +1 -1
  66. package/types/constants/sdk-version.d.ts +1 -1
  67. package/types/scripts/init-editing.d.ts +0 -1
  68. package/lib/browser/server-entry-7291b0a0.cjs +0 -2
  69. package/lib/edge/server-entry-afc62633.cjs +0 -2
  70. package/lib/node/server-entry-47ceca47.cjs +0 -2
@@ -1,12 +1,12 @@
1
1
  "use client";
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-7fc3706d.js";
3
- import { setClientUserAttributes as Mi } from "./server-entry-7fc3706d.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, setupBrowserForEditing as ut, createRegisterComponentMessage as dt, getCookieSync as mt, _track as Te, fetchOneEntry as Le, createEditorListener as ft, serializeIncludingFunctions as Ie, handleABTestingSync as ht } from "./server-entry-275748e0.js";
3
+ import { setClientUserAttributes as Hi } from "./server-entry-275748e0.js";
4
4
  import { jsx as s, Fragment as R, jsxs as W } from "react/jsx-runtime";
5
- import * as bt from "react";
5
+ import * as gt from "react";
6
6
  import { createContext as _e, useEffect as V, useState as C, useRef as H, useContext as we, createElement as Ue } from "react";
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());
7
+ const bt = /* @__PURE__ */ new Set(["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen", "link", "meta", "param", "source", "track", "wbr"]), yt = (e) => typeof e == "string" && bt.has(e.toLowerCase());
8
8
  function ye(e) {
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 }) }) });
9
+ return /* @__PURE__ */ s(R, { children: yt(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
12
  switch (F) {
@@ -22,7 +22,7 @@ const z = () => {
22
22
  return "class";
23
23
  }
24
24
  };
25
- function vt(e) {
25
+ function pt(e) {
26
26
  function t() {
27
27
  return {
28
28
  ...e.attributes,
@@ -64,7 +64,7 @@ const pe = _e({
64
64
  }), He = _e({ registeredComponents: {} }), Me = (e, t, n) => {
65
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
- }, xt = ({
67
+ }, vt = ({
68
68
  builder: e,
69
69
  context: t,
70
70
  event: n,
@@ -76,12 +76,12 @@ const pe = _e({
76
76
  builder: e,
77
77
  context: t,
78
78
  event: n
79
- }), St = () => ({
79
+ }), xt = () => ({
80
80
  isEditing: L(),
81
81
  isBrowser: M(),
82
82
  isServer: !M(),
83
83
  getUserAttributes: () => ct()
84
- }), kt = (e, {
84
+ }), St = (e, {
85
85
  isExpression: t = !0
86
86
  }) => /* we disable this for cases where we definitely don't want a return */ t && !(e.includes(";") || e.includes(" return ") || e.trim().startsWith("return ")) ? `return (${e});` : e;
87
87
  function qe({
@@ -118,7 +118,7 @@ const Ee = ({
118
118
  rootSetState: o,
119
119
  rootState: a
120
120
  }) => {
121
- const l = xt({
121
+ const l = vt({
122
122
  builder: t,
123
123
  context: n,
124
124
  event: i,
@@ -130,23 +130,23 @@ const Ee = ({
130
130
  });
131
131
  return new Function(...l.map(([c]) => c), e)(...l.map(([, c]) => c));
132
132
  };
133
- function Ct() {
133
+ function kt() {
134
134
  var e;
135
135
  return typeof process != "undefined" && ae((e = process == null ? void 0 : process.versions) == null ? void 0 : e.node);
136
136
  }
137
- const Tt = ({
137
+ const Ct = ({
138
138
  shouldLogWarning: e
139
139
  }) => {
140
140
  var r;
141
- if (!Ct())
141
+ if (!kt())
142
142
  return !1;
143
143
  const t = process.arch === "arm64", n = process.version.startsWith("v20"), i = (r = process.env.NODE_OPTIONS) == null ? void 0 : r.includes("--no-node-snapshot");
144
144
  return t && n && !i ? (e && J.log("Skipping usage of `isolated-vm` to avoid crashes in Node v20 on an arm64 machine.\n If you would like to use the `isolated-vm` package on this machine, please provide the `NODE_OPTIONS=--no-node-snapshot` config to your Node process.\n See https://github.com/BuilderIO/builder/blob/main/packages/sdks/README.md#node-v20--m1-macs-apple-silicon-support for more information.\n "), !0) : !1;
145
- }, It = (e) => (M() || Tt({
145
+ }, Tt = (e) => (M() || Ct({
146
146
  shouldLogWarning: !0
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) => {
147
+ }), Ee(e)), It = /^(return )?(\s*)?state(?<getPath>(\.\w+)+)(\s*);?$/, wt = /(\s)*var(\s)+_virtual_index(\s)*=(\s)*state(?<getPath>(\.\w+)+)(\s*);?(\s)*return(\s)*_virtual_index(\s)*/, Et = (e) => {
148
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));
149
+ return ((i = (n = (t = It.exec(e.trim())) == null ? void 0 : t.groups) == null ? void 0 : n.getPath) == null ? void 0 : i.slice(1)) || ((a = (o = (r = wt.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,
@@ -159,17 +159,17 @@ function G({
159
159
  }) {
160
160
  if (e.trim() === "")
161
161
  return;
162
- const l = Rt(e.trim());
162
+ const l = Et(e.trim());
163
163
  if (l)
164
164
  return Me({
165
165
  ...i,
166
166
  ...n
167
167
  }, l);
168
168
  const c = {
169
- code: kt(e, {
169
+ code: St(e, {
170
170
  isExpression: a
171
171
  }),
172
- builder: St(),
172
+ builder: xt(),
173
173
  context: t,
174
174
  event: o,
175
175
  rootSetState: r,
@@ -177,7 +177,7 @@ function G({
177
177
  localState: n
178
178
  };
179
179
  try {
180
- return It(c);
180
+ return Tt(c);
181
181
  } catch (u) {
182
182
  J.error("Failed code evaluation: " + u.message, {
183
183
  code: e
@@ -185,15 +185,15 @@ function G({
185
185
  return;
186
186
  }
187
187
  }
188
- function Pt(e, t) {
188
+ function Rt(e, t) {
189
189
  var n;
190
190
  return {
191
191
  ...(n = e.component) == null ? void 0 : n.options,
192
192
  ...e.options,
193
- ...Vt(e, t)
193
+ ...Pt(e, t)
194
194
  };
195
195
  }
196
- const Vt = (e, t) => {
196
+ const Pt = (e, t) => {
197
197
  var n, i;
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 {
@@ -207,7 +207,7 @@ const Vt = (e, t) => {
207
207
  }))
208
208
  };
209
209
  };
210
- function At(e, ...t) {
210
+ function Vt(e, ...t) {
211
211
  const n = Object.assign({}, e);
212
212
  for (const i of t)
213
213
  delete n[i];
@@ -233,7 +233,7 @@ function le(e, t, n = null, i = null, r = /* @__PURE__ */ new WeakSet()) {
233
233
  function je(e) {
234
234
  return e && typeof e == "object" && e["@type"] === "@builder.io/core:LocalizedValue";
235
235
  }
236
- function Bt(e) {
236
+ function At(e) {
237
237
  if (!e || !Object.getOwnPropertyNames(e).length)
238
238
  return !1;
239
239
  let t = !1;
@@ -244,15 +244,15 @@ function Bt(e) {
244
244
  }
245
245
  }), t;
246
246
  }
247
- function Nt(e, t) {
247
+ function Bt(e, t) {
248
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);
252
252
  }
253
- function Wt(e, t) {
253
+ function Nt(e, t) {
254
254
  var n, i;
255
- return (n = e.component) != null && n.options && Bt((i = e.component) == null ? void 0 : i.options) && (t || console.warn("[Builder.io] In order to use localized fields in Builder, you must pass a locale prop to the BuilderComponent or to options object while fetching the content to resolve localized fields. Learn more: https://www.builder.io/c/docs/localization-inline#targeting-and-inline-localization"), e.component.options = Nt(e.component.options, t != null ? t : "Default")), e;
255
+ return (n = e.component) != null && n.options && At((i = e.component) == null ? void 0 : i.options) && (t || console.warn("[Builder.io] In order to use localized fields in Builder, you must pass a locale prop to the BuilderComponent or to options object while fetching the content to resolve localized fields. Learn more: https://www.builder.io/c/docs/localization-inline#targeting-and-inline-localization"), e.component.options = Bt(e.component.options, t != null ? t : "Default")), e;
256
256
  }
257
257
  const ve = (e) => JSON.parse(JSON.stringify(e)), ze = (e, t, n) => {
258
258
  if (Object(e) !== e)
@@ -272,8 +272,8 @@ 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(F), Dt = (e) => {
276
- if ($t) {
275
+ const Wt = ["svelte", "vue", "angular", "qwik", "solid"].includes(F), $t = (e) => {
276
+ if (Wt) {
277
277
  const t = ve(e);
278
278
  return {
279
279
  ...t,
@@ -285,7 +285,7 @@ const $t = ["svelte", "vue", "angular", "qwik", "solid"].includes(F), Dt = (e) =
285
285
  }
286
286
  };
287
287
  } else {
288
- const t = be(At(e, "children", "meta"));
288
+ const t = be(Vt(e, "children", "meta"));
289
289
  return {
290
290
  ...t,
291
291
  properties: {
@@ -298,7 +298,7 @@ const $t = ["svelte", "vue", "angular", "qwik", "solid"].includes(F), Dt = (e) =
298
298
  meta: e.meta
299
299
  };
300
300
  }
301
- }, Ft = ({
301
+ }, Dt = ({
302
302
  block: e,
303
303
  context: t,
304
304
  localState: n,
@@ -307,7 +307,7 @@ const $t = ["svelte", "vue", "angular", "qwik", "solid"].includes(F), Dt = (e) =
307
307
  }) => {
308
308
  if (!e.bindings)
309
309
  return e;
310
- const o = Dt(e);
310
+ const o = $t(e);
311
311
  for (const a in e.bindings) {
312
312
  const l = e.bindings[a], c = G({
313
313
  code: l,
@@ -320,15 +320,15 @@ const $t = ["svelte", "vue", "angular", "qwik", "solid"].includes(F), Dt = (e) =
320
320
  }
321
321
  return o;
322
322
  };
323
- function Ot({
323
+ function Ft({
324
324
  block: e,
325
325
  context: t,
326
326
  localState: n,
327
327
  rootState: i,
328
328
  rootSetState: r
329
329
  }) {
330
- let o = Wt(e, i.locale);
331
- return o = o, Ft({
330
+ let o = Nt(e, i.locale);
331
+ return o = o, Dt({
332
332
  block: o,
333
333
  localState: n,
334
334
  rootState: i,
@@ -337,7 +337,7 @@ function Ot({
337
337
  });
338
338
  }
339
339
  const ce = (e) => e ? e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase() : "";
340
- function Lt(e, t, n = {}) {
340
+ function Ot(e, t, n = {}) {
341
341
  let i, r, o, a = null, l = 0;
342
342
  const c = function() {
343
343
  l = n.leading === !1 ? 0 : Date.now(), a = null, o = e.apply(i, r), a || (i = r = null);
@@ -359,14 +359,14 @@ function X(e, ...t) {
359
359
  }
360
360
  return n;
361
361
  }
362
- function _t(e) {
362
+ function Lt(e) {
363
363
  for (const t of e)
364
364
  switch (t.trigger) {
365
365
  case "pageLoad":
366
366
  Ge(t);
367
367
  break;
368
368
  case "scrollInView":
369
- Ht(t);
369
+ Ut(t);
370
370
  break;
371
371
  }
372
372
  }
@@ -374,12 +374,12 @@ 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, o = e.steps[e.steps.length - 1].styles, a = [r, o];
377
+ const n = _t(e), i = getComputedStyle(t), r = e.steps[0].styles, o = e.steps[e.steps.length - 1].styles, a = [r, o];
378
378
  for (const l of a)
379
379
  for (const c of n)
380
380
  c in l || (l[c] = i[c]);
381
381
  }
382
- function Ut(e) {
382
+ function _t(e) {
383
383
  const t = [];
384
384
  for (const n of e.steps)
385
385
  for (const i in n.styles)
@@ -400,7 +400,7 @@ function Ge(e) {
400
400
  });
401
401
  });
402
402
  }
403
- function Ht(e) {
403
+ function Ut(e) {
404
404
  const t = Array.prototype.slice.call(document.getElementsByClassName(e.elementId || e.id || ""));
405
405
  if (!t.length) {
406
406
  Ke(e.elementId || e.id || "");
@@ -416,7 +416,7 @@ function Ht(e) {
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 a = Lt(o, 200, {
419
+ const a = Ot(o, 200, {
420
420
  leading: !1
421
421
  });
422
422
  function l(f) {
@@ -438,28 +438,28 @@ function Ht(e) {
438
438
  const Qe = (e) => Object.entries(e).map(([n, i]) => {
439
439
  if (typeof i == "string")
440
440
  return `${ce(n)}: ${i};`;
441
- }).filter(ae), Mt = (e) => Qe(e).join(`
441
+ }).filter(ae), Ht = (e) => Qe(e).join(`
442
442
  `), Y = ({
443
443
  mediaQuery: e,
444
444
  className: t,
445
445
  styles: n
446
446
  }) => {
447
447
  const i = `.${t} {
448
- ${Mt(n)}
448
+ ${Ht(n)}
449
449
  }`;
450
450
  return e ? `${e} {
451
451
  ${i}
452
452
  }` : i;
453
453
  };
454
- function qt({
454
+ function Mt({
455
455
  style: e
456
456
  }) {
457
457
  return e;
458
458
  }
459
- const jt = ({
459
+ const qt = ({
460
460
  block: e,
461
461
  context: t
462
- }) => Ye(qt({
462
+ }) => Ye(Mt({
463
463
  style: e.style || {},
464
464
  context: t,
465
465
  block: e
@@ -478,7 +478,7 @@ function Ye(e) {
478
478
  return e;
479
479
  }
480
480
  }
481
- const Xe = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includes(t) : !1 : !0, zt = ({
481
+ const Xe = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includes(t) : !1 : !0, jt = ({
482
482
  block: e,
483
483
  registeredComponents: t,
484
484
  model: n
@@ -495,7 +495,7 @@ const Xe = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
495
495
  return;
496
496
  } else
497
497
  return r;
498
- }, Kt = ({
498
+ }, zt = ({
499
499
  block: e,
500
500
  context: t
501
501
  }) => {
@@ -528,22 +528,22 @@ const Xe = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
528
528
  },
529
529
  block: i
530
530
  }));
531
- }, Jt = (e, t) => {
531
+ }, Kt = (e, t) => {
532
532
  var n;
533
533
  return (n = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && n.builderLinkComponent ? {
534
534
  builderLinkComponent: t
535
535
  } : {};
536
- }, Gt = (e, t, n) => {
536
+ }, Jt = (e, t, n) => {
537
537
  var i;
538
538
  return (i = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && i.builderComponents ? {
539
539
  builderComponents: Object.fromEntries(Object.entries(t).filter(([o, a]) => !Xe(a, n)))
540
540
  } : {};
541
- }, Qt = (e, t) => {
541
+ }, Gt = (e, t) => {
542
542
  var n;
543
543
  return (n = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && n.builderBlock ? {
544
544
  builderBlock: t
545
545
  } : {};
546
- }, Yt = (e, t) => {
546
+ }, Qt = (e, t) => {
547
547
  var n;
548
548
  return (n = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && n.builderContext ? {
549
549
  builderContext: t
@@ -618,7 +618,7 @@ function ee(e) {
618
618
  }
619
619
  );
620
620
  }
621
- function Xt(e) {
621
+ function Yt(e) {
622
622
  function t() {
623
623
  const i = e.block;
624
624
  return ae(i.hide) ? !i.hide : ae(i.show) ? i.show : !0;
@@ -686,10 +686,10 @@ function Xt(e) {
686
686
  }
687
687
  ) }) : null });
688
688
  }
689
- function Zt(e) {
689
+ function Xt(e) {
690
690
  return e.charAt(0).toUpperCase() + e.slice(1);
691
691
  }
692
- const en = (e) => `on${Zt(e)}`, tn = (e, t) => (n) => G({
692
+ const Zt = (e) => `on${Xt(e)}`, en = (e, t) => (n) => G({
693
693
  code: e,
694
694
  context: t.context,
695
695
  localState: t.localState,
@@ -705,7 +705,7 @@ function tt(e) {
705
705
  if (!n.hasOwnProperty(r))
706
706
  continue;
707
707
  const o = n[r];
708
- let a = en(r);
708
+ let a = Zt(r);
709
709
  if (e.stripPrefix)
710
710
  switch (F) {
711
711
  case "vue":
@@ -715,16 +715,16 @@ function tt(e) {
715
715
  a = a.replace("on:", "");
716
716
  break;
717
717
  }
718
- t[a] = tn(o, e);
718
+ t[a] = en(o, e);
719
719
  }
720
720
  return t;
721
721
  }
722
- function nn({
722
+ function tn({
723
723
  properties: e
724
724
  }) {
725
725
  return e;
726
726
  }
727
- const rn = (e) => ({
727
+ const nn = (e) => ({
728
728
  href: e.href
729
729
  });
730
730
  function xe({
@@ -733,22 +733,22 @@ function xe({
733
733
  }) {
734
734
  var i;
735
735
  const n = {
736
- ...rn(e),
736
+ ...nn(e),
737
737
  ...e.properties,
738
738
  "builder-id": e.id,
739
- style: jt({
739
+ style: qt({
740
740
  block: e,
741
741
  context: t
742
742
  }),
743
743
  [z()]: [e.id, "builder-block", e.class, (i = e.properties) == null ? void 0 : i.class].filter(Boolean).join(" ")
744
744
  };
745
- return nn({
745
+ return tn({
746
746
  properties: n,
747
747
  context: t,
748
748
  block: e
749
749
  });
750
750
  }
751
- function on(e) {
751
+ function rn(e) {
752
752
  return /* @__PURE__ */ s(
753
753
  ye,
754
754
  {
@@ -769,11 +769,11 @@ function on(e) {
769
769
  }
770
770
  );
771
771
  }
772
- function an(e) {
772
+ function on(e) {
773
773
  return V(() => {
774
774
  }, []), /* @__PURE__ */ s(R, { children: e.children });
775
775
  }
776
- function ln(e) {
776
+ function an(e) {
777
777
  var i, r;
778
778
  C(() => 0);
779
779
  function t() {
@@ -796,7 +796,7 @@ function ln(e) {
796
796
  }
797
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
- an,
799
+ on,
800
800
  {
801
801
  load: e.Wrapper.load,
802
802
  fallback: e.Wrapper.fallback,
@@ -806,7 +806,7 @@ function ln(e) {
806
806
  }
807
807
  ) }) : /* @__PURE__ */ s(e.Wrapper, { ...n(), attributes: t(), children: e.children }) });
808
808
  }
809
- const sn = ({
809
+ const ln = ({
810
810
  componentOptions: e,
811
811
  builderBlock: t,
812
812
  context: n,
@@ -840,13 +840,13 @@ function Pe(e) {
840
840
  var i;
841
841
  C(() => !1);
842
842
  const [t, n] = C(
843
- () => e.isInteractive ? ln : e.componentRef
843
+ () => e.isInteractive ? an : e.componentRef
844
844
  );
845
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
  {
849
- ...sn({
849
+ ...ln({
850
850
  componentOptions: e.componentOptions,
851
851
  builderBlock: e.builderBlock,
852
852
  context: e.context,
@@ -886,7 +886,7 @@ function Ve(e) {
886
886
  function ue(e) {
887
887
  var f, b, m, v;
888
888
  function t() {
889
- return Kt({
889
+ return zt({
890
890
  block: e.block,
891
891
  context: e.context
892
892
  });
@@ -899,7 +899,7 @@ function ue(e) {
899
899
  var h;
900
900
  if (n.value && !n.update && !se())
901
901
  return n.value;
902
- const d = (h = e.block.repeat) != null && h.collection ? e.block : Ot({
902
+ const d = (h = e.block.repeat) != null && h.collection ? e.block : Ft({
903
903
  block: e.block,
904
904
  localState: e.context.localState,
905
905
  rootState: e.context.rootState,
@@ -909,7 +909,7 @@ function ue(e) {
909
909
  return n.value = d, n.update = !1, d;
910
910
  }
911
911
  function o() {
912
- return zt({
912
+ return jt({
913
913
  block: r(),
914
914
  registeredComponents: e.registeredComponents,
915
915
  model: e.context.model
@@ -936,11 +936,11 @@ function ue(e) {
936
936
  blockChildren: (d = r().children) != null ? d : [],
937
937
  componentRef: (h = o == null ? void 0 : o()) == null ? void 0 : h.component,
938
938
  componentOptions: {
939
- ...Pt(r(), e.context),
940
- ...Qt(o(), r()),
941
- ...Yt(o(), e.context),
942
- ...Jt(o(), e.linkComponent),
943
- ...Gt(
939
+ ...Rt(r(), e.context),
940
+ ...Gt(o(), r()),
941
+ ...Qt(o(), e.context),
942
+ ...Kt(o(), e.linkComponent),
943
+ ...Jt(
944
944
  o(),
945
945
  e.registeredComponents,
946
946
  e.context.model
@@ -956,7 +956,7 @@ function ue(e) {
956
956
  }
957
957
  return V(() => {
958
958
  const d = r().id, h = r().animations;
959
- h && d && _t(
959
+ h && d && Lt(
960
960
  h.map((p) => ({
961
961
  ...p,
962
962
  elementId: d
@@ -965,7 +965,7 @@ function ue(e) {
965
965
  }, []), V(() => {
966
966
  n.update = !0;
967
967
  }), /* @__PURE__ */ s(R, { children: l() ? /* @__PURE__ */ W(R, { children: [
968
- /* @__PURE__ */ s(Xt, { block: r(), context: e.context }),
968
+ /* @__PURE__ */ s(Yt, { block: r(), context: e.context }),
969
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
  {
@@ -998,7 +998,7 @@ function ue(e) {
998
998
  },
999
999
  Re(h)
1000
1000
  )) }) : /* @__PURE__ */ W(
1001
- on,
1001
+ rn,
1002
1002
  {
1003
1003
  Wrapper: a(),
1004
1004
  block: r(),
@@ -1033,7 +1033,7 @@ function ue(e) {
1033
1033
  ) })
1034
1034
  ] }) : null });
1035
1035
  }
1036
- function cn(e) {
1036
+ function sn(e) {
1037
1037
  const t = H(null);
1038
1038
  C(() => !1);
1039
1039
  function n() {
@@ -1105,7 +1105,7 @@ function _(e) {
1105
1105
  var i, r, o;
1106
1106
  const t = we(pe), n = we(He);
1107
1107
  return /* @__PURE__ */ W(
1108
- cn,
1108
+ sn,
1109
1109
  {
1110
1110
  blocks: e.blocks,
1111
1111
  parent: e.parent,
@@ -1130,8 +1130,8 @@ function _(e) {
1130
1130
  }
1131
1131
  );
1132
1132
  }
1133
- const un = (e) => `builder-columns ${e}-breakpoints`;
1134
- function dn(e) {
1133
+ const cn = (e) => `builder-columns ${e}-breakpoints`;
1134
+ function un(e) {
1135
1135
  var h, p;
1136
1136
  function t() {
1137
1137
  return typeof e.space == "number" ? e.space || 0 : 20;
@@ -1257,7 +1257,7 @@ function dn(e) {
1257
1257
  /* @__PURE__ */ W(
1258
1258
  "div",
1259
1259
  {
1260
- className: un((h = e.builderBlock) == null ? void 0 : h.id) + " div-0369db37",
1260
+ className: cn((h = e.builderBlock) == null ? void 0 : h.id) + " div-0369db37",
1261
1261
  style: f(),
1262
1262
  children: [
1263
1263
  /* @__PURE__ */ s(
@@ -1296,17 +1296,17 @@ function dn(e) {
1296
1296
  )
1297
1297
  ] });
1298
1298
  }
1299
- function mn(e) {
1299
+ function dn(e) {
1300
1300
  return /* @__PURE__ */ s("span", { children: e.children });
1301
1301
  }
1302
1302
  function Ae(e) {
1303
1303
  return e.replace(/http(s)?:/, "");
1304
1304
  }
1305
- function fn(e = "", t, n) {
1305
+ function mn(e = "", t, n) {
1306
1306
  const i = new RegExp("([?&])" + t + "=.*?(&|$)", "i"), r = e.indexOf("?") !== -1 ? "&" : "?";
1307
1307
  return e.match(i) ? e.replace(i, "$1" + t + "=" + encodeURIComponent(n) + "$2") : e + r + t + "=" + encodeURIComponent(n);
1308
1308
  }
1309
- function hn(e, t) {
1309
+ function fn(e, t) {
1310
1310
  if (!e || !(e != null && e.match(/cdn\.shopify\.com/)) || !t)
1311
1311
  return e;
1312
1312
  if (t === "master")
@@ -1325,11 +1325,11 @@ function ne(e) {
1325
1325
  if (e.match(/builder\.io/)) {
1326
1326
  let n = e;
1327
1327
  const i = Number(e.split("?width=")[1]);
1328
- return isNaN(i) || (n = `${n} ${i}w`), t.filter((r) => r !== i).map((r) => `${fn(e, "width", r)} ${r}w`).concat([n]).join(", ");
1328
+ return isNaN(i) || (n = `${n} ${i}w`), t.filter((r) => r !== i).map((r) => `${mn(e, "width", r)} ${r}w`).concat([n]).join(", ");
1329
1329
  }
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;
1330
+ return e.match(/cdn\.shopify\.com/) ? t.map((n) => [fn(e, `${n}x${n}`), n]).filter(([n]) => !!n).map(([n, i]) => `${n} ${i}w`).concat([e]).join(", ") : e;
1331
1331
  }
1332
- function gn(e) {
1332
+ function hn(e) {
1333
1333
  var r, o, a, l, c, u;
1334
1334
  function t() {
1335
1335
  var m;
@@ -1417,7 +1417,7 @@ function gn(e) {
1417
1417
  ] })
1418
1418
  ] });
1419
1419
  }
1420
- function bn(e) {
1420
+ function gn(e) {
1421
1421
  return /* @__PURE__ */ s(
1422
1422
  "section",
1423
1423
  {
@@ -1438,7 +1438,7 @@ function bn(e) {
1438
1438
  }
1439
1439
  );
1440
1440
  }
1441
- function yn(e, t, n, i) {
1441
+ function bn(e, t, n, i) {
1442
1442
  function r(u) {
1443
1443
  return typeof u == "string";
1444
1444
  }
@@ -1495,7 +1495,7 @@ function yn(e, t, n, i) {
1495
1495
  }, c = e.date && new Date(e.date) || /* @__PURE__ */ new Date();
1496
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
- const pn = `function getPersonalizedVariant(variants, blockId, isHydrationTarget, locale) {
1498
+ const yn = `function getPersonalizedVariant(variants, blockId, isHydrationTarget, locale) {
1499
1499
  if (!navigator.cookieEnabled) {
1500
1500
  return;
1501
1501
  }
@@ -1540,7 +1540,7 @@ const pn = `function getPersonalizedVariant(variants, blockId, isHydrationTarget
1540
1540
  thisScript.remove();
1541
1541
  }
1542
1542
  }
1543
- }`, vn = `function filterWithCustomTargeting(userAttributes, query, startDate, endDate) {
1543
+ }`, pn = `function filterWithCustomTargeting(userAttributes, query, startDate, endDate) {
1544
1544
  function isString(val) {
1545
1545
  return typeof val === 'string';
1546
1546
  }
@@ -1618,7 +1618,7 @@ const pn = `function getPersonalizedVariant(variants, blockId, isHydrationTarget
1618
1618
  return item.query.every(filter => {
1619
1619
  return objectMatchesQuery(userAttributes, filter);
1620
1620
  });
1621
- }`, xn = `function updateVisibilityStylesScript(variants, blockId, isHydrationTarget, locale) {
1621
+ }`, vn = `function updateVisibilityStylesScript(variants, blockId, isHydrationTarget, locale) {
1622
1622
  function getCookie(name) {
1623
1623
  const nameEQ = name + '=';
1624
1624
  const ca = document.cookie.split(';');
@@ -1656,11 +1656,11 @@ const pn = `function getPersonalizedVariant(variants, blockId, isHydrationTarget
1656
1656
  visibilityStylesEl.innerHTML = newStyleStr;
1657
1657
  }
1658
1658
  }
1659
- }`, ie = "default", Sn = "filterWithCustomTargeting", nt = "builderIoPersonalization", it = "updateVisibilityStylesScript", rt = ["react", "vue", "svelte", "qwik"], re = ["vue", "svelte", "qwik"];
1660
- function kn(e, t) {
1659
+ }`, ie = "default", xn = "filterWithCustomTargeting", nt = "builderIoPersonalization", it = "updateVisibilityStylesScript", rt = ["react", "vue", "svelte", "qwik"], re = ["vue", "svelte", "qwik"];
1660
+ function Sn(e, t) {
1661
1661
  return !(e && e.length > 0) || !t ? !1 : re.includes(F) ? !0 : !M();
1662
1662
  }
1663
- function Cn({
1663
+ function kn({
1664
1664
  variants: e,
1665
1665
  previewingIndex: t,
1666
1666
  isHydrated: n,
@@ -1699,11 +1699,11 @@ function Cn({
1699
1699
  }
1700
1700
  return o;
1701
1701
  }
1702
- const Tn = () => `
1703
- window.${Sn} = ${vn}
1704
- window.${nt} = ${pn}
1705
- window.${it} = ${xn}
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 = {
1702
+ const Cn = () => `
1703
+ window.${xn} = ${pn}
1704
+ window.${nt} = ${yn}
1705
+ window.${it} = ${vn}
1706
+ `, ot = F === "react", Tn = (e, t, n) => `window.${nt}(${JSON.stringify(e)}, "${t}", ${ot}${n ? `, "${n}"` : ""})`, In = (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: {
@@ -1763,7 +1763,7 @@ const Tn = () => `
1763
1763
  }
1764
1764
  }
1765
1765
  }]
1766
- }, En = {
1766
+ }, wn = {
1767
1767
  name: "Builder:Accordion",
1768
1768
  canHaveChildren: !0,
1769
1769
  image: "https://cdn.builder.io/api/v1/image/assets%2FagZ9n5CUKRfbL9t6CaJOyVSK4Es2%2Ffab6c1fd3fe542408cbdec078bca7f35",
@@ -1828,7 +1828,7 @@ const Tn = () => `
1828
1828
  builderLinkComponent: !0
1829
1829
  }
1830
1830
  }, Be = (e) => e.toString();
1831
- function Rn(e) {
1831
+ function En(e) {
1832
1832
  var b;
1833
1833
  const [t, n] = C(() => []);
1834
1834
  function i() {
@@ -1906,7 +1906,7 @@ 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: (b = e.items) == null ? void 0 : b.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(gt.Fragment, { children: [
1910
1910
  /* @__PURE__ */ s(
1911
1911
  "div",
1912
1912
  {
@@ -1953,7 +1953,7 @@ function Rn(e) {
1953
1953
  ) : null
1954
1954
  ] }, v)) });
1955
1955
  }
1956
- const Pn = {
1956
+ const Rn = {
1957
1957
  name: "Core:Button",
1958
1958
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F81a15681c3e74df09677dfc57a615b13",
1959
1959
  defaultStyles: {
@@ -1989,7 +1989,7 @@ const Pn = {
1989
1989
  shouldReceiveBuilderProps: {
1990
1990
  builderLinkComponent: !0
1991
1991
  }
1992
- }, Vn = {
1992
+ }, Pn = {
1993
1993
  // TODO: ways to statically preprocess JSON for references, functions, etc
1994
1994
  name: "Columns",
1995
1995
  isRSC: !0,
@@ -2196,13 +2196,13 @@ const Pn = {
2196
2196
  builderComponents: !0,
2197
2197
  builderLinkComponent: !0
2198
2198
  }
2199
- }, An = {
2199
+ }, Vn = {
2200
2200
  name: "Fragment",
2201
2201
  static: !0,
2202
2202
  hidden: !0,
2203
2203
  canHaveChildren: !0,
2204
2204
  noWrap: !0
2205
- }, Se = ["jpeg", "jpg", "png", "svg", "webp", "gif", "jfif", "pjpeg", "pjp", "apng", "avif", "tif", "tiff", "heif", "bmp", "eps", "raw", "cr2", "nef", "orf", "sr2", "psd", "heic", "dib", "ai"], Bn = ["mp4", "webm", "mkv", "flv", "vob", "ogv", "ogg", "drc", "gif", "gifv", "mng", "avi", "mov", "qt", "mts", "m2ts", "ts", "wmv", "yuv", "rm", "rmvb", "viv", "asf", "amv", "m4p", "mpeg", "mpe", "m2v", "m4v", "svi", "3gp", "3g2", "mxf", "roq", "nsv", "f4v", "f4p", "f4a", "f4b"], Nn = {
2205
+ }, Se = ["jpeg", "jpg", "png", "svg", "webp", "gif", "jfif", "pjpeg", "pjp", "apng", "avif", "tif", "tiff", "heif", "bmp", "eps", "raw", "cr2", "nef", "orf", "sr2", "psd", "heic", "dib", "ai"], An = ["mp4", "webm", "mkv", "flv", "vob", "ogv", "ogg", "drc", "gif", "gifv", "mng", "avi", "mov", "qt", "mts", "m2ts", "ts", "wmv", "yuv", "rm", "rmvb", "viv", "asf", "amv", "m4p", "mpeg", "mpe", "m2v", "m4v", "svi", "3gp", "3g2", "mxf", "roq", "nsv", "f4v", "f4p", "f4a", "f4b"], Bn = {
2206
2206
  name: "Image",
2207
2207
  static: !0,
2208
2208
  image: "https://firebasestorage.googleapis.com/v0/b/builder-3b0a2.appspot.com/o/images%2Fbaseline-insert_photo-24px.svg?alt=media&token=4e5d0ef4-f5e8-4e57-b3a9-38d63a9b9dc4",
@@ -2314,7 +2314,7 @@ const Pn = {
2314
2314
  shouldReceiveBuilderProps: {
2315
2315
  builderBlock: !0
2316
2316
  }
2317
- }, Wn = {
2317
+ }, Nn = {
2318
2318
  name: "PersonalizationContainer",
2319
2319
  shouldReceiveBuilderProps: {
2320
2320
  builderBlock: !0,
@@ -2361,14 +2361,14 @@ function j(e) {
2361
2361
  }
2362
2362
  );
2363
2363
  }
2364
- function $n(e) {
2364
+ function Wn(e) {
2365
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
2368
  ), [r, o] = C(
2369
2369
  () => {
2370
2370
  var E, B, N;
2371
- return In(
2371
+ return Tn(
2372
2372
  e.variants,
2373
2373
  ((E = e.builderBlock) == null ? void 0 : E.id) || "none",
2374
2374
  (N = (B = e.builderContext) == null ? void 0 : B.rootState) == null ? void 0 : N.locale
@@ -2377,7 +2377,7 @@ function $n(e) {
2377
2377
  ), [a, l] = C(
2378
2378
  () => {
2379
2379
  var E, B, N;
2380
- return wn(
2380
+ return In(
2381
2381
  e.variants,
2382
2382
  ((E = e.builderBlock) == null ? void 0 : E.id) || "none",
2383
2383
  (N = (B = e.builderContext) == null ? void 0 : B.rootState) == null ? void 0 : N.locale
@@ -2386,7 +2386,7 @@ function $n(e) {
2386
2386
  ), [c, u] = C(() => []), [f, b] = C(
2387
2387
  () => {
2388
2388
  var E;
2389
- return kn(
2389
+ return Sn(
2390
2390
  e.variants,
2391
2391
  Z((E = e.builderContext) == null ? void 0 : E.canTrack)
2392
2392
  );
@@ -2401,7 +2401,7 @@ function $n(e) {
2401
2401
  function h() {
2402
2402
  return (e.variants || []).filter((E) => {
2403
2403
  var B, N, K, q;
2404
- return yn(
2404
+ return bn(
2405
2405
  {
2406
2406
  ...(N = (B = e.builderContext) == null ? void 0 : B.rootState) != null && N.locale ? {
2407
2407
  locale: (q = (K = e.builderContext) == null ? void 0 : K.rootState) == null ? void 0 : q.locale
@@ -2416,7 +2416,7 @@ function $n(e) {
2416
2416
  }
2417
2417
  function p() {
2418
2418
  var E;
2419
- return Cn({
2419
+ return kn({
2420
2420
  variants: e.variants,
2421
2421
  fallbackBlocks: (E = e.builderBlock) == null ? void 0 : E.children,
2422
2422
  isHydrated: m,
@@ -2558,7 +2558,7 @@ function $n(e) {
2558
2558
  ] }) : null
2559
2559
  ] });
2560
2560
  }
2561
- const Dn = {
2561
+ const $n = {
2562
2562
  name: "Core:Section",
2563
2563
  static: !0,
2564
2564
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F682efef23ace49afac61748dd305c70a",
@@ -2597,7 +2597,7 @@ const Dn = {
2597
2597
  }
2598
2598
  }
2599
2599
  }]
2600
- }, Fn = {
2600
+ }, Dn = {
2601
2601
  name: "Slot",
2602
2602
  isRSC: !0,
2603
2603
  description: "Allow child blocks to be inserted into this content when used as a Symbol",
@@ -2615,7 +2615,7 @@ const Dn = {
2615
2615
  builderComponents: !0
2616
2616
  }
2617
2617
  };
2618
- function On(e) {
2618
+ function Fn(e) {
2619
2619
  var t, n, i;
2620
2620
  return /* @__PURE__ */ s(
2621
2621
  "div",
@@ -2639,7 +2639,7 @@ function On(e) {
2639
2639
  }
2640
2640
  );
2641
2641
  }
2642
- const Ln = {
2642
+ const On = {
2643
2643
  name: "Symbol",
2644
2644
  noWrap: !0,
2645
2645
  static: !0,
@@ -2716,7 +2716,7 @@ const Ln = {
2716
2716
  text: "New tab content "
2717
2717
  }
2718
2718
  }
2719
- }, _n = {
2719
+ }, Ln = {
2720
2720
  name: "Builder: Tabs",
2721
2721
  inputs: [{
2722
2722
  name: "tabs",
@@ -2820,7 +2820,7 @@ const Ln = {
2820
2820
  builderLinkComponent: !0
2821
2821
  }
2822
2822
  };
2823
- function Un(e) {
2823
+ function _n(e) {
2824
2824
  var o;
2825
2825
  const [t, n] = C(
2826
2826
  () => e.defaultActiveTab ? e.defaultActiveTab - 1 : 0
@@ -2879,7 +2879,7 @@ function Un(e) {
2879
2879
  ) }) : null
2880
2880
  ] });
2881
2881
  }
2882
- const Hn = {
2882
+ const Un = {
2883
2883
  shouldReceiveBuilderProps: {},
2884
2884
  name: "Text",
2885
2885
  static: !0,
@@ -2899,7 +2899,7 @@ const Hn = {
2899
2899
  textAlign: "center"
2900
2900
  }
2901
2901
  };
2902
- function Mn(e) {
2902
+ function Hn(e) {
2903
2903
  var t;
2904
2904
  return /* @__PURE__ */ s(
2905
2905
  "div",
@@ -2912,7 +2912,7 @@ function Mn(e) {
2912
2912
  }
2913
2913
  );
2914
2914
  }
2915
- const qn = {
2915
+ const Mn = {
2916
2916
  name: "Custom Code",
2917
2917
  static: !0,
2918
2918
  requiredPermissions: ["editCode"],
@@ -2935,7 +2935,7 @@ const qn = {
2935
2935
  advanced: !0
2936
2936
  }]
2937
2937
  };
2938
- function jn(e) {
2938
+ function qn(e) {
2939
2939
  const t = H(null), [n, i] = C(() => []), [r, o] = C(() => []);
2940
2940
  function a() {
2941
2941
  var c;
@@ -2981,7 +2981,7 @@ function jn(e) {
2981
2981
  }
2982
2982
  );
2983
2983
  }
2984
- const zn = {
2984
+ const jn = {
2985
2985
  name: "Embed",
2986
2986
  static: !0,
2987
2987
  inputs: [{
@@ -2996,8 +2996,8 @@ const zn = {
2996
2996
  defaultValue: '<div style="padding: 20px; text-align: center">(Choose an embed URL)<div>',
2997
2997
  hideFromUI: !0
2998
2998
  }]
2999
- }, Kn = ["text/javascript", "application/javascript", "application/ecmascript"], Jn = (e) => Kn.includes(e.type);
3000
- function Gn(e) {
2999
+ }, zn = ["text/javascript", "application/javascript", "application/ecmascript"], Kn = (e) => zn.includes(e.type);
3000
+ function Jn(e) {
3001
3001
  const t = H(null), [n, i] = C(() => []), [r, o] = C(() => []), [a, l] = C(() => !1);
3002
3002
  function c() {
3003
3003
  if (!t.current || !t.current.getElementsByTagName)
@@ -3009,7 +3009,7 @@ function Gn(e) {
3009
3009
  n.push(b.src);
3010
3010
  const m = document.createElement("script");
3011
3011
  m.async = !0, m.src = b.src, document.head.appendChild(m);
3012
- } else if (Jn(b) && !r.includes(b.innerText))
3012
+ } else if (Kn(b) && !r.includes(b.innerText))
3013
3013
  try {
3014
3014
  r.push(b.innerText), new Function(b.innerText)();
3015
3015
  } catch (m) {
@@ -3028,7 +3028,7 @@ function Gn(e) {
3028
3028
  }
3029
3029
  );
3030
3030
  }
3031
- const Qn = {
3031
+ const Gn = {
3032
3032
  name: "Form:Form",
3033
3033
  // editableTags: ['builder-form-error']
3034
3034
  defaults: {
@@ -3265,11 +3265,11 @@ const Qn = {
3265
3265
  builderComponents: !0,
3266
3266
  builderLinkComponent: !0
3267
3267
  }
3268
- }, Yn = ["production", "qa", "test", "development", "dev", "cdn-qa", "cloud", "fast", "cdn2", "cdn-prod"], Xn = () => {
3268
+ }, Qn = ["production", "qa", "test", "development", "dev", "cdn-qa", "cloud", "fast", "cdn2", "cdn-prod"], Yn = () => {
3269
3269
  const e = process.env.NODE_ENV || "production";
3270
- return Yn.includes(e) ? e : "production";
3270
+ return Qn.includes(e) ? e : "production";
3271
3271
  };
3272
- function Zn(e) {
3272
+ function Xn(e) {
3273
3273
  const t = H(null), [n, i] = C(() => "unsubmitted"), [r, o] = C(() => null), [a, l] = C(() => "");
3274
3274
  function c(b) {
3275
3275
  var v, d;
@@ -3339,7 +3339,7 @@ function Zn(e) {
3339
3339
  console.error(g), i("error"), c({ formErrorMessage: g });
3340
3340
  return;
3341
3341
  }
3342
- const T = `${Xn() === "dev" ? "http://localhost:5000" : "https://builder.io"}/api/v1/form-submit?apiKey=${e.builderContext.apiKey}&to=${btoa(
3342
+ const T = `${Yn() === "dev" ? "http://localhost:5000" : "https://builder.io"}/api/v1/form-submit?apiKey=${e.builderContext.apiKey}&to=${btoa(
3343
3343
  e.sendSubmissionsToEmail || ""
3344
3344
  )}&name=${encodeURIComponent(e.name || "")}`, I = e.sendSubmissionsTo === "email" ? T : e.action;
3345
3345
  Oe(I), fetch(I, { body: p, headers: h, method: e.method || "post" }).then(
@@ -3433,7 +3433,7 @@ function Zn(e) {
3433
3433
  " "
3434
3434
  ] });
3435
3435
  }
3436
- const ei = {
3436
+ const Zn = {
3437
3437
  name: "Form:Input",
3438
3438
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fad6f37889d9e40bbbbc72cdb5875d6ca",
3439
3439
  inputs: [
@@ -3485,7 +3485,7 @@ const ei = {
3485
3485
  borderColor: "#ccc"
3486
3486
  }
3487
3487
  };
3488
- function ti(e) {
3488
+ function ei(e) {
3489
3489
  return /* @__PURE__ */ Ue(
3490
3490
  "input",
3491
3491
  {
@@ -3500,7 +3500,7 @@ function ti(e) {
3500
3500
  }
3501
3501
  );
3502
3502
  }
3503
- const ni = {
3503
+ const ti = {
3504
3504
  name: "Form:Select",
3505
3505
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F83acca093fb24aaf94dee136e9a4b045",
3506
3506
  defaultStyles: {
@@ -3543,7 +3543,7 @@ const ni = {
3543
3543
  static: !0,
3544
3544
  noWrap: !0
3545
3545
  };
3546
- function ii(e) {
3546
+ function ni(e) {
3547
3547
  var t;
3548
3548
  return /* @__PURE__ */ Ue(
3549
3549
  "select",
@@ -3558,7 +3558,7 @@ function ii(e) {
3558
3558
  (t = e.options) == null ? void 0 : t.map((n, i) => /* @__PURE__ */ s("option", { value: n.value, children: n.name || n.value }, `${n.name}-${i}`))
3559
3559
  );
3560
3560
  }
3561
- const ri = {
3561
+ const ii = {
3562
3562
  name: "Form:SubmitButton",
3563
3563
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fdf2820ffed1f4349a94c40b3221f5b98",
3564
3564
  defaultStyles: {
@@ -3584,10 +3584,10 @@ const ri = {
3584
3584
  // TODO: defaultChildren
3585
3585
  // canHaveChildren: true,
3586
3586
  };
3587
- function oi(e) {
3587
+ function ri(e) {
3588
3588
  return /* @__PURE__ */ s("button", { type: "submit", ...e.attributes, children: e.text });
3589
3589
  }
3590
- const ai = {
3590
+ const oi = {
3591
3591
  name: "Form:TextArea",
3592
3592
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Ff74a2f3de58c4c3e939204e5b6b8f6c3",
3593
3593
  inputs: [{
@@ -3624,7 +3624,7 @@ const ai = {
3624
3624
  static: !0,
3625
3625
  noWrap: !0
3626
3626
  };
3627
- function li(e) {
3627
+ function ai(e) {
3628
3628
  return /* @__PURE__ */ s(
3629
3629
  "textarea",
3630
3630
  {
@@ -3637,7 +3637,7 @@ function li(e) {
3637
3637
  }
3638
3638
  );
3639
3639
  }
3640
- const si = {
3640
+ const li = {
3641
3641
  // friendlyName?
3642
3642
  name: "Raw:Img",
3643
3643
  hideFromInsertMenu: !0,
@@ -3652,7 +3652,7 @@ const si = {
3652
3652
  noWrap: !0,
3653
3653
  static: !0
3654
3654
  };
3655
- function ci(e) {
3655
+ function si(e) {
3656
3656
  function t() {
3657
3657
  const n = e.imgSrc || e.image;
3658
3658
  if (!(!n || typeof n != "string") && n.match(/builder\.io/))
@@ -3674,7 +3674,7 @@ function ci(e) {
3674
3674
  L() && e.imgSrc || "default-key"
3675
3675
  );
3676
3676
  }
3677
- const ui = {
3677
+ const ci = {
3678
3678
  name: "Video",
3679
3679
  canHaveChildren: !0,
3680
3680
  defaultStyles: {
@@ -3685,7 +3685,7 @@ const ui = {
3685
3685
  inputs: [{
3686
3686
  name: "video",
3687
3687
  type: "file",
3688
- allowedFileTypes: Bn,
3688
+ allowedFileTypes: An,
3689
3689
  bubble: !0,
3690
3690
  defaultValue: "https://cdn.builder.io/o/assets%2FYJIGb4i01jvw0SRdL5Bt%2Fd27731a526464deba0016216f5f9e570%2Fcompressed?apiKey=YJIGb4i01jvw0SRdL5Bt&token=d27731a526464deba0016216f5f9e570&alt=media&optimized=true",
3691
3691
  required: !0
@@ -3759,7 +3759,7 @@ const ui = {
3759
3759
  builderBlock: !0
3760
3760
  }
3761
3761
  };
3762
- function di(e) {
3762
+ function ui(e) {
3763
3763
  var a, l, c, u, f, b, m;
3764
3764
  const t = H(null);
3765
3765
  function n() {
@@ -3895,67 +3895,67 @@ function di(e) {
3895
3895
  }
3896
3896
  );
3897
3897
  }
3898
- const mi = () => [{
3899
- component: jn,
3900
- ...qn
3898
+ const di = () => [{
3899
+ component: qn,
3900
+ ...Mn
3901
3901
  }, {
3902
- component: Gn,
3903
- ...zn
3902
+ component: Jn,
3903
+ ...jn
3904
3904
  }, {
3905
- component: Zn,
3906
- ...Qn
3905
+ component: Xn,
3906
+ ...Gn
3907
3907
  }, {
3908
- component: ti,
3909
- ...ei
3908
+ component: ei,
3909
+ ...Zn
3910
3910
  }, {
3911
- component: oi,
3912
- ...ri
3911
+ component: ri,
3912
+ ...ii
3913
3913
  }, {
3914
- component: ii,
3915
- ...ni
3914
+ component: ni,
3915
+ ...ti
3916
3916
  }, {
3917
- component: li,
3918
- ...ai
3917
+ component: ai,
3918
+ ...oi
3919
3919
  }, {
3920
- component: ci,
3921
- ...si
3920
+ component: si,
3921
+ ...li
3922
3922
  }, {
3923
- component: di,
3924
- ...ui
3923
+ component: ui,
3924
+ ...ci
3925
3925
  }], Ne = () => [{
3926
- component: vt,
3926
+ component: pt,
3927
+ ...Rn
3928
+ }, {
3929
+ component: un,
3927
3930
  ...Pn
3928
3931
  }, {
3929
3932
  component: dn,
3930
3933
  ...Vn
3931
3934
  }, {
3932
- component: mn,
3933
- ...An
3935
+ component: hn,
3936
+ ...Bn
3934
3937
  }, {
3935
3938
  component: gn,
3936
- ...Nn
3939
+ ...$n
3937
3940
  }, {
3938
- component: bn,
3941
+ component: Fn,
3939
3942
  ...Dn
3940
3943
  }, {
3941
- component: On,
3942
- ...Fn
3943
- }, {
3944
- component: Fi,
3945
- ...Ln
3944
+ component: Di,
3945
+ ...On
3946
3946
  }, {
3947
- component: Mn,
3948
- ...Hn
3947
+ component: Hn,
3948
+ ...Un
3949
3949
  }, ...rt.includes(F) ? [{
3950
- component: $n,
3951
- ...Wn
3950
+ component: Wn,
3951
+ ...Nn
3952
3952
  }] : [], {
3953
- component: Un,
3954
- ..._n
3953
+ component: _n,
3954
+ ...Ln
3955
3955
  }, {
3956
- component: Rn,
3957
- ...En
3958
- }, ...mi()], fi = `function updateCookiesAndStyles(contentId, variants, isHydrationTarget, isAngularSDK) {
3956
+ component: En,
3957
+ ...wn
3958
+ }, ...di()], mi = `function updateCookiesAndStyles(contentId, variants, isHydrationTarget, isAngularSDK) {
3959
3959
  function getAndSetVariantId() {
3960
3960
  function setCookie(name, value, days) {
3961
3961
  let expires = '';
@@ -4014,7 +4014,7 @@ const mi = () => [{
4014
4014
  }).join('');
4015
4015
  styleEl.innerHTML = newStyleStr;
4016
4016
  }
4017
- }`, hi = `function updateVariantVisibility(variantContentId, defaultContentId, isHydrationTarget) {
4017
+ }`, fi = `function updateVariantVisibility(variantContentId, defaultContentId, isHydrationTarget) {
4018
4018
  if (!navigator.cookieEnabled) {
4019
4019
  return;
4020
4020
  }
@@ -4052,16 +4052,16 @@ const mi = () => [{
4052
4052
  ...t,
4053
4053
  testVariationId: t.id,
4054
4054
  id: e == null ? void 0 : e.id
4055
- })), gi = ({
4055
+ })), hi = ({
4056
4056
  canTrack: e,
4057
4057
  content: t
4058
- }) => !(!(oe(t).length > 0) || !e || M()), bi = (e) => e === "react" || e === "reactNative", yi = F === "angular", st = bi(F), pi = () => `
4059
- window.${at} = ${fi}
4060
- window.${lt} = ${hi}
4061
- `, vi = (e, t) => `
4058
+ }) => !(!(oe(t).length > 0) || !e || M()), gi = (e) => e === "react" || e === "reactNative", bi = F === "angular", st = gi(F), yi = () => `
4059
+ window.${at} = ${mi}
4060
+ window.${lt} = ${fi}
4061
+ `, pi = (e, t) => `
4062
4062
  window.${at}(
4063
- "${t}",${JSON.stringify(e)}, ${st}, ${yi}
4064
- )`, xi = ({
4063
+ "${t}",${JSON.stringify(e)}, ${st}, ${bi}
4064
+ )`, vi = ({
4065
4065
  contentId: e,
4066
4066
  variationId: t
4067
4067
  }) => `window.${lt}(
@@ -4070,7 +4070,7 @@ const mi = () => [{
4070
4070
  function We(e) {
4071
4071
  return Math.round(e * 1e3) / 1e3;
4072
4072
  }
4073
- const Si = (e, t, n = !0) => {
4073
+ const xi = (e, t, n = !0) => {
4074
4074
  if (!(e instanceof HTMLElement))
4075
4075
  return null;
4076
4076
  let i = n ? e : e.parentElement;
@@ -4081,7 +4081,7 @@ const Si = (e, t, n = !0) => {
4081
4081
  return i;
4082
4082
  } while (i = i.parentElement);
4083
4083
  return null;
4084
- }, ki = (e) => Si(e, (t) => {
4084
+ }, Si = (e) => xi(e, (t) => {
4085
4085
  const n = t.getAttribute("builder-id") || t.id;
4086
4086
  return (n == null ? void 0 : n.indexOf("builder-")) === 0;
4087
4087
  }), $e = ({
@@ -4093,8 +4093,8 @@ const Si = (e, t, n = !0) => {
4093
4093
  x: o,
4094
4094
  y: a
4095
4095
  };
4096
- }, Ci = (e) => {
4097
- const t = e.target, n = t && ki(t), i = (n == null ? void 0 : n.getAttribute("builder-id")) || (n == null ? void 0 : n.id);
4096
+ }, ki = (e) => {
4097
+ const t = e.target, n = t && Si(t), i = (n == null ? void 0 : n.getAttribute("builder-id")) || (n == null ? void 0 : n.id);
4098
4098
  return {
4099
4099
  targetBuilderElement: i || void 0,
4100
4100
  metadata: {
@@ -4109,7 +4109,7 @@ const Si = (e, t, n = !0) => {
4109
4109
  builderElementIndex: n && i ? [].slice.call(document.getElementsByClassName(i)).indexOf(n) : void 0
4110
4110
  }
4111
4111
  };
4112
- }, Ti = ["svelte", "qwik", "vue"], De = () => Ti.includes(F) && (L() || se()), Ii = (e) => {
4112
+ }, Ci = ["svelte", "qwik", "vue"], De = () => Ci.includes(F) && (L() || se()), Ti = (e) => {
4113
4113
  var o, a;
4114
4114
  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;
4115
4115
  let r = "";
@@ -4135,15 +4135,15 @@ font-weight: ${l};
4135
4135
  `.trim());
4136
4136
  }
4137
4137
  return r;
4138
- }, wi = ({
4138
+ }, Ii = ({
4139
4139
  customFonts: e
4140
4140
  }) => {
4141
4141
  var t;
4142
- return ((t = e == null ? void 0 : e.map((n) => Ii(n))) == null ? void 0 : t.join(" ")) || "";
4143
- }, Ei = ({
4142
+ return ((t = e == null ? void 0 : e.map((n) => Ti(n))) == null ? void 0 : t.join(" ")) || "";
4143
+ }, wi = ({
4144
4144
  cssCode: e,
4145
4145
  contentId: t
4146
- }) => e ? t ? (e == null ? void 0 : e.replace(/&/g, `div[builder-content-id="${t}"]`)) || "" : e : "", Ri = `
4146
+ }) => e ? t ? (e == null ? void 0 : e.replace(/&/g, `div[builder-content-id="${t}"]`)) || "" : e : "", Ei = `
4147
4147
  .builder-button {
4148
4148
  all: unset;
4149
4149
  }
@@ -4160,8 +4160,8 @@ font-weight: ${l};
4160
4160
  text-align: inherit;
4161
4161
  font-family: inherit;
4162
4162
  }
4163
- `, Pi = (e) => e ? "" : Ri, Vi = (e) => `variant-${e}`;
4164
- function Ai(e) {
4163
+ `, Ri = (e) => e ? "" : Ei, Pi = (e) => `variant-${e}`;
4164
+ function Vi(e) {
4165
4165
  var S, k, A;
4166
4166
  const t = H(null);
4167
4167
  C(() => !1);
@@ -4206,7 +4206,7 @@ function Ai(e) {
4206
4206
  () => e.contentWrapper || "div"
4207
4207
  );
4208
4208
  function l(T) {
4209
- return ht({
4209
+ return ft({
4210
4210
  model: e.model,
4211
4211
  trustedHosts: e.trustedHosts,
4212
4212
  callbacks: {
@@ -4243,7 +4243,7 @@ function Ai(e) {
4243
4243
  contentId: w,
4244
4244
  apiKey: e.apiKey,
4245
4245
  variationId: x !== w ? x : void 0,
4246
- ...Ci(T),
4246
+ ...ki(T),
4247
4247
  unique: !m
4248
4248
  });
4249
4249
  }
@@ -4298,7 +4298,7 @@ function Ai(e) {
4298
4298
  return y.current || (h(), p(), y.current = !0), V(() => {
4299
4299
  var T, I, g, x, w;
4300
4300
  if (M()) {
4301
- L() && !e.isNestedRender && (window.addEventListener("message", l), ut(), dt({
4301
+ L() && !e.isNestedRender && (window.addEventListener("message", l), ut({
4302
4302
  ...e.locale ? {
4303
4303
  locale: e.locale
4304
4304
  } : {},
@@ -4315,14 +4315,14 @@ function Ai(e) {
4315
4315
  ).forEach((P) => {
4316
4316
  var U, E;
4317
4317
  if (!((U = P.models) != null && U.length) || P.models.includes(e.model)) {
4318
- const B = mt(P);
4318
+ const B = dt(P);
4319
4319
  (E = window.parent) == null || E.postMessage(B, "*");
4320
4320
  }
4321
4321
  }), window.addEventListener(
4322
4322
  "builder:component:stateChangeListenerActivated",
4323
4323
  p
4324
4324
  ));
4325
- const D = e.builderContextSignal.content && Z(e.canTrack), O = ft({
4325
+ const D = e.builderContextSignal.content && Z(e.canTrack), O = mt({
4326
4326
  name: `builder.tests.${(I = e.builderContextSignal.content) == null ? void 0 : I.id}`,
4327
4327
  canTrack: !0
4328
4328
  }), $ = (g = e.builderContextSignal.content) == null ? void 0 : g.testVariationId;
@@ -4377,7 +4377,7 @@ function Ai(e) {
4377
4377
  onClick: (T) => d(T),
4378
4378
  "builder-content-id": (S = e.builderContextSignal.content) == null ? void 0 : S.id,
4379
4379
  "builder-model": e.model,
4380
- className: Vi(
4380
+ className: Pi(
4381
4381
  ((k = e.content) == null ? void 0 : k.testVariationId) || ((A = e.content) == null ? void 0 : A.id)
4382
4382
  ),
4383
4383
  style: {
@@ -4389,17 +4389,17 @@ function Ai(e) {
4389
4389
  }
4390
4390
  ) : null });
4391
4391
  }
4392
- function Bi(e) {
4392
+ function Ai(e) {
4393
4393
  const [t, n] = C(
4394
4394
  () => `
4395
- ${Ei({
4395
+ ${wi({
4396
4396
  cssCode: e.cssCode,
4397
4397
  contentId: e.contentId
4398
4398
  })}
4399
- ${wi({
4399
+ ${Ii({
4400
4400
  customFonts: e.customFonts
4401
4401
  })}
4402
- ${Pi(e.isNestedRender)}
4402
+ ${Ri(e.isNestedRender)}
4403
4403
  `.trim()
4404
4404
  );
4405
4405
  return /* @__PURE__ */ s(
@@ -4411,7 +4411,7 @@ ${Pi(e.isNestedRender)}
4411
4411
  }
4412
4412
  );
4413
4413
  }
4414
- const Ni = ({
4414
+ const Bi = ({
4415
4415
  content: e,
4416
4416
  data: t,
4417
4417
  locale: n
@@ -4428,7 +4428,7 @@ const Ni = ({
4428
4428
  locale: n
4429
4429
  } : {}
4430
4430
  };
4431
- }, Wi = ({
4431
+ }, Ni = ({
4432
4432
  content: e,
4433
4433
  data: t
4434
4434
  }) => e ? {
@@ -4444,7 +4444,7 @@ function Fe(e) {
4444
4444
  const [t, n] = C(
4445
4445
  () => {
4446
4446
  var S, k;
4447
- return xi({
4447
+ return vi({
4448
4448
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
4449
4449
  variationId: (S = e.content) == null ? void 0 : S.testVariationId,
4450
4450
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
@@ -4473,12 +4473,12 @@ function Fe(e) {
4473
4473
  {}
4474
4474
  )
4475
4475
  ), [a, l] = C(() => ({
4476
- content: Wi({
4476
+ content: Ni({
4477
4477
  content: e.content,
4478
4478
  data: e.data
4479
4479
  }),
4480
4480
  localState: void 0,
4481
- rootState: Ni({
4481
+ rootState: Bi({
4482
4482
  content: e.content,
4483
4483
  data: e.data,
4484
4484
  locale: e.locale
@@ -4527,7 +4527,7 @@ function Fe(e) {
4527
4527
  registeredComponents: r
4528
4528
  },
4529
4529
  children: /* @__PURE__ */ W(
4530
- Ai,
4530
+ Vi,
4531
4531
  {
4532
4532
  apiHost: e.apiHost,
4533
4533
  nonce: e.nonce,
@@ -4556,7 +4556,7 @@ function Fe(e) {
4556
4556
  }
4557
4557
  ) : null,
4558
4558
  /* @__PURE__ */ s(
4559
- Bi,
4559
+ Ai,
4560
4560
  {
4561
4561
  nonce: e.nonce || "",
4562
4562
  isNestedRender: e.isNestedRender,
@@ -4580,17 +4580,17 @@ function Fe(e) {
4580
4580
  }
4581
4581
  );
4582
4582
  }
4583
- function $i(e) {
4583
+ function Wi(e) {
4584
4584
  var a;
4585
4585
  const [t, n] = C(
4586
- () => gi({
4586
+ () => hi({
4587
4587
  canTrack: Z(e.canTrack),
4588
4588
  content: e.content
4589
4589
  })
4590
4590
  );
4591
4591
  function i() {
4592
4592
  var l;
4593
- return vi(
4593
+ return pi(
4594
4594
  oe(e.content).map((c) => ({
4595
4595
  id: c.testVariationId,
4596
4596
  testRatio: c.testRatio
@@ -4606,7 +4606,7 @@ function $i(e) {
4606
4606
  return t ? {
4607
4607
  ...e.content,
4608
4608
  testVariationId: (l = e.content) == null ? void 0 : l.id
4609
- } : gt({
4609
+ } : ht({
4610
4610
  item: e.content,
4611
4611
  canTrack: Z(e.canTrack)
4612
4612
  });
@@ -4618,7 +4618,7 @@ function $i(e) {
4618
4618
  j,
4619
4619
  {
4620
4620
  id: "builderio-init-variants-fns",
4621
- scriptStr: pi(),
4621
+ scriptStr: yi(),
4622
4622
  nonce: e.nonce || ""
4623
4623
  }
4624
4624
  ),
@@ -4627,7 +4627,7 @@ function $i(e) {
4627
4627
  {
4628
4628
  id: "builderio-init-personalization-variants-fns",
4629
4629
  nonce: e.nonce || "",
4630
- scriptStr: Tn()
4630
+ scriptStr: Cn()
4631
4631
  }
4632
4632
  ) : null
4633
4633
  ] }) : null,
@@ -4704,7 +4704,7 @@ function $i(e) {
4704
4704
  )
4705
4705
  ] });
4706
4706
  }
4707
- const Di = async ({
4707
+ const $i = async ({
4708
4708
  builderContextValue: e,
4709
4709
  symbol: t
4710
4710
  }) => {
@@ -4723,7 +4723,7 @@ const Di = async ({
4723
4723
  J.error("Could not fetch symbol content: ", n);
4724
4724
  });
4725
4725
  };
4726
- function Fi(e) {
4726
+ function Di(e) {
4727
4727
  var u, f, b, m, v;
4728
4728
  function t() {
4729
4729
  return "div";
@@ -4749,7 +4749,7 @@ function Fi(e) {
4749
4749
  });
4750
4750
  function c() {
4751
4751
  var d;
4752
- r && a === ((d = e.symbol) == null ? void 0 : d.entry) || Di({
4752
+ r && a === ((d = e.symbol) == null ? void 0 : d.entry) || $i({
4753
4753
  symbol: e.symbol,
4754
4754
  builderContextValue: e.builderContext
4755
4755
  }).then((h) => {
@@ -4761,7 +4761,7 @@ function Fi(e) {
4761
4761
  }, []), V(() => {
4762
4762
  c();
4763
4763
  }, [e.symbol]), /* @__PURE__ */ s("div", { ...e.attributes, className: i(), children: /* @__PURE__ */ s(
4764
- $i,
4764
+ Wi,
4765
4765
  {
4766
4766
  nonce: e.builderContext.nonce,
4767
4767
  isNestedRender: !0,
@@ -4789,14 +4789,14 @@ function Fi(e) {
4789
4789
  export {
4790
4790
  _ as Blocks,
4791
4791
  pe as BuilderContext,
4792
- vt as Button,
4793
- dn as Columns,
4794
- $i as Content,
4795
- mn as Fragment,
4796
- gn as Image,
4797
- bn as Section,
4798
- Fi as Symbol,
4799
- Mn as Text,
4800
- di as Video,
4801
- Mi as setClientUserAttributes
4792
+ pt as Button,
4793
+ un as Columns,
4794
+ Wi as Content,
4795
+ dn as Fragment,
4796
+ hn as Image,
4797
+ gn as Section,
4798
+ Di as Symbol,
4799
+ Hn as Text,
4800
+ ui as Video,
4801
+ Hi as setClientUserAttributes
4802
4802
  };