@builder.io/sdk-vue 2.0.30 → 2.0.31

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 (52) hide show
  1. package/lib/browser/{awaiter-t_FyHypk.js → awaiter-CBFYn8Rc.js} +1 -1
  2. package/lib/browser/{awaiter-G8SRGpZq.cjs → awaiter-zzvk2NgH.cjs} +1 -1
  3. package/lib/browser/{block-styles-QdL_P0Fx.js → block-styles-1TjUGG0M.js} +1 -1
  4. package/lib/browser/{block-styles-OnuFq-oN.cjs → block-styles-eG8aHEnR.cjs} +1 -1
  5. package/lib/browser/{block-wrapper-7IkLgp7x.js → block-wrapper-mHstZCm3.js} +3 -3
  6. package/lib/browser/{block-wrapper-fBAL9K2u.cjs → block-wrapper-t1YyB3qf.cjs} +1 -1
  7. package/lib/browser/{component-ref-L--Mvtc5.cjs → component-ref-4iD2JOXe.cjs} +1 -1
  8. package/lib/browser/{component-ref-llprrwE2.js → component-ref-SiTniDkf.js} +3 -3
  9. package/lib/browser/constants/sdk-version.d.ts +1 -1
  10. package/lib/browser/{get-block-properties-C3Bt0aVR.js → get-block-properties-WnxZnXsK.js} +1 -1
  11. package/lib/browser/{get-block-properties-GiTnRRbK.cjs → get-block-properties-qCNopliW.cjs} +1 -1
  12. package/lib/browser/{index-2PyFlZUC.cjs → index-EOpyZR3_.cjs} +23 -23
  13. package/lib/browser/{index-vt9k3TV3.js → index-nG43II0w.js} +576 -570
  14. package/lib/browser/index.cjs +1 -1
  15. package/lib/browser/index.mjs +1 -1
  16. package/lib/browser/{repeated-block-dHROvYhN.js → repeated-block-WkFOmnw-.js} +2 -2
  17. package/lib/browser/{repeated-block-8thLK-kw.cjs → repeated-block-Zrynel2G.cjs} +1 -1
  18. package/lib/edge/{awaiter-xMGfwYjm.js → awaiter-ETIQ3Y1O.js} +1 -1
  19. package/lib/edge/{awaiter-GC2xTC8Y.cjs → awaiter-tqyHYP24.cjs} +1 -1
  20. package/lib/edge/{block-styles-MQ6F-wJx.cjs → block-styles-UFZvXK12.cjs} +1 -1
  21. package/lib/edge/{block-styles-lnpdX6V-.js → block-styles-xeGiE5b9.js} +1 -1
  22. package/lib/edge/{block-wrapper-aixvpDaD.cjs → block-wrapper-Kx9lGbVC.cjs} +1 -1
  23. package/lib/edge/{block-wrapper-OjYnBNwz.js → block-wrapper-rWfNhUAl.js} +3 -3
  24. package/lib/edge/{component-ref-UF81PmzX.js → component-ref-2gTfqFWa.js} +3 -3
  25. package/lib/edge/{component-ref-pLMkH-li.cjs → component-ref-jL8V5feH.cjs} +1 -1
  26. package/lib/edge/constants/sdk-version.d.ts +1 -1
  27. package/lib/edge/{get-block-properties-PgTUmqHR.cjs → get-block-properties-U4aZTxWN.cjs} +1 -1
  28. package/lib/edge/{get-block-properties-_21D78JP.js → get-block-properties-rSB9DXAm.js} +1 -1
  29. package/lib/edge/{index-5thgYd8i.cjs → index-1wQww2g6.cjs} +14 -14
  30. package/lib/edge/{index-vCgGh07X.js → index-61CJkECh.js} +682 -676
  31. package/lib/edge/index.cjs +1 -1
  32. package/lib/edge/index.mjs +1 -1
  33. package/lib/{node/repeated-block-SZwTMCgz.cjs → edge/repeated-block-YThkmdHp.cjs} +1 -1
  34. package/lib/edge/{repeated-block-2cIfX4fx.js → repeated-block-sibYzFQC.js} +2 -2
  35. package/lib/node/{awaiter-3eKUn_vT.js → awaiter--0e1RmdV.js} +1 -1
  36. package/lib/node/{awaiter-qNZtZLjJ.cjs → awaiter-YeTQ3hOV.cjs} +1 -1
  37. package/lib/node/{block-styles-ON8cTpGp.cjs → block-styles-OsL48K76.cjs} +1 -1
  38. package/lib/node/{block-styles-IyYaHu8-.js → block-styles-mmmG5Zvb.js} +1 -1
  39. package/lib/node/{block-wrapper-WZ-DIDkP.js → block-wrapper-6FrZVnI8.js} +3 -3
  40. package/lib/node/{block-wrapper-qYoYSONc.cjs → block-wrapper-hK9iEXhq.cjs} +1 -1
  41. package/lib/node/{component-ref-_kyf_si2.js → component-ref-u2wfD4PU.js} +3 -3
  42. package/lib/node/{component-ref-5hL2pob8.cjs → component-ref-yN1A7uFk.cjs} +1 -1
  43. package/lib/node/constants/sdk-version.d.ts +1 -1
  44. package/lib/node/{get-block-properties-9J6zqRJY.cjs → get-block-properties-EkNcjp0K.cjs} +1 -1
  45. package/lib/node/{get-block-properties-OXHPbXLH.js → get-block-properties-QhUhlrxy.js} +1 -1
  46. package/lib/node/{index-NtAkrth1.cjs → index-EBQK2Vx-.cjs} +25 -25
  47. package/lib/node/{index-Cxf2YzmY.js → index-GJHkrBmN.js} +553 -547
  48. package/lib/node/index.cjs +1 -1
  49. package/lib/node/index.mjs +1 -1
  50. package/lib/node/{repeated-block-vtGXbgev.js → repeated-block-h-cU9AMQ.js} +2 -2
  51. package/lib/{edge/repeated-block-7ZbJaVOi.cjs → node/repeated-block-z6QgHzWM.cjs} +1 -1
  52. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
1
  import "./style.css";
