@builder.io/sdk-vue 2.0.24 → 2.0.25

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 (55) hide show
  1. package/lib/browser/{awaiter-g25f4_3R.cjs → awaiter-23x9Wk9g.cjs} +1 -1
  2. package/lib/browser/{awaiter-J3HUxkGi.js → awaiter-tjkV0OML.js} +1 -1
  3. package/lib/browser/{block-styles-TEcZV6HE.js → block-styles-iSXgxy2c.js} +1 -1
  4. package/lib/browser/{block-styles-grUICPvP.cjs → block-styles-kRQCCX9t.cjs} +1 -1
  5. package/lib/browser/{block-wrapper-FeIbV4lJ.js → block-wrapper-7G8ua10s.js} +3 -3
  6. package/lib/browser/{block-wrapper-29DvN0g9.cjs → block-wrapper-b0FL4A4o.cjs} +1 -1
  7. package/lib/browser/{component-ref-XOiYQaEV.js → component-ref-23RPWonP.js} +3 -3
  8. package/lib/browser/{component-ref-0BQRfKsS.cjs → component-ref-quKGEuEz.cjs} +1 -1
  9. package/lib/browser/constants/sdk-version.d.ts +1 -1
  10. package/lib/browser/{get-block-properties-9fNXyxXS.cjs → get-block-properties-_P9vw3zA.cjs} +1 -1
  11. package/lib/browser/{get-block-properties-AbQ4_DbB.js → get-block-properties-yY8QiK7p.js} +1 -1
  12. package/lib/browser/helpers/sdk-headers.d.ts +5 -0
  13. package/lib/browser/{index-eo1_2KG1.cjs → index-DMWpqZ_2.cjs} +23 -23
  14. package/lib/browser/{index-VkKzZMwZ.js → index-udCKeeEB.js} +483 -471
  15. package/lib/browser/index.cjs +1 -1
  16. package/lib/browser/index.mjs +1 -1
  17. package/lib/browser/{repeated-block-3wAFgYUP.cjs → repeated-block-7mJZ0k_W.cjs} +1 -1
  18. package/lib/browser/{repeated-block-rRkup9T9.js → repeated-block-ZXjysCEP.js} +2 -2
  19. package/lib/edge/{awaiter-bswCddmn.js → awaiter-8UIL439V.js} +1 -1
  20. package/lib/edge/{awaiter-z-FdxR2q.cjs → awaiter-q7QPf2ls.cjs} +1 -1
  21. package/lib/edge/{block-styles-_Y6pfvRo.js → block-styles-TaCD-AEs.js} +1 -1
  22. package/lib/edge/{block-styles-RI6klyct.cjs → block-styles-btF9xO7m.cjs} +1 -1
  23. package/lib/edge/{block-wrapper-RoXrtNnJ.js → block-wrapper-dEWTROXs.js} +3 -3
  24. package/lib/edge/{block-wrapper-oxJp7Q7d.cjs → block-wrapper-mJEc21SN.cjs} +1 -1
  25. package/lib/edge/{component-ref-K5NE0GO1.cjs → component-ref-ZtE936HW.cjs} +1 -1
  26. package/lib/edge/{component-ref-CvZ3PHsD.js → component-ref-s40H3oSA.js} +3 -3
  27. package/lib/edge/constants/sdk-version.d.ts +1 -1
  28. package/lib/edge/{get-block-properties-WJ04QqT6.js → get-block-properties-E6IlSVtd.js} +1 -1
  29. package/lib/edge/{get-block-properties-kxJh9lLa.cjs → get-block-properties-cPpFrJzo.cjs} +1 -1
  30. package/lib/edge/helpers/sdk-headers.d.ts +5 -0
  31. package/lib/edge/{index-UNfETa4b.js → index-C9ugK_z9.js} +528 -516
  32. package/lib/edge/{index-PB_wCbdz.cjs → index-e-9o30rZ.cjs} +31 -31
  33. package/lib/edge/index.cjs +1 -1
  34. package/lib/edge/index.mjs +1 -1
  35. package/lib/{node/repeated-block-1bi9_70I.cjs → edge/repeated-block-H93-mkPL.cjs} +1 -1
  36. package/lib/edge/{repeated-block-3sTRvL3l.js → repeated-block-bCWBWRos.js} +2 -2
  37. package/lib/node/{awaiter-JHWYv1Aa.cjs → awaiter-5RC_NBfF.cjs} +1 -1
  38. package/lib/node/{awaiter--0M8C3yH.js → awaiter-RtzoFcgF.js} +1 -1
  39. package/lib/node/{block-styles-6tPiAmBz.cjs → block-styles--Z2ga0ww.cjs} +1 -1
  40. package/lib/node/{block-styles-quUqeiHV.js → block-styles-p9EVZ--A.js} +1 -1
  41. package/lib/node/{block-wrapper-1t5eBFHt.js → block-wrapper-3KYjgNSM.js} +3 -3
  42. package/lib/node/{block-wrapper-RW0Dijwl.cjs → block-wrapper-X3JbYLjC.cjs} +1 -1
  43. package/lib/node/{component-ref-Aiwer6jd.js → component-ref-otsSnHPE.js} +3 -3
  44. package/lib/node/{component-ref-VImBkRlv.cjs → component-ref-sqw7jB13.cjs} +1 -1
  45. package/lib/node/constants/sdk-version.d.ts +1 -1
  46. package/lib/node/{get-block-properties-l9MvlM58.cjs → get-block-properties-P9abw_Qq.cjs} +1 -1
  47. package/lib/node/{get-block-properties-iMgsO_St.js → get-block-properties-e8oSlHVZ.js} +1 -1
  48. package/lib/node/helpers/sdk-headers.d.ts +5 -0
  49. package/lib/node/{index-vY7Ih1wu.js → index-IksZ0BcQ.js} +485 -473
  50. package/lib/node/{index-ncxt02LY.cjs → index-wlUebKy9.cjs} +23 -23
  51. package/lib/node/index.cjs +1 -1
  52. package/lib/node/index.mjs +1 -1
  53. package/lib/{edge/repeated-block-JWTG1SGC.cjs → node/repeated-block-3r29TWSO.cjs} +1 -1
  54. package/lib/node/{repeated-block-n_E2nVxY.js → repeated-block-mD49LdDR.js} +2 -2
  55. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
1
  import "./style.css";
