@builder.io/sdk-vue 5.2.2 → 5.2.4

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 (71) hide show
  1. package/lib/browser/{awaiter-hHorxjIR.cjs → awaiter-4bKOAzti.cjs} +1 -1
  2. package/lib/browser/{awaiter-PiTJ_7wp.js → awaiter-q_DSjMVD.js} +1 -1
  3. package/lib/browser/{block-wrapper-v0E7yyzI.cjs → block-wrapper-Q-de2c75.cjs} +1 -1
  4. package/lib/browser/{block-wrapper-8FiWiPra.js → block-wrapper-YNVEwJsu.js} +3 -3
  5. package/lib/browser/{component-ref-jU5sC23e.cjs → component-ref-YeF1fWsm.cjs} +1 -1
  6. package/lib/browser/{component-ref-u11yYjHx.js → component-ref-watkJI0h.js} +4 -4
  7. package/lib/browser/components/content-variants/content-variants.vue.d.ts +0 -1
  8. package/lib/browser/components/content-variants/helpers.d.ts +0 -1
  9. package/lib/browser/constants/sdk-version.d.ts +1 -1
  10. package/lib/browser/{get-block-properties-UD7oT_P6.js → get-block-properties-DvyFZA6k.js} +1 -1
  11. package/lib/browser/{get-block-properties-AT7KmjRH.cjs → get-block-properties-Q4RE1NYS.cjs} +1 -1
  12. package/lib/browser/{index-qBdmc4Tf.js → index-DfB3iR8x.js} +357 -385
  13. package/lib/browser/{index-9zsNLjBY.cjs → index-U5K993_E.cjs} +31 -53
  14. package/lib/browser/index.cjs +1 -1
  15. package/lib/browser/index.mjs +1 -1
  16. package/lib/browser/{live-edit-yO4ZTgek.js → live-edit-9dPB7jWd.js} +1 -1
  17. package/lib/browser/{live-edit-9FW3XnJY.cjs → live-edit-naKnBygx.cjs} +1 -1
  18. package/lib/browser/{repeated-block-7Kr5DU4s.js → repeated-block-B84MBN4t.js} +2 -2
  19. package/lib/browser/{repeated-block-HJlXpRlA.cjs → repeated-block-BQB7dngl.cjs} +1 -1
  20. package/lib/browser/{style-wrapper-oGUCilmw.js → style-wrapper-1pU2q-Nj.js} +1 -1
  21. package/lib/browser/{style-wrapper-NagZ3htF.cjs → style-wrapper-dtKxKeZ0.cjs} +1 -1
  22. package/lib/browser/style.css +1 -1
  23. package/lib/edge/{awaiter-yr8VAu_H.cjs → awaiter-HFBt_OAF.cjs} +1 -1
  24. package/lib/edge/{awaiter-acJdczkp.js → awaiter-n-gIbP8r.js} +1 -1
  25. package/lib/edge/{block-wrapper-aEKGXQsG.cjs → block-wrapper-Bu7g5EV_.cjs} +1 -1
  26. package/lib/{node/block-wrapper-MpV_yto9.js → edge/block-wrapper-fPMgU7lR.js} +3 -3
  27. package/lib/edge/{component-ref-wzojJNtP.cjs → component-ref-4wKEKXCt.cjs} +1 -1
  28. package/lib/edge/{component-ref-pA4-SwIs.js → component-ref-JHSTjcJx.js} +4 -4
  29. package/lib/edge/components/content-variants/content-variants.vue.d.ts +0 -1
  30. package/lib/edge/components/content-variants/helpers.d.ts +0 -1
  31. package/lib/edge/constants/sdk-version.d.ts +1 -1
  32. package/lib/edge/{get-block-properties-vOCtFmny.cjs → get-block-properties--14I0FqA.cjs} +1 -1
  33. package/lib/edge/{get-block-properties-T1Ci7dP5.js → get-block-properties-5Wxv-oHg.js} +1 -1
  34. package/lib/edge/{index-OZxVFmQK.cjs → index-78yK7PsD.cjs} +35 -57
  35. package/lib/edge/{index-9d4BROG7.js → index-_fUTINXy.js} +698 -726
  36. package/lib/edge/index.cjs +1 -1
  37. package/lib/edge/index.mjs +1 -1
  38. package/lib/edge/{live-edit-oX2tpNY4.js → live-edit-9xqNMwhC.js} +1 -1
  39. package/lib/{node/live-edit-g3b-brGl.cjs → edge/live-edit-nbVPESOp.cjs} +1 -1
  40. package/lib/edge/{repeated-block-WFlqwuyL.js → repeated-block-F75iqpVr.js} +2 -2
  41. package/lib/edge/{repeated-block-uS6k8BJT.cjs → repeated-block-nCuqUDP7.cjs} +1 -1
  42. package/lib/edge/{style-wrapper-UNbimac8.cjs → style-wrapper-rVAWy7o_.cjs} +1 -1
  43. package/lib/edge/{style-wrapper-QjzY0pp1.js → style-wrapper-w933365M.js} +1 -1
  44. package/lib/edge/style.css +1 -1
  45. package/lib/node/{awaiter-68BBjUeZ.cjs → awaiter-MgDlcUHI.cjs} +1 -1
  46. package/lib/node/{awaiter-j4ORMLjV.js → awaiter-aepEb5fm.js} +1 -1
  47. package/lib/node/{block-wrapper-xbWj7xN4.cjs → block-wrapper-3kiJne4m.cjs} +1 -1
  48. package/lib/{edge/block-wrapper-mCaWnoxQ.js → node/block-wrapper-sEviqhU3.js} +3 -3
  49. package/lib/node/{component-ref-gcCyaLPb.cjs → component-ref-6kTApMRL.cjs} +1 -1
  50. package/lib/node/{component-ref-FMaZUEHA.js → component-ref-TyXWBWEx.js} +5 -5
  51. package/lib/node/components/content-variants/content-variants.vue.d.ts +0 -1
  52. package/lib/node/components/content-variants/helpers.d.ts +0 -1
  53. package/lib/node/constants/sdk-version.d.ts +1 -1
  54. package/lib/node/{get-block-properties-xyodoUq1.cjs → get-block-properties-3uCiF9Qm.cjs} +1 -1
  55. package/lib/node/{get-block-properties-OFyB13c0.js → get-block-properties-NjyNQiag.js} +2 -2
  56. package/lib/node/{index-INlBMXV-.cjs → index-9WZ86cun.cjs} +29 -51
  57. package/lib/node/{index-TU01S1LU.js → index-YYQAkk5S.js} +386 -414
  58. package/lib/node/index.cjs +1 -1
  59. package/lib/node/index.mjs +2 -2
  60. package/lib/node/init.cjs +1 -1
  61. package/lib/node/init.mjs +1 -1
  62. package/lib/{edge/live-edit-DElUbmBW.cjs → node/live-edit-267vHpIq.cjs} +1 -1
  63. package/lib/node/{live-edit-047YZnu-.js → live-edit-U9pCBdly.js} +1 -1
  64. package/lib/node/{repeated-block-EcOLRgeJ.cjs → repeated-block-BfYZqoE0.cjs} +1 -1
  65. package/lib/node/{repeated-block-om1ZGsyQ.js → repeated-block-f2s-IUoM.js} +2 -2
  66. package/lib/node/{should-force-browser-runtime-in-node-dW9p7rxg.js → should-force-browser-runtime-in-node-HsyT-bd2.js} +1 -1
  67. package/lib/node/{should-force-browser-runtime-in-node-A9wQILFE.cjs → should-force-browser-runtime-in-node-yK_d4v-W.cjs} +1 -1
  68. package/lib/node/{style-wrapper-2Rqb9g04.js → style-wrapper-MJzB79lB.js} +2 -2
  69. package/lib/node/{style-wrapper-lvW1HnEu.cjs → style-wrapper-vHL9MNhi.cjs} +1 -1
  70. package/lib/node/style.css +1 -1
  71. package/package.json +1 -1
@@ -1,5 +1,5 @@
1
- import { defineComponent as y, openBlock as d, createElementBlock as h, Fragment as I, createBlock as S, resolveDynamicComponent as Y, mergeProps as w, toHandlers as U, withCtx as x, renderSlot as V, resolveComponent as k, createTextVNode as St, toDisplayString as le, defineAsyncComponent as Q, createVNode as R, renderList as F, createCommentVNode as C, h as Me, createElementVNode as K, normalizeStyle as M, normalizeClass as Z, markRaw as kt } from "vue";
2
- import { T as $, g as Ct, f as Tt, i as E, s as wt, r as It, p as $t, a as Rt, l as L, b as qe, c as ye, d as Et, n as je, S as Pt, e as ve, h as re, j as At, k as Ke, m as Bt, o as A, q as ze, _ as Ae } from "./should-force-browser-runtime-in-node-dW9p7rxg.js";
1
+ import { defineComponent as y, openBlock as d, createElementBlock as h, Fragment as w, createBlock as S, resolveDynamicComponent as Y, mergeProps as I, toHandlers as O, withCtx as x, renderSlot as V, resolveComponent as k, createTextVNode as St, toDisplayString as le, defineAsyncComponent as Q, createVNode as $, renderList as F, createCommentVNode as C, h as ze, createElementVNode as z, normalizeStyle as M, normalizeClass as Z, markRaw as kt } from "vue";
2
+ import { T as R, g as Ct, f as Tt, i as E, s as wt, r as It, p as $t, a as Rt, l as L, b as Ke, c as Se, d as Et, n as Ge, S as Pt, e as ke, h as re, j as At, k as Je, m as Bt, o as A, q as Qe, _ as Ne } from "./should-force-browser-runtime-in-node-HsyT-bd2.js";
3
3
  const Vt = /* @__PURE__ */ new Set(["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen", "link", "meta", "param", "source", "track", "wbr"]), Nt = (e) => typeof e == "string" && Vt.has(e.toLowerCase());