2
- import { defineComponent as b, openBlock as c, createElementBlock as p, Fragment as T, createBlock as y, resolveDynamicComponent as j, mergeProps as C, toHandlers as x, withCtx as N, renderSlot as A, resolveComponent as k, createTextVNode as ht, toDisplayString as ee, defineAsyncComponent as H, createVNode as R, renderList as V, createCommentVNode as v, h as Be, createElementVNode as q, normalizeStyle as F, normalizeClass as z, markRaw as ft } from "vue";
3
- const bt = /* @__PURE__ */ new Set(["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen", "link", "meta", "param", "source", "track", "wbr"]), gt = (e) => typeof e == "string" && bt.has(e.toLowerCase());
2
+ import { defineComponent as b, openBlock as c, createElementBlock as p, Fragment as T, createBlock as y, resolveDynamicComponent as j, mergeProps as C, toHandlers as x, withCtx as N, renderSlot as A, resolveComponent as k, createTextVNode as bt, toDisplayString as te, defineAsyncComponent as H, createVNode as R, renderList as V, createCommentVNode as v, h as Ae, createElementVNode as q, normalizeStyle as F, normalizeClass as z, markRaw as gt } from "vue";
3
+ const yt = /* @__PURE__ */ new Set(["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen", "link", "meta", "param", "source", "track", "wbr"]), kt = (e) => typeof e == "string" && yt.has(e.toLowerCase());
4
4
  function W(e = {}, t, n) {
5
5
  const o = {};
6
6
  for (const r in e) {
@@ -11,11 +11,11 @@ function W(e = {}, t, n) {
11
11
  }
12
12
  return o;
13
13
  }
14
- const yt = b({
14
+ const vt = b({
15
15
  name: "dynamic-renderer",
16
16
  props: ["TagName", "attributes", "actionAttributes"],
17
17
  data() {
18
- return { isEmptyElement: gt };
18
+ return { isEmptyElement: kt };
19
19
  }
20
20
  }), g = (e, t) => {
21
21
  const n = e.__vccOpts || e;
@@ -23,7 +23,7 @@ const yt = b({
23
23
  n[o] = r;
24
24
  return n;
25
25
  };
26
- function kt(e, t, n, o, r, i) {
26
+ function St(e, t, n, o, r, i) {
27
27
  return e.isEmptyElement(e.TagName) ? (c(), y(j(e.TagName), C({ key: 1 }, e.attributes, x(e.actionAttributes)), null, 16)) : (c(), p(T, { key: 0 }, [
28
28
  typeof e.TagName == "string" ? (c(), y(j(e.TagName), C({ key: 0 }, e.attributes, x(e.actionAttributes)), {
29
29
  default: N(() => [
@@ -38,10 +38,10 @@ function kt(e, t, n, o, r, i) {
38
38
  }, 16))
39
39
  ], 64));
40
40
  }
41
- const de = /* @__PURE__ */ g(yt, [["render", kt]]), Vi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
41
+ const pe = /* @__PURE__ */ g(vt, [["render", St]]), Ni = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
42
42
  __proto__: null,
43
- default: de
44
- }, Symbol.toStringTag, { value: "Module" })), P = "vue", Z = () => {
43
+ default: pe
44
+ }, Symbol.toStringTag, { value: "Module" })), P = "vue", _ = () => {
45
45
  switch (P) {
46
46
  case "react":
47
47
  case "reactNative":
@@ -54,9 +54,9 @@ const de = /* @__PURE__ */ g(yt, [["render", kt]]), Vi = /* @__PURE__ */ Object.
54
54
  case "angular":
55
55
  return "class";
56
56
  }
57
- }, vt = b({
57
+ }, Ct = b({
58
58
  name: "builder-button",
59
- components: { DynamicRenderer: de },
59
+ components: { DynamicRenderer: pe },
60
60
  props: [
61
61
  "attributes",
62
62
  "link",
@@ -71,7 +71,7 @@ const de = /* @__PURE__ */ g(yt, [["render", kt]]), Vi = /* @__PURE__ */ Object.
71
71
  attrs() {
72
72
  return {
73
73
  ...W(this.attributes, "v-on:", !1),
74
- [Z()]: `${this.link ? "" : "builder-button"} ${this.attributes[Z()] || ""}`,
74
+ [_()]: `${this.link ? "" : "builder-button"} ${this.attributes[_()] || ""}`,
75
75
  ...this.link ? {
76
76
  href: this.link,
77
77
  target: this.openLinkInNewTab ? "_blank" : void 0,
@@ -83,7 +83,7 @@ const de = /* @__PURE__ */ g(yt, [["render", kt]]), Vi = /* @__PURE__ */ Object.
83
83
  }
84
84
  }
85
85
  });
86
- function St(e, t, n, o, r, i) {
86
+ function wt(e, t, n, o, r, i) {
87
87
  const s = k("DynamicRenderer");
88
88
  return c(), y(s, {
89
89
  attributes: e.attrs(),
@@ -91,12 +91,12 @@ function St(e, t, n, o, r, i) {
91
91
  actionAttributes: e.filterAttrs(e.attributes, "v-on:", !0)
92
92
  }, {
93
93
  default: N(() => [
94
- ht(ee(e.text), 1)
94
+ bt(te(e.text), 1)
95
95
  ]),
96
96
  _: 1
97
97
  }, 8, ["attributes", "TagName", "actionAttributes"]);
98
98
  }
99
- const Ct = /* @__PURE__ */ g(vt, [["render", St]]), wt = Symbol(), se = {
99
+ const Tt = /* @__PURE__ */ g(Ct, [["render", wt]]), It = Symbol(), le = {
100
100
  Builder: {
101
101
  content: null,
102
102
  context: {},
@@ -112,57 +112,57 @@ const Ct = /* @__PURE__ */ g(vt, [["render", St]]), wt = Symbol(), se = {
112
112
  BlocksWrapperProps: {},
113
113
  nonce: ""
114
114
  },
115
- key: wt
116
- }, Tt = Symbol(), xe = {
115
+ key: It
116
+ }, $t = Symbol(), Ve = {
117
117
  Components: { registeredComponents: {} },
118
- key: Tt
118
+ key: $t
119
119
  };
120
- function It(e) {
120
+ function Rt(e) {
121
121
  var t;
122
122
  return {
123
123
  ...(t = e.component) == null ? void 0 : t.options,
124
124
  ...e.options
125
125
  };
126
126
  }
127
- function $t(e, ...t) {
127
+ function Et(e, ...t) {
128
128
  const n = Object.assign({}, e);
129
129
  for (const o of t)
130
130
  delete n[o];
131
131
  return n;
132
132
  }
133
- const X = "[Builder.io]: ", E = {
134
- log: (...e) => console.log(X, ...e),
135
- error: (...e) => console.error(X, ...e),
136
- warn: (...e) => console.warn(X, ...e),
137
- debug: (...e) => console.debug(X, ...e)
138
- }, Ae = (e, t, n) => {
133
+ const Q = "[Builder.io]: ", E = {
134
+ log: (...e) => console.log(Q, ...e),
135
+ error: (...e) => console.error(Q, ...e),
136
+ warn: (...e) => console.warn(Q, ...e),
137
+ debug: (...e) => console.debug(Q, ...e)
138
+ }, We = (e, t, n) => {
139
139
  const o = String.prototype.split.call(t, /[,[\].]+?/).filter(Boolean).reduce((r, i) => r != null ? r[i] : r, e);
140
140
  return o === void 0 || o === e ? n : o;
141
141
  };
142
142
  function $() {
143
143
  return typeof window < "u" && typeof document < "u";
144
144
  }
145
- const Rt = (e) => {
145
+ const Pt = (e) => {
146
146
  const t = {};
147
147
  return e.forEach((n, o) => {
148
148
  t[o] = n;
149
149
  }), t;
150
- }, Ve = (e) => e instanceof URLSearchParams ? Rt(e) : e, We = (e) => typeof e == "string" ? e : e instanceof URLSearchParams ? e.toString() : new URLSearchParams(e).toString();
151
- function Et() {
150
+ }, Ne = (e) => e instanceof URLSearchParams ? Pt(e) : e, Oe = (e) => typeof e == "string" ? e : e instanceof URLSearchParams ? e.toString() : new URLSearchParams(e).toString();
151
+ function Bt() {
152
152
  return $() && window.self !== window.top;
153
153
  }
154
154
  function B(e) {
155
- return Et() && // accessing window.location.search is safe here because `isIframe()` is only `true` if we're in a browser.
156
- We(e || window.location.search).indexOf("builder.frameEditing=") !== -1;
155
+ return Bt() && // accessing window.location.search is safe here because `isIframe()` is only `true` if we're in a browser.
156
+ Oe(e || window.location.search).indexOf("builder.frameEditing=") !== -1;
157
157
  }
158
- const Pt = () => {
158
+ const xt = () => {
159
159
  if ($()) {
160
160
  const e = new URL(location.href);
161
161
  return e.pathname === "" && (e.pathname = "/"), e;
162
162
  } else
163
163
  return console.warn("Cannot get location for tracking in non-browser environment"), null;
164
- }, Bt = () => typeof navigator == "object" && navigator.userAgent || "", Ne = () => {
165
- const e = Bt(), t = {
164
+ }, At = () => typeof navigator == "object" && navigator.userAgent || "", Fe = () => {
165
+ const e = At(), t = {
166
166
  Android() {
167
167
  return e.match(/Android/i);
168
168
  },
@@ -181,13 +181,13 @@ const Pt = () => {
181
181
  any() {
182
182
  return t.Android() || t.BlackBerry() || t.iOS() || t.Opera() || t.Windows() || P === "reactNative";
183
183
  }
184
- }, n = e.match(/Tablet|iPad/i), o = Pt();
184
+ }, n = e.match(/Tablet|iPad/i), o = xt();
185
185
  return {
186
186
  urlPath: o == null ? void 0 : o.pathname,
187
187
  host: (o == null ? void 0 : o.host) || (o == null ? void 0 : o.hostname),
188
188
  device: n ? "tablet" : t.any() ? "mobile" : "desktop"
189
189
  };
190
- }, xt = ({
190
+ }, Vt = ({
191
191
  builder: e,
192
192
  context: t,
193
193
  event: n,
@@ -199,15 +199,15 @@ const Pt = () => {
199
199
  builder: e,
200
200
  context: t,
201
201
  event: n
202
- }), At = () => ({
202
+ }), Wt = () => ({
203
203
  isEditing: B(),
204
204
  isBrowser: $(),
205
205
  isServer: !$(),
206
- getUserAttributes: () => Ne()
207
- }), Vt = (e, {
206
+ getUserAttributes: () => Fe()
207
+ }), Nt = (e, {
208
208
  isExpression: t = !0
209
209
  }) => /* 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;
210
- function Oe({
210
+ function De({
211
211
  rootState: e,
212
212
  localState: t,
213
213
  rootSetState: n
@@ -217,7 +217,7 @@ function Oe({
217
217
  if (t && r in t)
218
218
  return t[r];
219
219
  const i = o[r];
220
- return typeof i == "object" && i !== null ? Oe({
220
+ return typeof i == "object" && i !== null ? De({
221
221
  rootState: i,
222
222
  localState: void 0,
223
223
  rootSetState: n ? (s) => {
@@ -232,7 +232,7 @@ function Oe({
232
232
  }
233
233
  });
234
234
  }
235
- const ve = ({
235
+ const Ce = ({
236
236
  code: e,
237
237
  builder: t,
238
238
  context: n,
@@ -241,11 +241,11 @@ const ve = ({
241
241
  rootSetState: i,
242
242
  rootState: s
243
243
  }) => {
244
- const l = xt({
244
+ const l = Vt({
245
245
  builder: t,
246
246
  context: n,
247
247
  event: o,
248
- state: Oe({
248
+ state: De({
249
249
  rootState: s,
250
250
  localState: r,
251
251
  rootSetState: i
@@ -253,23 +253,23 @@ const ve = ({
253
253
  });
254
254
  return new Function(...l.map(([a]) => a), e)(...l.map(([, a]) => a));
255
255
  }, D = (e) => e != null;
256
- function Wt() {
256
+ function Ot() {
257
257
  var e;
258
258
  return typeof process < "u" && D((e = process == null ? void 0 : process.versions) == null ? void 0 : e.node);
259
259
  }
260
- const Nt = ({
260
+ const Ft = ({
261
261
  shouldLogWarning: e
262
262
  }) => {
263
263
  var r;
264
- if (!Wt())
264
+ if (!Ot())
265
265
  return !1;
266
266
  const t = process.arch === "arm64", n = process.version.startsWith("v20"), o = (r = process.env.NODE_OPTIONS) == null ? void 0 : r.includes("--no-node-snapshot");
267
267
  return t && n && !o ? (e && E.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;
268
- }, Ot = (e) => ($() || Nt({
268
+ }, Dt = (e) => ($() || Ft({
269
269
  shouldLogWarning: !0
270
- }), ve(e)), Ft = /^(return )?(\s*)?state(?<getPath>(\.\w+)+)(\s*);?$/, Dt = /(\s)*var(\s)+_virtual_index(\s)*=(\s)*state(?<getPath>(\.\w+)+)(\s*);?(\s)*return(\s)*_virtual_index(\s)*/, Lt = (e) => {
270
+ }), Ce(e)), Lt = /^(return )?(\s*)?state(?<getPath>(\.\w+)+)(\s*);?$/, Ut = /(\s)*var(\s)+_virtual_index(\s)*=(\s)*state(?<getPath>(\.\w+)+)(\s*);?(\s)*return(\s)*_virtual_index(\s)*/, Mt = (e) => {
271
271
  var t, n, o, r, i, s;
272
- return ((o = (n = (t = Ft.exec(e.trim())) == null ? void 0 : t.groups) == null ? void 0 : n.getPath) == null ? void 0 : o.slice(1)) || ((s = (i = (r = Dt.exec(e.trim())) == null ? void 0 : r.groups) == null ? void 0 : i.getPath) == null ? void 0 : s.slice(1));
272
+ return ((o = (n = (t = Lt.exec(e.trim())) == null ? void 0 : t.groups) == null ? void 0 : n.getPath) == null ? void 0 : o.slice(1)) || ((s = (i = (r = Ut.exec(e.trim())) == null ? void 0 : r.groups) == null ? void 0 : i.getPath) == null ? void 0 : s.slice(1));
273
273
  };
274
274
  function J({
275
275
  code: e,
@@ -282,17 +282,17 @@ function J({
282
282
  }) {
283
283
  if (e.trim() === "")
284
284
  return;
285
- const l = Lt(e.trim());
285
+ const l = Mt(e.trim());
286
286
  if (l)
287
- return Ae({
287
+ return We({
288
288
  ...o,
289
289
  ...n
290
290
  }, l);
291
291
  const a = {
292
- code: Vt(e, {
292
+ code: Nt(e, {
293
293
  isExpression: s
294
294
  }),
295
- builder: At(),
295
+ builder: Wt(),
296
296
  context: t,
297
297
  event: i,
298
298
  rootSetState: r,
@@ -300,7 +300,7 @@ function J({
300
300
  localState: n
301
301
  };
302
302
  try {
303
- return Ot(a);
303
+ return Dt(a);
304
304
  } catch (u) {
305
305
  E.error("Failed code evaluation: " + u.message, {
306
306
  code: e
@@ -308,27 +308,27 @@ function J({
308
308
  return;
309
309
  }
310
310
  }
311
- const ue = (e) => JSON.parse(JSON.stringify(e)), Fe = (e, t, n) => {
311
+ const me = (e) => JSON.parse(JSON.stringify(e)), Le = (e, t, n) => {
312
312
  if (Object(e) !== e)
313
313
  return e;
314
314
  const o = Array.isArray(t) ? t : t.toString().match(/[^.[\]]+/g);
315
315
  return o.slice(0, -1).reduce((r, i, s) => Object(r[i]) === r[i] ? r[i] : r[i] = Math.abs(Number(o[s + 1])) >> 0 === +o[s + 1] ? [] : {}, e)[o[o.length - 1]] = n, e;
316
316
  };
317
- function ae(e) {
317
+ function ce(e) {
318
318
  if (e === null || typeof e != "object")
319
319
  return e;
320
320
  if (Array.isArray(e))
321
- return e.map((n) => ae(n));
321
+ return e.map((n) => ce(n));
322
322
  if (e["@type"] === "@builder.io/sdk:Element")
323
323
  return e;
324
324
  const t = {};
325
325
  for (const n in e)
326
- n !== "meta" && Object.prototype.hasOwnProperty.call(e, n) && (t[n] = ae(e[n]));
326
+ n !== "meta" && Object.prototype.hasOwnProperty.call(e, n) && (t[n] = ce(e[n]));
327
327
  return t;
328
328
  }
329
- const Ut = ["svelte", "vue", "angular", "qwik", "solid"].includes(P), Mt = (e) => {
330
- if (Ut) {
331
- const t = ue(e);
329
+ const Ht = ["svelte", "vue", "angular", "qwik", "solid"].includes(P), jt = (e) => {
330
+ if (Ht) {
331
+ const t = me(e);
332
332
  return {
333
333
  ...t,
334
334
  properties: {
@@ -339,7 +339,7 @@ const Ut = ["svelte", "vue", "angular", "qwik", "solid"].includes(P), Mt = (e) =
339
339
  }
340
340
  };
341
341
  } else {
342
- const t = ae($t(e, "children", "meta"));
342
+ const t = ce(Et(e, "children", "meta"));
343
343
  return {
344
344
  ...t,
345
345
  properties: {
@@ -352,7 +352,7 @@ const Ut = ["svelte", "vue", "angular", "qwik", "solid"].includes(P), Mt = (e) =
352
352
  meta: e.meta
353
353
  };
354
354
  }
355
- }, Ht = ({
355
+ }, Kt = ({
356
356
  block: e,
357
357
  context: t,
358
358
  localState: n,
@@ -361,7 +361,7 @@ const Ut = ["svelte", "vue", "angular", "qwik", "solid"].includes(P), Mt = (e) =
361
361
  }) => {
362
362
  if (!e.bindings)
363
363
  return e;
364
- const i = Mt(e);
364
+ const i = jt(e);
365
365
  for (const s in e.bindings) {
366
366
  const l = e.bindings[s], a = J({
367
367
  code: l,
@@ -370,11 +370,11 @@ const Ut = ["svelte", "vue", "angular", "qwik", "solid"].includes(P), Mt = (e) =
370
370
  rootSetState: r,
371
371
  context: t
372
372
  });
373
- Fe(i, s, a);
373
+ Le(i, s, a);
374
374
  }
375
375
  return i;
376
376
  };
377
- function jt({
377
+ function qt({
378
378
  block: e,
379
379
  context: t,
380
380
  shouldEvaluateBindings: n,
@@ -383,7 +383,7 @@ function jt({
383
383
  rootSetState: i
384
384
  }) {
385
385
  const s = e;
386
- return n ? Ht({
386
+ return n ? Kt({
387
387
  block: s,
388
388
  localState: o,
389
389
  rootState: r,
@@ -391,25 +391,25 @@ function jt({
391
391
  context: t
392
392
  }) : s;
393
393
  }
394
- function Kt(e) {
394
+ function zt(e) {
395
395
  const t = e || ($() ? window.location.search : void 0);
396
- return t ? We(t).indexOf("builder.preview=") !== -1 : !1;
396
+ return t ? Oe(t).indexOf("builder.preview=") !== -1 : !1;
397
397
  }
398
- const qt = (e) => ({
398
+ const Gt = (e) => ({
399
399
  type: "builder.registerComponent",
400
- data: _(e)
401
- }), zt = (e) => {
402
- const t = e.toString().trim();
403
- return `return (${!t.startsWith("function") && !t.startsWith("(") ? "function " : ""}${t}).apply(this, arguments)`;
400
+ data: ee(e)
401
+ }), Jt = (e) => {
402
+ const t = e.toString().trim(), n = /^[a-zA-Z0-9_]+\s*=>/i.test(t);
403
+ return `return (${!t.startsWith("function") && !t.startsWith("(") && !n ? "function " : ""}${t}).apply(this, arguments)`;
404
404
  };
405
- function _(e) {
406
- return JSON.parse(JSON.stringify(e, (t, n) => typeof n == "function" ? zt(n) : n));
405
+ function ee(e) {
406
+ return JSON.parse(JSON.stringify(e, (t, n) => typeof n == "function" ? Jt(n) : n));
407
407
  }
408
- const Se = {};
409
- function Gt(e, t) {
410
- e === "plugin" && (t = _(t));
411
- let n = Se[e];
412
- if (n || (n = Se[e] = []), n.push(t), $()) {
408
+ const we = {};
409
+ function Yt(e, t) {
410
+ e === "plugin" && (t = ee(t));
411
+ let n = we[e];
412
+ if (n || (n = we[e] = []), n.push(t), $()) {
413
413
  const o = {
414
414
  type: "builder.register",
415
415
  data: {
@@ -424,42 +424,42 @@ function Gt(e, t) {
424
424
  }
425
425
  }
426
426
  }
427
- const Ce = {};
428
- function Wi(e) {
427
+ const Te = {};
428
+ function Oi(e) {
429
429
  if ($()) {
430
- Object.assign(Ce, e);
430
+ Object.assign(Te, e);
431
431
  const t = {
432
432
  type: "builder.settingsChange",
433
- data: Ce
433
+ data: Te
434
434
  };
435
435
  parent.postMessage(t, "*");
436
436
  }
437
437
  }
438
- const we = "builder.", Jt = "options.", De = (e) => {
438
+ const Ie = "builder.", Xt = "options.", Ue = (e) => {
439
439
  if (!e)
440
440
  return {};
441
- const t = Ve(e), n = {};
441
+ const t = Ne(e), n = {};
442
442
  return Object.keys(t).forEach((o) => {
443
- if (o.startsWith(we)) {
444
- const r = o.replace(we, "").replace(Jt, "");
443
+ if (o.startsWith(Ie)) {
444
+ const r = o.replace(Ie, "").replace(Xt, "");
445
445
  n[r] = t[o];
446
446
  }
447
447
  }), n;
448
- }, Yt = () => {
448
+ }, Qt = () => {
449
449
  if (!$())
450
450
  return {};
451
451
  const e = new URLSearchParams(window.location.search);
452
- return De(e);
453
- }, Le = "2.0.30", Ue = () => ({
452
+ return Ue(e);
453
+ }, Me = "2.0.31", He = () => ({
454
454
  "X-Builder-SDK": P,
455
455
  "X-Builder-SDK-GEN": "2",
456
- "X-Builder-SDK-Version": Le
457
- }), Xt = (e) => {
456
+ "X-Builder-SDK-Version": Me
457
+ }), Zt = (e) => {
458
458
  if (e === "localhost" || e === "127.0.0.1")
459
459
  return e;
460
460
  const t = e.split(".");
461
461
  return t.length > 2 ? t.slice(1).join(".") : e;
462
- }, Me = ({
462
+ }, je = ({
463
463
  name: e,
464
464
  canTrack: t
465
465
  }) => {
@@ -470,14 +470,14 @@ const we = "builder.", Jt = "options.", De = (e) => {
470
470
  E.warn("[COOKIE] GET error: ", (o == null ? void 0 : o.message) || o);
471
471
  return;
472
472
  }
473
- }, He = async (e) => Me(e), Qt = (e) => e.map(([t, n]) => n ? `${t}=${n}` : t).filter(D).join("; "), Zt = [["secure", ""], ["SameSite", "None"]], _t = ({
473
+ }, Ke = async (e) => je(e), _t = (e) => e.map(([t, n]) => n ? `${t}=${n}` : t).filter(D).join("; "), en = [["secure", ""], ["SameSite", "None"]], tn = ({
474
474
  name: e,
475
475
  value: t,
476
476
  expires: n
477
477
  }) => {
478
- const r = ($() ? location.protocol === "https:" : !0) ? Zt : [[]], i = n ? [["expires", n.toUTCString()]] : [[]], s = [[e, t], ...i, ["path", "/"], ["domain", Xt(window.location.hostname)], ...r];
479
- return Qt(s);
480
- }, je = async ({
478
+ const r = ($() ? location.protocol === "https:" : !0) ? en : [[]], i = n ? [["expires", n.toUTCString()]] : [[]], s = [[e, t], ...i, ["path", "/"], ["domain", Zt(window.location.hostname)], ...r];
479
+ return _t(s);
480
+ }, qe = async ({
481
481
  name: e,
482
482
  value: t,
483
483
  expires: n,
@@ -486,7 +486,7 @@ const we = "builder.", Jt = "options.", De = (e) => {
486
486
  try {
487
487
  if (!o)
488
488
  return;
489
- const r = _t({
489
+ const r = tn({
490
490
  name: e,
491
491
  value: t,
492
492
  expires: n
@@ -496,93 +496,93 @@ const we = "builder.", Jt = "options.", De = (e) => {
496
496
  E.warn("[COOKIE] SET error: ", (r == null ? void 0 : r.message) || r);
497
497
  }
498
498
  };
499
- function en() {
499
+ function nn() {
500
500
  return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, function(e) {
501
501
  const t = Math.random() * 16 | 0;
502
502
  return (e == "x" ? t : t & 3 | 8).toString(16);
503
503
  });
504
504
  }
505
- function Ke() {
506
- return en().replace(/-/g, "");
505
+ function ze() {
506
+ return nn().replace(/-/g, "");
507
507
  }
508
- const qe = "builderSessionId", tn = async ({
508
+ const Ge = "builderSessionId", on = async ({
509
509
  canTrack: e
510
510
  }) => {
511
511
  if (!e)
512
512
  return;
513
- const t = await He({
514
- name: qe,
513
+ const t = await Ke({
514
+ name: Ge,
515
515
  canTrack: e
516
516
  });
517
517
  if (D(t))
518
518
  return t;
519
519
  {
520
- const n = nn();
521
- return on({
520
+ const n = rn();
521
+ return sn({
522
522
  id: n,
523
523
  canTrack: e
524
524
  }), n;
525
525
  }
526
- }, nn = () => Ke(), on = ({
526
+ }, rn = () => ze(), sn = ({
527
527
  id: e,
528
528
  canTrack: t
529
- }) => je({
530
- name: qe,
529
+ }) => qe({
530
+ name: Ge,
531
531
  value: e,
532
532
  canTrack: t
533
- }), ze = () => $() && typeof localStorage < "u" ? localStorage : void 0, rn = ({
533
+ }), Je = () => $() && typeof localStorage < "u" ? localStorage : void 0, an = ({
534
534
  key: e,
535
535
  canTrack: t
536
536
  }) => {
537
537
  var n;
538
538
  try {
539
- return t ? (n = ze()) == null ? void 0 : n.getItem(e) : void 0;
539
+ return t ? (n = Je()) == null ? void 0 : n.getItem(e) : void 0;
540
540
  } catch (o) {
541
541
  console.debug("[LocalStorage] GET error: ", o);
542
542
  return;
543
543
  }
544
- }, sn = ({
544
+ }, ln = ({
545
545
  key: e,
546
546
  canTrack: t,
547
547
  value: n
548
548
  }) => {
549
549
  var o;
550
550
  try {
551
- t && ((o = ze()) == null || o.setItem(e, n));
551
+ t && ((o = Je()) == null || o.setItem(e, n));
552
552
  } catch (r) {
553
553
  console.debug("[LocalStorage] SET error: ", r);
554
554
  }
555
- }, Ge = "builderVisitorId", an = ({
555
+ }, Ye = "builderVisitorId", cn = ({
556
556
  canTrack: e
557
557
  }) => {
558
558
  if (!e)
559
559
  return;
560
- const t = rn({
561
- key: Ge,
560
+ const t = an({
561
+ key: Ye,
562
562
  canTrack: e
563
563
  });
564
564
  if (D(t))
565
565
  return t;
566
566
  {
567
- const n = ln();
568
- return cn({
567
+ const n = dn();
568
+ return un({
569
569
  id: n,
570
570
  canTrack: e
571
571
  }), n;
572
572
  }
573
- }, ln = () => Ke(), cn = ({
573
+ }, dn = () => ze(), un = ({
574
574
  id: e,
575
575
  canTrack: t
576
- }) => sn({
577
- key: Ge,
576
+ }) => ln({
577
+ key: Ye,
578
578
  value: e,
579
579
  canTrack: t
580
580
  });
581
- function pe(e) {
581
+ function he(e) {
582
582
  var t;
583
583
  typeof process < "u" && ((t = process.env) != null && t.DEBUG) && String(process.env.DEBUG) == "true" && E.log(e);
584
584
  }
585
- const dn = async ({
585
+ const pn = async ({
586
586
  canTrack: e
587
587
  }) => {
588
588
  if (!e)
@@ -590,16 +590,16 @@ const dn = async ({
590
590
  visitorId: void 0,
591
591
  sessionId: void 0
592
592
  };
593
- const t = await tn({
593
+ const t = await on({
594
594
  canTrack: e
595
- }), n = an({
595
+ }), n = cn({
596
596
  canTrack: e
597
597
  });
598
598
  return {
599
599
  sessionId: t,
600
600
  visitorId: n
601
601
  };
602
- }, un = async ({
602
+ }, mn = async ({
603
603
  type: e,
604
604
  canTrack: t,
605
605
  apiKey: n,
@@ -613,14 +613,14 @@ const dn = async ({
613
613
  url: location.href,
614
614
  ...o
615
615
  },
616
- ...await dn({
616
+ ...await pn({
617
617
  canTrack: t
618
618
  }),
619
- userAttributes: Ne(),
619
+ userAttributes: Fe(),
620
620
  ownerId: n
621
621
  }
622
622
  });
623
- async function le({
623
+ async function de({
624
624
  apiHost: e,
625
625
  ...t
626
626
  }) {
@@ -631,32 +631,32 @@ async function le({
631
631
  if (!t.canTrack || B() || !($() || P === "reactNative"))
632
632
  return;
633
633
  const o = `${e || "https://cdn.builder.io"}/api/v1/track`;
634
- return pe(o), fetch(o, {
634
+ return he(o), fetch(o, {
635
635
  method: "POST",
636
636
  body: JSON.stringify({
637
- events: [await un(t)]
637
+ events: [await mn(t)]
638
638
  }),
639
639
  headers: {
640
640
  "content-type": "application/json",
641
- ...Ue()
641
+ ...He()
642
642
  },
643
643
  mode: "cors"
644
644
  }).catch((r) => {
645
645
  console.error("Failed to track: ", r);
646
646
  });
647
647
  }
648
- const Ni = (e) => le({
648
+ const Fi = (e) => de({
649
649
  ...e,
650
650
  canTrack: !0
651
- }), pn = ["*.beta.builder.io", "beta.builder.io", "builder.io", "localhost", "qa.builder.io"];
652
- function Je(e, t) {
651
+ }), hn = ["*.beta.builder.io", "beta.builder.io", "builder.io", "localhost", "qa.builder.io"];
652
+ function Xe(e, t) {
653
653
  if (!t.origin.startsWith("http") && !t.origin.startsWith("https"))
654
654
  return !1;
655
655
  const n = new URL(t.origin), o = n.hostname;
656
- return (e || pn).findIndex((r) => r.startsWith("*.") ? o.endsWith(r.slice(1)) : r === o) > -1;
656
+ return (e || hn).findIndex((r) => r.startsWith("*.") ? o.endsWith(r.slice(1)) : r === o) > -1;
657
657
  }
658
- const mn = () => {
659
- Gt("insertMenu", {
658
+ const fn = () => {
659
+ Yt("insertMenu", {
660
660
  name: "_default",
661
661
  default: !0,
662
662
  items: [{
@@ -678,14 +678,14 @@ const mn = () => {
678
678
  }]
679
679
  });
680
680
  };
681
- let Te = !1;
682
- const Ye = (e = {}) => {
681
+ let $e = !1;
682
+ const Qe = (e = {}) => {
683
683
  var t, n;
684
- Te || (Te = !0, $() && ((t = window.parent) == null || t.postMessage({
684
+ $e || ($e = !0, $() && ((t = window.parent) == null || t.postMessage({
685
685
  type: "builder.sdkInfo",
686
686
  data: {
687
687
  target: P,
688
- version: Le,
688
+ version: Me,
689
689
  supportsPatchUpdates: !1,
690
690
  // Supports builder-model="..." attribute which is needed to
691
691
  // scope our '+ add block' button styling
@@ -699,7 +699,7 @@ const Ye = (e = {}) => {
699
699
  }
700
700
  }, "*"), window.addEventListener("message", (o) => {
701
701
  var i, s;
702
- if (!Je(e.trustedHosts, o))
702
+ if (!Xe(e.trustedHosts, o))
703
703
  return;
704
704
  const {
705
705
  data: r
@@ -740,12 +740,12 @@ const Ye = (e = {}) => {
740
740
  }
741
741
  }
742
742
  })));
743
- }, Xe = ({
743
+ }, Ze = ({
744
744
  model: e,
745
745
  trustedHosts: t,
746
746
  callbacks: n
747
747
  }) => (o) => {
748
- if (!Je(t, o))
748
+ if (!Xe(t, o))
749
749
  return;
750
750
  const {
751
751
  data: r
@@ -766,12 +766,12 @@ const Ye = (e = {}) => {
766
766
  break;
767
767
  }
768
768
  }
769
- }, Oi = (e, t, n) => {
769
+ }, Di = (e, t, n) => {
770
770
  if (!$)
771
771
  return E.warn("`subscribeToEditor` only works in the browser. It currently seems to be running on the server."), () => {
772
772
  };
773
- Ye();
774
- const o = Xe({
773
+ Qe();
774
+ const o = Ze({
775
775
  callbacks: {
776
776
  contentUpdate: t,
777
777
  animation: () => {
@@ -785,24 +785,24 @@ const Ye = (e = {}) => {
785
785
  return window.addEventListener("message", o), () => {
786
786
  window.removeEventListener("message", o);
787
787
  };
788
- }, hn = "builder.tests", me = (e) => `${hn}.${e}`, fn = ({
788
+ }, bn = "builder.tests", fe = (e) => `${bn}.${e}`, gn = ({
789
789
  contentId: e
790
- }) => He({
791
- name: me(e),
790
+ }) => Ke({
791
+ name: fe(e),
792
792
  canTrack: !0
793
- }), bn = ({
793
+ }), yn = ({
794
794
  contentId: e
795
- }) => Me({
796
- name: me(e),
795
+ }) => je({
796
+ name: fe(e),
797
797
  canTrack: !0
798
- }), gn = ({
798
+ }), kn = ({
799
799
  contentId: e,
800
800
  value: t
801
- }) => je({
802
- name: me(e),
801
+ }) => qe({
802
+ name: fe(e),
803
803
  value: t,
804
804
  canTrack: !0
805
- }), Qe = (e) => D(e.id) && D(e.variations) && Object.keys(e.variations).length > 0, yn = ({
805
+ }), _e = (e) => D(e.id) && D(e.variations) && Object.keys(e.variations).length > 0, vn = ({
806
806
  id: e,
807
807
  variations: t
808
808
  }) => {
@@ -815,15 +815,15 @@ const Ye = (e = {}) => {
815
815
  return i;
816
816
  }
817
817
  return e;
818
- }, Ze = (e) => {
819
- const t = yn(e);
820
- return gn({
818
+ }, et = (e) => {
819
+ const t = vn(e);
820
+ return kn({
821
821
  contentId: e.id,
822
822
  value: t
823
823
  }).catch((n) => {
824
824
  E.error("could not store A/B test variation: ", n);
825
825
  }), t;
826
- }, _e = ({
826
+ }, tt = ({
827
827
  item: e,
828
828
  testGroupId: t
829
829
  }) => {
@@ -837,7 +837,7 @@ const Ye = (e = {}) => {
837
837
  testVariationId: n.id,
838
838
  testVariationName: n.name || (n.id === e.id ? "Default" : "")
839
839
  };
840
- }, kn = ({
840
+ }, Sn = ({
841
841
  item: e,
842
842
  canTrack: t
843
843
  }) => {
@@ -845,14 +845,14 @@ const Ye = (e = {}) => {
845
845
  return e;
846
846
  if (!e)
847
847
  return;
848
- if (!Qe(e))
848
+ if (!_e(e))
849
849
  return e;
850
- const n = bn({
850
+ const n = yn({
851
851
  contentId: e.id
852
- }) || Ze({
852
+ }) || et({
853
853
  variations: e.variations,
854
854
  id: e.id
855
- }), o = _e({
855
+ }), o = tt({
856
856
  item: e,
857
857
  testGroupId: n
858
858
  });
@@ -860,18 +860,18 @@ const Ye = (e = {}) => {
860
860
  ...e,
861
861
  ...o
862
862
  };
863
- }, vn = async ({
863
+ }, Cn = async ({
864
864
  item: e,
865
865
  canTrack: t
866
866
  }) => {
867
- if (!t || !Qe(e))
867
+ if (!t || !_e(e))
868
868
  return e;
869
- const o = await fn({
869
+ const o = await gn({
870
870
  contentId: e.id
871
- }) || Ze({
871
+ }) || et({
872
872
  variations: e.variations,
873
873
  id: e.id
874
- }), r = _e({
874
+ }), r = tt({
875
875
  item: e,
876
876
  testGroupId: o
877
877
  });
@@ -880,37 +880,37 @@ const Ye = (e = {}) => {
880
880
  ...r
881
881
  };
882
882
  }, G = (e) => D(e) ? e : !0;
883
- function Sn() {
883
+ function wn() {
884
884
  return typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : globalThis;
885
885
  }
886
- function Cn() {
887
- const e = Sn().fetch;
886
+ function Tn() {
887
+ const e = wn().fetch;
888
888
  if (typeof e > "u")
889
889
  throw console.warn(`Builder SDK could not find a global fetch function. Make sure you have a polyfill for fetch in your project.
890
890
  For more information, read https://github.com/BuilderIO/this-package-uses-fetch`), new Error("Builder SDK could not find a global `fetch` function");
891
891
  return e;
892
892
  }
893
- const wn = Cn();
894
- function ce(e, t = null, n = ".") {
893
+ const In = Tn();
894
+ function ue(e, t = null, n = ".") {
895
895
  return Object.keys(e).reduce((o, r) => {
896
896
  const i = e[r], s = [t, r].filter(Boolean).join(n);
897
897
  return [typeof i == "object", i !== null, !(Array.isArray(i) && i.length === 0)].every(Boolean) ? {
898
898
  ...o,
899
- ...ce(i, s, n)
899
+ ...ue(i, s, n)
900
900
  } : {
901
901
  ...o,
902
902
  [s]: i
903
903
  };
904
904
  }, {});
905
905
  }
906
- function et(e, t, n = {}) {
906
+ function nt(e, t, n = {}) {
907
907
  for (const o in e) {
908
908
  const r = e[o], i = t ? t + "." + o : o;
909
- r && typeof r == "object" && !Array.isArray(r) && !Object.keys(r).find((s) => s.startsWith("$")) ? et(r, i, n) : n[i] = r;
909
+ r && typeof r == "object" && !Array.isArray(r) && !Object.keys(r).find((s) => s.startsWith("$")) ? nt(r, i, n) : n[i] = r;
910
910
  }
911
911
  return n;
912
912
  }
913
- const Tn = "v3", Ie = (e) => typeof e == "number" && !isNaN(e) && e >= 0, he = (e) => {
913
+ const $n = "v3", Re = (e) => typeof e == "number" && !isNaN(e) && e >= 0, be = (e) => {
914
914
  const {
915
915
  limit: t = 30,
916
916
  userAttributes: n,
@@ -919,7 +919,7 @@ const Tn = "v3", Ie = (e) => typeof e == "number" && !isNaN(e) && e >= 0, he = (
919
919
  apiKey: i,
920
920
  enrich: s,
921
921
  locale: l,
922
- apiVersion: a = Tn,
922
+ apiVersion: a = $n,
923
923
  fields: u,
924
924
  omit: m,
925
925
  offset: h,
@@ -933,54 +933,60 @@ const Tn = "v3", Ie = (e) => typeof e == "number" && !isNaN(e) && e >= 0, he = (
933
933
  throw new Error("Missing API key");
934
934
  if (!["v3"].includes(a))
935
935
  throw new Error(`Invalid apiVersion: expected 'v3', received '${a}'`);
936
- const ut = t !== 1, pt = L || "https://cdn.builder.io", I = new URL(`${pt}/api/${a}/content/${r}`);
937
- if (I.searchParams.set("apiKey", i), I.searchParams.set("limit", String(t)), I.searchParams.set("noTraverse", String(ut)), I.searchParams.set("includeRefs", String(!0)), l && I.searchParams.set("locale", l), s && I.searchParams.set("enrich", String(s)), I.searchParams.set("omit", m || "meta.componentsUsed"), u && I.searchParams.set("fields", u), Number.isFinite(h) && h > -1 && I.searchParams.set("offset", String(Math.floor(h))), typeof w == "boolean" && I.searchParams.set("includeUnpublished", String(w)), d && Ie(d) && I.searchParams.set("cacheSeconds", String(d)), f && Ie(f) && I.searchParams.set("staleCacheSeconds", String(f)), S) {
938
- const O = ce({
936
+ const mt = t !== 1, ht = L || "https://cdn.builder.io", I = new URL(`${ht}/api/${a}/content/${r}`);
937
+ I.searchParams.set("apiKey", i), I.searchParams.set("limit", String(t)), I.searchParams.set("noTraverse", String(mt)), I.searchParams.set("includeRefs", String(!0));
938
+ const ne = l || (n == null ? void 0 : n.locale);
939
+ let X = n;
940
+ if (ne && (I.searchParams.set("locale", ne), X = {
941
+ locale: ne,
942
+ ...X
943
+ }), s && I.searchParams.set("enrich", String(s)), I.searchParams.set("omit", m || "meta.componentsUsed"), u && I.searchParams.set("fields", u), Number.isFinite(h) && h > -1 && I.searchParams.set("offset", String(Math.floor(h))), typeof w == "boolean" && I.searchParams.set("includeUnpublished", String(w)), d && Re(d) && I.searchParams.set("cacheSeconds", String(d)), f && Re(f) && I.searchParams.set("staleCacheSeconds", String(f)), S) {
944
+ const O = ue({
939
945
  sort: S
940
946
  });
941
947
  for (const M in O)
942
948
  I.searchParams.set(M, JSON.stringify(O[M]));
943
949
  }
944
- const mt = {
945
- ...Yt(),
946
- ...Ve(e.options || {})
947
- }, ke = ce(mt);
948
- for (const O in ke)
949
- I.searchParams.set(O, String(ke[O]));
950
- if (n && I.searchParams.set("userAttributes", JSON.stringify(n)), o) {
951
- const O = et({
950
+ const ft = {
951
+ ...Qt(),
952
+ ...Ne(e.options || {})
953
+ }, Se = ue(ft);
954
+ for (const O in Se)
955
+ I.searchParams.set(O, String(Se[O]));
956
+ if (X && I.searchParams.set("userAttributes", JSON.stringify(X)), o) {
957
+ const O = nt({
952
958
  query: o
953
959
  });
954
960
  for (const M in O)
955
961
  I.searchParams.set(M, JSON.stringify(O[M]));
956
962
  }
957
963
  return I;
958
- }, In = (e) => "results" in e;
959
- async function fe(e) {
960
- const t = await En({
964
+ }, Rn = (e) => "results" in e;
965
+ async function ge(e) {
966
+ const t = await Bn({
961
967
  ...e,
962
968
  limit: 1
963
969
  });
964
970
  return t && t[0] || null;
965
971
  }
966
- const $n = async (e) => {
972
+ const En = async (e) => {
967
973
  var s;
968
- const t = he(e), n = e.fetch ?? wn, o = {
974
+ const t = be(e), n = e.fetch ?? In, o = {
969
975
  ...e.fetchOptions,
970
976
  headers: {
971
977
  ...(s = e.fetchOptions) == null ? void 0 : s.headers,
972
- ...Ue()
978
+ ...He()
973
979
  }
974
980
  };
975
981
  return await (await n(t.href, o)).json();
976
- }, Rn = async (e, t, n = he(e)) => {
982
+ }, Pn = async (e, t, n = be(e)) => {
977
983
  const o = G(e.canTrack);
978
984
  if (n.search.includes("preview="), !o || !($() || P === "reactNative"))
979
985
  return t.results;
980
986
  try {
981
987
  const r = [];
982
988
  for (const i of t.results)
983
- r.push(await vn({
989
+ r.push(await Cn({
984
990
  item: i,
985
991
  canTrack: o
986
992
  }));
@@ -990,10 +996,10 @@ const $n = async (e) => {
990
996
  }
991
997
  return t.results;
992
998
  };
993
- async function En(e) {
999
+ async function Bn(e) {
994
1000
  try {
995
- const t = he(e), n = await $n(e);
996
- return In(n) ? Rn(e, n) : (E.error("Error fetching data. ", {
1001
+ const t = be(e), n = await En(e);
1002
+ return Rn(n) ? Pn(e, n) : (E.error("Error fetching data. ", {
997
1003
  url: t,
998
1004
  content: n,
999
1005
  options: e
@@ -1002,7 +1008,7 @@ async function En(e) {
1002
1008
  return E.error("Error fetching data. ", t), null;
1003
1009
  }
1004
1010
  }
1005
- const Fi = async (e) => {
1011
+ const Li = async (e) => {
1006
1012
  var o, r, i;
1007
1013
  const t = e.path || ((o = e.url) == null ? void 0 : o.pathname) || ((r = e.userAttributes) == null ? void 0 : r.urlPath), n = {
1008
1014
  ...e,
@@ -1014,15 +1020,15 @@ const Fi = async (e) => {
1014
1020
  urlPath: t
1015
1021
  } : {}
1016
1022
  },
1017
- options: De(e.searchParams || ((i = e.url) == null ? void 0 : i.searchParams) || e.options)
1023
+ options: Ue(e.searchParams || ((i = e.url) == null ? void 0 : i.searchParams) || e.options)
1018
1024
  };
1019
1025
  return {
1020
1026
  apiKey: n.apiKey,
1021
1027
  model: n.model,
1022
- content: await fe(n)
1028
+ content: await ge(n)
1023
1029
  };
1024
- }, be = (e) => e ? e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase() : "";
1025
- function Pn(e, t, n = {}) {
1030
+ }, ye = (e) => e ? e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase() : "";
1031
+ function xn(e, t, n = {}) {
1026
1032
  let o, r, i, s = null, l = 0;
1027
1033
  const a = function() {
1028
1034
  l = n.leading === !1 ? 0 : Date.now(), s = null, i = e.apply(o, r), s || (o = r = null);
@@ -1044,55 +1050,55 @@ function K(e, ...t) {
1044
1050
  }
1045
1051
  return n;
1046
1052
  }
1047
- function Bn(e) {
1053
+ function An(e) {
1048
1054
  for (const t of e)
1049
1055
  switch (t.trigger) {
1050
1056
  case "pageLoad":
1051
- ot(t);
1057
+ it(t);
1052
1058
  break;
1053
1059
  case "scrollInView":
1054
- An(t);
1060
+ Wn(t);
1055
1061
  break;
1056
1062
  }
1057
1063
  }
1058
- function tt(e) {
1064
+ function ot(e) {
1059
1065
  console.warn(`Cannot animate element: element with ID ${e} not found!`);
1060
1066
  }
1061
- function nt(e, t) {
1062
- const n = xn(e), o = getComputedStyle(t), r = e.steps[0].styles, i = e.steps[e.steps.length - 1].styles, s = [r, i];
1067
+ function rt(e, t) {
1068
+ const n = Vn(e), o = getComputedStyle(t), r = e.steps[0].styles, i = e.steps[e.steps.length - 1].styles, s = [r, i];
1063
1069
  for (const l of s)
1064
1070
  for (const a of n)
1065
1071
  a in l || (l[a] = o[a]);
1066
1072
  }
1067
- function xn(e) {
1073
+ function Vn(e) {
1068
1074
  const t = [];
1069
1075
  for (const n of e.steps)
1070
1076
  for (const o in n.styles)
1071
1077
  t.indexOf(o) === -1 && t.push(o);
1072
1078
  return t;
1073
1079
  }
1074
- function ot(e) {
1080
+ function it(e) {
1075
1081
  const t = Array.prototype.slice.call(document.getElementsByClassName(e.elementId || e.id || ""));
1076
1082
  if (!t.length) {
1077
- tt(e.elementId || e.id || "");
1083
+ ot(e.elementId || e.id || "");
1078
1084
  return;
1079
1085
  }
1080
1086
  Array.from(t).forEach((n) => {
1081
- nt(e, n), n.style.transition = "none", n.style.transitionDelay = "0", K(n.style, e.steps[0].styles), setTimeout(() => {
1082
- n.style.transition = `all ${e.duration}s ${be(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s"), K(n.style, e.steps[1].styles), setTimeout(() => {
1087
+ rt(e, n), n.style.transition = "none", n.style.transitionDelay = "0", K(n.style, e.steps[0].styles), setTimeout(() => {
1088
+ n.style.transition = `all ${e.duration}s ${ye(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s"), K(n.style, e.steps[1].styles), setTimeout(() => {
1083
1089
  n.style.transition = "", n.style.transitionDelay = "";
1084
1090
  }, (e.delay || 0) * 1e3 + e.duration * 1e3 + 100);
1085
1091
  });
1086
1092
  });
1087
1093
  }
1088
- function An(e) {
1094
+ function Wn(e) {
1089
1095
  const t = Array.prototype.slice.call(document.getElementsByClassName(e.elementId || e.id || ""));
1090
1096
  if (!t.length) {
1091
- tt(e.elementId || e.id || "");
1097
+ ot(e.elementId || e.id || "");
1092
1098
  return;
1093
1099
  }
1094
1100
  Array.from(t).forEach((n) => {
1095
- nt(e, n);
1101
+ rt(e, n);
1096
1102
  let o = !1, r = !1;
1097
1103
  function i() {
1098
1104
  !o && l(n) ? (o = !0, r = !0, setTimeout(() => {
@@ -1101,7 +1107,7 @@ function An(e) {
1101
1107
  }, (e.duration + (e.delay || 0)) * 1e3 + 100);
1102
1108
  })) : e.repeat && o && !r && !l(n) && (o = !1, K(n.style, e.steps[0].styles));
1103
1109
  }
1104
- const s = Pn(i, 200, {
1110
+ const s = xn(i, 200, {
1105
1111
  leading: !1
1106
1112
  });
1107
1113
  function l(m) {
@@ -1113,49 +1119,49 @@ function An(e) {
1113
1119
  K(n.style, a);
1114
1120
  }
1115
1121
  u(), setTimeout(() => {
1116
- n.style.transition = `all ${e.duration}s ${be(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s");
1122
+ n.style.transition = `all ${e.duration}s ${ye(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s");
1117
1123
  }), document.addEventListener("scroll", s, {
1118
1124
  capture: !0,
1119
1125
  passive: !0
1120
1126
  }), i();
1121
1127
  });
1122
1128
  }
1123
- const rt = (e) => Object.entries(e).map(([n, o]) => {
1129
+ const st = (e) => Object.entries(e).map(([n, o]) => {
1124
1130
  if (typeof o == "string")
1125
- return `${be(n)}: ${o};`;
1126
- }).filter(D), Vn = (e) => rt(e).join(`
1127
- `), Di = ({
1131
+ return `${ye(n)}: ${o};`;
1132
+ }).filter(D), Nn = (e) => st(e).join(`
1133
+ `), Ui = ({
1128
1134
  mediaQuery: e,
1129
1135
  className: t,
1130
1136
  styles: n
1131
1137
  }) => {
1132
1138
  const o = `.${t} {
1133
- ${Vn(n)}
1139
+ ${Nn(n)}
1134
1140
  }`;
1135
1141
  return e ? `${e} {
1136
1142
  ${o}
1137
1143
  }` : o;
1138
1144
  };
1139
- function Wn({
1145
+ function On({
1140
1146
  style: e
1141
1147
  }) {
1142
1148
  return e;
1143
1149
  }
1144
- const Li = ({
1150
+ const Mi = ({
1145
1151
  block: e,
1146
1152
  context: t
1147
- }) => it(Wn({
1153
+ }) => at(On({
1148
1154
  style: e.style || {},
1149
1155
  context: t,
1150
1156
  block: e
1151
1157
  }));
1152
- function it(e) {
1158
+ function at(e) {
1153
1159
  switch (P) {
1154
1160
  case "svelte":
1155
1161
  case "vue":
1156
1162
  case "solid":
1157
1163
  case "angular":
1158
- return rt(e).join(" ");
1164
+ return st(e).join(" ");
1159
1165
  case "qwik":
1160
1166
  case "reactNative":
1161
1167
  case "react":
@@ -1163,7 +1169,7 @@ function it(e) {
1163
1169
  return e;
1164
1170
  }
1165
1171
  }
1166
- const Nn = ({
1172
+ const Fn = ({
1167
1173
  block: e,
1168
1174
  registeredComponents: t
1169
1175
  }) => {
@@ -1177,7 +1183,7 @@ const Nn = ({
1177
1183
  console.warn(`
1178
1184
  Could not find a registered component named "${n}".
1179
1185
  If you registered it, is the file that registered it imported by the file that needs to render it?`);
1180
- }, On = ({
1186
+ }, Dn = ({
1181
1187
  block: e,
1182
1188
  context: t
1183
1189
  }) => {
@@ -1210,59 +1216,59 @@ const Nn = ({
1210
1216
  },
1211
1217
  block: o
1212
1218
  }));
1213
- }, Fn = (e, t) => {
1219
+ }, Ln = (e, t) => {
1214
1220
  var n;
1215
1221
  return (n = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && n.builderLinkComponent ? {
1216
1222
  builderLinkComponent: t
1217
1223
  } : {};
1218
- }, Dn = (e, t) => {
1224
+ }, Un = (e, t) => {
1219
1225
  var n;
1220
1226
  return (n = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && n.builderComponents ? {
1221
1227
  builderComponents: t
1222
1228
  } : {};
1223
- }, Ln = (e, t) => {
1229
+ }, Mn = (e, t) => {
1224
1230
  var n;
1225
1231
  return (n = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && n.builderBlock ? {
1226
1232
  builderBlock: t
1227
1233
  } : {};
1228
- }, Un = (e, t) => {
1234
+ }, Hn = (e, t) => {
1229
1235
  var n;
1230
1236
  return (n = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && n.builderContext ? {
1231
1237
  builderContext: t
1232
1238
  } : {};
1233
- }, Mn = () => Promise.resolve().then(() => to).then((e) => e.default).catch((e) => {
1239
+ }, jn = () => Promise.resolve().then(() => oo).then((e) => e.default).catch((e) => {
1234
1240
  throw console.error(
1235
1241
  "Error while attempting to dynamically import component DynamicDiv at ../dynamic-div.vue",
1236
1242
  e
1237
1243
  ), e;
1238
- }), Hn = () => import("./block-styles-QdL_P0Fx.js").then((e) => e.default).catch((e) => {
1244
+ }), Kn = () => import("./block-styles-1TjUGG0M.js").then((e) => e.default).catch((e) => {
1239
1245
  throw console.error(
1240
1246
  "Error while attempting to dynamically import component BlockStyles at ./components/block-styles.vue",
1241
1247
  e
1242
1248
  ), e;
1243
- }), jn = () => import("./block-wrapper-7IkLgp7x.js").then((e) => e.default).catch((e) => {
1249
+ }), qn = () => import("./block-wrapper-mHstZCm3.js").then((e) => e.default).catch((e) => {
1244
1250
  throw console.error(
1245
1251
  "Error while attempting to dynamically import component BlockWrapper at ./components/block-wrapper.vue",
1246
1252
  e
1247
1253
  ), e;
1248
- }), Kn = () => import("./component-ref-llprrwE2.js").then((e) => e.default).catch((e) => {
1254
+ }), zn = () => import("./component-ref-SiTniDkf.js").then((e) => e.default).catch((e) => {
1249
1255
  throw console.error(
1250
1256
  "Error while attempting to dynamically import component ComponentRef at ./components/component-ref/component-ref.vue",
1251
1257
  e
1252
1258
  ), e;
1253
- }), qn = () => import("./repeated-block-dHROvYhN.js").then((e) => e.default).catch((e) => {
1259
+ }), Gn = () => import("./repeated-block-WkFOmnw-.js").then((e) => e.default).catch((e) => {
1254
1260
  throw console.error(
1255
1261
  "Error while attempting to dynamically import component RepeatedBlock at ./components/repeated-block.vue",
1256
1262
  e
1257
1263
  ), e;
1258
- }), zn = b({
1264
+ }), Jn = b({
1259
1265
  name: "block",
1260
1266
  components: {
1261
- BlockStyles: H(Hn),
1262
- RepeatedBlock: H(qn),
1263
- ComponentRef: H(Kn),
1264
- BlockWrapper: H(jn),
1265
- DynamicDiv: H(Mn)
1267
+ BlockStyles: H(Kn),
1268
+ RepeatedBlock: H(Gn),
1269
+ ComponentRef: H(zn),
1270
+ BlockWrapper: H(qn),
1271
+ DynamicDiv: H(jn)
1266
1272
  },
1267
1273
  props: ["block", "context", "registeredComponents", "linkComponent"],
1268
1274
  data() {
@@ -1275,7 +1281,7 @@ const Nn = ({
1275
1281
  },
1276
1282
  mounted() {
1277
1283
  const e = this.processedBlock.id, t = this.processedBlock.animations;
1278
- t && e && Bn(
1284
+ t && e && An(
1279
1285
  t.map((n) => ({
1280
1286
  ...n,
1281
1287
  elementId: e
@@ -1286,14 +1292,14 @@ const Nn = ({
1286
1292
  },
1287
1293
  computed: {
1288
1294
  repeatItem() {
1289
- return On({
1295
+ return Dn({
1290
1296
  block: this.block,
1291
1297
  context: this.context
1292
1298
  });
1293
1299
  },
1294
1300
  processedBlock() {
1295
1301
  var t;
1296
- return (t = this.block.repeat) != null && t.collection ? this.block : jt({
1302
+ return (t = this.block.repeat) != null && t.collection ? this.block : qt({
1297
1303
  block: this.block,
1298
1304
  localState: this.context.localState,
1299
1305
  rootState: this.context.rootState,
@@ -1303,7 +1309,7 @@ const Nn = ({
1303
1309
  });
1304
1310
  },
1305
1311
  blockComponent() {
1306
- return Nn({
1312
+ return Fn({
1307
1313
  block: this.processedBlock,
1308
1314
  registeredComponents: this.registeredComponents
1309
1315
  });
@@ -1329,11 +1335,11 @@ const Nn = ({
1329
1335
  blockChildren: this.processedBlock.children ?? [],
1330
1336
  componentRef: (e = this.blockComponent) == null ? void 0 : e.component,
1331
1337
  componentOptions: {
1332
- ...It(this.processedBlock),
1333
- ...Ln(this.blockComponent, this.processedBlock),
1334
- ...Un(this.blockComponent, this.context),
1335
- ...Fn(this.blockComponent, this.linkComponent),
1336
- ...Dn(
1338
+ ...Rt(this.processedBlock),
1339
+ ...Mn(this.blockComponent, this.processedBlock),
1340
+ ...Hn(this.blockComponent, this.context),
1341
+ ...Ln(this.blockComponent, this.linkComponent),
1342
+ ...Un(
1337
1343
  this.blockComponent,
1338
1344
  this.registeredComponents
1339
1345
  )
@@ -1348,7 +1354,7 @@ const Nn = ({
1348
1354
  }
1349
1355
  }
1350
1356
  });
1351
- function Gn(e, t, n, o, r, i) {
1357
+ function Yn(e, t, n, o, r, i) {
1352
1358
  var h;
1353
1359
  const s = k("BlockStyles"), l = k("ComponentRef"), a = k("Block", !0), u = k("BlockWrapper"), m = k("RepeatedBlock");
1354
1360
  return e.canShowBlock ? (c(), p(T, { key: 0 }, [
@@ -1413,10 +1419,10 @@ function Gn(e, t, n, o, r, i) {
1413
1419
  ], 64))
1414
1420
  ], 64)) : v("", !0);
1415
1421
  }
1416
- const ge = /* @__PURE__ */ g(zn, [["render", Gn]]), Ui = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1422
+ const ke = /* @__PURE__ */ g(Jn, [["render", Yn]]), Hi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1417
1423
  __proto__: null,
1418
- default: ge
1419
- }, Symbol.toStringTag, { value: "Module" })), Jn = b({
1424
+ default: ke
1425
+ }, Symbol.toStringTag, { value: "Module" })), Xn = b({
1420
1426
  name: "builder-blocks-wrapper",
1421
1427
  props: [
1422
1428
  "blocks",
@@ -1474,7 +1480,7 @@ const ge = /* @__PURE__ */ g(zn, [["render", Gn]]), Ui = /* @__PURE__ */ Object.
1474
1480
  }
1475
1481
  }
1476
1482
  });
1477
- function Yn(e, t, n, o, r, i) {
1483
+ function Qn(e, t, n, o, r, i) {
1478
1484
  return c(), y(j(e.BlocksWrapper), C({
1479
1485
  ref: "blocksWrapperRef",
1480
1486
  class: e.className + " component-1k2igrjdg3x",
@@ -1491,9 +1497,9 @@ function Yn(e, t, n, o, r, i) {
1491
1497
  _: 3
1492
1498
  }, 16, ["class", "builder-path", "builder-parent-id", "style", "onClick", "onMouseEnter", "onKeyPress"]);
1493
1499
  }
1494
- const Xn = /* @__PURE__ */ g(Jn, [["render", Yn], ["__scopeId", "data-v-ba2bc5c0"]]), Qn = b({
1500
+ const Zn = /* @__PURE__ */ g(Xn, [["render", Qn], ["__scopeId", "data-v-ba2bc5c0"]]), _n = b({
1495
1501
  name: "builder-blocks",
1496
- components: { BlocksWrapper: Xn, Block: ge },
1502
+ components: { BlocksWrapper: Zn, Block: ke },
1497
1503
  props: [
1498
1504
  "blocks",
1499
1505
  "parent",
@@ -1505,11 +1511,11 @@ const Xn = /* @__PURE__ */ g(Jn, [["render", Yn], ["__scopeId", "data-v-ba2bc5c0
1505
1511
  "registeredComponents"
1506
1512
  ],
1507
1513
  inject: {
1508
- builderContext: se.key,
1509
- componentsContext: xe.key
1514
+ builderContext: le.key,
1515
+ componentsContext: Ve.key
1510
1516
  }
1511
1517
  });
1512
- function Zn(e, t, n, o, r, i) {
1518
+ function eo(e, t, n, o, r, i) {
1513
1519
  var a, u, m, h;
1514
1520
  const s = k("Block"), l = k("BlocksWrapper");
1515
1521
  return c(), y(l, {
@@ -1536,21 +1542,21 @@ function Zn(e, t, n, o, r, i) {
1536
1542
  _: 1
1537
1543
  }, 8, ["blocks", "parent", "path", "styleProp", "classNameProp", "BlocksWrapper", "BlocksWrapperProps"]);
1538
1544
  }
1539
- const U = /* @__PURE__ */ g(Qn, [["render", Zn]]), _n = b({
1545
+ const U = /* @__PURE__ */ g(_n, [["render", eo]]), to = b({
1540
1546
  name: "dynamic-div",
1541
1547
  props: []
1542
1548
  });
1543
- function eo(e, t, n, o, r, i) {
1549
+ function no(e, t, n, o, r, i) {
1544
1550
  return c(), p("div", null, [
1545
1551
  A(e.$slots, "default")
1546
1552
  ]);
1547
1553
  }
1548
- const Y = /* @__PURE__ */ g(_n, [["render", eo]]), to = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1554
+ const Y = /* @__PURE__ */ g(to, [["render", no]]), oo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1549
1555
  __proto__: null,
1550
1556
  default: Y
1551
- }, Symbol.toStringTag, { value: "Module" })), ye = b({
1557
+ }, Symbol.toStringTag, { value: "Module" })), ve = b({
1552
1558
  render() {
1553
- return Be("style", {
1559
+ return Ae("style", {
1554
1560
  innerHTML: this.styles,
1555
1561
  "data-id": this.id,
1556
1562
  nonce: this.nonce
@@ -1558,7 +1564,7 @@ const Y = /* @__PURE__ */ g(_n, [["render", eo]]), to = /* @__PURE__ */ Object.f
1558
1564
  },
1559
1565
  name: "inlined-styles",
1560
1566
  props: ["styles", "id", "nonce"]
1561
- }), st = {
1567
+ }), lt = {
1562
1568
  small: {
1563
1569
  min: 320,
1564
1570
  default: 321,
@@ -1574,11 +1580,11 @@ const Y = /* @__PURE__ */ g(_n, [["render", eo]]), to = /* @__PURE__ */ Object.f
1574
1580
  default: 991,
1575
1581
  max: 1200
1576
1582
  }
1577
- }, Mi = (e, t = st) => `@media (max-width: ${t[e].max}px)`, no = ({
1583
+ }, ji = (e, t = lt) => `@media (max-width: ${t[e].max}px)`, ro = ({
1578
1584
  small: e,
1579
1585
  medium: t
1580
1586
  }) => {
1581
- const n = ue(st);
1587
+ const n = me(lt);
1582
1588
  if (!e || !t)
1583
1589
  return n;
1584
1590
  const o = Math.floor(e / 2);
@@ -1600,11 +1606,11 @@ const Y = /* @__PURE__ */ g(_n, [["render", eo]]), to = /* @__PURE__ */ Object.f
1600
1606
  min: i,
1601
1607
  default: i + 1
1602
1608
  }, n;
1603
- }, oo = (e) => `builder-columns ${e}-breakpoints`, ro = b({
1609
+ }, io = (e) => `builder-columns ${e}-breakpoints`, so = b({
1604
1610
  name: "builder-columns",
1605
1611
  components: {
1606
- InlinedStyles: ye,
1607
- DynamicRenderer: de,
1612
+ InlinedStyles: ve,
1613
+ DynamicRenderer: pe,
1608
1614
  Blocks: U,
1609
1615
  DynamicDiv: Y
1610
1616
  },
@@ -1619,7 +1625,7 @@ const Y = /* @__PURE__ */ g(_n, [["render", eo]]), to = /* @__PURE__ */ Object.f
1619
1625
  "builderComponents"
1620
1626
  ],
1621
1627
  data() {
1622
- return { TARGET: P, getColumnsClass: oo };
1628
+ return { TARGET: P, getColumnsClass: io };
1623
1629
  },
1624
1630
  computed: {
1625
1631
  gutterSize() {
@@ -1698,7 +1704,7 @@ const Y = /* @__PURE__ */ g(_n, [["render", eo]]), to = /* @__PURE__ */ Object.f
1698
1704
  },
1699
1705
  getWidthForBreakpointSize(e) {
1700
1706
  var n, o;
1701
- return no(
1707
+ return ro(
1702
1708
  ((o = (n = this.builderContext.content) == null ? void 0 : n.meta) == null ? void 0 : o.breakpoints) || {}
1703
1709
  )[e].max;
1704
1710
  },
@@ -1735,13 +1741,13 @@ const Y = /* @__PURE__ */ g(_n, [["render", eo]]), to = /* @__PURE__ */ Object.f
1735
1741
  ...e.link ? {
1736
1742
  href: e.link
1737
1743
  } : {},
1738
- [Z()]: "builder-column",
1739
- style: it(this.columnCssVars(t))
1744
+ [_()]: "builder-column",
1745
+ style: at(this.columnCssVars(t))
1740
1746
  };
1741
1747
  }
1742
1748
  }
1743
1749
  });
1744
- function io(e, t, n, o, r, i) {
1750
+ function ao(e, t, n, o, r, i) {
1745
1751
  var u;
1746
1752
  const s = k("InlinedStyles"), l = k("Blocks"), a = k("DynamicRenderer");
1747
1753
  return c(), p("div", C({
@@ -1777,47 +1783,47 @@ function io(e, t, n, o, r, i) {
1777
1783
  }, 1032, ["TagName", "attributes"]))), 128))
1778
1784
  ], 16);
1779
1785
  }
1780
- const so = /* @__PURE__ */ g(ro, [["render", io], ["__scopeId", "data-v-3354f136"]]), ao = b({
1786
+ const lo = /* @__PURE__ */ g(so, [["render", ao], ["__scopeId", "data-v-3354f136"]]), co = b({
1781
1787
  name: "builder-fragment-component",
1782
1788
  props: []
1783
1789
  });
1784
- function lo(e, t, n, o, r, i) {
1790
+ function uo(e, t, n, o, r, i) {
1785
1791
  return c(), p("span", null, [
1786
1792
  A(e.$slots, "default")
1787
1793
  ]);
1788
1794
  }
1789
- const co = /* @__PURE__ */ g(ao, [["render", lo]]);
1790
- function $e(e) {
1795
+ const po = /* @__PURE__ */ g(co, [["render", uo]]);
1796
+ function Ee(e) {
1791
1797
  return e.replace(/http(s)?:/, "");
1792
1798
  }
1793
- function uo(e = "", t, n) {
1799
+ function mo(e = "", t, n) {
1794
1800
  const o = new RegExp("([?&])" + t + "=.*?(&|$)", "i"), r = e.indexOf("?") !== -1 ? "&" : "?";
1795
1801
  return e.match(o) ? e.replace(o, "$1" + t + "=" + encodeURIComponent(n) + "$2") : e + r + t + "=" + encodeURIComponent(n);
1796
1802
  }
1797
- function po(e, t) {
1803
+ function ho(e, t) {
1798
1804
  if (!e || !(e != null && e.match(/cdn\.shopify\.com/)) || !t)
1799
1805
  return e;
1800
1806
  if (t === "master")
1801
- return $e(e);
1807
+ return Ee(e);
1802
1808
  const n = e.match(/(_\d+x(\d+)?)?(\.(jpg|jpeg|gif|png|bmp|bitmap|tiff|tif)(\?v=\d+)?)/i);
1803
1809
  if (n) {
1804
1810
  const o = e.split(n[0]), r = n[3], i = t.match("x") ? t : `${t}x`;
1805
- return $e(`${o[0]}_${i}${r}`);
1811
+ return Ee(`${o[0]}_${i}${r}`);
1806
1812
  }
1807
1813
  return null;
1808
1814
  }
1809
- function te(e) {
1815
+ function oe(e) {
1810
1816
  if (!e)
1811
1817
  return e;
1812
1818
  const t = [100, 200, 400, 800, 1200, 1600, 2e3];
1813
1819
  if (e.match(/builder\.io/)) {
1814
1820
  let n = e;
1815
1821
  const o = Number(e.split("?width=")[1]);
1816
- return isNaN(o) || (n = `${n} ${o}w`), t.filter((r) => r !== o).map((r) => `${uo(e, "width", r)} ${r}w`).concat([n]).join(", ");
1822
+ return isNaN(o) || (n = `${n} ${o}w`), t.filter((r) => r !== o).map((r) => `${mo(e, "width", r)} ${r}w`).concat([n]).join(", ");
1817
1823
  }
1818
- return e.match(/cdn\.shopify\.com/) ? t.map((n) => [po(e, `${n}x${n}`), n]).filter(([n]) => !!n).map(([n, o]) => `${n} ${o}w`).concat([e]).join(", ") : e;
1824
+ return e.match(/cdn\.shopify\.com/) ? t.map((n) => [ho(e, `${n}x${n}`), n]).filter(([n]) => !!n).map(([n, o]) => `${n} ${o}w`).concat([e]).join(", ") : e;
1819
1825
  }
1820
- const mo = b({
1826
+ const fo = b({
1821
1827
  name: "builder-image",
1822
1828
  props: [
1823
1829
  "image",
@@ -1847,10 +1853,10 @@ const mo = b({
1847
1853
  if (!this.noWebp) {
1848
1854
  if (this.srcset && ((n = this.image) != null && n.includes("builder.io/api/v1/image"))) {
1849
1855
  if (!this.srcset.includes(this.image.split("?")[0]))
1850
- return console.debug("Removed given srcset"), te(t);
1856
+ return console.debug("Removed given srcset"), oe(t);
1851
1857
  } else if (this.image && !this.srcset)
1852
- return te(t);
1853
- return te(t);
1858
+ return oe(t);
1859
+ return oe(t);
1854
1860
  }
1855
1861
  },
1856
1862
  webpSrcSet() {
@@ -1868,11 +1874,11 @@ const mo = b({
1868
1874
  return this.aspectRatio ? e : void 0;
1869
1875
  }
1870
1876
  }
1871
- }), ho = ["srcset"], fo = ["loading", "fetchpriority", "alt", "role", "src", "srcset", "sizes"], bo = {
1877
+ }), bo = ["srcset"], go = ["loading", "fetchpriority", "alt", "role", "src", "srcset", "sizes"], yo = {
1872
1878
  key: 2,
1873
1879
  class: "div-29wpyomtntv-2"
1874
1880
  };
1875
- function go(e, t, n, o, r, i) {
1881
+ function ko(e, t, n, o, r, i) {
1876
1882
  var s, l, a, u, m, h;
1877
1883
  return c(), p(T, null, [
1878
1884
  q("picture", null, [
@@ -1880,7 +1886,7 @@ function go(e, t, n, o, r, i) {
1880
1886
  key: 0,
1881
1887
  type: "image/webp",
1882
1888
  srcset: e.webpSrcSet
1883
- }, null, 8, ho)) : v("", !0),
1889
+ }, null, 8, bo)) : v("", !0),
1884
1890
  q("img", {
1885
1891
  loading: e.highPriority ? "eager" : "lazy",
1886
1892
  fetchpriority: e.highPriority ? "high" : "auto",
@@ -1897,7 +1903,7 @@ function go(e, t, n, o, r, i) {
1897
1903
  src: e.image,
1898
1904
  srcset: e.srcSetToUse,
1899
1905
  sizes: e.sizes
1900
- }, null, 14, fo)
1906
+ }, null, 14, go)
1901
1907
  ]),
1902
1908
  e.aspectRatio && !((l = (s = e.builderBlock) == null ? void 0 : s.children) != null && l.length && e.fitContent) ? (c(), p("div", {
1903
1909
  key: 0,
@@ -1907,19 +1913,19 @@ function go(e, t, n, o, r, i) {
1907
1913
  })
1908
1914
  }, null, 4)) : v("", !0),
1909
1915
  (u = (a = e.builderBlock) == null ? void 0 : a.children) != null && u.length && e.fitContent ? A(e.$slots, "default", { key: 1 }, void 0, !0) : v("", !0),
1910
- !e.fitContent && ((h = (m = e.builderBlock) == null ? void 0 : m.children) != null && h.length) ? (c(), p("div", bo, [
1916
+ !e.fitContent && ((h = (m = e.builderBlock) == null ? void 0 : m.children) != null && h.length) ? (c(), p("div", yo, [
1911
1917
  A(e.$slots, "default", {}, void 0, !0)
1912
1918
  ])) : v("", !0)
1913
1919
  ], 64);
1914
1920
  }
1915
- const yo = /* @__PURE__ */ g(mo, [["render", go], ["__scopeId", "data-v-77f8a6c4"]]), ko = b({
1921
+ const vo = /* @__PURE__ */ g(fo, [["render", ko], ["__scopeId", "data-v-77f8a6c4"]]), So = b({
1916
1922
  name: "builder-section-component",
1917
1923
  props: ["attributes", "maxWidth"],
1918
1924
  data() {
1919
1925
  return { filterAttrs: W };
1920
1926
  }
1921
1927
  });
1922
- function vo(e, t, n, o, r, i) {
1928
+ function Co(e, t, n, o, r, i) {
1923
1929
  return c(), p("section", C({
1924
1930
  style: {
1925
1931
  width: "100%",
@@ -1937,7 +1943,7 @@ function vo(e, t, n, o, r, i) {
1937
1943
  A(e.$slots, "default")
1938
1944
  ], 16);
1939
1945
  }
1940
- const So = /* @__PURE__ */ g(ko, [["render", vo]]), ne = {
1946
+ const wo = /* @__PURE__ */ g(So, [["render", Co]]), re = {
1941
1947
  "@type": "@builder.io/sdk:Element",
1942
1948
  layerName: "Accordion item title",
1943
1949
  responsiveStyles: {
@@ -1966,7 +1972,7 @@ const So = /* @__PURE__ */ g(ko, [["render", vo]]), ne = {
1966
1972
  }
1967
1973
  }
1968
1974
  }]
1969
- }, oe = {
1975
+ }, ie = {
1970
1976
  "@type": "@builder.io/sdk:Element",
1971
1977
  layerName: "Accordion item detail",
1972
1978
  responsiveStyles: {
@@ -1997,7 +2003,7 @@ const So = /* @__PURE__ */ g(ko, [["render", vo]]), ne = {
1997
2003
  }
1998
2004
  }
1999
2005
  }]
2000
- }, Co = {
2006
+ }, To = {
2001
2007
  name: "Builder:Accordion",
2002
2008
  canHaveChildren: !0,
2003
2009
  image: "https://cdn.builder.io/api/v1/image/assets%2FagZ9n5CUKRfbL9t6CaJOyVSK4Es2%2Ffab6c1fd3fe542408cbdec078bca7f35",
@@ -2014,19 +2020,19 @@ const So = /* @__PURE__ */ g(ko, [["render", vo]]), ne = {
2014
2020
  name: "title",
2015
2021
  type: "uiBlocks",
2016
2022
  hideFromUI: !0,
2017
- defaultValue: [ne]
2023
+ defaultValue: [re]
2018
2024
  }, {
2019
2025
  name: "detail",
2020
2026
  type: "uiBlocks",
2021
2027
  hideFromUI: !0,
2022
- defaultValue: [oe]
2028
+ defaultValue: [ie]
2023
2029
  }],
2024
2030
  defaultValue: [{
2025
- title: [ne],
2026
- detail: [oe]
2031
+ title: [re],
2032
+ detail: [ie]
2027
2033
  }, {
2028
- title: [ne],
2029
- detail: [oe]
2034
+ title: [re],
2035
+ detail: [ie]
2030
2036
  }],
2031
2037
  showIf: (e) => !e.get("useChildrenForItems")
2032
2038
  }, {
@@ -2061,7 +2067,7 @@ const So = /* @__PURE__ */ g(ko, [["render", vo]]), ne = {
2061
2067
  builderComponents: !0,
2062
2068
  builderLinkComponent: !0
2063
2069
  }
2064
- }, wo = (e) => e.toString(), To = b({
2070
+ }, Io = (e) => e.toString(), $o = b({
2065
2071
  name: "builder-accordion",
2066
2072
  components: { Blocks: U },
2067
2073
  props: [
@@ -2075,7 +2081,7 @@ const So = /* @__PURE__ */ g(ko, [["render", vo]]), ne = {
2075
2081
  "builderLinkComponent"
2076
2082
  ],
2077
2083
  data() {
2078
- return { open: [], convertOrderNumberToString: wo };
2084
+ return { open: [], convertOrderNumberToString: Io };
2079
2085
  },
2080
2086
  computed: {
2081
2087
  onlyOneAtATime() {
@@ -2156,8 +2162,8 @@ const So = /* @__PURE__ */ g(ko, [["render", vo]]), ne = {
2156
2162
  this.open.includes(e) ? this.open = this.onlyOneAtATime ? [] : this.open.filter((t) => t !== e) : this.open = this.onlyOneAtATime ? [e] : this.open.concat(e);
2157
2163
  }
2158
2164
  }
2159
- }), Io = ["data-index", "onClick"];
2160
- function $o(e, t, n, o, r, i) {
2165
+ }), Ro = ["data-index", "onClick"];
2166
+ function Eo(e, t, n, o, r, i) {
2161
2167
  const s = k("Blocks");
2162
2168
  return c(), p("div", {
2163
2169
  class: "builder-accordion",
@@ -2184,7 +2190,7 @@ function $o(e, t, n, o, r, i) {
2184
2190
  registeredComponents: e.builderComponents,
2185
2191
  linkComponent: e.builderLinkComponent
2186
2192
  }, null, 8, ["blocks", "path", "parent", "context", "registeredComponents", "linkComponent"])
2187
- ], 14, Io),
2193
+ ], 14, Ro),
2188
2194
  e.open.includes(a) ? (c(), p("div", {
2189
2195
  key: 0,
2190
2196
  class: z(e.getAccordionDetailClassName(a)),
@@ -2202,7 +2208,7 @@ function $o(e, t, n, o, r, i) {
2202
2208
  ], 64))), 128))
2203
2209
  ], 4);
2204
2210
  }
2205
- const Ro = /* @__PURE__ */ g(To, [["render", $o]]), Eo = {
2211
+ const Po = /* @__PURE__ */ g($o, [["render", Eo]]), Bo = {
2206
2212
  name: "Core:Button",
2207
2213
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F81a15681c3e74df09677dfc57a615b13",
2208
2214
  defaultStyles: {
@@ -2238,7 +2244,7 @@ const Ro = /* @__PURE__ */ g(To, [["render", $o]]), Eo = {
2238
2244
  shouldReceiveBuilderProps: {
2239
2245
  builderLinkComponent: !0
2240
2246
  }
2241
- }, Po = {
2247
+ }, xo = {
2242
2248
  // TODO: ways to statically preprocess JSON for references, functions, etc
2243
2249
  name: "Columns",
2244
2250
  isRSC: !0,
@@ -2445,13 +2451,13 @@ const Ro = /* @__PURE__ */ g(To, [["render", $o]]), Eo = {
2445
2451
  builderComponents: !0,
2446
2452
  builderLinkComponent: !0
2447
2453
  }
2448
- }, Bo = {
2454
+ }, Ao = {
2449
2455
  name: "Fragment",
2450
2456
  static: !0,
2451
2457
  hidden: !0,
2452
2458
  canHaveChildren: !0,
2453
2459
  noWrap: !0
2454
- }, xo = {
2460
+ }, Vo = {
2455
2461
  name: "Image",
2456
2462
  static: !0,
2457
2463
  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",
@@ -2559,7 +2565,7 @@ const Ro = /* @__PURE__ */ g(To, [["render", $o]]), Eo = {
2559
2565
  shouldReceiveBuilderProps: {
2560
2566
  builderBlock: !0
2561
2567
  }
2562
- }, Ao = {
2568
+ }, Wo = {
2563
2569
  name: "Core:Section",
2564
2570
  static: !0,
2565
2571
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F682efef23ace49afac61748dd305c70a",
@@ -2598,7 +2604,7 @@ const Ro = /* @__PURE__ */ g(To, [["render", $o]]), Eo = {
2598
2604
  }
2599
2605
  }
2600
2606
  }]
2601
- }, Vo = {
2607
+ }, No = {
2602
2608
  name: "Slot",
2603
2609
  isRSC: !0,
2604
2610
  description: "Allow child blocks to be inserted into this content when used as a Symbol",
@@ -2615,12 +2621,12 @@ const Ro = /* @__PURE__ */ g(To, [["render", $o]]), Eo = {
2615
2621
  builderContext: !0,
2616
2622
  builderComponents: !0
2617
2623
  }
2618
- }, Wo = b({
2624
+ }, Oo = b({
2619
2625
  name: "builder-slot",
2620
2626
  components: { Blocks: U },
2621
2627
  props: ["builderContext", "name", "builderComponents"]
2622
2628
  });
2623
- function No(e, t, n, o, r, i) {
2629
+ function Fo(e, t, n, o, r, i) {
2624
2630
  var l, a, u;
2625
2631
  const s = k("Blocks");
2626
2632
  return c(), p("div", C(
@@ -2640,7 +2646,7 @@ function No(e, t, n, o, r, i) {
2640
2646
  }, null, 8, ["parent", "path", "context", "registeredComponents", "blocks"])
2641
2647
  ], 16);
2642
2648
  }
2643
- const Oo = /* @__PURE__ */ g(Wo, [["render", No]]), Fo = {
2649
+ const Do = /* @__PURE__ */ g(Oo, [["render", Fo]]), Lo = {
2644
2650
  name: "Symbol",
2645
2651
  noWrap: !0,
2646
2652
  static: !0,
@@ -2679,7 +2685,7 @@ const Oo = /* @__PURE__ */ g(Wo, [["render", No]]), Fo = {
2679
2685
  builderComponents: !0,
2680
2686
  builderLinkComponent: !0
2681
2687
  }
2682
- }, re = {
2688
+ }, se = {
2683
2689
  "@type": "@builder.io/sdk:Element",
2684
2690
  responsiveStyles: {
2685
2691
  large: {
@@ -2701,7 +2707,7 @@ const Oo = /* @__PURE__ */ g(Wo, [["render", No]]), Fo = {
2701
2707
  text: "New tab"
2702
2708
  }
2703
2709
  }
2704
- }, ie = {
2710
+ }, ae = {
2705
2711
  "@type": "@builder.io/sdk:Element",
2706
2712
  responsiveStyles: {
2707
2713
  large: {
@@ -2717,7 +2723,7 @@ const Oo = /* @__PURE__ */ g(Wo, [["render", No]]), Fo = {
2717
2723
  text: "New tab content "
2718
2724
  }
2719
2725
  }
2720
- }, Do = {
2726
+ }, Uo = {
2721
2727
  name: "Builder: Tabs",
2722
2728
  inputs: [{
2723
2729
  name: "tabs",
@@ -2727,16 +2733,16 @@ const Oo = /* @__PURE__ */ g(Wo, [["render", No]]), Fo = {
2727
2733
  name: "label",
2728
2734
  type: "uiBlocks",
2729
2735
  hideFromUI: !0,
2730
- defaultValue: [re]
2736
+ defaultValue: [se]
2731
2737
  }, {
2732
2738
  name: "content",
2733
2739
  type: "uiBlocks",
2734
2740
  hideFromUI: !0,
2735
- defaultValue: [ie]
2741
+ defaultValue: [ae]
2736
2742
  }],
2737
2743
  defaultValue: [{
2738
2744
  label: [{
2739
- ...re,
2745
+ ...se,
2740
2746
  component: {
2741
2747
  name: "Text",
2742
2748
  options: {
@@ -2745,7 +2751,7 @@ const Oo = /* @__PURE__ */ g(Wo, [["render", No]]), Fo = {
2745
2751
  }
2746
2752
  }],
2747
2753
  content: [{
2748
- ...ie,
2754
+ ...ae,
2749
2755
  component: {
2750
2756
  name: "Text",
2751
2757
  options: {
@@ -2755,7 +2761,7 @@ const Oo = /* @__PURE__ */ g(Wo, [["render", No]]), Fo = {
2755
2761
  }]
2756
2762
  }, {
2757
2763
  label: [{
2758
- ...re,
2764
+ ...se,
2759
2765
  component: {
2760
2766
  name: "Text",
2761
2767
  options: {
@@ -2764,7 +2770,7 @@ const Oo = /* @__PURE__ */ g(Wo, [["render", No]]), Fo = {
2764
2770
  }
2765
2771
  }],
2766
2772
  content: [{
2767
- ...ie,
2773
+ ...ae,
2768
2774
  component: {
2769
2775
  name: "Text",
2770
2776
  options: {
@@ -2820,7 +2826,7 @@ const Oo = /* @__PURE__ */ g(Wo, [["render", No]]), Fo = {
2820
2826
  builderComponents: !0,
2821
2827
  builderLinkComponent: !0
2822
2828
  }
2823
- }, Lo = b({
2829
+ }, Mo = b({
2824
2830
  name: "builder-tabs",
2825
2831
  components: { Blocks: U },
2826
2832
  props: [
@@ -2845,8 +2851,8 @@ const Oo = /* @__PURE__ */ g(Wo, [["render", No]]), Fo = {
2845
2851
  e === this.activeTab && this.collapsible ? this.activeTab = -1 : this.activeTab = e;
2846
2852
  }
2847
2853
  }
2848
- }), Uo = ["onClick"], Mo = { key: 0 };
2849
- function Ho(e, t, n, o, r, i) {
2854
+ }), Ho = ["onClick"], jo = { key: 0 };
2855
+ function Ko(e, t, n, o, r, i) {
2850
2856
  const s = k("Blocks");
2851
2857
  return c(), p("div", null, [
2852
2858
  q("div", {
@@ -2874,9 +2880,9 @@ function Ho(e, t, n, o, r, i) {
2874
2880
  registeredComponents: e.builderComponents,
2875
2881
  linkComponent: e.builderLinkComponent
2876
2882
  }, null, 8, ["parent", "path", "blocks", "context", "registeredComponents", "linkComponent"])
2877
- ], 14, Uo))), 128))
2883
+ ], 14, Ho))), 128))
2878
2884
  ], 4),
2879
- e.activeTabContent(e.activeTab) ? (c(), p("div", Mo, [
2885
+ e.activeTabContent(e.activeTab) ? (c(), p("div", jo, [
2880
2886
  R(s, {
2881
2887
  parent: e.builderBlock.id,
2882
2888
  path: `tabs.${e.activeTab}.content`,
@@ -2888,7 +2894,7 @@ function Ho(e, t, n, o, r, i) {
2888
2894
  ])) : v("", !0)
2889
2895
  ]);
2890
2896
  }
2891
- const jo = /* @__PURE__ */ g(Lo, [["render", Ho]]), Ko = {
2897
+ const qo = /* @__PURE__ */ g(Mo, [["render", Ko]]), zo = {
2892
2898
  shouldReceiveBuilderProps: {
2893
2899
  builderBlock: !1,
2894
2900
  builderContext: !0
@@ -2910,7 +2916,7 @@ const jo = /* @__PURE__ */ g(Lo, [["render", Ho]]), Ko = {
2910
2916
  height: "auto",
2911
2917
  textAlign: "center"
2912
2918
  }
2913
- }, qo = b({
2919
+ }, Go = b({
2914
2920
  name: "builder-text",
2915
2921
  props: ["builderContext", "text"],
2916
2922
  computed: {
@@ -2934,17 +2940,17 @@ const jo = /* @__PURE__ */ g(Lo, [["render", Ho]]), Ko = {
2934
2940
  );
2935
2941
  }
2936
2942
  }
2937
- }), zo = ["innerHTML"];
2938
- function Go(e, t, n, o, r, i) {
2943
+ }), Jo = ["innerHTML"];
2944
+ function Yo(e, t, n, o, r, i) {
2939
2945
  return c(), p("div", {
2940
2946
  class: "builder-text",
2941
2947
  innerHTML: e.processedText,
2942
2948
  style: {
2943
2949
  outline: "none"
2944
2950
  }
2945
- }, null, 8, zo);
2951
+ }, null, 8, Jo);
2946
2952
  }
2947
- const Jo = /* @__PURE__ */ g(qo, [["render", Go]]), Yo = {
2953
+ const Xo = /* @__PURE__ */ g(Go, [["render", Yo]]), Qo = {
2948
2954
  name: "Custom Code",
2949
2955
  static: !0,
2950
2956
  requiredPermissions: ["editCode"],
@@ -2966,7 +2972,7 @@ const Jo = /* @__PURE__ */ g(qo, [["render", Go]]), Yo = {
2966
2972
  helperText: "Only print and run scripts on the client. Important when scripts influence DOM that could be replaced when client loads",
2967
2973
  advanced: !0
2968
2974
  }]
2969
- }, Xo = b({
2975
+ }, Zo = b({
2970
2976
  name: "builder-custom-code",
2971
2977
  props: ["replaceNodes", "code"],
2972
2978
  data() {
@@ -3000,15 +3006,15 @@ const Jo = /* @__PURE__ */ g(qo, [["render", Go]]), Yo = {
3000
3006
  }
3001
3007
  }
3002
3008
  }
3003
- }), Qo = ["innerHTML"];
3004
- function Zo(e, t, n, o, r, i) {
3009
+ }), _o = ["innerHTML"];
3010
+ function er(e, t, n, o, r, i) {
3005
3011
  return c(), p("div", {
3006
3012
  ref: "elementRef",
3007
3013
  class: z("builder-custom-code" + (e.replaceNodes ? " replace-nodes" : "")),
3008
3014
  innerHTML: e.code
3009
- }, null, 10, Qo);
3015
+ }, null, 10, _o);
3010
3016
  }
3011
- const _o = /* @__PURE__ */ g(Xo, [["render", Zo]]), er = {
3017
+ const tr = /* @__PURE__ */ g(Zo, [["render", er]]), nr = {
3012
3018
  name: "Embed",
3013
3019
  static: !0,
3014
3020
  inputs: [{
@@ -3023,7 +3029,7 @@ const _o = /* @__PURE__ */ g(Xo, [["render", Zo]]), er = {
3023
3029
  defaultValue: '<div style="padding: 20px; text-align: center">(Choose an embed URL)<div>',
3024
3030
  hideFromUI: !0
3025
3031
  }]
3026
- }, tr = ["text/javascript", "application/javascript", "application/ecmascript"], nr = (e) => tr.includes(e.type), or = b({
3032
+ }, or = ["text/javascript", "application/javascript", "application/ecmascript"], rr = (e) => or.includes(e.type), ir = b({
3027
3033
  name: "builder-embed",
3028
3034
  props: ["content"],
3029
3035
  data() {
@@ -3056,7 +3062,7 @@ const _o = /* @__PURE__ */ g(Xo, [["render", Zo]]), er = {
3056
3062
  this.scriptsInserted.push(n.src);
3057
3063
  const o = document.createElement("script");
3058
3064
  o.async = !0, o.src = n.src, document.head.appendChild(o);
3059
- } else if (nr(n) && !this.scriptsRun.includes(n.innerText))
3065
+ } else if (rr(n) && !this.scriptsRun.includes(n.innerText))
3060
3066
  try {
3061
3067
  this.scriptsRun.push(n.innerText), new Function(n.innerText)();
3062
3068
  } catch (o) {
@@ -3065,15 +3071,15 @@ const _o = /* @__PURE__ */ g(Xo, [["render", Zo]]), er = {
3065
3071
  }
3066
3072
  }
3067
3073
  }
3068
- }), rr = ["innerHTML"];
3069
- function ir(e, t, n, o, r, i) {
3074
+ }), sr = ["innerHTML"];
3075
+ function ar(e, t, n, o, r, i) {
3070
3076
  return c(), p("div", {
3071
3077
  class: "builder-embed",
3072
3078
  ref: "elem",
3073
3079
  innerHTML: e.content
3074
- }, null, 8, rr);
3080
+ }, null, 8, sr);
3075
3081
  }
3076
- const sr = /* @__PURE__ */ g(or, [["render", ir]]), ar = {
3082
+ const lr = /* @__PURE__ */ g(ir, [["render", ar]]), cr = {
3077
3083
  name: "Form:Form",
3078
3084
  // editableTags: ['builder-form-error']
3079
3085
  defaults: {
@@ -3310,12 +3316,12 @@ const sr = /* @__PURE__ */ g(or, [["render", ir]]), ar = {
3310
3316
  builderComponents: !0,
3311
3317
  builderLinkComponent: !0
3312
3318
  }
3313
- }, lr = ["production", "qa", "test", "development", "dev", "cdn-qa", "cloud", "fast", "cdn2", "cdn-prod"], cr = () => {
3319
+ }, dr = ["production", "qa", "test", "development", "dev", "cdn-qa", "cloud", "fast", "cdn2", "cdn-prod"], ur = () => {
3314
3320
  const e = process.env.NODE_ENV || "production";
3315
- return lr.includes(e) ? e : "production";
3316
- }, dr = b({
3321
+ return dr.includes(e) ? e : "production";
3322
+ }, pr = b({
3317
3323
  name: "builder-form-component",
3318
- components: { Block: ge, Blocks: U },
3324
+ components: { Block: ke, Blocks: U },
3319
3325
  props: [
3320
3326
  "builderContext",
3321
3327
  "previewState",
@@ -3404,7 +3410,7 @@ const sr = /* @__PURE__ */ g(or, [["render", ir]]), ar = {
3404
3410
  else {
3405
3411
  const d = {};
3406
3412
  Array.from(l).forEach(({ value: f, key: S }) => {
3407
- Fe(d, S, f);
3413
+ Le(d, S, f);
3408
3414
  }), i = JSON.stringify(d);
3409
3415
  }
3410
3416
  a && a !== "multipart/form-data" && (t && ((n = this.action) != null && n.includes("zapier.com")) || (r["content-type"] = a));
@@ -3416,10 +3422,10 @@ const sr = /* @__PURE__ */ g(or, [["render", ir]]), ar = {
3416
3422
  if (this.$refs.formRef && (this.$refs.formRef.dispatchEvent(u), u.defaultPrevented))
3417
3423
  return;
3418
3424
  this.formState = "sending";
3419
- const m = `${cr() === "dev" ? "http://localhost:5000" : "https://builder.io"}/api/v1/form-submit?apiKey=${this.builderContext.apiKey}&to=${btoa(
3425
+ const m = `${ur() === "dev" ? "http://localhost:5000" : "https://builder.io"}/api/v1/form-submit?apiKey=${this.builderContext.apiKey}&to=${btoa(
3420
3426
  this.sendSubmissionsToEmail || ""
3421
3427
  )}&name=${encodeURIComponent(this.name || "")}`, h = this.sendSubmissionsTo === "email" ? m : this.action;
3422
- pe(h), fetch(h, {
3428
+ he(h), fetch(h, {
3423
3429
  body: i,
3424
3430
  headers: r,
3425
3431
  method: this.method || "post"
@@ -3428,7 +3434,7 @@ const sr = /* @__PURE__ */ g(or, [["render", ir]]), ar = {
3428
3434
  let f;
3429
3435
  const S = d.headers.get("content-type");
3430
3436
  if (S && S.indexOf("application/json") !== -1 ? f = await d.json() : f = await d.text(), !d.ok && this.errorMessagePath) {
3431
- let w = Ae(f, this.errorMessagePath);
3437
+ let w = We(f, this.errorMessagePath);
3432
3438
  w && (typeof w != "string" && (w = JSON.stringify(w)), this.formErrorMessage = w, this.mergeNewRootState({
3433
3439
  formErrorMessage: w
3434
3440
  }));
@@ -3469,11 +3475,11 @@ const sr = /* @__PURE__ */ g(or, [["render", ir]]), ar = {
3469
3475
  }
3470
3476
  }
3471
3477
  }
3472
- }), ur = ["validate", "action", "method", "name"], pr = {
3478
+ }), mr = ["validate", "action", "method", "name"], hr = {
3473
3479
  key: 3,
3474
3480
  class: "builder-form-error-text pre-3q96myty4lk"
3475
3481
  };
3476
- function mr(e, t, n, o, r, i) {
3482
+ function fr(e, t, n, o, r, i) {
3477
3483
  var a;
3478
3484
  const s = k("Block"), l = k("Blocks");
3479
3485
  return c(), p("form", C({
@@ -3503,16 +3509,16 @@ function mr(e, t, n, o, r, i) {
3503
3509
  blocks: e.sendingMessage,
3504
3510
  context: e.builderContext
3505
3511
  }, null, 8, ["blocks", "context"])) : v("", !0),
3506
- e.submissionState() === "error" && e.responseData ? (c(), p("pre", pr, ee(JSON.stringify(e.responseData, null, 2)), 1)) : v("", !0),
3512
+ e.submissionState() === "error" && e.responseData ? (c(), p("pre", hr, te(JSON.stringify(e.responseData, null, 2)), 1)) : v("", !0),
3507
3513
  e.submissionState() === "success" ? (c(), y(l, {
3508
3514
  key: 4,
3509
3515
  path: "successMessage",
3510
3516
  blocks: e.successMessage,
3511
3517
  context: e.builderContext
3512
3518
  }, null, 8, ["blocks", "context"])) : v("", !0)
3513
- ], 16, ur);
3519
+ ], 16, mr);
3514
3520
  }
3515
- const hr = /* @__PURE__ */ g(dr, [["render", mr], ["__scopeId", "data-v-cd94d6c1"]]), fr = {
3521
+ const br = /* @__PURE__ */ g(pr, [["render", fr], ["__scopeId", "data-v-cd94d6c1"]]), gr = {
3516
3522
  name: "Form:Input",
3517
3523
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fad6f37889d9e40bbbbc72cdb5875d6ca",
3518
3524
  inputs: [
@@ -3563,7 +3569,7 @@ const hr = /* @__PURE__ */ g(dr, [["render", mr], ["__scopeId", "data-v-cd94d6c1
3563
3569
  borderStyle: "solid",
3564
3570
  borderColor: "#ccc"
3565
3571
  }
3566
- }, br = b({
3572
+ }, yr = b({
3567
3573
  name: "builder-form-input-component",
3568
3574
  props: [
3569
3575
  "attributes",
@@ -3577,8 +3583,8 @@ const hr = /* @__PURE__ */ g(dr, [["render", mr], ["__scopeId", "data-v-cd94d6c1
3577
3583
  data() {
3578
3584
  return { isEditing: B, filterAttrs: W };
3579
3585
  }
3580
- }), gr = ["placeholder", "type", "name", "value", "defaultValue", "required"];
3581
- function yr(e, t, n, o, r, i) {
3586
+ }), kr = ["placeholder", "type", "name", "value", "defaultValue", "required"];
3587
+ function vr(e, t, n, o, r, i) {
3582
3588
  return c(), p("input", C({
3583
3589
  key: e.isEditing() && e.defaultValue ? e.defaultValue : "default-key",
3584
3590
  placeholder: e.placeholder,
@@ -3587,9 +3593,9 @@ function yr(e, t, n, o, r, i) {
3587
3593
  value: e.value,
3588
3594
  defaultValue: e.defaultValue,
3589
3595
  required: e.required
3590
- }, e.filterAttrs(e.attributes, "v-on:", !1), x(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16, gr);
3596
+ }, e.filterAttrs(e.attributes, "v-on:", !1), x(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16, kr);
3591
3597
  }
3592
- const kr = /* @__PURE__ */ g(br, [["render", yr]]), vr = {
3598
+ const Sr = /* @__PURE__ */ g(yr, [["render", vr]]), Cr = {
3593
3599
  name: "Form:Select",
3594
3600
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F83acca093fb24aaf94dee136e9a4b045",
3595
3601
  defaultStyles: {
@@ -3631,14 +3637,14 @@ const kr = /* @__PURE__ */ g(br, [["render", yr]]), vr = {
3631
3637
  }],
3632
3638
  static: !0,
3633
3639
  noWrap: !0
3634
- }, Sr = b({
3640
+ }, wr = b({
3635
3641
  name: "builder-select-component",
3636
3642
  props: ["attributes", "value", "defaultValue", "name", "required", "options"],
3637
3643
  data() {
3638
3644
  return { isEditing: B, filterAttrs: W };
3639
3645
  }
3640
- }), Cr = ["value", "defaultValue", "name", "required"], wr = ["value"];
3641
- function Tr(e, t, n, o, r, i) {
3646
+ }), Tr = ["value", "defaultValue", "name", "required"], Ir = ["value"];
3647
+ function $r(e, t, n, o, r, i) {
3642
3648
  return c(), p("select", C({
3643
3649
  value: e.value,
3644
3650
  key: e.isEditing() && e.defaultValue ? e.defaultValue : "default-key",
@@ -3649,10 +3655,10 @@ function Tr(e, t, n, o, r, i) {
3649
3655
  (c(!0), p(T, null, V(e.options, (s, l) => (c(), p("option", {
3650
3656
  key: `${s.name}-${l}`,
3651
3657
  value: s.value
3652
- }, ee(s.name || s.value), 9, wr))), 128))
3653
- ], 16, Cr);
3658
+ }, te(s.name || s.value), 9, Ir))), 128))
3659
+ ], 16, Tr);
3654
3660
  }
3655
- const Ir = /* @__PURE__ */ g(Sr, [["render", Tr]]), $r = {
3661
+ const Rr = /* @__PURE__ */ g(wr, [["render", $r]]), Er = {
3656
3662
  name: "Form:SubmitButton",
3657
3663
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fdf2820ffed1f4349a94c40b3221f5b98",
3658
3664
  defaultStyles: {
@@ -3677,17 +3683,17 @@ const Ir = /* @__PURE__ */ g(Sr, [["render", Tr]]), $r = {
3677
3683
  // that only shows if advanced setting is flipped
3678
3684
  // TODO: defaultChildren
3679
3685
  // canHaveChildren: true,
3680
- }, Rr = b({
3686
+ }, Pr = b({
3681
3687
  name: "builder-submit-button",
3682
3688
  props: ["attributes", "text"],
3683
3689
  data() {
3684
3690
  return { filterAttrs: W };
3685
3691
  }
3686
3692
  });
3687
- function Er(e, t, n, o, r, i) {
3688
- return c(), p("button", C({ type: "submit" }, e.filterAttrs(e.attributes, "v-on:", !1), x(e.filterAttrs(e.attributes, "v-on:", !0), !0)), ee(e.text), 17);
3693
+ function Br(e, t, n, o, r, i) {
3694
+ return c(), p("button", C({ type: "submit" }, e.filterAttrs(e.attributes, "v-on:", !1), x(e.filterAttrs(e.attributes, "v-on:", !0), !0)), te(e.text), 17);
3689
3695
  }
3690
- const Pr = /* @__PURE__ */ g(Rr, [["render", Er]]), Br = {
3696
+ const xr = /* @__PURE__ */ g(Pr, [["render", Br]]), Ar = {
3691
3697
  name: "Form:TextArea",
3692
3698
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Ff74a2f3de58c4c3e939204e5b6b8f6c3",
3693
3699
  inputs: [{
@@ -3723,7 +3729,7 @@ const Pr = /* @__PURE__ */ g(Rr, [["render", Er]]), Br = {
3723
3729
  },
3724
3730
  static: !0,
3725
3731
  noWrap: !0
3726
- }, xr = b({
3732
+ }, Vr = b({
3727
3733
  name: "builder-textarea",
3728
3734
  props: [
3729
3735
  "attributes",
@@ -3736,17 +3742,17 @@ const Pr = /* @__PURE__ */ g(Rr, [["render", Er]]), Br = {
3736
3742
  data() {
3737
3743
  return { filterAttrs: W };
3738
3744
  }
3739
- }), Ar = ["placeholder", "name", "value", "defaultValue", "required"];
3740
- function Vr(e, t, n, o, r, i) {
3745
+ }), Wr = ["placeholder", "name", "value", "defaultValue", "required"];
3746
+ function Nr(e, t, n, o, r, i) {
3741
3747
  return c(), p("textarea", C({
3742
3748
  placeholder: e.placeholder,
3743
3749
  name: e.name,
3744
3750
  value: e.value,
3745
3751
  defaultValue: e.defaultValue,
3746
3752
  required: e.required
3747
- }, e.filterAttrs(e.attributes, "v-on:", !1), x(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16, Ar);
3753
+ }, e.filterAttrs(e.attributes, "v-on:", !1), x(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16, Wr);
3748
3754
  }
3749
- const Wr = /* @__PURE__ */ g(xr, [["render", Vr]]), Nr = {
3755
+ const Or = /* @__PURE__ */ g(Vr, [["render", Nr]]), Fr = {
3750
3756
  // friendlyName?
3751
3757
  name: "Raw:Img",
3752
3758
  hideFromInsertMenu: !0,
@@ -3760,7 +3766,7 @@ const Wr = /* @__PURE__ */ g(xr, [["render", Vr]]), Nr = {
3760
3766
  }],
3761
3767
  noWrap: !0,
3762
3768
  static: !0
3763
- }, Or = b({
3769
+ }, Dr = b({
3764
3770
  name: "builder-img-component",
3765
3771
  props: [
3766
3772
  "backgroundSize",
@@ -3773,8 +3779,8 @@ const Wr = /* @__PURE__ */ g(xr, [["render", Vr]]), Nr = {
3773
3779
  data() {
3774
3780
  return { isEditing: B, filterAttrs: W };
3775
3781
  }
3776
- }), Fr = ["alt", "src"];
3777
- function Dr(e, t, n, o, r, i) {
3782
+ }), Lr = ["alt", "src"];
3783
+ function Ur(e, t, n, o, r, i) {
3778
3784
  return c(), p("img", C({
3779
3785
  style: {
3780
3786
  objectFit: e.backgroundSize || "cover",
@@ -3783,9 +3789,9 @@ function Dr(e, t, n, o, r, i) {
3783
3789
  key: e.isEditing() && e.imgSrc || "default-key",
3784
3790
  alt: e.altText,
3785
3791
  src: e.imgSrc || e.image
3786
- }, e.filterAttrs(e.attributes, "v-on:", !1), x(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16, Fr);
3792
+ }, e.filterAttrs(e.attributes, "v-on:", !1), x(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16, Lr);
3787
3793
  }
3788
- const Lr = /* @__PURE__ */ g(Or, [["render", Dr]]), Ur = {
3794
+ const Mr = /* @__PURE__ */ g(Dr, [["render", Ur]]), Hr = {
3789
3795
  name: "Video",
3790
3796
  canHaveChildren: !0,
3791
3797
  defaultStyles: {
@@ -3869,7 +3875,7 @@ const Lr = /* @__PURE__ */ g(Or, [["render", Dr]]), Ur = {
3869
3875
  shouldReceiveBuilderProps: {
3870
3876
  builderBlock: !0
3871
3877
  }
3872
- }, Mr = b({
3878
+ }, jr = b({
3873
3879
  name: "builder-video",
3874
3880
  props: [
3875
3881
  "autoPlay",
@@ -3914,16 +3920,16 @@ const Lr = /* @__PURE__ */ g(Or, [["render", Dr]]), Ur = {
3914
3920
  };
3915
3921
  }
3916
3922
  }
3917
- }), Hr = { style: {
3923
+ }), Kr = { style: {
3918
3924
  position: "relative"
3919
- } }, jr = ["preload", "src", "poster"], Kr = ["src"], qr = {
3925
+ } }, qr = ["preload", "src", "poster"], zr = ["src"], Gr = {
3920
3926
  key: 1,
3921
3927
  style: {
3922
3928
  display: "flex",
3923
3929
  flexDirection: "column",
3924
3930
  alignItems: "stretch"
3925
3931
  }
3926
- }, zr = {
3932
+ }, Jr = {
3927
3933
  key: 2,
3928
3934
  style: {
3929
3935
  pointerEvents: "none",
@@ -3937,9 +3943,9 @@ const Lr = /* @__PURE__ */ g(Or, [["render", Dr]]), Ur = {
3937
3943
  height: "100%"
3938
3944
  }
3939
3945
  };
3940
- function Gr(e, t, n, o, r, i) {
3946
+ function Yr(e, t, n, o, r, i) {
3941
3947
  var s, l, a, u, m, h, d;
3942
- return c(), p("div", Hr, [
3948
+ return c(), p("div", Kr, [
3943
3949
  q("video", C({
3944
3950
  class: "builder-video",
3945
3951
  preload: e.preload || "metadata",
@@ -3964,8 +3970,8 @@ function Gr(e, t, n, o, r, i) {
3964
3970
  key: 0,
3965
3971
  type: "video/mp4",
3966
3972
  src: e.video
3967
- }, null, 8, Kr))
3968
- ], 16, jr),
3973
+ }, null, 8, zr))
3974
+ ], 16, qr),
3969
3975
  e.aspectRatio && !(e.fitContent && ((a = (l = e.builderBlock) == null ? void 0 : l.children) != null && a.length)) ? (c(), p("div", {
3970
3976
  key: 0,
3971
3977
  style: F({
@@ -3975,72 +3981,72 @@ function Gr(e, t, n, o, r, i) {
3975
3981
  fontSize: "0px"
3976
3982
  })
3977
3983
  }, null, 4)) : v("", !0),
3978
- (m = (u = e.builderBlock) == null ? void 0 : u.children) != null && m.length && e.fitContent ? (c(), p("div", qr, [
3984
+ (m = (u = e.builderBlock) == null ? void 0 : u.children) != null && m.length && e.fitContent ? (c(), p("div", Gr, [
3979
3985
  A(e.$slots, "default")
3980
3986
  ])) : v("", !0),
3981
- (d = (h = e.builderBlock) == null ? void 0 : h.children) != null && d.length && !e.fitContent ? (c(), p("div", zr, [
3987
+ (d = (h = e.builderBlock) == null ? void 0 : h.children) != null && d.length && !e.fitContent ? (c(), p("div", Jr, [
3982
3988
  A(e.$slots, "default")
3983
3989
  ])) : v("", !0)
3984
3990
  ]);
3985
3991
  }
3986
- const Jr = /* @__PURE__ */ g(Mr, [["render", Gr]]), Yr = () => [{
3987
- component: _o,
3988
- ...Yo
3989
- }, {
3990
- component: sr,
3991
- ...er
3992
+ const Xr = /* @__PURE__ */ g(jr, [["render", Yr]]), Qr = () => [{
3993
+ component: tr,
3994
+ ...Qo
3992
3995
  }, {
3993
- component: hr,
3994
- ...ar
3996
+ component: lr,
3997
+ ...nr
3995
3998
  }, {
3996
- component: kr,
3997
- ...fr
3999
+ component: br,
4000
+ ...cr
3998
4001
  }, {
3999
- component: Pr,
4000
- ...$r
4002
+ component: Sr,
4003
+ ...gr
4001
4004
  }, {
4002
- component: Ir,
4003
- ...vr
4005
+ component: xr,
4006
+ ...Er
4004
4007
  }, {
4005
- component: Wr,
4006
- ...Br
4008
+ component: Rr,
4009
+ ...Cr
4007
4010
  }, {
4008
- component: Lr,
4009
- ...Nr
4011
+ component: Or,
4012
+ ...Ar
4010
4013
  }, {
4011
- component: Jr,
4012
- ...Ur
4013
- }], Re = () => [{
4014
- component: Ct,
4015
- ...Eo
4014
+ component: Mr,
4015
+ ...Fr
4016
4016
  }, {
4017
- component: so,
4018
- ...Po
4019
- }, {
4020
- component: co,
4017
+ component: Xr,
4018
+ ...Hr
4019
+ }], Pe = () => [{
4020
+ component: Tt,
4021
4021
  ...Bo
4022
4022
  }, {
4023
- component: yo,
4023
+ component: lo,
4024
4024
  ...xo
4025
4025
  }, {
4026
- component: So,
4026
+ component: po,
4027
4027
  ...Ao
4028
4028
  }, {
4029
- component: Oo,
4029
+ component: vo,
4030
4030
  ...Vo
4031
4031
  }, {
4032
- component: Bi,
4033
- ...Fo
4032
+ component: wo,
4033
+ ...Wo
4034
+ }, {
4035
+ component: Do,
4036
+ ...No
4034
4037
  }, {
4035
- component: Jo,
4036
- ...Ko
4038
+ component: Ai,
4039
+ ...Lo
4037
4040
  }, {
4038
- component: jo,
4039
- ...Do
4041
+ component: Xo,
4042
+ ...zo
4040
4043
  }, {
4041
- component: Ro,
4042
- ...Co
4043
- }, ...Yr()], Xr = `function updateCookiesAndStyles(contentId, variants, isHydrationTarget) {
4044
+ component: qo,
4045
+ ...Uo
4046
+ }, {
4047
+ component: Po,
4048
+ ...To
4049
+ }, ...Qr()], Zr = `function updateCookiesAndStyles(contentId, variants, isHydrationTarget) {
4044
4050
  function getAndSetVariantId() {
4045
4051
  function setCookie(name, value, days) {
4046
4052
  let expires = '';
@@ -4096,7 +4102,7 @@ const Jr = /* @__PURE__ */ g(Mr, [["render", Gr]]), Yr = () => [{
4096
4102
  }).join('');
4097
4103
  styleEl.innerHTML = newStyleStr;
4098
4104
  }
4099
- }`, Qr = `function updateVariantVisibility(variantContentId, defaultContentId, isHydrationTarget) {
4105
+ }`, _r = `function updateVariantVisibility(variantContentId, defaultContentId, isHydrationTarget) {
4100
4106
  if (!navigator.cookieEnabled) {
4101
4107
  return;
4102
4108
  }
@@ -4130,27 +4136,27 @@ const Jr = /* @__PURE__ */ g(Mr, [["render", Gr]]), Yr = () => [{
4130
4136
  thisScriptEl?.remove();
4131
4137
  }
4132
4138
  return;
4133
- }`, at = "builderIoAbTest", lt = "builderIoRenderContent", Q = (e) => Object.values((e == null ? void 0 : e.variations) || {}).map((t) => ({
4139
+ }`, ct = "builderIoAbTest", dt = "builderIoRenderContent", Z = (e) => Object.values((e == null ? void 0 : e.variations) || {}).map((t) => ({
4134
4140
  ...t,
4135
4141
  testVariationId: t.id,
4136
4142
  id: e == null ? void 0 : e.id
4137
- })), Zr = ({
4143
+ })), ei = ({
4138
4144
  canTrack: e,
4139
4145
  content: t
4140
- }) => !(!(Q(t).length > 0) || !e), _r = (e) => e === "react" || e === "reactNative", ct = _r(P), ei = () => `
4141
- window.${at} = ${Xr}
4142
- window.${lt} = ${Qr}
4143
- `, ti = (e, t) => `
4144
- window.${at}(
4145
- "${t}",${JSON.stringify(e)}, ${ct}
4146
- )`, ni = ({
4146
+ }) => !(!(Z(t).length > 0) || !e), ti = (e) => e === "react" || e === "reactNative", ut = ti(P), ni = () => `
4147
+ window.${ct} = ${Zr}
4148
+ window.${dt} = ${_r}
4149
+ `, oi = (e, t) => `
4150
+ window.${ct}(
4151
+ "${t}",${JSON.stringify(e)}, ${ut}
4152
+ )`, ri = ({
4147
4153
  contentId: e,
4148
4154
  variationId: t
4149
- }) => `window.${lt}(
4150
- "${t}", "${e}", ${ct}
4151
- )`, dt = b({
4155
+ }) => `window.${dt}(
4156
+ "${t}", "${e}", ${ut}
4157
+ )`, pt = b({
4152
4158
  render() {
4153
- return Be("script", {
4159
+ return Ae("script", {
4154
4160
  innerHTML: this.scriptStr,
4155
4161
  "data-id": this.id,
4156
4162
  nonce: this.nonce
@@ -4159,10 +4165,10 @@ const Jr = /* @__PURE__ */ g(Mr, [["render", Gr]]), Yr = () => [{
4159
4165
  name: "inlined-script",
4160
4166
  props: ["scriptStr", "id", "nonce"]
4161
4167
  });
4162
- function Ee(e) {
4168
+ function Be(e) {
4163
4169
  return Math.round(e * 1e3) / 1e3;
4164
4170
  }
4165
- const oi = (e, t, n = !0) => {
4171
+ const ii = (e, t, n = !0) => {
4166
4172
  if (!(e instanceof HTMLElement))
4167
4173
  return null;
4168
4174
  let o = n ? e : e.parentElement;
@@ -4173,35 +4179,35 @@ const oi = (e, t, n = !0) => {
4173
4179
  return o;
4174
4180
  } while (o = o.parentElement);
4175
4181
  return null;
4176
- }, ri = (e) => oi(e, (t) => {
4182
+ }, si = (e) => ii(e, (t) => {
4177
4183
  const n = t.getAttribute("builder-id") || t.id;
4178
4184
  return (n == null ? void 0 : n.indexOf("builder-")) === 0;
4179
- }), Pe = ({
4185
+ }), xe = ({
4180
4186
  event: e,
4181
4187
  target: t
4182
4188
  }) => {
4183
- const n = t.getBoundingClientRect(), o = e.clientX - n.left, r = e.clientY - n.top, i = Ee(o / n.width), s = Ee(r / n.height);
4189
+ const n = t.getBoundingClientRect(), o = e.clientX - n.left, r = e.clientY - n.top, i = Be(o / n.width), s = Be(r / n.height);
4184
4190
  return {
4185
4191
  x: i,
4186
4192
  y: s
4187
4193
  };
4188
- }, ii = (e) => {
4189
- const t = e.target, n = t && ri(t), o = (n == null ? void 0 : n.getAttribute("builder-id")) || (n == null ? void 0 : n.id);
4194
+ }, ai = (e) => {
4195
+ const t = e.target, n = t && si(t), o = (n == null ? void 0 : n.getAttribute("builder-id")) || (n == null ? void 0 : n.id);
4190
4196
  return {
4191
4197
  targetBuilderElement: o || void 0,
4192
4198
  metadata: {
4193
- targetOffset: t ? Pe({
4199
+ targetOffset: t ? xe({
4194
4200
  event: e,
4195
4201
  target: t
4196
4202
  }) : void 0,
4197
- builderTargetOffset: n ? Pe({
4203
+ builderTargetOffset: n ? xe({
4198
4204
  event: e,
4199
4205
  target: n
4200
4206
  }) : void 0,
4201
4207
  builderElementIndex: n && o ? [].slice.call(document.getElementsByClassName(o)).indexOf(n) : void 0
4202
4208
  }
4203
4209
  };
4204
- }, si = (e) => {
4210
+ }, li = (e) => {
4205
4211
  var i;
4206
4212
  const t = e.family + (e.kind && !e.kind.includes("#") ? ", " + e.kind : ""), n = t.split(",")[0], o = e.fileUrl ?? ((i = e == null ? void 0 : e.files) == null ? void 0 : i.regular);
4207
4213
  let r = "";
@@ -4227,15 +4233,15 @@ font-weight: ${s};
4227
4233
  `.trim());
4228
4234
  }
4229
4235
  return r;
4230
- }, ai = ({
4236
+ }, ci = ({
4231
4237
  customFonts: e
4232
4238
  }) => {
4233
4239
  var t;
4234
- return ((t = e == null ? void 0 : e.map((n) => si(n))) == null ? void 0 : t.join(" ")) || "";
4235
- }, li = ({
4240
+ return ((t = e == null ? void 0 : e.map((n) => li(n))) == null ? void 0 : t.join(" ")) || "";
4241
+ }, di = ({
4236
4242
  cssCode: e,
4237
4243
  contentId: t
4238
- }) => e ? t ? (e == null ? void 0 : e.replace(/&/g, `div[builder-content-id="${t}"]`)) || "" : e : "", ci = `
4244
+ }) => e ? t ? (e == null ? void 0 : e.replace(/&/g, `div[builder-content-id="${t}"]`)) || "" : e : "", ui = `
4239
4245
  .builder-button {
4240
4246
  all: unset;
4241
4247
  }
@@ -4252,7 +4258,7 @@ font-weight: ${s};
4252
4258
  text-align: inherit;
4253
4259
  font-family: inherit;
4254
4260
  }
4255
- `, di = (e) => e ? "" : ci, ui = (e) => `variant-${e}`, pi = b({
4261
+ `, pi = (e) => e ? "" : ui, mi = (e) => `variant-${e}`, hi = b({
4256
4262
  name: "enable-editor",
4257
4263
  components: { DynamicDiv: Y },
4258
4264
  props: [
@@ -4278,14 +4284,14 @@ font-weight: ${s};
4278
4284
  httpReqsData: {},
4279
4285
  httpReqsPending: {},
4280
4286
  clicked: !1,
4281
- builderContext: se,
4282
- getWrapperClassName: ui
4287
+ builderContext: le,
4288
+ getWrapperClassName: mi
4283
4289
  };
4284
4290
  },
4285
4291
  provide() {
4286
4292
  const e = this;
4287
4293
  return {
4288
- [se.key]: e.builderContextSignal
4294
+ [le.key]: e.builderContextSignal
4289
4295
  };
4290
4296
  },
4291
4297
  created() {
@@ -4298,7 +4304,7 @@ font-weight: ${s};
4298
4304
  new CustomEvent("initeditingbldr")
4299
4305
  ), this.builderContextSignal.content && G(this.canTrack)) {
4300
4306
  const o = (e = this.builderContextSignal.content) == null ? void 0 : e.testVariationId, r = (t = this.builderContextSignal.content) == null ? void 0 : t.id, i = this.apiKey;
4301
- le({
4307
+ de({
4302
4308
  apiHost: this.apiHost,
4303
4309
  type: "impression",
4304
4310
  canTrack: !0,
@@ -4307,7 +4313,7 @@ font-weight: ${s};
4307
4313
  variationId: o !== r ? o : void 0
4308
4314
  });
4309
4315
  }
4310
- Kt() && !B() && this.$refs.elementRef && this.$refs.elementRef.dispatchEvent(
4316
+ zt() && !B() && this.$refs.elementRef && this.$refs.elementRef.dispatchEvent(
4311
4317
  new CustomEvent("initpreviewingbldr")
4312
4318
  );
4313
4319
  }
@@ -4401,7 +4407,7 @@ font-weight: ${s};
4401
4407
  this.builderContextSignal.content = t;
4402
4408
  },
4403
4409
  processMessage(e) {
4404
- return Xe({
4410
+ return Ze({
4405
4411
  model: this.model,
4406
4412
  trustedHosts: this.trustedHosts,
4407
4413
  callbacks: {
@@ -4415,7 +4421,7 @@ font-weight: ${s};
4415
4421
  });
4416
4422
  },
4417
4423
  animation: (t) => {
4418
- ot(t);
4424
+ it(t);
4419
4425
  },
4420
4426
  contentUpdate: (t) => {
4421
4427
  this.mergeNewContent(t);
@@ -4427,14 +4433,14 @@ font-weight: ${s};
4427
4433
  var t, n;
4428
4434
  if (this.builderContextSignal.content) {
4429
4435
  const o = (t = this.builderContextSignal.content) == null ? void 0 : t.testVariationId, r = (n = this.builderContextSignal.content) == null ? void 0 : n.id;
4430
- le({
4436
+ de({
4431
4437
  apiHost: this.apiHost,
4432
4438
  type: "click",
4433
4439
  canTrack: G(this.canTrack),
4434
4440
  contentId: r,
4435
4441
  apiKey: this.apiKey,
4436
4442
  variationId: o !== r ? o : void 0,
4437
- ...ii(e),
4443
+ ...ai(e),
4438
4444
  unique: !this.clicked
4439
4445
  });
4440
4446
  }
@@ -4459,7 +4465,7 @@ font-weight: ${s};
4459
4465
  })
4460
4466
  )
4461
4467
  );
4462
- pe(i), fetch(i).then((s) => s.json()).then((s) => {
4468
+ he(i), fetch(i).then((s) => s.json()).then((s) => {
4463
4469
  this.mergeNewRootState({
4464
4470
  [o]: s
4465
4471
  }), this.httpReqsData[o] = !0;
@@ -4476,7 +4482,7 @@ font-weight: ${s};
4476
4482
  "builder:component:stateChange",
4477
4483
  {
4478
4484
  detail: {
4479
- state: ue(this.builderContextSignal.rootState),
4485
+ state: me(this.builderContextSignal.rootState),
4480
4486
  ref: {
4481
4487
  name: this.model
4482
4488
  }
@@ -4486,7 +4492,7 @@ font-weight: ${s};
4486
4492
  );
4487
4493
  },
4488
4494
  elementRef_onIniteditingbldr(e) {
4489
- window.addEventListener("message", this.processMessage), mn(), Ye({
4495
+ window.addEventListener("message", this.processMessage), fn(), Qe({
4490
4496
  ...this.locale ? {
4491
4497
  locale: this.locale
4492
4498
  } : {},
@@ -4500,7 +4506,7 @@ font-weight: ${s};
4500
4506
  this.builderContextSignal.componentInfos
4501
4507
  ).forEach((t) => {
4502
4508
  var o;
4503
- const n = qt(t);
4509
+ const n = Gt(t);
4504
4510
  (o = window.parent) == null || o.postMessage(n, "*");
4505
4511
  }), window.addEventListener(
4506
4512
  "builder:component:stateChangeListenerActivated",
@@ -4511,7 +4517,7 @@ font-weight: ${s};
4511
4517
  const t = new URL(location.href).searchParams, n = t.get("builder.preview"), o = t.get(
4512
4518
  `builder.overrides.${n}`
4513
4519
  ), r = t.get("apiKey") || t.get("builder.space");
4514
- n === this.model && r === this.apiKey && (!this.content || o === this.content.id) && fe({
4520
+ n === this.model && r === this.apiKey && (!this.content || o === this.content.id) && ge({
4515
4521
  model: this.model,
4516
4522
  apiKey: this.apiKey,
4517
4523
  apiVersion: this.builderContextSignal.apiVersion
@@ -4521,7 +4527,7 @@ font-weight: ${s};
4521
4527
  }
4522
4528
  }
4523
4529
  });
4524
- function mi(e, t, n, o, r, i) {
4530
+ function fi(e, t, n, o, r, i) {
4525
4531
  var s, l, a;
4526
4532
  return e.builderContextSignal.content ? (c(), y(j(e.ContentWrapper), C({
4527
4533
  key: 0,
@@ -4539,26 +4545,26 @@ function mi(e, t, n, o, r, i) {
4539
4545
  _: 3
4540
4546
  }, 16, ["onClick", "builder-content-id", "builder-model", "className", "onIniteditingbldr", "onInitpreviewingbldr"])) : v("", !0);
4541
4547
  }
4542
- const hi = /* @__PURE__ */ g(pi, [["render", mi]]), fi = b({
4548
+ const bi = /* @__PURE__ */ g(hi, [["render", fi]]), gi = b({
4543
4549
  name: "content-styles",
4544
- components: { InlinedStyles: ye },
4550
+ components: { InlinedStyles: ve },
4545
4551
  props: ["cssCode", "contentId", "customFonts", "isNestedRender", "nonce"],
4546
4552
  data() {
4547
4553
  return {
4548
4554
  injectedStyles: `
4549
- ${li({
4555
+ ${di({
4550
4556
  cssCode: this.cssCode,
4551
4557
  contentId: this.contentId
4552
4558
  })}
4553
- ${ai({
4559
+ ${ci({
4554
4560
  customFonts: this.customFonts
4555
4561
  })}
4556
- ${di(this.isNestedRender)}
4562
+ ${pi(this.isNestedRender)}
4557
4563
  `.trim()
4558
4564
  };
4559
4565
  }
4560
4566
  });
4561
- function bi(e, t, n, o, r, i) {
4567
+ function yi(e, t, n, o, r, i) {
4562
4568
  const s = k("InlinedStyles");
4563
4569
  return c(), y(s, {
4564
4570
  id: "builderio-content",
@@ -4566,7 +4572,7 @@ function bi(e, t, n, o, r, i) {
4566
4572
  nonce: e.nonce
4567
4573
  }, null, 8, ["styles", "nonce"]);
4568
4574
  }
4569
- const gi = /* @__PURE__ */ g(fi, [["render", bi]]), yi = ({
4575
+ const ki = /* @__PURE__ */ g(gi, [["render", yi]]), vi = ({
4570
4576
  content: e,
4571
4577
  data: t,
4572
4578
  locale: n
@@ -4583,7 +4589,7 @@ const gi = /* @__PURE__ */ g(fi, [["render", bi]]), yi = ({
4583
4589
  locale: n
4584
4590
  } : {}
4585
4591
  };
4586
- }, ki = ({
4592
+ }, Si = ({
4587
4593
  content: e,
4588
4594
  data: t
4589
4595
  }) => e ? {
@@ -4593,12 +4599,12 @@ const gi = /* @__PURE__ */ g(fi, [["render", bi]]), yi = ({
4593
4599
  ...t
4594
4600
  },
4595
4601
  meta: e == null ? void 0 : e.meta
4596
- } : void 0, vi = ft, Si = b({
4602
+ } : void 0, Ci = gt, wi = b({
4597
4603
  name: "content-component",
4598
4604
  components: {
4599
- EnableEditor: hi,
4600
- InlinedScript: dt,
4601
- ContentStyles: gi,
4605
+ EnableEditor: bi,
4606
+ InlinedScript: pt,
4607
+ ContentStyles: ki,
4602
4608
  Blocks: U,
4603
4609
  DynamicDiv: Y
4604
4610
  },
@@ -4628,32 +4634,32 @@ const gi = /* @__PURE__ */ g(fi, [["render", bi]]), yi = ({
4628
4634
  data() {
4629
4635
  var e, t, n, o;
4630
4636
  return {
4631
- scriptStr: ni({
4637
+ scriptStr: ri({
4632
4638
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
4633
4639
  variationId: (e = this.content) == null ? void 0 : e.testVariationId,
4634
4640
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
4635
4641
  contentId: (t = this.content) == null ? void 0 : t.id
4636
4642
  }),
4637
4643
  registeredComponents: [
4638
- ...Re(),
4644
+ ...Pe(),
4639
4645
  ...((n = this.customComponents) == null ? void 0 : n.filter(({ models: r }) => !(r != null && r.length) || !this.model ? !0 : r.includes(this.model))) || []
4640
4646
  ].reduce(
4641
4647
  (r, { component: i, ...s }) => ({
4642
4648
  ...r,
4643
4649
  [s.name]: {
4644
- component: vi(i),
4645
- ..._(s)
4650
+ component: Ci(i),
4651
+ ...ee(s)
4646
4652
  }
4647
4653
  }),
4648
4654
  {}
4649
4655
  ),
4650
4656
  builderContextSignal: {
4651
- content: ki({
4657
+ content: Si({
4652
4658
  content: this.content,
4653
4659
  data: this.data
4654
4660
  }),
4655
4661
  localState: void 0,
4656
- rootState: yi({
4662
+ rootState: vi({
4657
4663
  content: this.content,
4658
4664
  data: this.data,
4659
4665
  locale: this.locale
@@ -4664,12 +4670,12 @@ const gi = /* @__PURE__ */ g(fi, [["render", bi]]), yi = ({
4664
4670
  apiKey: this.apiKey,
4665
4671
  apiVersion: this.apiVersion,
4666
4672
  componentInfos: [
4667
- ...Re(),
4673
+ ...Pe(),
4668
4674
  ...((o = this.customComponents) == null ? void 0 : o.filter(({ models: r }) => !(r != null && r.length) || !this.model ? !0 : r.includes(this.model))) || []
4669
4675
  ].reduce(
4670
4676
  (r, { component: i, ...s }) => ({
4671
4677
  ...r,
4672
- [s.name]: _(s)
4678
+ [s.name]: ee(s)
4673
4679
  }),
4674
4680
  {}
4675
4681
  ),
@@ -4684,7 +4690,7 @@ const gi = /* @__PURE__ */ g(fi, [["render", bi]]), yi = ({
4684
4690
  provide() {
4685
4691
  const e = this;
4686
4692
  return {
4687
- [xe.key]: {
4693
+ [Ve.key]: {
4688
4694
  registeredComponents: e.registeredComponents
4689
4695
  }
4690
4696
  };
@@ -4712,7 +4718,7 @@ const gi = /* @__PURE__ */ g(fi, [["render", bi]]), yi = ({
4712
4718
  }
4713
4719
  }
4714
4720
  });
4715
- function Ci(e, t, n, o, r, i) {
4721
+ function Ti(e, t, n, o, r, i) {
4716
4722
  const s = k("InlinedScript"), l = k("ContentStyles"), a = k("Blocks"), u = k("EnableEditor");
4717
4723
  return c(), y(u, C({
4718
4724
  apiHost: e.apiHost,
@@ -4760,12 +4766,12 @@ function Ci(e, t, n, o, r, i) {
4760
4766
  _: 1
4761
4767
  }, 16, ["apiHost", "nonce", "content", "data", "model", "context", "apiKey", "canTrack", "locale", "enrich", "showContent", "builderContextSignal", "contentWrapper", "contentWrapperProps", "trustedHosts", "isNestedRender"]);
4762
4768
  }
4763
- const wi = /* @__PURE__ */ g(Si, [["render", Ci]]), Ti = b({
4769
+ const Ii = /* @__PURE__ */ g(wi, [["render", Ti]]), $i = b({
4764
4770
  name: "content-variants",
4765
4771
  components: {
4766
- InlinedScript: dt,
4767
- InlinedStyles: ye,
4768
- ContentComponent: wi
4772
+ InlinedScript: pt,
4773
+ InlinedStyles: ve,
4774
+ ContentComponent: Ii
4769
4775
  },
4770
4776
  props: [
4771
4777
  "canTrack",
@@ -4790,13 +4796,13 @@ const wi = /* @__PURE__ */ g(Si, [["render", Ci]]), Ti = b({
4790
4796
  ],
4791
4797
  data() {
4792
4798
  return {
4793
- shouldRenderVariants: Zr({
4799
+ shouldRenderVariants: ei({
4794
4800
  canTrack: G(this.canTrack),
4795
4801
  content: this.content
4796
4802
  }),
4797
4803
  TARGET: P,
4798
- getInitVariantsFnsScriptString: ei,
4799
- getVariants: Q
4804
+ getInitVariantsFnsScriptString: ni,
4805
+ getVariants: Z
4800
4806
  };
4801
4807
  },
4802
4808
  mounted() {
@@ -4804,8 +4810,8 @@ const wi = /* @__PURE__ */ g(Si, [["render", Ci]]), Ti = b({
4804
4810
  computed: {
4805
4811
  updateCookieAndStylesScriptStr() {
4806
4812
  var e;
4807
- return ti(
4808
- Q(this.content).map((t) => ({
4813
+ return oi(
4814
+ Z(this.content).map((t) => ({
4809
4815
  id: t.testVariationId,
4810
4816
  testRatio: t.testRatio
4811
4817
  })),
@@ -4813,21 +4819,21 @@ const wi = /* @__PURE__ */ g(Si, [["render", Ci]]), Ti = b({
4813
4819
  );
4814
4820
  },
4815
4821
  hideVariantsStyleString() {
4816
- return Q(this.content).map((e) => `.variant-${e.testVariationId} { display: none; } `).join("");
4822
+ return Z(this.content).map((e) => `.variant-${e.testVariationId} { display: none; } `).join("");
4817
4823
  },
4818
4824
  defaultContent() {
4819
4825
  var e;
4820
4826
  return this.shouldRenderVariants ? {
4821
4827
  ...this.content,
4822
4828
  testVariationId: (e = this.content) == null ? void 0 : e.id
4823
- } : kn({
4829
+ } : Sn({
4824
4830
  item: this.content,
4825
4831
  canTrack: G(this.canTrack)
4826
4832
  });
4827
4833
  }
4828
4834
  }
4829
4835
  });
4830
- function Ii(e, t, n, o, r, i) {
4836
+ function Ri(e, t, n, o, r, i) {
4831
4837
  const s = k("InlinedScript"), l = k("InlinedStyles"), a = k("ContentComponent");
4832
4838
  return c(), p(T, null, [
4833
4839
  !e.isNestedRender && e.TARGET !== "reactNative" ? (c(), y(s, {
@@ -4899,13 +4905,13 @@ function Ii(e, t, n, o, r, i) {
4899
4905
  }), null, 16, ["apiHost", "nonce", "isNestedRender", "content", "model", "data", "context", "apiKey", "apiVersion", "customComponents", "linkComponent", "canTrack", "locale", "enrich", "isSsrAbTest", "blocksWrapper", "blocksWrapperProps", "contentWrapper", "contentWrapperProps", "trustedHosts"])
4900
4906
  ], 64);
4901
4907
  }
4902
- const $i = /* @__PURE__ */ g(Ti, [["render", Ii]]), Ri = async ({
4908
+ const Ei = /* @__PURE__ */ g($i, [["render", Ri]]), Pi = async ({
4903
4909
  builderContextValue: e,
4904
4910
  symbol: t
4905
4911
  }) => {
4906
4912
  if (t != null && t.model && // This is a hack, we should not need to check for this, but it is needed for Svelte.
4907
4913
  (e != null && e.apiKey))
4908
- return fe({
4914
+ return ge({
4909
4915
  model: t.model,
4910
4916
  apiKey: e.apiKey,
4911
4917
  apiVersion: e.apiVersion,
@@ -4917,9 +4923,9 @@ const $i = /* @__PURE__ */ g(Ti, [["render", Ii]]), Ri = async ({
4917
4923
  }).catch((n) => {
4918
4924
  E.error("Could not fetch symbol content: ", n);
4919
4925
  });
4920
- }, Ei = b({
4926
+ }, Bi = b({
4921
4927
  name: "builder-symbol",
4922
- components: { ContentVariants: $i, DynamicDiv: Y },
4928
+ components: { ContentVariants: Ei, DynamicDiv: Y },
4923
4929
  props: [
4924
4930
  "symbol",
4925
4931
  "attributes",
@@ -4954,7 +4960,7 @@ const $i = /* @__PURE__ */ g(Ti, [["render", Ii]]), Ri = async ({
4954
4960
  className() {
4955
4961
  var e, t;
4956
4962
  return [
4957
- this.attributes[Z()],
4963
+ this.attributes[_()],
4958
4964
  "builder-symbol",
4959
4965
  (e = this.symbol) != null && e.inline ? "builder-inline-symbol" : void 0,
4960
4966
  (t = this.symbol) != null && t.dynamic || this.dynamic ? "builder-dynamic-symbol" : void 0
@@ -4968,7 +4974,7 @@ const $i = /* @__PURE__ */ g(Ti, [["render", Ii]]), Ri = async ({
4968
4974
  },
4969
4975
  methods: {
4970
4976
  setContent() {
4971
- this.contentToUse || Ri({
4977
+ this.contentToUse || Pi({
4972
4978
  symbol: this.symbol,
4973
4979
  builderContextValue: this.builderContext
4974
4980
  }).then((e) => {
@@ -4977,7 +4983,7 @@ const $i = /* @__PURE__ */ g(Ti, [["render", Ii]]), Ri = async ({
4977
4983
  }
4978
4984
  }
4979
4985
  });
4980
- function Pi(e, t, n, o, r, i) {
4986
+ function xi(e, t, n, o, r, i) {
4981
4987
  var l, a, u, m, h;
4982
4988
  const s = k("ContentVariants");
4983
4989
  return c(), p("div", C({ class: e.className }, { ...e.filterAttrs(e.attributes, "v-on:", !1) }, x(e.filterAttrs(e.attributes, "v-on:", !0), !0)), [
@@ -5005,44 +5011,44 @@ function Pi(e, t, n, o, r, i) {
5005
5011
  }, null, 8, ["nonce", "apiVersion", "apiKey", "context", "customComponents", "data", "canTrack", "model", "content", "linkComponent", "blocksWrapper", "contentWrapper"])
5006
5012
  ], 16);
5007
5013
  }
5008
- const Bi = /* @__PURE__ */ g(Ei, [["render", Pi]]);
5014
+ const Ai = /* @__PURE__ */ g(Bi, [["render", xi]]);
5009
5015
  export {
5010
- En as A,
5011
- ge as B,
5012
- so as C,
5013
- fe as D,
5014
- Vi as E,
5015
- co as F,
5016
- Ui as G,
5017
- yo as I,
5018
- So as S,
5016
+ Bn as A,
5017
+ ke as B,
5018
+ lo as C,
5019
+ ge as D,
5020
+ Ni as E,
5021
+ po as F,
5022
+ Hi as G,
5023
+ vo as I,
5024
+ wo as S,
5019
5025
  P as T,
5020
- Jr as V,
5021
- ye as _,
5022
- Di as a,
5023
- Mi as b,
5026
+ Xr as V,
5027
+ ve as _,
5028
+ Ui as a,
5029
+ ji as b,
5024
5030
  D as c,
5025
- be as d,
5031
+ ye as d,
5026
5032
  g as e,
5027
5033
  J as f,
5028
- no as g,
5029
- Li as h,
5030
- Z as i,
5031
- se as j,
5032
- Ct as k,
5033
- Bi as l,
5034
- Jo as m,
5034
+ ro as g,
5035
+ Mi as h,
5036
+ _ as i,
5037
+ le as j,
5038
+ Tt as k,
5039
+ Ai as l,
5040
+ Xo as m,
5035
5041
  U as n,
5036
- $i as o,
5042
+ Ei as o,
5037
5043
  B as p,
5038
- Kt as q,
5039
- qt as r,
5040
- Gt as s,
5041
- Wi as t,
5042
- De as u,
5043
- Ni as v,
5044
- vi as w,
5045
- Oi as x,
5046
- Fi as y,
5047
- Rn as z
5044
+ zt as q,
5045
+ Gt as r,
5046
+ Yt as s,
5047
+ Oi as t,
5048
+ Ue as u,
5049
+ Fi as v,
5050
+ Ci as w,
5051
+ Di as x,
5052
+ Li as y,
5053
+ Pn as z
5048
5054
  };