@builder.io/sdk-react 3.0.3-0 → 3.0.5

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 (93) hide show
  1. package/lib/browser/blocks-exports.cjs +32 -169
  2. package/lib/browser/blocks-exports.mjs +778 -1199
  3. package/lib/browser/index.cjs +1 -1
  4. package/lib/browser/index.mjs +16 -17
  5. package/lib/browser/server-entry-101d66b8.cjs +2 -0
  6. package/lib/browser/{server-entry-da1754bd.js → server-entry-785c0408.js} +237 -279
  7. package/lib/browser/server-entry.cjs +1 -1
  8. package/lib/browser/server-entry.mjs +1 -1
  9. package/lib/edge/{accordion-388f5e60.cjs → accordion-190c4426.cjs} +1 -1
  10. package/lib/edge/{accordion-50de133c.js → accordion-cd6e0363.js} +1 -1
  11. package/lib/edge/{blocks-a5193d52.cjs → blocks-766e8d45.cjs} +9 -9
  12. package/lib/edge/blocks-exports.cjs +1 -1
  13. package/lib/edge/blocks-exports.mjs +12 -13
  14. package/lib/edge/{blocks-5e476ddc.js → blocks-fe2d7c1a.js} +2 -3
  15. package/lib/edge/{button-c6ec3aea.cjs → button-694fcd4f.cjs} +1 -1
  16. package/lib/edge/{button-4261ae64.js → button-6a27481c.js} +2 -2
  17. package/lib/edge/{columns-28e9fb0a.js → columns-90e6407e.js} +18 -18
  18. package/lib/edge/{columns-8c831c02.cjs → columns-b38bf0f7.cjs} +2 -2
  19. package/lib/edge/content-variants-4e385c19.cjs +134 -0
  20. package/lib/edge/{content-variants-36ca4fe5.js → content-variants-cbb89349.js} +124 -165
  21. package/lib/edge/dynamic-blocks-exports.cjs +1 -3
  22. package/lib/edge/dynamic-blocks-exports.mjs +2 -5
  23. package/lib/edge/form-16bbf874.js +166 -0
  24. package/lib/edge/form-547645eb.cjs +1 -0
  25. package/lib/edge/{get-class-prop-name-a86a3e60.cjs → get-class-prop-name-58770197.cjs} +1 -1
  26. package/lib/edge/{get-class-prop-name-65d6824c.js → get-class-prop-name-8b719c6b.js} +1 -1
  27. package/lib/edge/{image-2a2b26d2.js → image-38917f45.js} +22 -24
  28. package/lib/edge/image-590e36ae.cjs +17 -0
  29. package/lib/edge/{img-7de3a3de.cjs → img-8859c851.cjs} +1 -1
  30. package/lib/edge/{img-61d29fb3.js → img-d3351743.js} +1 -1
  31. package/lib/edge/index.cjs +1 -1
  32. package/lib/edge/index.mjs +17 -18
  33. package/lib/edge/{input-c8539054.js → input-24c601b4.js} +1 -1
  34. package/lib/edge/{input-bd5387a6.cjs → input-4fe0fc6d.cjs} +1 -1
  35. package/lib/edge/{select-6b5cda00.js → select-af05377b.js} +1 -1
  36. package/lib/edge/{select-73accaf4.cjs → select-c73bd418.cjs} +1 -1
  37. package/lib/edge/server-entry-3c7fa63a.cjs +2 -0
  38. package/lib/edge/{server-entry-838c1f06.js → server-entry-67bfc740.js} +280 -322
  39. package/lib/edge/server-entry.cjs +1 -1
  40. package/lib/edge/server-entry.mjs +1 -1
  41. package/lib/edge/{slot-403c77da.js → slot-32a4df0c.js} +3 -3
  42. package/lib/edge/{slot-099112f1.cjs → slot-759c8dd9.cjs} +1 -1
  43. package/lib/edge/{symbol-97f456f4.js → symbol-50360a37.js} +2 -2
  44. package/lib/edge/{symbol-ffa6e6cd.cjs → symbol-8d63aa7d.cjs} +1 -1
  45. package/lib/edge/{tabs-a7c94ead.js → tabs-6535c934.js} +3 -3
  46. package/lib/edge/{tabs-ad55c6a7.cjs → tabs-fc6c1700.cjs} +1 -1
  47. package/lib/edge/video-4ecfd08b.cjs +1 -0
  48. package/lib/edge/{video-58c2cc8d.js → video-a3f10439.js} +0 -1
  49. package/lib/node/blocks-exports.cjs +32 -169
  50. package/lib/node/blocks-exports.mjs +896 -1317
  51. package/lib/node/index.cjs +1 -1
  52. package/lib/node/index.mjs +16 -17
  53. package/lib/node/init.cjs +1 -1
  54. package/lib/node/init.mjs +3 -3
  55. package/lib/node/server-entry-95273908.cjs +2 -0
  56. package/lib/node/{server-entry-51bc0b1d.js → server-entry-ffc70868.js} +237 -279
  57. package/lib/node/server-entry.cjs +1 -1
  58. package/lib/node/server-entry.mjs +1 -1
  59. package/lib/node/{setIvm-575cf1f1.js → setIvm-2cea7252.js} +1 -1
  60. package/lib/node/{setIvm-d912cf4d.cjs → setIvm-4ce0db03.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-66df4856.js → should-force-browser-runtime-in-node-c0d50009.js} +1 -1
  64. package/lib/node/{should-force-browser-runtime-in-node-23225980.cjs → should-force-browser-runtime-in-node-d3e6df07.cjs} +1 -1
  65. package/package.json +2 -2
  66. package/types/blocks/form/form/form.d.ts +1 -0
  67. package/types/constants/sdk-version.d.ts +1 -1
  68. package/types/index-helpers/blocks-exports.d.ts +0 -1
  69. package/types/types/components.d.ts +2 -2
  70. package/types/types/input.d.ts +0 -1
  71. package/lib/browser/server-entry-c7bda8b5.cjs +0 -2
  72. package/lib/edge/content-variants-81713434.cjs +0 -134
  73. package/lib/edge/form-039fb5ff.js +0 -176
  74. package/lib/edge/form-e7a1dec9.cjs +0 -1
  75. package/lib/edge/image-4db81d72.cjs +0 -17
  76. package/lib/edge/personalization-container-3fda6014.cjs +0 -138
  77. package/lib/edge/personalization-container-c76e4fef.js +0 -379
  78. package/lib/edge/server-entry-ea2a8b0e.cjs +0 -2
  79. package/lib/edge/video-e20dcbbc.cjs +0 -1
  80. package/lib/node/server-entry-d7316893.cjs +0 -2
  81. package/types/blocks/index.d.ts +0 -4
  82. package/types/blocks/personalization-container/component-info.d.ts +0 -2
  83. package/types/blocks/personalization-container/helpers/index.d.ts +0 -15
  84. package/types/blocks/personalization-container/helpers/inlined-fns.d.ts +0 -8
  85. package/types/blocks/personalization-container/helpers.d.ts +0 -27
  86. package/types/blocks/personalization-container/index.d.ts +0 -1
  87. package/types/blocks/personalization-container/personalization-container.d.ts +0 -4
  88. package/types/blocks/personalization-container/personalization-container.types.d.ts +0 -14
  89. package/types/blocks/textarea/component-info.d.ts +0 -2
  90. package/types/blocks/textarea/index.d.ts +0 -1
  91. package/types/blocks/textarea/textarea.d.ts +0 -14
  92. package/types/functions/filter-with-custom-targeting.d.ts +0 -15
  93. package/types/helpers/user-attributes.d.ts +0 -17
@@ -1,15 +1,14 @@
1
1
  "use client";