2
- import { defineComponent as f, openBlock as d, createElementBlock as m, Fragment as w, createBlock as k, resolveDynamicComponent as j, mergeProps as C, toHandlers as B, withCtx as W, renderSlot as x, resolveComponent as v, createTextVNode as ct, toDisplayString as ee, defineAsyncComponent as M, createVNode as $, renderList as A, createCommentVNode as S, h as Pe, createElementVNode as K, normalizeStyle as F, normalizeClass as q, markRaw as dt } from "vue";
3
- const ut = /* @__PURE__ */ new Set(["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen", "link", "meta", "param", "source", "track", "wbr"]), pt = (e) => typeof e == "string" && ut.has(e.toLowerCase());
2
+ import { defineComponent as f, openBlock as d, createElementBlock as m, Fragment as w, createBlock as k, resolveDynamicComponent as j, mergeProps as C, toHandlers as B, withCtx as W, renderSlot as x, resolveComponent as v, createTextVNode as ut, toDisplayString as ee, defineAsyncComponent as M, createVNode as $, renderList as A, createCommentVNode as S, h as Pe, createElementVNode as K, normalizeStyle as F, normalizeClass as q, markRaw as pt } from "vue";
3
+ const mt = /* @__PURE__ */ new Set(["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen", "link", "meta", "param", "source", "track", "wbr"]), ht = (e) => typeof e == "string" && mt.has(e.toLowerCase());
4
4
  function V(e = {}, t, n) {
5
5
  const o = {};
6
6
  for (const r in e) {
@@ -11,11 +11,11 @@ function V(e = {}, t, n) {
11
11
  }
12
12
  return o;
13
13
  }
14
- const mt = f({
14
+ const ft = f({
15
15
  name: "dynamic-renderer",
16
16
  props: ["TagName", "attributes", "actionAttributes"],
17
17
  data() {
18
- return { isEmptyElement: pt };
18
+ return { isEmptyElement: ht };
19
19
  }
20
20
  }), b = (e, t) => {
21
21
  const n = e.__vccOpts || e;
@@ -23,7 +23,7 @@ const mt = f({
23
23
  n[o] = r;
24
24
  return n;
25
25
  };
26
- function ht(e, t, n, o, r, i) {
26
+ function bt(e, t, n, o, r, i) {
27
27
  return e.isEmptyElement(e.TagName) ? (d(), k(j(e.TagName), C({ key: 1 }, e.attributes, B(e.actionAttributes)), null, 16)) : (d(), m(w, { key: 0 }, [
28
28
  typeof e.TagName == "string" ? (d(), k(j(e.TagName), C({ key: 0 }, e.attributes, B(e.actionAttributes)), {
29
29
  default: W(() => [
@@ -38,11 +38,11 @@ function ht(e, t, n, o, r, i) {
38
38
  }, 16))
39
39
  ], 64));
40
40
  }
41
- const de = /* @__PURE__ */ b(mt, [["render", ht]]), Pi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
41
+ const de = /* @__PURE__ */ b(ft, [["render", bt]]), Bi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
42
42
  __proto__: null,
43
43
  default: de
44
- }, Symbol.toStringTag, { value: "Module" })), P = "vue", Z = () => {
45
- switch (P) {
44
+ }, Symbol.toStringTag, { value: "Module" })), R = "vue", Z = () => {
45
+ switch (R) {
46
46
  case "react":
47
47
  case "reactNative":
48
48
  case "rsc":
@@ -54,7 +54,7 @@ const de = /* @__PURE__ */ b(mt, [["render", ht]]), Pi = /* @__PURE__ */ Object.
54
54
  case "angular":
55
55
  return "class";
56
56
  }
57
- }, ft = f({
57
+ }, gt = f({
58
58
  name: "builder-button",
59
59
  components: { DynamicRenderer: de },
60
60
  props: [
@@ -83,7 +83,7 @@ const de = /* @__PURE__ */ b(mt, [["render", ht]]), Pi = /* @__PURE__ */ Object.
83
83
  }
84
84
  }
85
85
  });
86
- function bt(e, t, n, o, r, i) {
86
+ function yt(e, t, n, o, r, i) {
87
87
  const s = v("DynamicRenderer");
88
88
  return d(), k(s, {
89
89
  attributes: e.attrs(),
@@ -91,12 +91,12 @@ function bt(e, t, n, o, r, i) {
91
91
  actionAttributes: e.filterAttrs(e.attributes, "v-on:", !0)
92
92
  }, {
93
93
  default: W(() => [
94
- ct(ee(e.text), 1)
94
+ ut(ee(e.text), 1)
95
95
  ]),
96
96
  _: 1
97
97
  }, 8, ["attributes", "TagName", "actionAttributes"]);
98
98
  }
99
- const gt = /* @__PURE__ */ b(ft, [["render", bt]]), yt = Symbol(), se = {
99
+ const kt = /* @__PURE__ */ b(gt, [["render", yt]]), vt = Symbol(), se = {
100
100
  Builder: {
101
101
  content: null,
102
102
  context: {},
@@ -112,25 +112,25 @@ const gt = /* @__PURE__ */ b(ft, [["render", bt]]), yt = Symbol(), se = {
112
112
  BlocksWrapperProps: {},
113
113
  nonce: ""
114
114
  },
115
- key: yt
116
- }, kt = Symbol(), Be = {
115
+ key: vt
116
+ }, St = Symbol(), Be = {
117
117
  Components: { registeredComponents: {} },
118
- key: kt
118
+ key: St
119
119
  };
120
- function vt(e) {
120
+ function Ct(e) {
121
121
  var t;
122
122
  return {
123
123
  ...(t = e.component) == null ? void 0 : t.options,
124
124
  ...e.options
125
125
  };
126
126
  }
127
- function St(e, ...t) {
127
+ function wt(e, ...t) {
128
128
  const n = Object.assign({}, e);
129
129
  for (const o of t)
130
130
  delete n[o];
131
131
  return n;
132
132
  }
133
- const X = "[Builder.io]: ", E = {
133
+ const X = "[Builder.io]: ", P = {
134
134
  log: (...e) => console.log(X, ...e),
135
135
  error: (...e) => console.error(X, ...e),
136
136
  warn: (...e) => console.warn(X, ...e),
@@ -142,27 +142,27 @@ const X = "[Builder.io]: ", E = {
142
142
  function I() {
143
143
  return typeof window < "u" && typeof document < "u";
144
144
  }
145
- const Ct = (e) => {
145
+ const Tt = (e) => {
146
146
  const t = {};
147
147
  return e.forEach((n, o) => {
148
148
  t[o] = n;
149
149
  }), t;
150
- }, Ae = (e) => e instanceof URLSearchParams ? Ct(e) : e, Ve = (e) => typeof e == "string" ? e : e instanceof URLSearchParams ? e.toString() : new URLSearchParams(e).toString();
151
- function wt() {
150
+ }, Ae = (e) => e instanceof URLSearchParams ? Tt(e) : e, Ve = (e) => typeof e == "string" ? e : e instanceof URLSearchParams ? e.toString() : new URLSearchParams(e).toString();
151
+ function It() {
152
152
  return I() && window.self !== window.top;
153
153
  }
154
- function R(e) {
155
- return wt() && // accessing window.location.search is safe here because `isIframe()` is only `true` if we're in a browser.
154
+ function E(e) {
155
+ return It() && // accessing window.location.search is safe here because `isIframe()` is only `true` if we're in a browser.
156
156
  Ve(e || window.location.search).indexOf("builder.frameEditing=") !== -1;
157
157
  }
158
- const Tt = () => {
158
+ const $t = () => {
159
159
  if (I()) {
160
160
  const e = new URL(location.href);
161
161
  return e.pathname === "" && (e.pathname = "/"), e;
162
162
  } else
163
163
  return console.warn("Cannot get location for tracking in non-browser environment"), null;
164
- }, It = () => typeof navigator == "object" && navigator.userAgent || "", We = () => {
165
- const e = It(), t = {
164
+ }, Rt = () => typeof navigator == "object" && navigator.userAgent || "", We = () => {
165
+ const e = Rt(), t = {
166
166
  Android() {
167
167
  return e.match(/Android/i);
168
168
  },
@@ -179,15 +179,15 @@ const Tt = () => {
179
179
  return e.match(/IEMobile/i) || e.match(/WPDesktop/i);
180
180
  },
181
181
  any() {
182
- return t.Android() || t.BlackBerry() || t.iOS() || t.Opera() || t.Windows() || P === "reactNative";
182
+ return t.Android() || t.BlackBerry() || t.iOS() || t.Opera() || t.Windows() || R === "reactNative";
183
183
  }
184
- }, n = e.match(/Tablet|iPad/i), o = Tt();
184
+ }, n = e.match(/Tablet|iPad/i), o = $t();
185
185
  return {
186
186
  urlPath: o == null ? void 0 : o.pathname,
187
187
  host: (o == null ? void 0 : o.host) || (o == null ? void 0 : o.hostname),
188
188
  device: n ? "tablet" : t.any() ? "mobile" : "desktop"
189
189
  };
190
- }, $t = ({
190
+ }, Et = ({
191
191
  builder: e,
192
192
  context: t,
193
193
  event: n,
@@ -199,12 +199,12 @@ const Tt = () => {
199
199
  builder: e,
200
200
  context: t,
201
201
  event: n
202
- }), Rt = () => ({
203
- isEditing: R(),
202
+ }), Pt = () => ({
203
+ isEditing: E(),
204
204
  isBrowser: I(),
205
205
  isServer: !I(),
206
206
  getUserAttributes: () => We()
207
- }), Et = (e, {
207
+ }), Bt = (e, {
208
208
  isExpression: t = !0
209
209
  }) => /* we disable this for cases where we definitely don't want a return */ t && !(e.includes(";") || e.includes(" return ") || e.trim().startsWith("return ")) ? `return (${e});` : e;
210
210
  function Ne({
@@ -241,7 +241,7 @@ const ke = ({
241
241
  rootSetState: i,
242
242
  rootState: s
243
243
  }) => {
244
- const l = $t({
244
+ const l = Et({
245
245
  builder: t,
246
246
  context: n,
247
247
  event: o,
@@ -253,23 +253,23 @@ const ke = ({
253
253
  });
254
254
  return new Function(...l.map(([a]) => a), e)(...l.map(([, a]) => a));
255
255
  }, D = (e) => e != null;
256
- function Pt() {
256
+ function xt() {
257
257
  var e;
258
258
  return typeof process < "u" && D((e = process == null ? void 0 : process.versions) == null ? void 0 : e.node);
259
259
  }
260
- const Bt = ({
260
+ const At = ({
261
261
  shouldLogWarning: e
262
262
  }) => {
263
263
  var r;
264
- if (!Pt())
264
+ if (!xt())
265
265
  return !1;
266
266
  const t = process.arch === "arm64", n = process.version.startsWith("v20"), o = (r = process.env.NODE_OPTIONS) == null ? void 0 : r.includes("--no-node-snapshot");
267
- return t && n && !o ? (e && E.log("Skipping usage of `isolated-vm` to avoid crashes in Node v20 on an arm64 machine.\n If you would like to use the `isolated-vm` package on this machine, please provide the `NODE_OPTIONS=--no-node-snapshot` config to your Node process.\n See https://github.com/BuilderIO/builder/blob/main/packages/sdks/README.md#node-v20--m1-macs-apple-silicon-support for more information.\n "), !0) : !1;
268
- }, xt = (e) => (I() || Bt({
267
+ return t && n && !o ? (e && P.log("Skipping usage of `isolated-vm` to avoid crashes in Node v20 on an arm64 machine.\n If you would like to use the `isolated-vm` package on this machine, please provide the `NODE_OPTIONS=--no-node-snapshot` config to your Node process.\n See https://github.com/BuilderIO/builder/blob/main/packages/sdks/README.md#node-v20--m1-macs-apple-silicon-support for more information.\n "), !0) : !1;
268
+ }, Vt = (e) => (I() || At({
269
269
  shouldLogWarning: !0
270
- }), ke(e)), At = /^(return )?(\s*)?state(?<getPath>(\.\w+)+)(\s*);?$/, Vt = /(\s)*var(\s)+_virtual_index(\s)*=(\s)*state(?<getPath>(\.\w+)+)(\s*);?(\s)*return(\s)*_virtual_index(\s)*/, Wt = (e) => {
270
+ }), ke(e)), Wt = /^(return )?(\s*)?state(?<getPath>(\.\w+)+)(\s*);?$/, Nt = /(\s)*var(\s)+_virtual_index(\s)*=(\s)*state(?<getPath>(\.\w+)+)(\s*);?(\s)*return(\s)*_virtual_index(\s)*/, Ot = (e) => {
271
271
  var t, n, o, r, i, s;
272
- return ((o = (n = (t = At.exec(e.trim())) == null ? void 0 : t.groups) == null ? void 0 : n.getPath) == null ? void 0 : o.slice(1)) || ((s = (i = (r = Vt.exec(e.trim())) == null ? void 0 : r.groups) == null ? void 0 : i.getPath) == null ? void 0 : s.slice(1));
272
+ return ((o = (n = (t = Wt.exec(e.trim())) == null ? void 0 : t.groups) == null ? void 0 : n.getPath) == null ? void 0 : o.slice(1)) || ((s = (i = (r = Nt.exec(e.trim())) == null ? void 0 : r.groups) == null ? void 0 : i.getPath) == null ? void 0 : s.slice(1));
273
273
  };
274
274
  function J({
275
275
  code: e,
@@ -282,17 +282,17 @@ function J({
282
282
  }) {
283
283
  if (e.trim() === "")
284
284
  return;
285
- const l = Wt(e.trim());
285
+ const l = Ot(e.trim());
286
286
  if (l)
287
287
  return xe({
288
288
  ...o,
289
289
  ...n
290
290
  }, l);
291
291
  const a = {
292
- code: Et(e, {
292
+ code: Bt(e, {
293
293
  isExpression: s
294
294
  }),
295
- builder: Rt(),
295
+ builder: Pt(),
296
296
  context: t,
297
297
  event: i,
298
298
  rootSetState: r,
@@ -300,9 +300,9 @@ function J({
300
300
  localState: n
301
301
  };
302
302
  try {
303
- return xt(a);
303
+ return Vt(a);
304
304
  } catch (u) {
305
- E.error("Failed code evaluation: " + u.message, {
305
+ P.error("Failed code evaluation: " + u.message, {
306
306
  code: e
307
307
  });
308
308
  return;
@@ -326,8 +326,8 @@ function ae(e) {
326
326
  n !== "meta" && Object.prototype.hasOwnProperty.call(e, n) && (t[n] = ae(e[n]));
327
327
  return t;
328
328
  }
329
- const Nt = ["svelte", "vue", "angular", "qwik", "solid"].includes(P), Ot = (e) => {
330
- if (Nt) {
329
+ const Ft = ["svelte", "vue", "angular", "qwik", "solid"].includes(R), Dt = (e) => {
330
+ if (Ft) {
331
331
  const t = ue(e);
332
332
  return {
333
333
  ...t,
@@ -339,7 +339,7 @@ const Nt = ["svelte", "vue", "angular", "qwik", "solid"].includes(P), Ot = (e) =
339
339
  }
340
340
  };
341
341
  } else {
342
- const t = ae(St(e, "children", "meta"));
342
+ const t = ae(wt(e, "children", "meta"));
343
343
  return {
344
344
  ...t,
345
345
  properties: {
@@ -352,7 +352,7 @@ const Nt = ["svelte", "vue", "angular", "qwik", "solid"].includes(P), Ot = (e) =
352
352
  meta: e.meta
353
353
  };
354
354
  }
355
- }, Ft = ({
355
+ }, Lt = ({
356
356
  block: e,
357
357
  context: t,
358
358
  localState: n,
@@ -361,7 +361,7 @@ const Nt = ["svelte", "vue", "angular", "qwik", "solid"].includes(P), Ot = (e) =
361
361
  }) => {
362
362
  if (!e.bindings)
363
363
  return e;
364
- const i = Ot(e);
364
+ const i = Dt(e);
365
365
  for (const s in e.bindings) {
366
366
  const l = e.bindings[s], a = J({
367
367
  code: l,
@@ -374,7 +374,7 @@ const Nt = ["svelte", "vue", "angular", "qwik", "solid"].includes(P), Ot = (e) =
374
374
  }
375
375
  return i;
376
376
  };
377
- function Dt({
377
+ function Ut({
378
378
  block: e,
379
379
  context: t,
380
380
  shouldEvaluateBindings: n,
@@ -383,7 +383,7 @@ function Dt({
383
383
  rootSetState: i
384
384
  }) {
385
385
  const s = e;
386
- return n ? Ft({
386
+ return n ? Lt({
387
387
  block: s,
388
388
  localState: o,
389
389
  rootState: r,
@@ -391,22 +391,22 @@ function Dt({
391
391
  context: t
392
392
  }) : s;
393
393
  }
394
- function Lt(e) {
394
+ function Mt(e) {
395
395
  const t = e || (I() ? window.location.search : void 0);
396
396
  return t ? Ve(t).indexOf("builder.preview=") !== -1 : !1;
397
397
  }
398
- const Ut = (e) => ({
398
+ const jt = (e) => ({
399
399
  type: "builder.registerComponent",
400
400
  data: _(e)
401
- }), Mt = (e) => {
401
+ }), Ht = (e) => {
402
402
  const t = e.toString().trim();
403
403
  return `return (${!t.startsWith("function") && !t.startsWith("(") ? "function " : ""}${t}).apply(this, arguments)`;
404
404
  };
405
405
  function _(e) {
406
- return JSON.parse(JSON.stringify(e, (t, n) => typeof n == "function" ? Mt(n) : n));
406
+ return JSON.parse(JSON.stringify(e, (t, n) => typeof n == "function" ? Ht(n) : n));
407
407
  }
408
408
  const ve = {};
409
- function jt(e, t) {
409
+ function Kt(e, t) {
410
410
  e === "plugin" && (t = _(t));
411
411
  let n = ve[e];
412
412
  if (n || (n = ve[e] = []), n.push(t), I()) {
@@ -425,7 +425,7 @@ function jt(e, t) {
425
425
  }
426
426
  }
427
427
  const Se = {};
428
- function Bi(e) {
428
+ function xi(e) {
429
429
  if (I()) {
430
430
  Object.assign(Se, e);
431
431
  const t = {
@@ -435,27 +435,31 @@ function Bi(e) {
435
435
  parent.postMessage(t, "*");
436
436
  }
437
437
  }
438
- const Ce = "builder.", Ht = "options.", Fe = (e) => {
438
+ const Ce = "builder.", qt = "options.", Fe = (e) => {
439
439
  if (!e)
440
440
  return {};
441
441
  const t = Ae(e), n = {};
442
442
  return Object.keys(t).forEach((o) => {
443
443
  if (o.startsWith(Ce)) {
444
- const r = o.replace(Ce, "").replace(Ht, "");
444
+ const r = o.replace(Ce, "").replace(qt, "");
445
445
  n[r] = t[o];
446
446
  }
447
447
  }), n;
448
- }, Kt = () => {
448
+ }, zt = () => {
449
449
  if (!I())
450
450
  return {};
451
451
  const e = new URLSearchParams(window.location.search);
452
452
  return Fe(e);
453
- }, qt = (e) => {
453
+ }, De = "2.0.25", Le = () => ({
454
+ "X-Builder-SDK": R,
455
+ "X-Builder-SDK-GEN": "2",
456
+ "X-Builder-SDK-Version": De
457
+ }), Jt = (e) => {
454
458
  if (e === "localhost" || e === "127.0.0.1")
455
459
  return e;
456
460
  const t = e.split(".");
457
461
  return t.length > 2 ? t.slice(1).join(".") : e;
458
- }, De = ({
462
+ }, Ue = ({
459
463
  name: e,
460
464
  canTrack: t
461
465
  }) => {
@@ -463,17 +467,17 @@ const Ce = "builder.", Ht = "options.", Fe = (e) => {
463
467
  try {
464
468
  return t ? (n = document.cookie.split("; ").find((o) => o.startsWith(`${e}=`))) == null ? void 0 : n.split("=")[1] : void 0;
465
469
  } catch (o) {
466
- E.warn("[COOKIE] GET error: ", (o == null ? void 0 : o.message) || o);
470
+ P.warn("[COOKIE] GET error: ", (o == null ? void 0 : o.message) || o);
467
471
  return;
468
472
  }
469
- }, Le = async (e) => De(e), zt = (e) => e.map(([t, n]) => n ? `${t}=${n}` : t).filter(D).join("; "), Jt = [["secure", ""], ["SameSite", "None"]], Gt = ({
473
+ }, Me = async (e) => Ue(e), Gt = (e) => e.map(([t, n]) => n ? `${t}=${n}` : t).filter(D).join("; "), Yt = [["secure", ""], ["SameSite", "None"]], Xt = ({
470
474
  name: e,
471
475
  value: t,
472
476
  expires: n
473
477
  }) => {
474
- const r = (I() ? location.protocol === "https:" : !0) ? Jt : [[]], i = n ? [["expires", n.toUTCString()]] : [[]], s = [[e, t], ...i, ["path", "/"], ["domain", qt(window.location.hostname)], ...r];
475
- return zt(s);
476
- }, Ue = async ({
478
+ const r = (I() ? location.protocol === "https:" : !0) ? Yt : [[]], i = n ? [["expires", n.toUTCString()]] : [[]], s = [[e, t], ...i, ["path", "/"], ["domain", Jt(window.location.hostname)], ...r];
479
+ return Gt(s);
480
+ }, je = async ({
477
481
  name: e,
478
482
  value: t,
479
483
  expires: n,
@@ -482,98 +486,98 @@ const Ce = "builder.", Ht = "options.", Fe = (e) => {
482
486
  try {
483
487
  if (!o)
484
488
  return;
485
- const r = Gt({
489
+ const r = Xt({
486
490
  name: e,
487
491
  value: t,
488
492
  expires: n
489
493
  });
490
494
  document.cookie = r;
491
495
  } catch (r) {
492
- E.warn("[COOKIE] SET error: ", (r == null ? void 0 : r.message) || r);
496
+ P.warn("[COOKIE] SET error: ", (r == null ? void 0 : r.message) || r);
493
497
  }
494
498
  };
495
- function Yt() {
499
+ function Qt() {
496
500
  return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, function(e) {
497
501
  const t = Math.random() * 16 | 0;
498
502
  return (e == "x" ? t : t & 3 | 8).toString(16);
499
503
  });
500
504
  }
501
- function Me() {
502
- return Yt().replace(/-/g, "");
505
+ function He() {
506
+ return Qt().replace(/-/g, "");
503
507
  }
504
- const je = "builderSessionId", Xt = async ({
508
+ const Ke = "builderSessionId", Zt = async ({
505
509
  canTrack: e
506
510
  }) => {
507
511
  if (!e)
508
512
  return;
509
- const t = await Le({
510
- name: je,
513
+ const t = await Me({
514
+ name: Ke,
511
515
  canTrack: e
512
516
  });
513
517
  if (D(t))
514
518
  return t;
515
519
  {
516
- const n = Qt();
517
- return Zt({
520
+ const n = _t();
521
+ return en({
518
522
  id: n,
519
523
  canTrack: e
520
524
  }), n;
521
525
  }
522
- }, Qt = () => Me(), Zt = ({
526
+ }, _t = () => He(), en = ({
523
527
  id: e,
524
528
  canTrack: t
525
- }) => Ue({
526
- name: je,
529
+ }) => je({
530
+ name: Ke,
527
531
  value: e,
528
532
  canTrack: t
529
- }), He = () => I() && typeof localStorage < "u" ? localStorage : void 0, _t = ({
533
+ }), qe = () => I() && typeof localStorage < "u" ? localStorage : void 0, tn = ({
530
534
  key: e,
531
535
  canTrack: t
532
536
  }) => {
533
537
  var n;
534
538
  try {
535
- return t ? (n = He()) == null ? void 0 : n.getItem(e) : void 0;
539
+ return t ? (n = qe()) == null ? void 0 : n.getItem(e) : void 0;
536
540
  } catch (o) {
537
541
  console.debug("[LocalStorage] GET error: ", o);
538
542
  return;
539
543
  }
540
- }, en = ({
544
+ }, nn = ({
541
545
  key: e,
542
546
  canTrack: t,
543
547
  value: n
544
548
  }) => {
545
549
  var o;
546
550
  try {
547
- t && ((o = He()) == null || o.setItem(e, n));
551
+ t && ((o = qe()) == null || o.setItem(e, n));
548
552
  } catch (r) {
549
553
  console.debug("[LocalStorage] SET error: ", r);
550
554
  }
551
- }, Ke = "builderVisitorId", tn = ({
555
+ }, ze = "builderVisitorId", on = ({
552
556
  canTrack: e
553
557
  }) => {
554
558
  if (!e)
555
559
  return;
556
- const t = _t({
557
- key: Ke,
560
+ const t = tn({
561
+ key: ze,
558
562
  canTrack: e
559
563
  });
560
564
  if (D(t))
561
565
  return t;
562
566
  {
563
- const n = nn();
564
- return on({
567
+ const n = rn();
568
+ return sn({
565
569
  id: n,
566
570
  canTrack: e
567
571
  }), n;
568
572
  }
569
- }, nn = () => Me(), on = ({
573
+ }, rn = () => He(), sn = ({
570
574
  id: e,
571
575
  canTrack: t
572
- }) => en({
573
- key: Ke,
576
+ }) => nn({
577
+ key: ze,
574
578
  value: e,
575
579
  canTrack: t
576
- }), rn = async ({
580
+ }), an = async ({
577
581
  canTrack: e
578
582
  }) => {
579
583
  if (!e)
@@ -581,16 +585,16 @@ const je = "builderSessionId", Xt = async ({
581
585
  visitorId: void 0,
582
586
  sessionId: void 0
583
587
  };
584
- const t = await Xt({
588
+ const t = await Zt({
585
589
  canTrack: e
586
- }), n = tn({
590
+ }), n = on({
587
591
  canTrack: e
588
592
  });
589
593
  return {
590
594
  sessionId: t,
591
595
  visitorId: n
592
596
  };
593
- }, sn = async ({
597
+ }, ln = async ({
594
598
  type: e,
595
599
  canTrack: t,
596
600
  apiKey: n,
@@ -604,7 +608,7 @@ const je = "builderSessionId", Xt = async ({
604
608
  url: location.href,
605
609
  ...o
606
610
  },
607
- ...await rn({
611
+ ...await an({
608
612
  canTrack: t
609
613
  }),
610
614
  userAttributes: We(),
@@ -613,35 +617,36 @@ const je = "builderSessionId", Xt = async ({
613
617
  });
614
618
  async function le(e) {
615
619
  if (!e.apiKey) {
616
- E.error("Missing API key for track call. Please provide your API key.");
620
+ P.error("Missing API key for track call. Please provide your API key.");
617
621
  return;
618
622
  }
619
- if (e.canTrack && !R() && (I() || P === "reactNative"))
623
+ if (e.canTrack && !E() && (I() || R === "reactNative"))
620
624
  return fetch("https://cdn.builder.io/api/v1/track", {
621
625
  method: "POST",
622
626
  body: JSON.stringify({
623
- events: [await sn(e)]
627
+ events: [await ln(e)]
624
628
  }),
625
629
  headers: {
626
- "content-type": "application/json"
630
+ "content-type": "application/json",
631
+ ...Le()
627
632
  },
628
633
  mode: "cors"
629
634
  }).catch((t) => {
630
635
  console.error("Failed to track: ", t);
631
636
  });
632
637
  }
633
- const xi = (e) => le({
638
+ const Ai = (e) => le({
634
639
  ...e,
635
640
  canTrack: !0
636
- }), an = ["*.beta.builder.io", "beta.builder.io", "builder.io", "localhost", "qa.builder.io"];
637
- function qe(e, t) {
641
+ }), cn = ["*.beta.builder.io", "beta.builder.io", "builder.io", "localhost", "qa.builder.io"];
642
+ function Je(e, t) {
638
643
  if (!t.origin.startsWith("http") && !t.origin.startsWith("https"))
639
644
  return !1;
640
645
  const n = new URL(t.origin), o = n.hostname;
641
- return (e || an).findIndex((r) => r.startsWith("*.") ? o.endsWith(r.slice(1)) : r === o) > -1;
646
+ return (e || cn).findIndex((r) => r.startsWith("*.") ? o.endsWith(r.slice(1)) : r === o) > -1;
642
647
  }
643
- const ln = "2.0.24", cn = () => {
644
- jt("insertMenu", {
648
+ const dn = () => {
649
+ Kt("insertMenu", {
645
650
  name: "_default",
646
651
  default: !0,
647
652
  items: [{
@@ -664,13 +669,13 @@ const ln = "2.0.24", cn = () => {
664
669
  });
665
670
  };
666
671
  let we = !1;
667
- const ze = (e = {}) => {
672
+ const Ge = (e = {}) => {
668
673
  var t, n;
669
674
  we || (we = !0, I() && ((t = window.parent) == null || t.postMessage({
670
675
  type: "builder.sdkInfo",
671
676
  data: {
672
- target: P,
673
- version: ln,
677
+ target: R,
678
+ version: De,
674
679
  supportsPatchUpdates: !1,
675
680
  // Supports builder-model="..." attribute which is needed to
676
681
  // scope our '+ add block' button styling
@@ -684,7 +689,7 @@ const ze = (e = {}) => {
684
689
  }
685
690
  }, "*"), window.addEventListener("message", (o) => {
686
691
  var i, s;
687
- if (!qe(e.trustedHosts, o))
692
+ if (!Je(e.trustedHosts, o))
688
693
  return;
689
694
  const {
690
695
  data: r
@@ -725,12 +730,12 @@ const ze = (e = {}) => {
725
730
  }
726
731
  }
727
732
  })));
728
- }, Je = ({
733
+ }, Ye = ({
729
734
  model: e,
730
735
  trustedHosts: t,
731
736
  callbacks: n
732
737
  }) => (o) => {
733
- if (!qe(t, o))
738
+ if (!Je(t, o))
734
739
  return;
735
740
  const {
736
741
  data: r
@@ -751,12 +756,12 @@ const ze = (e = {}) => {
751
756
  break;
752
757
  }
753
758
  }
754
- }, Ai = (e, t, n) => {
759
+ }, Vi = (e, t, n) => {
755
760
  if (!I)
756
- return E.warn("`subscribeToEditor` only works in the browser. It currently seems to be running on the server."), () => {
761
+ return P.warn("`subscribeToEditor` only works in the browser. It currently seems to be running on the server."), () => {
757
762
  };
758
- ze();
759
- const o = Je({
763
+ Ge();
764
+ const o = Ye({
760
765
  callbacks: {
761
766
  contentUpdate: t,
762
767
  animation: () => {
@@ -770,24 +775,24 @@ const ze = (e = {}) => {
770
775
  return window.addEventListener("message", o), () => {
771
776
  window.removeEventListener("message", o);
772
777
  };
773
- }, dn = "builder.tests", pe = (e) => `${dn}.${e}`, un = ({
778
+ }, un = "builder.tests", pe = (e) => `${un}.${e}`, pn = ({
774
779
  contentId: e
775
- }) => Le({
780
+ }) => Me({
776
781
  name: pe(e),
777
782
  canTrack: !0
778
- }), pn = ({
783
+ }), mn = ({
779
784
  contentId: e
780
- }) => De({
785
+ }) => Ue({
781
786
  name: pe(e),
782
787
  canTrack: !0
783
- }), mn = ({
788
+ }), hn = ({
784
789
  contentId: e,
785
790
  value: t
786
- }) => Ue({
791
+ }) => je({
787
792
  name: pe(e),
788
793
  value: t,
789
794
  canTrack: !0
790
- }), Ge = (e) => D(e.id) && D(e.variations) && Object.keys(e.variations).length > 0, hn = ({
795
+ }), Xe = (e) => D(e.id) && D(e.variations) && Object.keys(e.variations).length > 0, fn = ({
791
796
  id: e,
792
797
  variations: t
793
798
  }) => {
@@ -800,15 +805,15 @@ const ze = (e = {}) => {
800
805
  return i;
801
806
  }
802
807
  return e;
803
- }, Ye = (e) => {
804
- const t = hn(e);
805
- return mn({
808
+ }, Qe = (e) => {
809
+ const t = fn(e);
810
+ return hn({
806
811
  contentId: e.id,
807
812
  value: t
808
813
  }).catch((n) => {
809
- E.error("could not store A/B test variation: ", n);
814
+ P.error("could not store A/B test variation: ", n);
810
815
  }), t;
811
- }, Xe = ({
816
+ }, Ze = ({
812
817
  item: e,
813
818
  testGroupId: t
814
819
  }) => {
@@ -822,7 +827,7 @@ const ze = (e = {}) => {
822
827
  testVariationId: n.id,
823
828
  testVariationName: n.name || (n.id === e.id ? "Default" : "")
824
829
  };
825
- }, fn = ({
830
+ }, bn = ({
826
831
  item: e,
827
832
  canTrack: t
828
833
  }) => {
@@ -830,14 +835,14 @@ const ze = (e = {}) => {
830
835
  return e;
831
836
  if (!e)
832
837
  return;
833
- if (!Ge(e))
838
+ if (!Xe(e))
834
839
  return e;
835
- const n = pn({
840
+ const n = mn({
836
841
  contentId: e.id
837
- }) || Ye({
842
+ }) || Qe({
838
843
  variations: e.variations,
839
844
  id: e.id
840
- }), o = Xe({
845
+ }), o = Ze({
841
846
  item: e,
842
847
  testGroupId: n
843
848
  });
@@ -845,18 +850,18 @@ const ze = (e = {}) => {
845
850
  ...e,
846
851
  ...o
847
852
  };
848
- }, bn = async ({
853
+ }, gn = async ({
849
854
  item: e,
850
855
  canTrack: t
851
856
  }) => {
852
- if (!t || !Ge(e))
857
+ if (!t || !Xe(e))
853
858
  return e;
854
- const o = await un({
859
+ const o = await pn({
855
860
  contentId: e.id
856
- }) || Ye({
861
+ }) || Qe({
857
862
  variations: e.variations,
858
863
  id: e.id
859
- }), r = Xe({
864
+ }), r = Ze({
860
865
  item: e,
861
866
  testGroupId: o
862
867
  });
@@ -865,17 +870,17 @@ const ze = (e = {}) => {
865
870
  ...r
866
871
  };
867
872
  }, z = (e) => D(e) ? e : !0;
868
- function gn() {
873
+ function yn() {
869
874
  return typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : globalThis;
870
875
  }
871
- function yn() {
872
- const e = gn().fetch;
876
+ function kn() {
877
+ const e = yn().fetch;
873
878
  if (typeof e > "u")
874
879
  throw console.warn(`Builder SDK could not find a global fetch function. Make sure you have a polyfill for fetch in your project.
875
880
  For more information, read https://github.com/BuilderIO/this-package-uses-fetch`), new Error("Builder SDK could not find a global `fetch` function");
876
881
  return e;
877
882
  }
878
- const kn = yn();
883
+ const vn = kn();
879
884
  function ce(e, t = null, n = ".") {
880
885
  return Object.keys(e).reduce((o, r) => {
881
886
  const i = e[r], s = [t, r].filter(Boolean).join(n);
@@ -888,14 +893,14 @@ function ce(e, t = null, n = ".") {
888
893
  };
889
894
  }, {});
890
895
  }
891
- function Qe(e, t, n = {}) {
896
+ function _e(e, t, n = {}) {
892
897
  for (const o in e) {
893
898
  const r = e[o], i = t ? t + "." + o : o;
894
- r && typeof r == "object" && !Array.isArray(r) && !Object.keys(r).find((s) => s.startsWith("$")) ? Qe(r, i, n) : n[i] = r;
899
+ r && typeof r == "object" && !Array.isArray(r) && !Object.keys(r).find((s) => s.startsWith("$")) ? _e(r, i, n) : n[i] = r;
895
900
  }
896
901
  return n;
897
902
  }
898
- const vn = "v3", Te = (e) => typeof e == "number" && !isNaN(e) && e >= 0, me = (e) => {
903
+ const Sn = "v3", Te = (e) => typeof e == "number" && !isNaN(e) && e >= 0, me = (e) => {
899
904
  const {
900
905
  limit: t = 30,
901
906
  userAttributes: n,
@@ -904,7 +909,7 @@ const vn = "v3", Te = (e) => typeof e == "number" && !isNaN(e) && e >= 0, me = (
904
909
  apiKey: i,
905
910
  enrich: s,
906
911
  locale: l,
907
- apiVersion: a = vn,
912
+ apiVersion: a = Sn,
908
913
  fields: u,
909
914
  omit: h,
910
915
  offset: c,
@@ -925,61 +930,68 @@ const vn = "v3", Te = (e) => typeof e == "number" && !isNaN(e) && e >= 0, me = (
925
930
  for (const U in O)
926
931
  T.searchParams.set(U, JSON.stringify(O[U]));
927
932
  }
928
- const lt = {
929
- ...Kt(),
933
+ const dt = {
934
+ ...zt(),
930
935
  ...Ae(e.options || {})
931
- }, ye = ce(lt);
936
+ }, ye = ce(dt);
932
937
  for (const O in ye)
933
938
  T.searchParams.set(O, String(ye[O]));
934
939
  if (n && T.searchParams.set("userAttributes", JSON.stringify(n)), o) {
935
- const O = Qe({
940
+ const O = _e({
936
941
  query: o
937
942
  });
938
943
  for (const U in O)
939
944
  T.searchParams.set(U, JSON.stringify(O[U]));
940
945
  }
941
946
  return T;
942
- }, Sn = (e) => "results" in e;
947
+ }, Cn = (e) => "results" in e;
943
948
  async function he(e) {
944
- const t = await Tn({
949
+ const t = await In({
945
950
  ...e,
946
951
  limit: 1
947
952
  });
948
953
  return t && t[0] || null;
949
954
  }
950
- const Cn = async (e) => {
951
- const t = me(e);
952
- return await (await (e.fetch ?? kn)(t.href, e.fetchOptions)).json();
953
- }, wn = async (e, t, n = me(e)) => {
955
+ const wn = async (e) => {
956
+ var s;
957
+ const t = me(e), n = e.fetch ?? vn, o = {
958
+ ...e.fetchOptions,
959
+ headers: {
960
+ ...(s = e.fetchOptions) == null ? void 0 : s.headers,
961
+ ...Le()
962
+ }
963
+ };
964
+ return await (await n(t.href, o)).json();
965
+ }, Tn = async (e, t, n = me(e)) => {
954
966
  const o = z(e.canTrack);
955
- if (n.search.includes("preview="), !o || !(I() || P === "reactNative"))
967
+ if (n.search.includes("preview="), !o || !(I() || R === "reactNative"))
956
968
  return t.results;
957
969
  try {
958
970
  const r = [];
959
971
  for (const i of t.results)
960
- r.push(await bn({
972
+ r.push(await gn({
961
973
  item: i,
962
974
  canTrack: o
963
975
  }));
964
976
  t.results = r;
965
977
  } catch (r) {
966
- E.error("Could not process A/B tests. ", r);
978
+ P.error("Could not process A/B tests. ", r);
967
979
  }
968
980
  return t.results;
969
981
  };
970
- async function Tn(e) {
982
+ async function In(e) {
971
983
  try {
972
- const t = me(e), n = await Cn(e);
973
- return Sn(n) ? wn(e, n) : (E.error("Error fetching data. ", {
984
+ const t = me(e), n = await wn(e);
985
+ return Cn(n) ? Tn(e, n) : (P.error("Error fetching data. ", {
974
986
  url: t,
975
987
  content: n,
976
988
  options: e
977
989
  }), null);
978
990
  } catch (t) {
979
- return E.error("Error fetching data. ", t), null;
991
+ return P.error("Error fetching data. ", t), null;
980
992
  }
981
993
  }
982
- const Vi = async (e) => {
994
+ const Wi = async (e) => {
983
995
  var o, r, i;
984
996
  const t = e.path || ((o = e.url) == null ? void 0 : o.pathname) || ((r = e.userAttributes) == null ? void 0 : r.urlPath), n = {
985
997
  ...e,
@@ -999,7 +1011,7 @@ const Vi = async (e) => {
999
1011
  content: await he(n)
1000
1012
  };
1001
1013
  }, fe = (e) => e ? e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase() : "";
1002
- function In(e, t, n = {}) {
1014
+ function $n(e, t, n = {}) {
1003
1015
  let o, r, i, s = null, l = 0;
1004
1016
  const a = function() {
1005
1017
  l = n.leading === !1 ? 0 : Date.now(), s = null, i = e.apply(o, r), s || (o = r = null);
@@ -1021,55 +1033,55 @@ function H(e, ...t) {
1021
1033
  }
1022
1034
  return n;
1023
1035
  }
1024
- function $n(e) {
1036
+ function Rn(e) {
1025
1037
  for (const t of e)
1026
1038
  switch (t.trigger) {
1027
1039
  case "pageLoad":
1028
- et(t);
1040
+ nt(t);
1029
1041
  break;
1030
1042
  case "scrollInView":
1031
- En(t);
1043
+ Pn(t);
1032
1044
  break;
1033
1045
  }
1034
1046
  }
1035
- function Ze(e) {
1047
+ function et(e) {
1036
1048
  console.warn(`Cannot animate element: element with ID ${e} not found!`);
1037
1049
  }
1038
- function _e(e, t) {
1039
- const n = Rn(e), o = getComputedStyle(t), r = e.steps[0].styles, i = e.steps[e.steps.length - 1].styles, s = [r, i];
1050
+ function tt(e, t) {
1051
+ const n = En(e), o = getComputedStyle(t), r = e.steps[0].styles, i = e.steps[e.steps.length - 1].styles, s = [r, i];
1040
1052
  for (const l of s)
1041
1053
  for (const a of n)
1042
1054
  a in l || (l[a] = o[a]);
1043
1055
  }
1044
- function Rn(e) {
1056
+ function En(e) {
1045
1057
  const t = [];
1046
1058
  for (const n of e.steps)
1047
1059
  for (const o in n.styles)
1048
1060
  t.indexOf(o) === -1 && t.push(o);
1049
1061
  return t;
1050
1062
  }
1051
- function et(e) {
1063
+ function nt(e) {
1052
1064
  const t = Array.prototype.slice.call(document.getElementsByClassName(e.elementId || e.id || ""));
1053
1065
  if (!t.length) {
1054
- Ze(e.elementId || e.id || "");
1066
+ et(e.elementId || e.id || "");
1055
1067
  return;
1056
1068
  }
1057
1069
  Array.from(t).forEach((n) => {
1058
- _e(e, n), n.style.transition = "none", n.style.transitionDelay = "0", H(n.style, e.steps[0].styles), setTimeout(() => {
1070
+ tt(e, n), n.style.transition = "none", n.style.transitionDelay = "0", H(n.style, e.steps[0].styles), setTimeout(() => {
1059
1071
  n.style.transition = `all ${e.duration}s ${fe(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s"), H(n.style, e.steps[1].styles), setTimeout(() => {
1060
1072
  n.style.transition = "", n.style.transitionDelay = "";
1061
1073
  }, (e.delay || 0) * 1e3 + e.duration * 1e3 + 100);
1062
1074
  });
1063
1075
  });
1064
1076
  }
1065
- function En(e) {
1077
+ function Pn(e) {
1066
1078
  const t = Array.prototype.slice.call(document.getElementsByClassName(e.elementId || e.id || ""));
1067
1079
  if (!t.length) {
1068
- Ze(e.elementId || e.id || "");
1080
+ et(e.elementId || e.id || "");
1069
1081
  return;
1070
1082
  }
1071
1083
  Array.from(t).forEach((n) => {
1072
- _e(e, n);
1084
+ tt(e, n);
1073
1085
  let o = !1, r = !1;
1074
1086
  function i() {
1075
1087
  !o && l(n) ? (o = !0, r = !0, setTimeout(() => {
@@ -1078,7 +1090,7 @@ function En(e) {
1078
1090
  }, (e.duration + (e.delay || 0)) * 1e3 + 100);
1079
1091
  })) : e.repeat && o && !r && !l(n) && (o = !1, H(n.style, e.steps[0].styles));
1080
1092
  }
1081
- const s = In(i, 200, {
1093
+ const s = $n(i, 200, {
1082
1094
  leading: !1
1083
1095
  });
1084
1096
  function l(h) {
@@ -1097,42 +1109,42 @@ function En(e) {
1097
1109
  }), i();
1098
1110
  });
1099
1111
  }
1100
- const tt = (e) => Object.entries(e).map(([n, o]) => {
1112
+ const ot = (e) => Object.entries(e).map(([n, o]) => {
1101
1113
  if (typeof o == "string")
1102
1114
  return `${fe(n)}: ${o};`;
1103
- }).filter(D), Pn = (e) => tt(e).join(`
1104
- `), Wi = ({
1115
+ }).filter(D), Bn = (e) => ot(e).join(`
1116
+ `), Ni = ({
1105
1117
  mediaQuery: e,
1106
1118
  className: t,
1107
1119
  styles: n
1108
1120
  }) => {
1109
1121
  const o = `.${t} {
1110
- ${Pn(n)}
1122
+ ${Bn(n)}
1111
1123
  }`;
1112
1124
  return e ? `${e} {
1113
1125
  ${o}
1114
1126
  }` : o;
1115
1127
  };
1116
- function Bn({
1128
+ function xn({
1117
1129
  style: e
1118
1130
  }) {
1119
1131
  return e;
1120
1132
  }
1121
- const Ni = ({
1133
+ const Oi = ({
1122
1134
  block: e,
1123
1135
  context: t
1124
- }) => nt(Bn({
1136
+ }) => rt(xn({
1125
1137
  style: e.style || {},
1126
1138
  context: t,
1127
1139
  block: e
1128
1140
  }));
1129
- function nt(e) {
1130
- switch (P) {
1141
+ function rt(e) {
1142
+ switch (R) {
1131
1143
  case "svelte":
1132
1144
  case "vue":
1133
1145
  case "solid":
1134
1146
  case "angular":
1135
- return tt(e).join(" ");
1147
+ return ot(e).join(" ");
1136
1148
  case "qwik":
1137
1149
  case "reactNative":
1138
1150
  case "react":
@@ -1140,7 +1152,7 @@ function nt(e) {
1140
1152
  return e;
1141
1153
  }
1142
1154
  }
1143
- const xn = ({
1155
+ const An = ({
1144
1156
  block: e,
1145
1157
  registeredComponents: t
1146
1158
  }) => {
@@ -1154,7 +1166,7 @@ const xn = ({
1154
1166
  console.warn(`
1155
1167
  Could not find a registered component named "${n}".
1156
1168
  If you registered it, is the file that registered it imported by the file that needs to render it?`);
1157
- }, An = ({
1169
+ }, Vn = ({
1158
1170
  block: e,
1159
1171
  context: t
1160
1172
  }) => {
@@ -1187,59 +1199,59 @@ const xn = ({
1187
1199
  },
1188
1200
  block: o
1189
1201
  }));
1190
- }, Vn = (e, t) => {
1202
+ }, Wn = (e, t) => {
1191
1203
  var n;
1192
1204
  return (n = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && n.builderLinkComponent ? {
1193
1205
  builderLinkComponent: t
1194
1206
  } : {};
1195
- }, Wn = (e, t) => {
1207
+ }, Nn = (e, t) => {
1196
1208
  var n;
1197
1209
  return (n = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && n.builderComponents ? {
1198
1210
  builderComponents: t
1199
1211
  } : {};
1200
- }, Nn = (e, t) => {
1212
+ }, On = (e, t) => {
1201
1213
  var n;
1202
1214
  return (n = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && n.builderBlock ? {
1203
1215
  builderBlock: t
1204
1216
  } : {};
1205
- }, On = (e, t) => {
1217
+ }, Fn = (e, t) => {
1206
1218
  var n;
1207
1219
  return (n = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && n.builderContext ? {
1208
1220
  builderContext: t
1209
1221
  } : {};
1210
- }, Fn = () => Promise.resolve().then(() => Qn).then((e) => e.default).catch((e) => {
1222
+ }, Dn = () => Promise.resolve().then(() => Zn).then((e) => e.default).catch((e) => {
1211
1223
  throw console.error(
1212
1224
  "Error while attempting to dynamically import component DynamicDiv at ../dynamic-div.vue",
1213
1225
  e
1214
1226
  ), e;
1215
- }), Dn = () => import("./block-styles-TEcZV6HE.js").then((e) => e.default).catch((e) => {
1227
+ }), Ln = () => import("./block-styles-iSXgxy2c.js").then((e) => e.default).catch((e) => {
1216
1228
  throw console.error(
1217
1229
  "Error while attempting to dynamically import component BlockStyles at ./components/block-styles.vue",
1218
1230
  e
1219
1231
  ), e;
1220
- }), Ln = () => import("./block-wrapper-FeIbV4lJ.js").then((e) => e.default).catch((e) => {
1232
+ }), Un = () => import("./block-wrapper-7G8ua10s.js").then((e) => e.default).catch((e) => {
1221
1233
  throw console.error(
1222
1234
  "Error while attempting to dynamically import component BlockWrapper at ./components/block-wrapper.vue",
1223
1235
  e
1224
1236
  ), e;
1225
- }), Un = () => import("./component-ref-XOiYQaEV.js").then((e) => e.default).catch((e) => {
1237
+ }), Mn = () => import("./component-ref-23RPWonP.js").then((e) => e.default).catch((e) => {
1226
1238
  throw console.error(
1227
1239
  "Error while attempting to dynamically import component ComponentRef at ./components/component-ref/component-ref.vue",
1228
1240
  e
1229
1241
  ), e;
1230
- }), Mn = () => import("./repeated-block-rRkup9T9.js").then((e) => e.default).catch((e) => {
1242
+ }), jn = () => import("./repeated-block-ZXjysCEP.js").then((e) => e.default).catch((e) => {
1231
1243
  throw console.error(
1232
1244
  "Error while attempting to dynamically import component RepeatedBlock at ./components/repeated-block.vue",
1233
1245
  e
1234
1246
  ), e;
1235
- }), jn = f({
1247
+ }), Hn = f({
1236
1248
  name: "block",
1237
1249
  components: {
1238
- BlockStyles: M(Dn),
1239
- RepeatedBlock: M(Mn),
1240
- ComponentRef: M(Un),
1241
- BlockWrapper: M(Ln),
1242
- DynamicDiv: M(Fn)
1250
+ BlockStyles: M(Ln),
1251
+ RepeatedBlock: M(jn),
1252
+ ComponentRef: M(Mn),
1253
+ BlockWrapper: M(Un),
1254
+ DynamicDiv: M(Dn)
1243
1255
  },
1244
1256
  props: ["block", "context", "registeredComponents", "linkComponent"],
1245
1257
  data() {
@@ -1252,7 +1264,7 @@ const xn = ({
1252
1264
  },
1253
1265
  mounted() {
1254
1266
  const e = this.processedBlock.id, t = this.processedBlock.animations;
1255
- t && e && $n(
1267
+ t && e && Rn(
1256
1268
  t.map((n) => ({
1257
1269
  ...n,
1258
1270
  elementId: e
@@ -1263,14 +1275,14 @@ const xn = ({
1263
1275
  },
1264
1276
  computed: {
1265
1277
  repeatItem() {
1266
- return An({
1278
+ return Vn({
1267
1279
  block: this.block,
1268
1280
  context: this.context
1269
1281
  });
1270
1282
  },
1271
1283
  processedBlock() {
1272
1284
  var t;
1273
- return (t = this.block.repeat) != null && t.collection ? this.block : Dt({
1285
+ return (t = this.block.repeat) != null && t.collection ? this.block : Ut({
1274
1286
  block: this.block,
1275
1287
  localState: this.context.localState,
1276
1288
  rootState: this.context.rootState,
@@ -1280,7 +1292,7 @@ const xn = ({
1280
1292
  });
1281
1293
  },
1282
1294
  blockComponent() {
1283
- return xn({
1295
+ return An({
1284
1296
  block: this.processedBlock,
1285
1297
  registeredComponents: this.registeredComponents
1286
1298
  });
@@ -1306,11 +1318,11 @@ const xn = ({
1306
1318
  blockChildren: this.processedBlock.children ?? [],
1307
1319
  componentRef: (e = this.blockComponent) == null ? void 0 : e.component,
1308
1320
  componentOptions: {
1309
- ...vt(this.processedBlock),
1310
- ...Nn(this.blockComponent, this.processedBlock),
1311
- ...On(this.blockComponent, this.context),
1312
- ...Vn(this.blockComponent, this.linkComponent),
1313
- ...Wn(
1321
+ ...Ct(this.processedBlock),
1322
+ ...On(this.blockComponent, this.processedBlock),
1323
+ ...Fn(this.blockComponent, this.context),
1324
+ ...Wn(this.blockComponent, this.linkComponent),
1325
+ ...Nn(
1314
1326
  this.blockComponent,
1315
1327
  this.registeredComponents
1316
1328
  )
@@ -1320,12 +1332,12 @@ const xn = ({
1320
1332
  registeredComponents: this.registeredComponents,
1321
1333
  builderBlock: this.processedBlock,
1322
1334
  includeBlockProps: ((t = this.blockComponent) == null ? void 0 : t.noWrap) === !0,
1323
- isInteractive: !((n = this.blockComponent) != null && n.isRSC && P === "rsc")
1335
+ isInteractive: !((n = this.blockComponent) != null && n.isRSC && R === "rsc")
1324
1336
  };
1325
1337
  }
1326
1338
  }
1327
1339
  });
1328
- function Hn(e, t, n, o, r, i) {
1340
+ function Kn(e, t, n, o, r, i) {
1329
1341
  var c;
1330
1342
  const s = v("BlockStyles"), l = v("ComponentRef"), a = v("Block", !0), u = v("BlockWrapper"), h = v("RepeatedBlock");
1331
1343
  return e.canShowBlock ? (d(), m(w, { key: 0 }, [
@@ -1390,10 +1402,10 @@ function Hn(e, t, n, o, r, i) {
1390
1402
  ], 64))
1391
1403
  ], 64)) : S("", !0);
1392
1404
  }
1393
- const be = /* @__PURE__ */ b(jn, [["render", Hn]]), Oi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1405
+ const be = /* @__PURE__ */ b(Hn, [["render", Kn]]), Fi = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1394
1406
  __proto__: null,
1395
1407
  default: be
1396
- }, Symbol.toStringTag, { value: "Module" })), Kn = f({
1408
+ }, Symbol.toStringTag, { value: "Module" })), qn = f({
1397
1409
  name: "builder-blocks-wrapper",
1398
1410
  props: [
1399
1411
  "blocks",
@@ -1419,7 +1431,7 @@ const be = /* @__PURE__ */ b(jn, [["render", Hn]]), Oi = /* @__PURE__ */ Object.
1419
1431
  methods: {
1420
1432
  onClick() {
1421
1433
  var e, t;
1422
- R() && !((e = this.blocks) != null && e.length) && ((t = window.parent) == null || t.postMessage(
1434
+ E() && !((e = this.blocks) != null && e.length) && ((t = window.parent) == null || t.postMessage(
1423
1435
  {
1424
1436
  type: "builder.clickEmptyBlocks",
1425
1437
  data: {
@@ -1432,7 +1444,7 @@ const be = /* @__PURE__ */ b(jn, [["render", Hn]]), Oi = /* @__PURE__ */ Object.
1432
1444
  },
1433
1445
  onMouseEnter() {
1434
1446
  var e, t;
1435
- R() && !((e = this.blocks) != null && e.length) && ((t = window.parent) == null || t.postMessage(
1447
+ E() && !((e = this.blocks) != null && e.length) && ((t = window.parent) == null || t.postMessage(
1436
1448
  {
1437
1449
  type: "builder.hoverEmptyBlocks",
1438
1450
  data: {
@@ -1445,7 +1457,7 @@ const be = /* @__PURE__ */ b(jn, [["render", Hn]]), Oi = /* @__PURE__ */ Object.
1445
1457
  }
1446
1458
  }
1447
1459
  });
1448
- function qn(e, t, n, o, r, i) {
1460
+ function zn(e, t, n, o, r, i) {
1449
1461
  return d(), k(j(e.BlocksWrapper), C({
1450
1462
  ref: "blocksWrapperRef",
1451
1463
  class: e.className + " component-1k2igrjdg3x",
@@ -1462,9 +1474,9 @@ function qn(e, t, n, o, r, i) {
1462
1474
  _: 3
1463
1475
  }, 16, ["class", "builder-path", "builder-parent-id", "style", "onClick", "onMouseEnter", "onKeyPress"]);
1464
1476
  }
1465
- const zn = /* @__PURE__ */ b(Kn, [["render", qn], ["__scopeId", "data-v-e241e088"]]), Jn = f({
1477
+ const Jn = /* @__PURE__ */ b(qn, [["render", zn], ["__scopeId", "data-v-e241e088"]]), Gn = f({
1466
1478
  name: "builder-blocks",
1467
- components: { BlocksWrapper: zn, Block: be },
1479
+ components: { BlocksWrapper: Jn, Block: be },
1468
1480
  props: [
1469
1481
  "blocks",
1470
1482
  "parent",
@@ -1480,7 +1492,7 @@ const zn = /* @__PURE__ */ b(Kn, [["render", qn], ["__scopeId", "data-v-e241e088
1480
1492
  componentsContext: Be.key
1481
1493
  }
1482
1494
  });
1483
- function Gn(e, t, n, o, r, i) {
1495
+ function Yn(e, t, n, o, r, i) {
1484
1496
  var a, u, h, c;
1485
1497
  const s = v("Block"), l = v("BlocksWrapper");
1486
1498
  return d(), k(l, {
@@ -1507,16 +1519,16 @@ function Gn(e, t, n, o, r, i) {
1507
1519
  _: 1
1508
1520
  }, 8, ["blocks", "parent", "path", "styleProp", "classNameProp", "BlocksWrapper", "BlocksWrapperProps"]);
1509
1521
  }
1510
- const L = /* @__PURE__ */ b(Jn, [["render", Gn]]), Yn = f({
1522
+ const L = /* @__PURE__ */ b(Gn, [["render", Yn]]), Xn = f({
1511
1523
  name: "dynamic-div",
1512
1524
  props: []
1513
1525
  });
1514
- function Xn(e, t, n, o, r, i) {
1526
+ function Qn(e, t, n, o, r, i) {
1515
1527
  return d(), m("div", null, [
1516
1528
  x(e.$slots, "default")
1517
1529
  ]);
1518
1530
  }
1519
- const G = /* @__PURE__ */ b(Yn, [["render", Xn]]), Qn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1531
+ const G = /* @__PURE__ */ b(Xn, [["render", Qn]]), Zn = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
1520
1532
  __proto__: null,
1521
1533
  default: G
1522
1534
  }, Symbol.toStringTag, { value: "Module" })), ge = f({
@@ -1529,7 +1541,7 @@ const G = /* @__PURE__ */ b(Yn, [["render", Xn]]), Qn = /* @__PURE__ */ Object.f
1529
1541
  },
1530
1542
  name: "inlined-styles",
1531
1543
  props: ["styles", "id", "nonce"]
1532
- }), ot = {
1544
+ }), it = {
1533
1545
  small: {
1534
1546
  min: 320,
1535
1547
  default: 321,
@@ -1545,11 +1557,11 @@ const G = /* @__PURE__ */ b(Yn, [["render", Xn]]), Qn = /* @__PURE__ */ Object.f
1545
1557
  default: 991,
1546
1558
  max: 1200
1547
1559
  }
1548
- }, Fi = (e, t = ot) => `@media (max-width: ${t[e].max}px)`, Zn = ({
1560
+ }, Di = (e, t = it) => `@media (max-width: ${t[e].max}px)`, _n = ({
1549
1561
  small: e,
1550
1562
  medium: t
1551
1563
  }) => {
1552
- const n = ue(ot);
1564
+ const n = ue(it);
1553
1565
  if (!e || !t)
1554
1566
  return n;
1555
1567
  const o = Math.floor(e / 2);
@@ -1571,7 +1583,7 @@ const G = /* @__PURE__ */ b(Yn, [["render", Xn]]), Qn = /* @__PURE__ */ Object.f
1571
1583
  min: i,
1572
1584
  default: i + 1
1573
1585
  }, n;
1574
- }, _n = (e) => `builder-columns ${e}-breakpoints`, eo = f({
1586
+ }, eo = (e) => `builder-columns ${e}-breakpoints`, to = f({
1575
1587
  name: "builder-columns",
1576
1588
  components: {
1577
1589
  InlinedStyles: ge,
@@ -1595,8 +1607,8 @@ const G = /* @__PURE__ */ b(Yn, [["render", Xn]]), Qn = /* @__PURE__ */ Object.f
1595
1607
  cols: this.columns || [],
1596
1608
  stackAt: this.stackColumnsAt || "tablet",
1597
1609
  flexDir: this.stackColumnsAt === "never" ? "row" : this.reverseColumnsWhenStacked ? "column-reverse" : "column",
1598
- TARGET: P,
1599
- getColumnsClass: _n
1610
+ TARGET: R,
1611
+ getColumnsClass: eo
1600
1612
  };
1601
1613
  },
1602
1614
  methods: {
@@ -1662,7 +1674,7 @@ const G = /* @__PURE__ */ b(Yn, [["render", Xn]]), Qn = /* @__PURE__ */ Object.f
1662
1674
  },
1663
1675
  getWidthForBreakpointSize(e) {
1664
1676
  var n, o;
1665
- return Zn(
1677
+ return _n(
1666
1678
  ((o = (n = this.builderContext.content) == null ? void 0 : n.meta) == null ? void 0 : o.breakpoints) || {}
1667
1679
  )[e].max;
1668
1680
  },
@@ -1700,12 +1712,12 @@ const G = /* @__PURE__ */ b(Yn, [["render", Xn]]), Qn = /* @__PURE__ */ Object.f
1700
1712
  href: e.link
1701
1713
  } : {},
1702
1714
  [Z()]: "builder-column",
1703
- style: nt(this.columnCssVars(t))
1715
+ style: rt(this.columnCssVars(t))
1704
1716
  };
1705
1717
  }
1706
1718
  }
1707
1719
  });
1708
- function to(e, t, n, o, r, i) {
1720
+ function no(e, t, n, o, r, i) {
1709
1721
  var u;
1710
1722
  const s = v("InlinedStyles"), l = v("Blocks"), a = v("DynamicRenderer");
1711
1723
  return d(), m("div", C({
@@ -1741,24 +1753,24 @@ function to(e, t, n, o, r, i) {
1741
1753
  }, 1032, ["TagName", "attributes"]))), 128))
1742
1754
  ], 16);
1743
1755
  }
1744
- const no = /* @__PURE__ */ b(eo, [["render", to], ["__scopeId", "data-v-adc066fc"]]), oo = f({
1756
+ const oo = /* @__PURE__ */ b(to, [["render", no], ["__scopeId", "data-v-adc066fc"]]), ro = f({
1745
1757
  name: "builder-fragment-component",
1746
1758
  props: []
1747
1759
  });
1748
- function ro(e, t, n, o, r, i) {
1760
+ function io(e, t, n, o, r, i) {
1749
1761
  return d(), m("span", null, [
1750
1762
  x(e.$slots, "default")
1751
1763
  ]);
1752
1764
  }
1753
- const io = /* @__PURE__ */ b(oo, [["render", ro]]);
1765
+ const so = /* @__PURE__ */ b(ro, [["render", io]]);
1754
1766
  function Ie(e) {
1755
1767
  return e.replace(/http(s)?:/, "");
1756
1768
  }
1757
- function so(e = "", t, n) {
1769
+ function ao(e = "", t, n) {
1758
1770
  const o = new RegExp("([?&])" + t + "=.*?(&|$)", "i"), r = e.indexOf("?") !== -1 ? "&" : "?";
1759
1771
  return e.match(o) ? e.replace(o, "$1" + t + "=" + encodeURIComponent(n) + "$2") : e + r + t + "=" + encodeURIComponent(n);
1760
1772
  }
1761
- function ao(e, t) {
1773
+ function lo(e, t) {
1762
1774
  if (!e || !(e != null && e.match(/cdn\.shopify\.com/)) || !t)
1763
1775
  return e;
1764
1776
  if (t === "master")
@@ -1777,11 +1789,11 @@ function te(e) {
1777
1789
  if (e.match(/builder\.io/)) {
1778
1790
  let n = e;
1779
1791
  const o = Number(e.split("?width=")[1]);
1780
- return isNaN(o) || (n = `${n} ${o}w`), t.filter((r) => r !== o).map((r) => `${so(e, "width", r)} ${r}w`).concat([n]).join(", ");
1792
+ return isNaN(o) || (n = `${n} ${o}w`), t.filter((r) => r !== o).map((r) => `${ao(e, "width", r)} ${r}w`).concat([n]).join(", ");
1781
1793
  }
1782
- return e.match(/cdn\.shopify\.com/) ? t.map((n) => [ao(e, `${n}x${n}`), n]).filter(([n]) => !!n).map(([n, o]) => `${n} ${o}w`).concat([e]).join(", ") : e;
1794
+ return e.match(/cdn\.shopify\.com/) ? t.map((n) => [lo(e, `${n}x${n}`), n]).filter(([n]) => !!n).map(([n, o]) => `${n} ${o}w`).concat([e]).join(", ") : e;
1783
1795
  }
1784
- const lo = f({
1796
+ const co = f({
1785
1797
  name: "builder-image",
1786
1798
  props: [
1787
1799
  "image",
@@ -1832,11 +1844,11 @@ const lo = f({
1832
1844
  return this.aspectRatio ? e : void 0;
1833
1845
  }
1834
1846
  }
1835
- }), co = ["srcset"], uo = ["loading", "fetchpriority", "alt", "role", "src", "srcset", "sizes"], po = {
1847
+ }), uo = ["srcset"], po = ["loading", "fetchpriority", "alt", "role", "src", "srcset", "sizes"], mo = {
1836
1848
  key: 2,
1837
1849
  class: "div-29wpyomtntv-2"
1838
1850
  };
1839
- function mo(e, t, n, o, r, i) {
1851
+ function ho(e, t, n, o, r, i) {
1840
1852
  var s, l, a, u, h, c;
1841
1853
  return d(), m(w, null, [
1842
1854
  K("picture", null, [
@@ -1844,7 +1856,7 @@ function mo(e, t, n, o, r, i) {
1844
1856
  key: 0,
1845
1857
  type: "image/webp",
1846
1858
  srcset: e.webpSrcSet
1847
- }, null, 8, co)) : S("", !0),
1859
+ }, null, 8, uo)) : S("", !0),
1848
1860
  K("img", {
1849
1861
  loading: e.highPriority ? "eager" : "lazy",
1850
1862
  fetchpriority: e.highPriority ? "high" : "auto",
@@ -1861,7 +1873,7 @@ function mo(e, t, n, o, r, i) {
1861
1873
  src: e.image,
1862
1874
  srcset: e.srcSetToUse,
1863
1875
  sizes: e.sizes
1864
- }, null, 14, uo)
1876
+ }, null, 14, po)
1865
1877
  ]),
1866
1878
  e.aspectRatio && !((l = (s = e.builderBlock) == null ? void 0 : s.children) != null && l.length && e.fitContent) ? (d(), m("div", {
1867
1879
  key: 0,
@@ -1871,19 +1883,19 @@ function mo(e, t, n, o, r, i) {
1871
1883
  })
1872
1884
  }, null, 4)) : S("", !0),
1873
1885
  (u = (a = e.builderBlock) == null ? void 0 : a.children) != null && u.length && e.fitContent ? x(e.$slots, "default", { key: 1 }, void 0, !0) : S("", !0),
1874
- !e.fitContent && ((c = (h = e.builderBlock) == null ? void 0 : h.children) != null && c.length) ? (d(), m("div", po, [
1886
+ !e.fitContent && ((c = (h = e.builderBlock) == null ? void 0 : h.children) != null && c.length) ? (d(), m("div", mo, [
1875
1887
  x(e.$slots, "default", {}, void 0, !0)
1876
1888
  ])) : S("", !0)
1877
1889
  ], 64);
1878
1890
  }
1879
- const ho = /* @__PURE__ */ b(lo, [["render", mo], ["__scopeId", "data-v-77f8a6c4"]]), fo = f({
1891
+ const fo = /* @__PURE__ */ b(co, [["render", ho], ["__scopeId", "data-v-77f8a6c4"]]), bo = f({
1880
1892
  name: "builder-section-component",
1881
1893
  props: ["attributes", "maxWidth"],
1882
1894
  data() {
1883
1895
  return { filterAttrs: V };
1884
1896
  }
1885
1897
  });
1886
- function bo(e, t, n, o, r, i) {
1898
+ function go(e, t, n, o, r, i) {
1887
1899
  return d(), m("section", C({
1888
1900
  style: {
1889
1901
  width: "100%",
@@ -1901,7 +1913,7 @@ function bo(e, t, n, o, r, i) {
1901
1913
  x(e.$slots, "default")
1902
1914
  ], 16);
1903
1915
  }
1904
- const go = /* @__PURE__ */ b(fo, [["render", bo]]), ne = {
1916
+ const yo = /* @__PURE__ */ b(bo, [["render", go]]), ne = {
1905
1917
  "@type": "@builder.io/sdk:Element",
1906
1918
  layerName: "Accordion item title",
1907
1919
  responsiveStyles: {
@@ -1961,7 +1973,7 @@ const go = /* @__PURE__ */ b(fo, [["render", bo]]), ne = {
1961
1973
  }
1962
1974
  }
1963
1975
  }]
1964
- }, yo = {
1976
+ }, ko = {
1965
1977
  name: "Builder:Accordion",
1966
1978
  canHaveChildren: !0,
1967
1979
  image: "https://cdn.builder.io/api/v1/image/assets%2FagZ9n5CUKRfbL9t6CaJOyVSK4Es2%2Ffab6c1fd3fe542408cbdec078bca7f35",
@@ -2025,7 +2037,7 @@ const go = /* @__PURE__ */ b(fo, [["render", bo]]), ne = {
2025
2037
  builderComponents: !0,
2026
2038
  builderLinkComponent: !0
2027
2039
  }
2028
- }, ko = (e) => e.toString(), vo = f({
2040
+ }, vo = (e) => e.toString(), So = f({
2029
2041
  name: "builder-accordion",
2030
2042
  components: { Blocks: L },
2031
2043
  props: [
@@ -2039,7 +2051,7 @@ const go = /* @__PURE__ */ b(fo, [["render", bo]]), ne = {
2039
2051
  "builderLinkComponent"
2040
2052
  ],
2041
2053
  data() {
2042
- return { open: [], convertOrderNumberToString: ko };
2054
+ return { open: [], convertOrderNumberToString: vo };
2043
2055
  },
2044
2056
  computed: {
2045
2057
  onlyOneAtATime() {
@@ -2120,8 +2132,8 @@ const go = /* @__PURE__ */ b(fo, [["render", bo]]), ne = {
2120
2132
  this.open.includes(e) ? this.open = this.onlyOneAtATime ? [] : this.open.filter((t) => t !== e) : this.open = this.onlyOneAtATime ? [e] : this.open.concat(e);
2121
2133
  }
2122
2134
  }
2123
- }), So = ["data-index", "onClick"];
2124
- function Co(e, t, n, o, r, i) {
2135
+ }), Co = ["data-index", "onClick"];
2136
+ function wo(e, t, n, o, r, i) {
2125
2137
  const s = v("Blocks");
2126
2138
  return d(), m("div", {
2127
2139
  class: "builder-accordion",
@@ -2146,7 +2158,7 @@ function Co(e, t, n, o, r, i) {
2146
2158
  registeredComponents: e.builderComponents,
2147
2159
  linkComponent: e.builderLinkComponent
2148
2160
  }, null, 8, ["blocks", "path", "parent", "context", "registeredComponents", "linkComponent"])
2149
- ], 14, So),
2161
+ ], 14, Co),
2150
2162
  e.open.includes(a) ? (d(), m("div", {
2151
2163
  key: 0,
2152
2164
  class: q(e.getAccordionDetailClassName(a)),
@@ -2164,7 +2176,7 @@ function Co(e, t, n, o, r, i) {
2164
2176
  ], 64))), 128))
2165
2177
  ], 4);
2166
2178
  }
2167
- const wo = /* @__PURE__ */ b(vo, [["render", Co]]), To = {
2179
+ const To = /* @__PURE__ */ b(So, [["render", wo]]), Io = {
2168
2180
  name: "Core:Button",
2169
2181
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F81a15681c3e74df09677dfc57a615b13",
2170
2182
  defaultStyles: {
@@ -2200,7 +2212,7 @@ const wo = /* @__PURE__ */ b(vo, [["render", Co]]), To = {
2200
2212
  shouldReceiveBuilderProps: {
2201
2213
  builderLinkComponent: !0
2202
2214
  }
2203
- }, Io = {
2215
+ }, $o = {
2204
2216
  // TODO: ways to statically preprocess JSON for references, functions, etc
2205
2217
  name: "Columns",
2206
2218
  isRSC: !0,
@@ -2407,13 +2419,13 @@ const wo = /* @__PURE__ */ b(vo, [["render", Co]]), To = {
2407
2419
  builderComponents: !0,
2408
2420
  builderLinkComponent: !0
2409
2421
  }
2410
- }, $o = {
2422
+ }, Ro = {
2411
2423
  name: "Fragment",
2412
2424
  static: !0,
2413
2425
  hidden: !0,
2414
2426
  canHaveChildren: !0,
2415
2427
  noWrap: !0
2416
- }, Ro = {
2428
+ }, Eo = {
2417
2429
  name: "Image",
2418
2430
  static: !0,
2419
2431
  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",
@@ -2521,7 +2533,7 @@ const wo = /* @__PURE__ */ b(vo, [["render", Co]]), To = {
2521
2533
  shouldReceiveBuilderProps: {
2522
2534
  builderBlock: !0
2523
2535
  }
2524
- }, Eo = {
2536
+ }, Po = {
2525
2537
  name: "Core:Section",
2526
2538
  static: !0,
2527
2539
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F682efef23ace49afac61748dd305c70a",
@@ -2560,7 +2572,7 @@ const wo = /* @__PURE__ */ b(vo, [["render", Co]]), To = {
2560
2572
  }
2561
2573
  }
2562
2574
  }]
2563
- }, Po = {
2575
+ }, Bo = {
2564
2576
  name: "Slot",
2565
2577
  isRSC: !0,
2566
2578
  description: "Allow child blocks to be inserted into this content when used as a Symbol",
@@ -2577,12 +2589,12 @@ const wo = /* @__PURE__ */ b(vo, [["render", Co]]), To = {
2577
2589
  builderContext: !0,
2578
2590
  builderComponents: !0
2579
2591
  }
2580
- }, Bo = f({
2592
+ }, xo = f({
2581
2593
  name: "builder-slot",
2582
2594
  components: { Blocks: L },
2583
2595
  props: ["builderContext", "name", "builderComponents"]
2584
2596
  });
2585
- function xo(e, t, n, o, r, i) {
2597
+ function Ao(e, t, n, o, r, i) {
2586
2598
  var l, a, u;
2587
2599
  const s = v("Blocks");
2588
2600
  return d(), m("div", C(
@@ -2602,7 +2614,7 @@ function xo(e, t, n, o, r, i) {
2602
2614
  }, null, 8, ["parent", "path", "context", "registeredComponents", "blocks"])
2603
2615
  ], 16);
2604
2616
  }
2605
- const Ao = /* @__PURE__ */ b(Bo, [["render", xo]]), Vo = {
2617
+ const Vo = /* @__PURE__ */ b(xo, [["render", Ao]]), Wo = {
2606
2618
  name: "Symbol",
2607
2619
  noWrap: !0,
2608
2620
  static: !0,
@@ -2679,7 +2691,7 @@ const Ao = /* @__PURE__ */ b(Bo, [["render", xo]]), Vo = {
2679
2691
  text: "New tab content "
2680
2692
  }
2681
2693
  }
2682
- }, Wo = {
2694
+ }, No = {
2683
2695
  name: "Builder: Tabs",
2684
2696
  inputs: [{
2685
2697
  name: "tabs",
@@ -2782,7 +2794,7 @@ const Ao = /* @__PURE__ */ b(Bo, [["render", xo]]), Vo = {
2782
2794
  builderComponents: !0,
2783
2795
  builderLinkComponent: !0
2784
2796
  }
2785
- }, No = f({
2797
+ }, Oo = f({
2786
2798
  name: "builder-tabs",
2787
2799
  components: { Blocks: L },
2788
2800
  props: [
@@ -2807,8 +2819,8 @@ const Ao = /* @__PURE__ */ b(Bo, [["render", xo]]), Vo = {
2807
2819
  e === this.activeTab && this.collapsible ? this.activeTab = -1 : this.activeTab = e;
2808
2820
  }
2809
2821
  }
2810
- }), Oo = ["onClick"], Fo = { key: 0 };
2811
- function Do(e, t, n, o, r, i) {
2822
+ }), Fo = ["onClick"], Do = { key: 0 };
2823
+ function Lo(e, t, n, o, r, i) {
2812
2824
  const s = v("Blocks");
2813
2825
  return d(), m("div", null, [
2814
2826
  K("div", {
@@ -2836,9 +2848,9 @@ function Do(e, t, n, o, r, i) {
2836
2848
  registeredComponents: e.builderComponents,
2837
2849
  linkComponent: e.builderLinkComponent
2838
2850
  }, null, 8, ["parent", "path", "blocks", "context", "registeredComponents", "linkComponent"])
2839
- ], 14, Oo))), 128))
2851
+ ], 14, Fo))), 128))
2840
2852
  ], 4),
2841
- e.activeTabContent(e.activeTab) ? (d(), m("div", Fo, [
2853
+ e.activeTabContent(e.activeTab) ? (d(), m("div", Do, [
2842
2854
  $(s, {
2843
2855
  parent: e.builderBlock.id,
2844
2856
  path: `component.options.tabs.${e.activeTab}.content`,
@@ -2850,7 +2862,7 @@ function Do(e, t, n, o, r, i) {
2850
2862
  ])) : S("", !0)
2851
2863
  ]);
2852
2864
  }
2853
- const Lo = /* @__PURE__ */ b(No, [["render", Do]]), Uo = {
2865
+ const Uo = /* @__PURE__ */ b(Oo, [["render", Lo]]), Mo = {
2854
2866
  shouldReceiveBuilderProps: {
2855
2867
  builderBlock: !1,
2856
2868
  builderContext: !0
@@ -2872,7 +2884,7 @@ const Lo = /* @__PURE__ */ b(No, [["render", Do]]), Uo = {
2872
2884
  height: "auto",
2873
2885
  textAlign: "center"
2874
2886
  }
2875
- }, Mo = f({
2887
+ }, jo = f({
2876
2888
  name: "builder-text",
2877
2889
  props: ["builderContext", "text"],
2878
2890
  computed: {
@@ -2896,17 +2908,17 @@ const Lo = /* @__PURE__ */ b(No, [["render", Do]]), Uo = {
2896
2908
  );
2897
2909
  }
2898
2910
  }
2899
- }), jo = ["innerHTML"];
2900
- function Ho(e, t, n, o, r, i) {
2911
+ }), Ho = ["innerHTML"];
2912
+ function Ko(e, t, n, o, r, i) {
2901
2913
  return d(), m("div", {
2902
2914
  class: "builder-text",
2903
2915
  innerHTML: e.processedText,
2904
2916
  style: {
2905
2917
  outline: "none"
2906
2918
  }
2907
- }, null, 8, jo);
2919
+ }, null, 8, Ho);
2908
2920
  }
2909
- const Ko = /* @__PURE__ */ b(Mo, [["render", Ho]]), qo = {
2921
+ const qo = /* @__PURE__ */ b(jo, [["render", Ko]]), zo = {
2910
2922
  name: "Custom Code",
2911
2923
  static: !0,
2912
2924
  requiredPermissions: ["editCode"],
@@ -2928,7 +2940,7 @@ const Ko = /* @__PURE__ */ b(Mo, [["render", Ho]]), qo = {
2928
2940
  helperText: "Only print and run scripts on the client. Important when scripts influence DOM that could be replaced when client loads",
2929
2941
  advanced: !0
2930
2942
  }]
2931
- }, zo = f({
2943
+ }, Jo = f({
2932
2944
  name: "builder-custom-code",
2933
2945
  props: ["replaceNodes", "code"],
2934
2946
  data() {
@@ -2962,15 +2974,15 @@ const Ko = /* @__PURE__ */ b(Mo, [["render", Ho]]), qo = {
2962
2974
  }
2963
2975
  }
2964
2976
  }
2965
- }), Jo = ["innerHTML"];
2966
- function Go(e, t, n, o, r, i) {
2977
+ }), Go = ["innerHTML"];
2978
+ function Yo(e, t, n, o, r, i) {
2967
2979
  return d(), m("div", {
2968
2980
  ref: "elementRef",
2969
2981
  class: q("builder-custom-code" + (e.replaceNodes ? " replace-nodes" : "")),
2970
2982
  innerHTML: e.code
2971
- }, null, 10, Jo);
2983
+ }, null, 10, Go);
2972
2984
  }
2973
- const Yo = /* @__PURE__ */ b(zo, [["render", Go]]), Xo = {
2985
+ const Xo = /* @__PURE__ */ b(Jo, [["render", Yo]]), Qo = {
2974
2986
  name: "Embed",
2975
2987
  static: !0,
2976
2988
  inputs: [{
@@ -2985,7 +2997,7 @@ const Yo = /* @__PURE__ */ b(zo, [["render", Go]]), Xo = {
2985
2997
  defaultValue: '<div style="padding: 20px; text-align: center">(Choose an embed URL)<div>',
2986
2998
  hideFromUI: !0
2987
2999
  }]
2988
- }, Qo = ["text/javascript", "application/javascript", "application/ecmascript"], Zo = (e) => Qo.includes(e.type), _o = f({
3000
+ }, Zo = ["text/javascript", "application/javascript", "application/ecmascript"], _o = (e) => Zo.includes(e.type), er = f({
2989
3001
  name: "builder-embed",
2990
3002
  props: ["content"],
2991
3003
  data() {
@@ -3018,7 +3030,7 @@ const Yo = /* @__PURE__ */ b(zo, [["render", Go]]), Xo = {
3018
3030
  this.scriptsInserted.push(n.src);
3019
3031
  const o = document.createElement("script");
3020
3032
  o.async = !0, o.src = n.src, document.head.appendChild(o);
3021
- } else if (Zo(n) && !this.scriptsRun.includes(n.innerText))
3033
+ } else if (_o(n) && !this.scriptsRun.includes(n.innerText))
3022
3034
  try {
3023
3035
  this.scriptsRun.push(n.innerText), new Function(n.innerText)();
3024
3036
  } catch (o) {
@@ -3027,15 +3039,15 @@ const Yo = /* @__PURE__ */ b(zo, [["render", Go]]), Xo = {
3027
3039
  }
3028
3040
  }
3029
3041
  }
3030
- }), er = ["innerHTML"];
3031
- function tr(e, t, n, o, r, i) {
3042
+ }), tr = ["innerHTML"];
3043
+ function nr(e, t, n, o, r, i) {
3032
3044
  return d(), m("div", {
3033
3045
  class: "builder-embed",
3034
3046
  ref: "elem",
3035
3047
  innerHTML: e.content
3036
- }, null, 8, er);
3048
+ }, null, 8, tr);
3037
3049
  }
3038
- const nr = /* @__PURE__ */ b(_o, [["render", tr]]), or = {
3050
+ const or = /* @__PURE__ */ b(er, [["render", nr]]), rr = {
3039
3051
  name: "Form:Form",
3040
3052
  // editableTags: ['builder-form-error']
3041
3053
  defaults: {
@@ -3272,10 +3284,10 @@ const nr = /* @__PURE__ */ b(_o, [["render", tr]]), or = {
3272
3284
  builderComponents: !0,
3273
3285
  builderLinkComponent: !0
3274
3286
  }
3275
- }, rr = ["production", "qa", "test", "development", "dev", "cdn-qa", "cloud", "fast", "cdn2", "cdn-prod"], ir = () => {
3287
+ }, ir = ["production", "qa", "test", "development", "dev", "cdn-qa", "cloud", "fast", "cdn2", "cdn-prod"], sr = () => {
3276
3288
  const e = process.env.NODE_ENV || "production";
3277
- return rr.includes(e) ? e : "production";
3278
- }, sr = f({
3289
+ return ir.includes(e) ? e : "production";
3290
+ }, ar = f({
3279
3291
  name: "builder-form-component",
3280
3292
  components: { Block: be, Blocks: L },
3281
3293
  props: [
@@ -3319,7 +3331,7 @@ const nr = /* @__PURE__ */ b(_o, [["render", tr]]), or = {
3319
3331
  this.builderContext.rootSetState ? (o = (n = this.builderContext).rootSetState) == null || o.call(n, t) : this.builderContext.rootState = t;
3320
3332
  },
3321
3333
  submissionState() {
3322
- return R() && this.previewState || this.formState;
3334
+ return E() && this.previewState || this.formState;
3323
3335
  },
3324
3336
  onSubmit(e) {
3325
3337
  var n;
@@ -3378,7 +3390,7 @@ const nr = /* @__PURE__ */ b(_o, [["render", tr]]), or = {
3378
3390
  if (this.$refs.formRef && (this.$refs.formRef.dispatchEvent(u), u.defaultPrevented))
3379
3391
  return;
3380
3392
  this.formState = "sending";
3381
- const h = `${ir() === "dev" ? "http://localhost:5000" : "https://builder.io"}/api/v1/form-submit?apiKey=${this.builderContext.apiKey}&to=${btoa(
3393
+ const h = `${sr() === "dev" ? "http://localhost:5000" : "https://builder.io"}/api/v1/form-submit?apiKey=${this.builderContext.apiKey}&to=${btoa(
3382
3394
  this.sendSubmissionsToEmail || ""
3383
3395
  )}&name=${encodeURIComponent(this.name || "")}`;
3384
3396
  fetch(
@@ -3434,11 +3446,11 @@ const nr = /* @__PURE__ */ b(_o, [["render", tr]]), or = {
3434
3446
  }
3435
3447
  }
3436
3448
  }
3437
- }), ar = ["validate", "action", "method", "name"], lr = {
3449
+ }), lr = ["validate", "action", "method", "name"], cr = {
3438
3450
  key: 3,
3439
3451
  class: "builder-form-error-text pre-3q96myty4lk"
3440
3452
  };
3441
- function cr(e, t, n, o, r, i) {
3453
+ function dr(e, t, n, o, r, i) {
3442
3454
  var a;
3443
3455
  const s = v("Block"), l = v("Blocks");
3444
3456
  return d(), m("form", C({
@@ -3468,16 +3480,16 @@ function cr(e, t, n, o, r, i) {
3468
3480
  blocks: e.sendingMessage,
3469
3481
  context: e.builderContext
3470
3482
  }, null, 8, ["blocks", "context"])) : S("", !0),
3471
- e.submissionState() === "error" && e.responseData ? (d(), m("pre", lr, ee(JSON.stringify(e.responseData, null, 2)), 1)) : S("", !0),
3483
+ e.submissionState() === "error" && e.responseData ? (d(), m("pre", cr, ee(JSON.stringify(e.responseData, null, 2)), 1)) : S("", !0),
3472
3484
  e.submissionState() === "success" ? (d(), k(l, {
3473
3485
  key: 4,
3474
3486
  path: "successMessage",
3475
3487
  blocks: e.successMessage,
3476
3488
  context: e.builderContext
3477
3489
  }, null, 8, ["blocks", "context"])) : S("", !0)
3478
- ], 16, ar);
3490
+ ], 16, lr);
3479
3491
  }
3480
- const dr = /* @__PURE__ */ b(sr, [["render", cr], ["__scopeId", "data-v-6e18f21b"]]), ur = {
3492
+ const ur = /* @__PURE__ */ b(ar, [["render", dr], ["__scopeId", "data-v-6e18f21b"]]), pr = {
3481
3493
  name: "Form:Input",
3482
3494
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fad6f37889d9e40bbbbc72cdb5875d6ca",
3483
3495
  inputs: [
@@ -3528,7 +3540,7 @@ const dr = /* @__PURE__ */ b(sr, [["render", cr], ["__scopeId", "data-v-6e18f21b
3528
3540
  borderStyle: "solid",
3529
3541
  borderColor: "#ccc"
3530
3542
  }
3531
- }, pr = f({
3543
+ }, mr = f({
3532
3544
  name: "builder-form-input-component",
3533
3545
  props: [
3534
3546
  "attributes",
@@ -3540,10 +3552,10 @@ const dr = /* @__PURE__ */ b(sr, [["render", cr], ["__scopeId", "data-v-6e18f21b
3540
3552
  "required"
3541
3553
  ],
3542
3554
  data() {
3543
- return { isEditing: R, filterAttrs: V };
3555
+ return { isEditing: E, filterAttrs: V };
3544
3556
  }
3545
- }), mr = ["placeholder", "type", "name", "value", "defaultValue", "required"];
3546
- function hr(e, t, n, o, r, i) {
3557
+ }), hr = ["placeholder", "type", "name", "value", "defaultValue", "required"];
3558
+ function fr(e, t, n, o, r, i) {
3547
3559
  return d(), m("input", C({
3548
3560
  key: e.isEditing() && e.defaultValue ? e.defaultValue : "default-key",
3549
3561
  placeholder: e.placeholder,
@@ -3552,9 +3564,9 @@ function hr(e, t, n, o, r, i) {
3552
3564
  value: e.value,
3553
3565
  defaultValue: e.defaultValue,
3554
3566
  required: e.required
3555
- }, e.filterAttrs(e.attributes, "v-on:", !1), B(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16, mr);
3567
+ }, e.filterAttrs(e.attributes, "v-on:", !1), B(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16, hr);
3556
3568
  }
3557
- const fr = /* @__PURE__ */ b(pr, [["render", hr]]), br = {
3569
+ const br = /* @__PURE__ */ b(mr, [["render", fr]]), gr = {
3558
3570
  name: "Form:Select",
3559
3571
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F83acca093fb24aaf94dee136e9a4b045",
3560
3572
  defaultStyles: {
@@ -3596,14 +3608,14 @@ const fr = /* @__PURE__ */ b(pr, [["render", hr]]), br = {
3596
3608
  }],
3597
3609
  static: !0,
3598
3610
  noWrap: !0
3599
- }, gr = f({
3611
+ }, yr = f({
3600
3612
  name: "builder-select-component",
3601
3613
  props: ["attributes", "value", "defaultValue", "name", "required", "options"],
3602
3614
  data() {
3603
- return { isEditing: R, filterAttrs: V };
3615
+ return { isEditing: E, filterAttrs: V };
3604
3616
  }
3605
- }), yr = ["value", "defaultValue", "name", "required"], kr = ["value"];
3606
- function vr(e, t, n, o, r, i) {
3617
+ }), kr = ["value", "defaultValue", "name", "required"], vr = ["value"];
3618
+ function Sr(e, t, n, o, r, i) {
3607
3619
  return d(), m("select", C({
3608
3620
  value: e.value,
3609
3621
  key: e.isEditing() && e.defaultValue ? e.defaultValue : "default-key",
@@ -3614,10 +3626,10 @@ function vr(e, t, n, o, r, i) {
3614
3626
  (d(!0), m(w, null, A(e.options, (s, l) => (d(), m("option", {
3615
3627
  key: `${s.name}-${l}`,
3616
3628
  value: s.value
3617
- }, ee(s.name || s.value), 9, kr))), 128))
3618
- ], 16, yr);
3629
+ }, ee(s.name || s.value), 9, vr))), 128))
3630
+ ], 16, kr);
3619
3631
  }
3620
- const Sr = /* @__PURE__ */ b(gr, [["render", vr]]), Cr = {
3632
+ const Cr = /* @__PURE__ */ b(yr, [["render", Sr]]), wr = {
3621
3633
  name: "Form:SubmitButton",
3622
3634
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fdf2820ffed1f4349a94c40b3221f5b98",
3623
3635
  defaultStyles: {
@@ -3642,17 +3654,17 @@ const Sr = /* @__PURE__ */ b(gr, [["render", vr]]), Cr = {
3642
3654
  // that only shows if advanced setting is flipped
3643
3655
  // TODO: defaultChildren
3644
3656
  // canHaveChildren: true,
3645
- }, wr = f({
3657
+ }, Tr = f({
3646
3658
  name: "builder-submit-button",
3647
3659
  props: ["attributes", "text"],
3648
3660
  data() {
3649
3661
  return { filterAttrs: V };
3650
3662
  }
3651
3663
  });
3652
- function Tr(e, t, n, o, r, i) {
3664
+ function Ir(e, t, n, o, r, i) {
3653
3665
  return d(), m("button", C({ type: "submit" }, e.filterAttrs(e.attributes, "v-on:", !1), B(e.filterAttrs(e.attributes, "v-on:", !0), !0)), ee(e.text), 17);
3654
3666
  }
3655
- const Ir = /* @__PURE__ */ b(wr, [["render", Tr]]), $r = {
3667
+ const $r = /* @__PURE__ */ b(Tr, [["render", Ir]]), Rr = {
3656
3668
  name: "Form:TextArea",
3657
3669
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Ff74a2f3de58c4c3e939204e5b6b8f6c3",
3658
3670
  inputs: [{
@@ -3688,7 +3700,7 @@ const Ir = /* @__PURE__ */ b(wr, [["render", Tr]]), $r = {
3688
3700
  },
3689
3701
  static: !0,
3690
3702
  noWrap: !0
3691
- }, Rr = f({
3703
+ }, Er = f({
3692
3704
  name: "builder-textarea",
3693
3705
  props: [
3694
3706
  "attributes",
@@ -3701,17 +3713,17 @@ const Ir = /* @__PURE__ */ b(wr, [["render", Tr]]), $r = {
3701
3713
  data() {
3702
3714
  return { filterAttrs: V };
3703
3715
  }
3704
- }), Er = ["placeholder", "name", "value", "defaultValue", "required"];
3705
- function Pr(e, t, n, o, r, i) {
3716
+ }), Pr = ["placeholder", "name", "value", "defaultValue", "required"];
3717
+ function Br(e, t, n, o, r, i) {
3706
3718
  return d(), m("textarea", C({
3707
3719
  placeholder: e.placeholder,
3708
3720
  name: e.name,
3709
3721
  value: e.value,
3710
3722
  defaultValue: e.defaultValue,
3711
3723
  required: e.required
3712
- }, e.filterAttrs(e.attributes, "v-on:", !1), B(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16, Er);
3724
+ }, e.filterAttrs(e.attributes, "v-on:", !1), B(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16, Pr);
3713
3725
  }
3714
- const Br = /* @__PURE__ */ b(Rr, [["render", Pr]]), xr = {
3726
+ const xr = /* @__PURE__ */ b(Er, [["render", Br]]), Ar = {
3715
3727
  // friendlyName?
3716
3728
  name: "Raw:Img",
3717
3729
  hideFromInsertMenu: !0,
@@ -3725,7 +3737,7 @@ const Br = /* @__PURE__ */ b(Rr, [["render", Pr]]), xr = {
3725
3737
  }],
3726
3738
  noWrap: !0,
3727
3739
  static: !0
3728
- }, Ar = f({
3740
+ }, Vr = f({
3729
3741
  name: "builder-img-component",
3730
3742
  props: [
3731
3743
  "backgroundSize",
@@ -3736,10 +3748,10 @@ const Br = /* @__PURE__ */ b(Rr, [["render", Pr]]), xr = {
3736
3748
  "attributes"
3737
3749
  ],
3738
3750
  data() {
3739
- return { isEditing: R, filterAttrs: V };
3751
+ return { isEditing: E, filterAttrs: V };
3740
3752
  }
3741
- }), Vr = ["alt", "src"];
3742
- function Wr(e, t, n, o, r, i) {
3753
+ }), Wr = ["alt", "src"];
3754
+ function Nr(e, t, n, o, r, i) {
3743
3755
  return d(), m("img", C({
3744
3756
  style: {
3745
3757
  objectFit: e.backgroundSize || "cover",
@@ -3748,9 +3760,9 @@ function Wr(e, t, n, o, r, i) {
3748
3760
  key: e.isEditing() && e.imgSrc || "default-key",
3749
3761
  alt: e.altText,
3750
3762
  src: e.imgSrc || e.image
3751
- }, e.filterAttrs(e.attributes, "v-on:", !1), B(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16, Vr);
3763
+ }, e.filterAttrs(e.attributes, "v-on:", !1), B(e.filterAttrs(e.attributes, "v-on:", !0), !0)), null, 16, Wr);
3752
3764
  }
3753
- const Nr = /* @__PURE__ */ b(Ar, [["render", Wr]]), Or = {
3765
+ const Or = /* @__PURE__ */ b(Vr, [["render", Nr]]), Fr = {
3754
3766
  name: "Video",
3755
3767
  canHaveChildren: !0,
3756
3768
  defaultStyles: {
@@ -3834,7 +3846,7 @@ const Nr = /* @__PURE__ */ b(Ar, [["render", Wr]]), Or = {
3834
3846
  shouldReceiveBuilderProps: {
3835
3847
  builderBlock: !0
3836
3848
  }
3837
- }, Fr = f({
3849
+ }, Dr = f({
3838
3850
  name: "builder-video",
3839
3851
  props: [
3840
3852
  "autoPlay",
@@ -3879,16 +3891,16 @@ const Nr = /* @__PURE__ */ b(Ar, [["render", Wr]]), Or = {
3879
3891
  };
3880
3892
  }
3881
3893
  }
3882
- }), Dr = { style: {
3894
+ }), Lr = { style: {
3883
3895
  position: "relative"
3884
- } }, Lr = ["preload", "src", "poster"], Ur = ["src"], Mr = {
3896
+ } }, Ur = ["preload", "src", "poster"], Mr = ["src"], jr = {
3885
3897
  key: 1,
3886
3898
  style: {
3887
3899
  display: "flex",
3888
3900
  flexDirection: "column",
3889
3901
  alignItems: "stretch"
3890
3902
  }
3891
- }, jr = {
3903
+ }, Hr = {
3892
3904
  key: 2,
3893
3905
  style: {
3894
3906
  pointerEvents: "none",
@@ -3902,9 +3914,9 @@ const Nr = /* @__PURE__ */ b(Ar, [["render", Wr]]), Or = {
3902
3914
  height: "100%"
3903
3915
  }
3904
3916
  };
3905
- function Hr(e, t, n, o, r, i) {
3917
+ function Kr(e, t, n, o, r, i) {
3906
3918
  var s, l, a, u, h, c, p;
3907
- return d(), m("div", Dr, [
3919
+ return d(), m("div", Lr, [
3908
3920
  K("video", C({
3909
3921
  class: "builder-video",
3910
3922
  preload: e.preload || "metadata",
@@ -3929,8 +3941,8 @@ function Hr(e, t, n, o, r, i) {
3929
3941
  key: 0,
3930
3942
  type: "video/mp4",
3931
3943
  src: e.video
3932
- }, null, 8, Ur))
3933
- ], 16, Lr),
3944
+ }, null, 8, Mr))
3945
+ ], 16, Ur),
3934
3946
  e.aspectRatio && !(e.fitContent && ((a = (l = e.builderBlock) == null ? void 0 : l.children) != null && a.length)) ? (d(), m("div", {
3935
3947
  key: 0,
3936
3948
  style: F({
@@ -3940,72 +3952,72 @@ function Hr(e, t, n, o, r, i) {
3940
3952
  fontSize: "0px"
3941
3953
  })
3942
3954
  }, null, 4)) : S("", !0),
3943
- (h = (u = e.builderBlock) == null ? void 0 : u.children) != null && h.length && e.fitContent ? (d(), m("div", Mr, [
3955
+ (h = (u = e.builderBlock) == null ? void 0 : u.children) != null && h.length && e.fitContent ? (d(), m("div", jr, [
3944
3956
  x(e.$slots, "default")
3945
3957
  ])) : S("", !0),
3946
- (p = (c = e.builderBlock) == null ? void 0 : c.children) != null && p.length && !e.fitContent ? (d(), m("div", jr, [
3958
+ (p = (c = e.builderBlock) == null ? void 0 : c.children) != null && p.length && !e.fitContent ? (d(), m("div", Hr, [
3947
3959
  x(e.$slots, "default")
3948
3960
  ])) : S("", !0)
3949
3961
  ]);
3950
3962
  }
3951
- const Kr = /* @__PURE__ */ b(Fr, [["render", Hr]]), qr = () => [{
3952
- component: Yo,
3953
- ...qo
3963
+ const qr = /* @__PURE__ */ b(Dr, [["render", Kr]]), zr = () => [{
3964
+ component: Xo,
3965
+ ...zo
3954
3966
  }, {
3955
- component: nr,
3956
- ...Xo
3967
+ component: or,
3968
+ ...Qo
3957
3969
  }, {
3958
- component: dr,
3959
- ...or
3970
+ component: ur,
3971
+ ...rr
3960
3972
  }, {
3961
- component: fr,
3962
- ...ur
3973
+ component: br,
3974
+ ...pr
3963
3975
  }, {
3964
- component: Ir,
3965
- ...Cr
3976
+ component: $r,
3977
+ ...wr
3966
3978
  }, {
3967
- component: Sr,
3968
- ...br
3979
+ component: Cr,
3980
+ ...gr
3969
3981
  }, {
3970
- component: Br,
3971
- ...$r
3982
+ component: xr,
3983
+ ...Rr
3972
3984
  }, {
3973
- component: Nr,
3974
- ...xr
3985
+ component: Or,
3986
+ ...Ar
3975
3987
  }, {
3976
- component: Kr,
3977
- ...Or
3988
+ component: qr,
3989
+ ...Fr
3978
3990
  }], $e = () => [{
3979
- component: gt,
3980
- ...To
3981
- }, {
3982
- component: no,
3991
+ component: kt,
3983
3992
  ...Io
3984
3993
  }, {
3985
- component: io,
3994
+ component: oo,
3986
3995
  ...$o
3987
3996
  }, {
3988
- component: ho,
3997
+ component: so,
3989
3998
  ...Ro
3990
3999
  }, {
3991
- component: go,
4000
+ component: fo,
3992
4001
  ...Eo
3993
4002
  }, {
3994
- component: Ao,
4003
+ component: yo,
3995
4004
  ...Po
3996
4005
  }, {
3997
- component: $i,
3998
- ...Vo
3999
- }, {
4000
- component: Ko,
4001
- ...Uo
4006
+ component: Vo,
4007
+ ...Bo
4002
4008
  }, {
4003
- component: Lo,
4009
+ component: Ri,
4004
4010
  ...Wo
4005
4011
  }, {
4006
- component: wo,
4007
- ...yo
4008
- }, ...qr()], zr = `function updateCookiesAndStyles(contentId, variants, isHydrationTarget) {
4012
+ component: qo,
4013
+ ...Mo
4014
+ }, {
4015
+ component: Uo,
4016
+ ...No
4017
+ }, {
4018
+ component: To,
4019
+ ...ko
4020
+ }, ...zr()], Jr = `function updateCookiesAndStyles(contentId, variants, isHydrationTarget) {
4009
4021
  function getAndSetVariantId() {
4010
4022
  function setCookie(name, value, days) {
4011
4023
  let expires = '';
@@ -4061,7 +4073,7 @@ const Kr = /* @__PURE__ */ b(Fr, [["render", Hr]]), qr = () => [{
4061
4073
  }).join('');
4062
4074
  styleEl.innerHTML = newStyleStr;
4063
4075
  }
4064
- }`, Jr = `function updateVariantVisibility(variantContentId, defaultContentId, isHydrationTarget) {
4076
+ }`, Gr = `function updateVariantVisibility(variantContentId, defaultContentId, isHydrationTarget) {
4065
4077
  if (!navigator.cookieEnabled) {
4066
4078
  return;
4067
4079
  }
@@ -4095,25 +4107,25 @@ const Kr = /* @__PURE__ */ b(Fr, [["render", Hr]]), qr = () => [{
4095
4107
  thisScriptEl?.remove();
4096
4108
  }
4097
4109
  return;
4098
- }`, rt = "builderIoAbTest", it = "builderIoRenderContent", Q = (e) => Object.values((e == null ? void 0 : e.variations) || {}).map((t) => ({
4110
+ }`, st = "builderIoAbTest", at = "builderIoRenderContent", Q = (e) => Object.values((e == null ? void 0 : e.variations) || {}).map((t) => ({
4099
4111
  ...t,
4100
4112
  testVariationId: t.id,
4101
4113
  id: e == null ? void 0 : e.id
4102
- })), Gr = ({
4114
+ })), Yr = ({
4103
4115
  canTrack: e,
4104
4116
  content: t
4105
- }) => !(!(Q(t).length > 0) || !e), Yr = (e) => e === "react" || e === "reactNative", st = Yr(P), Xr = () => `
4106
- window.${rt} = ${zr}
4107
- window.${it} = ${Jr}
4108
- `, Qr = (e, t) => `
4109
- window.${rt}(
4110
- "${t}",${JSON.stringify(e)}, ${st}
4111
- )`, Zr = ({
4117
+ }) => !(!(Q(t).length > 0) || !e), Xr = (e) => e === "react" || e === "reactNative", lt = Xr(R), Qr = () => `
4118
+ window.${st} = ${Jr}
4119
+ window.${at} = ${Gr}
4120
+ `, Zr = (e, t) => `
4121
+ window.${st}(
4122
+ "${t}",${JSON.stringify(e)}, ${lt}
4123
+ )`, _r = ({
4112
4124
  contentId: e,
4113
4125
  variationId: t
4114
- }) => `window.${it}(
4115
- "${t}", "${e}", ${st}
4116
- )`, at = f({
4126
+ }) => `window.${at}(
4127
+ "${t}", "${e}", ${lt}
4128
+ )`, ct = f({
4117
4129
  render() {
4118
4130
  return Pe("script", {
4119
4131
  innerHTML: this.scriptStr,
@@ -4127,7 +4139,7 @@ const Kr = /* @__PURE__ */ b(Fr, [["render", Hr]]), qr = () => [{
4127
4139
  function Re(e) {
4128
4140
  return Math.round(e * 1e3) / 1e3;
4129
4141
  }
4130
- const _r = (e, t, n = !0) => {
4142
+ const ei = (e, t, n = !0) => {
4131
4143
  if (!(e instanceof HTMLElement))
4132
4144
  return null;
4133
4145
  let o = n ? e : e.parentElement;
@@ -4138,7 +4150,7 @@ const _r = (e, t, n = !0) => {
4138
4150
  return o;
4139
4151
  } while (o = o.parentElement);
4140
4152
  return null;
4141
- }, ei = (e) => _r(e, (t) => {
4153
+ }, ti = (e) => ei(e, (t) => {
4142
4154
  const n = t.getAttribute("builder-id") || t.id;
4143
4155
  return (n == null ? void 0 : n.indexOf("builder-")) === 0;
4144
4156
  }), Ee = ({
@@ -4150,8 +4162,8 @@ const _r = (e, t, n = !0) => {
4150
4162
  x: i,
4151
4163
  y: s
4152
4164
  };
4153
- }, ti = (e) => {
4154
- const t = e.target, n = t && ei(t), o = (n == null ? void 0 : n.getAttribute("builder-id")) || (n == null ? void 0 : n.id);
4165
+ }, ni = (e) => {
4166
+ const t = e.target, n = t && ti(t), o = (n == null ? void 0 : n.getAttribute("builder-id")) || (n == null ? void 0 : n.id);
4155
4167
  return {
4156
4168
  targetBuilderElement: o || void 0,
4157
4169
  metadata: {
@@ -4166,7 +4178,7 @@ const _r = (e, t, n = !0) => {
4166
4178
  builderElementIndex: n && o ? [].slice.call(document.getElementsByClassName(o)).indexOf(n) : void 0
4167
4179
  }
4168
4180
  };
4169
- }, ni = (e) => {
4181
+ }, oi = (e) => {
4170
4182
  var i;
4171
4183
  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);
4172
4184
  let r = "";
@@ -4192,15 +4204,15 @@ font-weight: ${s};
4192
4204
  `.trim());
4193
4205
  }
4194
4206
  return r;
4195
- }, oi = ({
4207
+ }, ri = ({
4196
4208
  customFonts: e
4197
4209
  }) => {
4198
4210
  var t;
4199
- return ((t = e == null ? void 0 : e.map((n) => ni(n))) == null ? void 0 : t.join(" ")) || "";
4200
- }, ri = ({
4211
+ return ((t = e == null ? void 0 : e.map((n) => oi(n))) == null ? void 0 : t.join(" ")) || "";
4212
+ }, ii = ({
4201
4213
  cssCode: e,
4202
4214
  contentId: t
4203
- }) => e ? t ? (e == null ? void 0 : e.replace(/&/g, `div[builder-content-id="${t}"]`)) || "" : e : "", ii = `
4215
+ }) => e ? t ? (e == null ? void 0 : e.replace(/&/g, `div[builder-content-id="${t}"]`)) || "" : e : "", si = `
4204
4216
  .builder-button {
4205
4217
  all: unset;
4206
4218
  }
@@ -4217,7 +4229,7 @@ font-weight: ${s};
4217
4229
  text-align: inherit;
4218
4230
  font-family: inherit;
4219
4231
  }
4220
- `, si = (e) => e ? "" : ii, ai = (e) => `variant-${e}`, li = f({
4232
+ `, ai = (e) => e ? "" : si, li = (e) => `variant-${e}`, ci = f({
4221
4233
  name: "enable-editor",
4222
4234
  components: { DynamicDiv: G },
4223
4235
  props: [
@@ -4242,7 +4254,7 @@ font-weight: ${s};
4242
4254
  httpReqsPending: {},
4243
4255
  clicked: !1,
4244
4256
  builderContext: se,
4245
- getWrapperClassName: ai
4257
+ getWrapperClassName: li
4246
4258
  };
4247
4259
  },
4248
4260
  provide() {
@@ -4257,7 +4269,7 @@ font-weight: ${s};
4257
4269
  mounted() {
4258
4270
  var e, t;
4259
4271
  if (I()) {
4260
- if (R() && this.$refs.elementRef && this.$refs.elementRef.dispatchEvent(
4272
+ if (E() && this.$refs.elementRef && this.$refs.elementRef.dispatchEvent(
4261
4273
  new CustomEvent("initeditingbldr")
4262
4274
  ), this.builderContextSignal.content && z(this.canTrack)) {
4263
4275
  const o = (e = this.builderContextSignal.content) == null ? void 0 : e.testVariationId, r = (t = this.builderContextSignal.content) == null ? void 0 : t.id, i = this.apiKey;
@@ -4269,7 +4281,7 @@ font-weight: ${s};
4269
4281
  variationId: o !== r ? o : void 0
4270
4282
  });
4271
4283
  }
4272
- Lt() && !R() && this.$refs.elementRef && this.$refs.elementRef.dispatchEvent(
4284
+ Mt() && !E() && this.$refs.elementRef && this.$refs.elementRef.dispatchEvent(
4273
4285
  new CustomEvent("initpreviewingbldr")
4274
4286
  );
4275
4287
  }
@@ -4363,7 +4375,7 @@ font-weight: ${s};
4363
4375
  this.builderContextSignal.content = t;
4364
4376
  },
4365
4377
  processMessage(e) {
4366
- return Je({
4378
+ return Ye({
4367
4379
  model: this.model,
4368
4380
  trustedHosts: this.trustedHosts,
4369
4381
  callbacks: {
@@ -4377,7 +4389,7 @@ font-weight: ${s};
4377
4389
  });
4378
4390
  },
4379
4391
  animation: (t) => {
4380
- et(t);
4392
+ nt(t);
4381
4393
  },
4382
4394
  contentUpdate: (t) => {
4383
4395
  this.mergeNewContent(t);
@@ -4395,7 +4407,7 @@ font-weight: ${s};
4395
4407
  contentId: r,
4396
4408
  apiKey: this.apiKey,
4397
4409
  variationId: o !== r ? o : void 0,
4398
- ...ti(e),
4410
+ ...ni(e),
4399
4411
  unique: !this.clicked
4400
4412
  });
4401
4413
  }
@@ -4405,7 +4417,7 @@ font-weight: ${s};
4405
4417
  var t, n;
4406
4418
  const e = ((n = (t = this.builderContextSignal.content) == null ? void 0 : t.data) == null ? void 0 : n.httpRequests) ?? {};
4407
4419
  Object.entries(e).forEach(([o, r]) => {
4408
- if (!r || this.httpReqsPending[o] || this.httpReqsData[o] && !R())
4420
+ if (!r || this.httpReqsPending[o] || this.httpReqsData[o] && !E())
4409
4421
  return;
4410
4422
  this.httpReqsPending[o] = !0;
4411
4423
  const i = r.replace(
@@ -4432,7 +4444,7 @@ font-weight: ${s};
4432
4444
  });
4433
4445
  },
4434
4446
  emitStateUpdate() {
4435
- R() && window.dispatchEvent(
4447
+ E() && window.dispatchEvent(
4436
4448
  new CustomEvent(
4437
4449
  "builder:component:stateChange",
4438
4450
  {
@@ -4447,7 +4459,7 @@ font-weight: ${s};
4447
4459
  );
4448
4460
  },
4449
4461
  elementRef_onIniteditingbldr(e) {
4450
- window.addEventListener("message", this.processMessage), cn(), ze({
4462
+ window.addEventListener("message", this.processMessage), dn(), Ge({
4451
4463
  ...this.locale ? {
4452
4464
  locale: this.locale
4453
4465
  } : {},
@@ -4461,7 +4473,7 @@ font-weight: ${s};
4461
4473
  this.builderContextSignal.componentInfos
4462
4474
  ).forEach((t) => {
4463
4475
  var o;
4464
- const n = Ut(t);
4476
+ const n = jt(t);
4465
4477
  (o = window.parent) == null || o.postMessage(n, "*");
4466
4478
  }), window.addEventListener(
4467
4479
  "builder:component:stateChangeListenerActivated",
@@ -4482,7 +4494,7 @@ font-weight: ${s};
4482
4494
  }
4483
4495
  }
4484
4496
  });
4485
- function ci(e, t, n, o, r, i) {
4497
+ function di(e, t, n, o, r, i) {
4486
4498
  var s, l, a;
4487
4499
  return e.builderContextSignal.content ? (d(), k(j(e.ContentWrapper), C({
4488
4500
  key: 0,
@@ -4500,26 +4512,26 @@ function ci(e, t, n, o, r, i) {
4500
4512
  _: 3
4501
4513
  }, 16, ["onClick", "builder-content-id", "builder-model", "className", "onIniteditingbldr", "onInitpreviewingbldr"])) : S("", !0);
4502
4514
  }
4503
- const di = /* @__PURE__ */ b(li, [["render", ci]]), ui = f({
4515
+ const ui = /* @__PURE__ */ b(ci, [["render", di]]), pi = f({
4504
4516
  name: "content-styles",
4505
4517
  components: { InlinedStyles: ge },
4506
4518
  props: ["cssCode", "contentId", "customFonts", "isNestedRender", "nonce"],
4507
4519
  data() {
4508
4520
  return {
4509
4521
  injectedStyles: `
4510
- ${ri({
4522
+ ${ii({
4511
4523
  cssCode: this.cssCode,
4512
4524
  contentId: this.contentId
4513
4525
  })}
4514
- ${oi({
4526
+ ${ri({
4515
4527
  customFonts: this.customFonts
4516
4528
  })}
4517
- ${si(this.isNestedRender)}
4529
+ ${ai(this.isNestedRender)}
4518
4530
  `.trim()
4519
4531
  };
4520
4532
  }
4521
4533
  });
4522
- function pi(e, t, n, o, r, i) {
4534
+ function mi(e, t, n, o, r, i) {
4523
4535
  const s = v("InlinedStyles");
4524
4536
  return d(), k(s, {
4525
4537
  id: "builderio-content",
@@ -4527,7 +4539,7 @@ function pi(e, t, n, o, r, i) {
4527
4539
  nonce: e.nonce
4528
4540
  }, null, 8, ["styles", "nonce"]);
4529
4541
  }
4530
- const mi = /* @__PURE__ */ b(ui, [["render", pi]]), hi = ({
4542
+ const hi = /* @__PURE__ */ b(pi, [["render", mi]]), fi = ({
4531
4543
  content: e,
4532
4544
  data: t,
4533
4545
  locale: n
@@ -4544,7 +4556,7 @@ const mi = /* @__PURE__ */ b(ui, [["render", pi]]), hi = ({
4544
4556
  locale: n
4545
4557
  } : {}
4546
4558
  };
4547
- }, fi = ({
4559
+ }, bi = ({
4548
4560
  content: e,
4549
4561
  data: t
4550
4562
  }) => e ? {
@@ -4554,12 +4566,12 @@ const mi = /* @__PURE__ */ b(ui, [["render", pi]]), hi = ({
4554
4566
  ...t
4555
4567
  },
4556
4568
  meta: e == null ? void 0 : e.meta
4557
- } : void 0, bi = dt, gi = f({
4569
+ } : void 0, gi = pt, yi = f({
4558
4570
  name: "content-component",
4559
4571
  components: {
4560
- EnableEditor: di,
4561
- InlinedScript: at,
4562
- ContentStyles: mi,
4572
+ EnableEditor: ui,
4573
+ InlinedScript: ct,
4574
+ ContentStyles: hi,
4563
4575
  Blocks: L,
4564
4576
  DynamicDiv: G
4565
4577
  },
@@ -4588,7 +4600,7 @@ const mi = /* @__PURE__ */ b(ui, [["render", pi]]), hi = ({
4588
4600
  data() {
4589
4601
  var e, t, n, o;
4590
4602
  return {
4591
- scriptStr: Zr({
4603
+ scriptStr: _r({
4592
4604
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
4593
4605
  variationId: (e = this.content) == null ? void 0 : e.testVariationId,
4594
4606
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
@@ -4601,19 +4613,19 @@ const mi = /* @__PURE__ */ b(ui, [["render", pi]]), hi = ({
4601
4613
  (r, { component: i, ...s }) => ({
4602
4614
  ...r,
4603
4615
  [s.name]: {
4604
- component: bi(i),
4616
+ component: gi(i),
4605
4617
  ..._(s)
4606
4618
  }
4607
4619
  }),
4608
4620
  {}
4609
4621
  ),
4610
4622
  builderContextSignal: {
4611
- content: fi({
4623
+ content: bi({
4612
4624
  content: this.content,
4613
4625
  data: this.data
4614
4626
  }),
4615
4627
  localState: void 0,
4616
- rootState: hi({
4628
+ rootState: fi({
4617
4629
  content: this.content,
4618
4630
  data: this.data,
4619
4631
  locale: this.locale
@@ -4638,7 +4650,7 @@ const mi = /* @__PURE__ */ b(ui, [["render", pi]]), hi = ({
4638
4650
  BlocksWrapperProps: this.blocksWrapperProps || {},
4639
4651
  nonce: this.nonce || ""
4640
4652
  },
4641
- TARGET: P
4653
+ TARGET: R
4642
4654
  };
4643
4655
  },
4644
4656
  provide() {
@@ -4651,7 +4663,7 @@ const mi = /* @__PURE__ */ b(ui, [["render", pi]]), hi = ({
4651
4663
  },
4652
4664
  created() {
4653
4665
  var t, n;
4654
- this.apiKey || E.error(
4666
+ this.apiKey || P.error(
4655
4667
  "No API key provided to `Content` component. This can cause issues. Please provide an API key using the `apiKey` prop."
4656
4668
  );
4657
4669
  const e = (n = (t = this.builderContextSignal.content) == null ? void 0 : t.data) == null ? void 0 : n.jsCode;
@@ -4672,7 +4684,7 @@ const mi = /* @__PURE__ */ b(ui, [["render", pi]]), hi = ({
4672
4684
  }
4673
4685
  }
4674
4686
  });
4675
- function yi(e, t, n, o, r, i) {
4687
+ function ki(e, t, n, o, r, i) {
4676
4688
  const s = v("InlinedScript"), l = v("ContentStyles"), a = v("Blocks"), u = v("EnableEditor");
4677
4689
  return d(), k(u, C({
4678
4690
  nonce: e.nonce,
@@ -4718,12 +4730,12 @@ function yi(e, t, n, o, r, i) {
4718
4730
  _: 1
4719
4731
  }, 16, ["nonce", "content", "data", "model", "context", "apiKey", "canTrack", "locale", "enrich", "showContent", "builderContextSignal", "contentWrapper", "contentWrapperProps", "trustedHosts"]);
4720
4732
  }
4721
- const ki = /* @__PURE__ */ b(gi, [["render", yi]]), vi = f({
4733
+ const vi = /* @__PURE__ */ b(yi, [["render", ki]]), Si = f({
4722
4734
  name: "content-variants",
4723
4735
  components: {
4724
- InlinedScript: at,
4736
+ InlinedScript: ct,
4725
4737
  InlinedStyles: ge,
4726
- ContentComponent: ki
4738
+ ContentComponent: vi
4727
4739
  },
4728
4740
  props: [
4729
4741
  "canTrack",
@@ -4747,12 +4759,12 @@ const ki = /* @__PURE__ */ b(gi, [["render", yi]]), vi = f({
4747
4759
  ],
4748
4760
  data() {
4749
4761
  return {
4750
- shouldRenderVariants: Gr({
4762
+ shouldRenderVariants: Yr({
4751
4763
  canTrack: z(this.canTrack),
4752
4764
  content: this.content
4753
4765
  }),
4754
- TARGET: P,
4755
- getInitVariantsFnsScriptString: Xr,
4766
+ TARGET: R,
4767
+ getInitVariantsFnsScriptString: Qr,
4756
4768
  getVariants: Q
4757
4769
  };
4758
4770
  },
@@ -4761,7 +4773,7 @@ const ki = /* @__PURE__ */ b(gi, [["render", yi]]), vi = f({
4761
4773
  computed: {
4762
4774
  updateCookieAndStylesScriptStr() {
4763
4775
  var e;
4764
- return Qr(
4776
+ return Zr(
4765
4777
  Q(this.content).map((t) => ({
4766
4778
  id: t.testVariationId,
4767
4779
  testRatio: t.testRatio
@@ -4777,14 +4789,14 @@ const ki = /* @__PURE__ */ b(gi, [["render", yi]]), vi = f({
4777
4789
  return this.shouldRenderVariants ? {
4778
4790
  ...this.content,
4779
4791
  testVariationId: (e = this.content) == null ? void 0 : e.id
4780
- } : fn({
4792
+ } : bn({
4781
4793
  item: this.content,
4782
4794
  canTrack: z(this.canTrack)
4783
4795
  });
4784
4796
  }
4785
4797
  }
4786
4798
  });
4787
- function Si(e, t, n, o, r, i) {
4799
+ function Ci(e, t, n, o, r, i) {
4788
4800
  const s = v("InlinedScript"), l = v("InlinedStyles"), a = v("ContentComponent");
4789
4801
  return d(), m(w, null, [
4790
4802
  !e.isNestedRender && e.TARGET !== "reactNative" ? (d(), k(s, {
@@ -4854,7 +4866,7 @@ function Si(e, t, n, o, r, i) {
4854
4866
  }), null, 16, ["nonce", "isNestedRender", "content", "model", "data", "context", "apiKey", "apiVersion", "customComponents", "linkComponent", "canTrack", "locale", "enrich", "isSsrAbTest", "blocksWrapper", "blocksWrapperProps", "contentWrapper", "contentWrapperProps", "trustedHosts"])
4855
4867
  ], 64);
4856
4868
  }
4857
- const Ci = /* @__PURE__ */ b(vi, [["render", Si]]), wi = async ({
4869
+ const wi = /* @__PURE__ */ b(Si, [["render", Ci]]), Ti = async ({
4858
4870
  builderContextValue: e,
4859
4871
  symbol: t
4860
4872
  }) => {
@@ -4870,11 +4882,11 @@ const Ci = /* @__PURE__ */ b(vi, [["render", Si]]), wi = async ({
4870
4882
  }
4871
4883
  }
4872
4884
  }).catch((n) => {
4873
- E.error("Could not fetch symbol content: ", n);
4885
+ P.error("Could not fetch symbol content: ", n);
4874
4886
  });
4875
- }, Ti = f({
4887
+ }, Ii = f({
4876
4888
  name: "builder-symbol",
4877
- components: { ContentVariants: Ci, DynamicDiv: G },
4889
+ components: { ContentVariants: wi, DynamicDiv: G },
4878
4890
  props: [
4879
4891
  "symbol",
4880
4892
  "attributes",
@@ -4923,7 +4935,7 @@ const Ci = /* @__PURE__ */ b(vi, [["render", Si]]), wi = async ({
4923
4935
  },
4924
4936
  methods: {
4925
4937
  setContent() {
4926
- this.contentToUse || wi({
4938
+ this.contentToUse || Ti({
4927
4939
  symbol: this.symbol,
4928
4940
  builderContextValue: this.builderContext
4929
4941
  }).then((e) => {
@@ -4932,7 +4944,7 @@ const Ci = /* @__PURE__ */ b(vi, [["render", Si]]), wi = async ({
4932
4944
  }
4933
4945
  }
4934
4946
  });
4935
- function Ii(e, t, n, o, r, i) {
4947
+ function $i(e, t, n, o, r, i) {
4936
4948
  var l, a, u, h, c;
4937
4949
  const s = v("ContentVariants");
4938
4950
  return d(), m("div", C({ class: e.className }, { ...e.filterAttrs(e.attributes, "v-on:", !1) }, B(e.filterAttrs(e.attributes, "v-on:", !0), !0)), [
@@ -4960,44 +4972,44 @@ function Ii(e, t, n, o, r, i) {
4960
4972
  }, null, 8, ["nonce", "apiVersion", "apiKey", "context", "customComponents", "data", "canTrack", "model", "content", "linkComponent", "blocksWrapper", "contentWrapper"])
4961
4973
  ], 16);
4962
4974
  }
4963
- const $i = /* @__PURE__ */ b(Ti, [["render", Ii]]);
4975
+ const Ri = /* @__PURE__ */ b(Ii, [["render", $i]]);
4964
4976
  export {
4965
- Tn as A,
4977
+ In as A,
4966
4978
  be as B,
4967
- no as C,
4979
+ oo as C,
4968
4980
  he as D,
4969
- Pi as E,
4970
- io as F,
4971
- Oi as G,
4972
- ho as I,
4973
- go as S,
4974
- P as T,
4975
- Kr as V,
4981
+ Bi as E,
4982
+ so as F,
4983
+ Fi as G,
4984
+ fo as I,
4985
+ yo as S,
4986
+ R as T,
4987
+ qr as V,
4976
4988
  ge as _,
4977
- Wi as a,
4978
- Fi as b,
4989
+ Ni as a,
4990
+ Di as b,
4979
4991
  D as c,
4980
4992
  fe as d,
4981
4993
  b as e,
4982
4994
  J as f,
4983
- Zn as g,
4984
- Ni as h,
4995
+ _n as g,
4996
+ Oi as h,
4985
4997
  Z as i,
4986
4998
  se as j,
4987
- gt as k,
4988
- $i as l,
4989
- Ko as m,
4999
+ kt as k,
5000
+ Ri as l,
5001
+ qo as m,
4990
5002
  L as n,
4991
- Ci as o,
4992
- R as p,
4993
- Lt as q,
4994
- Ut as r,
4995
- jt as s,
4996
- Bi as t,
5003
+ wi as o,
5004
+ E as p,
5005
+ Mt as q,
5006
+ jt as r,
5007
+ Kt as s,
5008
+ xi as t,
4997
5009
  Fe as u,
4998
- xi as v,
4999
- bi as w,
5000
- Ai as x,
5001
- Vi as y,
5002
- wn as z
5010
+ Ai as v,
5011
+ gi as w,
5012
+ Vi as x,
5013
+ Wi as y,
5014
+ Tn as z
5003
5015
  };