4
4
  function N(e = {}, t, n) {
5
5
  const o = {};
@@ -24,13 +24,13 @@ const Wt = y({
24
24
  return n;
25
25
  };
26
26
  function Dt(e, t, n, o, r, i) {
27
- return e.isEmptyElement(e.TagName) ? (d(), S(Y(e.TagName), w({ key: 1 }, e.attributes, U(e.actionAttributes)), null, 16)) : (d(), h(I, { key: 0 }, [
28
- typeof e.TagName == "string" ? (d(), S(Y(e.TagName), w({ key: 0 }, e.attributes, U(e.actionAttributes)), {
27
+ return e.isEmptyElement(e.TagName) ? (d(), S(Y(e.TagName), I({ key: 1 }, e.attributes, O(e.actionAttributes)), null, 16)) : (d(), h(w, { key: 0 }, [
28
+ typeof e.TagName == "string" ? (d(), S(Y(e.TagName), I({ key: 0 }, e.attributes, O(e.actionAttributes)), {
29
29
  default: x(() => [
30
30
  V(e.$slots, "default")
31
31
  ]),
32
32
  _: 3
33
- }, 16)) : (d(), S(Y(e.TagName), w({ key: 1 }, e.attributes, U(e.actionAttributes)), {
33
+ }, 16)) : (d(), S(Y(e.TagName), I({ key: 1 }, e.attributes, O(e.actionAttributes)), {
34
34
  default: x(() => [
35
35
  V(e.$slots, "default")
36
36
  ]),
@@ -38,11 +38,11 @@ function Dt(e, t, n, o, r, i) {
38
38
  }, 16))
39
39
  ], 64));
40
40
  }
41
- const Se = /* @__PURE__ */ v(Wt, [["render", Dt]]), Qi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
41
+ const Ce = /* @__PURE__ */ v(Wt, [["render", Dt]]), Ji = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
42
42
  __proto__: null,
43
- default: Se
44
- }, Symbol.toStringTag, { value: "Module" })), q = () => {
45
- switch ($) {
43
+ default: Ce
44
+ }, Symbol.toStringTag, { value: "Module" })), j = () => {
45
+ switch (R) {
46
46
  case "react":
47
47
  case "reactNative":
48
48
  case "rsc":
@@ -56,7 +56,7 @@ const Se = /* @__PURE__ */ v(Wt, [["render", Dt]]), Qi = /* @__PURE__ */ Object.
56
56
  }
57
57
  }, xt = y({
58
58
  name: "builder-button",
59
- components: { DynamicRenderer: Se },
59
+ components: { DynamicRenderer: Ce },
60
60
  props: [
61
61
  "attributes",
62
62
  "link",
@@ -71,7 +71,7 @@ const Se = /* @__PURE__ */ v(Wt, [["render", Dt]]), Qi = /* @__PURE__ */ Object.
71
71
  attrs() {
72
72
  return {
73
73
  ...N(this.attributes, "v-on:", !1),
74
- [q()]: `${this.link ? "" : "builder-button"} ${this.attributes[q()] || ""}`,
74
+ [j()]: `${this.link ? "" : "builder-button"} ${this.attributes[j()] || ""}`,
75
75
  ...this.link ? {
76
76
  href: this.link,
77
77
  target: this.openLinkInNewTab ? "_blank" : void 0,
@@ -83,7 +83,7 @@ const Se = /* @__PURE__ */ v(Wt, [["render", Dt]]), Qi = /* @__PURE__ */ Object.
83
83
  }
84
84
  }
85
85
  });
86
- function Ot(e, t, n, o, r, i) {
86
+ function Ut(e, t, n, o, r, i) {
87
87
  const s = k("DynamicRenderer");
88
88
  return d(), S(s, {
89
89
  attributes: e.attrs(),
@@ -96,7 +96,7 @@ function Ot(e, t, n, o, r, i) {
96
96
  _: 1
97
97
  }, 8, ["attributes", "TagName", "actionAttributes"]);
98
98
  }
99
- const Ut = /* @__PURE__ */ v(xt, [["render", Ot]]), Ft = Symbol(), he = {
99
+ const Ot = /* @__PURE__ */ v(xt, [["render", Ut]]), Ft = Symbol(), he = {
100
100
  Builder: {
101
101
  content: null,
102
102
  context: {},
@@ -114,10 +114,10 @@ const Ut = /* @__PURE__ */ v(xt, [["render", Ot]]), Ft = Symbol(), he = {
114
114
  model: ""
115
115
  },
116
116
  key: Ft
117
- }, Lt = Symbol(), Ge = {
117
+ }, Lt = Symbol(), Ye = {
118
118
  Components: { registeredComponents: {} },
119
119
  key: Lt
120
- }, Je = (e, t, n) => {
120
+ }, Xe = (e, t, n) => {
121
121
  const o = String.prototype.split.call(t, /[,[\].]+?/).filter(Boolean).reduce((r, i) => r != null ? r[i] : r, e);
122
122
  return o === void 0 || o === e ? n : o;
123
123
  }, Ht = ({
@@ -142,9 +142,9 @@ const Ut = /* @__PURE__ */ v(xt, [["render", Ot]]), Ft = Symbol(), he = {
142
142
  return new Function(...l.map(([a]) => a), e)(...l.map(([, a]) => a));
143
143
  }, Mt = (e) => E() || wt({
144
144
  shouldLogWarning: !0
145
- }) ? Ht(e) : It(e), qt = /^(return )?(\s*)?state(?<getPath>(\.\w+)+)(\s*);?$/, jt = /(\s)*var(\s)+_virtual_index(\s)*=(\s)*state(?<getPath>(\.\w+)+)(\s*);?(\s)*return(\s)*_virtual_index(\s)*/, Kt = (e) => {
145
+ }) ? Ht(e) : It(e), jt = /^(return )?(\s*)?state(?<getPath>(\.\w+)+)(\s*);?$/, qt = /(\s)*var(\s)+_virtual_index(\s)*=(\s)*state(?<getPath>(\.\w+)+)(\s*);?(\s)*return(\s)*_virtual_index(\s)*/, zt = (e) => {
146
146
  var t, n, o, r, i, s;
147
- return ((o = (n = (t = qt.exec(e.trim())) == null ? void 0 : t.groups) == null ? void 0 : n.getPath) == null ? void 0 : o.slice(1)) || ((s = (i = (r = jt.exec(e.trim())) == null ? void 0 : r.groups) == null ? void 0 : i.getPath) == null ? void 0 : s.slice(1));
147
+ return ((o = (n = (t = jt.exec(e.trim())) == null ? void 0 : t.groups) == null ? void 0 : n.getPath) == null ? void 0 : o.slice(1)) || ((s = (i = (r = qt.exec(e.trim())) == null ? void 0 : r.groups) == null ? void 0 : i.getPath) == null ? void 0 : s.slice(1));
148
148
  };
149
149
  function _({
150
150
  code: e,
@@ -158,9 +158,9 @@ function _({
158
158
  }) {
159
159
  if (e.trim() === "")
160
160
  return;
161
- const a = Kt(e.trim());
161
+ const a = zt(e.trim());
162
162
  if (a)
163
- return Je({
163
+ return Xe({
164
164
  ...o,
165
165
  ...n
166
166
  }, a);
@@ -184,7 +184,7 @@ function _({
184
184
  return;
185
185
  }
186
186
  }
187
- function zt(e, t) {
187
+ function Kt(e, t) {
188
188
  var n;
189
189
  return {
190
190
  ...(n = e.component) == null ? void 0 : n.options,
@@ -229,7 +229,7 @@ function ie(e, t, n = null, o = null, r = /* @__PURE__ */ new WeakSet()) {
229
229
  }), ie(s, t, e, i, r);
230
230
  }));
231
231
  }
232
- function Qe(e) {
232
+ function Ze(e) {
233
233
  return e && typeof e == "object" && e["@type"] === "@builder.io/core:LocalizedValue";
234
234
  }
235
235
  function Qt(e) {
@@ -237,7 +237,7 @@ function Qt(e) {
237
237
  return !1;
238
238
  let t = !1;
239
239
  return ie(e, (n) => {
240
- if (Qe(n)) {
240
+ if (Ze(n)) {
241
241
  t = !0;
242
242
  return;
243
243
  }
@@ -245,7 +245,7 @@ function Qt(e) {
245
245
  }
246
246
  function Yt(e, t) {
247
247
  return !e || !Object.getOwnPropertyNames(e).length ? {} : (ie(e, (n, o) => {
248
- Qe(n) && o(n[t] ?? void 0);
248
+ Ze(n) && o(n[t] ?? void 0);
249
249
  }), e);
250
250
  }
251
251
  function Xt(e, t) {
@@ -264,9 +264,9 @@ function fe(e) {
264
264
  n !== "meta" && Object.prototype.hasOwnProperty.call(e, n) && (t[n] = fe(e[n]));
265
265
  return t;
266
266
  }
267
- const Zt = ["svelte", "vue", "angular", "qwik", "solid"].includes($), _t = (e) => {
267
+ const Zt = ["svelte", "vue", "angular", "qwik", "solid"].includes(R), _t = (e) => {
268
268
  if (Zt) {
269
- const t = ye(e);
269
+ const t = Se(e);
270
270
  return {
271
271
  ...t,
272
272
  properties: {
@@ -308,7 +308,7 @@ const Zt = ["svelte", "vue", "angular", "qwik", "solid"].includes($), _t = (e) =
308
308
  rootSetState: r,
309
309
  context: t
310
310
  });
311
- qe(i, s, a);
311
+ Ke(i, s, a);
312
312
  }
313
313
  return i;
314
314
  };
@@ -328,7 +328,7 @@ function tn({
328
328
  context: t
329
329
  }), i = Xt(i, o.locale), i;
330
330
  }
331
- function ke(e) {
331
+ function Te(e) {
332
332
  const t = e || (E() ? window.location.search : void 0);
333
333
  return t ? Et(t).indexOf("builder.preview=") !== -1 : !1;
334
334
  }
@@ -342,11 +342,11 @@ const nn = (e) => ({
342
342
  function se(e) {
343
343
  return JSON.parse(JSON.stringify(e, (t, n) => typeof n == "function" ? on(n) : n));
344
344
  }
345
- const Be = {};
346
- function Yi(e, t) {
345
+ const We = {};
346
+ function Qi(e, t) {
347
347
  e === "plugin" && (t = se(t));
348
- let n = Be[e];
349
- if (n || (n = Be[e] = []), n.push(t), E()) {
348
+ let n = We[e];
349
+ if (n || (n = We[e] = []), n.push(t), E()) {
350
350
  const o = {
351
351
  type: "builder.register",
352
352
  data: {
@@ -361,7 +361,7 @@ function Yi(e, t) {
361
361
  }
362
362
  }
363
363
  }
364
- function Xi(e) {
364
+ function Yi(e) {
365
365
  var t;
366
366
  if (E()) {
367
367
  const n = JSON.parse(JSON.stringify(e));
@@ -371,24 +371,24 @@ function Xi(e) {
371
371
  }, "*");
372
372
  }
373
373
  }
374
- const Ve = {};
375
- function Zi(e) {
374
+ const De = {};
375
+ function Xi(e) {
376
376
  if (E()) {
377
- Object.assign(Ve, e);
377
+ Object.assign(De, e);
378
378
  const t = {
379
379
  type: "builder.settingsChange",
380
- data: Ve
380
+ data: De
381
381
  };
382
382
  parent.postMessage(t, "*");
383
383
  }
384
384
  }
385
- const Ne = "builder.", rn = "options.", Ye = (e) => {
385
+ const xe = "builder.", rn = "options.", _e = (e) => {
386
386
  if (!e)
387
387
  return {};
388
- const t = je(e), n = {};
388
+ const t = Ge(e), n = {};
389
389
  return Object.keys(t).forEach((o) => {
390
- if (o.startsWith(Ne)) {
391
- const r = o.replace(Ne, "").replace(rn, "");
390
+ if (o.startsWith(xe)) {
391
+ const r = o.replace(xe, "").replace(rn, "");
392
392
  n[r] = t[o];
393
393
  }
394
394
  }), n;
@@ -396,21 +396,21 @@ const Ne = "builder.", rn = "options.", Ye = (e) => {
396
396
  if (!E())
397
397
  return {};
398
398
  const e = new URLSearchParams(window.location.search);
399
- return Ye(e);
399
+ return _e(e);
400
400
  }, an = ["*.beta.builder.io", "beta.builder.io", "builder.io", "localhost", "qa.builder.io"];
401
- function Xe(e, t) {
401
+ function et(e, t) {
402
402
  if (!t.origin.startsWith("http") && !t.origin.startsWith("https"))
403
403
  return !1;
404
404
  const n = new URL(t.origin), o = n.hostname;
405
405
  return (e || an).findIndex((r) => r.startsWith("*.") ? o.endsWith(r.slice(1)) : r === o) > -1;
406
406
  }
407
- let We = !1;
408
- const Ze = (e) => {
407
+ let Ue = !1;
408
+ const tt = (e) => {
409
409
  var t, n;
410
- We || (We = !0, E() && ((t = window.parent) == null || t.postMessage({
410
+ Ue || (Ue = !0, E() && ((t = window.parent) == null || t.postMessage({
411
411
  type: "builder.sdkInfo",
412
412
  data: {
413
- target: $,
413
+ target: R,
414
414
  version: Pt,
415
415
  supportsPatchUpdates: !1,
416
416
  // Supports builder-model="..." attribute which is needed to
@@ -429,7 +429,7 @@ const Ze = (e) => {
429
429
  }
430
430
  }, "*"), window.addEventListener("message", (o) => {
431
431
  var i, s;
432
- if (!Xe(e.trustedHosts, o))
432
+ if (!et(e.trustedHosts, o))
433
433
  return;
434
434
  const {
435
435
  data: r
@@ -470,12 +470,12 @@ const Ze = (e) => {
470
470
  }
471
471
  }
472
472
  })));
473
- }, _e = ({
473
+ }, nt = ({
474
474
  model: e,
475
475
  trustedHosts: t,
476
476
  callbacks: n
477
477
  }) => (o) => {
478
- if (!Xe(t, o))
478
+ if (!et(t, o))
479
479
  return;
480
480
  const {
481
481
  data: r
@@ -501,7 +501,7 @@ const Ze = (e) => {
501
501
  break;
502
502
  }
503
503
  }
504
- }, _i = ({
504
+ }, Zi = ({
505
505
  model: e,
506
506
  apiKey: t,
507
507
  callback: n,
@@ -510,11 +510,11 @@ const Ze = (e) => {
510
510
  if (!E)
511
511
  return L.warn("`subscribeToEditor` only works in the browser. It currently seems to be running on the server."), () => {
512
512
  };
513
- Ze({
513
+ tt({
514
514
  modelName: e,
515
515
  apiKey: t
516
516
  });
517
- const r = _e({
517
+ const r = nt({
518
518
  callbacks: {
519
519
  contentUpdate: n,
520
520
  animation: () => {
@@ -530,24 +530,24 @@ const Ze = (e) => {
530
530
  return window.addEventListener("message", r), () => {
531
531
  window.removeEventListener("message", r);
532
532
  };
533
- }, ln = "builder.tests", Ce = (e) => `${ln}.${e}`, cn = ({
533
+ }, ln = "builder.tests", we = (e) => `${ln}.${e}`, cn = ({
534
534
  contentId: e
535
535
  }) => At({
536
- name: Ce(e),
536
+ name: we(e),
537
537
  canTrack: !0
538
538
  }), dn = ({
539
539
  contentId: e
540
- }) => ve({
541
- name: Ce(e),
540
+ }) => ke({
541
+ name: we(e),
542
542
  canTrack: !0
543
543
  }), un = ({
544
544
  contentId: e,
545
545
  value: t
546
- }) => Ke({
547
- name: Ce(e),
546
+ }) => Je({
547
+ name: we(e),
548
548
  value: t,
549
549
  canTrack: !0
550
- }), et = (e) => re(e.id) && re(e.variations) && Object.keys(e.variations).length > 0, pn = ({
550
+ }), ot = (e) => re(e.id) && re(e.variations) && Object.keys(e.variations).length > 0, pn = ({
551
551
  id: e,
552
552
  variations: t
553
553
  }) => {
@@ -560,7 +560,7 @@ const Ze = (e) => {
560
560
  return i;
561
561
  }
562
562
  return e;
563
- }, tt = (e) => {
563
+ }, rt = (e) => {
564
564
  const t = pn(e);
565
565
  return un({
566
566
  contentId: e.id,
@@ -568,7 +568,7 @@ const Ze = (e) => {
568
568
  }).catch((n) => {
569
569
  L.error("could not store A/B test variation: ", n);
570
570
  }), t;
571
- }, nt = ({
571
+ }, it = ({
572
572
  item: e,
573
573
  testGroupId: t
574
574
  }) => {
@@ -590,14 +590,14 @@ const Ze = (e) => {
590
590
  return e;
591
591
  if (!e)
592
592
  return;
593
- if (!et(e))
593
+ if (!ot(e))
594
594
  return e;
595
595
  const n = dn({
596
596
  contentId: e.id
597
- }) || tt({
597
+ }) || rt({
598
598
  variations: e.variations,
599
599
  id: e.id
600
- }), o = nt({
600
+ }), o = it({
601
601
  item: e,
602
602
  testGroupId: n
603
603
  });
@@ -609,14 +609,14 @@ const Ze = (e) => {
609
609
  item: e,
610
610
  canTrack: t
611
611
  }) => {
612
- if (!t || !et(e))
612
+ if (!t || !ot(e))
613
613
  return e;
614
614
  const o = await cn({
615
615
  contentId: e.id
616
- }) || tt({
616
+ }) || rt({
617
617
  variations: e.variations,
618
618
  id: e.id
619
- }), r = nt({
619
+ }), r = it({
620
620
  item: e,
621
621
  testGroupId: o
622
622
  });
@@ -625,8 +625,8 @@ const Ze = (e) => {
625
625
  ...r
626
626
  };
627
627
  };
628
- const De = "builder.userAttributes";
629
- function xe() {
628
+ const Oe = "builder.userAttributes";
629
+ function Fe() {
630
630
  let e = !0;
631
631
  const t = /* @__PURE__ */ new Set();
632
632
  return {
@@ -637,15 +637,15 @@ function xe() {
637
637
  ...this.getUserAttributes(),
638
638
  ...n
639
639
  };
640
- Ke({
641
- name: De,
640
+ Je({
641
+ name: Oe,
642
642
  value: JSON.stringify(o),
643
643
  canTrack: e
644
644
  }), t.forEach((r) => r(o));
645
645
  },
646
646
  getUserAttributes() {
647
- return E() ? JSON.parse(ve({
648
- name: De,
647
+ return E() ? JSON.parse(ke({
648
+ name: Oe,
649
649
  canTrack: e
650
650
  }) || "{}") : {};
651
651
  },
@@ -662,10 +662,10 @@ function xe() {
662
662
  };
663
663
  }
664
664
  let be;
665
- E() && $ === "qwik" ? (window.__BUILDER_USER_ATTRIBUTES_SERVICE__ || (window.__BUILDER_USER_ATTRIBUTES_SERVICE__ = xe()), be = window.__BUILDER_USER_ATTRIBUTES_SERVICE__) : be = xe();
666
- const ae = be, es = (e) => {
665
+ E() && R === "qwik" ? (window.__BUILDER_USER_ATTRIBUTES_SERVICE__ || (window.__BUILDER_USER_ATTRIBUTES_SERVICE__ = Fe()), be = window.__BUILDER_USER_ATTRIBUTES_SERVICE__) : be = Fe();
666
+ const ae = be, _i = (e) => {
667
667
  ae.setUserAttributes(e);
668
- }, z = (e) => {
668
+ }, K = (e) => {
669
669
  const t = re(e) ? e : !0;
670
670
  return ae.setCanTrack(t), t;
671
671
  };
@@ -692,10 +692,10 @@ function ge(e, t = null, n = ".") {
692
692
  };
693
693
  }, {});
694
694
  }
695
- function ot(e, t, n = {}) {
695
+ function st(e, t, n = {}) {
696
696
  for (const o in e) {
697
697
  const r = e[o], i = t ? t + "." + o : o;
698
- r && typeof r == "object" && !Array.isArray(r) && !Object.keys(r).find((s) => s.startsWith("$")) ? ot(r, i, n) : n[i] = r;
698
+ r && typeof r == "object" && !Array.isArray(r) && !Object.keys(r).find((s) => s.startsWith("$")) ? st(r, i, n) : n[i] = r;
699
699
  }
700
700
  return n;
701
701
  }
@@ -711,7 +711,7 @@ function yn(e) {
711
711
  }
712
712
  return t;
713
713
  }
714
- const vn = "v3", Oe = (e) => typeof e == "number" && !isNaN(e) && e >= 0, Te = (e) => {
714
+ const vn = "v3", Le = (e) => typeof e == "number" && !isNaN(e) && e >= 0, Ie = (e) => {
715
715
  const {
716
716
  limit: t = 30,
717
717
  userAttributes: n,
@@ -734,10 +734,10 @@ const vn = "v3", Oe = (e) => typeof e == "number" && !isNaN(e) && e >= 0, Te = (
734
734
  throw new Error("Missing API key");
735
735
  if (!["v3"].includes(a))
736
736
  throw new Error(`Invalid apiVersion: expected 'v3', received '${a}'`);
737
- const O = t !== 1, B = P || "https://cdn.builder.io", T = new URL(`${B}/api/${a}/content/${r}`);
738
- T.searchParams.set("apiKey", i), T.searchParams.set("limit", String(t)), T.searchParams.set("noTraverse", String(O)), T.searchParams.set("includeRefs", String(!0)), l && T.searchParams.set("locale", l);
737
+ const U = t !== 1, B = P || "https://cdn.builder.io", T = new URL(`${B}/api/${a}/content/${r}`);
738
+ T.searchParams.set("apiKey", i), T.searchParams.set("limit", String(t)), T.searchParams.set("noTraverse", String(U)), T.searchParams.set("includeRefs", String(!0)), l && T.searchParams.set("locale", l);
739
739
  let W = n || {};
740
- if (s && T.searchParams.set("enrich", String(s)), T.searchParams.set("omit", p ?? "meta.componentsUsed"), u && T.searchParams.set("fields", u), Number.isFinite(f) && f > -1 && T.searchParams.set("offset", String(Math.floor(f))), typeof g == "boolean" && T.searchParams.set("includeUnpublished", String(g)), c && Oe(c) && T.searchParams.set("cacheSeconds", String(c)), m && Oe(m) && T.searchParams.set("staleCacheSeconds", String(m)), b) {
740
+ if (s && T.searchParams.set("enrich", String(s)), T.searchParams.set("omit", p ?? "meta.componentsUsed"), u && T.searchParams.set("fields", u), Number.isFinite(f) && f > -1 && T.searchParams.set("offset", String(Math.floor(f))), typeof g == "boolean" && T.searchParams.set("includeUnpublished", String(g)), c && Le(c) && T.searchParams.set("cacheSeconds", String(c)), m && Le(m) && T.searchParams.set("staleCacheSeconds", String(m)), b) {
741
741
  const D = ge({
742
742
  sort: b
743
743
  });
@@ -746,7 +746,7 @@ const vn = "v3", Oe = (e) => typeof e == "number" && !isNaN(e) && e >= 0, Te = (
746
746
  }
747
747
  const G = {
748
748
  ...sn(),
749
- ...je(e.options || {})
749
+ ...Ge(e.options || {})
750
750
  };
751
751
  W = {
752
752
  ...W,
@@ -756,7 +756,7 @@ const vn = "v3", Oe = (e) => typeof e == "number" && !isNaN(e) && e >= 0, Te = (
756
756
  for (const D in J)
757
757
  T.searchParams.set(D, String(J[D]));
758
758
  if (Object.keys(W).length > 0 && T.searchParams.set("userAttributes", JSON.stringify(W)), o) {
759
- const D = ot({
759
+ const D = st({
760
760
  query: o
761
761
  });
762
762
  for (const H in D)
@@ -778,7 +778,7 @@ const vn = "v3", Oe = (e) => typeof e == "number" && !isNaN(e) && e >= 0, Te = (
778
778
  }
779
779
  return {};
780
780
  }, Cn = (e) => "results" in e;
781
- async function we(e) {
781
+ async function $e(e) {
782
782
  var o;
783
783
  const t = e.locale || ((o = e.userAttributes) == null ? void 0 : o.locale);
784
784
  t && (e.locale = t, e.userAttributes = {
@@ -793,7 +793,7 @@ async function we(e) {
793
793
  }
794
794
  const Tn = async (e) => {
795
795
  var s;
796
- const t = Te(e), n = e.fetch ?? gn, o = {
796
+ const t = Ie(e), n = e.fetch ?? gn, o = {
797
797
  ...e.fetchOptions,
798
798
  headers: {
799
799
  ...(s = e.fetchOptions) == null ? void 0 : s.headers,
@@ -801,9 +801,9 @@ const Tn = async (e) => {
801
801
  }
802
802
  };
803
803
  return await (await n(t.href, o)).json();
804
- }, wn = async (e, t, n = Te(e)) => {
805
- const o = z(e.canTrack);
806
- if (n.search.includes("preview="), !o || !(E() || $ === "reactNative"))
804
+ }, wn = async (e, t, n = Ie(e)) => {
805
+ const o = K(e.canTrack);
806
+ if (n.search.includes("preview="), !o || !(E() || R === "reactNative"))
807
807
  return t.results;
808
808
  try {
809
809
  const r = [];
@@ -819,7 +819,7 @@ const Tn = async (e) => {
819
819
  return t.results;
820
820
  };
821
821
  async function In(e) {
822
- const t = Te(e), n = await Tn(e);
822
+ const t = Ie(e), n = await Tn(e);
823
823
  if (!Cn(n))
824
824
  throw L.error("Error fetching data. ", {
825
825
  url: t,
@@ -828,7 +828,7 @@ async function In(e) {
828
828
  }), n;
829
829
  return wn(e, n);
830
830
  }
831
- const ts = async (e) => {
831
+ const es = async (e) => {
832
832
  var o, r, i;
833
833
  const t = e.path || ((o = e.url) == null ? void 0 : o.pathname) || ((r = e.userAttributes) == null ? void 0 : r.urlPath), n = {
834
834
  ...e,
@@ -840,14 +840,14 @@ const ts = async (e) => {
840
840
  urlPath: t
841
841
  } : {}
842
842
  },
843
- options: Ye(e.searchParams || ((i = e.url) == null ? void 0 : i.searchParams) || e.options)
843
+ options: _e(e.searchParams || ((i = e.url) == null ? void 0 : i.searchParams) || e.options)
844
844
  };
845
845
  return {
846
846
  apiKey: n.apiKey,
847
847
  model: n.model,
848
- content: await we(n)
848
+ content: await $e(n)
849
849
  };
850
- }, Ie = (e) => e ? e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase() : "";
850
+ }, Re = (e) => e ? e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase() : "";
851
851
  function $n(e, t, n = {}) {
852
852
  let o, r, i, s = null, l = 0;
853
853
  const a = function() {
@@ -874,17 +874,17 @@ function Rn(e) {
874
874
  for (const t of e)
875
875
  switch (t.trigger) {
876
876
  case "pageLoad":
877
- st(t);
877
+ ct(t);
878
878
  break;
879
879
  case "scrollInView":
880
880
  Pn(t);
881
881
  break;
882
882
  }
883
883
  }
884
- function rt(e) {
884
+ function at(e) {
885
885
  console.warn(`Cannot animate element: element with ID ${e} not found!`);
886
886
  }
887
- function it(e, t) {
887
+ function lt(e, t) {
888
888
  const n = En(e), o = getComputedStyle(t), r = e.steps[0].styles, i = e.steps[e.steps.length - 1].styles, s = [r, i];
889
889
  for (const l of s)
890
890
  for (const a of n)
@@ -897,15 +897,15 @@ function En(e) {
897
897
  t.indexOf(o) === -1 && t.push(o);
898
898
  return t;
899
899
  }
900
- function st(e) {
900
+ function ct(e) {
901
901
  const t = Array.prototype.slice.call(document.getElementsByClassName(e.elementId || e.id || ""));
902
902
  if (!t.length) {
903
- rt(e.elementId || e.id || "");
903
+ at(e.elementId || e.id || "");
904
904
  return;
905
905
  }
906
906
  Array.from(t).forEach((n) => {
907
- it(e, n), n.style.transition = "none", n.style.transitionDelay = "0", X(n.style, e.steps[0].styles), setTimeout(() => {
908
- n.style.transition = `all ${e.duration}s ${Ie(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s"), X(n.style, e.steps[1].styles), setTimeout(() => {
907
+ lt(e, n), n.style.transition = "none", n.style.transitionDelay = "0", X(n.style, e.steps[0].styles), setTimeout(() => {
908
+ n.style.transition = `all ${e.duration}s ${Re(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s"), X(n.style, e.steps[1].styles), setTimeout(() => {
909
909
  n.style.transition = "", n.style.transitionDelay = "";
910
910
  }, (e.delay || 0) * 1e3 + e.duration * 1e3 + 100);
911
911
  });
@@ -914,11 +914,11 @@ function st(e) {
914
914
  function Pn(e) {
915
915
  const t = Array.prototype.slice.call(document.getElementsByClassName(e.elementId || e.id || ""));
916
916
  if (!t.length) {
917
- rt(e.elementId || e.id || "");
917
+ at(e.elementId || e.id || "");
918
918
  return;
919
919
  }
920
920
  Array.from(t).forEach((n) => {
921
- it(e, n);
921
+ lt(e, n);
922
922
  let o = !1, r = !1;
923
923
  function i() {
924
924
  !o && l(n) ? (o = !0, r = !0, setTimeout(() => {
@@ -939,18 +939,18 @@ function Pn(e) {
939
939
  X(n.style, a);
940
940
  }
941
941
  u(), setTimeout(() => {
942
- n.style.transition = `all ${e.duration}s ${Ie(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s");
942
+ n.style.transition = `all ${e.duration}s ${Re(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s");
943
943
  }), document.addEventListener("scroll", s, {
944
944
  capture: !0,
945
945
  passive: !0
946
946
  }), i();
947
947
  });
948
948
  }
949
- const at = (e) => Object.entries(e).map(([n, o]) => {
949
+ const dt = (e) => Object.entries(e).map(([n, o]) => {
950
950
  if (typeof o == "string")
951
- return `${Ie(n)}: ${o};`;
952
- }).filter(re), An = (e) => at(e).join(`
953
- `), ns = ({
951
+ return `${Re(n)}: ${o};`;
952
+ }).filter(re), An = (e) => dt(e).join(`
953
+ `), ts = ({
954
954
  mediaQuery: e,
955
955
  className: t,
956
956
  styles: n
@@ -967,21 +967,21 @@ function Bn({
967
967
  }) {
968
968
  return e;
969
969
  }
970
- const os = ({
970
+ const ns = ({
971
971
  block: e,
972
972
  context: t
973
- }) => lt(Bn({
973
+ }) => ut(Bn({
974
974
  style: e.style || {},
975
975
  context: t,
976
976
  block: e
977
977
  }));
978
- function lt(e) {
979
- switch ($) {
978
+ function ut(e) {
979
+ switch (R) {
980
980
  case "svelte":
981
981
  case "vue":
982
982
  case "solid":
983
983
  case "angular":
984
- return at(e).join(" ");
984
+ return dt(e).join(" ");
985
985
  case "qwik":
986
986
  case "reactNative":
987
987
  case "react":
@@ -989,7 +989,7 @@ function lt(e) {
989
989
  return e;
990
990
  }
991
991
  }
992
- const ct = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includes(t) : !1 : !0, Vn = ({
992
+ const pt = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includes(t) : !1 : !0, Vn = ({
993
993
  block: e,
994
994
  registeredComponents: t,
995
995
  model: n
@@ -999,7 +999,7 @@ const ct = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
999
999
  if (!o)
1000
1000
  return null;
1001
1001
  const r = t[o];
1002
- if (!r || ct(r, n)) {
1002
+ if (!r || pt(r, n)) {
1003
1003
  console.warn(`
1004
1004
  Could not find a registered component named "${o}".
1005
1005
  If you registered it, is the file that registered it imported by the file that needs to render it?`);
@@ -1047,47 +1047,47 @@ const ct = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
1047
1047
  }, Dn = (e, t, n) => {
1048
1048
  var o;
1049
1049
  return (o = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && o.builderComponents ? {
1050
- builderComponents: Object.fromEntries(Object.entries(t).filter(([i, s]) => !ct(s, n)))
1050
+ builderComponents: Object.fromEntries(Object.entries(t).filter(([i, s]) => !pt(s, n)))
1051
1051
  } : {};
1052
1052
  }, xn = (e, t) => {
1053
1053
  var n;
1054
1054
  return (n = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && n.builderBlock ? {
1055
1055
  builderBlock: t
1056
1056
  } : {};
1057
- }, On = (e, t) => {
1057
+ }, Un = (e, t) => {
1058
1058
  var n;
1059
1059
  return (n = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && n.builderContext ? {
1060
1060
  builderContext: t
1061
1061
  } : {};
1062
- }, Un = (e) => e.toString(), Fn = () => Promise.resolve().then(() => _n).then((e) => e.default).catch((e) => {
1062
+ }, On = (e) => e.toString(), Fn = () => Promise.resolve().then(() => _n).then((e) => e.default).catch((e) => {
1063
1063
  throw console.error(
1064
1064
  "Error while attempting to dynamically import component DynamicDiv at ../dynamic-div.vue",
1065
1065
  e
1066
1066
  ), e;
1067
- }), Ln = () => import("./block-wrapper-MpV_yto9.js").then((e) => e.default).catch((e) => {
1067
+ }), Ln = () => import("./block-wrapper-sEviqhU3.js").then((e) => e.default).catch((e) => {
1068
1068
  throw console.error(
1069
1069
  "Error while attempting to dynamically import component BlockWrapper at ./components/block-wrapper.vue",
1070
1070
  e
1071
1071
  ), e;
1072
- }), Hn = () => import("./component-ref-FMaZUEHA.js").then((e) => e.default).catch((e) => {
1072
+ }), Hn = () => import("./component-ref-TyXWBWEx.js").then((e) => e.default).catch((e) => {
1073
1073
  throw console.error(
1074
1074
  "Error while attempting to dynamically import component ComponentRef at ./components/component-ref/component-ref.vue",
1075
1075
  e
1076
1076
  ), e;
1077
- }), Mn = () => import("./repeated-block-om1ZGsyQ.js").then((e) => e.default).catch((e) => {
1077
+ }), Mn = () => import("./repeated-block-f2s-IUoM.js").then((e) => e.default).catch((e) => {
1078
1078
  throw console.error(
1079
1079
  "Error while attempting to dynamically import component RepeatedBlock at ./components/repeated-block.vue",
1080
1080
  e
1081
1081
  ), e;
1082
- }), qn = () => import("./style-wrapper-2Rqb9g04.js").then((e) => e.default).catch((e) => {
1082
+ }), jn = () => import("./style-wrapper-MJzB79lB.js").then((e) => e.default).catch((e) => {
1083
1083
  throw console.error(
1084
1084
  "Error while attempting to dynamically import component StyleWrapper at ./components/style-wrapper.vue",
1085
1085
  e
1086
1086
  ), e;
1087
- }), jn = y({
1087
+ }), qn = y({
1088
1088
  name: "block",
1089
1089
  components: {
1090
- StyleWrapper: Q(qn),
1090
+ StyleWrapper: Q(jn),
1091
1091
  RepeatedBlock: Q(Mn),
1092
1092
  ComponentRef: Q(Hn),
1093
1093
  BlockWrapper: Q(Ln),
@@ -1100,7 +1100,7 @@ const ct = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
1100
1100
  value: null,
1101
1101
  update: !1
1102
1102
  },
1103
- generateKey: Un
1103
+ generateKey: On
1104
1104
  };
1105
1105
  },
1106
1106
  mounted() {
@@ -1159,9 +1159,9 @@ const ct = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
1159
1159
  blockChildren: this.processedBlock.children ?? [],
1160
1160
  componentRef: (e = this.blockComponent) == null ? void 0 : e.component,
1161
1161
  componentOptions: {
1162
- ...zt(this.processedBlock, this.context),
1162
+ ...Kt(this.processedBlock, this.context),
1163
1163
  ...xn(this.blockComponent, this.processedBlock),
1164
- ...On(this.blockComponent, this.context),
1164
+ ...Un(this.blockComponent, this.context),
1165
1165
  ...Wn(this.blockComponent, this.linkComponent),
1166
1166
  ...Dn(
1167
1167
  this.blockComponent,
@@ -1174,22 +1174,22 @@ const ct = (e, t) => e ? t ? e.models && e.models.length > 0 && !e.models.includ
1174
1174
  registeredComponents: this.registeredComponents,
1175
1175
  builderBlock: this.processedBlock,
1176
1176
  includeBlockProps: ((t = this.blockComponent) == null ? void 0 : t.noWrap) === !0,
1177
- isInteractive: !((n = this.blockComponent) != null && n.isRSC && $ === "rsc")
1177
+ isInteractive: !((n = this.blockComponent) != null && n.isRSC && R === "rsc")
1178
1178
  };
1179
1179
  }
1180
1180
  }
1181
1181
  });
1182
- function Kn(e, t, n, o, r, i) {
1182
+ function zn(e, t, n, o, r, i) {
1183
1183
  var f;
1184
1184
  const s = k("StyleWrapper"), l = k("ComponentRef"), a = k("Block", !0), u = k("BlockWrapper"), p = k("RepeatedBlock");
1185
- return e.canShowBlock ? (d(), h(I, { key: 0 }, [
1186
- R(s, {
1185
+ return e.canShowBlock ? (d(), h(w, { key: 0 }, [
1186
+ $(s, {
1187
1187
  block: e.processedBlock,
1188
1188
  context: e.context,
1189
1189
  id: e.block.id
1190
1190
  }, null, 8, ["block", "context", "id"]),
1191
- (f = e.blockComponent) != null && f.noWrap ? (d(), h(I, { key: 1 }, [
1192
- e.repeatItem ? (d(!0), h(I, { key: 1 }, F(e.repeatItem, (c, m) => (d(), S(p, {
1191
+ (f = e.blockComponent) != null && f.noWrap ? (d(), h(w, { key: 1 }, [
1192
+ e.repeatItem ? (d(!0), h(w, { key: 1 }, F(e.repeatItem, (c, m) => (d(), S(p, {
1193
1193
  key: e.generateKey(m),
1194
1194
  repeatContext: c.context,
1195
1195
  block: c.block,
@@ -1207,8 +1207,8 @@ function Kn(e, t, n, o, r, i) {
1207
1207
  includeBlockProps: e.componentRefProps.includeBlockProps,
1208
1208
  isInteractive: e.componentRefProps.isInteractive
1209
1209
  }, null, 8, ["componentRef", "componentOptions", "blockChildren", "context", "registeredComponents", "linkComponent", "builderBlock", "includeBlockProps", "isInteractive"]))
1210
- ], 64)) : (d(), h(I, { key: 0 }, [
1211
- e.repeatItem ? (d(!0), h(I, { key: 1 }, F(e.repeatItem, (c, m) => (d(), S(p, {
1210
+ ], 64)) : (d(), h(w, { key: 0 }, [
1211
+ e.repeatItem ? (d(!0), h(w, { key: 1 }, F(e.repeatItem, (c, m) => (d(), S(p, {
1212
1212
  key: e.generateKey(m),
1213
1213
  repeatContext: c.context,
1214
1214
  block: c.block,
@@ -1221,7 +1221,7 @@ function Kn(e, t, n, o, r, i) {
1221
1221
  context: e.context
1222
1222
  }, {
1223
1223
  default: x(() => [
1224
- R(l, {
1224
+ $(l, {
1225
1225
  componentRef: e.componentRefProps.componentRef,
1226
1226
  componentOptions: e.componentRefProps.componentOptions,
1227
1227
  blockChildren: e.componentRefProps.blockChildren,
@@ -1232,7 +1232,7 @@ function Kn(e, t, n, o, r, i) {
1232
1232
  includeBlockProps: e.componentRefProps.includeBlockProps,
1233
1233
  isInteractive: e.componentRefProps.isInteractive
1234
1234
  }, null, 8, ["componentRef", "componentOptions", "blockChildren", "context", "registeredComponents", "linkComponent", "builderBlock", "includeBlockProps", "isInteractive"]),
1235
- (d(!0), h(I, null, F(e.childrenWithoutParentComponent, (c, m) => (d(), S(a, {
1235
+ (d(!0), h(w, null, F(e.childrenWithoutParentComponent, (c, m) => (d(), S(a, {
1236
1236
  key: c.id,
1237
1237
  block: c,
1238
1238
  registeredComponents: e.registeredComponents,
@@ -1245,10 +1245,10 @@ function Kn(e, t, n, o, r, i) {
1245
1245
  ], 64))
1246
1246
  ], 64)) : C("", !0);
1247
1247
  }
1248
- const dt = /* @__PURE__ */ v(jn, [["render", Kn]]), rs = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1248
+ const mt = /* @__PURE__ */ v(qn, [["render", zn]]), os = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1249
1249
  __proto__: null,
1250
- default: dt
1251
- }, Symbol.toStringTag, { value: "Module" })), zn = y({
1250
+ default: mt
1251
+ }, Symbol.toStringTag, { value: "Module" })), Kn = y({
1252
1252
  name: "builder-blocks-wrapper",
1253
1253
  props: [
1254
1254
  "blocks",
@@ -1319,7 +1319,7 @@ const dt = /* @__PURE__ */ v(jn, [["render", Kn]]), rs = /* @__PURE__ */ Object.
1319
1319
  }
1320
1320
  });
1321
1321
  function Gn(e, t, n, o, r, i) {
1322
- return d(), S(Y(e.BlocksWrapper), w({
1322
+ return d(), S(Y(e.BlocksWrapper), I({
1323
1323
  ref: "blocksWrapperRef",
1324
1324
  class: e.className + " component-5vz8uirn7sc",
1325
1325
  "builder-path": e.dataPath,
@@ -1335,9 +1335,9 @@ function Gn(e, t, n, o, r, i) {
1335
1335
  _: 3
1336
1336
  }, 16, ["class", "builder-path", "builder-parent-id", "style", "onClick", "onMouseEnter", "onKeyPress"]);
1337
1337
  }
1338
- const Jn = /* @__PURE__ */ v(zn, [["render", Gn], ["__scopeId", "data-v-82fc93d6"]]), Qn = y({
1338
+ const Jn = /* @__PURE__ */ v(Kn, [["render", Gn], ["__scopeId", "data-v-82fc93d6"]]), Qn = y({
1339
1339
  name: "builder-blocks",
1340
- components: { BlocksWrapper: Jn, Block: dt },
1340
+ components: { BlocksWrapper: Jn, Block: mt },
1341
1341
  props: [
1342
1342
  "blocks",
1343
1343
  "parent",
@@ -1351,7 +1351,7 @@ const Jn = /* @__PURE__ */ v(zn, [["render", Gn], ["__scopeId", "data-v-82fc93d6
1351
1351
  ],
1352
1352
  inject: {
1353
1353
  builderContext: he.key,
1354
- componentsContext: Ge.key
1354
+ componentsContext: Ye.key
1355
1355
  }
1356
1356
  });
1357
1357
  function Yn(e, t, n, o, r, i) {
@@ -1368,7 +1368,7 @@ function Yn(e, t, n, o, r, i) {
1368
1368
  }, {
1369
1369
  default: x(() => [
1370
1370
  V(e.$slots, "default"),
1371
- e.blocks ? (d(!0), h(I, { key: 0 }, F(e.blocks, (c, m) => {
1371
+ e.blocks ? (d(!0), h(w, { key: 0 }, F(e.blocks, (c, m) => {
1372
1372
  var b;
1373
1373
  return d(), S(s, {
1374
1374
  key: c.id,
@@ -1382,7 +1382,7 @@ function Yn(e, t, n, o, r, i) {
1382
1382
  _: 3
1383
1383
  }, 8, ["blocks", "parent", "path", "styleProp", "BlocksWrapperProps", "classNameProp", "BlocksWrapper"]);
1384
1384
  }
1385
- const j = /* @__PURE__ */ v(Qn, [["render", Yn]]), Xn = y({
1385
+ const q = /* @__PURE__ */ v(Qn, [["render", Yn]]), Xn = y({
1386
1386
  name: "dynamic-div",
1387
1387
  props: []
1388
1388
  });
@@ -1396,7 +1396,7 @@ const ee = /* @__PURE__ */ v(Xn, [["render", Zn]]), _n = /* @__PURE__ */ Object.
1396
1396
  default: ee
1397
1397
  }, Symbol.toStringTag, { value: "Module" })), ce = y({
1398
1398
  render() {
1399
- return Me("style", {
1399
+ return ze("style", {
1400
1400
  innerHTML: this.styles,
1401
1401
  "data-id": this.id,
1402
1402
  nonce: this.nonce
@@ -1404,7 +1404,7 @@ const ee = /* @__PURE__ */ v(Xn, [["render", Zn]]), _n = /* @__PURE__ */ Object.
1404
1404
  },
1405
1405
  name: "inlined-styles",
1406
1406
  props: ["styles", "id", "nonce"]
1407
- }), ut = {
1407
+ }), ht = {
1408
1408
  xsmall: {
1409
1409
  min: 0,
1410
1410
  default: 160,
@@ -1425,8 +1425,8 @@ const ee = /* @__PURE__ */ v(Xn, [["render", Zn]]), _n = /* @__PURE__ */ Object.
1425
1425
  default: 991,
1426
1426
  max: 1200
1427
1427
  }
1428
- }, is = (e, t = ut) => `@media (max-width: ${t[e].max}px)`, eo = (e) => {
1429
- const t = ye(ut);
1428
+ }, rs = (e, t = ht) => `@media (max-width: ${t[e].max}px)`, eo = (e) => {
1429
+ const t = Se(ht);
1430
1430
  if (!e)
1431
1431
  return t;
1432
1432
  const {
@@ -1467,8 +1467,8 @@ const ee = /* @__PURE__ */ v(Xn, [["render", Zn]]), _n = /* @__PURE__ */ Object.
1467
1467
  name: "builder-columns",
1468
1468
  components: {
1469
1469
  InlinedStyles: ce,
1470
- DynamicRenderer: Se,
1471
- Blocks: j,
1470
+ DynamicRenderer: Ce,
1471
+ Blocks: q,
1472
1472
  DynamicDiv: ee
1473
1473
  },
1474
1474
  props: [
@@ -1482,7 +1482,7 @@ const ee = /* @__PURE__ */ v(Xn, [["render", Zn]]), _n = /* @__PURE__ */ Object.
1482
1482
  "builderComponents"
1483
1483
  ],
1484
1484
  data() {
1485
- return { TARGET: $, getColumnsClass: to };
1485
+ return { TARGET: R, getColumnsClass: to };
1486
1486
  },
1487
1487
  computed: {
1488
1488
  gutterSize() {
@@ -1598,8 +1598,8 @@ const ee = /* @__PURE__ */ v(Xn, [["render", Zn]]), _n = /* @__PURE__ */ Object.
1598
1598
  ...e.link ? {
1599
1599
  href: e.link
1600
1600
  } : {},
1601
- [q()]: "builder-column",
1602
- style: lt(this.columnCssVars(t))
1601
+ [j()]: "builder-column",
1602
+ style: ut(this.columnCssVars(t))
1603
1603
  };
1604
1604
  }
1605
1605
  }
@@ -1607,7 +1607,7 @@ const ee = /* @__PURE__ */ v(Xn, [["render", Zn]]), _n = /* @__PURE__ */ Object.
1607
1607
  function oo(e, t, n, o, r, i) {
1608
1608
  var u;
1609
1609
  const s = k("InlinedStyles"), l = k("Blocks"), a = k("DynamicRenderer");
1610
- return d(), h("div", w({
1610
+ return d(), h("div", I({
1611
1611
  class: e.getColumnsClass((u = e.builderBlock) == null ? void 0 : u.id) + " div-1be3j8m9ewb",
1612
1612
  style: e.columnsCssVars()
1613
1613
  }, {}), [
@@ -1617,14 +1617,14 @@ function oo(e, t, n, o, r, i) {
1617
1617
  styles: e.columnsStyles(),
1618
1618
  nonce: e.builderContext.nonce
1619
1619
  }, null, 8, ["styles", "nonce"])) : C("", !0),
1620
- (d(!0), h(I, null, F(e.columns, (p, f) => (d(), S(a, {
1620
+ (d(!0), h(w, null, F(e.columns, (p, f) => (d(), S(a, {
1621
1621
  key: f,
1622
1622
  TagName: e.getTagName(p),
1623
1623
  actionAttributes: {},
1624
1624
  attributes: e.getAttributes(p, f)
1625
1625
  }, {
1626
1626
  default: x(() => [
1627
- R(l, {
1627
+ $(l, {
1628
1628
  path: `columns.${f}.blocks`,
1629
1629
  parent: e.builderBlock.id,
1630
1630
  context: e.builderContext,
@@ -1650,7 +1650,7 @@ function so(e, t, n, o, r, i) {
1650
1650
  ]);
1651
1651
  }
1652
1652
  const ao = /* @__PURE__ */ v(io, [["render", so]]);
1653
- function Ue(e) {
1653
+ function He(e) {
1654
1654
  return e.replace(/http(s)?:/, "");
1655
1655
  }
1656
1656
  function lo(e = "", t, n) {
@@ -1661,11 +1661,11 @@ function co(e, t) {
1661
1661
  if (!e || !(e != null && e.match(/cdn\.shopify\.com/)) || !t)
1662
1662
  return e;
1663
1663
  if (t === "master")
1664
- return Ue(e);
1664
+ return He(e);
1665
1665
  const n = e.match(/(_\d+x(\d+)?)?(\.(jpg|jpeg|gif|png|bmp|bitmap|tiff|tif)(\?v=\d+)?)/i);
1666
1666
  if (n) {
1667
1667
  const o = e.split(n[0]), r = n[3], i = t.match("x") ? t : `${t}x`;
1668
- return Ue(`${o[0]}_${i}${r}`);
1668
+ return He(`${o[0]}_${i}${r}`);
1669
1669
  }
1670
1670
  return null;
1671
1671
  }
@@ -1737,14 +1737,14 @@ const uo = y({
1737
1737
  };
1738
1738
  function fo(e, t, n, o, r, i) {
1739
1739
  var s, l, a, u, p, f;
1740
- return d(), h(I, null, [
1741
- K("picture", null, [
1740
+ return d(), h(w, null, [
1741
+ z("picture", null, [
1742
1742
  e.webpSrcSet ? (d(), h("source", {
1743
1743
  key: 0,
1744
1744
  type: "image/webp",
1745
1745
  srcset: e.webpSrcSet
1746
1746
  }, null, 8, po)) : C("", !0),
1747
- K("img", {
1747
+ z("img", {
1748
1748
  loading: e.highPriority ? "eager" : "lazy",
1749
1749
  fetchpriority: e.highPriority ? "high" : "auto",
1750
1750
  alt: e.altText,
@@ -1784,7 +1784,7 @@ const bo = /* @__PURE__ */ v(uo, [["render", fo], ["__scopeId", "data-v-741b9bbc
1784
1784
  }
1785
1785
  });
1786
1786
  function yo(e, t, n, o, r, i) {
1787
- return d(), h("section", w({
1787
+ return d(), h("section", I({
1788
1788
  style: {
1789
1789
  width: "100%",
1790
1790
  alignSelf: "stretch",
@@ -1797,7 +1797,7 @@ function yo(e, t, n, o, r, i) {
1797
1797
  marginLeft: "auto",
1798
1798
  marginRight: "auto"
1799
1799
  }
1800
- }, e.filterAttrs(e.attributes, "v-on:", !1), U(e.filterAttrs(e.attributes, "v-on:", !0), !0)), [
1800
+ }, e.filterAttrs(e.attributes, "v-on:", !1), O(e.filterAttrs(e.attributes, "v-on:", !0), !0)), [
1801
1801
  V(e.$slots, "default")
1802
1802
  ], 16);
1803
1803
  }
@@ -2020,9 +2020,9 @@ const ko = `function getPersonalizedVariant(variants, blockId, isHydrationTarget
2020
2020
  visibilityStylesEl.innerHTML = newStyleStr;
2021
2021
  }
2022
2022
  }
2023
- }`, ne = "default", wo = "filterWithCustomTargeting", pt = "builderIoPersonalization", mt = "updateVisibilityStylesScript", ht = ["react", "vue", "svelte", "qwik"], ft = ["vue", "svelte", "qwik"];
2023
+ }`, ne = "default", wo = "filterWithCustomTargeting", ft = "builderIoPersonalization", bt = "updateVisibilityStylesScript", gt = ["react", "vue", "svelte", "qwik"], yt = ["vue", "svelte", "qwik"];
2024
2024
  function Io(e, t) {
2025
- return !(e && e.length > 0) || !t ? !1 : ft.includes($) ? !0 : !E();
2025
+ return !(e && e.length > 0) || !t ? !1 : yt.includes(R) ? !0 : !E();
2026
2026
  }
2027
2027
  function $o({
2028
2028
  variants: e,
@@ -2064,9 +2064,9 @@ function $o({
2064
2064
  }
2065
2065
  const Ro = () => `
2066
2066
  window.${wo} = ${Co}
2067
- window.${pt} = ${ko}
2068
- window.${mt} = ${To}
2069
- `, bt = $ === "react", Eo = (e, t, n) => `window.${pt}(${JSON.stringify(e)}, "${t}", ${bt}${n ? `, "${n}"` : ""})`, Po = (e, t, n) => `window.${mt}(${JSON.stringify(e)}, "${t}", ${bt}${n ? `, "${n}"` : ""})`, de = {
2067
+ window.${ft} = ${ko}
2068
+ window.${bt} = ${To}
2069
+ `, vt = R === "react", Eo = (e, t, n) => `window.${ft}(${JSON.stringify(e)}, "${t}", ${vt}${n ? `, "${n}"` : ""})`, Po = (e, t, n) => `window.${bt}(${JSON.stringify(e)}, "${t}", ${vt}${n ? `, "${n}"` : ""})`, de = {
2070
2070
  "@type": "@builder.io/sdk:Element",
2071
2071
  layerName: "Accordion item title",
2072
2072
  responsiveStyles: {
@@ -2192,7 +2192,7 @@ const Ro = () => `
2192
2192
  }
2193
2193
  }, Bo = (e) => e.toString(), Vo = y({
2194
2194
  name: "builder-accordion",
2195
- components: { Blocks: j },
2195
+ components: { Blocks: q },
2196
2196
  props: [
2197
2197
  "grid",
2198
2198
  "oneAtATime",
@@ -2292,8 +2292,8 @@ function Wo(e, t, n, o, r, i) {
2292
2292
  class: "builder-accordion",
2293
2293
  style: M(e.accordionStyles)
2294
2294
  }, [
2295
- (d(!0), h(I, null, F(e.items, (l, a) => (d(), h(I, { key: a }, [
2296
- K("div", {
2295
+ (d(!0), h(w, null, F(e.items, (l, a) => (d(), h(w, { key: a }, [
2296
+ z("div", {
2297
2297
  class: Z(e.getAccordionTitleClassName(a)),
2298
2298
  style: M({
2299
2299
  ...e.accordionTitleStyles,
@@ -2305,7 +2305,7 @@ function Wo(e, t, n, o, r, i) {
2305
2305
  "data-index": a,
2306
2306
  onClick: async (u) => e.onClick(a)
2307
2307
  }, [
2308
- R(s, {
2308
+ $(s, {
2309
2309
  blocks: l.title,
2310
2310
  path: `items.${a}.title`,
2311
2311
  parent: e.builderBlock.id,
@@ -2319,7 +2319,7 @@ function Wo(e, t, n, o, r, i) {
2319
2319
  class: Z(e.getAccordionDetailClassName(a)),
2320
2320
  style: M(e.accordionDetailStyles)
2321
2321
  }, [
2322
- R(s, {
2322
+ $(s, {
2323
2323
  blocks: l.detail,
2324
2324
  path: `items.${a}.detail`,
2325
2325
  parent: e.builderBlock.id,
@@ -2367,7 +2367,7 @@ const Do = /* @__PURE__ */ v(Vo, [["render", Wo]]), xo = {
2367
2367
  shouldReceiveBuilderProps: {
2368
2368
  builderLinkComponent: !0
2369
2369
  }
2370
- }, Oo = {
2370
+ }, Uo = {
2371
2371
  // TODO: ways to statically preprocess JSON for references, functions, etc
2372
2372
  name: "Columns",
2373
2373
  isRSC: !0,
@@ -2574,13 +2574,13 @@ const Do = /* @__PURE__ */ v(Vo, [["render", Wo]]), xo = {
2574
2574
  builderComponents: !0,
2575
2575
  builderLinkComponent: !0
2576
2576
  }
2577
- }, Uo = {
2577
+ }, Oo = {
2578
2578
  name: "Fragment",
2579
2579
  static: !0,
2580
2580
  hidden: !0,
2581
2581
  canHaveChildren: !0,
2582
2582
  noWrap: !0
2583
- }, $e = ["jpeg", "jpg", "png", "svg", "webp", "gif", "jfif", "pjpeg", "pjp", "apng", "avif", "tif", "tiff", "heif", "bmp", "eps", "raw", "cr2", "nef", "orf", "sr2", "psd", "heic", "dib", "ai"], Fo = ["mp4", "webm", "mkv", "flv", "vob", "ogv", "ogg", "drc", "gif", "gifv", "mng", "avi", "mov", "qt", "mts", "m2ts", "ts", "wmv", "yuv", "rm", "rmvb", "viv", "asf", "amv", "m4p", "mpeg", "mpe", "m2v", "m4v", "svi", "3gp", "3g2", "mxf", "roq", "nsv", "f4v", "f4p", "f4a", "f4b"], Lo = {
2583
+ }, Ee = ["jpeg", "jpg", "png", "svg", "webp", "gif", "jfif", "pjpeg", "pjp", "apng", "avif", "tif", "tiff", "heif", "bmp", "eps", "raw", "cr2", "nef", "orf", "sr2", "psd", "heic", "dib", "ai"], Fo = ["mp4", "webm", "mkv", "flv", "vob", "ogv", "ogg", "drc", "gif", "gifv", "mng", "avi", "mov", "qt", "mts", "m2ts", "ts", "wmv", "yuv", "rm", "rmvb", "viv", "asf", "amv", "m4p", "mpeg", "mpe", "m2v", "m4v", "svi", "3gp", "3g2", "mxf", "roq", "nsv", "f4v", "f4p", "f4a", "f4b"], Lo = {
2584
2584
  name: "Image",
2585
2585
  static: !0,
2586
2586
  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",
@@ -2595,7 +2595,7 @@ const Do = /* @__PURE__ */ v(Vo, [["render", Wo]]), xo = {
2595
2595
  name: "image",
2596
2596
  type: "file",
2597
2597
  bubble: !0,
2598
- allowedFileTypes: $e,
2598
+ allowedFileTypes: Ee,
2599
2599
  required: !0,
2600
2600
  defaultValue: "https://cdn.builder.io/api/v1/image/assets%2FYJIGb4i01jvw0SRdL5Bt%2F72c80f114dc149019051b6852a9e3b7a",
2601
2601
  onChange: (e) => {
@@ -2728,9 +2728,9 @@ const Do = /* @__PURE__ */ v(Vo, [["render", Wo]]), xo = {
2728
2728
  defaultValue: []
2729
2729
  }]
2730
2730
  }]
2731
- }, Re = y({
2731
+ }, Pe = y({
2732
2732
  render() {
2733
- return Me("script", {
2733
+ return ze("script", {
2734
2734
  innerHTML: this.scriptStr,
2735
2735
  "data-id": this.id,
2736
2736
  nonce: this.nonce
@@ -2741,9 +2741,9 @@ const Do = /* @__PURE__ */ v(Vo, [["render", Wo]]), xo = {
2741
2741
  }), Mo = y({
2742
2742
  name: "builder-personalization-container",
2743
2743
  components: {
2744
- Blocks: j,
2744
+ Blocks: q,
2745
2745
  InlinedStyles: ce,
2746
- InlinedScript: Re
2746
+ InlinedScript: Pe
2747
2747
  },
2748
2748
  props: [
2749
2749
  "builderContext",
@@ -2770,12 +2770,12 @@ const Do = /* @__PURE__ */ v(Vo, [["render", Wo]]), xo = {
2770
2770
  unsubscribers: [],
2771
2771
  shouldRenderVariants: Io(
2772
2772
  this.variants,
2773
- z((s = this.builderContext) == null ? void 0 : s.canTrack)
2773
+ K((s = this.builderContext) == null ? void 0 : s.canTrack)
2774
2774
  ),
2775
2775
  shouldResetVariants: !1,
2776
- TARGET: $,
2776
+ TARGET: R,
2777
2777
  DEFAULT_INDEX: ne,
2778
- SDKS_REQUIRING_RESET_APPROACH: ft
2778
+ SDKS_REQUIRING_RESET_APPROACH: yt
2779
2779
  };
2780
2780
  },
2781
2781
  mounted() {
@@ -2786,10 +2786,10 @@ const Do = /* @__PURE__ */ v(Vo, [["render", Wo]]), xo = {
2786
2786
  this.userAttributes = n;
2787
2787
  },
2788
2788
  {
2789
- fireImmediately: $ === "qwik"
2789
+ fireImmediately: R === "qwik"
2790
2790
  }
2791
2791
  );
2792
- if (!(A() || ke())) {
2792
+ if (!(A() || Te())) {
2793
2793
  const n = this.filteredVariants[0];
2794
2794
  this.$refs.rootRef && (this.$refs.rootRef.dispatchEvent(
2795
2795
  new CustomEvent("builder.variantLoaded", {
@@ -2824,7 +2824,7 @@ const Do = /* @__PURE__ */ v(Vo, [["render", Wo]]), xo = {
2824
2824
  return {
2825
2825
  ...N(this.attributes, "v-on:", !1),
2826
2826
  ...N(this.attributes, "v-on:", !0),
2827
- [q()]: `builder-personalization-container ${this.attributes[q()] || ""}`
2827
+ [j()]: `builder-personalization-container ${this.attributes[j()] || ""}`
2828
2828
  };
2829
2829
  },
2830
2830
  filteredVariants() {
@@ -2863,10 +2863,10 @@ const Do = /* @__PURE__ */ v(Vo, [["render", Wo]]), xo = {
2863
2863
  }
2864
2864
  }
2865
2865
  });
2866
- function qo(e, t, n, o, r, i) {
2867
- var u, p, f, c, m, b, g, P, O, B;
2866
+ function jo(e, t, n, o, r, i) {
2867
+ var u, p, f, c, m, b, g, P, U, B;
2868
2868
  const s = k("Blocks"), l = k("InlinedStyles"), a = k("InlinedScript");
2869
- return d(), h("div", w({ ref: "rootRef" }, e.attrs), [
2869
+ return d(), h("div", I({ ref: "rootRef" }, e.attrs), [
2870
2870
  e.shouldResetVariants && e.SDKS_REQUIRING_RESET_APPROACH.includes(e.TARGET) ? (d(), S(s, {
2871
2871
  key: 0,
2872
2872
  blocks: e.blocksToRender.blocks,
@@ -2879,19 +2879,19 @@ function qo(e, t, n, o, r, i) {
2879
2879
  "data-variant-id": `${(f = e.builderBlock) == null ? void 0 : f.id}-${e.blocksToRender.index}`
2880
2880
  }
2881
2881
  }, null, 8, ["blocks", "parent", "path", "context", "registeredComponents", "BlocksWrapperProps"])) : C("", !0),
2882
- !e.shouldResetVariants && e.SDKS_REQUIRING_RESET_APPROACH.includes(e.TARGET) || !e.SDKS_REQUIRING_RESET_APPROACH.includes(e.TARGET) ? (d(), h(I, { key: 1 }, [
2883
- e.shouldRenderVariants ? (d(), h(I, { key: 0 }, [
2884
- R(l, {
2882
+ !e.shouldResetVariants && e.SDKS_REQUIRING_RESET_APPROACH.includes(e.TARGET) || !e.SDKS_REQUIRING_RESET_APPROACH.includes(e.TARGET) ? (d(), h(w, { key: 1 }, [
2883
+ e.shouldRenderVariants ? (d(), h(w, { key: 0 }, [
2884
+ $(l, {
2885
2885
  nonce: ((c = e.builderContext) == null ? void 0 : c.nonce) || "",
2886
2886
  styles: e.hideVariantsStyleString,
2887
2887
  id: `variants-styles-${(m = e.builderBlock) == null ? void 0 : m.id}`
2888
2888
  }, null, 8, ["nonce", "styles", "id"]),
2889
- R(a, {
2889
+ $(a, {
2890
2890
  nonce: ((b = e.builderContext) == null ? void 0 : b.nonce) || "",
2891
2891
  scriptStr: e.updateVisibilityStylesScript,
2892
2892
  id: `variants-visibility-script-${(g = e.builderBlock) == null ? void 0 : g.id}`
2893
2893
  }, null, 8, ["nonce", "scriptStr", "id"]),
2894
- (d(!0), h(I, null, F(e.variants, (T, W) => {
2894
+ (d(!0), h(w, null, F(e.variants, (T, W) => {
2895
2895
  var G, J, D, H;
2896
2896
  return d(), S(s, {
2897
2897
  key: `${(G = e.builderBlock) == null ? void 0 : G.id}-${W}`,
@@ -2908,12 +2908,12 @@ function qo(e, t, n, o, r, i) {
2908
2908
  registeredComponents: e.builderComponents
2909
2909
  }, {
2910
2910
  default: x(() => {
2911
- var Ee, Pe;
2911
+ var Be, Ve;
2912
2912
  return [
2913
- R(a, {
2914
- nonce: ((Ee = e.builderContext) == null ? void 0 : Ee.nonce) || "",
2913
+ $(a, {
2914
+ nonce: ((Be = e.builderContext) == null ? void 0 : Be.nonce) || "",
2915
2915
  scriptStr: e.scriptStr,
2916
- id: `variants-script-${(Pe = e.builderBlock) == null ? void 0 : Pe.id}-${W}`
2916
+ id: `variants-script-${(Ve = e.builderBlock) == null ? void 0 : Ve.id}-${W}`
2917
2917
  }, null, 8, ["nonce", "scriptStr", "id"])
2918
2918
  ];
2919
2919
  }),
@@ -2921,14 +2921,14 @@ function qo(e, t, n, o, r, i) {
2921
2921
  }, 1032, ["BlocksWrapperProps", "blocks", "parent", "path", "context", "registeredComponents"]);
2922
2922
  }), 128))
2923
2923
  ], 64)) : C("", !0),
2924
- R(s, {
2924
+ $(s, {
2925
2925
  blocks: e.blocksToRender.blocks,
2926
2926
  parent: (P = e.builderBlock) == null ? void 0 : P.id,
2927
2927
  path: e.blocksToRender.path,
2928
2928
  context: e.builderContext,
2929
2929
  registeredComponents: e.builderComponents,
2930
2930
  BlocksWrapperProps: {
2931
- ...(O = e.builderContext) == null ? void 0 : O.BlocksWrapperProps,
2931
+ ...(U = e.builderContext) == null ? void 0 : U.BlocksWrapperProps,
2932
2932
  "data-variant-id": `${(B = e.builderBlock) == null ? void 0 : B.id}-${e.blocksToRender.index}`
2933
2933
  }
2934
2934
  }, {
@@ -2948,7 +2948,7 @@ function qo(e, t, n, o, r, i) {
2948
2948
  ], 64)) : C("", !0)
2949
2949
  ], 16);
2950
2950
  }
2951
- const jo = /* @__PURE__ */ v(Mo, [["render", qo]]), Ko = {
2951
+ const qo = /* @__PURE__ */ v(Mo, [["render", jo]]), zo = {
2952
2952
  name: "Core:Section",
2953
2953
  static: !0,
2954
2954
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F682efef23ace49afac61748dd305c70a",
@@ -2987,7 +2987,7 @@ const jo = /* @__PURE__ */ v(Mo, [["render", qo]]), Ko = {
2987
2987
  }
2988
2988
  }
2989
2989
  }]
2990
- }, zo = {
2990
+ }, Ko = {
2991
2991
  name: "Slot",
2992
2992
  isRSC: !0,
2993
2993
  description: "Allow child blocks to be inserted into this content when used as a Symbol",
@@ -3006,13 +3006,13 @@ const jo = /* @__PURE__ */ v(Mo, [["render", qo]]), Ko = {
3006
3006
  }
3007
3007
  }, Go = y({
3008
3008
  name: "builder-slot",
3009
- components: { Blocks: j },
3009
+ components: { Blocks: q },
3010
3010
  props: ["builderContext", "name", "builderComponents"]
3011
3011
  });
3012
3012
  function Jo(e, t, n, o, r, i) {
3013
3013
  var l, a, u;
3014
3014
  const s = k("Blocks");
3015
- return d(), h("div", w(
3015
+ return d(), h("div", I(
3016
3016
  { style: {
3017
3017
  pointerEvents: "auto"
3018
3018
  } },
@@ -3020,7 +3020,7 @@ function Jo(e, t, n, o, r, i) {
3020
3020
  "builder-slot": e.name
3021
3021
  }
3022
3022
  ), [
3023
- R(s, {
3023
+ $(s, {
3024
3024
  parent: (a = e.builderContext.context) == null ? void 0 : a.symbolId,
3025
3025
  path: `symbol.data.${e.name}`,
3026
3026
  context: e.builderContext,
@@ -3211,7 +3211,7 @@ const Qo = /* @__PURE__ */ v(Go, [["render", Jo]]), Yo = {
3211
3211
  }
3212
3212
  }, Zo = y({
3213
3213
  name: "builder-tabs",
3214
- components: { Blocks: j },
3214
+ components: { Blocks: q },
3215
3215
  props: [
3216
3216
  "defaultActiveTab",
3217
3217
  "tabs",
@@ -3241,7 +3241,7 @@ const Qo = /* @__PURE__ */ v(Go, [["render", Jo]]), Yo = {
3241
3241
  function tr(e, t, n, o, r, i) {
3242
3242
  const s = k("Blocks");
3243
3243
  return d(), h("div", null, [
3244
- K("div", {
3244
+ z("div", {
3245
3245
  class: "builder-tabs-wrap",
3246
3246
  style: M({
3247
3247
  display: "flex",
@@ -3250,13 +3250,13 @@ function tr(e, t, n, o, r, i) {
3250
3250
  overflow: "auto"
3251
3251
  })
3252
3252
  }, [
3253
- (d(!0), h(I, null, F(e.tabs, (l, a) => (d(), h("span", {
3253
+ (d(!0), h(w, null, F(e.tabs, (l, a) => (d(), h("span", {
3254
3254
  key: a,
3255
3255
  class: Z(`builder-tab-wrap ${e.activeTab === a ? "builder-tab-active" : ""}`),
3256
3256
  style: M(e.getTabStyle(a)),
3257
3257
  onClick: async (u) => e.onClick(a)
3258
3258
  }, [
3259
- R(s, {
3259
+ $(s, {
3260
3260
  parent: e.builderBlock.id,
3261
3261
  path: `tabs.${a}.label`,
3262
3262
  blocks: l.label,
@@ -3267,7 +3267,7 @@ function tr(e, t, n, o, r, i) {
3267
3267
  ], 14, _o))), 128))
3268
3268
  ], 4),
3269
3269
  e.activeTabContent(e.activeTab) ? (d(), h("div", er, [
3270
- R(s, {
3270
+ $(s, {
3271
3271
  parent: e.builderBlock.id,
3272
3272
  path: `tabs.${e.activeTab}.content`,
3273
3273
  blocks: e.activeTabContent(e.activeTab),
@@ -3706,7 +3706,7 @@ const vr = /* @__PURE__ */ v(br, [["render", yr]]), Sr = {
3706
3706
  return kr.includes(e) ? e : "production";
3707
3707
  }, Tr = y({
3708
3708
  name: "builder-form-component",
3709
- components: { Blocks: j },
3709
+ components: { Blocks: q },
3710
3710
  props: [
3711
3711
  "builderContext",
3712
3712
  "previewState",
@@ -3797,7 +3797,7 @@ const vr = /* @__PURE__ */ v(br, [["render", yr]]), Sr = {
3797
3797
  else {
3798
3798
  const c = {};
3799
3799
  Array.from(l).forEach(({ value: m, key: b }) => {
3800
- qe(c, b, m);
3800
+ Ke(c, b, m);
3801
3801
  }), i = JSON.stringify(c);
3802
3802
  }
3803
3803
  a && a !== "multipart/form-data" && (t && ((n = this.action) != null && n.includes("zapier.com")) || (r["content-type"] = a));
@@ -3818,7 +3818,7 @@ const vr = /* @__PURE__ */ v(br, [["render", yr]]), Sr = {
3818
3818
  const p = `${Cr() === "dev" ? "http://localhost:5000" : "https://builder.io"}/api/v1/form-submit?apiKey=${this.builderContext.apiKey}&to=${btoa(
3819
3819
  this.sendSubmissionsToEmail || ""
3820
3820
  )}&name=${encodeURIComponent(this.name || "")}`, f = this.sendSubmissionsTo === "email" ? p : this.action;
3821
- ze(f), fetch(f, {
3821
+ Qe(f), fetch(f, {
3822
3822
  body: i,
3823
3823
  headers: r,
3824
3824
  method: this.method || "post"
@@ -3828,32 +3828,32 @@ const vr = /* @__PURE__ */ v(br, [["render", yr]]), Sr = {
3828
3828
  let m;
3829
3829
  const b = c.headers.get("content-type");
3830
3830
  if (b && b.indexOf("application/json") !== -1 ? m = await c.json() : m = await c.text(), !c.ok) {
3831
- const O = new CustomEvent("submit:error", {
3831
+ const U = new CustomEvent("submit:error", {
3832
3832
  detail: {
3833
3833
  error: m,
3834
3834
  status: c.status
3835
3835
  }
3836
3836
  });
3837
3837
  if ((g = this.$refs.formRef) != null && g.nativeElement && ((P = this.$refs.formRef) == null || P.nativeElement.dispatchEvent(
3838
- O
3839
- ), O.defaultPrevented))
3838
+ U
3839
+ ), U.defaultPrevented))
3840
3840
  return;
3841
3841
  this.responseData = m, this.formState = "error";
3842
- let B = this.errorMessagePath ? Je(m, this.errorMessagePath) : m.message || m.error || m;
3842
+ let B = this.errorMessagePath ? Xe(m, this.errorMessagePath) : m.message || m.error || m;
3843
3843
  typeof B != "string" && (B = JSON.stringify(B)), this.formErrorMessage = B, this.mergeNewRootState({
3844
3844
  formErrorMessage: B
3845
3845
  });
3846
3846
  return;
3847
3847
  }
3848
3848
  if (this.responseData = m, this.formState = c.ok ? "success" : "error", c.ok) {
3849
- const O = new CustomEvent("submit:success", {
3849
+ const U = new CustomEvent("submit:success", {
3850
3850
  detail: {
3851
3851
  res: c,
3852
3852
  body: m
3853
3853
  }
3854
3854
  });
3855
3855
  if (this.$refs.formRef) {
3856
- if (this.$refs.formRef.dispatchEvent(O), O.defaultPrevented)
3856
+ if (this.$refs.formRef.dispatchEvent(U), U.defaultPrevented)
3857
3857
  return;
3858
3858
  this.resetFormOnSubmit !== !1 && this.$refs.formRef.reset();
3859
3859
  }
@@ -3883,18 +3883,18 @@ const vr = /* @__PURE__ */ v(br, [["render", yr]]), Sr = {
3883
3883
  }
3884
3884
  }), wr = ["validate", "action", "method", "name"], Ir = {
3885
3885
  key: 2,
3886
- class: "builder-form-error-text pre-2oa2wtipkzk"
3886
+ class: "builder-form-error-text pre-1hjwvu3r5mj"
3887
3887
  };
3888
3888
  function $r(e, t, n, o, r, i) {
3889
3889
  const s = k("Blocks");
3890
- return d(), h("form", w({
3890
+ return d(), h("form", I({
3891
3891
  validate: e.validate,
3892
3892
  ref: "formRef",
3893
3893
  action: !e.sendWithJs && e.action,
3894
3894
  method: e.method,
3895
3895
  name: e.name,
3896
3896
  onSubmit: t[0] || (t[0] = async (l) => e.onSubmit(l))
3897
- }, { ...e.filterAttrs(e.attributes, "v-on:", !1) }, U(e.filterAttrs(e.attributes, "v-on:", !0), !0)), [
3897
+ }, { ...e.filterAttrs(e.attributes, "v-on:", !1) }, O(e.filterAttrs(e.attributes, "v-on:", !0), !0)), [
3898
3898
  V(e.$slots, "default", {}, void 0, !0),
3899
3899
  e.submissionState() === "error" ? (d(), S(s, {
3900
3900
  key: 0,
@@ -3917,7 +3917,7 @@ function $r(e, t, n, o, r, i) {
3917
3917
  }, null, 8, ["blocks", "context"])) : C("", !0)
3918
3918
  ], 16, wr);
3919
3919
  }
3920
- const Rr = /* @__PURE__ */ v(Tr, [["render", $r], ["__scopeId", "data-v-77c7888c"]]), Er = {
3920
+ const Rr = /* @__PURE__ */ v(Tr, [["render", $r], ["__scopeId", "data-v-3c8c685f"]]), Er = {
3921
3921
  name: "Form:Input",
3922
3922
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fad6f37889d9e40bbbbc72cdb5875d6ca",
3923
3923
  inputs: [
@@ -3984,7 +3984,7 @@ const Rr = /* @__PURE__ */ v(Tr, [["render", $r], ["__scopeId", "data-v-77c7888c
3984
3984
  }
3985
3985
  }), Ar = ["placeholder", "type", "name", "value", "defaultValue", "required"];
3986
3986
  function Br(e, t, n, o, r, i) {
3987
- return d(), h("input", w({
3987
+ return d(), h("input", I({
3988
3988
  key: e.isEditing() && e.defaultValue ? e.defaultValue : "default-key",
3989
3989
  placeholder: e.placeholder,
3990
3990
  type: e.type,
@@ -3992,7 +3992,7 @@ function Br(e, t, n, o, r, i) {
3992
3992
  value: e.value,
3993
3993
  defaultValue: e.defaultValue,
3994
3994
  required: e.required
3995
- }, e.filterAttrs(e.attributes, "v-on:", !1), U(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16, Ar);
3995
+ }, e.filterAttrs(e.attributes, "v-on:", !1), O(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16, Ar);
3996
3996
  }
3997
3997
  const Vr = /* @__PURE__ */ v(Pr, [["render", Br]]), Nr = {
3998
3998
  name: "Form:Select",
@@ -4043,21 +4043,21 @@ const Vr = /* @__PURE__ */ v(Pr, [["render", Br]]), Nr = {
4043
4043
  return { isEditing: A, filterAttrs: N };
4044
4044
  }
4045
4045
  }), Dr = ["value", "defaultValue", "name", "required"], xr = ["value"];
4046
- function Or(e, t, n, o, r, i) {
4047
- return d(), h("select", w({
4046
+ function Ur(e, t, n, o, r, i) {
4047
+ return d(), h("select", I({
4048
4048
  value: e.value,
4049
4049
  key: e.isEditing() && e.defaultValue ? e.defaultValue : "default-key",
4050
4050
  defaultValue: e.defaultValue,
4051
4051
  name: e.name,
4052
4052
  required: e.required
4053
- }, e.filterAttrs(e.attributes, "v-on:", !1), U(e.filterAttrs(e.attributes, "v-on:", !0), !0)), [
4054
- (d(!0), h(I, null, F(e.options, (s, l) => (d(), h("option", {
4053
+ }, e.filterAttrs(e.attributes, "v-on:", !1), O(e.filterAttrs(e.attributes, "v-on:", !0), !0)), [
4054
+ (d(!0), h(w, null, F(e.options, (s, l) => (d(), h("option", {
4055
4055
  key: `${s.name}-${l}`,
4056
4056
  value: s.value
4057
4057
  }, le(s.name || s.value), 9, xr))), 128))
4058
4058
  ], 16, Dr);
4059
4059
  }
4060
- const Ur = /* @__PURE__ */ v(Wr, [["render", Or]]), Fr = {
4060
+ const Or = /* @__PURE__ */ v(Wr, [["render", Ur]]), Fr = {
4061
4061
  name: "Form:SubmitButton",
4062
4062
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fdf2820ffed1f4349a94c40b3221f5b98",
4063
4063
  defaultStyles: {
@@ -4090,9 +4090,9 @@ const Ur = /* @__PURE__ */ v(Wr, [["render", Or]]), Fr = {
4090
4090
  }
4091
4091
  });
4092
4092
  function Hr(e, t, n, o, r, i) {
4093
- return d(), h("button", w({ type: "submit" }, e.filterAttrs(e.attributes, "v-on:", !1), U(e.filterAttrs(e.attributes, "v-on:", !0), !0)), le(e.text), 17);
4093
+ return d(), h("button", I({ type: "submit" }, e.filterAttrs(e.attributes, "v-on:", !1), O(e.filterAttrs(e.attributes, "v-on:", !0), !0)), le(e.text), 17);
4094
4094
  }
4095
- const Mr = /* @__PURE__ */ v(Lr, [["render", Hr]]), qr = {
4095
+ const Mr = /* @__PURE__ */ v(Lr, [["render", Hr]]), jr = {
4096
4096
  name: "Form:TextArea",
4097
4097
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Ff74a2f3de58c4c3e939204e5b6b8f6c3",
4098
4098
  inputs: [{
@@ -4128,7 +4128,7 @@ const Mr = /* @__PURE__ */ v(Lr, [["render", Hr]]), qr = {
4128
4128
  },
4129
4129
  static: !0,
4130
4130
  noWrap: !0
4131
- }, jr = y({
4131
+ }, qr = y({
4132
4132
  name: "builder-textarea",
4133
4133
  props: [
4134
4134
  "attributes",
@@ -4141,17 +4141,17 @@ const Mr = /* @__PURE__ */ v(Lr, [["render", Hr]]), qr = {
4141
4141
  data() {
4142
4142
  return { filterAttrs: N };
4143
4143
  }
4144
- }), Kr = ["placeholder", "name", "value", "defaultValue", "required"];
4145
- function zr(e, t, n, o, r, i) {
4146
- return d(), h("textarea", w({
4144
+ }), zr = ["placeholder", "name", "value", "defaultValue", "required"];
4145
+ function Kr(e, t, n, o, r, i) {
4146
+ return d(), h("textarea", I({
4147
4147
  placeholder: e.placeholder,
4148
4148
  name: e.name,
4149
4149
  value: e.value,
4150
4150
  defaultValue: e.defaultValue,
4151
4151
  required: e.required
4152
- }, e.filterAttrs(e.attributes, "v-on:", !1), U(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16, Kr);
4152
+ }, e.filterAttrs(e.attributes, "v-on:", !1), O(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16, zr);
4153
4153
  }
4154
- const Gr = /* @__PURE__ */ v(jr, [["render", zr]]), Jr = {
4154
+ const Gr = /* @__PURE__ */ v(qr, [["render", Kr]]), Jr = {
4155
4155
  name: "Raw:Img",
4156
4156
  hideFromInsertMenu: !0,
4157
4157
  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",
@@ -4159,7 +4159,7 @@ const Gr = /* @__PURE__ */ v(jr, [["render", zr]]), Jr = {
4159
4159
  name: "image",
4160
4160
  bubble: !0,
4161
4161
  type: "file",
4162
- allowedFileTypes: $e,
4162
+ allowedFileTypes: Ee,
4163
4163
  required: !0
4164
4164
  }, {
4165
4165
  name: "backgroundSize",
@@ -4220,7 +4220,7 @@ const Gr = /* @__PURE__ */ v(jr, [["render", zr]]), Jr = {
4220
4220
  const e = {
4221
4221
  ...N(this.attributes, "v-on:", !1),
4222
4222
  ...N(this.attributes, "v-on:", !0),
4223
- [q()]: `builder-raw-img ${this.attributes[q()] || ""}`
4223
+ [j()]: `builder-raw-img ${this.attributes[j()] || ""}`
4224
4224
  };
4225
4225
  return delete e.style, e;
4226
4226
  }
@@ -4228,7 +4228,7 @@ const Gr = /* @__PURE__ */ v(jr, [["render", zr]]), Jr = {
4228
4228
  }), Yr = ["alt", "title", "src"];
4229
4229
  function Xr(e, t, n, o, r, i) {
4230
4230
  var s;
4231
- return d(), h("img", w({
4231
+ return d(), h("img", I({
4232
4232
  loading: "lazy",
4233
4233
  key: e.isEditing() && e.imgSrc || "default-key",
4234
4234
  alt: e.altText,
@@ -4260,7 +4260,7 @@ const Zr = /* @__PURE__ */ v(Qr, [["render", Xr]]), _r = {
4260
4260
  }, {
4261
4261
  name: "posterImage",
4262
4262
  type: "file",
4263
- allowedFileTypes: $e,
4263
+ allowedFileTypes: Ee,
4264
4264
  helperText: "Image to show before the video plays"
4265
4265
  }, {
4266
4266
  name: "autoPlay",
@@ -4425,7 +4425,7 @@ const Zr = /* @__PURE__ */ v(Qr, [["render", Xr]]), _r = {
4425
4425
  function ii(e, t, n, o, r, i) {
4426
4426
  var s, l, a, u, p, f, c;
4427
4427
  return d(), h("div", ti, [
4428
- K("video", w({
4428
+ z("video", I({
4429
4429
  class: "builder-video",
4430
4430
  ref: "videoRef",
4431
4431
  preload: e.lazyLoad ? "none" : e.preload || "metadata",
@@ -4444,7 +4444,7 @@ function ii(e, t, n, o, r, i) {
4444
4444
  },
4445
4445
  poster: e.posterImage
4446
4446
  }, e.spreadProps), [
4447
- K("source", w(
4447
+ z("source", I(
4448
4448
  { type: "video/mp4" },
4449
4449
  e.lazyLoad ? {
4450
4450
  "data-src": e.video
@@ -4486,43 +4486,43 @@ const si = /* @__PURE__ */ v(ei, [["render", ii]]), ai = () => [{
4486
4486
  component: Mr,
4487
4487
  ...Fr
4488
4488
  }, {
4489
- component: Ur,
4489
+ component: Or,
4490
4490
  ...Nr
4491
4491
  }, {
4492
4492
  component: Gr,
4493
- ...qr
4493
+ ...jr
4494
4494
  }, {
4495
4495
  component: Zr,
4496
4496
  ...Jr
4497
4497
  }, {
4498
4498
  component: si,
4499
4499
  ..._r
4500
- }], Fe = () => [{
4501
- component: Ut,
4500
+ }], Me = () => [{
4501
+ component: Ot,
4502
4502
  ...xo
4503
4503
  }, {
4504
4504
  component: ro,
4505
- ...Oo
4505
+ ...Uo
4506
4506
  }, {
4507
4507
  component: ao,
4508
- ...Uo
4508
+ ...Oo
4509
4509
  }, {
4510
4510
  component: bo,
4511
4511
  ...Lo
4512
4512
  }, {
4513
4513
  component: vo,
4514
- ...Ko
4514
+ ...zo
4515
4515
  }, {
4516
4516
  component: Qo,
4517
- ...zo
4517
+ ...Ko
4518
4518
  }, {
4519
4519
  component: zi,
4520
4520
  ...Yo
4521
4521
  }, {
4522
4522
  component: ar,
4523
4523
  ...or
4524
- }, ...ht.includes($) ? [{
4525
- component: jo,
4524
+ }, ...gt.includes(R) ? [{
4525
+ component: qo,
4526
4526
  ...Ho
4527
4527
  }] : [], {
4528
4528
  component: nr,
@@ -4623,59 +4623,37 @@ const si = /* @__PURE__ */ v(ei, [["render", ii]]), ai = () => [{
4623
4623
  thisScriptEl?.remove();
4624
4624
  }
4625
4625
  return;
4626
- }`, gt = "builderIoAbTest", yt = "builderIoRenderContent", oe = (e) => Object.values((e == null ? void 0 : e.variations) || {}).map((t) => ({
4626
+ }`, ye = "builderIoAbTest", ve = "builderIoRenderContent", oe = (e) => Object.values((e == null ? void 0 : e.variations) || {}).map((t) => ({
4627
4627
  ...t,
4628
4628
  testVariationId: t.id,
4629
4629
  id: e == null ? void 0 : e.id
4630
4630
  })), di = ({
4631
4631
  canTrack: e,
4632
4632
  content: t
4633
- }) => !(!(oe(t).length > 0) || !e), ui = (e) => e === "react" || e === "reactNative", pi = $ === "angular", vt = ui($), mi = (e, t) => `
4633
+ }) => !(!(oe(t).length > 0) || !e), ui = (e) => e === "react" || e === "reactNative", pi = R === "angular", Ae = ui(R), mi = () => `
4634
4634
  (function() {
4635
- var selector = 'script[data-id="${e}"]';
4636
- var scriptKey = '__builderioScriptInitialized_${e}';
4637
- var observerKey = '__builderioScriptObserver_${e}';
4638
-
4639
- // Synchronously remove any duplicates already in the DOM
4640
- var existing = document.querySelectorAll(selector);
4641
- existing.forEach(function(script, index) {
4642
- if (index > 0) {
4643
- script.parentNode && script.parentNode.removeChild(script);
4644
- }
4645
- });
4646
-
4647
- // Watch for duplicates added later (e.g. RSC streaming chunks)
4648
- if (!window[observerKey] && typeof MutationObserver !== 'undefined') {
4649
- window[observerKey] = new MutationObserver(function() {
4650
- var all = document.querySelectorAll(selector);
4651
- for (var i = 1; i < all.length; i++) {
4652
- all[i].parentNode && all[i].parentNode.removeChild(all[i]);
4653
- }
4654
- });
4655
- window[observerKey].observe(document.documentElement, { childList: true, subtree: true });
4656
- }
4657
-
4658
- if (!window[scriptKey]) {
4659
- window[scriptKey] = true;
4660
- ${t}
4635
+ if (!window.${ye}) {
4636
+ window.${ye} = ${li};
4661
4637
  }
4638
+ if (!window.${ve}) {
4639
+ window.${ve} = ${ci};
4640
+ }${Ae ? `
4641
+ var thisScriptEl = document.currentScript;
4642
+ if (thisScriptEl) { thisScriptEl.remove(); }` : ""}
4662
4643
  })();
4663
- `, hi = () => `
4664
- window.${gt} = ${li}
4665
- window.${yt} = ${ci}
4666
- `, fi = (e, t) => `
4667
- window.${gt}(
4668
- "${t}",${JSON.stringify(e)}, ${vt}, ${pi}
4669
- )`, bi = ({
4644
+ `, hi = (e, t) => `
4645
+ window.${ye}(
4646
+ "${t}",${JSON.stringify(e)}, ${Ae}, ${pi}
4647
+ )`, fi = ({
4670
4648
  contentId: e,
4671
4649
  variationId: t
4672
- }) => `window.${yt}(
4673
- "${t}", "${e}", ${vt}
4650
+ }) => `window.${ve}(
4651
+ "${t}", "${e}", ${Ae}
4674
4652
  )`;
4675
- function Le(e) {
4653
+ function je(e) {
4676
4654
  return Math.round(e * 1e3) / 1e3;
4677
4655
  }
4678
- const gi = (e, t, n = !0) => {
4656
+ const bi = (e, t, n = !0) => {
4679
4657
  if (!(e instanceof HTMLElement))
4680
4658
  return null;
4681
4659
  let o = n ? e : e.parentElement;
@@ -4686,35 +4664,35 @@ const gi = (e, t, n = !0) => {
4686
4664
  return o;
4687
4665
  } while (o = o.parentElement);
4688
4666
  return null;
4689
- }, yi = (e) => gi(e, (t) => {
4667
+ }, gi = (e) => bi(e, (t) => {
4690
4668
  const n = t.getAttribute("builder-id") || t.id;
4691
4669
  return (n == null ? void 0 : n.indexOf("builder-")) === 0;
4692
- }), He = ({
4670
+ }), qe = ({
4693
4671
  event: e,
4694
4672
  target: t
4695
4673
  }) => {
4696
- const n = t.getBoundingClientRect(), o = e.clientX - n.left, r = e.clientY - n.top, i = Le(o / n.width), s = Le(r / n.height);
4674
+ const n = t.getBoundingClientRect(), o = e.clientX - n.left, r = e.clientY - n.top, i = je(o / n.width), s = je(r / n.height);
4697
4675
  return {
4698
4676
  x: i,
4699
4677
  y: s
4700
4678
  };
4701
- }, vi = (e) => {
4702
- const t = e.target, n = t && yi(t), o = (n == null ? void 0 : n.getAttribute("builder-id")) || (n == null ? void 0 : n.id);
4679
+ }, yi = (e) => {
4680
+ const t = e.target, n = t && gi(t), o = (n == null ? void 0 : n.getAttribute("builder-id")) || (n == null ? void 0 : n.id);
4703
4681
  return {
4704
4682
  targetBuilderElement: o || void 0,
4705
4683
  metadata: {
4706
- targetOffset: t ? He({
4684
+ targetOffset: t ? qe({
4707
4685
  event: e,
4708
4686
  target: t
4709
4687
  }) : void 0,
4710
- builderTargetOffset: n ? He({
4688
+ builderTargetOffset: n ? qe({
4711
4689
  event: e,
4712
4690
  target: n
4713
4691
  }) : void 0,
4714
4692
  builderElementIndex: n && o ? [].slice.call(document.getElementsByClassName(o)).indexOf(n) : void 0
4715
4693
  }
4716
4694
  };
4717
- }, Si = ["svelte", "qwik", "vue"], ki = () => Si.includes($) && (A() || ke()), Ci = (e) => {
4695
+ }, vi = ["svelte", "qwik", "vue"], Si = () => vi.includes(R) && (A() || Te()), ki = (e) => {
4718
4696
  var i;
4719
4697
  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);
4720
4698
  let r = "";
@@ -4740,15 +4718,15 @@ font-weight: ${s};
4740
4718
  `.trim());
4741
4719
  }
4742
4720
  return r;
4743
- }, Ti = ({
4721
+ }, Ci = ({
4744
4722
  customFonts: e
4745
4723
  }) => {
4746
4724
  var t;
4747
- return ((t = e == null ? void 0 : e.map((n) => Ci(n))) == null ? void 0 : t.join(" ")) || "";
4748
- }, wi = ({
4725
+ return ((t = e == null ? void 0 : e.map((n) => ki(n))) == null ? void 0 : t.join(" ")) || "";
4726
+ }, Ti = ({
4749
4727
  cssCode: e,
4750
4728
  contentId: t
4751
- }) => e ? t ? (e == null ? void 0 : e.replace(/&/g, `div[builder-content-id="${t}"]`)) || "" : e : "", Ii = `
4729
+ }) => e ? t ? (e == null ? void 0 : e.replace(/&/g, `div[builder-content-id="${t}"]`)) || "" : e : "", wi = `
4752
4730
  .builder-button {
4753
4731
  all: unset;
4754
4732
  }
@@ -4765,7 +4743,7 @@ font-weight: ${s};
4765
4743
  text-align: inherit;
4766
4744
  font-family: inherit;
4767
4745
  }
4768
- `, $i = (e) => e ? "" : Ii, Ri = (e) => `variant-${e}`, Ei = y({
4746
+ `, Ii = (e) => e ? "" : wi, $i = (e) => `variant-${e}`, Ri = y({
4769
4747
  name: "enable-editor",
4770
4748
  components: { DynamicDiv: ee },
4771
4749
  props: [
@@ -4796,8 +4774,8 @@ font-weight: ${s};
4796
4774
  httpReqsPending: {},
4797
4775
  clicked: !1,
4798
4776
  builderContext: he,
4799
- needsElementRefDivForEditing: ki,
4800
- getWrapperClassName: Ri
4777
+ needsElementRefDivForEditing: Si,
4778
+ getWrapperClassName: $i
4801
4779
  };
4802
4780
  },
4803
4781
  provide() {
@@ -4815,13 +4793,13 @@ font-weight: ${s};
4815
4793
  A() && !this.isNestedRender && this.$refs.elementRef && this.$refs.elementRef.dispatchEvent(
4816
4794
  new CustomEvent("initeditingbldr")
4817
4795
  );
4818
- const o = this.builderContextSignal.content && z(this.canTrack), r = ve({
4796
+ const o = this.builderContextSignal.content && K(this.canTrack), r = ke({
4819
4797
  name: `builder.tests.${(e = this.builderContextSignal.content) == null ? void 0 : e.id}`,
4820
4798
  canTrack: !0
4821
4799
  }), i = (t = this.builderContextSignal.content) == null ? void 0 : t.testVariationId;
4822
4800
  if (o && i === r) {
4823
4801
  const s = (n = this.builderContextSignal.content) == null ? void 0 : n.id, l = this.apiKey;
4824
- Ae({
4802
+ Ne({
4825
4803
  apiHost: this.apiHost,
4826
4804
  type: "impression",
4827
4805
  canTrack: !0,
@@ -4830,7 +4808,7 @@ font-weight: ${s};
4830
4808
  variationId: r !== s ? r : void 0
4831
4809
  });
4832
4810
  }
4833
- ke() && !A() && this.$refs.elementRef && this.$refs.elementRef.dispatchEvent(
4811
+ Te() && !A() && this.$refs.elementRef && this.$refs.elementRef.dispatchEvent(
4834
4812
  new CustomEvent("initpreviewingbldr")
4835
4813
  );
4836
4814
  }
@@ -4932,7 +4910,7 @@ font-weight: ${s};
4932
4910
  this.builderContextSignal.content = n;
4933
4911
  },
4934
4912
  processMessage(e) {
4935
- return _e({
4913
+ return nt({
4936
4914
  model: this.model,
4937
4915
  trustedHosts: this.trustedHosts,
4938
4916
  callbacks: {
@@ -4946,7 +4924,7 @@ font-weight: ${s};
4946
4924
  });
4947
4925
  },
4948
4926
  animation: (t) => {
4949
- st(t);
4927
+ ct(t);
4950
4928
  },
4951
4929
  contentUpdate: (t, n) => {
4952
4930
  this.mergeNewContent(t, n);
@@ -4961,14 +4939,14 @@ font-weight: ${s};
4961
4939
  var t, n;
4962
4940
  if (this.builderContextSignal.content) {
4963
4941
  const o = (t = this.builderContextSignal.content) == null ? void 0 : t.testVariationId, r = (n = this.builderContextSignal.content) == null ? void 0 : n.id;
4964
- Ae({
4942
+ Ne({
4965
4943
  apiHost: this.apiHost,
4966
4944
  type: "click",
4967
- canTrack: z(this.canTrack),
4945
+ canTrack: K(this.canTrack),
4968
4946
  contentId: r,
4969
4947
  apiKey: this.apiKey,
4970
4948
  variationId: o !== r ? o : void 0,
4971
- ...vi(e),
4949
+ ...yi(e),
4972
4950
  unique: !this.clicked
4973
4951
  });
4974
4952
  }
@@ -5006,7 +4984,7 @@ font-weight: ${s};
5006
4984
  url: l,
5007
4985
  method: "GET"
5008
4986
  };
5009
- ze(JSON.stringify(a));
4987
+ Qe(JSON.stringify(a));
5010
4988
  const u = {
5011
4989
  method: a.method,
5012
4990
  headers: a.headers,
@@ -5034,7 +5012,7 @@ font-weight: ${s};
5034
5012
  "builder:component:stateChange",
5035
5013
  {
5036
5014
  detail: {
5037
- state: ye(this.builderContextSignal.rootState),
5015
+ state: Se(this.builderContextSignal.rootState),
5038
5016
  ref: {
5039
5017
  name: this.model
5040
5018
  }
@@ -5044,7 +5022,7 @@ font-weight: ${s};
5044
5022
  );
5045
5023
  },
5046
5024
  elementRef_onIniteditingbldr(e) {
5047
- window.addEventListener("message", this.processMessage), Ze({
5025
+ window.addEventListener("message", this.processMessage), tt({
5048
5026
  ...this.locale ? {
5049
5027
  locale: this.locale
5050
5028
  } : {},
@@ -5074,7 +5052,7 @@ font-weight: ${s};
5074
5052
  const t = new URL(location.href).searchParams, n = t.get("builder.preview"), o = t.get(
5075
5053
  `builder.overrides.${n}`
5076
5054
  ), r = t.get("apiKey") || t.get("builder.space");
5077
- (n === "BUILDER_STUDIO" || n === this.model && r === this.apiKey && (!this.content || o === this.content.id)) && we({
5055
+ (n === "BUILDER_STUDIO" || n === this.model && r === this.apiKey && (!this.content || o === this.content.id)) && $e({
5078
5056
  model: this.model,
5079
5057
  apiKey: this.apiKey,
5080
5058
  apiVersion: this.builderContextSignal.apiVersion,
@@ -5089,9 +5067,9 @@ font-weight: ${s};
5089
5067
  }
5090
5068
  }
5091
5069
  });
5092
- function Pi(e, t, n, o, r, i) {
5070
+ function Ei(e, t, n, o, r, i) {
5093
5071
  var s, l, a;
5094
- return e.builderContextSignal.content || e.needsElementRefDivForEditing() ? (d(), S(Y(e.ContentWrapper), w({
5072
+ return e.builderContextSignal.content || e.needsElementRefDivForEditing() ? (d(), S(Y(e.ContentWrapper), I({
5095
5073
  key: 0,
5096
5074
  ref: "elementRef",
5097
5075
  onClick: (u) => e.onClick(u),
@@ -5110,26 +5088,26 @@ function Pi(e, t, n, o, r, i) {
5110
5088
  _: 3
5111
5089
  }, 16, ["onClick", "builder-content-id", "builder-model", "className", "style", "onIniteditingbldr", "onInitpreviewingbldr"])) : C("", !0);
5112
5090
  }
5113
- const Ai = /* @__PURE__ */ v(Ei, [["render", Pi]]), Bi = y({
5091
+ const Pi = /* @__PURE__ */ v(Ri, [["render", Ei]]), Ai = y({
5114
5092
  name: "content-styles",
5115
5093
  components: { InlinedStyles: ce },
5116
5094
  props: ["cssCode", "contentId", "customFonts", "isNestedRender", "nonce"],
5117
5095
  data() {
5118
5096
  return {
5119
5097
  injectedStyles: `
5120
- ${wi({
5098
+ ${Ti({
5121
5099
  cssCode: this.cssCode,
5122
5100
  contentId: this.contentId
5123
5101
  })}
5124
- ${Ti({
5102
+ ${Ci({
5125
5103
  customFonts: this.customFonts
5126
5104
  })}
5127
- ${$i(this.isNestedRender)}
5105
+ ${Ii(this.isNestedRender)}
5128
5106
  `.trim()
5129
5107
  };
5130
5108
  }
5131
5109
  });
5132
- function Vi(e, t, n, o, r, i) {
5110
+ function Bi(e, t, n, o, r, i) {
5133
5111
  const s = k("InlinedStyles");
5134
5112
  return d(), S(s, {
5135
5113
  id: "builderio-content",
@@ -5137,7 +5115,7 @@ function Vi(e, t, n, o, r, i) {
5137
5115
  nonce: e.nonce
5138
5116
  }, null, 8, ["styles", "nonce"]);
5139
5117
  }
5140
- const Ni = /* @__PURE__ */ v(Bi, [["render", Vi]]), Wi = ({
5118
+ const Vi = /* @__PURE__ */ v(Ai, [["render", Bi]]), Ni = ({
5141
5119
  content: e,
5142
5120
  data: t,
5143
5121
  locale: n
@@ -5154,7 +5132,7 @@ const Ni = /* @__PURE__ */ v(Bi, [["render", Vi]]), Wi = ({
5154
5132
  locale: n
5155
5133
  } : {}
5156
5134
  };
5157
- }, Di = ({
5135
+ }, Wi = ({
5158
5136
  content: e,
5159
5137
  data: t
5160
5138
  }) => e ? {
@@ -5164,13 +5142,13 @@ const Ni = /* @__PURE__ */ v(Bi, [["render", Vi]]), Wi = ({
5164
5142
  ...t
5165
5143
  },
5166
5144
  meta: e == null ? void 0 : e.meta
5167
- } : void 0, xi = kt, Oi = y({
5145
+ } : void 0, Di = kt, xi = y({
5168
5146
  name: "content-component",
5169
5147
  components: {
5170
- EnableEditor: Ai,
5171
- InlinedScript: Re,
5172
- ContentStyles: Ni,
5173
- Blocks: j,
5148
+ EnableEditor: Pi,
5149
+ InlinedScript: Pe,
5150
+ ContentStyles: Vi,
5151
+ Blocks: q,
5174
5152
  DynamicDiv: ee
5175
5153
  },
5176
5154
  props: [
@@ -5199,32 +5177,32 @@ const Ni = /* @__PURE__ */ v(Bi, [["render", Vi]]), Wi = ({
5199
5177
  data() {
5200
5178
  var e, t;
5201
5179
  return {
5202
- scriptStr: bi({
5180
+ scriptStr: fi({
5203
5181
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
5204
5182
  variationId: (e = this.content) == null ? void 0 : e.testVariationId,
5205
5183
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
5206
5184
  contentId: (t = this.content) == null ? void 0 : t.id
5207
5185
  }),
5208
5186
  registeredComponents: [
5209
- ...Fe(),
5187
+ ...Me(),
5210
5188
  ...this.customComponents || []
5211
5189
  ].reduce(
5212
5190
  (n, { component: o, ...r }) => ({
5213
5191
  ...n,
5214
5192
  [r.name]: {
5215
- component: xi(o),
5193
+ component: Di(o),
5216
5194
  ...se(r)
5217
5195
  }
5218
5196
  }),
5219
5197
  {}
5220
5198
  ),
5221
5199
  builderContextSignal: {
5222
- content: Di({
5200
+ content: Wi({
5223
5201
  content: this.content,
5224
5202
  data: this.data
5225
5203
  }),
5226
5204
  localState: void 0,
5227
- rootState: Wi({
5205
+ rootState: Ni({
5228
5206
  content: this.content,
5229
5207
  data: this.data,
5230
5208
  locale: this.locale
@@ -5235,7 +5213,7 @@ const Ni = /* @__PURE__ */ v(Bi, [["render", Vi]]), Wi = ({
5235
5213
  apiKey: this.apiKey,
5236
5214
  apiVersion: this.apiVersion,
5237
5215
  componentInfos: [
5238
- ...Fe(),
5216
+ ...Me(),
5239
5217
  ...this.customComponents || []
5240
5218
  ].reduce(
5241
5219
  (n, { component: o, ...r }) => ({
@@ -5250,13 +5228,13 @@ const Ni = /* @__PURE__ */ v(Bi, [["render", Vi]]), Wi = ({
5250
5228
  nonce: this.nonce || "",
5251
5229
  model: this.model
5252
5230
  },
5253
- TARGET: $
5231
+ TARGET: R
5254
5232
  };
5255
5233
  },
5256
5234
  provide() {
5257
5235
  const e = this;
5258
5236
  return {
5259
- [Ge.key]: {
5237
+ [Ye.key]: {
5260
5238
  registeredComponents: e.registeredComponents
5261
5239
  }
5262
5240
  };
@@ -5302,7 +5280,7 @@ const Ni = /* @__PURE__ */ v(Bi, [["render", Vi]]), Wi = ({
5302
5280
  });
5303
5281
  function Ui(e, t, n, o, r, i) {
5304
5282
  const s = k("InlinedScript"), l = k("ContentStyles"), a = k("Blocks"), u = k("EnableEditor");
5305
- return d(), S(u, w({
5283
+ return d(), S(u, I({
5306
5284
  apiHost: e.apiHost,
5307
5285
  nonce: e.nonce,
5308
5286
  content: e.content,
@@ -5337,7 +5315,7 @@ function Ui(e, t, n, o, r, i) {
5337
5315
  cssCode: (c = (f = e.builderContextSignal.content) == null ? void 0 : f.data) == null ? void 0 : c.cssCode,
5338
5316
  customFonts: (b = (m = e.builderContextSignal.content) == null ? void 0 : m.data) == null ? void 0 : b.customFonts
5339
5317
  }, null, 8, ["nonce", "isNestedRender", "contentId", "cssCode", "customFonts"])) : C("", !0),
5340
- R(a, {
5318
+ $(a, {
5341
5319
  blocks: (P = (g = e.builderContextSignal.content) == null ? void 0 : g.data) == null ? void 0 : P.blocks,
5342
5320
  context: e.builderContextSignal,
5343
5321
  registeredComponents: e.registeredComponents,
@@ -5348,12 +5326,12 @@ function Ui(e, t, n, o, r, i) {
5348
5326
  _: 1
5349
5327
  }, 16, ["apiHost", "nonce", "content", "data", "model", "context", "apiKey", "canTrack", "locale", "enrich", "showContent", "builderContextSignal", "contentWrapper", "contentWrapperProps", "trustedHosts", "isNestedRender"]);
5350
5328
  }
5351
- const Fi = /* @__PURE__ */ v(Oi, [["render", Ui]]), Li = y({
5329
+ const Oi = /* @__PURE__ */ v(xi, [["render", Ui]]), Fi = y({
5352
5330
  name: "content-variants",
5353
5331
  components: {
5354
- InlinedScript: Re,
5332
+ InlinedScript: Pe,
5355
5333
  InlinedStyles: ce,
5356
- ContentComponent: Fi
5334
+ ContentComponent: Oi
5357
5335
  },
5358
5336
  props: [
5359
5337
  "canTrack",
@@ -5379,15 +5357,14 @@ const Fi = /* @__PURE__ */ v(Oi, [["render", Ui]]), Li = y({
5379
5357
  data() {
5380
5358
  return {
5381
5359
  shouldRenderVariants: di({
5382
- canTrack: z(this.canTrack),
5360
+ canTrack: K(this.canTrack),
5383
5361
  content: this.content
5384
5362
  }),
5385
- SDKS_SUPPORTING_PERSONALIZATION: ht,
5363
+ SDKS_SUPPORTING_PERSONALIZATION: gt,
5386
5364
  getInitPersonalizationVariantsFnsScriptString: Ro,
5387
- TARGET: $,
5388
- getInitVariantsFnsScriptString: hi,
5389
- getVariants: oe,
5390
- removeDuplicateScript: mi
5365
+ TARGET: R,
5366
+ getInitVariantsFnsScriptString: mi,
5367
+ getVariants: oe
5391
5368
  };
5392
5369
  },
5393
5370
  mounted() {
@@ -5395,7 +5372,7 @@ const Fi = /* @__PURE__ */ v(Oi, [["render", Ui]]), Li = y({
5395
5372
  computed: {
5396
5373
  updateCookieAndStylesScriptStr() {
5397
5374
  var e;
5398
- return fi(
5375
+ return hi(
5399
5376
  oe(this.content).map((t) => ({
5400
5377
  id: t.testVariationId,
5401
5378
  testRatio: t.testRatio
@@ -5413,44 +5390,39 @@ const Fi = /* @__PURE__ */ v(Oi, [["render", Ui]]), Li = y({
5413
5390
  testVariationId: (e = this.content) == null ? void 0 : e.id
5414
5391
  } : mn({
5415
5392
  item: this.content,
5416
- canTrack: z(this.canTrack)
5393
+ canTrack: K(this.canTrack)
5417
5394
  });
5418
5395
  }
5419
5396
  }
5420
5397
  });
5421
- function Hi(e, t, n, o, r, i) {
5398
+ function Li(e, t, n, o, r, i) {
5422
5399
  const s = k("InlinedScript"), l = k("InlinedStyles"), a = k("ContentComponent");
5423
- return d(), h(I, null, [
5424
- !e.isNestedRender && e.TARGET !== "reactNative" ? (d(), S(s, {
5425
- key: 0,
5426
- id: "builderio-init-variants-fns",
5427
- scriptStr: e.removeDuplicateScript(
5428
- "builderio-init-variants-fns",
5429
- e.getInitVariantsFnsScriptString()
5430
- ),
5431
- nonce: e.nonce || ""
5432
- }, null, 8, ["scriptStr", "nonce"])) : C("", !0),
5433
- !e.isNestedRender && e.TARGET !== "reactNative" && e.SDKS_SUPPORTING_PERSONALIZATION.includes(e.TARGET) ? (d(), S(s, {
5434
- key: 1,
5435
- id: "builderio-init-personalization-variants-fns",
5436
- nonce: e.nonce || "",
5437
- scriptStr: e.removeDuplicateScript(
5438
- "builderio-init-personalization-variants-fns",
5439
- e.getInitPersonalizationVariantsFnsScriptString()
5440
- )
5441
- }, null, 8, ["nonce", "scriptStr"])) : C("", !0),
5442
- e.shouldRenderVariants ? (d(), h(I, { key: 2 }, [
5443
- R(l, {
5400
+ return d(), h(w, null, [
5401
+ !e.isNestedRender && e.TARGET !== "reactNative" ? (d(), h(w, { key: 0 }, [
5402
+ e.SDKS_SUPPORTING_PERSONALIZATION.includes(e.TARGET) ? (d(), S(s, {
5403
+ key: 0,
5404
+ id: "builderio-init-personalization-variants-fns",
5405
+ nonce: e.nonce || "",
5406
+ scriptStr: e.getInitPersonalizationVariantsFnsScriptString()
5407
+ }, null, 8, ["nonce", "scriptStr"])) : C("", !0)
5408
+ ], 64)) : C("", !0),
5409
+ e.shouldRenderVariants ? (d(), h(w, { key: 1 }, [
5410
+ $(s, {
5411
+ id: "builderio-init-variants-fns",
5412
+ scriptStr: e.getInitVariantsFnsScriptString(),
5413
+ nonce: e.nonce || ""
5414
+ }, null, 8, ["scriptStr", "nonce"]),
5415
+ $(l, {
5444
5416
  id: "builderio-variants",
5445
5417
  styles: e.hideVariantsStyleString,
5446
5418
  nonce: e.nonce || ""
5447
5419
  }, null, 8, ["styles", "nonce"]),
5448
- R(s, {
5420
+ $(s, {
5449
5421
  id: "builderio-variants-visibility",
5450
5422
  scriptStr: e.updateCookieAndStylesScriptStr,
5451
5423
  nonce: e.nonce || ""
5452
5424
  }, null, 8, ["scriptStr", "nonce"]),
5453
- (d(!0), h(I, null, F(e.getVariants(e.content), (u, p) => (d(), S(a, w({
5425
+ (d(!0), h(w, null, F(e.getVariants(e.content), (u, p) => (d(), S(a, I({
5454
5426
  key: u.testVariationId,
5455
5427
  apiHost: e.apiHost,
5456
5428
  isNestedRender: e.isNestedRender,
@@ -5475,7 +5447,7 @@ function Hi(e, t, n, o, r, i) {
5475
5447
  trustedHosts: e.trustedHosts
5476
5448
  }, {}), null, 16, ["apiHost", "isNestedRender", "nonce", "content", "model", "data", "context", "apiKey", "apiVersion", "customComponents", "linkComponent", "canTrack", "locale", "enrich", "isSsrAbTest", "blocksWrapper", "blocksWrapperProps", "contentWrapper", "contentWrapperProps", "trustedHosts"]))), 128))
5477
5449
  ], 64)) : C("", !0),
5478
- R(a, w({
5450
+ $(a, I({
5479
5451
  apiHost: e.apiHost,
5480
5452
  nonce: e.nonce,
5481
5453
  isNestedRender: e.isNestedRender,
@@ -5502,13 +5474,13 @@ function Hi(e, t, n, o, r, i) {
5502
5474
  }), null, 16, ["apiHost", "nonce", "isNestedRender", "content", "model", "data", "context", "apiKey", "apiVersion", "customComponents", "linkComponent", "canTrack", "locale", "enrich", "isSsrAbTest", "blocksWrapper", "blocksWrapperProps", "contentWrapper", "contentWrapperProps", "trustedHosts"])
5503
5475
  ], 64);
5504
5476
  }
5505
- const Mi = /* @__PURE__ */ v(Li, [["render", Hi]]), qi = async ({
5477
+ const Hi = /* @__PURE__ */ v(Fi, [["render", Li]]), Mi = async ({
5506
5478
  builderContextValue: e,
5507
5479
  symbol: t
5508
5480
  }) => {
5509
5481
  if (t != null && t.model && // This is a hack, we should not need to check for this, but it is needed for Svelte.
5510
5482
  (e != null && e.apiKey))
5511
- return we({
5483
+ return $e({
5512
5484
  model: t.model,
5513
5485
  apiKey: t.global && t.ownerId ? t.ownerId : e.apiKey,
5514
5486
  apiVersion: e.apiVersion,
@@ -5522,7 +5494,7 @@ const Mi = /* @__PURE__ */ v(Li, [["render", Hi]]), qi = async ({
5522
5494
  });
5523
5495
  }, ji = y({
5524
5496
  name: "builder-symbol",
5525
- components: { ContentVariants: Mi, DynamicDiv: ee },
5497
+ components: { ContentVariants: Hi, DynamicDiv: ee },
5526
5498
  props: [
5527
5499
  "symbol",
5528
5500
  "builderComponents",
@@ -5564,7 +5536,7 @@ const Mi = /* @__PURE__ */ v(Li, [["render", Hi]]), qi = async ({
5564
5536
  className() {
5565
5537
  var e, t;
5566
5538
  return [
5567
- this.attributes[q()],
5539
+ this.attributes[j()],
5568
5540
  "builder-symbol",
5569
5541
  (e = this.symbol) != null && e.inline ? "builder-inline-symbol" : void 0,
5570
5542
  (t = this.symbol) != null && t.dynamic || this.dynamic ? "builder-dynamic-symbol" : void 0
@@ -5579,7 +5551,7 @@ const Mi = /* @__PURE__ */ v(Li, [["render", Hi]]), qi = async ({
5579
5551
  methods: {
5580
5552
  setContent() {
5581
5553
  var e;
5582
- this.contentToUse && this.symbolEntry === ((e = this.symbol) == null ? void 0 : e.entry) || qi({
5554
+ this.contentToUse && this.symbolEntry === ((e = this.symbol) == null ? void 0 : e.entry) || Mi({
5583
5555
  symbol: this.symbol,
5584
5556
  builderContextValue: this.builderContext
5585
5557
  }).then((t) => {
@@ -5589,11 +5561,11 @@ const Mi = /* @__PURE__ */ v(Li, [["render", Hi]]), qi = async ({
5589
5561
  }
5590
5562
  }
5591
5563
  });
5592
- function Ki(e, t, n, o, r, i) {
5564
+ function qi(e, t, n, o, r, i) {
5593
5565
  var l, a, u, p, f, c, m;
5594
5566
  const s = k("ContentVariants");
5595
- return d(), h("div", w({ class: e.className }, { ...e.filterAttrs(e.attributes, "v-on:", !1) }, U(e.filterAttrs(e.attributes, "v-on:", !0), !0)), [
5596
- R(s, {
5567
+ return d(), h("div", I({ class: e.className }, { ...e.filterAttrs(e.attributes, "v-on:", !1) }, O(e.filterAttrs(e.attributes, "v-on:", !0), !0)), [
5568
+ $(s, {
5597
5569
  nonce: e.builderContext.nonce,
5598
5570
  isNestedRender: !0,
5599
5571
  apiVersion: e.builderContext.apiVersion,
@@ -5617,43 +5589,43 @@ function Ki(e, t, n, o, r, i) {
5617
5589
  }, null, 8, ["nonce", "apiVersion", "apiKey", "context", "customComponents", "data", "canTrack", "model", "content", "linkComponent", "blocksWrapper", "contentWrapper"])
5618
5590
  ], 16);
5619
5591
  }
5620
- const zi = /* @__PURE__ */ v(ji, [["render", Ki]]);
5592
+ const zi = /* @__PURE__ */ v(ji, [["render", qi]]);
5621
5593
  export {
5622
- we as A,
5623
- dt as B,
5594
+ $e as A,
5595
+ mt as B,
5624
5596
  ro as C,
5625
- Qi as D,
5626
- rs as E,
5597
+ Ji as D,
5598
+ os as E,
5627
5599
  ao as F,
5628
5600
  bo as I,
5629
5601
  vo as S,
5630
5602
  ar as T,
5631
5603
  si as V,
5632
5604
  v as _,
5633
- q as a,
5605
+ j as a,
5634
5606
  he as b,
5635
5607
  ce as c,
5636
5608
  eo as d,
5637
5609
  _ as e,
5638
- ns as f,
5639
- os as g,
5640
- is as h,
5641
- Ie as i,
5610
+ ts as f,
5611
+ ns as g,
5612
+ rs as h,
5613
+ Re as i,
5642
5614
  tn as j,
5643
- Ut as k,
5615
+ Ot as k,
5644
5616
  zi as l,
5645
- j as m,
5646
- Mi as n,
5647
- ke as o,
5617
+ q as m,
5618
+ Hi as n,
5619
+ Te as o,
5648
5620
  nn as p,
5649
- Xi as q,
5650
- Yi as r,
5651
- es as s,
5652
- Zi as t,
5653
- Ye as u,
5654
- _i as v,
5655
- xi as w,
5656
- ts as x,
5621
+ Yi as q,
5622
+ Qi as r,
5623
+ _i as s,
5624
+ Xi as t,
5625
+ _e as u,
5626
+ Zi as v,
5627
+ Di as w,
5628
+ es as x,
5657
5629
  wn as y,
5658
5630
  In as z
5659
5631
  };