2
- import { TARGET as F, isEditing as W, isBrowser as L, getUserAttributes as Ke, checkIsDefined as J, logger as Y, isPreviewing as X, userAttributesService as de, getDefaultCanTrack as q, logFetch as Ie, registerInsertMenu as Je, setupBrowserForEditing as Ge, createRegisterComponentMessage as Qe, _track as me, fetchOneEntry as Ee, createEditorListener as Ye, serializeIncludingFunctions as fe, handleABTestingSync as Xe } from "./server-entry-da1754bd.js";
3
- import { setClientUserAttributes as Si } from "./server-entry-da1754bd.js";
4
- import { jsx as s, Fragment as P, jsxs as N } from "react/jsx-runtime";
5
- import * as Ze from "react";
6
- import { createContext as Re, useEffect as A, useState as R, useRef as D, useContext as he, createElement as Pe } from "react";
7
- const et = /* @__PURE__ */ new Set(["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen", "link", "meta", "param", "source", "track", "wbr"]), tt = (e) => typeof e == "string" && et.has(e.toLowerCase());
2
+ import { jsx as s, Fragment as E, jsxs as B } from "react/jsx-runtime";
3
+ import { TARGET as $, isEditing as W, isBrowser as D, getUserAttributes as ze, checkIsDefined as q, logger as J, isPreviewing as ae, logFetch as Ie, registerInsertMenu as Ke, setupBrowserForEditing as Je, createRegisterComponentMessage as Ge, getDefaultCanTrack as z, _track as ue, fetchOneEntry as we, createEditorListener as Ye, serializeIncludingFunctions as me, handleABTestingSync as Qe } from "./server-entry-785c0408.js";
4
+ import * as Xe from "react";
5
+ import { createContext as Ee, useEffect as A, useState as R, useRef as O, useContext as fe, createElement as Re } from "react";
6
+ const Ze = /* @__PURE__ */ new Set(["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen", "link", "meta", "param", "source", "track", "wbr"]), et = (e) => typeof e == "string" && Ze.has(e.toLowerCase());
8
7
  function re(e) {
9
- return /* @__PURE__ */ s(P, { children: tt(e.TagName) ? /* @__PURE__ */ s(P, { children: /* @__PURE__ */ s(e.TagName, { ...e.attributes, ...e.actionAttributes }) }) : /* @__PURE__ */ s(P, { 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 }) }) });
8
+ return /* @__PURE__ */ s(E, { children: et(e.TagName) ? /* @__PURE__ */ s(E, { children: /* @__PURE__ */ s(e.TagName, { ...e.attributes, ...e.actionAttributes }) }) : /* @__PURE__ */ s(E, { 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
9
  }
11
- const H = () => {
12
- switch (F) {
10
+ const _ = () => {
11
+ switch ($) {
13
12
  case "react":
14
13
  case "reactNative":
15
14
  case "rsc":
@@ -22,11 +21,11 @@ const H = () => {
22
21
  return "class";
23
22
  }
24
23
  };
25
- function nt(e) {
24
+ function tt(e) {
26
25
  function t() {
27
26
  return {
28
27
  ...e.attributes,
29
- [H()]: `${e.link ? "" : "builder-button"} ${e.attributes[H()] || ""}`,
28
+ [_()]: `${e.link ? "" : "builder-button"} ${e.attributes[_()] || ""}`,
30
29
  ...e.link ? {
31
30
  href: e.link,
32
31
  target: e.openLinkInNewTab ? "_blank" : void 0,
@@ -46,7 +45,7 @@ function nt(e) {
46
45
  }
47
46
  );
48
47
  }
49
- const le = Re({
48
+ const le = Ee({
50
49
  content: null,
51
50
  context: {},
52
51
  localState: void 0,
@@ -61,10 +60,10 @@ const le = Re({
61
60
  BlocksWrapperProps: {},
62
61
  nonce: "",
63
62
  model: ""
64
- }), Ve = Re({ registeredComponents: {} }), Be = (e, t, n) => {
63
+ }), Pe = Ee({ registeredComponents: {} }), Be = (e, t, n) => {
65
64
  const i = String.prototype.split.call(t, /[,[\].]+?/).filter(Boolean).reduce((o, a) => o != null ? o[a] : o, e);
66
65
  return i === void 0 || i === e ? n : i;
67
- }, it = ({
66
+ }, nt = ({
68
67
  builder: e,
69
68
  context: t,
70
69
  event: n,
@@ -76,15 +75,15 @@ const le = Re({
76
75
  builder: e,
77
76
  context: t,
78
77
  event: n
79
- }), ot = () => ({
78
+ }), it = () => ({
80
79
  isEditing: W(),
81
- isBrowser: L(),
82
- isServer: !L(),
83
- getUserAttributes: () => Ke()
84
- }), at = (e, {
80
+ isBrowser: D(),
81
+ isServer: !D(),
82
+ getUserAttributes: () => ze()
83
+ }), ot = (e, {
85
84
  isExpression: t = !0
86
85
  }) => /* 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
- function Ae({
86
+ function Ve({
88
87
  rootState: e,
89
88
  localState: t,
90
89
  rootSetState: n
@@ -94,7 +93,7 @@ function Ae({
94
93
  if (t && o in t)
95
94
  return t[o];
96
95
  const a = i[o];
97
- return typeof a == "object" && a !== null ? Ae({
96
+ return typeof a == "object" && a !== null ? Ve({
98
97
  rootState: a,
99
98
  localState: void 0,
100
99
  rootSetState: n ? (r) => {
@@ -109,7 +108,7 @@ function Ae({
109
108
  }
110
109
  });
111
110
  }
112
- const ge = ({
111
+ const he = ({
113
112
  code: e,
114
113
  builder: t,
115
114
  context: n,
@@ -118,37 +117,37 @@ const ge = ({
118
117
  rootSetState: a,
119
118
  rootState: r
120
119
  }) => {
121
- const l = it({
120
+ const l = nt({
122
121
  builder: t,
123
122
  context: n,
124
123
  event: i,
125
- state: Ae({
124
+ state: Ve({
126
125
  rootState: r,
127
126
  localState: o,
128
127
  rootSetState: a
129
128
  })
130
129
  });
131
- return new Function(...l.map(([u]) => u), e)(...l.map(([, u]) => u));
130
+ return new Function(...l.map(([d]) => d), e)(...l.map(([, d]) => d));
132
131
  };
133
- function rt() {
132
+ function at() {
134
133
  var e;
135
- return typeof process != "undefined" && J((e = process == null ? void 0 : process.versions) == null ? void 0 : e.node);
134
+ return typeof process != "undefined" && q((e = process == null ? void 0 : process.versions) == null ? void 0 : e.node);
136
135
  }
137
- const lt = ({
136
+ const rt = ({
138
137
  shouldLogWarning: e
139
138
  }) => {
140
139
  var o;
141
- if (!rt())
140
+ if (!at())
142
141
  return !1;
143
142
  const t = process.arch === "arm64", n = process.version.startsWith("v20"), i = (o = process.env.NODE_OPTIONS) == null ? void 0 : o.includes("--no-node-snapshot");
144
- return t && n && !i ? (e && Y.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
- }, st = (e) => (L() || lt({
143
+ 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;
144
+ }, lt = (e) => (D() || rt({
146
145
  shouldLogWarning: !0
147
- }), ge(e)), ct = /^(return )?(\s*)?state(?<getPath>(\.\w+)+)(\s*);?$/, ut = /(\s)*var(\s)+_virtual_index(\s)*=(\s)*state(?<getPath>(\.\w+)+)(\s*);?(\s)*return(\s)*_virtual_index(\s)*/, dt = (e) => {
146
+ }), he(e)), st = /^(return )?(\s*)?state(?<getPath>(\.\w+)+)(\s*);?$/, ct = /(\s)*var(\s)+_virtual_index(\s)*=(\s)*state(?<getPath>(\.\w+)+)(\s*);?(\s)*return(\s)*_virtual_index(\s)*/, dt = (e) => {
148
147
  var t, n, i, o, a, r;
149
- return ((i = (n = (t = ct.exec(e.trim())) == null ? void 0 : t.groups) == null ? void 0 : n.getPath) == null ? void 0 : i.slice(1)) || ((r = (a = (o = ut.exec(e.trim())) == null ? void 0 : o.groups) == null ? void 0 : a.getPath) == null ? void 0 : r.slice(1));
148
+ return ((i = (n = (t = st.exec(e.trim())) == null ? void 0 : t.groups) == null ? void 0 : n.getPath) == null ? void 0 : i.slice(1)) || ((r = (a = (o = ct.exec(e.trim())) == null ? void 0 : o.groups) == null ? void 0 : a.getPath) == null ? void 0 : r.slice(1));
150
149
  };
151
- function U({
150
+ function L({
152
151
  code: e,
153
152
  context: t,
154
153
  localState: n,
@@ -165,11 +164,11 @@ function U({
165
164
  ...i,
166
165
  ...n
167
166
  }, l);
168
- const u = {
169
- code: at(e, {
167
+ const d = {
168
+ code: ot(e, {
170
169
  isExpression: r
171
170
  }),
172
- builder: ot(),
171
+ builder: it(),
173
172
  context: t,
174
173
  event: a,
175
174
  rootSetState: o,
@@ -177,28 +176,28 @@ function U({
177
176
  localState: n
178
177
  };
179
178
  try {
180
- return st(u);
179
+ return lt(d);
181
180
  } catch (c) {
182
- Y.error("Failed code evaluation: " + c.message, {
181
+ J.error("Failed code evaluation: " + c.message, {
183
182
  code: e
184
183
  });
185
184
  return;
186
185
  }
187
186
  }
188
- function mt(e, t) {
187
+ function ut(e, t) {
189
188
  var n;
190
189
  return {
191
190
  ...(n = e.component) == null ? void 0 : n.options,
192
191
  ...e.options,
193
- ...ft(e, t)
192
+ ...mt(e, t)
194
193
  };
195
194
  }
196
- const ft = (e, t) => {
195
+ const mt = (e, t) => {
197
196
  var n, i;
198
197
  if (((n = e.component) == null ? void 0 : n.name) === "Text" && ((i = e.component.options) != null && i.text) && typeof e.component.options.text == "string")
199
198
  return {
200
199
  ...e.component.options,
201
- text: e.component.options.text.replace(/{{([^}]+)}}/g, (o, a) => U({
200
+ text: e.component.options.text.replace(/{{([^}]+)}}/g, (o, a) => L({
202
201
  code: a,
203
202
  context: t,
204
203
  localState: t.localState,
@@ -207,13 +206,13 @@ const ft = (e, t) => {
207
206
  }))
208
207
  };
209
208
  };
210
- function ht(e, ...t) {
209
+ function ft(e, ...t) {
211
210
  const n = Object.assign({}, e);
212
211
  for (const i of t)
213
212
  delete n[i];
214
213
  return n;
215
214
  }
216
- function G(e, t, n = null, i = null, o = /* @__PURE__ */ new WeakSet()) {
215
+ function K(e, t, n = null, i = null, o = /* @__PURE__ */ new WeakSet()) {
217
216
  if (e == null || typeof e != "object") {
218
217
  t(e, (a) => {
219
218
  n !== null && i !== null && (n[i] = a);
@@ -221,59 +220,59 @@ function G(e, t, n = null, i = null, o = /* @__PURE__ */ new WeakSet()) {
221
220
  return;
222
221
  }
223
222
  o.has(e) || (o.add(e), Array.isArray(e) ? e.forEach((a, r) => {
224
- t(a, (u) => {
225
- e[r] = u;
226
- }), G(a, t, e, r, o);
223
+ t(a, (d) => {
224
+ e[r] = d;
225
+ }), K(a, t, e, r, o);
227
226
  }) : Object.entries(e).forEach(([a, r]) => {
228
- t(r, (u) => {
229
- e[a] = u;
230
- }), G(r, t, e, a, o);
227
+ t(r, (d) => {
228
+ e[a] = d;
229
+ }), K(r, t, e, a, o);
231
230
  }));
232
231
  }
233
- function Ne(e) {
232
+ function Ae(e) {
234
233
  return e && typeof e == "object" && e["@type"] === "@builder.io/core:LocalizedValue";
235
234
  }
236
- function gt(e) {
235
+ function ht(e) {
237
236
  if (!e || !Object.getOwnPropertyNames(e).length)
238
237
  return !1;
239
238
  let t = !1;
240
- return G(e, (n) => {
241
- if (Ne(n)) {
239
+ return K(e, (n) => {
240
+ if (Ae(n)) {
242
241
  t = !0;
243
242
  return;
244
243
  }
245
244
  }), t;
246
245
  }
247
- function bt(e, t) {
248
- return !e || !Object.getOwnPropertyNames(e).length ? {} : (G(e, (n, i) => {
246
+ function gt(e, t) {
247
+ return !e || !Object.getOwnPropertyNames(e).length ? {} : (K(e, (n, i) => {
249
248
  var o;
250
- Ne(n) && i((o = n[t]) != null ? o : void 0);
249
+ Ae(n) && i((o = n[t]) != null ? o : void 0);
251
250
  }), e);
252
251
  }
253
- function pt(e, t) {
252
+ function bt(e, t) {
254
253
  var n, i;
255
- return (n = e.component) != null && n.options && gt((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;
254
+ return (n = e.component) != null && n.options && ht((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 = gt(e.component.options, t != null ? t : "Default")), e;
256
255
  }
257
- const se = (e) => JSON.parse(JSON.stringify(e)), We = (e, t, n) => {
256
+ const se = (e) => JSON.parse(JSON.stringify(e)), Ne = (e, t, n) => {
258
257
  if (Object(e) !== e)
259
258
  return e;
260
259
  const i = Array.isArray(t) ? t : t.toString().match(/[^.[\]]+/g);
261
260
  return i.slice(0, -1).reduce((o, a, r) => Object(o[a]) === o[a] ? o[a] : o[a] = Math.abs(Number(i[r + 1])) >> 0 === +i[r + 1] ? [] : {}, e)[i[i.length - 1]] = n, e;
262
261
  };
263
- function ae(e) {
262
+ function ie(e) {
264
263
  if (e === null || typeof e != "object")
265
264
  return e;
266
265
  if (Array.isArray(e))
267
- return e.map((n) => ae(n));
266
+ return e.map((n) => ie(n));
268
267
  if (e["@type"] === "@builder.io/sdk:Element")
269
268
  return e;
270
269
  const t = {};
271
270
  for (const n in e)
272
- n !== "meta" && Object.prototype.hasOwnProperty.call(e, n) && (t[n] = ae(e[n]));
271
+ n !== "meta" && Object.prototype.hasOwnProperty.call(e, n) && (t[n] = ie(e[n]));
273
272
  return t;
274
273
  }
275
- const yt = ["svelte", "vue", "angular", "qwik", "solid"].includes(F), vt = (e) => {
276
- if (yt) {
274
+ const pt = ["svelte", "vue", "angular", "qwik", "solid"].includes($), yt = (e) => {
275
+ if (pt) {
277
276
  const t = se(e);
278
277
  return {
279
278
  ...t,
@@ -285,7 +284,7 @@ const yt = ["svelte", "vue", "angular", "qwik", "solid"].includes(F), vt = (e) =
285
284
  }
286
285
  };
287
286
  } else {
288
- const t = ae(ht(e, "children", "meta"));
287
+ const t = ie(ft(e, "children", "meta"));
289
288
  return {
290
289
  ...t,
291
290
  properties: {
@@ -307,27 +306,27 @@ const yt = ["svelte", "vue", "angular", "qwik", "solid"].includes(F), vt = (e) =
307
306
  }) => {
308
307
  if (!e.bindings)
309
308
  return e;
310
- const a = vt(e);
309
+ const a = yt(e);
311
310
  for (const r in e.bindings) {
312
- const l = e.bindings[r], u = U({
311
+ const l = e.bindings[r], d = L({
313
312
  code: l,
314
313
  localState: n,
315
314
  rootState: i,
316
315
  rootSetState: o,
317
316
  context: t
318
317
  });
319
- We(a, r, u);
318
+ Ne(a, r, d);
320
319
  }
321
320
  return a;
322
321
  };
323
- function St({
322
+ function vt({
324
323
  block: e,
325
324
  context: t,
326
325
  localState: n,
327
326
  rootState: i,
328
327
  rootSetState: o
329
328
  }) {
330
- let a = pt(e, i.locale);
329
+ let a = bt(e, i.locale);
331
330
  return a = a, xt({
332
331
  block: a,
333
332
  localState: n,
@@ -336,20 +335,20 @@ function St({
336
335
  context: t
337
336
  });
338
337
  }
339
- const Z = (e) => e ? e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase() : "";
340
- function kt(e, t, n = {}) {
338
+ const G = (e) => e ? e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase() : "";
339
+ function St(e, t, n = {}) {
341
340
  let i, o, a, r = null, l = 0;
342
- const u = function() {
341
+ const d = function() {
343
342
  l = n.leading === !1 ? 0 : Date.now(), r = null, a = e.apply(i, o), r || (i = o = null);
344
343
  };
345
344
  return function() {
346
345
  const c = Date.now();
347
346
  !l && n.leading === !1 && (l = c);
348
347
  const h = t - (c - l);
349
- return i = this, o = arguments, h <= 0 || h > t ? (r && (clearTimeout(r), r = null), l = c, a = e.apply(i, o), r || (i = o = null)) : !r && n.trailing !== !1 && (r = setTimeout(u, h)), a;
348
+ return i = this, o = arguments, h <= 0 || h > t ? (r && (clearTimeout(r), r = null), l = c, a = e.apply(i, o), r || (i = o = null)) : !r && n.trailing !== !1 && (r = setTimeout(d, h)), a;
350
349
  };
351
350
  }
352
- function _(e, ...t) {
351
+ function U(e, ...t) {
353
352
  const n = Object(e);
354
353
  for (let i = 1; i < arguments.length; i++) {
355
354
  const o = arguments[i];
@@ -359,42 +358,42 @@ function _(e, ...t) {
359
358
  }
360
359
  return n;
361
360
  }
362
- function Ct(e) {
361
+ function kt(e) {
363
362
  for (const t of e)
364
363
  switch (t.trigger) {
365
364
  case "pageLoad":
366
- Fe(t);
365
+ $e(t);
367
366
  break;
368
367
  case "scrollInView":
369
368
  Tt(t);
370
369
  break;
371
370
  }
372
371
  }
373
- function $e(e) {
372
+ function We(e) {
374
373
  console.warn(`Cannot animate element: element with ID ${e} not found!`);
375
374
  }
376
- function De(e, t) {
377
- const n = wt(e), i = getComputedStyle(t), o = e.steps[0].styles, a = e.steps[e.steps.length - 1].styles, r = [o, a];
375
+ function Fe(e, t) {
376
+ const n = Ct(e), i = getComputedStyle(t), o = e.steps[0].styles, a = e.steps[e.steps.length - 1].styles, r = [o, a];
378
377
  for (const l of r)
379
- for (const u of n)
380
- u in l || (l[u] = i[u]);
378
+ for (const d of n)
379
+ d in l || (l[d] = i[d]);
381
380
  }
382
- function wt(e) {
381
+ function Ct(e) {
383
382
  const t = [];
384
383
  for (const n of e.steps)
385
384
  for (const i in n.styles)
386
385
  t.indexOf(i) === -1 && t.push(i);
387
386
  return t;
388
387
  }
389
- function Fe(e) {
388
+ function $e(e) {
390
389
  const t = Array.prototype.slice.call(document.getElementsByClassName(e.elementId || e.id || ""));
391
390
  if (!t.length) {
392
- $e(e.elementId || e.id || "");
391
+ We(e.elementId || e.id || "");
393
392
  return;
394
393
  }
395
394
  Array.from(t).forEach((n) => {
396
- De(e, n), n.style.transition = "none", n.style.transitionDelay = "0", _(n.style, e.steps[0].styles), setTimeout(() => {
397
- n.style.transition = `all ${e.duration}s ${Z(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s"), _(n.style, e.steps[1].styles), setTimeout(() => {
395
+ Fe(e, n), n.style.transition = "none", n.style.transitionDelay = "0", U(n.style, e.steps[0].styles), setTimeout(() => {
396
+ n.style.transition = `all ${e.duration}s ${G(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s"), U(n.style, e.steps[1].styles), setTimeout(() => {
398
397
  n.style.transition = "", n.style.transitionDelay = "";
399
398
  }, (e.delay || 0) * 1e3 + e.duration * 1e3 + 100);
400
399
  });
@@ -403,32 +402,32 @@ function Fe(e) {
403
402
  function Tt(e) {
404
403
  const t = Array.prototype.slice.call(document.getElementsByClassName(e.elementId || e.id || ""));
405
404
  if (!t.length) {
406
- $e(e.elementId || e.id || "");
405
+ We(e.elementId || e.id || "");
407
406
  return;
408
407
  }
409
408
  Array.from(t).forEach((n) => {
410
- De(e, n);
409
+ Fe(e, n);
411
410
  let i = !1, o = !1;
412
411
  function a() {
413
412
  !i && l(n) ? (i = !0, o = !0, setTimeout(() => {
414
- _(n.style, e.steps[1].styles), e.repeat || document.removeEventListener("scroll", r), setTimeout(() => {
413
+ U(n.style, e.steps[1].styles), e.repeat || document.removeEventListener("scroll", r), setTimeout(() => {
415
414
  o = !1, e.repeat || (n.style.transition = "", n.style.transitionDelay = "");
416
415
  }, (e.duration + (e.delay || 0)) * 1e3 + 100);
417
- })) : e.repeat && i && !o && !l(n) && (i = !1, _(n.style, e.steps[0].styles));
416
+ })) : e.repeat && i && !o && !l(n) && (i = !1, U(n.style, e.steps[0].styles));
418
417
  }
419
- const r = kt(a, 200, {
418
+ const r = St(a, 200, {
420
419
  leading: !1
421
420
  });
422
421
  function l(h) {
423
- const b = h.getBoundingClientRect(), f = window.innerHeight, d = (e.thresholdPercent || 0) / 100 * f;
424
- return b.bottom > d && b.top < f - d;
422
+ const m = h.getBoundingClientRect(), u = window.innerHeight, g = (e.thresholdPercent || 0) / 100 * u;
423
+ return m.bottom > g && m.top < u - g;
425
424
  }
426
- const u = e.steps[0].styles;
425
+ const d = e.steps[0].styles;
427
426
  function c() {
428
- _(n.style, u);
427
+ U(n.style, d);
429
428
  }
430
429
  c(), setTimeout(() => {
431
- n.style.transition = `all ${e.duration}s ${Z(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s");
430
+ n.style.transition = `all ${e.duration}s ${G(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s");
432
431
  }), document.addEventListener("scroll", r, {
433
432
  capture: !0,
434
433
  passive: !0
@@ -437,9 +436,9 @@ function Tt(e) {
437
436
  }
438
437
  const Oe = (e) => Object.entries(e).map(([n, i]) => {
439
438
  if (typeof i == "string")
440
- return `${Z(n)}: ${i};`;
441
- }).filter(J), It = (e) => Oe(e).join(`
442
- `), z = ({
439
+ return `${G(n)}: ${i};`;
440
+ }).filter(q), It = (e) => Oe(e).join(`
441
+ `), M = ({
443
442
  mediaQuery: e,
444
443
  className: t,
445
444
  styles: n
@@ -451,21 +450,21 @@ const Oe = (e) => Object.entries(e).map(([n, i]) => {
451
450
  ${i}
452
451
  }` : i;
453
452
  };
454
- function Et({
453
+ function wt({
455
454
  style: e
456
455
  }) {
457
456
  return e;
458
457
  }
459
- const Rt = ({
458
+ const Et = ({
460
459
  block: e,
461
460
  context: t
462
- }) => Le(Et({
461
+ }) => De(wt({
463
462
  style: e.style || {},
464
463
  context: t,
465
464
  block: e
466
465
  }));
467
- function Le(e) {
468
- switch (F) {
466
+ function De(e) {
467
+ switch ($) {
469
468
  case "svelte":
470
469
  case "vue":
471
470
  case "solid":
@@ -478,7 +477,7 @@ function Le(e) {
478
477
  return e;
479
478
  }
480
479
  }
481
- const Ue = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includes(t) : !1 : !0, Pt = ({
480
+ const Le = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includes(t) : !1 : !0, Rt = ({
482
481
  block: e,
483
482
  registeredComponents: t,
484
483
  model: n
@@ -488,14 +487,14 @@ const Ue = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
488
487
  if (!i)
489
488
  return null;
490
489
  const o = t[i];
491
- if (!o || Ue(o, n)) {
490
+ if (!o || Le(o, n)) {
492
491
  console.warn(`
493
492
  Could not find a registered component named "${i}".
494
493
  If you registered it, is the file that registered it imported by the file that needs to render it?`);
495
494
  return;
496
495
  } else
497
496
  return o;
498
- }, Vt = ({
497
+ }, Pt = ({
499
498
  block: e,
500
499
  context: t
501
500
  }) => {
@@ -505,7 +504,7 @@ const Ue = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
505
504
  } = e;
506
505
  if (!(n != null && n.collection))
507
506
  return;
508
- const o = U({
507
+ const o = L({
509
508
  code: n.collection,
510
509
  localState: t.localState,
511
510
  rootState: t.rootState,
@@ -515,14 +514,14 @@ const Ue = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
515
514
  if (!Array.isArray(o))
516
515
  return;
517
516
  const a = n.collection.split(".").pop(), r = n.itemName || (a ? a + "Item" : "item");
518
- return o.map((u, c) => ({
517
+ return o.map((d, c) => ({
519
518
  context: {
520
519
  ...t,
521
520
  localState: {
522
521
  ...t.localState,
523
522
  $index: c,
524
- $item: u,
525
- [r]: u,
523
+ $item: d,
524
+ [r]: d,
526
525
  [`$${r}Index`]: c
527
526
  }
528
527
  },
@@ -533,22 +532,22 @@ const Ue = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
533
532
  return (n = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && n.builderLinkComponent ? {
534
533
  builderLinkComponent: t
535
534
  } : {};
536
- }, At = (e, t, n) => {
535
+ }, Vt = (e, t, n) => {
537
536
  var i;
538
537
  return (i = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && i.builderComponents ? {
539
- builderComponents: Object.fromEntries(Object.entries(t).filter(([a, r]) => !Ue(r, n)))
538
+ builderComponents: Object.fromEntries(Object.entries(t).filter(([a, r]) => !Le(r, n)))
540
539
  } : {};
541
- }, Nt = (e, t) => {
540
+ }, At = (e, t) => {
542
541
  var n;
543
542
  return (n = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && n.builderBlock ? {
544
543
  builderBlock: t
545
544
  } : {};
546
- }, Wt = (e, t) => {
545
+ }, Nt = (e, t) => {
547
546
  var n;
548
547
  return (n = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && n.builderContext ? {
549
548
  builderContext: t
550
549
  } : {};
551
- }, _e = {
550
+ }, Ue = {
552
551
  small: {
553
552
  min: 320,
554
553
  default: 321,
@@ -564,11 +563,11 @@ const Ue = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
564
563
  default: 991,
565
564
  max: 1200
566
565
  }
567
- }, be = (e, t = _e) => `@media (max-width: ${t[e].max}px)`, qe = ({
566
+ }, ge = (e, t = Ue) => `@media (max-width: ${t[e].max}px)`, _e = ({
568
567
  small: e,
569
568
  medium: t
570
569
  }) => {
571
- const n = se(_e);
570
+ const n = se(Ue);
572
571
  if (!e || !t)
573
572
  return n;
574
573
  const i = Math.floor(e / 2);
@@ -591,7 +590,7 @@ const Ue = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
591
590
  default: a + 1
592
591
  }, n;
593
592
  };
594
- function M(e) {
593
+ function Y(e) {
595
594
  return /* @__PURE__ */ s(
596
595
  "style",
597
596
  {
@@ -601,59 +600,59 @@ function M(e) {
601
600
  }
602
601
  );
603
602
  }
604
- function $t(e) {
603
+ function Wt(e) {
605
604
  function t() {
606
605
  const i = e.block;
607
- return J(i.hide) ? !i.hide : J(i.show) ? i.show : !0;
606
+ return q(i.hide) ? !i.hide : q(i.show) ? i.show : !0;
608
607
  }
609
608
  function n() {
610
- var v, y, x;
611
- const i = e.block, o = i.responsiveStyles, a = e.context.content, r = qe(
612
- ((v = a == null ? void 0 : a.meta) == null ? void 0 : v.breakpoints) || {}
613
- ), l = o == null ? void 0 : o.large, u = o == null ? void 0 : o.medium, c = o == null ? void 0 : o.small, h = i.id;
609
+ var y, b, p;
610
+ const i = e.block, o = i.responsiveStyles, a = e.context.content, r = _e(
611
+ ((y = a == null ? void 0 : a.meta) == null ? void 0 : y.breakpoints) || {}
612
+ ), l = o == null ? void 0 : o.large, d = o == null ? void 0 : o.medium, c = o == null ? void 0 : o.small, h = i.id;
614
613
  if (!h)
615
614
  return "";
616
- const b = l ? z({
615
+ const m = l ? M({
617
616
  className: h,
618
617
  styles: l
619
- }) : "", f = u ? z({
618
+ }) : "", u = d ? M({
620
619
  className: h,
621
- styles: u,
622
- mediaQuery: be(
620
+ styles: d,
621
+ mediaQuery: ge(
623
622
  "medium",
624
623
  r
625
624
  )
626
- }) : "", p = c ? z({
625
+ }) : "", k = c ? M({
627
626
  className: h,
628
627
  styles: c,
629
- mediaQuery: be(
628
+ mediaQuery: ge(
630
629
  "small",
631
630
  r
632
631
  )
633
- }) : "", d = i.animations && i.animations.find((I) => I.trigger === "hover");
634
- let g = "";
635
- if (d) {
636
- const I = ((x = (y = d.steps) == null ? void 0 : y[1]) == null ? void 0 : x.styles) || {};
637
- g = z({
632
+ }) : "", g = i.animations && i.animations.find((C) => C.trigger === "hover");
633
+ let v = "";
634
+ if (g) {
635
+ const C = ((p = (b = g.steps) == null ? void 0 : b[1]) == null ? void 0 : p.styles) || {};
636
+ v = M({
638
637
  className: `${h}:hover`,
639
638
  styles: {
640
- ...I,
641
- transition: `all ${d.duration}s ${Z(
642
- d.easing
639
+ ...C,
640
+ transition: `all ${g.duration}s ${G(
641
+ g.easing
643
642
  )}`,
644
- transitionDelay: d.delay ? `${d.delay}s` : "0s"
643
+ transitionDelay: g.delay ? `${g.delay}s` : "0s"
645
644
  }
646
645
  }) || "";
647
646
  }
648
647
  return [
649
- b,
650
- f,
651
- p,
652
- g
648
+ m,
649
+ u,
650
+ k,
651
+ v
653
652
  ].join(" ");
654
653
  }
655
- return /* @__PURE__ */ s(P, { children: n() && t() ? /* @__PURE__ */ s(P, { children: /* @__PURE__ */ s(
656
- M,
654
+ return /* @__PURE__ */ s(E, { children: n() && t() ? /* @__PURE__ */ s(E, { children: /* @__PURE__ */ s(
655
+ Y,
657
656
  {
658
657
  id: "builderio-block",
659
658
  styles: n(),
@@ -661,10 +660,10 @@ function $t(e) {
661
660
  }
662
661
  ) }) : null });
663
662
  }
664
- function Dt(e) {
663
+ function Ft(e) {
665
664
  return e.charAt(0).toUpperCase() + e.slice(1);
666
665
  }
667
- const Ft = (e) => `on${Dt(e)}`, Ot = (e, t) => (n) => U({
666
+ const $t = (e) => `on${Ft(e)}`, Ot = (e, t) => (n) => L({
668
667
  code: e,
669
668
  context: t.context,
670
669
  localState: t.localState,
@@ -680,9 +679,9 @@ function He(e) {
680
679
  if (!n.hasOwnProperty(o))
681
680
  continue;
682
681
  const a = n[o];
683
- let r = Ft(o);
682
+ let r = $t(o);
684
683
  if (e.stripPrefix)
685
- switch (F) {
684
+ switch ($) {
686
685
  case "vue":
687
686
  r = r.replace("v-on:", "");
688
687
  break;
@@ -694,12 +693,12 @@ function He(e) {
694
693
  }
695
694
  return t;
696
695
  }
697
- function Lt({
696
+ function Dt({
698
697
  properties: e
699
698
  }) {
700
699
  return e;
701
700
  }
702
- const Ut = (e) => ({
701
+ const Lt = (e) => ({
703
702
  href: e.href
704
703
  });
705
704
  function ce({
@@ -708,22 +707,22 @@ function ce({
708
707
  }) {
709
708
  var i;
710
709
  const n = {
711
- ...Ut(e),
710
+ ...Lt(e),
712
711
  ...e.properties,
713
712
  "builder-id": e.id,
714
- style: Rt({
713
+ style: Et({
715
714
  block: e,
716
715
  context: t
717
716
  }),
718
- [H()]: [e.id, "builder-block", e.class, (i = e.properties) == null ? void 0 : i.class].filter(Boolean).join(" ")
717
+ [_()]: [e.id, "builder-block", e.class, (i = e.properties) == null ? void 0 : i.class].filter(Boolean).join(" ")
719
718
  };
720
- return Lt({
719
+ return Dt({
721
720
  properties: n,
722
721
  context: t,
723
722
  block: e
724
723
  });
725
724
  }
726
- function _t(e) {
725
+ function Ut(e) {
727
726
  return /* @__PURE__ */ s(
728
727
  re,
729
728
  {
@@ -744,9 +743,9 @@ function _t(e) {
744
743
  }
745
744
  );
746
745
  }
747
- function qt(e) {
746
+ function _t(e) {
748
747
  return A(() => {
749
- }, []), /* @__PURE__ */ s(P, { children: e.children });
748
+ }, []), /* @__PURE__ */ s(E, { children: e.children });
750
749
  }
751
750
  function Ht(e) {
752
751
  function t() {
@@ -764,8 +763,8 @@ function Ht(e) {
764
763
  })
765
764
  } : {};
766
765
  }
767
- return /* @__PURE__ */ s(P, { children: e.Wrapper.load ? /* @__PURE__ */ s(P, { children: /* @__PURE__ */ s(
768
- qt,
766
+ return /* @__PURE__ */ s(E, { children: e.Wrapper.load ? /* @__PURE__ */ s(E, { children: /* @__PURE__ */ s(
767
+ _t,
769
768
  {
770
769
  load: e.Wrapper.load,
771
770
  fallback: e.Wrapper.fallback,
@@ -805,12 +804,12 @@ const Mt = ({
805
804
  includeBlockProps: o
806
805
  } : l;
807
806
  };
808
- function pe(e) {
807
+ function be(e) {
809
808
  var i;
810
809
  const [t, n] = R(
811
810
  () => e.isInteractive ? Ht : e.componentRef
812
811
  );
813
- return /* @__PURE__ */ s(P, { children: e.componentRef ? /* @__PURE__ */ s(P, { children: /* @__PURE__ */ s(
812
+ return /* @__PURE__ */ s(E, { children: e.componentRef ? /* @__PURE__ */ s(E, { children: /* @__PURE__ */ s(
814
813
  t,
815
814
  {
816
815
  ...Mt({
@@ -824,7 +823,7 @@ function pe(e) {
824
823
  contextValue: e.context
825
824
  }),
826
825
  children: (i = e.blockChildren) == null ? void 0 : i.map((o) => /* @__PURE__ */ s(
827
- j,
826
+ Q,
828
827
  {
829
828
  block: o,
830
829
  context: e.context,
@@ -836,10 +835,10 @@ function pe(e) {
836
835
  }
837
836
  ) }) : null });
838
837
  }
839
- function ye(e) {
838
+ function pe(e) {
840
839
  const [t, n] = R(() => e.repeatContext);
841
840
  return /* @__PURE__ */ s(le.Provider, { value: t, children: /* @__PURE__ */ s(
842
- j,
841
+ Q,
843
842
  {
844
843
  block: e.block,
845
844
  context: t,
@@ -848,10 +847,10 @@ function ye(e) {
848
847
  }
849
848
  ) });
850
849
  }
851
- function j(e) {
852
- var h, b, f, p;
850
+ function Q(e) {
851
+ var h, m, u, k;
853
852
  function t() {
854
- return Vt({
853
+ return Pt({
855
854
  block: e.block,
856
855
  context: e.context
857
856
  });
@@ -861,51 +860,51 @@ function j(e) {
861
860
  update: !1
862
861
  }));
863
862
  function o() {
864
- var g;
865
- if (n.value && !n.update && !X())
863
+ var v;
864
+ if (n.value && !n.update && !ae())
866
865
  return n.value;
867
- const d = (g = e.block.repeat) != null && g.collection ? e.block : St({
866
+ const g = (v = e.block.repeat) != null && v.collection ? e.block : vt({
868
867
  block: e.block,
869
868
  localState: e.context.localState,
870
869
  rootState: e.context.rootState,
871
870
  rootSetState: e.context.rootSetState,
872
871
  context: e.context.context
873
872
  });
874
- return n.value = d, n.update = !1, d;
873
+ return n.value = g, n.update = !1, g;
875
874
  }
876
875
  function a() {
877
- return Pt({
876
+ return Rt({
878
877
  block: o(),
879
878
  registeredComponents: e.registeredComponents,
880
879
  model: e.context.model
881
880
  });
882
881
  }
883
882
  function r() {
884
- var g;
885
- return e.block.tagName === "a" || ((g = o().properties) == null ? void 0 : g.href) || o().href ? e.linkComponent || "a" : e.block.tagName || "div";
883
+ var v;
884
+ return e.block.tagName === "a" || ((v = o().properties) == null ? void 0 : v.href) || o().href ? e.linkComponent || "a" : e.block.tagName || "div";
886
885
  }
887
886
  function l() {
888
- var v, y;
889
- if ((v = e.block.repeat) != null && v.collection)
890
- return !!((y = t == null ? void 0 : t()) != null && y.length);
891
- const d = "hide" in o() ? o().hide : !1;
892
- return ("show" in o() ? o().show : !0) && !d;
887
+ var y, b;
888
+ if ((y = e.block.repeat) != null && y.collection)
889
+ return !!((b = t == null ? void 0 : t()) != null && b.length);
890
+ const g = "hide" in o() ? o().hide : !1;
891
+ return ("show" in o() ? o().show : !0) && !g;
893
892
  }
894
- function u() {
895
- var g, v;
896
- return !((g = a == null ? void 0 : a()) != null && g.component) && !t() ? (v = o().children) != null ? v : [] : [];
893
+ function d() {
894
+ var v, y;
895
+ return !((v = a == null ? void 0 : a()) != null && v.component) && !t() ? (y = o().children) != null ? y : [] : [];
897
896
  }
898
897
  function c() {
899
- var d, g, v, y;
898
+ var g, v, y, b;
900
899
  return {
901
- blockChildren: (d = o().children) != null ? d : [],
902
- componentRef: (g = a == null ? void 0 : a()) == null ? void 0 : g.component,
900
+ blockChildren: (g = o().children) != null ? g : [],
901
+ componentRef: (v = a == null ? void 0 : a()) == null ? void 0 : v.component,
903
902
  componentOptions: {
904
- ...mt(o(), e.context),
905
- ...Nt(a(), o()),
906
- ...Wt(a(), e.context),
903
+ ...ut(o(), e.context),
904
+ ...At(a(), o()),
905
+ ...Nt(a(), e.context),
907
906
  ...Bt(a(), e.linkComponent),
908
- ...At(
907
+ ...Vt(
909
908
  a(),
910
909
  e.registeredComponents,
911
910
  e.context.model
@@ -915,33 +914,33 @@ function j(e) {
915
914
  linkComponent: e.linkComponent,
916
915
  registeredComponents: e.registeredComponents,
917
916
  builderBlock: o(),
918
- includeBlockProps: ((v = a == null ? void 0 : a()) == null ? void 0 : v.noWrap) === !0,
919
- isInteractive: !((y = a == null ? void 0 : a()) != null && y.isRSC && F === "rsc")
917
+ includeBlockProps: ((y = a == null ? void 0 : a()) == null ? void 0 : y.noWrap) === !0,
918
+ isInteractive: !((b = a == null ? void 0 : a()) != null && b.isRSC && $ === "rsc")
920
919
  };
921
920
  }
922
921
  return A(() => {
923
- const d = o().id, g = o().animations;
924
- g && d && Ct(
925
- g.map((v) => ({
926
- ...v,
927
- elementId: d
922
+ const g = o().id, v = o().animations;
923
+ v && g && kt(
924
+ v.map((y) => ({
925
+ ...y,
926
+ elementId: g
928
927
  }))
929
928
  );
930
929
  }, []), A(() => {
931
930
  n.update = !0;
932
- }), /* @__PURE__ */ s(P, { children: l() ? /* @__PURE__ */ N(P, { children: [
933
- /* @__PURE__ */ s($t, { block: o(), context: e.context }),
934
- (h = a == null ? void 0 : a()) != null && h.noWrap ? t() ? /* @__PURE__ */ s(P, { children: (p = t()) == null ? void 0 : p.map((d, g) => /* @__PURE__ */ s(
935
- ye,
931
+ }), /* @__PURE__ */ s(E, { children: l() ? /* @__PURE__ */ B(E, { children: [
932
+ /* @__PURE__ */ s(Wt, { block: o(), context: e.context }),
933
+ (h = a == null ? void 0 : a()) != null && h.noWrap ? t() ? /* @__PURE__ */ s(E, { children: (k = t()) == null ? void 0 : k.map((g, v) => /* @__PURE__ */ s(
934
+ pe,
936
935
  {
937
- repeatContext: d.context,
938
- block: d.block,
936
+ repeatContext: g.context,
937
+ block: g.block,
939
938
  registeredComponents: e.registeredComponents,
940
939
  linkComponent: e.linkComponent
941
940
  },
942
- g
941
+ v
943
942
  )) }) : /* @__PURE__ */ s(
944
- pe,
943
+ be,
945
944
  {
946
945
  componentRef: c().componentRef,
947
946
  componentOptions: c().componentOptions,
@@ -953,24 +952,24 @@ function j(e) {
953
952
  includeBlockProps: c().includeBlockProps,
954
953
  isInteractive: c().isInteractive
955
954
  }
956
- ) : /* @__PURE__ */ s(P, { children: t() ? /* @__PURE__ */ s(P, { children: (f = t()) == null ? void 0 : f.map((d, g) => /* @__PURE__ */ s(
957
- ye,
955
+ ) : /* @__PURE__ */ s(E, { children: t() ? /* @__PURE__ */ s(E, { children: (u = t()) == null ? void 0 : u.map((g, v) => /* @__PURE__ */ s(
956
+ pe,
958
957
  {
959
- repeatContext: d.context,
960
- block: d.block,
958
+ repeatContext: g.context,
959
+ block: g.block,
961
960
  registeredComponents: e.registeredComponents,
962
961
  linkComponent: e.linkComponent
963
962
  },
964
- g
965
- )) }) : /* @__PURE__ */ N(
966
- _t,
963
+ v
964
+ )) }) : /* @__PURE__ */ B(
965
+ Ut,
967
966
  {
968
967
  Wrapper: r(),
969
968
  block: o(),
970
969
  context: e.context,
971
970
  children: [
972
971
  /* @__PURE__ */ s(
973
- pe,
972
+ be,
974
973
  {
975
974
  componentRef: c().componentRef,
976
975
  componentOptions: c().componentOptions,
@@ -983,15 +982,15 @@ function j(e) {
983
982
  isInteractive: c().isInteractive
984
983
  }
985
984
  ),
986
- (b = u()) == null ? void 0 : b.map((d) => /* @__PURE__ */ s(
987
- j,
985
+ (m = d()) == null ? void 0 : m.map((g) => /* @__PURE__ */ s(
986
+ Q,
988
987
  {
989
- block: d,
988
+ block: g,
990
989
  registeredComponents: e.registeredComponents,
991
990
  linkComponent: e.linkComponent,
992
991
  context: e.context
993
992
  },
994
- d.id
993
+ g.id
995
994
  ))
996
995
  ]
997
996
  }
@@ -999,7 +998,7 @@ function j(e) {
999
998
  ] }) : null });
1000
999
  }
1001
1000
  function jt(e) {
1002
- const t = D(null);
1001
+ const t = O(null);
1003
1002
  function n() {
1004
1003
  var r;
1005
1004
  return [
@@ -1041,7 +1040,7 @@ function jt(e) {
1041
1040
  ));
1042
1041
  }
1043
1042
  return A(() => {
1044
- }, []), /* @__PURE__ */ N(P, { children: [
1043
+ }, []), /* @__PURE__ */ B(E, { children: [
1045
1044
  /* @__PURE__ */ s(
1046
1045
  e.BlocksWrapper,
1047
1046
  {
@@ -1064,9 +1063,9 @@ function jt(e) {
1064
1063
  }` })
1065
1064
  ] });
1066
1065
  }
1067
- function $(e) {
1066
+ function F(e) {
1068
1067
  var i, o, a;
1069
- const t = he(le), n = he(Ve);
1068
+ const t = fe(le), n = fe(Pe);
1070
1069
  return /* @__PURE__ */ s(
1071
1070
  jt,
1072
1071
  {
@@ -1077,8 +1076,8 @@ function $(e) {
1077
1076
  classNameProp: e.className,
1078
1077
  BlocksWrapper: ((i = e.context) == null ? void 0 : i.BlocksWrapper) || (t == null ? void 0 : t.BlocksWrapper),
1079
1078
  BlocksWrapperProps: ((o = e.context) == null ? void 0 : o.BlocksWrapperProps) || (t == null ? void 0 : t.BlocksWrapperProps),
1080
- children: e.blocks ? /* @__PURE__ */ s(P, { children: (a = e.blocks) == null ? void 0 : a.map((r) => /* @__PURE__ */ s(
1081
- j,
1079
+ children: e.blocks ? /* @__PURE__ */ s(E, { children: (a = e.blocks) == null ? void 0 : a.map((r) => /* @__PURE__ */ s(
1080
+ Q,
1082
1081
  {
1083
1082
  block: r,
1084
1083
  linkComponent: e.linkComponent,
@@ -1090,9 +1089,9 @@ function $(e) {
1090
1089
  }
1091
1090
  );
1092
1091
  }
1093
- const zt = (e) => `builder-columns ${e}-breakpoints`;
1094
- function Kt(e) {
1095
- var g, v;
1092
+ const qt = (e) => `builder-columns ${e}-breakpoints`;
1093
+ function zt(e) {
1094
+ var v, y;
1096
1095
  function t() {
1097
1096
  return typeof e.space == "number" ? e.space || 0 : 20;
1098
1097
  }
@@ -1102,28 +1101,28 @@ function Kt(e) {
1102
1101
  function i() {
1103
1102
  return e.stackColumnsAt || "tablet";
1104
1103
  }
1105
- function o(y) {
1106
- return y.link ? e.builderLinkComponent || "a" : "div";
1104
+ function o(b) {
1105
+ return b.link ? e.builderLinkComponent || "a" : "div";
1107
1106
  }
1108
- function a(y) {
1109
- var x;
1110
- return ((x = n()[y]) == null ? void 0 : x.width) || 100 / n().length;
1107
+ function a(b) {
1108
+ var p;
1109
+ return ((p = n()[b]) == null ? void 0 : p.width) || 100 / n().length;
1111
1110
  }
1112
- function r(y) {
1113
- const x = a(y), I = t() * (n().length - 1) * (x / 100);
1114
- return `calc(${x}% - ${I}px)`;
1111
+ function r(b) {
1112
+ const p = a(b), C = t() * (n().length - 1) * (p / 100);
1113
+ return `calc(${p}% - ${C}px)`;
1115
1114
  }
1116
1115
  function l({
1117
- stackedStyle: y,
1118
- desktopStyle: x
1116
+ stackedStyle: b,
1117
+ desktopStyle: p
1119
1118
  }) {
1120
- return i() === "tablet" ? y : x;
1119
+ return i() === "tablet" ? b : p;
1121
1120
  }
1122
- function u({
1123
- stackedStyle: y,
1124
- desktopStyle: x
1121
+ function d({
1122
+ stackedStyle: b,
1123
+ desktopStyle: p
1125
1124
  }) {
1126
- return i() === "never" ? x : y;
1125
+ return i() === "never" ? p : b;
1127
1126
  }
1128
1127
  function c() {
1129
1128
  return e.stackColumnsAt === "never" ? "row" : e.reverseColumnsWhenStacked ? "column-reverse" : "column";
@@ -1137,173 +1136,173 @@ function Kt(e) {
1137
1136
  })
1138
1137
  };
1139
1138
  }
1140
- function b(y) {
1141
- const x = y === 0 ? 0 : t(), I = r(y), B = `${x}px`, C = "100%", S = 0;
1139
+ function m(b) {
1140
+ const p = b === 0 ? 0 : t(), C = r(b), P = `${p}px`, I = "100%", w = 0;
1142
1141
  return {
1143
1142
  ...{
1144
1143
  display: "flex",
1145
1144
  flexDirection: "column",
1146
1145
  alignItems: "stretch"
1147
1146
  },
1148
- width: I,
1149
- ["marginLeft"]: B,
1150
- "--column-width-mobile": u({
1151
- stackedStyle: C,
1152
- desktopStyle: I
1147
+ width: C,
1148
+ ["marginLeft"]: P,
1149
+ "--column-width-mobile": d({
1150
+ stackedStyle: I,
1151
+ desktopStyle: C
1153
1152
  }),
1154
- "--column-margin-left-mobile": u({
1155
- stackedStyle: S,
1156
- desktopStyle: B
1153
+ "--column-margin-left-mobile": d({
1154
+ stackedStyle: w,
1155
+ desktopStyle: P
1157
1156
  }),
1158
1157
  "--column-width-tablet": l({
1159
- stackedStyle: C,
1160
- desktopStyle: I
1158
+ stackedStyle: I,
1159
+ desktopStyle: C
1161
1160
  }),
1162
1161
  "--column-margin-left-tablet": l({
1163
- stackedStyle: S,
1164
- desktopStyle: B
1162
+ stackedStyle: w,
1163
+ desktopStyle: P
1165
1164
  })
1166
1165
  };
1167
1166
  }
1168
- function f(y) {
1169
- var I, B;
1170
- return qe(
1171
- ((B = (I = e.builderContext.content) == null ? void 0 : I.meta) == null ? void 0 : B.breakpoints) || {}
1172
- )[y].max;
1167
+ function u(b) {
1168
+ var C, P;
1169
+ return _e(
1170
+ ((P = (C = e.builderContext.content) == null ? void 0 : C.meta) == null ? void 0 : P.breakpoints) || {}
1171
+ )[b].max;
1173
1172
  }
1174
- function p() {
1175
- const y = `.${e.builderBlock.id}-breakpoints > .builder-column`;
1173
+ function k() {
1174
+ const b = `.${e.builderBlock.id}-breakpoints > .builder-column`;
1176
1175
  return `
1177
- @media (max-width: ${f("medium")}px) {
1176
+ @media (max-width: ${u("medium")}px) {
1178
1177
  .${e.builderBlock.id}-breakpoints {
1179
1178
  flex-direction: var(--flex-dir-tablet);
1180
1179
  align-items: stretch;
1181
1180
  }
1182
1181
 
1183
- ${y} {
1182
+ ${b} {
1184
1183
  width: var(--column-width-tablet) !important;
1185
1184
  margin-left: var(--column-margin-left-tablet) !important;
1186
1185
  }
1187
1186
  }
1188
1187
 
1189
- @media (max-width: ${f("small")}px) {
1188
+ @media (max-width: ${u("small")}px) {
1190
1189
  .${e.builderBlock.id}-breakpoints {
1191
1190
  flex-direction: var(--flex-dir);
1192
1191
  align-items: stretch;
1193
1192
  }
1194
1193
 
1195
- ${y} {
1194
+ ${b} {
1196
1195
  width: var(--column-width-mobile) !important;
1197
1196
  margin-left: var(--column-margin-left-mobile) !important;
1198
1197
  }
1199
1198
  },
1200
1199
  `;
1201
1200
  }
1202
- function d(y, x) {
1201
+ function g(b, p) {
1203
1202
  return {
1204
- ...y.link ? {
1205
- href: y.link
1203
+ ...b.link ? {
1204
+ href: b.link
1206
1205
  } : {},
1207
- [H()]: "builder-column",
1208
- style: Le(b(x))
1206
+ [_()]: "builder-column",
1207
+ style: De(m(p))
1209
1208
  };
1210
1209
  }
1211
- return /* @__PURE__ */ N(P, { children: [
1212
- /* @__PURE__ */ N(
1210
+ return /* @__PURE__ */ B(E, { children: [
1211
+ /* @__PURE__ */ B(
1213
1212
  "div",
1214
1213
  {
1215
- className: zt((g = e.builderBlock) == null ? void 0 : g.id) + " div-d55bdf5c",
1214
+ className: qt((v = e.builderBlock) == null ? void 0 : v.id) + " div-a6f3faac",
1216
1215
  style: h(),
1217
1216
  children: [
1218
1217
  /* @__PURE__ */ s(
1219
- M,
1218
+ Y,
1220
1219
  {
1221
1220
  id: "builderio-columns",
1222
- styles: p(),
1221
+ styles: k(),
1223
1222
  nonce: e.builderContext.nonce
1224
1223
  }
1225
1224
  ),
1226
- (v = e.columns) == null ? void 0 : v.map((y, x) => /* @__PURE__ */ s(
1225
+ (y = e.columns) == null ? void 0 : y.map((b, p) => /* @__PURE__ */ s(
1227
1226
  re,
1228
1227
  {
1229
- TagName: o(y),
1228
+ TagName: o(b),
1230
1229
  actionAttributes: {},
1231
- attributes: d(y, x),
1230
+ attributes: g(b, p),
1232
1231
  children: /* @__PURE__ */ s(
1233
- $,
1232
+ F,
1234
1233
  {
1235
- path: `columns.${x}.blocks`,
1234
+ path: `columns.${p}.blocks`,
1236
1235
  parent: e.builderBlock.id,
1237
- styleProp: {
1238
- flexGrow: "1"
1239
- },
1240
1236
  context: e.builderContext,
1241
1237
  registeredComponents: e.builderComponents,
1242
1238
  linkComponent: e.builderLinkComponent,
1243
- blocks: y.blocks
1239
+ blocks: b.blocks,
1240
+ styleProp: {
1241
+ flexGrow: "1"
1242
+ }
1244
1243
  }
1245
1244
  )
1246
1245
  },
1247
- x
1246
+ p
1248
1247
  ))
1249
1248
  ]
1250
1249
  }
1251
1250
  ),
1252
- /* @__PURE__ */ s("style", { children: `.div-d55bdf5c {
1251
+ /* @__PURE__ */ s("style", { children: `.div-a6f3faac {
1253
1252
  display: flex;
1254
1253
  line-height: normal;
1255
1254
  }` })
1256
1255
  ] });
1257
1256
  }
1258
- function Jt(e) {
1257
+ function Kt(e) {
1259
1258
  return /* @__PURE__ */ s("span", { children: e.children });
1260
1259
  }
1261
- function ve(e) {
1260
+ function ye(e) {
1262
1261
  return e.replace(/http(s)?:/, "");
1263
1262
  }
1264
- function Gt(e = "", t, n) {
1263
+ function Jt(e = "", t, n) {
1265
1264
  const i = new RegExp("([?&])" + t + "=.*?(&|$)", "i"), o = e.indexOf("?") !== -1 ? "&" : "?";
1266
1265
  return e.match(i) ? e.replace(i, "$1" + t + "=" + encodeURIComponent(n) + "$2") : e + o + t + "=" + encodeURIComponent(n);
1267
1266
  }
1268
- function Qt(e, t) {
1267
+ function Gt(e, t) {
1269
1268
  if (!e || !(e != null && e.match(/cdn\.shopify\.com/)) || !t)
1270
1269
  return e;
1271
1270
  if (t === "master")
1272
- return ve(e);
1271
+ return ye(e);
1273
1272
  const n = e.match(/(_\d+x(\d+)?)?(\.(jpg|jpeg|gif|png|bmp|bitmap|tiff|tif)(\?v=\d+)?)/i);
1274
1273
  if (n) {
1275
1274
  const i = e.split(n[0]), o = n[3], a = t.match("x") ? t : `${t}x`;
1276
- return ve(`${i[0]}_${a}${o}`);
1275
+ return ye(`${i[0]}_${a}${o}`);
1277
1276
  }
1278
1277
  return null;
1279
1278
  }
1280
- function ee(e) {
1279
+ function X(e) {
1281
1280
  if (!e)
1282
1281
  return e;
1283
1282
  const t = [100, 200, 400, 800, 1200, 1600, 2e3];
1284
1283
  if (e.match(/builder\.io/)) {
1285
1284
  let n = e;
1286
1285
  const i = Number(e.split("?width=")[1]);
1287
- return isNaN(i) || (n = `${n} ${i}w`), t.filter((o) => o !== i).map((o) => `${Gt(e, "width", o)} ${o}w`).concat([n]).join(", ");
1286
+ return isNaN(i) || (n = `${n} ${i}w`), t.filter((o) => o !== i).map((o) => `${Jt(e, "width", o)} ${o}w`).concat([n]).join(", ");
1288
1287
  }
1289
- return e.match(/cdn\.shopify\.com/) ? t.map((n) => [Qt(e, `${n}x${n}`), n]).filter(([n]) => !!n).map(([n, i]) => `${n} ${i}w`).concat([e]).join(", ") : e;
1288
+ return e.match(/cdn\.shopify\.com/) ? t.map((n) => [Gt(e, `${n}x${n}`), n]).filter(([n]) => !!n).map(([n, i]) => `${n} ${i}w`).concat([e]).join(", ") : e;
1290
1289
  }
1291
1290
  function Yt(e) {
1292
- var o, a, r, l, u, c;
1291
+ var o, a, r, l, d, c;
1293
1292
  function t() {
1294
- var f;
1295
- const b = e.image || e.src;
1296
- if (!b || // We can auto add srcset for cdn.builder.io and shopify
1293
+ var u;
1294
+ const m = e.image || e.src;
1295
+ if (!m || // We can auto add srcset for cdn.builder.io and shopify
1297
1296
  // images, otherwise you can supply this prop manually
1298
- !(typeof b == "string" && (b.match(/builder\.io/) || b.match(/cdn\.shopify\.com/))))
1297
+ !(typeof m == "string" && (m.match(/builder\.io/) || m.match(/cdn\.shopify\.com/))))
1299
1298
  return e.srcset;
1300
1299
  if (!e.noWebp) {
1301
- if (e.srcset && ((f = e.image) != null && f.includes("builder.io/api/v1/image"))) {
1300
+ if (e.srcset && ((u = e.image) != null && u.includes("builder.io/api/v1/image"))) {
1302
1301
  if (!e.srcset.includes(e.image.split("?")[0]))
1303
- return console.debug("Removed given srcset"), ee(b);
1302
+ return console.debug("Removed given srcset"), X(m);
1304
1303
  } else if (e.image && !e.srcset)
1305
- return ee(b);
1306
- return ee(b);
1304
+ return X(m);
1305
+ return X(m);
1307
1306
  }
1308
1307
  }
1309
1308
  function n() {
@@ -1320,10 +1319,9 @@ function Yt(e) {
1320
1319
  };
1321
1320
  return e.aspectRatio ? h : void 0;
1322
1321
  }
1323
- return A(() => {
1324
- }, []), /* @__PURE__ */ N(P, { children: [
1325
- /* @__PURE__ */ N(P, { children: [
1326
- /* @__PURE__ */ N("picture", { children: [
1322
+ return /* @__PURE__ */ B(E, { children: [
1323
+ /* @__PURE__ */ B(E, { children: [
1324
+ /* @__PURE__ */ B("picture", { children: [
1327
1325
  n() ? /* @__PURE__ */ s("source", { type: "image/webp", srcSet: n() }) : null,
1328
1326
  /* @__PURE__ */ s(
1329
1327
  "img",
@@ -1337,7 +1335,7 @@ function Yt(e) {
1337
1335
  objectFit: e.backgroundSize || "cover",
1338
1336
  ...i()
1339
1337
  },
1340
- className: "builder-image" + (e.className ? " " + e.className : "") + " img-11a47ef4",
1338
+ className: "builder-image" + (e.className ? " " + e.className : "") + " img-9dac2184",
1341
1339
  src: e.image,
1342
1340
  srcSet: t(),
1343
1341
  sizes: e.sizes
@@ -1347,23 +1345,23 @@ function Yt(e) {
1347
1345
  e.aspectRatio && !((a = (o = e.builderBlock) == null ? void 0 : o.children) != null && a.length && e.fitContent) ? /* @__PURE__ */ s(
1348
1346
  "div",
1349
1347
  {
1350
- className: "builder-image-sizer div-11a47ef4",
1348
+ className: "builder-image-sizer div-9dac2184",
1351
1349
  style: {
1352
1350
  paddingTop: e.aspectRatio * 100 + "%"
1353
1351
  }
1354
1352
  }
1355
1353
  ) : null,
1356
- (l = (r = e.builderBlock) == null ? void 0 : r.children) != null && l.length && e.fitContent ? /* @__PURE__ */ s(P, { children: e.children }) : null,
1357
- !e.fitContent && ((c = (u = e.builderBlock) == null ? void 0 : u.children) != null && c.length) ? /* @__PURE__ */ s("div", { className: "div-11a47ef4-2", children: e.children }) : null
1354
+ (l = (r = e.builderBlock) == null ? void 0 : r.children) != null && l.length && e.fitContent ? /* @__PURE__ */ s(E, { children: e.children }) : null,
1355
+ !e.fitContent && ((c = (d = e.builderBlock) == null ? void 0 : d.children) != null && c.length) ? /* @__PURE__ */ s("div", { className: "div-9dac2184-2", children: e.children }) : null
1358
1356
  ] }),
1359
- /* @__PURE__ */ s("style", { children: `.img-11a47ef4 {
1357
+ /* @__PURE__ */ s("style", { children: `.img-9dac2184 {
1360
1358
  opacity: 1;
1361
1359
  transition: opacity 0.2s ease-in-out;
1362
- }.div-11a47ef4 {
1360
+ }.div-9dac2184 {
1363
1361
  width: 100%;
1364
1362
  pointer-events: none;
1365
1363
  font-size: 0;
1366
- }.div-11a47ef4-2 {
1364
+ }.div-9dac2184-2 {
1367
1365
  display: flex;
1368
1366
  flex-direction: column;
1369
1367
  align-items: stretch;
@@ -1375,7 +1373,7 @@ function Yt(e) {
1375
1373
  }` })
1376
1374
  ] });
1377
1375
  }
1378
- function Xt(e) {
1376
+ function Qt(e) {
1379
1377
  return /* @__PURE__ */ s(
1380
1378
  "section",
1381
1379
  {
@@ -1396,7 +1394,7 @@ function Xt(e) {
1396
1394
  }
1397
1395
  );
1398
1396
  }
1399
- const te = {
1397
+ const Z = {
1400
1398
  "@type": "@builder.io/sdk:Element",
1401
1399
  layerName: "Accordion item title",
1402
1400
  responsiveStyles: {
@@ -1425,7 +1423,7 @@ const te = {
1425
1423
  }
1426
1424
  }
1427
1425
  }]
1428
- }, ne = {
1426
+ }, ee = {
1429
1427
  "@type": "@builder.io/sdk:Element",
1430
1428
  layerName: "Accordion item detail",
1431
1429
  responsiveStyles: {
@@ -1456,7 +1454,7 @@ const te = {
1456
1454
  }
1457
1455
  }
1458
1456
  }]
1459
- }, Zt = {
1457
+ }, Xt = {
1460
1458
  name: "Builder:Accordion",
1461
1459
  canHaveChildren: !0,
1462
1460
  image: "https://cdn.builder.io/api/v1/image/assets%2FagZ9n5CUKRfbL9t6CaJOyVSK4Es2%2Ffab6c1fd3fe542408cbdec078bca7f35",
@@ -1473,19 +1471,19 @@ const te = {
1473
1471
  name: "title",
1474
1472
  type: "uiBlocks",
1475
1473
  hideFromUI: !0,
1476
- defaultValue: [te]
1474
+ defaultValue: [Z]
1477
1475
  }, {
1478
1476
  name: "detail",
1479
1477
  type: "uiBlocks",
1480
1478
  hideFromUI: !0,
1481
- defaultValue: [ne]
1479
+ defaultValue: [ee]
1482
1480
  }],
1483
1481
  defaultValue: [{
1484
- title: [te],
1485
- detail: [ne]
1482
+ title: [Z],
1483
+ detail: [ee]
1486
1484
  }, {
1487
- title: [te],
1488
- detail: [ne]
1485
+ title: [Z],
1486
+ detail: [ee]
1489
1487
  }],
1490
1488
  showIf: (e) => !e.get("useChildrenForItems")
1491
1489
  }, {
@@ -1521,8 +1519,8 @@ const te = {
1521
1519
  builderLinkComponent: !0
1522
1520
  }
1523
1521
  }, xe = (e) => e.toString();
1524
- function en(e) {
1525
- var b;
1522
+ function Zt(e) {
1523
+ var m;
1526
1524
  const [t, n] = R(() => []);
1527
1525
  function i() {
1528
1526
  return !!(e.grid || e.oneAtATime);
@@ -1540,7 +1538,7 @@ function en(e) {
1540
1538
  };
1541
1539
  }
1542
1540
  function a() {
1543
- const p = {
1541
+ const k = {
1544
1542
  ...{
1545
1543
  display: "flex",
1546
1544
  flexDirection: "column"
@@ -1549,75 +1547,75 @@ function en(e) {
1549
1547
  cursor: "pointer"
1550
1548
  };
1551
1549
  return Object.fromEntries(
1552
- Object.entries(p).filter(([d, g]) => g !== void 0)
1550
+ Object.entries(k).filter(([g, v]) => v !== void 0)
1553
1551
  );
1554
1552
  }
1555
- function r(f) {
1556
- return `builder-accordion-title builder-accordion-title-${t.includes(f) ? "open" : "closed"}`;
1553
+ function r(u) {
1554
+ return `builder-accordion-title builder-accordion-title-${t.includes(u) ? "open" : "closed"}`;
1557
1555
  }
1558
- function l(f) {
1559
- return `builder-accordion-detail builder-accordion-detail-${t.includes(f) ? "open" : "closed"}`;
1556
+ function l(u) {
1557
+ return `builder-accordion-detail builder-accordion-detail-${t.includes(u) ? "open" : "closed"}`;
1560
1558
  }
1561
- function u() {
1562
- let f = null;
1559
+ function d() {
1560
+ let u = null;
1563
1561
  if (e.grid && t.length && document) {
1564
- const d = t[0];
1565
- let v = document.querySelector(
1566
- `.builder-accordion-title[data-index="${d}"]`
1562
+ const g = t[0];
1563
+ let y = document.querySelector(
1564
+ `.builder-accordion-title[data-index="${g}"]`
1567
1565
  );
1568
- if (f = d, v) {
1569
- let y = v.getBoundingClientRect();
1570
- for (; v = v && v.nextElementSibling; )
1571
- if (v) {
1572
- if (v.classList.contains("builder-accordion-detail"))
1566
+ if (u = g, y) {
1567
+ let b = y.getBoundingClientRect();
1568
+ for (; y = y && y.nextElementSibling; )
1569
+ if (y) {
1570
+ if (y.classList.contains("builder-accordion-detail"))
1573
1571
  continue;
1574
- const x = v.getBoundingClientRect();
1575
- if (x.left > y.left) {
1576
- const I = parseInt(
1577
- v.getAttribute("data-index") || "",
1572
+ const p = y.getBoundingClientRect();
1573
+ if (p.left > b.left) {
1574
+ const C = parseInt(
1575
+ y.getAttribute("data-index") || "",
1578
1576
  10
1579
1577
  );
1580
- isNaN(I) || (y = x, f = I);
1578
+ isNaN(C) || (b = p, u = C);
1581
1579
  } else
1582
1580
  break;
1583
1581
  }
1584
1582
  }
1585
1583
  }
1586
- return typeof f == "number" && (f = f + 1), f;
1584
+ return typeof u == "number" && (u = u + 1), u;
1587
1585
  }
1588
1586
  function c() {
1589
- const f = {
1590
- order: typeof u() == "number" ? u() : void 0,
1587
+ const u = {
1588
+ order: typeof d() == "number" ? d() : void 0,
1591
1589
  ...e.grid && {
1592
1590
  width: "100%"
1593
1591
  }
1594
1592
  };
1595
1593
  return Object.fromEntries(
1596
- Object.entries(f).filter(([p, d]) => d !== void 0)
1594
+ Object.entries(u).filter(([k, g]) => g !== void 0)
1597
1595
  );
1598
1596
  }
1599
- function h(f) {
1600
- t.includes(f) ? n(i() ? [] : t.filter((p) => p !== f)) : n(i() ? [f] : t.concat(f));
1597
+ function h(u) {
1598
+ t.includes(u) ? n(i() ? [] : t.filter((k) => k !== u)) : n(i() ? [u] : t.concat(u));
1601
1599
  }
1602
- return /* @__PURE__ */ s("div", { className: "builder-accordion", style: o(), children: (b = e.items) == null ? void 0 : b.map((f, p) => /* @__PURE__ */ N(Ze.Fragment, { children: [
1600
+ return /* @__PURE__ */ s("div", { className: "builder-accordion", style: o(), children: (m = e.items) == null ? void 0 : m.map((u, k) => /* @__PURE__ */ B(Xe.Fragment, { children: [
1603
1601
  /* @__PURE__ */ s(
1604
1602
  "div",
1605
1603
  {
1606
- className: r(p),
1604
+ className: r(k),
1607
1605
  style: {
1608
1606
  ...a(),
1609
1607
  ...e.grid && {
1610
1608
  width: e.gridRowWidth,
1611
- order: u() !== null ? xe(p) : xe(p + 1)
1609
+ order: d() !== null ? xe(k) : xe(k + 1)
1612
1610
  }
1613
1611
  },
1614
- "data-index": p,
1615
- onClick: (d) => h(p),
1612
+ "data-index": k,
1613
+ onClick: (g) => h(k),
1616
1614
  children: /* @__PURE__ */ s(
1617
- $,
1615
+ F,
1618
1616
  {
1619
- blocks: f.title,
1620
- path: `items.${p}.title`,
1617
+ blocks: u.title,
1618
+ path: `items.${k}.title`,
1621
1619
  parent: e.builderBlock.id,
1622
1620
  context: e.builderContext,
1623
1621
  registeredComponents: e.builderComponents,
@@ -1626,16 +1624,16 @@ function en(e) {
1626
1624
  )
1627
1625
  }
1628
1626
  ),
1629
- t.includes(p) ? /* @__PURE__ */ s(
1627
+ t.includes(k) ? /* @__PURE__ */ s(
1630
1628
  "div",
1631
1629
  {
1632
- className: l(p),
1630
+ className: l(k),
1633
1631
  style: c(),
1634
1632
  children: /* @__PURE__ */ s(
1635
- $,
1633
+ F,
1636
1634
  {
1637
- blocks: f.detail,
1638
- path: `items.${p}.detail`,
1635
+ blocks: u.detail,
1636
+ path: `items.${k}.detail`,
1639
1637
  parent: e.builderBlock.id,
1640
1638
  context: e.builderContext,
1641
1639
  registeredComponents: e.builderComponents,
@@ -1644,9 +1642,9 @@ function en(e) {
1644
1642
  )
1645
1643
  }
1646
1644
  ) : null
1647
- ] }, p)) });
1645
+ ] }, k)) });
1648
1646
  }
1649
- const tn = {
1647
+ const en = {
1650
1648
  name: "Core:Button",
1651
1649
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F81a15681c3e74df09677dfc57a615b13",
1652
1650
  defaultStyles: {
@@ -1682,7 +1680,7 @@ const tn = {
1682
1680
  shouldReceiveBuilderProps: {
1683
1681
  builderLinkComponent: !0
1684
1682
  }
1685
- }, nn = {
1683
+ }, tn = {
1686
1684
  // TODO: ways to statically preprocess JSON for references, functions, etc
1687
1685
  name: "Columns",
1688
1686
  isRSC: !0,
@@ -1861,7 +1859,7 @@ const tn = {
1861
1859
  });
1862
1860
  }
1863
1861
  const n = e.get("columns");
1864
- Array.isArray(n) && n.find((o) => o.get("width")) && (n.find((a) => !a.get("width")) || n.reduce((l, u) => l + u.get("width"), 0) !== 100) && t();
1862
+ Array.isArray(n) && n.find((o) => o.get("width")) && (n.find((a) => !a.get("width")) || n.reduce((l, d) => l + d.get("width"), 0) !== 100) && t();
1865
1863
  }
1866
1864
  }, {
1867
1865
  name: "space",
@@ -1889,13 +1887,13 @@ const tn = {
1889
1887
  builderComponents: !0,
1890
1888
  builderLinkComponent: !0
1891
1889
  }
1892
- }, on = {
1890
+ }, nn = {
1893
1891
  name: "Fragment",
1894
1892
  static: !0,
1895
1893
  hidden: !0,
1896
1894
  canHaveChildren: !0,
1897
1895
  noWrap: !0
1898
- }, ue = ["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"], rn = {
1896
+ }, de = ["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"], on = ["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"], an = {
1899
1897
  name: "Image",
1900
1898
  static: !0,
1901
1899
  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",
@@ -1910,21 +1908,21 @@ const tn = {
1910
1908
  name: "image",
1911
1909
  type: "file",
1912
1910
  bubble: !0,
1913
- allowedFileTypes: ue,
1911
+ allowedFileTypes: de,
1914
1912
  required: !0,
1915
1913
  defaultValue: "https://cdn.builder.io/api/v1/image/assets%2FYJIGb4i01jvw0SRdL5Bt%2F72c80f114dc149019051b6852a9e3b7a",
1916
1914
  onChange: (e) => {
1917
1915
  e.delete("srcset"), e.delete("noWebp");
1918
1916
  function n(r, l = 6e4) {
1919
- return new Promise((u, c) => {
1917
+ return new Promise((d, c) => {
1920
1918
  const h = document.createElement("img");
1921
- let b = !1;
1919
+ let m = !1;
1922
1920
  h.onload = () => {
1923
- b = !0, u(h);
1924
- }, h.addEventListener("error", (f) => {
1925
- console.warn("Image load failed", f.error), c(f.error);
1921
+ m = !0, d(h);
1922
+ }, h.addEventListener("error", (u) => {
1923
+ console.warn("Image load failed", u.error), c(u.error);
1926
1924
  }), h.src = r, setTimeout(() => {
1927
- b || c(new Error("Image load timed out"));
1925
+ m || c(new Error("Image load timed out"));
1928
1926
  }, l);
1929
1927
  });
1930
1928
  }
@@ -2003,421 +2001,7 @@ const tn = {
2003
2001
  shouldReceiveBuilderProps: {
2004
2002
  builderBlock: !0
2005
2003
  }
2006
- }, ln = {
2007
- name: "PersonalizationContainer",
2008
- shouldReceiveBuilderProps: {
2009
- builderBlock: !0,
2010
- builderContext: !0
2011
- },
2012
- noWrap: !0,
2013
- image: "https://cdn.builder.io/api/v1/image/assets%2FYJIGb4i01jvw0SRdL5Bt%2F37229ed30d8c41dfb10b8cca1992053a",
2014
- canHaveChildren: !0,
2015
- inputs: [{
2016
- name: "variants",
2017
- defaultValue: [],
2018
- behavior: "personalizationVariantList",
2019
- type: "list",
2020
- subFields: [{
2021
- name: "name",
2022
- type: "text"
2023
- }, {
2024
- name: "query",
2025
- friendlyName: "Targeting rules",
2026
- type: "BuilderQuery",
2027
- defaultValue: []
2028
- }, {
2029
- name: "startDate",
2030
- type: "date"
2031
- }, {
2032
- name: "endDate",
2033
- type: "date"
2034
- }, {
2035
- name: "blocks",
2036
- type: "uiBlocks",
2037
- hideFromUI: !0,
2038
- defaultValue: []
2039
- }]
2040
- }]
2041
- };
2042
- function Q(e) {
2043
- return /* @__PURE__ */ s(
2044
- "script",
2045
- {
2046
- dangerouslySetInnerHTML: { __html: e.scriptStr },
2047
- "data-id": e.id,
2048
- nonce: e.nonce || ""
2049
- }
2050
- );
2051
- }
2052
- function sn(e, t, n, i) {
2053
- function o(c) {
2054
- return typeof c == "string";
2055
- }
2056
- function a(c) {
2057
- return typeof c == "number";
2058
- }
2059
- function r(c, h) {
2060
- return (() => {
2061
- const f = h.property, p = h.operator;
2062
- let d = h.value;
2063
- if (h && h.property === "urlPath" && h.value && typeof h.value == "string" && h.value !== "/" && h.value.endsWith("/") && (d = h.value.slice(0, -1)), !(f && p))
2064
- return !0;
2065
- if (Array.isArray(d))
2066
- return p === "isNot" ? d.every((v) => r(c, {
2067
- property: f,
2068
- operator: p,
2069
- value: v
2070
- })) : !!d.find((v) => r(c, {
2071
- property: f,
2072
- operator: p,
2073
- value: v
2074
- }));
2075
- const g = c[f];
2076
- if (Array.isArray(g))
2077
- return g.includes(d);
2078
- switch (p) {
2079
- case "is":
2080
- return g === d;
2081
- case "isNot":
2082
- return g !== d;
2083
- case "contains":
2084
- return (o(g) || Array.isArray(g)) && g.includes(String(d));
2085
- case "startsWith":
2086
- return o(g) && g.startsWith(String(d));
2087
- case "endsWith":
2088
- return o(g) && g.endsWith(String(d));
2089
- case "greaterThan":
2090
- return a(g) && a(d) && g > d;
2091
- case "lessThan":
2092
- return a(g) && a(d) && g < d;
2093
- case "greaterThanOrEqualTo":
2094
- return a(g) && a(d) && g >= d;
2095
- case "lessThanOrEqualTo":
2096
- return a(g) && a(d) && g <= d;
2097
- default:
2098
- return !1;
2099
- }
2100
- })();
2101
- }
2102
- const l = {
2103
- query: t,
2104
- startDate: n,
2105
- endDate: i
2106
- }, u = e.date && new Date(e.date) || /* @__PURE__ */ new Date();
2107
- return l.startDate && new Date(l.startDate) > u || l.endDate && new Date(l.endDate) < u ? !1 : !l.query || !l.query.length ? !0 : l.query.every((c) => r(e, c));
2108
- }
2109
- const cn = `function getPersonalizedVariant(variants, blockId, locale) {
2110
- if (!navigator.cookieEnabled) {
2111
- return;
2112
- }
2113
- function getCookie(name) {
2114
- const nameEQ = name + '=';
2115
- const ca = document.cookie.split(';');
2116
- for (let i = 0; i < ca.length; i++) {
2117
- let c = ca[i];
2118
- while (c.charAt(0) == ' ') c = c.substring(1, c.length);
2119
- if (c.indexOf(nameEQ) == 0) return c.substring(nameEQ.length, c.length);
2120
- }
2121
- return null;
2122
- }
2123
- function removeVariants() {
2124
- variants?.forEach(function (_, index) {
2125
- document.querySelector('template[data-variant-id="' + blockId + '-' + index + '"]')?.remove();
2126
- });
2127
- document.querySelector('script[data-id="variants-script-' + blockId + '"]')?.remove();
2128
- document.querySelector('style[data-id="variants-styles-' + blockId + '"]')?.remove();
2129
- }
2130
- const attributes = JSON.parse(getCookie('builder.userAttributes') || '{}');
2131
- if (locale) {
2132
- attributes.locale = locale;
2133
- }
2134
- const winningVariantIndex = variants?.findIndex(function (variant) {
2135
- return filterWithCustomTargeting(attributes, variant.query, variant.startDate, variant.endDate);
2136
- });
2137
- const isDebug = location.href.includes('builder.debug=true');
2138
- if (isDebug) {
2139
- console.debug('PersonalizationContainer', {
2140
- attributes,
2141
- variants,
2142
- winningVariantIndex
2143
- });
2144
- }
2145
- if (winningVariantIndex !== -1) {
2146
- const winningVariant = document.querySelector('template[data-variant-id="' + blockId + '-' + winningVariantIndex + '"]');
2147
- if (winningVariant) {
2148
- const parentNode = winningVariant.parentNode;
2149
- if (parentNode) {
2150
- const newParent = parentNode.cloneNode(false);
2151
- newParent.appendChild(winningVariant.content.firstChild);
2152
- newParent.appendChild(winningVariant.content.lastChild);
2153
- parentNode.parentNode?.replaceChild(newParent, parentNode);
2154
- }
2155
- if (isDebug) {
2156
- console.debug('PersonalizationContainer', 'Winning variant Replaced:', winningVariant);
2157
- }
2158
- }
2159
- } else if (variants && variants.length > 0) {
2160
- removeVariants();
2161
- }
2162
- }`, un = `function filterWithCustomTargeting(userAttributes, query, startDate, endDate) {
2163
- function isString(val) {
2164
- return typeof val === 'string';
2165
- }
2166
- function isNumber(val) {
2167
- return typeof val === 'number';
2168
- }
2169
- function objectMatchesQuery(userattr, query) {
2170
- const result = (() => {
2171
- const property = query.property;
2172
- const operator = query.operator;
2173
- let testValue = query.value;
2174
- if (query && query.property === 'urlPath' && query.value && typeof query.value === 'string' && query.value !== '/' && query.value.endsWith('/')) {
2175
- testValue = query.value.slice(0, -1);
2176
- }
2177
- if (!(property && operator)) {
2178
- return true;
2179
- }
2180
- if (Array.isArray(testValue)) {
2181
- if (operator === 'isNot') {
2182
- return testValue.every(val => objectMatchesQuery(userattr, {
2183
- property,
2184
- operator,
2185
- value: val
2186
- }));
2187
- }
2188
- return !!testValue.find(val => objectMatchesQuery(userattr, {
2189
- property,
2190
- operator,
2191
- value: val
2192
- }));
2193
- }
2194
- const value = userattr[property];
2195
- if (Array.isArray(value)) {
2196
- return value.includes(testValue);
2197
- }
2198
- switch (operator) {
2199
- case 'is':
2200
- return value === testValue;
2201
- case 'isNot':
2202
- return value !== testValue;
2203
- case 'contains':
2204
- return (isString(value) || Array.isArray(value)) && value.includes(String(testValue));
2205
- case 'startsWith':
2206
- return isString(value) && value.startsWith(String(testValue));
2207
- case 'endsWith':
2208
- return isString(value) && value.endsWith(String(testValue));
2209
- case 'greaterThan':
2210
- return isNumber(value) && isNumber(testValue) && value > testValue;
2211
- case 'lessThan':
2212
- return isNumber(value) && isNumber(testValue) && value < testValue;
2213
- case 'greaterThanOrEqualTo':
2214
- return isNumber(value) && isNumber(testValue) && value >= testValue;
2215
- case 'lessThanOrEqualTo':
2216
- return isNumber(value) && isNumber(testValue) && value <= testValue;
2217
- default:
2218
- return false;
2219
- }
2220
- })();
2221
- return result;
2222
- }
2223
- const item = {
2224
- query,
2225
- startDate,
2226
- endDate
2227
- };
2228
- const now = userAttributes.date && new Date(userAttributes.date) || new Date();
2229
- if (item.startDate && new Date(item.startDate) > now) {
2230
- return false;
2231
- } else if (item.endDate && new Date(item.endDate) < now) {
2232
- return false;
2233
- }
2234
- if (!item.query || !item.query.length) {
2235
- return true;
2236
- }
2237
- return item.query.every(filter => {
2238
- return objectMatchesQuery(userAttributes, filter);
2239
- });
2240
- }`;
2241
- function dn(e, t) {
2242
- return !(!(e && e.length > 0) || !t || L());
2243
- }
2244
- function mn(e) {
2245
- const {
2246
- variants: t,
2247
- previewingIndex: n,
2248
- isHydrated: i,
2249
- filteredVariants: o,
2250
- fallbackBlocks: a
2251
- } = e;
2252
- if (i && W() && typeof n == "number" && n < ((t == null ? void 0 : t.length) || 0) && !(o != null && o.length))
2253
- return {
2254
- blocks: t[n].blocks,
2255
- path: `component.options.variants.${n}.blocks`
2256
- };
2257
- const l = o == null ? void 0 : o[0];
2258
- return l ? {
2259
- blocks: l.blocks,
2260
- path: `component.options.variants.${t == null ? void 0 : t.indexOf(l)}.blocks`
2261
- } : {
2262
- blocks: a || [],
2263
- path: void 0
2264
- };
2265
- }
2266
- const fn = (e, t, n) => `
2267
- (function() {
2268
- ${un}
2269
- ${cn}
2270
- getPersonalizedVariant(${JSON.stringify(e)}, "${t}"${n ? `, "${n}"` : ""})
2271
- })();
2272
- `;
2273
- function hn(e) {
2274
- var g, v, y, x, I, B, C;
2275
- const t = D(null), [n, i] = R(
2276
- () => de.getUserAttributes()
2277
- ), [o, a] = R(
2278
- () => {
2279
- var S, T, w;
2280
- return fn(
2281
- e.variants,
2282
- ((S = e.builderBlock) == null ? void 0 : S.id) || "none",
2283
- (w = (T = e.builderContext) == null ? void 0 : T.rootState) == null ? void 0 : w.locale
2284
- );
2285
- }
2286
- ), [r, l] = R(() => []), [u, c] = R(
2287
- () => {
2288
- var S;
2289
- return dn(
2290
- e.variants,
2291
- q((S = e.builderContext) == null ? void 0 : S.canTrack)
2292
- );
2293
- }
2294
- ), [h, b] = R(() => !1);
2295
- function f() {
2296
- return (e.variants || []).filter((S) => {
2297
- var T, w, m, k;
2298
- return sn(
2299
- {
2300
- ...(w = (T = e.builderContext) == null ? void 0 : T.rootState) != null && w.locale ? {
2301
- locale: (k = (m = e.builderContext) == null ? void 0 : m.rootState) == null ? void 0 : k.locale
2302
- } : {},
2303
- ...n
2304
- },
2305
- S.query,
2306
- S.startDate,
2307
- S.endDate
2308
- );
2309
- });
2310
- }
2311
- function p() {
2312
- var S;
2313
- return mn({
2314
- variants: e.variants,
2315
- fallbackBlocks: (S = e.builderBlock) == null ? void 0 : S.children,
2316
- isHydrated: h,
2317
- filteredVariants: f(),
2318
- previewingIndex: e.previewingIndex
2319
- });
2320
- }
2321
- function d() {
2322
- return (e.variants || []).map(
2323
- (S, T) => {
2324
- var w;
2325
- return `[data-variant-id="${(w = e.builderBlock) == null ? void 0 : w.id}-${T}"] { display: none; } `;
2326
- }
2327
- ).join("");
2328
- }
2329
- return A(() => {
2330
- var T;
2331
- b(!0);
2332
- const S = de.subscribeOnUserAttributesChange(
2333
- (w) => {
2334
- i(w);
2335
- }
2336
- );
2337
- if (!(W() || X())) {
2338
- const w = f()[0];
2339
- t.current && (t.current.dispatchEvent(
2340
- new CustomEvent("builder.variantLoaded", {
2341
- detail: {
2342
- variant: w || "default",
2343
- content: (T = e.builderContext) == null ? void 0 : T.content
2344
- },
2345
- bubbles: !0
2346
- })
2347
- ), new IntersectionObserver((k) => {
2348
- k.forEach((V) => {
2349
- var E;
2350
- V.isIntersecting && t.current && t.current.dispatchEvent(
2351
- new CustomEvent("builder.variantDisplayed", {
2352
- detail: {
2353
- variant: w || "default",
2354
- content: (E = e.builderContext) == null ? void 0 : E.content
2355
- },
2356
- bubbles: !0
2357
- })
2358
- );
2359
- });
2360
- }).observe(t.current));
2361
- }
2362
- r.push(S);
2363
- }, []), A(() => () => {
2364
- r.forEach((S) => S());
2365
- }, []), /* @__PURE__ */ N(
2366
- "div",
2367
- {
2368
- ref: t,
2369
- ...e.attributes,
2370
- className: `builder-personalization-container ${((g = e.attributes) == null ? void 0 : g.class) || ""}`,
2371
- children: [
2372
- u ? /* @__PURE__ */ N(P, { children: [
2373
- (v = e.variants) == null ? void 0 : v.map((S, T) => {
2374
- var w, m;
2375
- return /* @__PURE__ */ s(
2376
- "template",
2377
- {
2378
- "data-variant-id": `${(w = e.builderBlock) == null ? void 0 : w.id}-${T}`,
2379
- children: /* @__PURE__ */ s(
2380
- $,
2381
- {
2382
- blocks: S.blocks,
2383
- parent: (m = e.builderBlock) == null ? void 0 : m.id,
2384
- path: `component.options.variants.${T}.blocks`
2385
- }
2386
- )
2387
- },
2388
- T
2389
- );
2390
- }),
2391
- /* @__PURE__ */ s(
2392
- M,
2393
- {
2394
- nonce: ((y = e.builderContext) == null ? void 0 : y.nonce) || "",
2395
- styles: d(),
2396
- id: `variants-styles-${(x = e.builderBlock) == null ? void 0 : x.id}`
2397
- }
2398
- ),
2399
- /* @__PURE__ */ s(
2400
- Q,
2401
- {
2402
- nonce: ((I = e.builderContext) == null ? void 0 : I.nonce) || "",
2403
- scriptStr: o,
2404
- id: `variants-script-${(B = e.builderBlock) == null ? void 0 : B.id}`
2405
- }
2406
- )
2407
- ] }) : null,
2408
- /* @__PURE__ */ s(
2409
- $,
2410
- {
2411
- blocks: p().blocks,
2412
- parent: (C = e.builderBlock) == null ? void 0 : C.id,
2413
- path: p().path
2414
- }
2415
- )
2416
- ]
2417
- }
2418
- );
2419
- }
2420
- const gn = {
2004
+ }, rn = {
2421
2005
  name: "Core:Section",
2422
2006
  static: !0,
2423
2007
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F682efef23ace49afac61748dd305c70a",
@@ -2456,7 +2040,7 @@ const gn = {
2456
2040
  }
2457
2041
  }
2458
2042
  }]
2459
- }, bn = {
2043
+ }, ln = {
2460
2044
  name: "Slot",
2461
2045
  isRSC: !0,
2462
2046
  description: "Allow child blocks to be inserted into this content when used as a Symbol",
@@ -2474,7 +2058,7 @@ const gn = {
2474
2058
  builderComponents: !0
2475
2059
  }
2476
2060
  };
2477
- function pn(e) {
2061
+ function sn(e) {
2478
2062
  var t, n, i;
2479
2063
  return /* @__PURE__ */ s(
2480
2064
  "div",
@@ -2486,7 +2070,7 @@ function pn(e) {
2486
2070
  "builder-slot": e.name
2487
2071
  },
2488
2072
  children: /* @__PURE__ */ s(
2489
- $,
2073
+ F,
2490
2074
  {
2491
2075
  parent: (n = e.builderContext.context) == null ? void 0 : n.symbolId,
2492
2076
  path: `symbol.data.${e.name}`,
@@ -2498,7 +2082,7 @@ function pn(e) {
2498
2082
  }
2499
2083
  );
2500
2084
  }
2501
- const yn = {
2085
+ const cn = {
2502
2086
  name: "Symbol",
2503
2087
  noWrap: !0,
2504
2088
  static: !0,
@@ -2537,7 +2121,7 @@ const yn = {
2537
2121
  builderComponents: !0,
2538
2122
  builderLinkComponent: !0
2539
2123
  }
2540
- }, ie = {
2124
+ }, te = {
2541
2125
  "@type": "@builder.io/sdk:Element",
2542
2126
  responsiveStyles: {
2543
2127
  large: {
@@ -2559,7 +2143,7 @@ const yn = {
2559
2143
  text: "New tab"
2560
2144
  }
2561
2145
  }
2562
- }, oe = {
2146
+ }, ne = {
2563
2147
  "@type": "@builder.io/sdk:Element",
2564
2148
  responsiveStyles: {
2565
2149
  large: {
@@ -2575,7 +2159,7 @@ const yn = {
2575
2159
  text: "New tab content "
2576
2160
  }
2577
2161
  }
2578
- }, vn = {
2162
+ }, dn = {
2579
2163
  name: "Builder: Tabs",
2580
2164
  inputs: [{
2581
2165
  name: "tabs",
@@ -2585,16 +2169,16 @@ const yn = {
2585
2169
  name: "label",
2586
2170
  type: "uiBlocks",
2587
2171
  hideFromUI: !0,
2588
- defaultValue: [ie]
2172
+ defaultValue: [te]
2589
2173
  }, {
2590
2174
  name: "content",
2591
2175
  type: "uiBlocks",
2592
2176
  hideFromUI: !0,
2593
- defaultValue: [oe]
2177
+ defaultValue: [ne]
2594
2178
  }],
2595
2179
  defaultValue: [{
2596
2180
  label: [{
2597
- ...ie,
2181
+ ...te,
2598
2182
  component: {
2599
2183
  name: "Text",
2600
2184
  options: {
@@ -2603,7 +2187,7 @@ const yn = {
2603
2187
  }
2604
2188
  }],
2605
2189
  content: [{
2606
- ...oe,
2190
+ ...ne,
2607
2191
  component: {
2608
2192
  name: "Text",
2609
2193
  options: {
@@ -2613,7 +2197,7 @@ const yn = {
2613
2197
  }]
2614
2198
  }, {
2615
2199
  label: [{
2616
- ...ie,
2200
+ ...te,
2617
2201
  component: {
2618
2202
  name: "Text",
2619
2203
  options: {
@@ -2622,7 +2206,7 @@ const yn = {
2622
2206
  }
2623
2207
  }],
2624
2208
  content: [{
2625
- ...oe,
2209
+ ...ne,
2626
2210
  component: {
2627
2211
  name: "Text",
2628
2212
  options: {
@@ -2679,7 +2263,7 @@ const yn = {
2679
2263
  builderLinkComponent: !0
2680
2264
  }
2681
2265
  };
2682
- function xn(e) {
2266
+ function un(e) {
2683
2267
  var a;
2684
2268
  const [t, n] = R(
2685
2269
  () => e.defaultActiveTab ? e.defaultActiveTab - 1 : 0
@@ -2690,7 +2274,7 @@ function xn(e) {
2690
2274
  function o(r) {
2691
2275
  r === t && e.collapsible ? n(-1) : n(r);
2692
2276
  }
2693
- return /* @__PURE__ */ N("div", { children: [
2277
+ return /* @__PURE__ */ B("div", { children: [
2694
2278
  /* @__PURE__ */ s(
2695
2279
  "div",
2696
2280
  {
@@ -2708,9 +2292,9 @@ function xn(e) {
2708
2292
  style: {
2709
2293
  ...t === l ? e.activeTabStyle : {}
2710
2294
  },
2711
- onClick: (u) => o(l),
2295
+ onClick: (d) => o(l),
2712
2296
  children: /* @__PURE__ */ s(
2713
- $,
2297
+ F,
2714
2298
  {
2715
2299
  parent: e.builderBlock.id,
2716
2300
  path: `tabs.${l}.label`,
@@ -2726,7 +2310,7 @@ function xn(e) {
2726
2310
  }
2727
2311
  ),
2728
2312
  i(t) ? /* @__PURE__ */ s("div", { children: /* @__PURE__ */ s(
2729
- $,
2313
+ F,
2730
2314
  {
2731
2315
  parent: e.builderBlock.id,
2732
2316
  path: `tabs.${t}.content`,
@@ -2738,7 +2322,7 @@ function xn(e) {
2738
2322
  ) }) : null
2739
2323
  ] });
2740
2324
  }
2741
- const Sn = {
2325
+ const mn = {
2742
2326
  shouldReceiveBuilderProps: {
2743
2327
  builderBlock: !1,
2744
2328
  builderContext: !0
@@ -2761,7 +2345,7 @@ const Sn = {
2761
2345
  textAlign: "center"
2762
2346
  }
2763
2347
  };
2764
- function kn(e) {
2348
+ function fn(e) {
2765
2349
  var t;
2766
2350
  return /* @__PURE__ */ s(
2767
2351
  "div",
@@ -2774,7 +2358,7 @@ function kn(e) {
2774
2358
  }
2775
2359
  );
2776
2360
  }
2777
- const Cn = {
2361
+ const hn = {
2778
2362
  name: "Custom Code",
2779
2363
  static: !0,
2780
2364
  requiredPermissions: ["editCode"],
@@ -2797,15 +2381,15 @@ const Cn = {
2797
2381
  advanced: !0
2798
2382
  }]
2799
2383
  };
2800
- function wn(e) {
2801
- const t = D(null), [n, i] = R(() => []), [o, a] = R(() => []);
2384
+ function gn(e) {
2385
+ const t = O(null), [n, i] = R(() => []), [o, a] = R(() => []);
2802
2386
  return A(() => {
2803
2387
  var l;
2804
2388
  if (!((l = t.current) != null && l.getElementsByTagName) || typeof window == "undefined")
2805
2389
  return;
2806
2390
  const r = t.current.getElementsByTagName("script");
2807
- for (let u = 0; u < r.length; u++) {
2808
- const c = r[u];
2391
+ for (let d = 0; d < r.length; d++) {
2392
+ const c = r[d];
2809
2393
  if (c.src) {
2810
2394
  if (n.includes(c.src))
2811
2395
  continue;
@@ -2835,7 +2419,7 @@ function wn(e) {
2835
2419
  }
2836
2420
  );
2837
2421
  }
2838
- const Tn = {
2422
+ const bn = {
2839
2423
  name: "Embed",
2840
2424
  static: !0,
2841
2425
  inputs: [{
@@ -2850,29 +2434,29 @@ const Tn = {
2850
2434
  defaultValue: '<div style="padding: 20px; text-align: center">(Choose an embed URL)<div>',
2851
2435
  hideFromUI: !0
2852
2436
  }]
2853
- }, In = ["text/javascript", "application/javascript", "application/ecmascript"], En = (e) => In.includes(e.type);
2854
- function Rn(e) {
2855
- const t = D(null), [n, i] = R(() => []), [o, a] = R(() => []), [r, l] = R(() => !1);
2856
- function u() {
2437
+ }, pn = ["text/javascript", "application/javascript", "application/ecmascript"], yn = (e) => pn.includes(e.type);
2438
+ function xn(e) {
2439
+ const t = O(null), [n, i] = R(() => []), [o, a] = R(() => []), [r, l] = R(() => !1);
2440
+ function d() {
2857
2441
  if (!t.current || !t.current.getElementsByTagName)
2858
2442
  return;
2859
2443
  const c = t.current.getElementsByTagName("script");
2860
2444
  for (let h = 0; h < c.length; h++) {
2861
- const b = c[h];
2862
- if (b.src && !n.includes(b.src)) {
2863
- n.push(b.src);
2864
- const f = document.createElement("script");
2865
- f.async = !0, f.src = b.src, document.head.appendChild(f);
2866
- } else if (En(b) && !o.includes(b.innerText))
2445
+ const m = c[h];
2446
+ if (m.src && !n.includes(m.src)) {
2447
+ n.push(m.src);
2448
+ const u = document.createElement("script");
2449
+ u.async = !0, u.src = m.src, document.head.appendChild(u);
2450
+ } else if (yn(m) && !o.includes(m.innerText))
2867
2451
  try {
2868
- o.push(b.innerText), new Function(b.innerText)();
2869
- } catch (f) {
2870
- console.warn("`Embed`: Error running script:", f);
2452
+ o.push(m.innerText), new Function(m.innerText)();
2453
+ } catch (u) {
2454
+ console.warn("`Embed`: Error running script:", u);
2871
2455
  }
2872
2456
  }
2873
2457
  }
2874
2458
  return A(() => {
2875
- t.current && !r && (l(!0), u());
2459
+ t.current && !r && (l(!0), d());
2876
2460
  }, [t.current, r]), /* @__PURE__ */ s(
2877
2461
  "div",
2878
2462
  {
@@ -2882,7 +2466,7 @@ function Rn(e) {
2882
2466
  }
2883
2467
  );
2884
2468
  }
2885
- const Pn = {
2469
+ const vn = {
2886
2470
  name: "Form:Form",
2887
2471
  // editableTags: ['builder-form-error']
2888
2472
  defaults: {
@@ -3119,119 +2703,118 @@ const Pn = {
3119
2703
  builderComponents: !0,
3120
2704
  builderLinkComponent: !0
3121
2705
  }
3122
- }, Vn = ["production", "qa", "test", "development", "dev", "cdn-qa", "cloud", "fast", "cdn2", "cdn-prod"], Bn = () => {
2706
+ }, Sn = ["production", "qa", "test", "development", "dev", "cdn-qa", "cloud", "fast", "cdn2", "cdn-prod"], kn = () => {
3123
2707
  const e = process.env.NODE_ENV || "production";
3124
- return Vn.includes(e) ? e : "production";
2708
+ return Sn.includes(e) ? e : "production";
3125
2709
  };
3126
- function An(e) {
3127
- var b, f;
3128
- const t = D(null), [n, i] = R(() => "unsubmitted"), [o, a] = R(() => null), [r, l] = R(() => "");
3129
- function u(p) {
3130
- var g, v;
3131
- const d = {
2710
+ function Cn(e) {
2711
+ const t = O(null), [n, i] = R(() => "unsubmitted"), [o, a] = R(() => null), [r, l] = R(() => "");
2712
+ function d(m) {
2713
+ var k, g;
2714
+ const u = {
3132
2715
  ...e.builderContext.rootState,
3133
- ...p
2716
+ ...m
3134
2717
  };
3135
- e.builderContext.rootSetState ? (v = (g = e.builderContext).rootSetState) == null || v.call(g, d) : e.builderContext.rootState = d;
2718
+ e.builderContext.rootSetState ? (g = (k = e.builderContext).rootSetState) == null || g.call(k, u) : e.builderContext.rootState = u;
3136
2719
  }
3137
2720
  function c() {
3138
2721
  return W() && e.previewState || n;
3139
2722
  }
3140
- function h(p) {
3141
- var g;
3142
- const d = e.sendWithJs || e.sendSubmissionsTo === "email";
2723
+ function h(m) {
2724
+ var k;
2725
+ const u = e.sendWithJs || e.sendSubmissionsTo === "email";
3143
2726
  if (e.sendSubmissionsTo === "zapier")
3144
- p.preventDefault();
3145
- else if (d) {
2727
+ m.preventDefault();
2728
+ else if (u) {
3146
2729
  if (!(e.action || e.sendSubmissionsTo === "email")) {
3147
- p.preventDefault();
2730
+ m.preventDefault();
3148
2731
  return;
3149
2732
  }
3150
- p.preventDefault();
3151
- const v = p.currentTarget || p.target, y = e.customHeaders || {};
3152
- let x;
3153
- const I = new FormData(v), B = Array.from(v.querySelectorAll("input,select,textarea")).filter((m) => !!m.name).map((m) => {
3154
- let k;
3155
- const V = m.name;
3156
- if (m instanceof HTMLInputElement)
3157
- if (m.type === "radio") {
3158
- if (m.checked)
3159
- return k = m.name, {
3160
- key: V,
3161
- value: k
2733
+ m.preventDefault();
2734
+ const g = m.currentTarget || m.target, v = e.customHeaders || {};
2735
+ let y;
2736
+ const b = new FormData(g), p = Array.from(g.querySelectorAll("input,select,textarea")).filter((f) => !!f.name).map((f) => {
2737
+ let S;
2738
+ const x = f.name;
2739
+ if (f instanceof HTMLInputElement)
2740
+ if (f.type === "radio") {
2741
+ if (f.checked)
2742
+ return S = f.name, {
2743
+ key: x,
2744
+ value: S
3162
2745
  };
3163
- } else if (m.type === "checkbox")
3164
- k = m.checked;
3165
- else if (m.type === "number" || m.type === "range") {
3166
- const E = m.valueAsNumber;
3167
- isNaN(E) || (k = E);
2746
+ } else if (f.type === "checkbox")
2747
+ S = f.checked;
2748
+ else if (f.type === "number" || f.type === "range") {
2749
+ const T = f.valueAsNumber;
2750
+ isNaN(T) || (S = T);
3168
2751
  } else
3169
- m.type === "file" ? k = m.files : k = m.value;
2752
+ f.type === "file" ? S = f.files : S = f.value;
3170
2753
  else
3171
- k = m.value;
2754
+ S = f.value;
3172
2755
  return {
3173
- key: V,
3174
- value: k
2756
+ key: x,
2757
+ value: S
3175
2758
  };
3176
2759
  });
3177
2760
  let C = e.contentType;
3178
- if (e.sendSubmissionsTo === "email" && (C = "multipart/form-data"), Array.from(B).forEach(({ value: m }) => {
3179
- (m instanceof File || Array.isArray(m) && m[0] instanceof File || m instanceof FileList) && (C = "multipart/form-data");
2761
+ if (e.sendSubmissionsTo === "email" && (C = "multipart/form-data"), Array.from(p).forEach(({ value: f }) => {
2762
+ (f instanceof File || Array.isArray(f) && f[0] instanceof File || f instanceof FileList) && (C = "multipart/form-data");
3180
2763
  }), C !== "application/json")
3181
- x = I;
2764
+ y = b;
3182
2765
  else {
3183
- const m = {};
3184
- Array.from(B).forEach(({ value: k, key: V }) => {
3185
- We(m, V, k);
3186
- }), x = JSON.stringify(m);
2766
+ const f = {};
2767
+ Array.from(p).forEach(({ value: S, key: x }) => {
2768
+ Ne(f, x, S);
2769
+ }), y = JSON.stringify(f);
3187
2770
  }
3188
- C && C !== "multipart/form-data" && (d && ((g = e.action) != null && g.includes("zapier.com")) || (y["content-type"] = C));
3189
- const S = new CustomEvent("presubmit", { detail: { body: x } });
3190
- if (t.current && (t.current.dispatchEvent(S), S.defaultPrevented))
2771
+ C && C !== "multipart/form-data" && (u && ((k = e.action) != null && k.includes("zapier.com")) || (v["content-type"] = C));
2772
+ const P = new CustomEvent("presubmit", { detail: { body: y } });
2773
+ if (t.current && (t.current.dispatchEvent(P), P.defaultPrevented))
3191
2774
  return;
3192
2775
  i("sending");
3193
- const T = `${Bn() === "dev" ? "http://localhost:5000" : "https://builder.io"}/api/v1/form-submit?apiKey=${e.builderContext.apiKey}&to=${btoa(
2776
+ const I = `${kn() === "dev" ? "http://localhost:5000" : "https://builder.io"}/api/v1/form-submit?apiKey=${e.builderContext.apiKey}&to=${btoa(
3194
2777
  e.sendSubmissionsToEmail || ""
3195
- )}&name=${encodeURIComponent(e.name || "")}`, w = e.sendSubmissionsTo === "email" ? T : e.action;
3196
- Ie(w), fetch(w, { body: x, headers: y, method: e.method || "post" }).then(
3197
- async (m) => {
3198
- let k;
3199
- const V = m.headers.get("content-type");
3200
- if (V && V.indexOf("application/json") !== -1 ? k = await m.json() : k = await m.text(), !m.ok && e.errorMessagePath) {
3201
- let E = Be(k, e.errorMessagePath);
3202
- E && (typeof E != "string" && (E = JSON.stringify(E)), l(E), u({ formErrorMessage: E }));
2778
+ )}&name=${encodeURIComponent(e.name || "")}`, w = e.sendSubmissionsTo === "email" ? I : e.action;
2779
+ Ie(w), fetch(w, { body: y, headers: v, method: e.method || "post" }).then(
2780
+ async (f) => {
2781
+ let S;
2782
+ const x = f.headers.get("content-type");
2783
+ if (x && x.indexOf("application/json") !== -1 ? S = await f.json() : S = await f.text(), !f.ok && e.errorMessagePath) {
2784
+ let T = Be(S, e.errorMessagePath);
2785
+ T && (typeof T != "string" && (T = JSON.stringify(T)), l(T), d({ formErrorMessage: T }));
3203
2786
  }
3204
- if (a(k), i(m.ok ? "success" : "error"), m.ok) {
3205
- const E = new CustomEvent("submit:success", {
3206
- detail: { res: m, body: k }
2787
+ if (a(S), i(f.ok ? "success" : "error"), f.ok) {
2788
+ const T = new CustomEvent("submit:success", {
2789
+ detail: { res: f, body: S }
3207
2790
  });
3208
2791
  if (t.current) {
3209
- if (t.current.dispatchEvent(E), E.defaultPrevented)
2792
+ if (t.current.dispatchEvent(T), T.defaultPrevented)
3210
2793
  return;
3211
2794
  e.resetFormOnSubmit !== !1 && t.current.reset();
3212
2795
  }
3213
2796
  if (e.successUrl)
3214
2797
  if (t.current) {
3215
- const O = new CustomEvent("route", {
2798
+ const V = new CustomEvent("route", {
3216
2799
  detail: { url: e.successUrl }
3217
2800
  });
3218
- t.current.dispatchEvent(O), O.defaultPrevented || (location.href = e.successUrl);
2801
+ t.current.dispatchEvent(V), V.defaultPrevented || (location.href = e.successUrl);
3219
2802
  } else
3220
2803
  location.href = e.successUrl;
3221
2804
  }
3222
2805
  },
3223
- (m) => {
3224
- const k = new CustomEvent("submit:error", {
3225
- detail: { error: m }
2806
+ (f) => {
2807
+ const S = new CustomEvent("submit:error", {
2808
+ detail: { error: f }
3226
2809
  });
3227
- t.current && (t.current.dispatchEvent(k), k.defaultPrevented) || (a(m), i("error"));
2810
+ t.current && (t.current.dispatchEvent(S), S.defaultPrevented) || (a(f), i("error"));
3228
2811
  }
3229
2812
  );
3230
2813
  }
3231
2814
  }
3232
- return /* @__PURE__ */ N(P, { children: [
2815
+ return /* @__PURE__ */ B(E, { children: [
3233
2816
  " ",
3234
- /* @__PURE__ */ N(
2817
+ /* @__PURE__ */ B(
3235
2818
  "form",
3236
2819
  {
3237
2820
  validate: e.validate,
@@ -3239,21 +2822,12 @@ function An(e) {
3239
2822
  action: !e.sendWithJs && e.action,
3240
2823
  method: e.method,
3241
2824
  name: e.name,
3242
- onSubmit: (p) => h(p),
2825
+ onSubmit: (m) => h(m),
3243
2826
  ...e.attributes,
3244
2827
  children: [
3245
- e.builderBlock && e.builderBlock.children ? /* @__PURE__ */ s(P, { children: (f = (b = e.builderBlock) == null ? void 0 : b.children) == null ? void 0 : f.map((p, d) => /* @__PURE__ */ s(
3246
- j,
3247
- {
3248
- block: p,
3249
- context: e.builderContext,
3250
- registeredComponents: e.builderComponents,
3251
- linkComponent: e.builderLinkComponent
3252
- },
3253
- `form-block-${d}`
3254
- )) }) : null,
2828
+ e.children,
3255
2829
  c() === "error" ? /* @__PURE__ */ s(
3256
- $,
2830
+ F,
3257
2831
  {
3258
2832
  path: "errorMessage",
3259
2833
  blocks: e.errorMessage,
@@ -3261,16 +2835,16 @@ function An(e) {
3261
2835
  }
3262
2836
  ) : null,
3263
2837
  c() === "sending" ? /* @__PURE__ */ s(
3264
- $,
2838
+ F,
3265
2839
  {
3266
2840
  path: "sendingMessage",
3267
2841
  blocks: e.sendingMessage,
3268
2842
  context: e.builderContext
3269
2843
  }
3270
2844
  ) : null,
3271
- c() === "error" && o ? /* @__PURE__ */ s("pre", { className: "builder-form-error-text pre-3f9754fe", children: JSON.stringify(o, null, 2) }) : null,
2845
+ c() === "error" && o ? /* @__PURE__ */ s("pre", { className: "builder-form-error-text pre-7acc3b46", children: JSON.stringify(o, null, 2) }) : null,
3272
2846
  c() === "success" ? /* @__PURE__ */ s(
3273
- $,
2847
+ F,
3274
2848
  {
3275
2849
  path: "successMessage",
3276
2850
  blocks: e.successMessage,
@@ -3281,11 +2855,11 @@ function An(e) {
3281
2855
  }
3282
2856
  ),
3283
2857
  " ",
3284
- /* @__PURE__ */ s("style", { children: ".pre-3f9754fe { padding: 10px; color: red; text-align: center; }" }),
2858
+ /* @__PURE__ */ s("style", { children: ".pre-7acc3b46 { padding: 10px; color: red; text-align: center; }" }),
3285
2859
  " "
3286
2860
  ] });
3287
2861
  }
3288
- const Nn = {
2862
+ const Tn = {
3289
2863
  name: "Form:Input",
3290
2864
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fad6f37889d9e40bbbbc72cdb5875d6ca",
3291
2865
  inputs: [
@@ -3337,8 +2911,8 @@ const Nn = {
3337
2911
  borderColor: "#ccc"
3338
2912
  }
3339
2913
  };
3340
- function Wn(e) {
3341
- return /* @__PURE__ */ Pe(
2914
+ function In(e) {
2915
+ return /* @__PURE__ */ Re(
3342
2916
  "input",
3343
2917
  {
3344
2918
  ...e.attributes,
@@ -3352,7 +2926,7 @@ function Wn(e) {
3352
2926
  }
3353
2927
  );
3354
2928
  }
3355
- const $n = {
2929
+ const wn = {
3356
2930
  name: "Form:Select",
3357
2931
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F83acca093fb24aaf94dee136e9a4b045",
3358
2932
  defaultStyles: {
@@ -3395,9 +2969,9 @@ const $n = {
3395
2969
  static: !0,
3396
2970
  noWrap: !0
3397
2971
  };
3398
- function Dn(e) {
2972
+ function En(e) {
3399
2973
  var t;
3400
- return /* @__PURE__ */ Pe(
2974
+ return /* @__PURE__ */ Re(
3401
2975
  "select",
3402
2976
  {
3403
2977
  ...e.attributes,
@@ -3410,7 +2984,7 @@ function Dn(e) {
3410
2984
  (t = e.options) == null ? void 0 : t.map((n, i) => /* @__PURE__ */ s("option", { value: n.value, children: n.name || n.value }, `${n.name}-${i}`))
3411
2985
  );
3412
2986
  }
3413
- const Fn = {
2987
+ const Rn = {
3414
2988
  name: "Form:SubmitButton",
3415
2989
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fdf2820ffed1f4349a94c40b3221f5b98",
3416
2990
  defaultStyles: {
@@ -3436,10 +3010,10 @@ const Fn = {
3436
3010
  // TODO: defaultChildren
3437
3011
  // canHaveChildren: true,
3438
3012
  };
3439
- function On(e) {
3013
+ function Pn(e) {
3440
3014
  return /* @__PURE__ */ s("button", { type: "submit", ...e.attributes, children: e.text });
3441
3015
  }
3442
- const Ln = {
3016
+ const Bn = {
3443
3017
  name: "Form:TextArea",
3444
3018
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Ff74a2f3de58c4c3e939204e5b6b8f6c3",
3445
3019
  inputs: [{
@@ -3476,7 +3050,7 @@ const Ln = {
3476
3050
  static: !0,
3477
3051
  noWrap: !0
3478
3052
  };
3479
- function Un(e) {
3053
+ function Vn(e) {
3480
3054
  return /* @__PURE__ */ s(
3481
3055
  "textarea",
3482
3056
  {
@@ -3489,7 +3063,7 @@ function Un(e) {
3489
3063
  }
3490
3064
  );
3491
3065
  }
3492
- const _n = {
3066
+ const An = {
3493
3067
  // friendlyName?
3494
3068
  name: "Raw:Img",
3495
3069
  hideFromInsertMenu: !0,
@@ -3498,13 +3072,13 @@ const _n = {
3498
3072
  name: "image",
3499
3073
  bubble: !0,
3500
3074
  type: "file",
3501
- allowedFileTypes: ue,
3075
+ allowedFileTypes: de,
3502
3076
  required: !0
3503
3077
  }],
3504
3078
  noWrap: !0,
3505
3079
  static: !0
3506
3080
  };
3507
- function qn(e) {
3081
+ function Nn(e) {
3508
3082
  return /* @__PURE__ */ s(
3509
3083
  "img",
3510
3084
  {
@@ -3519,7 +3093,7 @@ function qn(e) {
3519
3093
  W() && e.imgSrc || "default-key"
3520
3094
  );
3521
3095
  }
3522
- const Hn = {
3096
+ const Wn = {
3523
3097
  name: "Video",
3524
3098
  canHaveChildren: !0,
3525
3099
  defaultStyles: {
@@ -3530,14 +3104,14 @@ const Hn = {
3530
3104
  inputs: [{
3531
3105
  name: "video",
3532
3106
  type: "file",
3533
- allowedFileTypes: an,
3107
+ allowedFileTypes: on,
3534
3108
  bubble: !0,
3535
3109
  defaultValue: "https://cdn.builder.io/o/assets%2FYJIGb4i01jvw0SRdL5Bt%2Fd27731a526464deba0016216f5f9e570%2Fcompressed?apiKey=YJIGb4i01jvw0SRdL5Bt&token=d27731a526464deba0016216f5f9e570&alt=media&optimized=true",
3536
3110
  required: !0
3537
3111
  }, {
3538
3112
  name: "posterImage",
3539
3113
  type: "file",
3540
- allowedFileTypes: ue,
3114
+ allowedFileTypes: de,
3541
3115
  helperText: "Image to show before the video plays"
3542
3116
  }, {
3543
3117
  name: "autoPlay",
@@ -3604,8 +3178,8 @@ const Hn = {
3604
3178
  builderBlock: !0
3605
3179
  }
3606
3180
  };
3607
- function Mn(e) {
3608
- var i, o, a, r, l, u, c;
3181
+ function Fn(e) {
3182
+ var i, o, a, r, l, d, c;
3609
3183
  function t() {
3610
3184
  return {
3611
3185
  ...e.autoPlay === !0 ? {
@@ -3630,7 +3204,7 @@ function Mn(e) {
3630
3204
  ...t()
3631
3205
  };
3632
3206
  }
3633
- return /* @__PURE__ */ N(
3207
+ return /* @__PURE__ */ B(
3634
3208
  "div",
3635
3209
  {
3636
3210
  style: {
@@ -3651,7 +3225,6 @@ function Mn(e) {
3651
3225
  objectPosition: e.position,
3652
3226
  // Hack to get object fit to work as expected and
3653
3227
  // not have the video overflow
3654
- zIndex: 2,
3655
3228
  borderRadius: "1px",
3656
3229
  ...e.aspectRatio ? {
3657
3230
  position: "absolute"
@@ -3684,7 +3257,7 @@ function Mn(e) {
3684
3257
  children: e.children
3685
3258
  }
3686
3259
  ) : null,
3687
- (c = (u = e.builderBlock) == null ? void 0 : u.children) != null && c.length && !e.fitContent ? /* @__PURE__ */ s(
3260
+ (c = (d = e.builderBlock) == null ? void 0 : d.children) != null && c.length && !e.fitContent ? /* @__PURE__ */ s(
3688
3261
  "div",
3689
3262
  {
3690
3263
  style: {
@@ -3705,67 +3278,64 @@ function Mn(e) {
3705
3278
  }
3706
3279
  );
3707
3280
  }
3708
- const jn = () => [{
3709
- component: wn,
3710
- ...Cn
3281
+ const $n = () => [{
3282
+ component: gn,
3283
+ ...hn
3711
3284
  }, {
3712
- component: Rn,
3713
- ...Tn
3285
+ component: xn,
3286
+ ...bn
3714
3287
  }, {
3715
- component: An,
3716
- ...Pn
3288
+ component: Cn,
3289
+ ...vn
3290
+ }, {
3291
+ component: In,
3292
+ ...Tn
3717
3293
  }, {
3718
- component: Wn,
3719
- ...Nn
3294
+ component: Pn,
3295
+ ...Rn
3720
3296
  }, {
3721
- component: On,
3722
- ...Fn
3297
+ component: En,
3298
+ ...wn
3723
3299
  }, {
3724
- component: Dn,
3725
- ...$n
3300
+ component: Vn,
3301
+ ...Bn
3726
3302
  }, {
3727
- component: Un,
3728
- ...Ln
3303
+ component: Nn,
3304
+ ...An
3729
3305
  }, {
3730
- component: qn,
3731
- ..._n
3306
+ component: Fn,
3307
+ ...Wn
3308
+ }], ve = () => [{
3309
+ component: tt,
3310
+ ...en
3732
3311
  }, {
3733
- component: Mn,
3734
- ...Hn
3735
- }], Se = () => [{
3736
- component: nt,
3312
+ component: zt,
3737
3313
  ...tn
3738
3314
  }, {
3739
3315
  component: Kt,
3740
3316
  ...nn
3741
- }, {
3742
- component: Jt,
3743
- ...on
3744
3317
  }, {
3745
3318
  component: Yt,
3746
- ...rn
3319
+ ...an
3747
3320
  }, {
3748
- component: Xt,
3749
- ...gn
3321
+ component: Qt,
3322
+ ...rn
3750
3323
  }, {
3751
- component: pn,
3752
- ...bn
3324
+ component: sn,
3325
+ ...ln
3753
3326
  }, {
3754
- component: gi,
3755
- ...yn
3327
+ component: ri,
3328
+ ...cn
3756
3329
  }, {
3757
- component: kn,
3758
- ...Sn
3330
+ component: fn,
3331
+ ...mn
3759
3332
  }, {
3760
- component: hn,
3761
- ...ln
3333
+ component: un,
3334
+ ...dn
3762
3335
  }, {
3763
- component: xn,
3764
- ...vn
3765
- }, {
3766
- component: en,
3767
- ...Zt
3768
- }, ...jn()], zn = `function updateCookiesAndStyles(contentId, variants, isHydrationTarget) {
3336
+ component: Zt,
3337
+ ...Xt
3338
+ }, ...$n()], On = `function updateCookiesAndStyles(contentId, variants, isHydrationTarget) {
3769
3339
  function getAndSetVariantId() {
3770
3340
  function setCookie(name, value, days) {
3771
3341
  let expires = '';
@@ -3821,7 +3391,7 @@ const jn = () => [{
3821
3391
  }).join('');
3822
3392
  styleEl.innerHTML = newStyleStr;
3823
3393
  }
3824
- }`, Kn = `function updateVariantVisibility(variantContentId, defaultContentId, isHydrationTarget) {
3394
+ }`, Dn = `function updateVariantVisibility(variantContentId, defaultContentId, isHydrationTarget) {
3825
3395
  if (!navigator.cookieEnabled) {
3826
3396
  return;
3827
3397
  }
@@ -3855,29 +3425,39 @@ const jn = () => [{
3855
3425
  thisScriptEl?.remove();
3856
3426
  }
3857
3427
  return;
3858
- }`, Me = "builderIoAbTest", je = "builderIoRenderContent", K = (e) => Object.values((e == null ? void 0 : e.variations) || {}).map((t) => ({
3428
+ }`, Me = "builderIoAbTest", je = "builderIoRenderContent", j = (e) => Object.values((e == null ? void 0 : e.variations) || {}).map((t) => ({
3859
3429
  ...t,
3860
3430
  testVariationId: t.id,
3861
3431
  id: e == null ? void 0 : e.id
3862
- })), Jn = ({
3432
+ })), Ln = ({
3863
3433
  canTrack: e,
3864
3434
  content: t
3865
- }) => !(!(K(t).length > 0) || !e || L()), Gn = (e) => e === "react" || e === "reactNative", ze = Gn(F), Qn = () => `
3866
- window.${Me} = ${zn}
3867
- window.${je} = ${Kn}
3868
- `, Yn = (e, t) => `
3435
+ }) => !(!(j(t).length > 0) || !e || D()), Un = (e) => e === "react" || e === "reactNative", qe = Un($), _n = () => `
3436
+ window.${Me} = ${On}
3437
+ window.${je} = ${Dn}
3438
+ `, Hn = (e, t) => `
3869
3439
  window.${Me}(
3870
- "${t}",${JSON.stringify(e)}, ${ze}
3871
- )`, Xn = ({
3440
+ "${t}",${JSON.stringify(e)}, ${qe}
3441
+ )`, Mn = ({
3872
3442
  contentId: e,
3873
3443
  variationId: t
3874
3444
  }) => `window.${je}(
3875
- "${t}", "${e}", ${ze}
3445
+ "${t}", "${e}", ${qe}
3876
3446
  )`;
3877
- function ke(e) {
3447
+ function oe(e) {
3448
+ return /* @__PURE__ */ s(
3449
+ "script",
3450
+ {
3451
+ dangerouslySetInnerHTML: { __html: e.scriptStr },
3452
+ "data-id": e.id,
3453
+ nonce: e.nonce || ""
3454
+ }
3455
+ );
3456
+ }
3457
+ function Se(e) {
3878
3458
  return Math.round(e * 1e3) / 1e3;
3879
3459
  }
3880
- const Zn = (e, t, n = !0) => {
3460
+ const jn = (e, t, n = !0) => {
3881
3461
  if (!(e instanceof HTMLElement))
3882
3462
  return null;
3883
3463
  let i = n ? e : e.parentElement;
@@ -3888,35 +3468,35 @@ const Zn = (e, t, n = !0) => {
3888
3468
  return i;
3889
3469
  } while (i = i.parentElement);
3890
3470
  return null;
3891
- }, ei = (e) => Zn(e, (t) => {
3471
+ }, qn = (e) => jn(e, (t) => {
3892
3472
  const n = t.getAttribute("builder-id") || t.id;
3893
3473
  return (n == null ? void 0 : n.indexOf("builder-")) === 0;
3894
- }), Ce = ({
3474
+ }), ke = ({
3895
3475
  event: e,
3896
3476
  target: t
3897
3477
  }) => {
3898
- const n = t.getBoundingClientRect(), i = e.clientX - n.left, o = e.clientY - n.top, a = ke(i / n.width), r = ke(o / n.height);
3478
+ const n = t.getBoundingClientRect(), i = e.clientX - n.left, o = e.clientY - n.top, a = Se(i / n.width), r = Se(o / n.height);
3899
3479
  return {
3900
3480
  x: a,
3901
3481
  y: r
3902
3482
  };
3903
- }, ti = (e) => {
3904
- const t = e.target, n = t && ei(t), i = (n == null ? void 0 : n.getAttribute("builder-id")) || (n == null ? void 0 : n.id);
3483
+ }, zn = (e) => {
3484
+ const t = e.target, n = t && qn(t), i = (n == null ? void 0 : n.getAttribute("builder-id")) || (n == null ? void 0 : n.id);
3905
3485
  return {
3906
3486
  targetBuilderElement: i || void 0,
3907
3487
  metadata: {
3908
- targetOffset: t ? Ce({
3488
+ targetOffset: t ? ke({
3909
3489
  event: e,
3910
3490
  target: t
3911
3491
  }) : void 0,
3912
- builderTargetOffset: n ? Ce({
3492
+ builderTargetOffset: n ? ke({
3913
3493
  event: e,
3914
3494
  target: n
3915
3495
  }) : void 0,
3916
3496
  builderElementIndex: n && i ? [].slice.call(document.getElementsByClassName(i)).indexOf(n) : void 0
3917
3497
  }
3918
3498
  };
3919
- }, ni = ["svelte", "qwik", "vue"], we = () => ni.includes(F) && (W() || X()), ii = (e) => {
3499
+ }, Kn = ["svelte", "qwik", "vue"], Ce = () => Kn.includes($) && (W() || ae()), Jn = (e) => {
3920
3500
  var a, r;
3921
3501
  const t = e.family + (e.kind && !e.kind.includes("#") ? ", " + e.kind : ""), n = t.split(",")[0], i = (r = e.fileUrl) != null ? r : (a = e == null ? void 0 : e.files) == null ? void 0 : a.regular;
3922
3502
  let o = "";
@@ -3942,15 +3522,15 @@ font-weight: ${l};
3942
3522
  `.trim());
3943
3523
  }
3944
3524
  return o;
3945
- }, oi = ({
3525
+ }, Gn = ({
3946
3526
  customFonts: e
3947
3527
  }) => {
3948
3528
  var t;
3949
- return ((t = e == null ? void 0 : e.map((n) => ii(n))) == null ? void 0 : t.join(" ")) || "";
3950
- }, ai = ({
3529
+ return ((t = e == null ? void 0 : e.map((n) => Jn(n))) == null ? void 0 : t.join(" ")) || "";
3530
+ }, Yn = ({
3951
3531
  cssCode: e,
3952
3532
  contentId: t
3953
- }) => e ? t ? (e == null ? void 0 : e.replace(/&/g, `div[builder-content-id="${t}"]`)) || "" : e : "", ri = `
3533
+ }) => e ? t ? (e == null ? void 0 : e.replace(/&/g, `div[builder-content-id="${t}"]`)) || "" : e : "", Qn = `
3954
3534
  .builder-button {
3955
3535
  all: unset;
3956
3536
  }
@@ -3967,39 +3547,39 @@ font-weight: ${l};
3967
3547
  text-align: inherit;
3968
3548
  font-family: inherit;
3969
3549
  }
3970
- `, li = (e) => e ? "" : ri, si = (e) => `variant-${e}`;
3971
- function ci(e) {
3972
- var x, I, B;
3973
- const t = D(null);
3974
- function n(C) {
3975
- var T, w;
3976
- const S = {
3550
+ `, Xn = (e) => e ? "" : Qn, Zn = (e) => `variant-${e}`;
3551
+ function ei(e) {
3552
+ var p, C, P;
3553
+ const t = O(null);
3554
+ function n(I) {
3555
+ var f, S;
3556
+ const w = {
3977
3557
  ...e.builderContextSignal.rootState,
3978
- ...C
3558
+ ...I
3979
3559
  };
3980
- e.builderContextSignal.rootSetState ? (w = (T = e.builderContextSignal).rootSetState) == null || w.call(T, S) : e.setBuilderContextSignal((m) => ({
3981
- ...m,
3982
- rootState: S
3560
+ e.builderContextSignal.rootSetState ? (S = (f = e.builderContextSignal).rootSetState) == null || S.call(f, w) : e.setBuilderContextSignal((x) => ({
3561
+ ...x,
3562
+ rootState: w
3983
3563
  }));
3984
3564
  }
3985
- function i(C) {
3986
- var T, w, m, k, V;
3987
- const S = {
3565
+ function i(I) {
3566
+ var f, S, x, T, V;
3567
+ const w = {
3988
3568
  ...e.builderContextSignal.content,
3989
- ...C,
3569
+ ...I,
3990
3570
  data: {
3991
- ...(T = e.builderContextSignal.content) == null ? void 0 : T.data,
3992
- ...C == null ? void 0 : C.data
3571
+ ...(f = e.builderContextSignal.content) == null ? void 0 : f.data,
3572
+ ...I == null ? void 0 : I.data
3993
3573
  },
3994
3574
  meta: {
3995
- ...(w = e.builderContextSignal.content) == null ? void 0 : w.meta,
3996
- ...C == null ? void 0 : C.meta,
3997
- breakpoints: ((m = C == null ? void 0 : C.meta) == null ? void 0 : m.breakpoints) || ((V = (k = e.builderContextSignal.content) == null ? void 0 : k.meta) == null ? void 0 : V.breakpoints)
3575
+ ...(S = e.builderContextSignal.content) == null ? void 0 : S.meta,
3576
+ ...I == null ? void 0 : I.meta,
3577
+ breakpoints: ((x = I == null ? void 0 : I.meta) == null ? void 0 : x.breakpoints) || ((V = (T = e.builderContextSignal.content) == null ? void 0 : T.meta) == null ? void 0 : V.breakpoints)
3998
3578
  }
3999
3579
  };
4000
- e.setBuilderContextSignal((E) => ({
4001
- ...E,
4002
- content: S
3580
+ e.setBuilderContextSignal((N) => ({
3581
+ ...N,
3582
+ content: w
4003
3583
  }));
4004
3584
  }
4005
3585
  function o() {
@@ -4011,59 +3591,59 @@ function ci(e) {
4011
3591
  const [a, r] = R(
4012
3592
  () => e.contentWrapper || "div"
4013
3593
  );
4014
- function l(C) {
3594
+ function l(I) {
4015
3595
  return Ye({
4016
3596
  model: e.model,
4017
3597
  trustedHosts: e.trustedHosts,
4018
3598
  callbacks: {
4019
- configureSdk: (S) => {
4020
- var m;
4021
- const { breakpoints: T, contentId: w } = S;
4022
- !w || w !== ((m = e.builderContextSignal.content) == null ? void 0 : m.id) || T && i({
3599
+ configureSdk: (w) => {
3600
+ var x;
3601
+ const { breakpoints: f, contentId: S } = w;
3602
+ !S || S !== ((x = e.builderContextSignal.content) == null ? void 0 : x.id) || f && i({
4023
3603
  meta: {
4024
- breakpoints: T
3604
+ breakpoints: f
4025
3605
  }
4026
3606
  });
4027
3607
  },
4028
- animation: (S) => {
4029
- Fe(S);
3608
+ animation: (w) => {
3609
+ $e(w);
4030
3610
  },
4031
- contentUpdate: (S) => {
4032
- i(S);
3611
+ contentUpdate: (w) => {
3612
+ i(w);
4033
3613
  }
4034
3614
  }
4035
- })(C);
3615
+ })(I);
4036
3616
  }
4037
- const [u, c] = R(() => ({})), [h, b] = R(() => ({})), [f, p] = R(() => !1);
4038
- function d(C) {
4039
- var S, T;
3617
+ const [d, c] = R(() => ({})), [h, m] = R(() => ({})), [u, k] = R(() => !1);
3618
+ function g(I) {
3619
+ var w, f;
4040
3620
  if (e.builderContextSignal.content) {
4041
- const w = (S = e.builderContextSignal.content) == null ? void 0 : S.testVariationId, m = (T = e.builderContextSignal.content) == null ? void 0 : T.id;
4042
- me({
3621
+ const S = (w = e.builderContextSignal.content) == null ? void 0 : w.testVariationId, x = (f = e.builderContextSignal.content) == null ? void 0 : f.id;
3622
+ ue({
4043
3623
  apiHost: e.apiHost,
4044
3624
  type: "click",
4045
- canTrack: q(e.canTrack),
4046
- contentId: m,
3625
+ canTrack: z(e.canTrack),
3626
+ contentId: x,
4047
3627
  apiKey: e.apiKey,
4048
- variationId: w !== m ? w : void 0,
4049
- ...ti(C),
4050
- unique: !f
3628
+ variationId: S !== x ? S : void 0,
3629
+ ...zn(I),
3630
+ unique: !u
4051
3631
  });
4052
3632
  }
4053
- f || p(!0);
3633
+ u || k(!0);
4054
3634
  }
4055
- function g() {
4056
- var S, T, w;
4057
- const C = (w = (T = (S = e.builderContextSignal.content) == null ? void 0 : S.data) == null ? void 0 : T.httpRequests) != null ? w : {};
4058
- Object.entries(C).forEach(([m, k]) => {
4059
- if (!k || h[m] || u[m] && !W())
3635
+ function v() {
3636
+ var w, f, S;
3637
+ const I = (S = (f = (w = e.builderContextSignal.content) == null ? void 0 : w.data) == null ? void 0 : f.httpRequests) != null ? S : {};
3638
+ Object.entries(I).forEach(([x, T]) => {
3639
+ if (!T || h[x] || d[x] && !W())
4060
3640
  return;
4061
- h[m] = !0;
4062
- const V = k.replace(
3641
+ h[x] = !0;
3642
+ const V = T.replace(
4063
3643
  /{{([^}]+)}}/g,
4064
- (E, O) => String(
4065
- U({
4066
- code: O,
3644
+ (N, H) => String(
3645
+ L({
3646
+ code: H,
4067
3647
  context: e.context || {},
4068
3648
  localState: void 0,
4069
3649
  rootState: e.builderContextSignal.rootState,
@@ -4071,18 +3651,18 @@ function ci(e) {
4071
3651
  })
4072
3652
  )
4073
3653
  );
4074
- Ie(V), fetch(V).then((E) => E.json()).then((E) => {
3654
+ Ie(V), fetch(V).then((N) => N.json()).then((N) => {
4075
3655
  n({
4076
- [m]: E
4077
- }), u[m] = !0;
4078
- }).catch((E) => {
4079
- console.error("error fetching dynamic data", k, E);
3656
+ [x]: N
3657
+ }), d[x] = !0;
3658
+ }).catch((N) => {
3659
+ console.error("error fetching dynamic data", T, N);
4080
3660
  }).finally(() => {
4081
- h[m] = !1;
3661
+ h[x] = !1;
4082
3662
  });
4083
3663
  });
4084
3664
  }
4085
- function v() {
3665
+ function y() {
4086
3666
  W() && window.dispatchEvent(
4087
3667
  new CustomEvent(
4088
3668
  "builder:component:stateChange",
@@ -4097,11 +3677,11 @@ function ci(e) {
4097
3677
  )
4098
3678
  );
4099
3679
  }
4100
- const y = D(!1);
4101
- return y.current || (g(), v(), y.current = !0), A(() => {
4102
- var C, S, T;
4103
- if (L()) {
4104
- if (W() && !e.isNestedRender && (window.addEventListener("message", l), Je(), Ge({
3680
+ const b = O(!1);
3681
+ return b.current || (v(), y(), b.current = !0), A(() => {
3682
+ var I, w, f;
3683
+ if (D()) {
3684
+ if (W() && !e.isNestedRender && (window.addEventListener("message", l), Ke(), Je({
4105
3685
  ...e.locale ? {
4106
3686
  locale: e.locale
4107
3687
  } : {},
@@ -4113,48 +3693,48 @@ function ci(e) {
4113
3693
  } : {}
4114
3694
  }), Object.values(
4115
3695
  e.builderContextSignal.componentInfos
4116
- ).forEach((m) => {
4117
- var k, V;
4118
- if (!e.model || !((k = m.models) != null && k.length) || m.models.includes(e.model)) {
4119
- const E = Qe(m);
4120
- (V = window.parent) == null || V.postMessage(E, "*");
3696
+ ).forEach((x) => {
3697
+ var T, V;
3698
+ if (!e.model || !((T = x.models) != null && T.length) || x.models.includes(e.model)) {
3699
+ const N = Ge(x);
3700
+ (V = window.parent) == null || V.postMessage(N, "*");
4121
3701
  }
4122
3702
  }), window.addEventListener(
4123
3703
  "builder:component:stateChangeListenerActivated",
4124
- v
4125
- )), e.builderContextSignal.content && q(e.canTrack)) {
4126
- const m = (C = e.builderContextSignal.content) == null ? void 0 : C.testVariationId, k = (S = e.builderContextSignal.content) == null ? void 0 : S.id, V = e.apiKey;
4127
- me({
3704
+ y
3705
+ )), e.builderContextSignal.content && z(e.canTrack)) {
3706
+ const x = (I = e.builderContextSignal.content) == null ? void 0 : I.testVariationId, T = (w = e.builderContextSignal.content) == null ? void 0 : w.id, V = e.apiKey;
3707
+ ue({
4128
3708
  apiHost: e.apiHost,
4129
3709
  type: "impression",
4130
3710
  canTrack: !0,
4131
- contentId: k,
3711
+ contentId: T,
4132
3712
  apiKey: V,
4133
- variationId: m !== k ? m : void 0
3713
+ variationId: x !== T ? x : void 0
4134
3714
  });
4135
3715
  }
4136
- if (X() && !W()) {
4137
- const m = new URL(location.href).searchParams, k = m.get("builder.preview"), V = m.get(
4138
- `builder.overrides.${k}`
4139
- ), E = m.get("apiKey") || m.get("builder.space");
4140
- (k === "BUILDER_STUDIO" || k === e.model && E === e.apiKey && (!e.content || V === e.content.id)) && Ee({
3716
+ if (ae() && !W()) {
3717
+ const x = new URL(location.href).searchParams, T = x.get("builder.preview"), V = x.get(
3718
+ `builder.overrides.${T}`
3719
+ ), N = x.get("apiKey") || x.get("builder.space");
3720
+ (T === "BUILDER_STUDIO" || T === e.model && N === e.apiKey && (!e.content || V === e.content.id)) && we({
4141
3721
  model: e.model || "",
4142
3722
  apiKey: e.apiKey,
4143
3723
  apiVersion: e.builderContextSignal.apiVersion,
4144
- ...k === "BUILDER_STUDIO" && ((T = e.context) != null && T.symbolId) ? {
3724
+ ...T === "BUILDER_STUDIO" && ((f = e.context) != null && f.symbolId) ? {
4145
3725
  query: {
4146
3726
  id: e.context.symbolId
4147
3727
  }
4148
3728
  } : {}
4149
- }).then((O) => {
4150
- O && i(O);
3729
+ }).then((H) => {
3730
+ H && i(H);
4151
3731
  });
4152
3732
  }
4153
3733
  }
4154
3734
  }, []), A(() => {
4155
3735
  e.content && i(e.content);
4156
3736
  }, [e.content]), A(() => {
4157
- v();
3737
+ y();
4158
3738
  }, [e.builderContextSignal.rootState]), A(() => {
4159
3739
  e.data && n(e.data);
4160
3740
  }, [e.data]), A(() => {
@@ -4162,22 +3742,22 @@ function ci(e) {
4162
3742
  locale: e.locale
4163
3743
  });
4164
3744
  }, [e.locale]), A(() => () => {
4165
- L() && (window.removeEventListener("message", l), window.removeEventListener(
3745
+ D() && (window.removeEventListener("message", l), window.removeEventListener(
4166
3746
  "builder:component:stateChangeListenerActivated",
4167
- v
3747
+ y
4168
3748
  ));
4169
- }, []), /* @__PURE__ */ s(le.Provider, { value: e.builderContextSignal, children: e.builderContextSignal.content || we() ? /* @__PURE__ */ s(
3749
+ }, []), /* @__PURE__ */ s(le.Provider, { value: e.builderContextSignal, children: e.builderContextSignal.content || Ce() ? /* @__PURE__ */ s(
4170
3750
  a,
4171
3751
  {
4172
3752
  ref: t,
4173
- onClick: (C) => d(C),
4174
- "builder-content-id": (x = e.builderContextSignal.content) == null ? void 0 : x.id,
3753
+ onClick: (I) => g(I),
3754
+ "builder-content-id": (p = e.builderContextSignal.content) == null ? void 0 : p.id,
4175
3755
  "builder-model": e.model,
4176
- className: si(
4177
- ((I = e.content) == null ? void 0 : I.testVariationId) || ((B = e.content) == null ? void 0 : B.id)
3756
+ className: Zn(
3757
+ ((C = e.content) == null ? void 0 : C.testVariationId) || ((P = e.content) == null ? void 0 : P.id)
4178
3758
  ),
4179
3759
  style: {
4180
- display: !e.builderContextSignal.content && we() ? "none" : void 0
3760
+ display: !e.builderContextSignal.content && Ce() ? "none" : void 0
4181
3761
  },
4182
3762
  ...o(),
4183
3763
  ...e.contentWrapperProps,
@@ -4185,21 +3765,21 @@ function ci(e) {
4185
3765
  }
4186
3766
  ) : null });
4187
3767
  }
4188
- function ui(e) {
3768
+ function ti(e) {
4189
3769
  const [t, n] = R(
4190
3770
  () => `
4191
- ${ai({
3771
+ ${Yn({
4192
3772
  cssCode: e.cssCode,
4193
3773
  contentId: e.contentId
4194
3774
  })}
4195
- ${oi({
3775
+ ${Gn({
4196
3776
  customFonts: e.customFonts
4197
3777
  })}
4198
- ${li(e.isNestedRender)}
3778
+ ${Xn(e.isNestedRender)}
4199
3779
  `.trim()
4200
3780
  );
4201
3781
  return /* @__PURE__ */ s(
4202
- M,
3782
+ Y,
4203
3783
  {
4204
3784
  id: "builderio-content",
4205
3785
  styles: t,
@@ -4207,15 +3787,15 @@ ${li(e.isNestedRender)}
4207
3787
  }
4208
3788
  );
4209
3789
  }
4210
- const di = ({
3790
+ const ni = ({
4211
3791
  content: e,
4212
3792
  data: t,
4213
3793
  locale: n
4214
3794
  }) => {
4215
3795
  var a, r, l;
4216
3796
  const i = {}, o = ((a = e == null ? void 0 : e.data) == null ? void 0 : a.state) || {};
4217
- return (l = (r = e == null ? void 0 : e.data) == null ? void 0 : r.inputs) == null || l.forEach((u) => {
4218
- u.name && u.defaultValue !== void 0 && (i[u.name] = u.defaultValue);
3797
+ return (l = (r = e == null ? void 0 : e.data) == null ? void 0 : r.inputs) == null || l.forEach((d) => {
3798
+ d.name && d.defaultValue !== void 0 && (i[d.name] = d.defaultValue);
4219
3799
  }), {
4220
3800
  ...i,
4221
3801
  ...o,
@@ -4224,7 +3804,7 @@ const di = ({
4224
3804
  locale: n
4225
3805
  } : {}
4226
3806
  };
4227
- }, mi = ({
3807
+ }, ii = ({
4228
3808
  content: e,
4229
3809
  data: t
4230
3810
  }) => e ? {
@@ -4236,45 +3816,45 @@ const di = ({
4236
3816
  meta: e == null ? void 0 : e.meta
4237
3817
  } : void 0;
4238
3818
  function Te(e) {
4239
- var c, h, b, f, p, d, g, v, y;
3819
+ var c, h, m, u, k, g, v, y, b;
4240
3820
  const [t, n] = R(
4241
3821
  () => {
4242
- var x, I;
4243
- return Xn({
3822
+ var p, C;
3823
+ return Mn({
4244
3824
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
4245
- variationId: (x = e.content) == null ? void 0 : x.testVariationId,
3825
+ variationId: (p = e.content) == null ? void 0 : p.testVariationId,
4246
3826
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
4247
- contentId: (I = e.content) == null ? void 0 : I.id
3827
+ contentId: (C = e.content) == null ? void 0 : C.id
4248
3828
  });
4249
3829
  }
4250
3830
  );
4251
- function i(x) {
4252
- l((I) => ({
4253
- ...I,
4254
- rootState: x
3831
+ function i(p) {
3832
+ l((C) => ({
3833
+ ...C,
3834
+ rootState: p
4255
3835
  }));
4256
3836
  }
4257
3837
  const [o, a] = R(
4258
3838
  () => [
4259
- ...Se(),
3839
+ ...ve(),
4260
3840
  ...e.customComponents || []
4261
3841
  ].reduce(
4262
- (x, { component: I, ...B }) => ({
4263
- ...x,
4264
- [B.name]: {
4265
- component: I,
4266
- ...fe(B)
3842
+ (p, { component: C, ...P }) => ({
3843
+ ...p,
3844
+ [P.name]: {
3845
+ component: C,
3846
+ ...me(P)
4267
3847
  }
4268
3848
  }),
4269
3849
  {}
4270
3850
  )
4271
3851
  ), [r, l] = R(() => ({
4272
- content: mi({
3852
+ content: ii({
4273
3853
  content: e.content,
4274
3854
  data: e.data
4275
3855
  }),
4276
3856
  localState: void 0,
4277
- rootState: di({
3857
+ rootState: ni({
4278
3858
  content: e.content,
4279
3859
  data: e.data,
4280
3860
  locale: e.locale
@@ -4285,12 +3865,12 @@ function Te(e) {
4285
3865
  apiKey: e.apiKey,
4286
3866
  apiVersion: e.apiVersion,
4287
3867
  componentInfos: [
4288
- ...Se(),
3868
+ ...ve(),
4289
3869
  ...e.customComponents || []
4290
3870
  ].reduce(
4291
- (x, { component: I, ...B }) => ({
4292
- ...x,
4293
- [B.name]: fe(B)
3871
+ (p, { component: C, ...P }) => ({
3872
+ ...p,
3873
+ [P.name]: me(P)
4294
3874
  }),
4295
3875
  {}
4296
3876
  ),
@@ -4299,31 +3879,31 @@ function Te(e) {
4299
3879
  BlocksWrapperProps: e.blocksWrapperProps || {},
4300
3880
  nonce: e.nonce || "",
4301
3881
  model: e.model || ""
4302
- })), u = D(!1);
4303
- if (!u.current) {
4304
- e.apiKey || Y.error(
3882
+ })), d = O(!1);
3883
+ if (!d.current) {
3884
+ e.apiKey || J.error(
4305
3885
  "No API key provided to `Content` component. This can cause issues. Please provide an API key using the `apiKey` prop."
4306
3886
  );
4307
- const x = (h = (c = r.content) == null ? void 0 : c.data) == null ? void 0 : h.jsCode;
4308
- x && U({
4309
- code: x,
3887
+ const p = (h = (c = r.content) == null ? void 0 : c.data) == null ? void 0 : h.jsCode;
3888
+ p && L({
3889
+ code: p,
4310
3890
  context: e.context || {},
4311
3891
  localState: void 0,
4312
3892
  rootState: r.rootState,
4313
- rootSetState: (I) => {
4314
- Object.assign(r.rootState, I);
3893
+ rootSetState: (C) => {
3894
+ Object.assign(r.rootState, C);
4315
3895
  },
4316
3896
  isExpression: !1
4317
- }), u.current = !0;
3897
+ }), d.current = !0;
4318
3898
  }
4319
3899
  return /* @__PURE__ */ s(
4320
- Ve.Provider,
3900
+ Pe.Provider,
4321
3901
  {
4322
3902
  value: {
4323
3903
  registeredComponents: o
4324
3904
  },
4325
- children: /* @__PURE__ */ N(
4326
- ci,
3905
+ children: /* @__PURE__ */ B(
3906
+ ei,
4327
3907
  {
4328
3908
  apiHost: e.apiHost,
4329
3909
  nonce: e.nonce,
@@ -4344,7 +3924,7 @@ function Te(e) {
4344
3924
  setBuilderContextSignal: l,
4345
3925
  children: [
4346
3926
  e.isSsrAbTest ? /* @__PURE__ */ s(
4347
- Q,
3927
+ oe,
4348
3928
  {
4349
3929
  id: "builderio-variant-visibility",
4350
3930
  scriptStr: t,
@@ -4352,19 +3932,19 @@ function Te(e) {
4352
3932
  }
4353
3933
  ) : null,
4354
3934
  /* @__PURE__ */ s(
4355
- ui,
3935
+ ti,
4356
3936
  {
4357
3937
  nonce: e.nonce || "",
4358
3938
  isNestedRender: e.isNestedRender,
4359
- contentId: (b = r.content) == null ? void 0 : b.id,
4360
- cssCode: (p = (f = r.content) == null ? void 0 : f.data) == null ? void 0 : p.cssCode,
4361
- customFonts: (g = (d = r.content) == null ? void 0 : d.data) == null ? void 0 : g.customFonts
3939
+ contentId: (m = r.content) == null ? void 0 : m.id,
3940
+ cssCode: (k = (u = r.content) == null ? void 0 : u.data) == null ? void 0 : k.cssCode,
3941
+ customFonts: (v = (g = r.content) == null ? void 0 : g.data) == null ? void 0 : v.customFonts
4362
3942
  }
4363
3943
  ),
4364
3944
  /* @__PURE__ */ s(
4365
- $,
3945
+ F,
4366
3946
  {
4367
- blocks: (y = (v = r.content) == null ? void 0 : v.data) == null ? void 0 : y.blocks,
3947
+ blocks: (b = (y = r.content) == null ? void 0 : y.data) == null ? void 0 : b.blocks,
4368
3948
  context: r,
4369
3949
  registeredComponents: o,
4370
3950
  linkComponent: e.linkComponent
@@ -4376,50 +3956,50 @@ function Te(e) {
4376
3956
  }
4377
3957
  );
4378
3958
  }
4379
- function fi(e) {
3959
+ function oi(e) {
4380
3960
  var r;
4381
3961
  const [t, n] = R(
4382
- () => Jn({
4383
- canTrack: q(e.canTrack),
3962
+ () => Ln({
3963
+ canTrack: z(e.canTrack),
4384
3964
  content: e.content
4385
3965
  })
4386
3966
  );
4387
3967
  function i() {
4388
3968
  var l;
4389
- return Yn(
4390
- K(e.content).map((u) => ({
4391
- id: u.testVariationId,
4392
- testRatio: u.testRatio
3969
+ return Hn(
3970
+ j(e.content).map((d) => ({
3971
+ id: d.testVariationId,
3972
+ testRatio: d.testRatio
4393
3973
  })),
4394
3974
  ((l = e.content) == null ? void 0 : l.id) || ""
4395
3975
  );
4396
3976
  }
4397
3977
  function o() {
4398
- return K(e.content).map((l) => `.variant-${l.testVariationId} { display: none; } `).join("");
3978
+ return j(e.content).map((l) => `.variant-${l.testVariationId} { display: none; } `).join("");
4399
3979
  }
4400
3980
  function a() {
4401
3981
  var l;
4402
3982
  return t ? {
4403
3983
  ...e.content,
4404
3984
  testVariationId: (l = e.content) == null ? void 0 : l.id
4405
- } : Xe({
3985
+ } : Qe({
4406
3986
  item: e.content,
4407
- canTrack: q(e.canTrack)
3987
+ canTrack: z(e.canTrack)
4408
3988
  });
4409
3989
  }
4410
3990
  return A(() => {
4411
- }, []), /* @__PURE__ */ N(P, { children: [
4412
- !e.isNestedRender && F !== "reactNative" ? /* @__PURE__ */ s(
4413
- Q,
3991
+ }, []), /* @__PURE__ */ B(E, { children: [
3992
+ !e.isNestedRender && $ !== "reactNative" ? /* @__PURE__ */ s(
3993
+ oe,
4414
3994
  {
4415
3995
  id: "builderio-init-variants-fns",
4416
- scriptStr: Qn(),
3996
+ scriptStr: _n(),
4417
3997
  nonce: e.nonce || ""
4418
3998
  }
4419
3999
  ) : null,
4420
- t ? /* @__PURE__ */ N(P, { children: [
4000
+ t ? /* @__PURE__ */ B(E, { children: [
4421
4001
  /* @__PURE__ */ s(
4422
- M,
4002
+ Y,
4423
4003
  {
4424
4004
  id: "builderio-variants",
4425
4005
  styles: o(),
@@ -4427,14 +4007,14 @@ function fi(e) {
4427
4007
  }
4428
4008
  ),
4429
4009
  /* @__PURE__ */ s(
4430
- Q,
4010
+ oe,
4431
4011
  {
4432
4012
  id: "builderio-variants-visibility",
4433
4013
  scriptStr: i(),
4434
4014
  nonce: e.nonce || ""
4435
4015
  }
4436
4016
  ),
4437
- (r = K(e.content)) == null ? void 0 : r.map((l) => /* @__PURE__ */ s(
4017
+ (r = j(e.content)) == null ? void 0 : r.map((l) => /* @__PURE__ */ s(
4438
4018
  Te,
4439
4019
  {
4440
4020
  apiHost: e.apiHost,
@@ -4490,13 +4070,13 @@ function fi(e) {
4490
4070
  )
4491
4071
  ] });
4492
4072
  }
4493
- const hi = async ({
4073
+ const ai = async ({
4494
4074
  builderContextValue: e,
4495
4075
  symbol: t
4496
4076
  }) => {
4497
4077
  if (t != null && t.model && // This is a hack, we should not need to check for this, but it is needed for Svelte.
4498
4078
  (e != null && e.apiKey))
4499
- return Ee({
4079
+ return we({
4500
4080
  model: t.model,
4501
4081
  apiKey: e.apiKey,
4502
4082
  apiVersion: e.apiVersion,
@@ -4506,11 +4086,11 @@ const hi = async ({
4506
4086
  }
4507
4087
  }
4508
4088
  }).catch((n) => {
4509
- Y.error("Could not fetch symbol content: ", n);
4089
+ J.error("Could not fetch symbol content: ", n);
4510
4090
  });
4511
4091
  };
4512
- function gi(e) {
4513
- var l, u, c, h;
4092
+ function ri(e) {
4093
+ var l, d, c, h;
4514
4094
  function t() {
4515
4095
  return "div";
4516
4096
  }
@@ -4518,31 +4098,31 @@ function gi(e) {
4518
4098
  return "div";
4519
4099
  }
4520
4100
  function i() {
4521
- var b, f;
4101
+ var m, u;
4522
4102
  return [
4523
- e.attributes[H()],
4103
+ e.attributes[_()],
4524
4104
  "builder-symbol",
4525
- (b = e.symbol) != null && b.inline ? "builder-inline-symbol" : void 0,
4526
- (f = e.symbol) != null && f.dynamic || e.dynamic ? "builder-dynamic-symbol" : void 0
4105
+ (m = e.symbol) != null && m.inline ? "builder-inline-symbol" : void 0,
4106
+ (u = e.symbol) != null && u.dynamic || e.dynamic ? "builder-dynamic-symbol" : void 0
4527
4107
  ].filter(Boolean).join(" ");
4528
4108
  }
4529
4109
  const [o, a] = R(() => {
4530
- var b;
4531
- return (b = e.symbol) == null ? void 0 : b.content;
4110
+ var m;
4111
+ return (m = e.symbol) == null ? void 0 : m.content;
4532
4112
  });
4533
4113
  function r() {
4534
- o || hi({
4114
+ o || ai({
4535
4115
  symbol: e.symbol,
4536
4116
  builderContextValue: e.builderContext
4537
- }).then((b) => {
4538
- b && a(b);
4117
+ }).then((m) => {
4118
+ m && a(m);
4539
4119
  });
4540
4120
  }
4541
4121
  return A(() => {
4542
4122
  }, []), A(() => {
4543
4123
  r();
4544
4124
  }, [e.symbol]), /* @__PURE__ */ s("div", { ...e.attributes, className: i(), children: /* @__PURE__ */ s(
4545
- fi,
4125
+ oi,
4546
4126
  {
4547
4127
  nonce: e.builderContext.nonce,
4548
4128
  isNestedRender: !0,
@@ -4554,7 +4134,7 @@ function gi(e) {
4554
4134
  },
4555
4135
  customComponents: Object.values(e.builderComponents),
4556
4136
  data: {
4557
- ...(u = e.symbol) == null ? void 0 : u.data,
4137
+ ...(d = e.symbol) == null ? void 0 : d.data,
4558
4138
  ...e.builderContext.localState,
4559
4139
  ...(c = o == null ? void 0 : o.data) == null ? void 0 : c.state
4560
4140
  },
@@ -4568,16 +4148,15 @@ function gi(e) {
4568
4148
  ) });
4569
4149
  }
4570
4150
  export {
4571
- $ as Blocks,
4151
+ F as Blocks,
4572
4152
  le as BuilderContext,
4573
- nt as Button,
4574
- Kt as Columns,
4575
- fi as Content,
4576
- Jt as Fragment,
4153
+ tt as Button,
4154
+ zt as Columns,
4155
+ oi as Content,
4156
+ Kt as Fragment,
4577
4157
  Yt as Image,
4578
- Xt as Section,
4579
- gi as Symbol,
4580
- kn as Text,
4581
- Mn as Video,
4582
- Si as setClientUserAttributes
4158
+ Qt as Section,
4159
+ ri as Symbol,
4160
+ fn as Text,
4161
+ Fn as Video
4583
4162
  };