@builder.io/sdk-react 0.12.0 → 0.12.1

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.
@@ -1,11 +1,11 @@
1
1
  "use client";
2
- import { jsxs as P, Fragment as h, jsx as c } from "react/jsx-runtime";
3
- import { createContext as Ce, useState as S, useContext as se, createElement as we, useRef as ee, useEffect as E } from "react";
4
- import { i as V, j as $, k as Ne, l as U, m as te, n as J, T as L, r as Fe, o as D, p as de, a as _e, c as Le, b as Ie, q as je, u as ue, v as me, w as Me } from "./server-entry-f978b3a5.js";
5
- import { _ as mn, h as fn, f as hn, g as gn, e as bn, d as xn, s as yn, t as Sn } from "./server-entry-f978b3a5.js";
2
+ import { jsxs as P, Fragment as h, jsx as l } from "react/jsx-runtime";
3
+ import { createContext as Ce, useState as S, useContext as se, createElement as we, useRef as te, useEffect as E } from "react";
4
+ import { i as V, j as $, k as Ne, l as U, m as ne, n as X, T as L, r as Fe, o as D, p as de, a as _e, c as Le, b as Ie, q as je, u as ue, v as me, w as Me } from "./server-entry-f978b3a5.js";
5
+ import { _ as hn, h as gn, f as bn, g as xn, e as yn, d as Sn, s as vn, t as pn } from "./server-entry-f978b3a5.js";
6
6
  function Ue(e) {
7
7
  return /* @__PURE__ */ P(h, { children: [
8
- e.link ? /* @__PURE__ */ c(h, { children: /* @__PURE__ */ c(
8
+ e.link ? /* @__PURE__ */ l(h, { children: /* @__PURE__ */ l(
9
9
  "a",
10
10
  {
11
11
  ...e.attributes,
@@ -14,7 +14,7 @@ function Ue(e) {
14
14
  role: "button",
15
15
  children: e.text
16
16
  }
17
- ) }) : /* @__PURE__ */ c(h, { children: /* @__PURE__ */ c(
17
+ ) }) : /* @__PURE__ */ l(h, { children: /* @__PURE__ */ l(
18
18
  "button",
19
19
  {
20
20
  ...e.attributes,
@@ -23,12 +23,12 @@ function Ue(e) {
23
23
  children: e.text
24
24
  }
25
25
  ) }),
26
- /* @__PURE__ */ c("style", { children: `.button-fdf49de0 {
26
+ /* @__PURE__ */ l("style", { children: `.button-fdf49de0 {
27
27
  all: unset;
28
28
  }` })
29
29
  ] });
30
30
  }
31
- const ne = Ce({
31
+ const ie = Ce({
32
32
  content: null,
33
33
  context: {},
34
34
  localState: void 0,
@@ -81,13 +81,13 @@ const Oe = ({
81
81
  rootSetState: o,
82
82
  rootState: r
83
83
  }) => {
84
- const s = Oe({
84
+ const c = Oe({
85
85
  builder: t,
86
86
  context: n,
87
87
  event: i,
88
88
  state: ze(r, a, o)
89
89
  });
90
- return new Function(...s.map(([l]) => l), e)(...s.map(([, l]) => l));
90
+ return new Function(...c.map(([s]) => s), e)(...c.map(([, s]) => s));
91
91
  };
92
92
  function ze(e, t, n) {
93
93
  if (e === t)
@@ -115,7 +115,7 @@ function _({
115
115
  U.warn("Skipping evaluation of empty code block.");
116
116
  return;
117
117
  }
118
- const s = {
118
+ const c = {
119
119
  code: He(e, {
120
120
  isExpression: r
121
121
  }),
@@ -127,9 +127,9 @@ function _({
127
127
  localState: n
128
128
  };
129
129
  try {
130
- return qe(s);
131
- } catch (l) {
132
- U.error("Failed code evaluation: " + l.message, {
130
+ return qe(c);
131
+ } catch (s) {
132
+ U.error("Failed code evaluation: " + s.message, {
133
133
  code: e
134
134
  });
135
135
  return;
@@ -150,7 +150,7 @@ const Qe = ({
150
150
  }) => {
151
151
  if (!e.bindings)
152
152
  return e;
153
- const o = te(e), r = {
153
+ const o = ne(e), r = {
154
154
  ...o,
155
155
  properties: {
156
156
  ...o.properties
@@ -159,15 +159,15 @@ const Qe = ({
159
159
  ...o.actions
160
160
  }
161
161
  };
162
- for (const s in e.bindings) {
163
- const l = e.bindings[s], d = _({
164
- code: l,
162
+ for (const c in e.bindings) {
163
+ const s = e.bindings[c], d = _({
164
+ code: s,
165
165
  localState: n,
166
166
  rootState: i,
167
167
  rootSetState: a,
168
168
  context: t
169
169
  });
170
- Ye(r, s, d);
170
+ Ye(r, c, d);
171
171
  }
172
172
  return r;
173
173
  };
@@ -188,7 +188,7 @@ function O({
188
188
  context: t
189
189
  }) : r;
190
190
  }
191
- const Ge = ["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen", "link", "meta", "param", "source", "track", "wbr"], Y = (e) => typeof e == "string" && Ge.includes(e.toLowerCase()), Je = ({
191
+ const Ge = ["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen", "link", "meta", "param", "source", "track", "wbr"], Q = (e) => typeof e == "string" && Ge.includes(e.toLowerCase()), Je = ({
192
192
  block: e,
193
193
  context: t,
194
194
  registeredComponents: n
@@ -230,14 +230,14 @@ const Ge = ["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen"
230
230
  if (!Array.isArray(a))
231
231
  return;
232
232
  const o = n.collection.split(".").pop(), r = n.itemName || (o ? o + "Item" : "item");
233
- return a.map((l, d) => ({
233
+ return a.map((s, d) => ({
234
234
  context: {
235
235
  ...t,
236
236
  localState: {
237
237
  ...t.localState,
238
238
  $index: d,
239
- $item: l,
240
- [r]: l,
239
+ $item: s,
240
+ [r]: s,
241
241
  [`$${r}Index`]: d
242
242
  }
243
243
  },
@@ -263,7 +263,7 @@ const Ge = ["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen"
263
263
  small: e,
264
264
  medium: t
265
265
  }) => {
266
- const n = te(Re);
266
+ const n = ne(Re);
267
267
  if (!e || !t)
268
268
  return n;
269
269
  const i = Math.floor(e / 2);
@@ -288,8 +288,8 @@ const Ge = ["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen"
288
288
  }, Ze = (e) => e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase(), Pe = (e) => Object.entries(e).map(([n, i]) => {
289
289
  if (typeof i == "string")
290
290
  return `${Ze(n)}: ${i};`;
291
- }).filter(J), et = (e) => Pe(e).join(`
292
- `), Q = ({
291
+ }).filter(X), et = (e) => Pe(e).join(`
292
+ `), G = ({
293
293
  mediaQuery: e,
294
294
  className: t,
295
295
  styles: n
@@ -302,7 +302,7 @@ const Ge = ["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen"
302
302
  }` : i;
303
303
  };
304
304
  function H(e) {
305
- return /* @__PURE__ */ c("style", { dangerouslySetInnerHTML: { __html: e.styles }, id: e.id });
305
+ return /* @__PURE__ */ l("style", { dangerouslySetInnerHTML: { __html: e.styles }, id: e.id });
306
306
  }
307
307
  function tt(e) {
308
308
  function t() {
@@ -314,7 +314,7 @@ function tt(e) {
314
314
  context: e.context.context,
315
315
  shouldEvaluateBindings: !0
316
316
  });
317
- return J(i.hide) ? !i.hide : J(i.show) ? i.show : !0;
317
+ return X(i.hide) ? !i.hide : X(i.show) ? i.show : !0;
318
318
  }
319
319
  function n() {
320
320
  var C;
@@ -327,20 +327,20 @@ function tt(e) {
327
327
  shouldEvaluateBindings: !0
328
328
  }), a = i.responsiveStyles, o = e.context.content, r = Ee(
329
329
  ((C = o == null ? void 0 : o.meta) == null ? void 0 : C.breakpoints) || {}
330
- ), s = a == null ? void 0 : a.large, l = a == null ? void 0 : a.medium, d = a == null ? void 0 : a.small, u = i.id;
330
+ ), c = a == null ? void 0 : a.large, s = a == null ? void 0 : a.medium, d = a == null ? void 0 : a.small, u = i.id;
331
331
  if (!u)
332
332
  return "";
333
- const b = s ? Q({
333
+ const b = c ? G({
334
334
  className: u,
335
- styles: s
336
- }) : "", v = l ? Q({
335
+ styles: c
336
+ }) : "", v = s ? G({
337
337
  className: u,
338
- styles: l,
338
+ styles: s,
339
339
  mediaQuery: he(
340
340
  "medium",
341
341
  r
342
342
  )
343
- }) : "", y = d ? Q({
343
+ }) : "", y = d ? G({
344
344
  className: u,
345
345
  styles: d,
346
346
  mediaQuery: he(
@@ -350,7 +350,7 @@ function tt(e) {
350
350
  }) : "";
351
351
  return [b, v, y].join(" ");
352
352
  }
353
- return /* @__PURE__ */ c(h, { children: n() && t() ? /* @__PURE__ */ c(h, { children: /* @__PURE__ */ c(H, { styles: n() }) }) : null });
353
+ return /* @__PURE__ */ l(h, { children: n() && t() ? /* @__PURE__ */ l(h, { children: /* @__PURE__ */ l(H, { styles: n() }) }) : null });
354
354
  }
355
355
  function nt(e) {
356
356
  return e.charAt(0).toUpperCase() + e.slice(1);
@@ -364,7 +364,7 @@ const it = (e) => `on${nt(e)}`, at = (e, t) => (n) => _({
364
364
  event: n,
365
365
  isExpression: !1
366
366
  });
367
- function X(e) {
367
+ function Z(e) {
368
368
  var i;
369
369
  const t = {}, n = (i = e.block.actions) != null ? i : {};
370
370
  for (const a in n) {
@@ -402,7 +402,7 @@ function K({
402
402
  ...rt(e),
403
403
  ...e.properties,
404
404
  "builder-id": e.id,
405
- style: e.style ? ct(e.style) : void 0,
405
+ style: e.style ? lt(e.style) : void 0,
406
406
  class: [e.id, "builder-block", e.class, (i = e.properties) == null ? void 0 : i.class].filter(Boolean).join(" ")
407
407
  };
408
408
  return ot({
@@ -411,7 +411,7 @@ function K({
411
411
  block: e
412
412
  });
413
413
  }
414
- function ct(e) {
414
+ function lt(e) {
415
415
  switch (L) {
416
416
  case "svelte":
417
417
  case "vue":
@@ -427,14 +427,14 @@ function ct(e) {
427
427
  function ge(e) {
428
428
  return /* @__PURE__ */ P(h, { children: [
429
429
  " ",
430
- e.hasChildren ? /* @__PURE__ */ c(h, { children: /* @__PURE__ */ P(
430
+ e.hasChildren ? /* @__PURE__ */ l(h, { children: /* @__PURE__ */ P(
431
431
  e.Wrapper,
432
432
  {
433
433
  ...K({
434
434
  block: e.block,
435
435
  context: e.context
436
436
  }),
437
- ...X({
437
+ ...Z({
438
438
  block: e.block,
439
439
  rootState: e.context.rootState,
440
440
  rootSetState: e.context.rootSetState,
@@ -448,14 +448,14 @@ function ge(e) {
448
448
  " "
449
449
  ]
450
450
  }
451
- ) }) : /* @__PURE__ */ c(h, { children: /* @__PURE__ */ c(
451
+ ) }) : /* @__PURE__ */ l(h, { children: /* @__PURE__ */ l(
452
452
  e.Wrapper,
453
453
  {
454
454
  ...K({
455
455
  block: e.block,
456
456
  context: e.context
457
457
  }),
458
- ...X({
458
+ ...Z({
459
459
  block: e.block,
460
460
  rootState: e.context.rootState,
461
461
  rootSetState: e.context.rootSetState,
@@ -468,8 +468,8 @@ function ge(e) {
468
468
  " "
469
469
  ] });
470
470
  }
471
- function lt(e) {
472
- return /* @__PURE__ */ c(
471
+ function ct(e) {
472
+ return /* @__PURE__ */ l(
473
473
  e.Wrapper,
474
474
  {
475
475
  ...e.wrapperProps,
@@ -478,7 +478,7 @@ function lt(e) {
478
478
  block: e.block,
479
479
  context: e.context
480
480
  }),
481
- ...X({
481
+ ...Z({
482
482
  block: e.block,
483
483
  rootState: e.context.rootState,
484
484
  rootSetState: e.context.rootSetState,
@@ -499,7 +499,7 @@ const st = ({
499
499
  isInteractive: o,
500
500
  contextValue: r
501
501
  }) => {
502
- const s = {
502
+ const c = {
503
503
  ...e,
504
504
  /**
505
505
  * If `noWrap` is set to `true`, then the block's props/attributes are provided to the
@@ -518,14 +518,14 @@ const st = ({
518
518
  context: n,
519
519
  wrapperProps: e,
520
520
  includeBlockProps: a
521
- } : s;
521
+ } : c;
522
522
  };
523
523
  function be(e) {
524
524
  var i;
525
525
  const [t, n] = S(
526
- () => e.isInteractive ? lt : e.componentRef
526
+ () => e.isInteractive ? ct : e.componentRef
527
527
  );
528
- return /* @__PURE__ */ c(h, { children: e.componentRef ? /* @__PURE__ */ c(h, { children: /* @__PURE__ */ c(
528
+ return /* @__PURE__ */ l(h, { children: e.componentRef ? /* @__PURE__ */ l(h, { children: /* @__PURE__ */ l(
529
529
  t,
530
530
  {
531
531
  ...st({
@@ -537,7 +537,7 @@ function be(e) {
537
537
  isInteractive: e.isInteractive,
538
538
  contextValue: e.context
539
539
  }),
540
- children: (i = e.blockChildren) == null ? void 0 : i.map((a) => /* @__PURE__ */ c(
540
+ children: (i = e.blockChildren) == null ? void 0 : i.map((a) => /* @__PURE__ */ l(
541
541
  z,
542
542
  {
543
543
  block: a,
@@ -551,7 +551,7 @@ function be(e) {
551
551
  }
552
552
  function dt(e) {
553
553
  const [t, n] = S(() => e.repeatContext);
554
- return /* @__PURE__ */ c(ne.Provider, { value: t, children: /* @__PURE__ */ c(
554
+ return /* @__PURE__ */ l(ie.Provider, { value: t, children: /* @__PURE__ */ l(
555
555
  z,
556
556
  {
557
557
  block: e.block,
@@ -600,8 +600,8 @@ function z(e) {
600
600
  var C, k;
601
601
  return !((C = t == null ? void 0 : t()) != null && C.component) && !n() ? (k = i().children) != null ? k : [] : [];
602
602
  }
603
- function s() {
604
- var y, C, k, R, W, w;
603
+ function c() {
604
+ var y, C, k, R, B, w;
605
605
  return {
606
606
  blockChildren: (y = i().children) != null ? y : [],
607
607
  componentRef: (C = t == null ? void 0 : t()) == null ? void 0 : C.component,
@@ -612,30 +612,30 @@ function z(e) {
612
612
  builderComponents: e.registeredComponents
613
613
  } : {}
614
614
  },
615
- context: l,
615
+ context: s,
616
616
  registeredComponents: e.registeredComponents,
617
617
  builderBlock: i(),
618
- includeBlockProps: ((W = t == null ? void 0 : t()) == null ? void 0 : W.noWrap) === !0,
618
+ includeBlockProps: ((B = t == null ? void 0 : t()) == null ? void 0 : B.noWrap) === !0,
619
619
  isInteractive: !((w = t == null ? void 0 : t()) != null && w.isRSC)
620
620
  };
621
621
  }
622
- const [l, d] = S(() => e.context);
623
- return /* @__PURE__ */ c(h, { children: o() ? /* @__PURE__ */ P(h, { children: [
624
- /* @__PURE__ */ c(tt, { block: e.block, context: e.context }),
625
- (u = t == null ? void 0 : t()) != null && u.noWrap ? /* @__PURE__ */ c(h, { children: /* @__PURE__ */ c(
622
+ const [s, d] = S(() => e.context);
623
+ return /* @__PURE__ */ l(h, { children: o() ? /* @__PURE__ */ P(h, { children: [
624
+ /* @__PURE__ */ l(tt, { block: e.block, context: e.context }),
625
+ (u = t == null ? void 0 : t()) != null && u.noWrap ? /* @__PURE__ */ l(h, { children: /* @__PURE__ */ l(
626
626
  be,
627
627
  {
628
- componentRef: s().componentRef,
629
- componentOptions: s().componentOptions,
630
- blockChildren: s().blockChildren,
631
- context: s().context,
632
- registeredComponents: s().registeredComponents,
633
- builderBlock: s().builderBlock,
634
- includeBlockProps: s().includeBlockProps,
635
- isInteractive: s().isInteractive
628
+ componentRef: c().componentRef,
629
+ componentOptions: c().componentOptions,
630
+ blockChildren: c().blockChildren,
631
+ context: c().context,
632
+ registeredComponents: c().registeredComponents,
633
+ builderBlock: c().builderBlock,
634
+ includeBlockProps: c().includeBlockProps,
635
+ isInteractive: c().isInteractive
636
636
  }
637
637
  ) }) : /* @__PURE__ */ P(h, { children: [
638
- Y(a()) ? /* @__PURE__ */ c(h, { children: /* @__PURE__ */ c(
638
+ Q(a()) ? /* @__PURE__ */ l(h, { children: /* @__PURE__ */ l(
639
639
  ge,
640
640
  {
641
641
  Wrapper: a(),
@@ -644,7 +644,7 @@ function z(e) {
644
644
  hasChildren: !1
645
645
  }
646
646
  ) }) : null,
647
- !Y(a()) && n() ? /* @__PURE__ */ c(h, { children: (b = n()) == null ? void 0 : b.map((y, C) => /* @__PURE__ */ c(
647
+ !Q(a()) && n() ? /* @__PURE__ */ l(h, { children: (b = n()) == null ? void 0 : b.map((y, C) => /* @__PURE__ */ l(
648
648
  dt,
649
649
  {
650
650
  repeatContext: y.context,
@@ -653,7 +653,7 @@ function z(e) {
653
653
  },
654
654
  C
655
655
  )) }) : null,
656
- !Y(a()) && !n() ? /* @__PURE__ */ c(h, { children: /* @__PURE__ */ P(
656
+ !Q(a()) && !n() ? /* @__PURE__ */ l(h, { children: /* @__PURE__ */ P(
657
657
  ge,
658
658
  {
659
659
  Wrapper: a(),
@@ -661,24 +661,24 @@ function z(e) {
661
661
  context: e.context,
662
662
  hasChildren: !0,
663
663
  children: [
664
- /* @__PURE__ */ c(
664
+ /* @__PURE__ */ l(
665
665
  be,
666
666
  {
667
- componentRef: s().componentRef,
668
- componentOptions: s().componentOptions,
669
- blockChildren: s().blockChildren,
670
- context: s().context,
671
- registeredComponents: s().registeredComponents,
672
- builderBlock: s().builderBlock,
673
- includeBlockProps: s().includeBlockProps,
674
- isInteractive: s().isInteractive
667
+ componentRef: c().componentRef,
668
+ componentOptions: c().componentOptions,
669
+ blockChildren: c().blockChildren,
670
+ context: c().context,
671
+ registeredComponents: c().registeredComponents,
672
+ builderBlock: c().builderBlock,
673
+ includeBlockProps: c().includeBlockProps,
674
+ isInteractive: c().isInteractive
675
675
  }
676
676
  ),
677
- (v = r()) == null ? void 0 : v.map((y) => /* @__PURE__ */ c(
677
+ (v = r()) == null ? void 0 : v.map((y) => /* @__PURE__ */ l(
678
678
  z,
679
679
  {
680
680
  block: y,
681
- context: l,
681
+ context: s,
682
682
  registeredComponents: e.registeredComponents
683
683
  },
684
684
  y.id
@@ -721,7 +721,7 @@ function ut(e) {
721
721
  ));
722
722
  }
723
723
  return /* @__PURE__ */ P(h, { children: [
724
- /* @__PURE__ */ c(
724
+ /* @__PURE__ */ l(
725
725
  e.BlocksWrapper,
726
726
  {
727
727
  className: t() + " props-blocks-wrapper-4f2c12d8",
@@ -735,17 +735,17 @@ function ut(e) {
735
735
  children: e.children
736
736
  }
737
737
  ),
738
- /* @__PURE__ */ c("style", { children: `.props-blocks-wrapper-4f2c12d8 {
738
+ /* @__PURE__ */ l("style", { children: `.props-blocks-wrapper-4f2c12d8 {
739
739
  display: flex;
740
740
  flex-direction: column;
741
741
  align-items: stretch;
742
742
  }` })
743
743
  ] });
744
744
  }
745
- function ie(e) {
745
+ function q(e) {
746
746
  var i, a, o;
747
- const t = se(ne), n = se(Te);
748
- return /* @__PURE__ */ c(
747
+ const t = se(ie), n = se(Te);
748
+ return /* @__PURE__ */ l(
749
749
  ut,
750
750
  {
751
751
  blocks: e.blocks,
@@ -754,7 +754,7 @@ function ie(e) {
754
754
  styleProp: e.styleProp,
755
755
  BlocksWrapper: (i = e.context) == null ? void 0 : i.BlocksWrapper,
756
756
  BlocksWrapperProps: (a = e.context) == null ? void 0 : a.BlocksWrapperProps,
757
- children: e.blocks ? /* @__PURE__ */ c(h, { children: (o = e.blocks) == null ? void 0 : o.map((r) => /* @__PURE__ */ c(
757
+ children: e.blocks ? /* @__PURE__ */ l(h, { children: (o = e.blocks) == null ? void 0 : o.map((r) => /* @__PURE__ */ l(
758
758
  z,
759
759
  {
760
760
  block: r,
@@ -767,19 +767,19 @@ function ie(e) {
767
767
  );
768
768
  }
769
769
  function mt(e) {
770
- var W;
770
+ var B;
771
771
  const [t, n] = S(
772
772
  () => typeof e.space == "number" ? e.space || 0 : 20
773
773
  ), [i, a] = S(() => e.columns || []), [o, r] = S(
774
774
  () => e.stackColumnsAt || "tablet"
775
775
  );
776
- function s(w) {
776
+ function c(w) {
777
777
  var I;
778
778
  return ((I = i[w]) == null ? void 0 : I.width) || 100 / i.length;
779
779
  }
780
- function l(w) {
780
+ function s(w) {
781
781
  const I = t * (i.length - 1) / i.length;
782
- return `calc(${s(w)}% - ${I}px)`;
782
+ return `calc(${c(w)}% - ${I}px)`;
783
783
  }
784
784
  function d({
785
785
  stackedStyle: w,
@@ -806,13 +806,13 @@ function mt(e) {
806
806
  };
807
807
  }
808
808
  function C(w) {
809
- const I = w === 0 ? 0 : t, B = l(w), A = `${I}px`, N = "100%", F = 0;
809
+ const I = w === 0 ? 0 : t, W = s(w), A = `${I}px`, N = "100%", F = 0;
810
810
  return {
811
- width: B,
811
+ width: W,
812
812
  ["marginLeft"]: A,
813
813
  "--column-width-mobile": u({
814
814
  stackedStyle: N,
815
- desktopStyle: B
815
+ desktopStyle: W
816
816
  }),
817
817
  "--column-margin-left-mobile": u({
818
818
  stackedStyle: F,
@@ -820,7 +820,7 @@ function mt(e) {
820
820
  }),
821
821
  "--column-width-tablet": d({
822
822
  stackedStyle: N,
823
- desktopStyle: B
823
+ desktopStyle: W
824
824
  }),
825
825
  "--column-margin-left-tablet": d({
826
826
  stackedStyle: F,
@@ -829,9 +829,9 @@ function mt(e) {
829
829
  };
830
830
  }
831
831
  function k(w) {
832
- var B, A;
832
+ var W, A;
833
833
  return Ee(
834
- ((A = (B = e.builderContext.content) == null ? void 0 : B.meta) == null ? void 0 : A.breakpoints) || {}
834
+ ((A = (W = e.builderContext.content) == null ? void 0 : W.meta) == null ? void 0 : A.breakpoints) || {}
835
835
  )[w].max;
836
836
  }
837
837
  function R() {
@@ -868,16 +868,16 @@ function mt(e) {
868
868
  className: `builder-columns ${e.builderBlock.id}-breakpoints div-3c01d6ec`,
869
869
  style: y(),
870
870
  children: [
871
- /* @__PURE__ */ c(h, { children: /* @__PURE__ */ c(H, { styles: R() }) }),
872
- (W = e.columns) == null ? void 0 : W.map((w, I) => /* @__PURE__ */ we(
871
+ /* @__PURE__ */ l(h, { children: /* @__PURE__ */ l(H, { styles: R() }) }),
872
+ (B = e.columns) == null ? void 0 : B.map((w, I) => /* @__PURE__ */ we(
873
873
  "div",
874
874
  {
875
875
  className: "builder-column div-3c01d6ec-2",
876
876
  style: C(I),
877
877
  key: I
878
878
  },
879
- /* @__PURE__ */ c(
880
- ie,
879
+ /* @__PURE__ */ l(
880
+ q,
881
881
  {
882
882
  path: `component.options.columns.${I}.blocks`,
883
883
  parent: e.builderBlock.id,
@@ -893,7 +893,7 @@ function mt(e) {
893
893
  ]
894
894
  }
895
895
  ),
896
- /* @__PURE__ */ c("style", { children: `.div-3c01d6ec {
896
+ /* @__PURE__ */ l("style", { children: `.div-3c01d6ec {
897
897
  display: flex;
898
898
  line-height: normal;
899
899
  }.div-3c01d6ec-2 {
@@ -904,7 +904,7 @@ function mt(e) {
904
904
  ] });
905
905
  }
906
906
  function ft(e) {
907
- return /* @__PURE__ */ c("span", { children: e.children });
907
+ return /* @__PURE__ */ l("span", { children: e.children });
908
908
  }
909
909
  function xe(e) {
910
910
  return e.replace(/http(s)?:/, "");
@@ -925,7 +925,7 @@ function gt(e, t) {
925
925
  }
926
926
  return null;
927
927
  }
928
- function G(e) {
928
+ function J(e) {
929
929
  if (!e)
930
930
  return e;
931
931
  const t = [100, 200, 400, 800, 1200, 1600, 2e3];
@@ -937,7 +937,7 @@ function G(e) {
937
937
  return e.match(/cdn\.shopify\.com/) ? t.map((n) => [gt(e, `${n}x${n}`), n]).filter(([n]) => !!n).map(([n, i]) => `${n} ${i}w`).concat([e]).join(", ") : e;
938
938
  }
939
939
  function bt(e) {
940
- var a, o, r, s;
940
+ var a, o, r, c;
941
941
  function t() {
942
942
  var u;
943
943
  const d = e.image || e.src;
@@ -947,30 +947,30 @@ function bt(e) {
947
947
  return e.srcset;
948
948
  if (e.srcset && ((u = e.image) != null && u.includes("builder.io/api/v1/image"))) {
949
949
  if (!e.srcset.includes(e.image.split("?")[0]))
950
- return console.debug("Removed given srcset"), G(d);
950
+ return console.debug("Removed given srcset"), J(d);
951
951
  } else if (e.image && !e.srcset)
952
- return G(d);
953
- return G(d);
952
+ return J(d);
953
+ return J(d);
954
954
  }
955
955
  function n() {
956
- var l;
957
- return (l = t == null ? void 0 : t()) != null && l.match(/builder\.io/) && !e.noWebp ? t().replace(/\?/g, "?format=webp&") : "";
956
+ var s;
957
+ return (s = t == null ? void 0 : t()) != null && s.match(/builder\.io/) && !e.noWebp ? t().replace(/\?/g, "?format=webp&") : "";
958
958
  }
959
959
  function i() {
960
- const l = {
960
+ const s = {
961
961
  position: "absolute",
962
962
  height: "100%",
963
963
  width: "100%",
964
964
  left: "0px",
965
965
  top: "0px"
966
966
  };
967
- return e.aspectRatio ? l : void 0;
967
+ return e.aspectRatio ? s : void 0;
968
968
  }
969
969
  return /* @__PURE__ */ P(h, { children: [
970
970
  /* @__PURE__ */ P(h, { children: [
971
971
  /* @__PURE__ */ P("picture", { children: [
972
- n() ? /* @__PURE__ */ c(h, { children: /* @__PURE__ */ c("source", { type: "image/webp", srcSet: n() }) }) : null,
973
- /* @__PURE__ */ c(
972
+ n() ? /* @__PURE__ */ l(h, { children: /* @__PURE__ */ l("source", { type: "image/webp", srcSet: n() }) }) : null,
973
+ /* @__PURE__ */ l(
974
974
  "img",
975
975
  {
976
976
  loading: "lazy",
@@ -988,7 +988,7 @@ function bt(e) {
988
988
  }
989
989
  )
990
990
  ] }),
991
- e.aspectRatio && !((o = (a = e.builderBlock) == null ? void 0 : a.children) != null && o.length && e.fitContent) ? /* @__PURE__ */ c(h, { children: /* @__PURE__ */ c(
991
+ e.aspectRatio && !((o = (a = e.builderBlock) == null ? void 0 : a.children) != null && o.length && e.fitContent) ? /* @__PURE__ */ l(h, { children: /* @__PURE__ */ l(
992
992
  "div",
993
993
  {
994
994
  className: "builder-image-sizer div-40c70c9b",
@@ -997,10 +997,10 @@ function bt(e) {
997
997
  }
998
998
  }
999
999
  ) }) : null,
1000
- (s = (r = e.builderBlock) == null ? void 0 : r.children) != null && s.length && e.fitContent ? /* @__PURE__ */ c(h, { children: e.children }) : null,
1001
- !e.fitContent && e.children ? /* @__PURE__ */ c(h, { children: /* @__PURE__ */ c("div", { className: "div-40c70c9b-2", children: e.children }) }) : null
1000
+ (c = (r = e.builderBlock) == null ? void 0 : r.children) != null && c.length && e.fitContent ? /* @__PURE__ */ l(h, { children: e.children }) : null,
1001
+ !e.fitContent && e.children ? /* @__PURE__ */ l(h, { children: /* @__PURE__ */ l("div", { className: "div-40c70c9b-2", children: e.children }) }) : null
1002
1002
  ] }),
1003
- /* @__PURE__ */ c("style", { children: `.img-40c70c9b {
1003
+ /* @__PURE__ */ l("style", { children: `.img-40c70c9b {
1004
1004
  opacity: 1;
1005
1005
  transition: opacity 0.2s ease-in-out;
1006
1006
  }.div-40c70c9b {
@@ -1020,7 +1020,7 @@ function bt(e) {
1020
1020
  ] });
1021
1021
  }
1022
1022
  function xt(e) {
1023
- return /* @__PURE__ */ c(
1023
+ return /* @__PURE__ */ l(
1024
1024
  "section",
1025
1025
  {
1026
1026
  ...e.attributes,
@@ -1252,7 +1252,7 @@ const yt = {
1252
1252
  });
1253
1253
  }
1254
1254
  const n = e.get("columns");
1255
- Array.isArray(n) && n.find((a) => a.get("width")) && (n.find((o) => !o.get("width")) || n.reduce((s, l) => s + l.get("width"), 0) !== 100) && t();
1255
+ Array.isArray(n) && n.find((a) => a.get("width")) && (n.find((o) => !o.get("width")) || n.reduce((c, s) => c + s.get("width"), 0) !== 100) && t();
1256
1256
  }
1257
1257
  }, {
1258
1258
  name: "space",
@@ -1298,14 +1298,14 @@ const yt = {
1298
1298
  }]
1299
1299
  };
1300
1300
  function pt(e) {
1301
- const t = ee(null), [n, i] = S(() => []), [a, o] = S(() => []);
1301
+ const t = te(null), [n, i] = S(() => []), [a, o] = S(() => []);
1302
1302
  return E(() => {
1303
- var s;
1304
- if (!((s = t.current) != null && s.getElementsByTagName) || typeof window == "undefined")
1303
+ var c;
1304
+ if (!((c = t.current) != null && c.getElementsByTagName) || typeof window == "undefined")
1305
1305
  return;
1306
1306
  const r = t.current.getElementsByTagName("script");
1307
- for (let l = 0; l < r.length; l++) {
1308
- const d = r[l];
1307
+ for (let s = 0; s < r.length; s++) {
1308
+ const d = r[s];
1309
1309
  if (d.src) {
1310
1310
  if (n.includes(d.src))
1311
1311
  continue;
@@ -1326,7 +1326,7 @@ function pt(e) {
1326
1326
  }
1327
1327
  }
1328
1328
  }
1329
- }, []), /* @__PURE__ */ c(
1329
+ }, []), /* @__PURE__ */ l(
1330
1330
  "div",
1331
1331
  {
1332
1332
  ref: t,
@@ -1362,8 +1362,8 @@ const kt = {
1362
1362
  }]
1363
1363
  }, Ct = ["text/javascript", "application/javascript", "application/ecmascript"], wt = (e) => Ct.includes(e.type);
1364
1364
  function It(e) {
1365
- const t = ee(null), [n, i] = S(() => []), [a, o] = S(() => []), [r, s] = S(() => !1);
1366
- function l() {
1365
+ const t = te(null), [n, i] = S(() => []), [a, o] = S(() => []), [r, c] = S(() => !1);
1366
+ function s() {
1367
1367
  if (!t.current || !t.current.getElementsByTagName)
1368
1368
  return;
1369
1369
  const d = t.current.getElementsByTagName("script");
@@ -1382,8 +1382,8 @@ function It(e) {
1382
1382
  }
1383
1383
  }
1384
1384
  return E(() => {
1385
- t.current && !r && (s(!0), l());
1386
- }, [t.current, r]), /* @__PURE__ */ c(
1385
+ t.current && !r && (c(!0), s());
1386
+ }, [t.current, r]), /* @__PURE__ */ l(
1387
1387
  "div",
1388
1388
  {
1389
1389
  className: "builder-embed",
@@ -1418,17 +1418,17 @@ const Tt = {
1418
1418
  defaultValue: "https://cdn.builder.io/api/v1/image/assets%2FYJIGb4i01jvw0SRdL5Bt%2F72c80f114dc149019051b6852a9e3b7a",
1419
1419
  onChange: (e) => {
1420
1420
  e.delete("srcset"), e.delete("noWebp");
1421
- function n(r, s = 6e4) {
1422
- return new Promise((l, d) => {
1421
+ function n(r, c = 6e4) {
1422
+ return new Promise((s, d) => {
1423
1423
  const u = document.createElement("img");
1424
1424
  let b = !1;
1425
1425
  u.onload = () => {
1426
- b = !0, l(u);
1426
+ b = !0, s(u);
1427
1427
  }, u.addEventListener("error", (v) => {
1428
1428
  console.warn("Image load failed", v.error), d(v.error);
1429
1429
  }), u.src = r, setTimeout(() => {
1430
1430
  b || d(new Error("Image load timed out"));
1431
- }, s);
1431
+ }, c);
1432
1432
  });
1433
1433
  }
1434
1434
  function i(r) {
@@ -1439,8 +1439,8 @@ const Tt = {
1439
1439
  r.type.includes("svg") && e.set("noWebp", !0);
1440
1440
  }), a && (!o || o === 0.7041))
1441
1441
  return n(a).then((r) => {
1442
- const s = e.get("aspectRatio");
1443
- e.get("image") === a && (!s || s === 0.7041) && r.width && r.height && (e.set("aspectRatio", i(r.height / r.width)), e.set("height", r.height), e.set("width", r.width));
1442
+ const c = e.get("aspectRatio");
1443
+ e.get("image") === a && (!c || c === 0.7041) && r.width && r.height && (e.set("aspectRatio", i(r.height / r.width)), e.set("height", r.height), e.set("width", r.width));
1444
1444
  });
1445
1445
  }
1446
1446
  }, {
@@ -1514,7 +1514,7 @@ const Tt = {
1514
1514
  static: !0
1515
1515
  };
1516
1516
  function Pt(e) {
1517
- return /* @__PURE__ */ c(
1517
+ return /* @__PURE__ */ l(
1518
1518
  "img",
1519
1519
  {
1520
1520
  style: {
@@ -1528,7 +1528,7 @@ function Pt(e) {
1528
1528
  V() && e.imgSrc || "default-key"
1529
1529
  );
1530
1530
  }
1531
- const Wt = {
1531
+ const Bt = {
1532
1532
  name: "Core:Section",
1533
1533
  static: !0,
1534
1534
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F682efef23ace49afac61748dd305c70a",
@@ -1567,7 +1567,44 @@ const Wt = {
1567
1567
  }
1568
1568
  }
1569
1569
  }]
1570
- }, Bt = {
1570
+ }, Wt = {
1571
+ name: "Slot",
1572
+ isRSC: !0,
1573
+ description: "Allow child blocks to be inserted into this content when used as a Symbol",
1574
+ docsLink: "https://www.builder.io/c/docs/symbols-with-blocks",
1575
+ image: "https://cdn.builder.io/api/v1/image/assets%2FYJIGb4i01jvw0SRdL5Bt%2F3aad6de36eae43b59b52c85190fdef56",
1576
+ // Maybe wrap this for canHaveChildren so bind children to this hm
1577
+ inputs: [{
1578
+ name: "name",
1579
+ type: "string",
1580
+ required: !0,
1581
+ defaultValue: "children"
1582
+ }]
1583
+ };
1584
+ function At(e) {
1585
+ var t, n, i;
1586
+ return /* @__PURE__ */ l(
1587
+ "div",
1588
+ {
1589
+ style: {
1590
+ pointerEvents: "auto"
1591
+ },
1592
+ ...!((t = e.builderContext.context) != null && t.symbolId) && {
1593
+ "builder-slot": e.name
1594
+ },
1595
+ children: /* @__PURE__ */ l(
1596
+ q,
1597
+ {
1598
+ parent: (n = e.builderContext.context) == null ? void 0 : n.symbolId,
1599
+ path: `symbol.data.${e.name}`,
1600
+ context: e.builderContext,
1601
+ blocks: (i = e.builderContext.rootState) == null ? void 0 : i[e.name]
1602
+ }
1603
+ )
1604
+ }
1605
+ );
1606
+ }
1607
+ const Vt = {
1571
1608
  name: "Symbol",
1572
1609
  noWrap: !0,
1573
1610
  static: !0,
@@ -1600,7 +1637,7 @@ const Wt = {
1600
1637
  hideFromUI: !0,
1601
1638
  type: "boolean"
1602
1639
  }]
1603
- }, At = {
1640
+ }, $t = {
1604
1641
  name: "Text",
1605
1642
  static: !0,
1606
1643
  isRSC: !0,
@@ -1619,9 +1656,9 @@ const Wt = {
1619
1656
  textAlign: "center"
1620
1657
  }
1621
1658
  };
1622
- function Vt(e) {
1659
+ function Nt(e) {
1623
1660
  var t;
1624
- return /* @__PURE__ */ c(
1661
+ return /* @__PURE__ */ l(
1625
1662
  "div",
1626
1663
  {
1627
1664
  className: "builder-text",
@@ -1632,7 +1669,7 @@ function Vt(e) {
1632
1669
  }
1633
1670
  );
1634
1671
  }
1635
- const $t = {
1672
+ const Ft = {
1636
1673
  name: "Video",
1637
1674
  canHaveChildren: !0,
1638
1675
  defaultStyles: {
@@ -1714,8 +1751,8 @@ const $t = {
1714
1751
  advanced: !0
1715
1752
  }]
1716
1753
  };
1717
- function Nt(e) {
1718
- var i, a, o, r, s, l, d;
1754
+ function _t(e) {
1755
+ var i, a, o, r, c, s, d;
1719
1756
  function t() {
1720
1757
  return {
1721
1758
  ...e.autoPlay === !0 ? {
@@ -1747,7 +1784,7 @@ function Nt(e) {
1747
1784
  position: "relative"
1748
1785
  },
1749
1786
  children: [
1750
- /* @__PURE__ */ c(
1787
+ /* @__PURE__ */ l(
1751
1788
  "video",
1752
1789
  {
1753
1790
  className: "builder-video",
@@ -1769,10 +1806,10 @@ function Nt(e) {
1769
1806
  },
1770
1807
  src: e.video || "no-src",
1771
1808
  poster: e.posterImage,
1772
- children: e.lazyLoad ? null : /* @__PURE__ */ c("source", { type: "video/mp4", src: e.video })
1809
+ children: e.lazyLoad ? null : /* @__PURE__ */ l("source", { type: "video/mp4", src: e.video })
1773
1810
  }
1774
1811
  ),
1775
- e.aspectRatio && !(e.fitContent && ((o = (a = e.builderBlock) == null ? void 0 : a.children) != null && o.length)) ? /* @__PURE__ */ c(h, { children: /* @__PURE__ */ c(
1812
+ e.aspectRatio && !(e.fitContent && ((o = (a = e.builderBlock) == null ? void 0 : a.children) != null && o.length)) ? /* @__PURE__ */ l(h, { children: /* @__PURE__ */ l(
1776
1813
  "div",
1777
1814
  {
1778
1815
  style: {
@@ -1783,7 +1820,7 @@ function Nt(e) {
1783
1820
  }
1784
1821
  }
1785
1822
  ) }) : null,
1786
- (s = (r = e.builderBlock) == null ? void 0 : r.children) != null && s.length && e.fitContent ? /* @__PURE__ */ c(h, { children: /* @__PURE__ */ c(
1823
+ (c = (r = e.builderBlock) == null ? void 0 : r.children) != null && c.length && e.fitContent ? /* @__PURE__ */ l(h, { children: /* @__PURE__ */ l(
1787
1824
  "div",
1788
1825
  {
1789
1826
  style: {
@@ -1794,7 +1831,7 @@ function Nt(e) {
1794
1831
  children: e.children
1795
1832
  }
1796
1833
  ) }) : null,
1797
- (d = (l = e.builderBlock) == null ? void 0 : l.children) != null && d.length && !e.fitContent ? /* @__PURE__ */ c(h, { children: /* @__PURE__ */ c(
1834
+ (d = (s = e.builderBlock) == null ? void 0 : s.children) != null && d.length && !e.fitContent ? /* @__PURE__ */ l(h, { children: /* @__PURE__ */ l(
1798
1835
  "div",
1799
1836
  {
1800
1837
  style: {
@@ -1838,17 +1875,20 @@ const ye = () => [{
1838
1875
  ...Et
1839
1876
  }, {
1840
1877
  component: xt,
1841
- ...Wt
1842
- }, {
1843
- component: an,
1844
1878
  ...Bt
1845
1879
  }, {
1846
- component: Vt,
1847
- ...At
1880
+ component: rn,
1881
+ ...Vt
1848
1882
  }, {
1849
1883
  component: Nt,
1850
1884
  ...$t
1851
- }], Ft = `function updateCookiesAndStyles(contentId, variants, isHydrationTarget) {
1885
+ }, {
1886
+ component: _t,
1887
+ ...Ft
1888
+ }, {
1889
+ component: At,
1890
+ ...Wt
1891
+ }], Lt = `function updateCookiesAndStyles(contentId, variants, isHydrationTarget) {
1852
1892
  function getAndSetVariantId() {
1853
1893
  function setCookie(name, value, days) {
1854
1894
  let expires = '';
@@ -1904,7 +1944,7 @@ const ye = () => [{
1904
1944
  }).join('');
1905
1945
  styleEl.innerHTML = newStyleStr;
1906
1946
  }
1907
- }`, _t = `function updateVariantVisibility(variantContentId, defaultContentId, isHydrationTarget) {
1947
+ }`, jt = `function updateVariantVisibility(variantContentId, defaultContentId, isHydrationTarget) {
1908
1948
  if (!navigator.cookieEnabled) {
1909
1949
  return;
1910
1950
  }
@@ -1938,27 +1978,27 @@ const ye = () => [{
1938
1978
  thisScriptEl?.remove();
1939
1979
  }
1940
1980
  return;
1941
- }`, We = "builderIoAbTest", Be = "builderIoRenderContent", M = (e) => Object.values((e == null ? void 0 : e.variations) || {}).map((t) => ({
1981
+ }`, Be = "builderIoAbTest", We = "builderIoRenderContent", M = (e) => Object.values((e == null ? void 0 : e.variations) || {}).map((t) => ({
1942
1982
  ...t,
1943
1983
  testVariationId: t.id,
1944
1984
  id: e == null ? void 0 : e.id
1945
- })), Lt = ({
1985
+ })), Mt = ({
1946
1986
  canTrack: e,
1947
1987
  content: t
1948
- }) => !(!(M(t).length > 0) || !e || $()), jt = (e) => e === "react" || e === "reactNative", Ae = jt(L), Mt = () => `
1949
- window.${We} = ${Ft}
1950
- window.${Be} = ${_t}
1951
- `, Ut = (e, t) => `
1952
- window.${We}(
1988
+ }) => !(!(M(t).length > 0) || !e || $()), Ut = (e) => e === "react" || e === "reactNative", Ae = Ut(L), Dt = () => `
1989
+ window.${Be} = ${Lt}
1990
+ window.${We} = ${jt}
1991
+ `, Ot = (e, t) => `
1992
+ window.${Be}(
1953
1993
  "${t}",${JSON.stringify(e)}, ${Ae}
1954
- )`, Dt = ({
1994
+ )`, Kt = ({
1955
1995
  contentId: e,
1956
1996
  variationId: t
1957
- }) => `window.${Be}(
1997
+ }) => `window.${We}(
1958
1998
  "${t}", "${e}", ${Ae}
1959
1999
  )`;
1960
- function Z(e) {
1961
- return /* @__PURE__ */ c(
2000
+ function ee(e) {
2001
+ return /* @__PURE__ */ l(
1962
2002
  "script",
1963
2003
  {
1964
2004
  dangerouslySetInnerHTML: { __html: e.scriptStr },
@@ -1969,7 +2009,7 @@ function Z(e) {
1969
2009
  function Se(e) {
1970
2010
  return Math.round(e * 1e3) / 1e3;
1971
2011
  }
1972
- const Ot = (e, t, n = !0) => {
2012
+ const Ht = (e, t, n = !0) => {
1973
2013
  if (!(e instanceof HTMLElement))
1974
2014
  return null;
1975
2015
  let i = n ? e : e.parentElement;
@@ -1980,7 +2020,7 @@ const Ot = (e, t, n = !0) => {
1980
2020
  return i;
1981
2021
  } while (i = i.parentElement);
1982
2022
  return null;
1983
- }, Kt = (e) => Ot(e, (t) => {
2023
+ }, zt = (e) => Ht(e, (t) => {
1984
2024
  const n = t.getAttribute("builder-id") || t.id;
1985
2025
  return (n == null ? void 0 : n.indexOf("builder-")) === 0;
1986
2026
  }), ve = ({
@@ -1992,8 +2032,8 @@ const Ot = (e, t, n = !0) => {
1992
2032
  x: o,
1993
2033
  y: r
1994
2034
  };
1995
- }, Ht = (e) => {
1996
- const t = e.target, n = t && Kt(t), i = (n == null ? void 0 : n.getAttribute("builder-id")) || (n == null ? void 0 : n.id);
2035
+ }, qt = (e) => {
2036
+ const t = e.target, n = t && zt(t), i = (n == null ? void 0 : n.getAttribute("builder-id")) || (n == null ? void 0 : n.id);
1997
2037
  return {
1998
2038
  targetBuilderElement: i || void 0,
1999
2039
  metadata: {
@@ -2008,7 +2048,7 @@ const Ot = (e, t, n = !0) => {
2008
2048
  builderElementIndex: n && i ? [].slice.call(document.getElementsByClassName(i)).indexOf(n) : void 0
2009
2049
  }
2010
2050
  };
2011
- }, zt = "0.12.0", qt = () => {
2051
+ }, Yt = "0.12.1", Qt = () => {
2012
2052
  Fe("insertMenu", {
2013
2053
  name: "_default",
2014
2054
  default: !0,
@@ -2032,13 +2072,13 @@ const Ot = (e, t, n = !0) => {
2032
2072
  });
2033
2073
  };
2034
2074
  let pe = !1;
2035
- const Yt = (e = {}) => {
2075
+ const Gt = (e = {}) => {
2036
2076
  var t, n;
2037
2077
  pe || (pe = !0, $() && ((t = window.parent) == null || t.postMessage({
2038
2078
  type: "builder.sdkInfo",
2039
2079
  data: {
2040
2080
  target: L,
2041
- version: zt,
2081
+ version: Yt,
2042
2082
  supportsPatchUpdates: !1,
2043
2083
  // Supports builder-model="..." attribute which is needed to
2044
2084
  // scope our '+ add block' button styling
@@ -2057,17 +2097,17 @@ const Yt = (e = {}) => {
2057
2097
  if (i != null && i.type)
2058
2098
  switch (i.type) {
2059
2099
  case "builder.evaluate": {
2060
- const r = i.data.text, s = i.data.arguments || [], l = i.data.id, d = new Function(r);
2100
+ const r = i.data.text, c = i.data.arguments || [], s = i.data.id, d = new Function(r);
2061
2101
  let u, b = null;
2062
2102
  try {
2063
- u = d.apply(null, s);
2103
+ u = d.apply(null, c);
2064
2104
  } catch (v) {
2065
2105
  b = v;
2066
2106
  }
2067
2107
  b ? (a = window.parent) == null || a.postMessage({
2068
2108
  type: "builder.evaluateError",
2069
2109
  data: {
2070
- id: l,
2110
+ id: s,
2071
2111
  error: b.message
2072
2112
  }
2073
2113
  }, "*") : u && typeof u.then == "function" ? u.then((v) => {
@@ -2075,7 +2115,7 @@ const Yt = (e = {}) => {
2075
2115
  (y = window.parent) == null || y.postMessage({
2076
2116
  type: "builder.evaluateResult",
2077
2117
  data: {
2078
- id: l,
2118
+ id: s,
2079
2119
  result: v
2080
2120
  }
2081
2121
  }, "*");
@@ -2083,7 +2123,7 @@ const Yt = (e = {}) => {
2083
2123
  type: "builder.evaluateResult",
2084
2124
  data: {
2085
2125
  result: u,
2086
- id: l
2126
+ id: s
2087
2127
  }
2088
2128
  }, "*");
2089
2129
  break;
@@ -2091,9 +2131,9 @@ const Yt = (e = {}) => {
2091
2131
  }
2092
2132
  })));
2093
2133
  };
2094
- function Qt(e) {
2095
- var F, q, ae, oe, re, ce, le;
2096
- const t = ee(null), [n, i] = S(() => 0);
2134
+ function Jt(e) {
2135
+ var F, Y, ae, oe, re, le, ce;
2136
+ const t = te(null), [n, i] = S(() => 0);
2097
2137
  S(() => !0);
2098
2138
  function a(m) {
2099
2139
  var g, x;
@@ -2127,9 +2167,9 @@ function Qt(e) {
2127
2167
  }));
2128
2168
  }
2129
2169
  S(() => 0);
2130
- const [r, s] = S(
2170
+ const [r, c] = S(
2131
2171
  () => !1
2132
- ), [l, d] = S(
2172
+ ), [s, d] = S(
2133
2173
  () => e.contentWrapper || "div"
2134
2174
  );
2135
2175
  function u(m) {
@@ -2177,13 +2217,13 @@ function Qt(e) {
2177
2217
  contentId: p,
2178
2218
  apiKey: e.apiKey,
2179
2219
  variationId: x !== p ? x : void 0,
2180
- ...Ht(m),
2220
+ ...qt(m),
2181
2221
  unique: !C
2182
2222
  });
2183
2223
  }
2184
2224
  C || k(!0);
2185
2225
  }
2186
- function W(m) {
2226
+ function B(m) {
2187
2227
  return m.replace(
2188
2228
  /{{([^}]+)}}/g,
2189
2229
  (f, g) => _({
@@ -2212,7 +2252,7 @@ function Qt(e) {
2212
2252
  const m = (x = (g = (f = e.builderContextSignal.content) == null ? void 0 : f.data) == null ? void 0 : g.httpRequests) != null ? x : {};
2213
2253
  Object.entries(m).forEach(([p, T]) => {
2214
2254
  if (T && (!v[p] || V())) {
2215
- const j = W(T);
2255
+ const j = B(T);
2216
2256
  w({
2217
2257
  url: j,
2218
2258
  key: p
@@ -2220,13 +2260,13 @@ function Qt(e) {
2220
2260
  }
2221
2261
  });
2222
2262
  }
2223
- function B() {
2263
+ function W() {
2224
2264
  V() && window.dispatchEvent(
2225
2265
  new CustomEvent(
2226
2266
  "builder:component:stateChange",
2227
2267
  {
2228
2268
  detail: {
2229
- state: te(e.builderContextSignal.rootState),
2269
+ state: ne(e.builderContextSignal.rootState),
2230
2270
  ref: {
2231
2271
  name: e.model
2232
2272
  }
@@ -2236,7 +2276,7 @@ function Qt(e) {
2236
2276
  );
2237
2277
  }
2238
2278
  function A(m) {
2239
- i(n + 1), window.addEventListener("message", u), qt(), Yt({
2279
+ i(n + 1), window.addEventListener("message", u), Qt(), Gt({
2240
2280
  ...e.locale ? {
2241
2281
  locale: e.locale
2242
2282
  } : {},
@@ -2254,7 +2294,7 @@ function Qt(e) {
2254
2294
  (x = window.parent) == null || x.postMessage(g, "*");
2255
2295
  }), window.addEventListener(
2256
2296
  "builder:component:stateChangeListenerActivated",
2257
- B
2297
+ W
2258
2298
  );
2259
2299
  }
2260
2300
  function N(m) {
@@ -2311,19 +2351,19 @@ function Qt(e) {
2311
2351
  }, []), E(() => {
2312
2352
  e.apiKey || U.error(
2313
2353
  "No API key provided to `RenderContent` component. This can cause issues. Please provide an API key using the `apiKey` prop."
2314
- ), b(), I(), B();
2354
+ ), b(), I(), W();
2315
2355
  }, []), E(() => {
2316
2356
  e.content && o(e.content);
2317
2357
  }, [e.content]), E(() => {
2318
2358
  }, [r]), E(() => {
2319
2359
  b();
2320
2360
  }, [
2321
- (q = (F = e.builderContextSignal.content) == null ? void 0 : F.data) == null ? void 0 : q.jsCode,
2361
+ (Y = (F = e.builderContextSignal.content) == null ? void 0 : F.data) == null ? void 0 : Y.jsCode,
2322
2362
  e.builderContextSignal.rootState
2323
2363
  ]), E(() => {
2324
2364
  I();
2325
2365
  }, [(oe = (ae = e.builderContextSignal.content) == null ? void 0 : ae.data) == null ? void 0 : oe.httpRequests]), E(() => {
2326
- B();
2366
+ W();
2327
2367
  }, [e.builderContextSignal.rootState]), E(() => {
2328
2368
  e.data && a(e.data);
2329
2369
  }, [e.data]), E(() => {
@@ -2333,10 +2373,10 @@ function Qt(e) {
2333
2373
  }, [e.locale]), E(() => () => {
2334
2374
  $() && (window.removeEventListener("message", u), window.removeEventListener(
2335
2375
  "builder:component:stateChangeListenerActivated",
2336
- B
2376
+ W
2337
2377
  ));
2338
- }, []), /* @__PURE__ */ c(ne.Provider, { value: e.builderContextSignal, children: e.builderContextSignal.content ? /* @__PURE__ */ c(h, { children: /* @__PURE__ */ we(
2339
- l,
2378
+ }, []), /* @__PURE__ */ l(ie.Provider, { value: e.builderContextSignal, children: e.builderContextSignal.content ? /* @__PURE__ */ l(h, { children: /* @__PURE__ */ we(
2379
+ s,
2340
2380
  {
2341
2381
  key: n,
2342
2382
  ref: t,
@@ -2348,12 +2388,12 @@ function Qt(e) {
2348
2388
  "aria-hidden": !0
2349
2389
  },
2350
2390
  ...e.contentWrapperProps,
2351
- className: `variant-${((ce = e.content) == null ? void 0 : ce.testVariationId) || ((le = e.content) == null ? void 0 : le.id)}`
2391
+ className: `variant-${((le = e.content) == null ? void 0 : le.testVariationId) || ((ce = e.content) == null ? void 0 : ce.id)}`
2352
2392
  },
2353
2393
  e.children
2354
2394
  ) }) : null });
2355
2395
  }
2356
- const Gt = (e) => {
2396
+ const Xt = (e) => {
2357
2397
  var o, r;
2358
2398
  const t = e.family + (e.kind && !e.kind.includes("#") ? ", " + e.kind : ""), n = t.split(",")[0], i = (r = e.fileUrl) != null ? r : (o = e == null ? void 0 : e.files) == null ? void 0 : o.regular;
2359
2399
  let a = "";
@@ -2365,37 +2405,37 @@ font-display: fallback;
2365
2405
  font-weight: 400;
2366
2406
  }
2367
2407
  `.trim()), e.files)
2368
- for (const s in e.files) {
2369
- if (!(String(Number(s)) === s))
2408
+ for (const c in e.files) {
2409
+ if (!(String(Number(c)) === c))
2370
2410
  continue;
2371
- const d = e.files[s];
2411
+ const d = e.files[c];
2372
2412
  d && d !== i && (a += `
2373
2413
  @font-face {
2374
2414
  font-family: "${t}";
2375
2415
  src: url('${d}') format('woff2');
2376
2416
  font-display: fallback;
2377
- font-weight: ${s};
2417
+ font-weight: ${c};
2378
2418
  }
2379
2419
  `.trim());
2380
2420
  }
2381
2421
  return a;
2382
- }, Jt = ({
2422
+ }, Zt = ({
2383
2423
  customFonts: e
2384
2424
  }) => {
2385
2425
  var t;
2386
- return ((t = e == null ? void 0 : e.map((n) => Gt(n))) == null ? void 0 : t.join(" ")) || "";
2387
- }, Xt = ({
2426
+ return ((t = e == null ? void 0 : e.map((n) => Xt(n))) == null ? void 0 : t.join(" ")) || "";
2427
+ }, en = ({
2388
2428
  cssCode: e,
2389
2429
  contentId: t
2390
2430
  }) => e ? t ? (e == null ? void 0 : e.replace(/&/g, `div[builder-content-id="${t}"]`)) || "" : e : "";
2391
- function Zt(e) {
2431
+ function tn(e) {
2392
2432
  const [t, n] = S(
2393
2433
  () => `
2394
- ${Xt({
2434
+ ${en({
2395
2435
  cssCode: e.cssCode,
2396
2436
  contentId: e.contentId
2397
2437
  })}
2398
- ${Jt({
2438
+ ${Zt({
2399
2439
  customFonts: e.customFonts
2400
2440
  })}
2401
2441
 
@@ -2413,17 +2453,17 @@ ${Jt({
2413
2453
  }
2414
2454
  `.trim()
2415
2455
  );
2416
- return /* @__PURE__ */ c(H, { styles: t });
2456
+ return /* @__PURE__ */ l(H, { styles: t });
2417
2457
  }
2418
- const en = ({
2458
+ const nn = ({
2419
2459
  content: e,
2420
2460
  data: t,
2421
2461
  locale: n
2422
2462
  }) => {
2423
- var o, r, s;
2463
+ var o, r, c;
2424
2464
  const i = {}, a = ((o = e == null ? void 0 : e.data) == null ? void 0 : o.state) || {};
2425
- return (s = (r = e == null ? void 0 : e.data) == null ? void 0 : r.inputs) == null || s.forEach((l) => {
2426
- l.name && l.defaultValue !== void 0 && (i[l.name] = l.defaultValue);
2465
+ return (c = (r = e == null ? void 0 : e.data) == null ? void 0 : r.inputs) == null || c.forEach((s) => {
2466
+ s.name && s.defaultValue !== void 0 && (i[s.name] = s.defaultValue);
2427
2467
  }), {
2428
2468
  ...i,
2429
2469
  ...a,
@@ -2432,7 +2472,7 @@ const en = ({
2432
2472
  locale: n
2433
2473
  } : {}
2434
2474
  };
2435
- }, tn = ({
2475
+ }, an = ({
2436
2476
  content: e,
2437
2477
  data: t
2438
2478
  }) => e ? {
@@ -2444,11 +2484,11 @@ const en = ({
2444
2484
  meta: e == null ? void 0 : e.meta
2445
2485
  } : void 0;
2446
2486
  function ke(e) {
2447
- var l, d, u, b, v, y, C;
2487
+ var s, d, u, b, v, y, C;
2448
2488
  const [t, n] = S(
2449
2489
  () => {
2450
2490
  var k, R;
2451
- return Dt({
2491
+ return Kt({
2452
2492
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
2453
2493
  variationId: (k = e.content) == null ? void 0 : k.testVariationId,
2454
2494
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
@@ -2457,7 +2497,7 @@ function ke(e) {
2457
2497
  }
2458
2498
  );
2459
2499
  function i(k) {
2460
- s((R) => ({
2500
+ c((R) => ({
2461
2501
  ...R,
2462
2502
  rootState: k
2463
2503
  }));
@@ -2473,22 +2513,22 @@ function ke(e) {
2473
2513
  ...ue,
2474
2514
  ...e.customComponents || []
2475
2515
  ].reduce(
2476
- (k, { component: R, ...W }) => ({
2516
+ (k, { component: R, ...B }) => ({
2477
2517
  ...k,
2478
- [W.name]: {
2518
+ [B.name]: {
2479
2519
  component: R,
2480
- ...me(W)
2520
+ ...me(B)
2481
2521
  }
2482
2522
  }),
2483
2523
  {}
2484
2524
  )
2485
- ), [r, s] = S(() => ({
2486
- content: tn({
2525
+ ), [r, c] = S(() => ({
2526
+ content: an({
2487
2527
  content: e.content,
2488
2528
  data: e.data
2489
2529
  }),
2490
2530
  localState: void 0,
2491
- rootState: en({
2531
+ rootState: nn({
2492
2532
  content: e.content,
2493
2533
  data: e.data,
2494
2534
  locale: e.locale
@@ -2507,9 +2547,9 @@ function ke(e) {
2507
2547
  ...ue,
2508
2548
  ...e.customComponents || []
2509
2549
  ].reduce(
2510
- (k, { component: R, ...W }) => ({
2550
+ (k, { component: R, ...B }) => ({
2511
2551
  ...k,
2512
- [W.name]: me(W)
2552
+ [B.name]: me(B)
2513
2553
  }),
2514
2554
  {}
2515
2555
  ),
@@ -2517,14 +2557,14 @@ function ke(e) {
2517
2557
  BlocksWrapper: e.blocksWrapper || "div",
2518
2558
  BlocksWrapperProps: e.blocksWrapperProps || {}
2519
2559
  }));
2520
- return /* @__PURE__ */ c(
2560
+ return /* @__PURE__ */ l(
2521
2561
  Te.Provider,
2522
2562
  {
2523
2563
  value: {
2524
2564
  registeredComponents: a
2525
2565
  },
2526
2566
  children: /* @__PURE__ */ P(
2527
- Qt,
2567
+ Jt,
2528
2568
  {
2529
2569
  content: e.content,
2530
2570
  data: e.data,
@@ -2539,19 +2579,19 @@ function ke(e) {
2539
2579
  builderContextSignal: r,
2540
2580
  contentWrapper: e.contentWrapper,
2541
2581
  contentWrapperProps: e.contentWrapperProps,
2542
- setBuilderContextSignal: s,
2582
+ setBuilderContextSignal: c,
2543
2583
  children: [
2544
- e.isSsrAbTest ? /* @__PURE__ */ c(h, { children: /* @__PURE__ */ c(Z, { scriptStr: t }) }) : null,
2545
- /* @__PURE__ */ c(h, { children: /* @__PURE__ */ c(
2546
- Zt,
2584
+ e.isSsrAbTest ? /* @__PURE__ */ l(h, { children: /* @__PURE__ */ l(ee, { scriptStr: t }) }) : null,
2585
+ /* @__PURE__ */ l(h, { children: /* @__PURE__ */ l(
2586
+ tn,
2547
2587
  {
2548
- contentId: (l = r.content) == null ? void 0 : l.id,
2588
+ contentId: (s = r.content) == null ? void 0 : s.id,
2549
2589
  cssCode: (u = (d = r.content) == null ? void 0 : d.data) == null ? void 0 : u.cssCode,
2550
2590
  customFonts: (v = (b = r.content) == null ? void 0 : b.data) == null ? void 0 : v.customFonts
2551
2591
  }
2552
2592
  ) }),
2553
- /* @__PURE__ */ c(
2554
- ie,
2593
+ /* @__PURE__ */ l(
2594
+ q,
2555
2595
  {
2556
2596
  blocks: (C = (y = r.content) == null ? void 0 : y.data) == null ? void 0 : C.blocks,
2557
2597
  context: r,
@@ -2565,31 +2605,31 @@ function ke(e) {
2565
2605
  );
2566
2606
  }
2567
2607
  function Ve(e) {
2568
- var r, s;
2608
+ var r, c;
2569
2609
  const [t, n] = S(
2570
- () => Lt({
2610
+ () => Mt({
2571
2611
  canTrack: D(e.canTrack),
2572
2612
  content: e.content
2573
2613
  })
2574
2614
  );
2575
2615
  function i() {
2576
- var l;
2577
- return Ut(
2616
+ var s;
2617
+ return Ot(
2578
2618
  M(e.content).map((d) => ({
2579
2619
  id: d.testVariationId,
2580
2620
  testRatio: d.testRatio
2581
2621
  })),
2582
- ((l = e.content) == null ? void 0 : l.id) || ""
2622
+ ((s = e.content) == null ? void 0 : s.id) || ""
2583
2623
  );
2584
2624
  }
2585
2625
  function a() {
2586
- return M(e.content).map((l) => `.variant-${l.testVariationId} { display: none; } `).join("");
2626
+ return M(e.content).map((s) => `.variant-${s.testVariationId} { display: none; } `).join("");
2587
2627
  }
2588
2628
  function o() {
2589
- var l;
2629
+ var s;
2590
2630
  return t ? {
2591
2631
  ...e.content,
2592
- testVariationId: (l = e.content) == null ? void 0 : l.id
2632
+ testVariationId: (s = e.content) == null ? void 0 : s.id
2593
2633
  } : Me({
2594
2634
  item: e.content,
2595
2635
  canTrack: D(e.canTrack)
@@ -2597,20 +2637,20 @@ function Ve(e) {
2597
2637
  }
2598
2638
  return E(() => {
2599
2639
  }, []), /* @__PURE__ */ P(h, { children: [
2600
- !e.__isNestedRender && L !== "reactNative" ? /* @__PURE__ */ c(h, { children: /* @__PURE__ */ c(Z, { scriptStr: Mt() }) }) : null,
2640
+ !e.__isNestedRender && L !== "reactNative" ? /* @__PURE__ */ l(h, { children: /* @__PURE__ */ l(ee, { scriptStr: Dt() }) }) : null,
2601
2641
  t ? /* @__PURE__ */ P(h, { children: [
2602
- /* @__PURE__ */ c(
2642
+ /* @__PURE__ */ l(
2603
2643
  H,
2604
2644
  {
2605
2645
  id: `variants-styles-${(r = e.content) == null ? void 0 : r.id}`,
2606
2646
  styles: a()
2607
2647
  }
2608
2648
  ),
2609
- /* @__PURE__ */ c(Z, { scriptStr: i() }),
2610
- (s = M(e.content)) == null ? void 0 : s.map((l) => /* @__PURE__ */ c(
2649
+ /* @__PURE__ */ l(ee, { scriptStr: i() }),
2650
+ (c = M(e.content)) == null ? void 0 : c.map((s) => /* @__PURE__ */ l(
2611
2651
  ke,
2612
2652
  {
2613
- content: l,
2653
+ content: s,
2614
2654
  showContent: !1,
2615
2655
  model: e.model,
2616
2656
  data: e.data,
@@ -2628,10 +2668,10 @@ function Ve(e) {
2628
2668
  contentWrapper: e.contentWrapper,
2629
2669
  contentWrapperProps: e.contentWrapperProps
2630
2670
  },
2631
- l.testVariationId
2671
+ s.testVariationId
2632
2672
  ))
2633
2673
  ] }) : null,
2634
- /* @__PURE__ */ c(
2674
+ /* @__PURE__ */ l(
2635
2675
  ke,
2636
2676
  {
2637
2677
  content: o(),
@@ -2655,7 +2695,7 @@ function Ve(e) {
2655
2695
  )
2656
2696
  ] });
2657
2697
  }
2658
- const nn = async ({
2698
+ const on = async ({
2659
2699
  builderContextValue: e,
2660
2700
  symbol: t
2661
2701
  }) => {
@@ -2674,75 +2714,78 @@ const nn = async ({
2674
2714
  U.error("Could not fetch symbol content: ", n);
2675
2715
  });
2676
2716
  };
2677
- function an(e) {
2678
- var o, r, s;
2717
+ function rn(e) {
2718
+ var o, r, c, s;
2679
2719
  function t() {
2680
- var l, d;
2720
+ var d, u;
2681
2721
  return [
2682
2722
  e.attributes.className,
2683
2723
  "builder-symbol",
2684
- (l = e.symbol) != null && l.inline ? "builder-inline-symbol" : void 0,
2685
- (d = e.symbol) != null && d.dynamic || e.dynamic ? "builder-dynamic-symbol" : void 0
2724
+ (d = e.symbol) != null && d.inline ? "builder-inline-symbol" : void 0,
2725
+ (u = e.symbol) != null && u.dynamic || e.dynamic ? "builder-dynamic-symbol" : void 0
2686
2726
  ].filter(Boolean).join(" ");
2687
2727
  }
2688
2728
  const [n, i] = S(() => {
2689
- var l;
2690
- return (l = e.symbol) == null ? void 0 : l.content;
2729
+ var d;
2730
+ return (d = e.symbol) == null ? void 0 : d.content;
2691
2731
  });
2692
2732
  function a() {
2693
- n || nn({
2733
+ n || on({
2694
2734
  symbol: e.symbol,
2695
2735
  builderContextValue: e.builderContext
2696
- }).then((l) => {
2697
- l && i(l);
2736
+ }).then((d) => {
2737
+ d && i(d);
2698
2738
  });
2699
2739
  }
2700
2740
  return E(() => {
2701
2741
  }, []), E(() => {
2702
2742
  a();
2703
- }, [e.symbol]), /* @__PURE__ */ c("div", { ...e.attributes, className: t(), children: /* @__PURE__ */ c(
2743
+ }, [e.symbol]), /* @__PURE__ */ l("div", { ...e.attributes, className: t(), children: /* @__PURE__ */ l(
2704
2744
  Ve,
2705
2745
  {
2706
2746
  __isNestedRender: !0,
2707
2747
  apiVersion: e.builderContext.apiVersion,
2708
2748
  apiKey: e.builderContext.apiKey,
2709
- context: e.builderContext.context,
2749
+ context: {
2750
+ ...e.builderContext.context,
2751
+ symbolId: (o = e.builderBlock) == null ? void 0 : o.id
2752
+ },
2710
2753
  customComponents: Object.values(e.builderComponents),
2711
2754
  data: {
2712
- ...(o = e.symbol) == null ? void 0 : o.data,
2755
+ ...(r = e.symbol) == null ? void 0 : r.data,
2713
2756
  ...e.builderContext.localState,
2714
- ...(r = n == null ? void 0 : n.data) == null ? void 0 : r.state
2757
+ ...(c = n == null ? void 0 : n.data) == null ? void 0 : c.state
2715
2758
  },
2716
2759
  model: (s = e.symbol) == null ? void 0 : s.model,
2717
2760
  content: n
2718
2761
  }
2719
2762
  ) });
2720
2763
  }
2721
- const ln = ie, sn = Ve;
2764
+ const dn = q, un = Ve;
2722
2765
  export {
2723
- ie as Blocks,
2766
+ q as Blocks,
2724
2767
  Ue as Button,
2725
2768
  mt as Columns,
2726
2769
  Ve as Content,
2727
2770
  ft as Fragment,
2728
2771
  bt as Image,
2729
- ln as RenderBlocks,
2730
- sn as RenderContent,
2772
+ dn as RenderBlocks,
2773
+ un as RenderContent,
2731
2774
  xt as Section,
2732
- an as Symbol,
2733
- Vt as Text,
2734
- Nt as Video,
2735
- mn as _processContentResult,
2775
+ rn as Symbol,
2776
+ Nt as Text,
2777
+ _t as Video,
2778
+ hn as _processContentResult,
2736
2779
  Le as createRegisterComponentMessage,
2737
- fn as fetchBuilderProps,
2738
- hn as fetchEntries,
2780
+ gn as fetchBuilderProps,
2781
+ bn as fetchEntries,
2739
2782
  Ie as fetchOneEntry,
2740
- gn as getAllContent,
2741
- bn as getBuilderSearchParams,
2742
- xn as getContent,
2783
+ xn as getAllContent,
2784
+ yn as getBuilderSearchParams,
2785
+ Sn as getContent,
2743
2786
  V as isEditing,
2744
2787
  _e as isPreviewing,
2745
2788
  Fe as register,
2746
- yn as setEditorSettings,
2747
- Sn as track
2789
+ vn as setEditorSettings,
2790
+ pn as track
2748
2791
  };