@builder.io/sdk-react 0.13.4 → 1.0.2

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
2
  import { jsx as h, Fragment as N, jsxs as ae } from "react/jsx-runtime";
3
- import { createContext as fr, useState as _, useEffect as te, useContext as Jn, useRef as St, createElement as Qt } from "react";
4
- import { T as at, i as me, k as Ve, l as qr, m as Oe, n as vt, o as en, p as bt, q as Xn, a as Jr, u as Xr, v as Yr, w as Zr, c as Qr, e as hr, x as ei, y as Yn, z as Zn, A as ti } from "./server-entry-13732838.js";
5
- import { _ as ua, f as da, d as fa, h as ha, g as ma, j as pa, r as ga, s as ya, b as va, t as ba } from "./server-entry-13732838.js";
6
- const ni = /* @__PURE__ */ new Set(["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen", "link", "meta", "param", "source", "track", "wbr"]), ri = (e) => typeof e == "string" && ni.has(e.toLowerCase());
3
+ import { T as at, i as me, h as Ve, j as zr, l as Re, k as vt, m as Qt, n as bt, o as Jn, a as Gr, p as qr, q as Jr, u as Xr, c as Yr, e as dr, v as Zr, w as Xn, x as Qr } from "./server-entry-f6f9bdcb.js";
4
+ import { _ as sa, f as la, d as ca, g as ua, r as da, s as fa, b as ha, t as ma } from "./server-entry-f6f9bdcb.js";
5
+ import { createContext as fr, useState as _, useEffect as te, useContext as Yn, useRef as St, createElement as en } from "react";
6
+ const ei = /* @__PURE__ */ new Set(["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen", "link", "meta", "param", "source", "track", "wbr"]), ti = (e) => typeof e == "string" && ei.has(e.toLowerCase());
7
7
  function tn(e) {
8
- return /* @__PURE__ */ h(N, { children: ri(e.TagName) ? /* @__PURE__ */ h(N, { children: /* @__PURE__ */ h(e.TagName, { ...e.attributes, ...e.actionAttributes }) }) : /* @__PURE__ */ h(N, { children: typeof e.TagName == "string" ? /* @__PURE__ */ h(N, { children: /* @__PURE__ */ h(e.TagName, { ...e.attributes, ...e.actionAttributes, children: e.children }) }) : /* @__PURE__ */ h(N, { children: /* @__PURE__ */ h(e.TagName, { ...e.attributes, ...e.actionAttributes, children: e.children }) }) }) });
8
+ return /* @__PURE__ */ h(N, { children: ti(e.TagName) ? /* @__PURE__ */ h(N, { children: /* @__PURE__ */ h(e.TagName, { ...e.attributes, ...e.actionAttributes }) }) : /* @__PURE__ */ h(N, { children: typeof e.TagName == "string" ? /* @__PURE__ */ h(N, { children: /* @__PURE__ */ h(e.TagName, { ...e.attributes, ...e.actionAttributes, children: e.children }) }) : /* @__PURE__ */ h(N, { children: /* @__PURE__ */ h(e.TagName, { ...e.attributes, ...e.actionAttributes, children: e.children }) }) }) });
9
9
  }
10
10
  const nt = () => {
11
11
  switch (at) {
@@ -20,11 +20,10 @@ const nt = () => {
20
20
  return "class";
21
21
  }
22
22
  };
23
- function ii(e) {
23
+ function ni(e) {
24
24
  return /* @__PURE__ */ h(
25
25
  tn,
26
26
  {
27
- TagName: e.link ? e.builderLinkComponent || "a" : "button",
28
27
  attributes: {
29
28
  ...e.attributes,
30
29
  [nt()]: `${e.link ? "" : "builder-button"} ${e.attributes[nt()] || ""}`,
@@ -36,6 +35,7 @@ function ii(e) {
36
35
  role: "button"
37
36
  }
38
37
  },
38
+ TagName: e.link ? e.builderLinkComponent || "a" : "button",
39
39
  actionAttributes: {},
40
40
  children: e.text
41
41
  }
@@ -54,8 +54,8 @@ const nn = fr({
54
54
  inheritedStyles: {},
55
55
  BlocksWrapper: "div",
56
56
  BlocksWrapperProps: {}
57
- }), mr = fr({ registeredComponents: {} });
58
- function oi(e) {
57
+ }), hr = fr({ registeredComponents: {} });
58
+ function ri(e) {
59
59
  var t;
60
60
  return {
61
61
  ...(t = e.component) == null ? void 0 : t.options,
@@ -66,7 +66,7 @@ function oi(e) {
66
66
  builderBlock: e
67
67
  };
68
68
  }
69
- const pr = ({
69
+ const mr = ({
70
70
  builder: e,
71
71
  context: t,
72
72
  event: n,
@@ -78,14 +78,14 @@ const pr = ({
78
78
  builder: e,
79
79
  context: t,
80
80
  event: n
81
- }), ai = () => ({
81
+ }), ii = () => ({
82
82
  isEditing: me(),
83
83
  isBrowser: Ve(),
84
84
  isServer: !Ve(),
85
- getUserAttributes: () => qr()
86
- }), si = (e, {
85
+ getUserAttributes: () => zr()
86
+ }), oi = (e, {
87
87
  isExpression: t = !0
88
- }) => /* 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, li = ({
88
+ }) => /* 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, ai = ({
89
89
  code: e,
90
90
  builder: t,
91
91
  context: n,
@@ -94,11 +94,11 @@ const pr = ({
94
94
  rootSetState: o,
95
95
  rootState: s
96
96
  }) => {
97
- const c = pr({
97
+ const c = mr({
98
98
  builder: t,
99
99
  context: n,
100
100
  event: r,
101
- state: gr({
101
+ state: pr({
102
102
  rootState: s,
103
103
  localState: i,
104
104
  rootSetState: o
@@ -106,7 +106,7 @@ const pr = ({
106
106
  });
107
107
  return new Function(...c.map(([f]) => f), e)(...c.map(([, f]) => f));
108
108
  };
109
- function gr({
109
+ function pr({
110
110
  rootState: e,
111
111
  localState: t,
112
112
  rootSetState: n
@@ -116,7 +116,7 @@ function gr({
116
116
  if (t && i in t)
117
117
  return t[i];
118
118
  const o = r[i];
119
- return typeof o == "object" ? gr({
119
+ return typeof o == "object" ? pr({
120
120
  rootState: o,
121
121
  localState: void 0,
122
122
  rootSetState: n ? (s) => {
@@ -137,9 +137,9 @@ const rn = (e, t, n) => {
137
137
  const r = Array.isArray(t) ? t : t.toString().match(/[^.[\]]+/g);
138
138
  return r.slice(0, -1).reduce((i, o, s) => Object(i[o]) === i[o] ? i[o] : i[o] = Math.abs(Number(r[s + 1])) >> 0 === +r[s + 1] ? [] : {}, e)[r[r.length - 1]] = n, e;
139
139
  };
140
- var W, ci = function(e) {
140
+ var W, si = function(e) {
141
141
  function t(a) {
142
- return 48 > a ? a === 36 : 58 > a ? !0 : 65 > a ? !1 : 91 > a ? !0 : 97 > a ? a === 95 : 123 > a ? !0 : 170 <= a && zr.test(String.fromCharCode(a));
142
+ return 48 > a ? a === 36 : 58 > a ? !0 : 65 > a ? !1 : 91 > a ? !0 : 97 > a ? a === 95 : 123 > a ? !0 : 170 <= a && Hr.test(String.fromCharCode(a));
143
143
  }
144
144
  function n(a) {
145
145
  return 65 > a ? a === 36 : 91 > a ? !0 : 97 > a ? a === 95 : 123 > a ? !0 : 170 <= a && qn.test(String.fromCharCode(a));
@@ -170,15 +170,15 @@ var W, ci = function(e) {
170
170
  this.line = Te, this.ab = d - ge;
171
171
  }
172
172
  function s(a, l) {
173
- Ne = d, F.C && (Pt = new o()), O = a, f(), fe = l, He = a.m;
173
+ Pe = d, F.C && (Pt = new o()), O = a, f(), fe = l, He = a.m;
174
174
  }
175
175
  function c() {
176
- for (var a = d, l = F.va && F.C && new o(), u = S.charCodeAt(d += 2); d < Pe && u !== 10 && u !== 13 && u !== 8232 && u !== 8233; )
176
+ for (var a = d, l = F.va && F.C && new o(), u = S.charCodeAt(d += 2); d < Oe && u !== 10 && u !== 13 && u !== 8232 && u !== 8233; )
177
177
  ++d, u = S.charCodeAt(d);
178
178
  F.va && F.va(!1, S.slice(a + 2, d), a, d, l, F.C && new o());
179
179
  }
180
180
  function f() {
181
- for (; d < Pe; ) {
181
+ for (; d < Oe; ) {
182
182
  var a = S.charCodeAt(d);
183
183
  if (a === 32)
184
184
  ++d;
@@ -202,7 +202,7 @@ var W, ci = function(e) {
202
202
  break;
203
203
  else if (a === 160)
204
204
  ++d;
205
- else if (5760 <= a && Kr.test(String.fromCharCode(a)))
205
+ else if (5760 <= a && $r.test(String.fromCharCode(a)))
206
206
  ++d;
207
207
  else
208
208
  break;
@@ -228,7 +228,7 @@ var W, ci = function(e) {
228
228
  case 123:
229
229
  return ++d, s(Ge);
230
230
  case 125:
231
- return ++d, s(Me);
231
+ return ++d, s(Fe);
232
232
  case 58:
233
233
  return ++d, s(qe);
234
234
  case 63:
@@ -252,7 +252,7 @@ var W, ci = function(e) {
252
252
  case 39:
253
253
  d++;
254
254
  for (var l = ""; ; ) {
255
- d >= Pe && r(Q, "Unterminated string constant");
255
+ d >= Oe && r(Q, "Unterminated string constant");
256
256
  var u = S.charCodeAt(d);
257
257
  if (u === a) {
258
258
  ++d, s(ft, l);
@@ -315,26 +315,26 @@ var W, ci = function(e) {
315
315
  return;
316
316
  case 37:
317
317
  case 42:
318
- S.charCodeAt(d + 1) === 61 ? x(Ae, 2) : x(_r, 1);
318
+ S.charCodeAt(d + 1) === 61 ? x(Ae, 2) : x(Lr, 1);
319
319
  return;
320
320
  case 124:
321
321
  case 38:
322
- l = S.charCodeAt(d + 1), l === a ? x(a === 124 ? Kn : zn, 2) : l === 61 ? x(Ae, 2) : x(a === 124 ? Mr : Dr, 1);
322
+ l = S.charCodeAt(d + 1), l === a ? x(a === 124 ? Kn : zn, 2) : l === 61 ? x(Ae, 2) : x(a === 124 ? Nr : Mr, 1);
323
323
  return;
324
324
  case 94:
325
- S.charCodeAt(d + 1) === 61 ? x(Ae, 2) : x(Br, 1);
325
+ S.charCodeAt(d + 1) === 61 ? x(Ae, 2) : x(Fr, 1);
326
326
  return;
327
327
  case 43:
328
328
  case 45:
329
- l = S.charCodeAt(d + 1), l === a ? l === 45 && S.charCodeAt(d + 2) === 62 && pt.test(S.slice(we, d)) ? (d += 3, c(), f(), v()) : x(Fr, 2) : l === 61 ? x(Ae, 2) : x(Wr, 1);
329
+ l = S.charCodeAt(d + 1), l === a ? l === 45 && S.charCodeAt(d + 2) === 62 && pt.test(S.slice(we, d)) ? (d += 3, c(), f(), v()) : x(Pr, 2) : l === 61 ? x(Ae, 2) : x(Vr, 1);
330
330
  return;
331
331
  case 60:
332
332
  case 62:
333
- l = S.charCodeAt(d + 1), u = 1, l === a ? (u = a === 62 && S.charCodeAt(d + 2) === 62 ? 3 : 2, S.charCodeAt(d + u) === 61 ? x(Ae, u + 1) : x(Lr, u)) : l === 33 && a === 60 && S.charCodeAt(d + 2) === 45 && S.charCodeAt(d + 3) === 45 ? (d += 4, c(), f(), v()) : (l === 61 && (u = S.charCodeAt(d + 2) === 61 ? 3 : 2), x(Vr, u));
333
+ l = S.charCodeAt(d + 1), u = 1, l === a ? (u = a === 62 && S.charCodeAt(d + 2) === 62 ? 3 : 2, S.charCodeAt(d + u) === 61 ? x(Ae, u + 1) : x(Ur, u)) : l === 33 && a === 60 && S.charCodeAt(d + 2) === 45 && S.charCodeAt(d + 3) === 45 ? (d += 4, c(), f(), v()) : (l === 61 && (u = S.charCodeAt(d + 2) === 61 ? 3 : 2), x(Dr, u));
334
334
  return;
335
335
  case 61:
336
336
  case 33:
337
- S.charCodeAt(d + 1) === 61 ? x(Ur, S.charCodeAt(d + 2) === 61 ? 3 : 2) : x(a === 61 ? $n : Hn, 1);
337
+ S.charCodeAt(d + 1) === 61 ? x(Br, S.charCodeAt(d + 2) === 61 ? 3 : 2) : x(a === 61 ? $n : Hn, 1);
338
338
  return;
339
339
  case 126:
340
340
  return x(Hn, 1);
@@ -344,7 +344,7 @@ var W, ci = function(e) {
344
344
  function v(a) {
345
345
  if (a ? d = Q + 1 : Q = d, F.C && (Ot = new o()), a)
346
346
  return D();
347
- if (d >= Pe)
347
+ if (d >= Oe)
348
348
  return s(Mt);
349
349
  if (a = S.charCodeAt(d), n(a) || a === 92)
350
350
  return q();
@@ -360,7 +360,7 @@ var W, ci = function(e) {
360
360
  }
361
361
  function D() {
362
362
  for (var a, l, u = d; ; ) {
363
- d >= Pe && r(u, "Unterminated regexp");
363
+ d >= Oe && r(u, "Unterminated regexp");
364
364
  var m = S.charAt(d);
365
365
  if (pt.test(m) && r(u, "Unterminated regexp"), a)
366
366
  a = !1;
@@ -402,27 +402,27 @@ var W, ci = function(e) {
402
402
  return a = T(16, a), a === null && r(Q, "Bad character escape sequence"), a;
403
403
  }
404
404
  function V() {
405
- Be = !1;
405
+ Me = !1;
406
406
  for (var a, l = !0, u = d; ; ) {
407
407
  var m = S.charCodeAt(d);
408
408
  if (t(m))
409
- Be && (a += S.charAt(d)), ++d;
409
+ Me && (a += S.charAt(d)), ++d;
410
410
  else if (m === 92) {
411
- Be || (a = S.slice(u, d)), Be = !0, S.charCodeAt(++d) !== 117 && r(d, "Expecting Unicode escape sequence \\uXXXX"), ++d, m = A(4);
411
+ Me || (a = S.slice(u, d)), Me = !0, S.charCodeAt(++d) !== 117 && r(d, "Expecting Unicode escape sequence \\uXXXX"), ++d, m = A(4);
412
412
  var P = String.fromCharCode(m);
413
413
  P || r(d - 1, "Invalid Unicode escape"), (l ? n(m) : t(m)) || r(d - 4, "Invalid Unicode escape"), a += P;
414
414
  } else
415
415
  break;
416
416
  l = !1;
417
417
  }
418
- return Be ? a : S.slice(u, d);
418
+ return Me ? a : S.slice(u, d);
419
419
  }
420
420
  function q() {
421
- var a = V(), l = Fe;
422
- !Be && Hr(a) && (l = Nr[a]), s(l, a);
421
+ var a = V(), l = Ne;
422
+ !Me && _r(a) && (l = Or[a]), s(l, a);
423
423
  }
424
424
  function b() {
425
- Nt = Q, we = Ne, Ft = Pt, v();
425
+ Nt = Q, we = Pe, Ft = Pt, v();
426
426
  }
427
427
  function $(a) {
428
428
  if (de = a, d = Q, F.C)
@@ -455,7 +455,7 @@ var W, ci = function(e) {
455
455
  return O === a ? (b(), !0) : !1;
456
456
  }
457
457
  function X() {
458
- return !F.fc && (O === Mt || O === Me || pt.test(S.slice(we, Q)));
458
+ return !F.fc && (O === Mt || O === Fe || pt.test(S.slice(we, Q)));
459
459
  }
460
460
  function ue() {
461
461
  M(ve) || X() || I();
@@ -477,7 +477,7 @@ var W, ci = function(e) {
477
477
  case wn:
478
478
  b();
479
479
  var u = a === Bt;
480
- M(ve) || X() ? l.label = null : O !== Fe ? I() : (l.label = pe(), ue());
480
+ M(ve) || X() ? l.label = null : O !== Ne ? I() : (l.label = pe(), ue());
481
481
  for (var m = 0; m < Y.length; ++m) {
482
482
  var P = Y[m];
483
483
  if ((l.label === null || P.name === l.label.name) && (P.kind !== null && (u || P.kind === "loop") || l.label && u))
@@ -497,7 +497,7 @@ var W, ci = function(e) {
497
497
  case On:
498
498
  return Ke || F.Ib || r(Q, "'return' outside of function"), b(), M(ve) || X() ? l.K = null : (l.K = oe(), ue()), g(l, "ReturnStatement");
499
499
  case Vt:
500
- for (b(), l.Qb = U(), l.tb = [], z(Ge), Y.push(Gr); O !== Me; )
500
+ for (b(), l.Qb = U(), l.tb = [], z(Ge), Y.push(Kr); O !== Fe; )
501
501
  O === Dt || O === En ? (a = O === Dt, m && g(m, "SwitchCase"), l.tb.push(m = L()), m.da = [], b(), a ? m.test = oe() : (u && r(Nt, "Multiple default clauses"), u = !0, m.test = null), z(qe)) : (m || I(), m.da.push(R()));
502
502
  return m && g(m, "SwitchCase"), b(), Y.pop(), g(l, "SwitchStatement");
503
503
  case Pn:
@@ -515,7 +515,7 @@ var W, ci = function(e) {
515
515
  case ve:
516
516
  return b(), g(l, "EmptyStatement");
517
517
  default:
518
- if (u = fe, P = oe(), a === Fe && P.type === "Identifier" && M(qe)) {
518
+ if (u = fe, P = oe(), a === Ne && P.type === "Identifier" && M(qe)) {
519
519
  for (m = 0; m < Y.length; ++m)
520
520
  Y[m].name === u && r(P.start, "Label '" + u + "' is already declared");
521
521
  return Y.push({
@@ -533,7 +533,7 @@ var W, ci = function(e) {
533
533
  }
534
534
  function K(a) {
535
535
  var l = L(), u = !0, m = !1;
536
- for (l.body = [], z(Ge); !M(Me); ) {
536
+ for (l.body = [], z(Ge); !M(Fe); ) {
537
537
  var P = R();
538
538
  if (l.body.push(P), u && a && H(P)) {
539
539
  var ee = m;
@@ -602,12 +602,12 @@ var W, ci = function(e) {
602
602
  case Bn:
603
603
  var a = L();
604
604
  return b(), g(a, "ThisExpression");
605
- case Fe:
605
+ case Ne:
606
606
  return pe();
607
607
  case ze:
608
608
  case ft:
609
609
  case Sn:
610
- return a = L(), a.value = fe, a.raw = S.slice(Q, Ne), b(), g(a, "Literal");
610
+ return a = L(), a.value = fe, a.raw = S.slice(Q, Pe), b(), g(a, "Literal");
611
611
  case Dn:
612
612
  case Un:
613
613
  case Vn:
@@ -617,14 +617,14 @@ var W, ci = function(e) {
617
617
  var l = Q;
618
618
  b();
619
619
  var u = oe();
620
- return u.start = l, u.end = Ne, F.C && (u.X.start = a, u.X.end = Pt), F.Xa && (u.j = [l, Ne]), z(he), u;
620
+ return u.start = l, u.end = Pe, F.C && (u.X.start = a, u.X.end = Pt), F.Xa && (u.j = [l, Pe]), z(he), u;
621
621
  case _t:
622
622
  return a = L(), b(), a.elements = jt($t, !0, !0), g(a, "ArrayExpression");
623
623
  case Ge:
624
- for (a = L(), l = !0, u = !1, a.h = [], b(); !M(Me); ) {
624
+ for (a = L(), l = !0, u = !1, a.h = [], b(); !M(Fe); ) {
625
625
  if (l)
626
626
  l = !1;
627
- else if (z(Ce), F.sb && M(Me))
627
+ else if (z(Ce), F.sb && M(Fe))
628
628
  break;
629
629
  var m = {
630
630
  key: O === ze || O === ft ? dt() : pe(!0)
@@ -636,10 +636,10 @@ var W, ci = function(e) {
636
636
  m.key.type !== "Identifier" || m.key.name !== "get" && m.key.name !== "set" ? I() : (P = u = !0, ee = m.kind = m.key.name, m.key = O === ze || O === ft ? dt() : pe(!0), O !== ye && I(), m.value = At(L(), !1));
637
637
  if (m.key.type === "Identifier" && (de || u))
638
638
  for (var se = 0; se < a.h.length; ++se) {
639
- var De = a.h[se];
640
- if (De.key.name === m.key.name) {
641
- var Kt = ee === De.kind || P && De.kind === "init" || ee === "init" && (De.kind === "get" || De.kind === "set");
642
- Kt && !de && ee === "init" && De.kind === "init" && (Kt = !1), Kt && r(m.key.start, "Redefinition of property");
639
+ var Be = a.h[se];
640
+ if (Be.key.name === m.key.name) {
641
+ var Kt = ee === Be.kind || P && Be.kind === "init" || ee === "init" && (Be.kind === "get" || Be.kind === "set");
642
+ Kt && !de && ee === "init" && Be.kind === "init" && (Kt = !1), Kt && r(m.key.start, "Redefinition of property");
643
643
  }
644
644
  }
645
645
  a.h.push(m);
@@ -648,12 +648,12 @@ var W, ci = function(e) {
648
648
  case Ut:
649
649
  return a = L(), b(), At(a, !1);
650
650
  case Mn:
651
- return a = L(), b(), a.callee = $e(dt(), !0), a.arguments = M(ye) ? jt(he, !1) : Pr, g(a, "NewExpression");
651
+ return a = L(), b(), a.callee = $e(dt(), !0), a.arguments = M(ye) ? jt(he, !1) : Rr, g(a, "NewExpression");
652
652
  }
653
653
  I();
654
654
  }
655
655
  function At(a, l) {
656
- O === Fe ? a.id = pe() : l ? I() : a.id = null, a.oa = [];
656
+ O === Ne ? a.id = pe() : l ? I() : a.id = null, a.oa = [];
657
657
  var u = !0;
658
658
  for (z(ye); !M(he); )
659
659
  u ? u = !1 : z(Ce), a.oa.push(pe());
@@ -679,12 +679,12 @@ var W, ci = function(e) {
679
679
  }
680
680
  function pe(a) {
681
681
  var l = L();
682
- return a && F.yb === "everywhere" && (a = !1), O === Fe ? (!a && (F.yb && $r(fe) || de && Gn(fe)) && S.slice(Q, Ne).indexOf("\\") === -1 && r(Q, "The keyword '" + fe + "' is reserved"), l.name = fe) : a && O.l ? l.name = O.l : I(), He = !1, b(), g(l, "Identifier");
682
+ return a && F.yb === "everywhere" && (a = !1), O === Ne ? (!a && (F.yb && Wr(fe) || de && Gn(fe)) && S.slice(Q, Pe).indexOf("\\") === -1 && r(Q, "The keyword '" + fe + "' is reserved"), l.name = fe) : a && O.l ? l.name = O.l : I(), He = !1, b(), g(l, "Identifier");
683
683
  }
684
684
  e.version = "0.5.0";
685
- var F, S = "", Pe, Rt;
685
+ var F, S = "", Oe, Rt;
686
686
  e.parse = function(a, l) {
687
- S = String(a), Pe = S.length, F = l || {};
687
+ S = String(a), Oe = S.length, F = l || {};
688
688
  for (var u in xn)
689
689
  Object.prototype.hasOwnProperty.call(F, u) || (F[u] = xn[u]);
690
690
  for (Rt = F.sourceFile, Te = 1, d = ge = 0, He = !0, f(), u = F.dc, Nt = we = d, F.C && (Ft = new o()), Ke = de = !1, Y = [], v(), a = u || L(), l = !0, u || (a.body = []); O !== Mt; )
@@ -702,13 +702,13 @@ var W, ci = function(e) {
702
702
  dc: null,
703
703
  sourceFile: null,
704
704
  vb: null
705
- }, d = 0, Q = 0, Ne = 0, Ot, Pt, O, fe, He, Te, ge, Nt = 0, we = 0, Ft, Ke, Y, de, Pr = [], ze = {
705
+ }, d = 0, Q = 0, Pe = 0, Ot, Pt, O, fe, He, Te, ge, Nt = 0, we = 0, Ft, Ke, Y, de, Rr = [], ze = {
706
706
  type: "num"
707
707
  }, Sn = {
708
708
  type: "regexp"
709
709
  }, ft = {
710
710
  type: "string"
711
- }, Fe = {
711
+ }, Ne = {
712
712
  type: "name"
713
713
  }, Mt = {
714
714
  type: "eof"
@@ -775,7 +775,7 @@ var W, ci = function(e) {
775
775
  l: "in",
776
776
  L: 7,
777
777
  m: !0
778
- }, Nr = {
778
+ }, Or = {
779
779
  break: Bt,
780
780
  case: Dt,
781
781
  catch: kn,
@@ -829,7 +829,7 @@ var W, ci = function(e) {
829
829
  }, Ge = {
830
830
  type: "{",
831
831
  m: !0
832
- }, Me = {
832
+ }, Fe = {
833
833
  type: "}"
834
834
  }, ye = {
835
835
  type: "(",
@@ -859,7 +859,7 @@ var W, ci = function(e) {
859
859
  }, Ae = {
860
860
  Cb: !0,
861
861
  m: !0
862
- }, Fr = {
862
+ }, Pr = {
863
863
  cc: !0,
864
864
  prefix: !0,
865
865
  $b: !0
@@ -872,38 +872,38 @@ var W, ci = function(e) {
872
872
  }, zn = {
873
873
  L: 2,
874
874
  m: !0
875
- }, Mr = {
875
+ }, Nr = {
876
876
  L: 3,
877
877
  m: !0
878
- }, Br = {
878
+ }, Fr = {
879
879
  L: 4,
880
880
  m: !0
881
- }, Dr = {
881
+ }, Mr = {
882
882
  L: 5,
883
883
  m: !0
884
- }, Ur = {
884
+ }, Br = {
885
885
  L: 6,
886
886
  m: !0
887
- }, Vr = {
887
+ }, Dr = {
888
888
  L: 7,
889
889
  m: !0
890
- }, Lr = {
890
+ }, Ur = {
891
891
  L: 8,
892
892
  m: !0
893
- }, Wr = {
893
+ }, Vr = {
894
894
  L: 9,
895
895
  prefix: !0,
896
896
  m: !0
897
- }, _r = {
897
+ }, Lr = {
898
898
  L: 10,
899
899
  m: !0
900
- }, $r = i("class enum extends super const export import"), Gn = i("implements interface let package private protected public static yield"), mt = i("eval arguments"), Hr = i("break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this"), Kr = /[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/, qn = RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ]"), zr = RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ̀-ͯ҃-֑҇-ׇֽֿׁׂׅׄؐ-ؚؠ-ىٲ-ۓۧ-ۨۻ-ۼܰ-݊ࠀ-ࠔࠛ-ࠣࠥ-ࠧࠩ-࠭ࡀ-ࡗࣤ-ࣾऀ-ःऺ-़ा-ॏ॑-ॗॢ-ॣ०-९ঁ-ঃ়া-ৄেৈৗয়-ৠਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢ-ૣ૦-૯ଁ-ଃ଼ା-ୄେୈୋ-୍ୖୗୟ-ୠ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఁ-ఃె-ైొ-్ౕౖౢ-ౣ౦-౯ಂಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢ-ೣ೦-೯ംഃെ-ൈൗൢ-ൣ൦-൯ංඃ්ා-ුූෘ-ෟෲෳิ-ฺเ-ๅ๐-๙ິ-ູ່-ໍ໐-໙༘༙༠-༩༹༵༷ཁ-ཇཱ-྄྆-྇ྍ-ྗྙ-ྼ࿆က-ဩ၀-၉ၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟ᜎ-ᜐᜠ-ᜰᝀ-ᝐᝲᝳក-ឲ៝០-៩᠋-᠍᠐-᠙ᤠ-ᤫᤰ-᤻ᥑ-ᥭᦰ-ᧀᧈ-ᧉ᧐-᧙ᨀ-ᨕᨠ-ᩓ᩠-᩿᩼-᪉᪐-᪙ᭆ-ᭋ᭐-᭙᭫-᭳᮰-᮹᯦-᯳ᰀ-ᰢ᱀-᱉ᱛ-ᱽ᳐-᳒ᴀ-ᶾḁ-ἕ‌‍‿⁀⁔⃐-⃥⃜⃡-⃰ⶁ-ⶖⷠ-ⷿ〡-〨゙゚Ꙁ-ꙭꙴ-꙽ꚟ꛰-꛱ꟸ-ꠀ꠆ꠋꠣ-ꠧꢀ-ꢁꢴ-꣄꣐-꣙ꣳ-ꣷ꤀-꤉ꤦ-꤭ꤰ-ꥅꦀ-ꦃ꦳-꧀ꨀ-ꨧꩀ-ꩁꩌ-ꩍ꩐-꩙ꩻꫠ-ꫩꫲ-ꫳꯀ-ꯡ꯬꯭꯰-꯹ﬠ-ﬨ︀-️︠-︦︳︴﹍-﹏0-9_]"), pt = /[\n\r\u2028\u2029]/, gt = /\r\n|[\n\r\u2028\u2029]/g, Be, Ht = {
900
+ }, Wr = i("class enum extends super const export import"), Gn = i("implements interface let package private protected public static yield"), mt = i("eval arguments"), _r = i("break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this"), $r = /[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/, qn = RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ]"), Hr = RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ̀-ͯ҃-֑҇-ׇֽֿׁׂׅׄؐ-ؚؠ-ىٲ-ۓۧ-ۨۻ-ۼܰ-݊ࠀ-ࠔࠛ-ࠣࠥ-ࠧࠩ-࠭ࡀ-ࡗࣤ-ࣾऀ-ःऺ-़ा-ॏ॑-ॗॢ-ॣ०-९ঁ-ঃ়া-ৄেৈৗয়-ৠਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢ-ૣ૦-૯ଁ-ଃ଼ା-ୄେୈୋ-୍ୖୗୟ-ୠ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఁ-ఃె-ైొ-్ౕౖౢ-ౣ౦-౯ಂಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢ-ೣ೦-೯ംഃെ-ൈൗൢ-ൣ൦-൯ංඃ්ා-ුූෘ-ෟෲෳิ-ฺเ-ๅ๐-๙ິ-ູ່-ໍ໐-໙༘༙༠-༩༹༵༷ཁ-ཇཱ-྄྆-྇ྍ-ྗྙ-ྼ࿆က-ဩ၀-၉ၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟ᜎ-ᜐᜠ-ᜰᝀ-ᝐᝲᝳក-ឲ៝០-៩᠋-᠍᠐-᠙ᤠ-ᤫᤰ-᤻ᥑ-ᥭᦰ-ᧀᧈ-ᧉ᧐-᧙ᨀ-ᨕᨠ-ᩓ᩠-᩿᩼-᪉᪐-᪙ᭆ-ᭋ᭐-᭙᭫-᭳᮰-᮹᯦-᯳ᰀ-ᰢ᱀-᱉ᱛ-ᱽ᳐-᳒ᴀ-ᶾḁ-ἕ‌‍‿⁀⁔⃐-⃥⃜⃡-⃰ⶁ-ⶖⷠ-ⷿ〡-〨゙゚Ꙁ-ꙭꙴ-꙽ꚟ꛰-꛱ꟸ-ꠀ꠆ꠋꠣ-ꠧꢀ-ꢁꢴ-꣄꣐-꣙ꣳ-ꣷ꤀-꤉ꤦ-꤭ꤰ-ꥅꦀ-ꦃ꦳-꧀ꨀ-ꨧꩀ-ꩁꩌ-ꩍ꩐-꩙ꩻꫠ-ꫩꫲ-ꫳꯀ-ꯡ꯬꯭꯰-꯹ﬠ-ﬨ︀-️︠-︦︳︴﹍-﹏0-9_]"), pt = /[\n\r\u2028\u2029]/, gt = /\r\n|[\n\r\u2028\u2029]/g, Me, Ht = {
901
901
  kind: "loop"
902
- }, Gr = {
902
+ }, Kr = {
903
903
  kind: "switch"
904
904
  };
905
905
  }, Jt = Jt = typeof globalThis == "undefined" ? void 0 : globalThis;
906
- ci(Jt.j || (Jt.j = {}));
906
+ si(Jt.j || (Jt.j = {}));
907
907
  function y(e, t) {
908
908
  typeof e == "string" && (e = Le(e, "code"));
909
909
  var n = e.constructor;
@@ -922,7 +922,7 @@ function y(e, t) {
922
922
  this.N = Yt(this, this.ra, null), this.Na = this.N.object, this.ra = Le(this.ba.join(`
923
923
  `), "polyfills"), this.ba = void 0, kt(this.ra), o = new C(this.ra, this.N), o.done = !1, this.o = [o], this.Eb(), this.value = void 0, this.ra = r, o = new C(this.ra, this.N), o.done = !1, this.o.length = 0, this.o[0] = o;
924
924
  }
925
- var Qn = {
925
+ var Zn = {
926
926
  C: !0,
927
927
  kc: 5
928
928
  }, on = {
@@ -941,19 +941,19 @@ var Qn = {
941
941
  configurable: !1,
942
942
  enumerable: !1,
943
943
  writable: !1
944
- }, er = {
944
+ }, Qn = {
945
945
  configurable: !1,
946
946
  enumerable: !0,
947
947
  writable: !0
948
- }, yr = {
948
+ }, gr = {
949
949
  STEP_ERROR: !0
950
950
  }, _e = {
951
951
  SCOPE_REFERENCE: !0
952
952
  }, rt = {
953
953
  VALUE_IN_DESCRIPTOR: !0
954
- }, Ue = {
954
+ }, De = {
955
955
  REGEXP_TIMEOUT: !0
956
- }, tr = [], xe = null, et = null, Ee = typeof globalThis == "undefined" ? void 0 : globalThis, ui = ["onmessage = function(e) {", "var result;", "var data = e.data;", "switch (data[0]) {", "case 'split':", "result = data[1].split(data[2], data[3]);", "break;", "case 'match':", "result = data[1].match(data[2]);", "break;", "case 'search':", "result = data[1].search(data[2]);", "break;", "case 'replace':", "result = data[1].replace(data[2], data[3]);", "break;", "case 'exec':", "var regexp = data[1];", "regexp.lastIndex = data[2];", "result = [regexp.exec(data[3]), data[1].lastIndex];", "break;", "default:", "throw Error('Unknown RegExp operation: ' + data[0]);", "}", "postMessage(result);", "close();", "};"];
956
+ }, er = [], xe = null, et = null, Ee = typeof globalThis == "undefined" ? void 0 : globalThis, li = ["onmessage = function(e) {", "var result;", "var data = e.data;", "switch (data[0]) {", "case 'split':", "result = data[1].split(data[2], data[3]);", "break;", "case 'match':", "result = data[1].match(data[2]);", "break;", "case 'search':", "result = data[1].search(data[2]);", "break;", "case 'replace':", "result = data[1].replace(data[2], data[3]);", "break;", "case 'exec':", "var regexp = data[1];", "regexp.lastIndex = data[2];", "result = [regexp.exec(data[3]), data[1].lastIndex];", "break;", "default:", "throw Error('Unknown RegExp operation: ' + data[0]);", "}", "postMessage(result);", "close();", "};"];
957
957
  function an(e) {
958
958
  var t = e >>> 0;
959
959
  return t === Number(e) ? t : NaN;
@@ -980,8 +980,8 @@ W.Kb = 0;
980
980
  W.ic = 0;
981
981
  function Le(e, t) {
982
982
  var n = {}, r;
983
- for (r in Qn)
984
- n[r] = Qn[r];
983
+ for (r in Zn)
984
+ n[r] = Zn[r];
985
985
  return n.sourceFile = t, Ee.j.parse(e, n);
986
986
  }
987
987
  W.Jb = function(e) {
@@ -1004,7 +1004,7 @@ W.lb = function() {
1004
1004
  if (n = this.ca[0], !n || n.time > Date.now())
1005
1005
  n = null;
1006
1006
  else {
1007
- this.ca.shift(), 0 <= n.interval && xr(this, n, n.interval);
1007
+ this.ca.shift(), 0 <= n.interval && br(this, n, n.interval);
1008
1008
  var r = new C(n.node, n.scope);
1009
1009
  n.zb && (r.ia = 2, r.B = this.Na, r.U = n.zb, r.Qa = !0, r.F = n.Lb), n = r;
1010
1010
  }
@@ -1017,7 +1017,7 @@ W.lb = function() {
1017
1017
  try {
1018
1018
  var o = this.rb[r.type](e, n, r);
1019
1019
  } catch (s) {
1020
- if (s !== yr)
1020
+ if (s !== gr)
1021
1021
  throw this.value !== s && (this.value = void 0), s;
1022
1022
  } finally {
1023
1023
  et = i;
@@ -1035,8 +1035,8 @@ W.Eb = function() {
1035
1035
  ;
1036
1036
  return this.za;
1037
1037
  };
1038
- function di(e, t) {
1039
- e.g(t, "NaN", NaN, Je), e.g(t, "Infinity", 1 / 0, Je), e.g(t, "undefined", void 0, Je), e.g(t, "window", t, on), e.g(t, "this", t, Je), e.g(t, "self", t), e.M = new B(null), e.Z = new B(e.M), fi(e, t), hi(e, t), t.xa = e.M, e.g(t, "constructor", e.v, w), mi(e, t), pi(e, t), gi(e, t), yi(e, t), vi(e, t), bi(e, t), xi(e, t), Si(e, t), ki(e, t);
1038
+ function ci(e, t) {
1039
+ e.g(t, "NaN", NaN, Je), e.g(t, "Infinity", 1 / 0, Je), e.g(t, "undefined", void 0, Je), e.g(t, "window", t, on), e.g(t, "this", t, Je), e.g(t, "self", t), e.M = new B(null), e.Z = new B(e.M), ui(e, t), di(e, t), t.xa = e.M, e.g(t, "constructor", e.v, w), fi(e, t), hi(e, t), mi(e, t), pi(e, t), gi(e, t), yi(e, t), vi(e, t), bi(e, t), xi(e, t);
1040
1040
  var n = e.i(function() {
1041
1041
  throw EvalError("Can't happen");
1042
1042
  }, !1);
@@ -1052,17 +1052,17 @@ function di(e, t) {
1052
1052
  };
1053
1053
  }(r[i][0]), e.g(t, r[i][1], e.i(n, !1), w);
1054
1054
  n = function(o) {
1055
- return nr(e, !1, arguments);
1055
+ return tr(e, !1, arguments);
1056
1056
  }, e.g(t, "setTimeout", e.i(n, !1), w), n = function(o) {
1057
- return nr(e, !0, arguments);
1057
+ return tr(e, !0, arguments);
1058
1058
  }, e.g(t, "setInterval", e.i(n, !1), w), n = function(o) {
1059
- rr(e, o);
1059
+ nr(e, o);
1060
1060
  }, e.g(t, "clearTimeout", e.i(n, !1), w), n = function(o) {
1061
- rr(e, o);
1061
+ nr(e, o);
1062
1062
  }, e.g(t, "clearInterval", e.i(n, !1), w), e.OBJECT = e.v, e.OBJECT_PROTO = e.M, e.FUNCTION = e.O, e.FUNCTION_PROTO = e.Z, e.ARRAY = e.qa, e.ARRAY_PROTO = e.La, e.REGEXP = e.I, e.REGEXP_PROTO = e.Ma, e.DATE = e.$, e.DATE_PROTO = e.nb, e.qb && e.qb(e, t);
1063
1063
  }
1064
1064
  W.Wb = 0;
1065
- function fi(e, t) {
1065
+ function ui(e, t) {
1066
1066
  var n = /^[A-Za-z_$][\w$]*$/, r = function(i) {
1067
1067
  var o = arguments.length ? String(arguments[arguments.length - 1]) : "", s = Array.prototype.slice.call(arguments, 0, -1).join(",").trim();
1068
1068
  if (s) {
@@ -1083,7 +1083,7 @@ function fi(e, t) {
1083
1083
  e.O = e.i(r, !0), e.g(t, "Function", e.O, w), e.g(e.O, "prototype", e.Z, w), e.g(e.Z, "constructor", e.O, w), e.Z.Ta = function() {
1084
1084
  }, e.Z.Ta.id = e.Ya++, e.Z.Ab = !0, e.g(e.Z, "length", 0, ce), e.Z.H = "Function", r = function(i, o) {
1085
1085
  var s = e.o[e.o.length - 1];
1086
- s.U = this, s.B = i, s.F = [], o != null && (o instanceof B ? s.F = vr(e, o) : E(e, e.j, "CreateListFromArrayLike called on non-object")), s.eb = !1;
1086
+ s.U = this, s.B = i, s.F = [], o != null && (o instanceof B ? s.F = yr(e, o) : E(e, e.j, "CreateListFromArrayLike called on non-object")), s.eb = !1;
1087
1087
  }, ne(e, e.O, "apply", r), r = function(i) {
1088
1088
  var o = e.o[e.o.length - 1];
1089
1089
  o.U = this, o.B = i, o.F = [];
@@ -1096,7 +1096,7 @@ function fi(e, t) {
1096
1096
  return this.valueOf();
1097
1097
  }, ne(e, e.O, "valueOf", r), e.g(e.O, "valueOf", e.i(r, !1), w);
1098
1098
  }
1099
- function hi(e, t) {
1099
+ function di(e, t) {
1100
1100
  function n(i) {
1101
1101
  i != null || E(e, e.j, "Cannot convert '" + i + "' to object");
1102
1102
  }
@@ -1141,7 +1141,7 @@ function hi(e, t) {
1141
1141
  }
1142
1142
  }, ne(e, e.v, "isPrototypeOf", r);
1143
1143
  }
1144
- function mi(e, t) {
1144
+ function fi(e, t) {
1145
1145
  var n = function(r) {
1146
1146
  var i = ke(e) ? this : We(e), o = arguments[0];
1147
1147
  if (arguments.length === 1 && typeof o == "number")
@@ -1161,7 +1161,7 @@ function mi(e, t) {
1161
1161
  writable: !0
1162
1162
  }), e.La.H = "Array", e.ba.push("(function() {", "function createArrayMethod_(f) {", "Object.defineProperty(Array.prototype, f.name,", "{configurable: true, writable: true, value: f});", "}", "createArrayMethod_(", "function pop() {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "if (!len || len < 0) {", "o.length = 0;", "return undefined;", "}", "len--;", "var x = o[len];", "delete o[len];", "o.length = len;", "return x;", "}", ");", "createArrayMethod_(", "function push(var_args) {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "for (var i = 0; i < arguments.length; i++) {", "o[len] = arguments[i];", "len++;", "}", "o.length = len;", "return len;", "}", ");", "createArrayMethod_(", "function shift() {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "if (!len || len < 0) {", "o.length = 0;", "return undefined;", "}", "var value = o[0];", "for (var i = 0; i < len - 1; i++) {", "if ((i + 1) in o) {", "o[i] = o[i + 1];", "} else {", "delete o[i];", "}", "}", "delete o[i];", "o.length = len - 1;", "return value;", "}", ");", "createArrayMethod_(", "function unshift(var_args) {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "if (!len || len < 0) {", "len = 0;", "}", "for (var i = len - 1; i >= 0; i--) {", "if (i in o) {", "o[i + arguments.length] = o[i];", "} else {", "delete o[i + arguments.length];", "}", "}", "for (var i = 0; i < arguments.length; i++) {", "o[i] = arguments[i];", "}", "return (o.length = len + arguments.length);", "}", ");", "createArrayMethod_(", "function reverse() {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "if (!len || len < 2) {", "return o;", "}", "for (var i = 0; i < len / 2 - 0.5; i++) {", "var x = o[i];", "var hasX = i in o;", "if ((len - i - 1) in o) {", "o[i] = o[len - i - 1];", "} else {", "delete o[i];", "}", "if (hasX) {", "o[len - i - 1] = x;", "} else {", "delete o[len - i - 1];", "}", "}", "return o;", "}", ");", "createArrayMethod_(", "function indexOf(searchElement, fromIndex) {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "var n = fromIndex | 0;", "if (!len || n >= len) {", "return -1;", "}", "var i = Math.max(n >= 0 ? n : len - Math.abs(n), 0);", "while (i < len) {", "if (i in o && o[i] === searchElement) {", "return i;", "}", "i++;", "}", "return -1;", "}", ");", "createArrayMethod_(", "function lastIndexOf(searchElement, fromIndex) {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "if (!len) {", "return -1;", "}", "var n = len - 1;", "if (arguments.length > 1) {", "n = fromIndex | 0;", "if (n) {", "n = (n > 0 || -1) * Math.floor(Math.abs(n));", "}", "}", "var i = n >= 0 ? Math.min(n, len - 1) : len - Math.abs(n);", "while (i >= 0) {", "if (i in o && o[i] === searchElement) {", "return i;", "}", "i--;", "}", "return -1;", "}", ");", "createArrayMethod_(", "function slice(start, end) {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "start |= 0;", "start = (start >= 0) ? start : Math.max(0, len + start);", "if (typeof end !== 'undefined') {", "if (end !== Infinity) {", "end |= 0;", "}", "if (end < 0) {", "end = len + end;", "} else {", "end = Math.min(end, len);", "}", "} else {", "end = len;", "}", "var size = end - start;", "var cloned = new Array(size);", "for (var i = 0; i < size; i++) {", "if ((start + i) in o) {", "cloned[i] = o[start + i];", "}", "}", "return cloned;", "}", ");", "createArrayMethod_(", "function splice(start, deleteCount, var_args) {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "start |= 0;", "if (start < 0) {", "start = Math.max(len + start, 0);", "} else {", "start = Math.min(start, len);", "}", "if (arguments.length < 1) {", "deleteCount = len - start;", "} else {", "deleteCount |= 0;", "deleteCount = Math.max(0, Math.min(deleteCount, len - start));", "}", "var removed = [];", "for (var i = start; i < start + deleteCount; i++) {", "if (i in o) {", "removed.push(o[i]);", "} else {", "removed.length++;", "}", "if ((i + deleteCount) in o) {", "o[i] = o[i + deleteCount];", "} else {", "delete o[i];", "}", "}", "for (var i = start + deleteCount; i < len - deleteCount; i++) {", "if ((i + deleteCount) in o) {", "o[i] = o[i + deleteCount];", "} else {", "delete o[i];", "}", "}", "for (var i = len - deleteCount; i < len; i++) {", "delete o[i];", "}", "len -= deleteCount;", "var arl = arguments.length - 2;", "for (var i = len - 1; i >= start; i--) {", "if (i in o) {", "o[i + arl] = o[i];", "} else {", "delete o[i + arl];", "}", "}", "len += arl;", "for (var i = 2; i < arguments.length; i++) {", "o[start + i - 2] = arguments[i];", "}", "o.length = len;", "return removed;", "}", ");", "createArrayMethod_(", "function concat(var_args) {", "if (!this) throw TypeError();", "var o = Object(this);", "var cloned = [];", "for (var i = -1; i < arguments.length; i++) {", "var value = (i === -1) ? o : arguments[i];", "if (Array.isArray(value)) {", "for (var j = 0, l = value.length; j < l; j++) {", "if (j in value) {", "cloned.push(value[j]);", "} else {", "cloned.length++;", "}", "}", "} else {", "cloned.push(value);", "}", "}", "return cloned;", "}", ");", "createArrayMethod_(", "function join(opt_separator) {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "var sep = typeof opt_separator === 'undefined' ?", "',' : ('' + opt_separator);", "var str = '';", "for (var i = 0; i < len; i++) {", "if (i && sep) str += sep;", "str += (o[i] === null || o[i] === undefined) ? '' : o[i];", "}", "return str;", "}", ");", "createArrayMethod_(", "function every(callbackfn, thisArg) {", "if (!this || typeof callbackfn !== 'function') throw TypeError();", "var t, k = 0;", "var o = Object(this), len = o.length >>> 0;", "if (arguments.length > 1) t = thisArg;", "while (k < len) {", "if (k in o && !callbackfn.call(t, o[k], k, o)) return false;", "k++;", "}", "return true;", "}", ");", "createArrayMethod_(", "function filter(fun, var_args) {", "if (this === void 0 || this === null || typeof fun !== 'function') throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "var res = [];", "var thisArg = arguments.length >= 2 ? arguments[1] : void 0;", "for (var i = 0; i < len; i++) {", "if (i in o) {", "var val = o[i];", "if (fun.call(thisArg, val, i, o)) res.push(val);", "}", "}", "return res;", "}", ");", "createArrayMethod_(", "function forEach(callback, thisArg) {", "if (!this || typeof callback !== 'function') throw TypeError();", "var t, k = 0;", "var o = Object(this), len = o.length >>> 0;", "if (arguments.length > 1) t = thisArg;", "while (k < len) {", "if (k in o) callback.call(t, o[k], k, o);", "k++;", "}", "}", ");", "createArrayMethod_(", "function map(callback, thisArg) {", "if (!this || typeof callback !== 'function') throw TypeError();", "var t, k = 0;", "var o = Object(this), len = o.length >>> 0;", "if (arguments.length > 1) t = thisArg;", "var a = new Array(len);", "while (k < len) {", "if (k in o) a[k] = callback.call(t, o[k], k, o);", "k++;", "}", "return a;", "}", ");", "createArrayMethod_(", "function reduce(callback /*, initialValue*/) {", "if (!this || typeof callback !== 'function') throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "var k = 0, value;", "if (arguments.length === 2) {", "value = arguments[1];", "} else {", "while (k < len && !(k in o)) k++;", "if (k >= len) {", "throw TypeError('Reduce of empty array with no initial value');", "}", "value = o[k++];", "}", "for (; k < len; k++) {", "if (k in o) value = callback(value, o[k], k, o);", "}", "return value;", "}", ");", "createArrayMethod_(", "function reduceRight(callback /*, initialValue*/) {", "if (null === this || 'undefined' === typeof this || 'function' !== typeof callback) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "var k = len - 1, value;", "if (arguments.length >= 2) {", "value = arguments[1];", "} else {", "while (k >= 0 && !(k in o)) k--;", "if (k < 0) {", "throw TypeError('Reduce of empty array with no initial value');", "}", "value = o[k--];", "}", "for (; k >= 0; k--) {", "if (k in o) value = callback(value, o[k], k, o);", "}", "return value;", "}", ");", "createArrayMethod_(", "function some(fun/*, thisArg*/) {", "if (!this || typeof fun !== 'function') throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "var thisArg = arguments.length >= 2 ? arguments[1] : void 0;", "for (var i = 0; i < len; i++) {", "if (i in o && fun.call(thisArg, o[i], i, o)) return true;", "}", "return false;", "}", ");", "createArrayMethod_(", "function sort(opt_comp) {", "if (!this) throw TypeError();", "if (typeof opt_comp !== 'function') {", "opt_comp = undefined;", "}", "for (var i = 0; i < this.length; i++) {", "var changes = 0;", "for (var j = 0; j < this.length - i - 1; j++) {", "if (opt_comp ? (opt_comp(this[j], this[j + 1]) > 0) :", "(String(this[j]) > String(this[j + 1]))) {", "var swap = this[j];", "var hasSwap = j in this;", "if ((j + 1) in this) {", "this[j] = this[j + 1];", "} else {", "delete this[j];", "}", "if (hasSwap) {", "this[j + 1] = swap;", "} else {", "delete this[j + 1];", "}", "changes++;", "}", "}", "if (!changes) break;", "}", "return this;", "}", ");", "createArrayMethod_(", "function toLocaleString() {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "var out = [];", "for (var i = 0; i < len; i++) {", "out[i] = (o[i] === null || o[i] === undefined) ? '' : o[i].toLocaleString();", "}", "return out.join(',');", "}", ");", "})();", "");
1163
1163
  }
1164
- function pi(e, t) {
1164
+ function hi(e, t) {
1165
1165
  var n = function(r) {
1166
1166
  return r = arguments.length ? Ee.String(r) : "", ke(e) ? (this.data = r, this) : r;
1167
1167
  };
@@ -1182,7 +1182,7 @@ function pi(e, t) {
1182
1182
  string: s,
1183
1183
  separator: r,
1184
1184
  limit: i
1185
- }, r, o), r !== Ue && o(be(e, r));
1185
+ }, r, o), r !== De && o(be(e, r));
1186
1186
  else {
1187
1187
  var c = e.ha(), f = Ze(e, r, c, o);
1188
1188
  c.onmessage = function(p) {
@@ -1199,7 +1199,7 @@ function pi(e, t) {
1199
1199
  r = Xe(e, "string.match(regexp)", {
1200
1200
  string: o,
1201
1201
  regexp: r
1202
- }, r, i), r !== Ue && i(r && be(e, r));
1202
+ }, r, i), r !== De && i(r && be(e, r));
1203
1203
  else {
1204
1204
  var s = e.ha(), c = Ze(e, r, s, i);
1205
1205
  s.onmessage = function(f) {
@@ -1215,7 +1215,7 @@ function pi(e, t) {
1215
1215
  r = Xe(e, "string.search(regexp)", {
1216
1216
  string: o,
1217
1217
  regexp: r
1218
- }, r, i), r !== Ue && i(r);
1218
+ }, r, i), r !== De && i(r);
1219
1219
  else {
1220
1220
  var s = e.ha(), c = Ze(e, r, s, i);
1221
1221
  s.onmessage = function(f) {
@@ -1232,7 +1232,7 @@ function pi(e, t) {
1232
1232
  string: s,
1233
1233
  substr: r,
1234
1234
  newSubstr: i
1235
- }, r, o), r !== Ue && o(r);
1235
+ }, r, o), r !== De && o(r);
1236
1236
  else {
1237
1237
  var c = e.ha(), f = Ze(e, r, c, o);
1238
1238
  c.onmessage = function(p) {
@@ -1244,12 +1244,12 @@ function pi(e, t) {
1244
1244
  o(s.replace(r, i));
1245
1245
  }, Qe(e, e.J, "replace", n), e.ba.push("(function() {", "var replace_ = String.prototype.replace;", "String.prototype.replace = function replace(substr, newSubstr) {", "if (typeof newSubstr !== 'function') {", "return replace_.call(this, substr, newSubstr);", "}", "var str = this;", "if (substr instanceof RegExp) {", "var subs = [];", "var m = substr.exec(str);", "while (m) {", "m.push(m.index, str);", "var inject = newSubstr.apply(null, m);", "subs.push([m.index, m[0].length, inject]);", "m = substr.global ? substr.exec(str) : null;", "}", "for (var i = subs.length - 1; i >= 0; i--) {", "str = str.substring(0, subs[i][0]) + subs[i][2] + str.substring(subs[i][0] + subs[i][1]);", "}", "} else {", "var i = str.indexOf(substr);", "if (i !== -1) {", "var inject = newSubstr(str.substr(i, substr.length), i, str);", "str = str.substring(0, i) + inject + str.substring(i + substr.length);", "}", "}", "return str;", "};", "})();", "");
1246
1246
  }
1247
- function gi(e, t) {
1247
+ function mi(e, t) {
1248
1248
  e.mb = e.i(function(n) {
1249
1249
  return n = Ee.Boolean(n), ke(e) ? (this.data = n, this) : n;
1250
1250
  }, !0), e.g(t, "Boolean", e.mb, w);
1251
1251
  }
1252
- function yi(e, t) {
1252
+ function pi(e, t) {
1253
1253
  var n = function(r) {
1254
1254
  return r = arguments.length ? Ee.Number(r) : 0, ke(e) ? (this.data = r, this) : r;
1255
1255
  };
@@ -1288,7 +1288,7 @@ function yi(e, t) {
1288
1288
  }
1289
1289
  }, ne(e, e.aa, "toLocaleString", n);
1290
1290
  }
1291
- function vi(e, t) {
1291
+ function gi(e, t) {
1292
1292
  var n = function(i, o) {
1293
1293
  if (!ke(e))
1294
1294
  return Ee.Date();
@@ -1307,7 +1307,7 @@ function vi(e, t) {
1307
1307
  };
1308
1308
  }(t[r]), ne(e, e.$, t[r], n);
1309
1309
  }
1310
- function bi(e, t) {
1310
+ function yi(e, t) {
1311
1311
  var n = function(r, i) {
1312
1312
  if (ke(e))
1313
1313
  var o = this;
@@ -1338,7 +1338,7 @@ function bi(e, t) {
1338
1338
  r = Xe(e, "regexp.exec(string)", {
1339
1339
  string: r,
1340
1340
  regexp: s
1341
- }, s, i), r !== Ue && (e.g(this, "lastIndex", s.lastIndex), i(o(r)));
1341
+ }, s, i), r !== De && (e.g(this, "lastIndex", s.lastIndex), i(o(r)));
1342
1342
  else {
1343
1343
  var c = e.ha(), f = Ze(e, s, c, i), p = this;
1344
1344
  c.onmessage = function(v) {
@@ -1349,7 +1349,7 @@ function bi(e, t) {
1349
1349
  r = s.exec(r), e.g(this, "lastIndex", s.lastIndex), i(o(r));
1350
1350
  }, Qe(e, e.I, "exec", n);
1351
1351
  }
1352
- function xi(e, t) {
1352
+ function vi(e, t) {
1353
1353
  function n(r) {
1354
1354
  var i = e.i(function(o) {
1355
1355
  var s = ke(e) ? this : e.Aa(i);
@@ -1362,7 +1362,7 @@ function xi(e, t) {
1362
1362
  return Xt(e, i, r), i;
1363
1363
  }, !0), e.g(t, "Error", e.D, w), e.g(e.D.h.prototype, "message", "", w), e.g(e.D.h.prototype, "name", "Error", w), n("EvalError"), e.ob = n("RangeError"), e.pb = n("ReferenceError"), e.T = n("SyntaxError"), e.j = n("TypeError"), e.Gb = n("URIError");
1364
1364
  }
1365
- function Si(e, t) {
1365
+ function bi(e, t) {
1366
1366
  var n = e.s(e.M);
1367
1367
  e.g(t, "Math", n, w);
1368
1368
  var r = "E LN2 LN10 LOG2E LOG10E PI SQRT1_2 SQRT2".split(" ");
@@ -1371,7 +1371,7 @@ function Si(e, t) {
1371
1371
  for (r = "abs acos asin atan atan2 ceil cos exp floor log max min pow random round sin sqrt tan".split(" "), t = 0; t < r.length; t++)
1372
1372
  e.g(n, r[t], e.i(Math[r[t]], !1), w);
1373
1373
  }
1374
- function ki(e, t) {
1374
+ function xi(e, t) {
1375
1375
  var n = e.s(e.M);
1376
1376
  e.g(t, "JSON", n, w), t = function(r) {
1377
1377
  try {
@@ -1381,7 +1381,7 @@ function ki(e, t) {
1381
1381
  }
1382
1382
  return e.Ia(i);
1383
1383
  }, e.g(n, "parse", e.i(t, !1)), t = function(r, i, o) {
1384
- i && i.H === "Function" ? E(e, e.j, "Function replacer on JSON.stringify not supported") : i && i.H === "Array" ? (i = vr(e, i), i = i.filter(function(c) {
1384
+ i && i.H === "Function" ? E(e, e.j, "Function replacer on JSON.stringify not supported") : i && i.H === "Array" ? (i = yr(e, i), i = i.filter(function(c) {
1385
1385
  return typeof c == "string" || typeof c == "number";
1386
1386
  })) : i = null, typeof o != "string" && typeof o != "number" && (o = void 0), r = e.R(r);
1387
1387
  try {
@@ -1426,7 +1426,7 @@ function Xt(e, t, n) {
1426
1426
  }
1427
1427
  W.ha = function() {
1428
1428
  var e = this.ha.Mb;
1429
- return e || (e = new Blob([ui.join(`
1429
+ return e || (e = new Blob([li.join(`
1430
1430
  `)], {
1431
1431
  type: "application/javascript"
1432
1432
  }), this.ha.Mb = e), new Worker(URL.createObjectURL(e));
@@ -1440,7 +1440,7 @@ function Xe(e, t, n, r, i) {
1440
1440
  } catch {
1441
1441
  i(null), E(e, e.D, "RegExp Timeout: " + r);
1442
1442
  }
1443
- return Ue;
1443
+ return De;
1444
1444
  }
1445
1445
  function Ye(e, t, n) {
1446
1446
  if (e.REGEXP_MODE === 0)
@@ -1567,7 +1567,7 @@ function be(e, t) {
1567
1567
  e.g(n, r[i], t[r[i]]);
1568
1568
  return n;
1569
1569
  }
1570
- function vr(e, t) {
1570
+ function yr(e, t) {
1571
1571
  var n = [], r;
1572
1572
  for (r in t.h)
1573
1573
  n[r] = e.G(t, r);
@@ -1705,12 +1705,12 @@ function Yt(e, t, n) {
1705
1705
  var i = t.body && t.body[0];
1706
1706
  i && i.la && i.la.type === "Literal" && i.la.value === "use strict" && (r = !0);
1707
1707
  }
1708
- return i = e.s(null), r = new Sr(n, r, i), n || di(e, r.object), it(e, t, r), r;
1708
+ return i = e.s(null), r = new xr(n, r, i), n || ci(e, r.object), it(e, t, r), r;
1709
1709
  }
1710
1710
  function dn(e, t, n) {
1711
1711
  if (!t)
1712
1712
  throw Error("parentScope required");
1713
- return e = n || e.s(null), new Sr(t, t.S, e);
1713
+ return e = n || e.s(null), new xr(t, t.S, e);
1714
1714
  }
1715
1715
  function fn(e, t) {
1716
1716
  for (var n = un(e); n && n !== e.N; ) {
@@ -1722,7 +1722,7 @@ function fn(e, t) {
1722
1722
  return e.G(n.object, t);
1723
1723
  n = e.o[e.o.length - 1].node, n.type === "UnaryExpression" && n.operator === "typeof" || E(e, e.pb, t + " is not defined");
1724
1724
  }
1725
- function br(e, t, n) {
1725
+ function vr(e, t, n) {
1726
1726
  for (var r = un(e), i = r.S; r && r !== e.N; ) {
1727
1727
  if (t in r.object.h) {
1728
1728
  try {
@@ -1784,7 +1784,7 @@ function it(e, t, n) {
1784
1784
  t.jb = r;
1785
1785
  }
1786
1786
  for (s in r)
1787
- r[s] === !0 ? e.g(n.object, s, void 0, er) : e.g(n.object, s, cn(e, r[s], n), er);
1787
+ r[s] === !0 ? e.g(n.object, s, void 0, Qn) : e.g(n.object, s, cn(e, r[s], n), Qn);
1788
1788
  return r;
1789
1789
  }
1790
1790
  function ke(e) {
@@ -1794,10 +1794,10 @@ function hn(e, t) {
1794
1794
  return t[0] === _e ? fn(e, t[1]) : e.G(t[0], t[1]);
1795
1795
  }
1796
1796
  function mn(e, t, n) {
1797
- return t[0] === _e ? br(e, t[1], n) : e.g(t[0], t[1], n);
1797
+ return t[0] === _e ? vr(e, t[1], n) : e.g(t[0], t[1], n);
1798
1798
  }
1799
1799
  function E(e, t, n) {
1800
- throw e.N ? (n !== void 0 && t instanceof B && (t = e.Aa(t), Xt(e, t, n)), st(e, 4, t), yr) : n === void 0 ? t : n;
1800
+ throw e.N ? (n !== void 0 && t instanceof B && (t = e.Aa(t), Xt(e, t, n)), st(e, 4, t), gr) : n === void 0 ? t : n;
1801
1801
  }
1802
1802
  function st(e, t, n, r) {
1803
1803
  if (t === 0)
@@ -1875,7 +1875,7 @@ function le(e, t) {
1875
1875
  }
1876
1876
  return "???";
1877
1877
  }
1878
- function nr(e, t, n) {
1878
+ function tr(e, t, n) {
1879
1879
  var r = e.o[e.o.length - 1], i = Array.from(n), o = i.shift();
1880
1880
  n = Math.max(Number(i.shift() || 0), 0);
1881
1881
  var s = e.ya();
@@ -1890,14 +1890,14 @@ function nr(e, t, n) {
1890
1890
  }
1891
1891
  s.type = "EvalProgram_", s.body = f.body, r = r.node.arguments[0], kt(s, r ? r.start : void 0, r ? r.end : void 0), r = e.N, i.length = 0;
1892
1892
  }
1893
- return t = new wi(c, i, r, s, t ? n : -1), xr(e, t, n), t.Db;
1893
+ return t = new Si(c, i, r, s, t ? n : -1), br(e, t, n), t.Db;
1894
1894
  }
1895
- function xr(e, t, n) {
1895
+ function br(e, t, n) {
1896
1896
  t.time = Date.now() + n, e.ca.push(t), e.ca.sort(function(r, i) {
1897
1897
  return r.time - i.time;
1898
1898
  });
1899
1899
  }
1900
- function rr(e, t) {
1900
+ function nr(e, t) {
1901
1901
  for (var n = 0; n < e.ca.length; n++)
1902
1902
  if (e.ca[n].Db == t) {
1903
1903
  e.ca.splice(n, 1);
@@ -1933,7 +1933,7 @@ W.ec = function(e) {
1933
1933
  function C(e, t) {
1934
1934
  this.node = e, this.scope = t;
1935
1935
  }
1936
- function Sr(e, t, n) {
1936
+ function xr(e, t, n) {
1937
1937
  this.Va = e, this.S = t, this.object = n;
1938
1938
  }
1939
1939
  function B(e) {
@@ -1949,7 +1949,7 @@ W.toString = function() {
1949
1949
  if (!(this instanceof B))
1950
1950
  return String(this);
1951
1951
  if (this.H === "Array") {
1952
- var e = tr;
1952
+ var e = er;
1953
1953
  e.push(this);
1954
1954
  try {
1955
1955
  var t = [], n = this.h.length, r = !1;
@@ -1965,7 +1965,7 @@ W.toString = function() {
1965
1965
  return t.join(",");
1966
1966
  }
1967
1967
  if (this.H === "Error") {
1968
- if (e = tr, e.indexOf(this) !== -1)
1968
+ if (e = er, e.indexOf(this) !== -1)
1969
1969
  return "[object Error]";
1970
1970
  n = this;
1971
1971
  do
@@ -1994,10 +1994,10 @@ W.toString = function() {
1994
1994
  W.valueOf = function() {
1995
1995
  return !et || this.data === void 0 || this.data === null || this.data instanceof RegExp ? this : this.data instanceof Date ? this.data.valueOf() : this.data;
1996
1996
  };
1997
- function wi(e, t, n, r, i) {
1998
- this.zb = e, this.Lb = t, this.scope = n, this.node = r, this.interval = i, this.Db = ++Ci, this.time = 0;
1997
+ function Si(e, t, n, r, i) {
1998
+ this.zb = e, this.Lb = t, this.scope = n, this.node = r, this.interval = i, this.Db = ++ki, this.time = 0;
1999
1999
  }
2000
- var Ci = 0;
2000
+ var ki = 0;
2001
2001
  y.prototype.stepArrayExpression = function(e, t, n) {
2002
2002
  n = n.elements;
2003
2003
  var r = t.A || 0;
@@ -2518,7 +2518,7 @@ y.prototype.stepUpdateExpression = function(e, t, n) {
2518
2518
  y.prototype.stepVariableDeclaration = function(e, t, n) {
2519
2519
  n = n.fa;
2520
2520
  var r = t.A || 0, i = n[r];
2521
- for (t.Bb && i && (br(this, i.id.name, t.value), t.Bb = !1, i = n[++r]); i; ) {
2521
+ for (t.Bb && i && (vr(this, i.id.name, t.value), t.Bb = !1, i = n[++r]); i; ) {
2522
2522
  if (i.ua)
2523
2523
  return t.A = r, t.Bb = !0, t.Pa = i.id.name, new C(i.ua, t.scope);
2524
2524
  i = n[++r];
@@ -2545,7 +2545,7 @@ y.prototype.getGlobalScope = y.prototype.Xb;
2545
2545
  y.prototype.getStateStack = y.prototype.Yb;
2546
2546
  y.prototype.setStateStack = y.prototype.ec;
2547
2547
  y.VALUE_IN_DESCRIPTOR = rt;
2548
- const Ei = (e) => e.split(`
2548
+ const wi = (e) => e.split(`
2549
2549
  `).map((t) => {
2550
2550
  const n = t.trim();
2551
2551
  if (t.includes("__awaiter"))
@@ -2558,7 +2558,7 @@ const Ei = (e) => e.split(`
2558
2558
  ${c}
2559
2559
  `;
2560
2560
  }).filter(Boolean).join(`
2561
- `), ir = (e) => e + "JSON", Ii = ({
2561
+ `), rr = (e) => e + "JSON", Ci = ({
2562
2562
  builder: e,
2563
2563
  context: t,
2564
2564
  event: n,
@@ -2570,18 +2570,18 @@ const Ei = (e) => e.split(`
2570
2570
  const c = {
2571
2571
  ...r,
2572
2572
  ...i
2573
- }, f = pr({
2573
+ }, f = mr({
2574
2574
  builder: e,
2575
2575
  context: t,
2576
2576
  event: n,
2577
2577
  state: c
2578
2578
  }), p = f.map(([k]) => {
2579
- const A = ir(k);
2579
+ const A = rr(k);
2580
2580
  return `var ${k} = ${A} === undefined ? undefined : JSON.parse(${A});`;
2581
2581
  }).join(`
2582
- `), v = Ei(s);
2582
+ `), v = wi(s);
2583
2583
  if (v === "") {
2584
- Oe.warn("Skipping evaluation of empty code block.");
2584
+ Re.warn("Skipping evaluation of empty code block.");
2585
2585
  return;
2586
2586
  }
2587
2587
  const x = `
@@ -2597,30 +2597,30 @@ theFunction();
2597
2597
  }, T = function(k, A) {
2598
2598
  f.forEach(([V, q]) => {
2599
2599
  const b = JSON.stringify(q);
2600
- k.setProperty(A, ir(V), b);
2600
+ k.setProperty(A, rr(V), b);
2601
2601
  }), k.setProperty(A, "setRootState", k.createNativeFunction(D));
2602
2602
  };
2603
2603
  try {
2604
2604
  const k = new y(x, T);
2605
2605
  return k.run(), k.pseudoToNative(k.value);
2606
2606
  } catch (k) {
2607
- Oe.warn("Custom code error in edge runtime. NOTE: your code must be ES5 JavaScript.", {
2607
+ Re.warn("Custom code error in edge runtime. NOTE: your code must be ES5 JavaScript.", {
2608
2608
  e: k
2609
2609
  });
2610
2610
  return;
2611
2611
  }
2612
2612
  };
2613
- function Ti() {
2613
+ function Ei() {
2614
2614
  var e;
2615
2615
  return typeof process != "undefined" && vt((e = process == null ? void 0 : process.versions) == null ? void 0 : e.node);
2616
2616
  }
2617
- const Ai = () => {
2617
+ const Ii = () => {
2618
2618
  var r;
2619
- if (!Ti())
2619
+ if (!Ei())
2620
2620
  return !1;
2621
2621
  const e = process.arch === "arm64", t = process.version.startsWith("v20"), n = (r = process.env.NODE_OPTIONS) == null ? void 0 : r.includes("--no-node-snapshot");
2622
- return e && t && !n ? (Oe.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;
2623
- }, ji = (e) => Ve() || Ai() ? li(e) : Ii(e);
2622
+ return e && t && !n ? (Re.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;
2623
+ }, Ti = (e) => Ve() || Ii() ? ai(e) : Ci(e);
2624
2624
  function ot({
2625
2625
  code: e,
2626
2626
  context: t,
@@ -2631,14 +2631,14 @@ function ot({
2631
2631
  isExpression: s = !0
2632
2632
  }) {
2633
2633
  if (e === "") {
2634
- Oe.warn("Skipping evaluation of empty code block.");
2634
+ Re.warn("Skipping evaluation of empty code block.");
2635
2635
  return;
2636
2636
  }
2637
2637
  const c = {
2638
- code: si(e, {
2638
+ code: oi(e, {
2639
2639
  isExpression: s
2640
2640
  }),
2641
- builder: ai(),
2641
+ builder: ii(),
2642
2642
  context: t,
2643
2643
  event: o,
2644
2644
  rootSetState: i,
@@ -2646,15 +2646,15 @@ function ot({
2646
2646
  localState: n
2647
2647
  };
2648
2648
  try {
2649
- return ji(c);
2649
+ return Ti(c);
2650
2650
  } catch (f) {
2651
- Oe.error("Failed code evaluation: " + f.message, {
2651
+ Re.error("Failed code evaluation: " + f.message, {
2652
2652
  code: e
2653
2653
  });
2654
2654
  return;
2655
2655
  }
2656
2656
  }
2657
- const Ri = ({
2657
+ const Ai = ({
2658
2658
  block: e,
2659
2659
  context: t,
2660
2660
  localState: n,
@@ -2663,7 +2663,7 @@ const Ri = ({
2663
2663
  }) => {
2664
2664
  if (!e.bindings)
2665
2665
  return e;
2666
- const o = en(e), s = {
2666
+ const o = Qt(e), s = {
2667
2667
  ...o,
2668
2668
  properties: {
2669
2669
  ...o.properties
@@ -2693,7 +2693,7 @@ function xt({
2693
2693
  rootSetState: o
2694
2694
  }) {
2695
2695
  const s = e;
2696
- return n ? Ri({
2696
+ return n ? Ai({
2697
2697
  block: s,
2698
2698
  localState: r,
2699
2699
  rootState: i,
@@ -2701,7 +2701,7 @@ function xt({
2701
2701
  context: t
2702
2702
  }) : s;
2703
2703
  }
2704
- function Oi(e, t, n = {}) {
2704
+ function ji(e, t, n = {}) {
2705
2705
  let r, i, o, s = null, c = 0;
2706
2706
  const f = function() {
2707
2707
  c = n.leading === !1 ? 0 : Date.now(), s = null, o = e.apply(r, i), s || (r = i = null);
@@ -2724,17 +2724,17 @@ function je(e, ...t) {
2724
2724
  return n;
2725
2725
  }
2726
2726
  const gn = (e) => e ? e.replace(/([A-Z])/g, (t) => `-${t[0].toLowerCase()}`) : "";
2727
- function Pi(e) {
2727
+ function Ri(e) {
2728
2728
  for (const t of e)
2729
2729
  switch (t.trigger) {
2730
2730
  case "pageLoad":
2731
- kr(t);
2731
+ Sr(t);
2732
2732
  break;
2733
2733
  case "hover":
2734
- Fi(t);
2734
+ Pi(t);
2735
2735
  break;
2736
2736
  case "scrollInView":
2737
- Mi(t);
2737
+ Ni(t);
2738
2738
  break;
2739
2739
  }
2740
2740
  }
@@ -2742,19 +2742,19 @@ function yn(e) {
2742
2742
  console.warn(`Cannot animate element: element with ID ${e} not found!`);
2743
2743
  }
2744
2744
  function vn(e, t) {
2745
- const n = Ni(e), r = getComputedStyle(t), i = e.steps[0].styles, o = e.steps[e.steps.length - 1].styles, s = [i, o];
2745
+ const n = Oi(e), r = getComputedStyle(t), i = e.steps[0].styles, o = e.steps[e.steps.length - 1].styles, s = [i, o];
2746
2746
  for (const c of s)
2747
2747
  for (const f of n)
2748
2748
  f in c || (c[f] = r[f]);
2749
2749
  }
2750
- function Ni(e) {
2750
+ function Oi(e) {
2751
2751
  const t = [];
2752
2752
  for (const n of e.steps)
2753
2753
  for (const r in n.styles)
2754
2754
  t.indexOf(r) === -1 && t.push(r);
2755
2755
  return t;
2756
2756
  }
2757
- function kr(e) {
2757
+ function Sr(e) {
2758
2758
  const t = Array.prototype.slice.call(document.getElementsByClassName(e.elementId || e.id || ""));
2759
2759
  if (!t.length) {
2760
2760
  yn(e.elementId || e.id || "");
@@ -2768,7 +2768,7 @@ function kr(e) {
2768
2768
  });
2769
2769
  });
2770
2770
  }
2771
- function Fi(e) {
2771
+ function Pi(e) {
2772
2772
  const t = Array.prototype.slice.call(document.getElementsByClassName(e.elementId || e.id || ""));
2773
2773
  if (!t.length) {
2774
2774
  yn(e.elementId || e.id || "");
@@ -2788,7 +2788,7 @@ function Fi(e) {
2788
2788
  });
2789
2789
  });
2790
2790
  }
2791
- function Mi(e) {
2791
+ function Ni(e) {
2792
2792
  const t = Array.prototype.slice.call(document.getElementsByClassName(e.elementId || e.id || ""));
2793
2793
  if (!t.length) {
2794
2794
  yn(e.elementId || e.id || "");
@@ -2804,7 +2804,7 @@ function Mi(e) {
2804
2804
  }, (e.duration + (e.delay || 0)) * 1e3 + 100);
2805
2805
  })) : e.repeat && r && !i && !c(n) && (r = !1, je(n.style, e.steps[0].styles));
2806
2806
  }
2807
- const s = Oi(o, 200, {
2807
+ const s = ji(o, 200, {
2808
2808
  leading: !1
2809
2809
  });
2810
2810
  function c(v) {
@@ -2823,7 +2823,7 @@ function Mi(e) {
2823
2823
  }), o();
2824
2824
  });
2825
2825
  }
2826
- const Bi = ({
2826
+ const Fi = ({
2827
2827
  block: e,
2828
2828
  context: t,
2829
2829
  registeredComponents: n
@@ -2845,7 +2845,7 @@ const Bi = ({
2845
2845
  console.warn(`
2846
2846
  Could not find a registered component named "${r}".
2847
2847
  If you registered it, is the file that registered it imported by the file that needs to render it?`);
2848
- }, Di = ({
2848
+ }, Mi = ({
2849
2849
  block: e,
2850
2850
  context: t
2851
2851
  }) => {
@@ -2878,7 +2878,7 @@ const Bi = ({
2878
2878
  },
2879
2879
  block: r
2880
2880
  }));
2881
- }, wr = {
2881
+ }, kr = {
2882
2882
  small: {
2883
2883
  min: 320,
2884
2884
  default: 321,
@@ -2894,11 +2894,11 @@ const Bi = ({
2894
2894
  default: 991,
2895
2895
  max: 1200
2896
2896
  }
2897
- }, or = (e, t = wr) => `@media (max-width: ${t[e].max}px)`, Cr = ({
2897
+ }, ir = (e, t = kr) => `@media (max-width: ${t[e].max}px)`, wr = ({
2898
2898
  small: e,
2899
2899
  medium: t
2900
2900
  }) => {
2901
- const n = en(wr);
2901
+ const n = Qt(kr);
2902
2902
  if (!e || !t)
2903
2903
  return n;
2904
2904
  const r = Math.floor(e / 2);
@@ -2920,17 +2920,17 @@ const Bi = ({
2920
2920
  min: o,
2921
2921
  default: o + 1
2922
2922
  }, n;
2923
- }, Ui = (e) => e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase(), Er = (e) => Object.entries(e).map(([n, r]) => {
2923
+ }, Bi = (e) => e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase(), Cr = (e) => Object.entries(e).map(([n, r]) => {
2924
2924
  if (typeof r == "string")
2925
- return `${Ui(n)}: ${r};`;
2926
- }).filter(vt), Vi = (e) => Er(e).join(`
2925
+ return `${Bi(n)}: ${r};`;
2926
+ }).filter(vt), Di = (e) => Cr(e).join(`
2927
2927
  `), Gt = ({
2928
2928
  mediaQuery: e,
2929
2929
  className: t,
2930
2930
  styles: n
2931
2931
  }) => {
2932
2932
  const r = `.${t} {
2933
- ${Vi(n)}
2933
+ ${Di(n)}
2934
2934
  }`;
2935
2935
  return e ? `${e} {
2936
2936
  ${r}
@@ -2939,7 +2939,7 @@ const Bi = ({
2939
2939
  function Ct(e) {
2940
2940
  return /* @__PURE__ */ h("style", { dangerouslySetInnerHTML: { __html: e.styles }, id: e.id });
2941
2941
  }
2942
- function Li(e) {
2942
+ function Ui(e) {
2943
2943
  function t() {
2944
2944
  const r = xt({
2945
2945
  block: e.block,
@@ -2960,7 +2960,7 @@ function Li(e) {
2960
2960
  rootSetState: e.context.rootSetState,
2961
2961
  context: e.context.context,
2962
2962
  shouldEvaluateBindings: !0
2963
- }), i = r.responsiveStyles, o = e.context.content, s = Cr(
2963
+ }), i = r.responsiveStyles, o = e.context.content, s = wr(
2964
2964
  ((k = o == null ? void 0 : o.meta) == null ? void 0 : k.breakpoints) || {}
2965
2965
  ), c = i == null ? void 0 : i.large, f = i == null ? void 0 : i.medium, p = i == null ? void 0 : i.small, v = r.id;
2966
2966
  if (!v)
@@ -2971,14 +2971,14 @@ function Li(e) {
2971
2971
  }) : "", D = f ? Gt({
2972
2972
  className: v,
2973
2973
  styles: f,
2974
- mediaQuery: or(
2974
+ mediaQuery: ir(
2975
2975
  "medium",
2976
2976
  s
2977
2977
  )
2978
2978
  }) : "", T = p ? Gt({
2979
2979
  className: v,
2980
2980
  styles: p,
2981
- mediaQuery: or(
2981
+ mediaQuery: ir(
2982
2982
  "small",
2983
2983
  s
2984
2984
  )
@@ -2987,10 +2987,10 @@ function Li(e) {
2987
2987
  }
2988
2988
  return /* @__PURE__ */ h(N, { children: n() && t() ? /* @__PURE__ */ h(N, { children: /* @__PURE__ */ h(Ct, { styles: n() }) }) : null });
2989
2989
  }
2990
- function Wi(e) {
2990
+ function Vi(e) {
2991
2991
  return e.charAt(0).toUpperCase() + e.slice(1);
2992
2992
  }
2993
- const _i = (e) => `on${Wi(e)}`, $i = (e, t) => (n) => ot({
2993
+ const Li = (e) => `on${Vi(e)}`, Wi = (e, t) => (n) => ot({
2994
2994
  code: e,
2995
2995
  context: t.context,
2996
2996
  localState: t.localState,
@@ -2999,14 +2999,14 @@ const _i = (e) => `on${Wi(e)}`, $i = (e, t) => (n) => ot({
2999
2999
  event: n,
3000
3000
  isExpression: !1
3001
3001
  });
3002
- function Ir(e) {
3002
+ function Er(e) {
3003
3003
  var r;
3004
3004
  const t = {}, n = (r = e.block.actions) != null ? r : {};
3005
3005
  for (const i in n) {
3006
3006
  if (!n.hasOwnProperty(i))
3007
3007
  continue;
3008
3008
  const o = n[i];
3009
- let s = _i(i);
3009
+ let s = Li(i);
3010
3010
  if (e.stripPrefix)
3011
3011
  switch (at) {
3012
3012
  case "vue":
@@ -3016,29 +3016,29 @@ function Ir(e) {
3016
3016
  s = s.replace("on:", "");
3017
3017
  break;
3018
3018
  }
3019
- t[s] = $i(o, e);
3019
+ t[s] = Wi(o, e);
3020
3020
  }
3021
3021
  return t;
3022
3022
  }
3023
- function Hi({
3023
+ function _i({
3024
3024
  style: e
3025
3025
  }) {
3026
3026
  return e;
3027
3027
  }
3028
- const Ki = ({
3028
+ const $i = ({
3029
3029
  block: e,
3030
3030
  context: t
3031
- }) => Tr(Hi({
3031
+ }) => Ir(_i({
3032
3032
  style: e.style || {},
3033
3033
  context: t,
3034
3034
  block: e
3035
3035
  }));
3036
- function Tr(e) {
3036
+ function Ir(e) {
3037
3037
  switch (at) {
3038
3038
  case "svelte":
3039
3039
  case "vue":
3040
3040
  case "solid":
3041
- return Er(e).join(" ");
3041
+ return Cr(e).join(" ");
3042
3042
  case "qwik":
3043
3043
  case "reactNative":
3044
3044
  case "react":
@@ -3046,12 +3046,12 @@ function Tr(e) {
3046
3046
  return e;
3047
3047
  }
3048
3048
  }
3049
- function zi({
3049
+ function Hi({
3050
3050
  properties: e
3051
3051
  }) {
3052
3052
  return e;
3053
3053
  }
3054
- const Gi = (e) => ({
3054
+ const Ki = (e) => ({
3055
3055
  href: e.href
3056
3056
  });
3057
3057
  function bn({
@@ -3060,22 +3060,22 @@ function bn({
3060
3060
  }) {
3061
3061
  var r;
3062
3062
  const n = {
3063
- ...Gi(e),
3063
+ ...Ki(e),
3064
3064
  ...e.properties,
3065
3065
  "builder-id": e.id,
3066
- style: Ki({
3066
+ style: $i({
3067
3067
  block: e,
3068
3068
  context: t
3069
3069
  }),
3070
3070
  [nt()]: [e.id, "builder-block", e.class, (r = e.properties) == null ? void 0 : r.class].filter(Boolean).join(" ")
3071
3071
  };
3072
- return zi({
3072
+ return Hi({
3073
3073
  properties: n,
3074
3074
  context: t,
3075
3075
  block: e
3076
3076
  });
3077
3077
  }
3078
- function qi(e) {
3078
+ function zi(e) {
3079
3079
  return /* @__PURE__ */ h(
3080
3080
  tn,
3081
3081
  {
@@ -3084,7 +3084,7 @@ function qi(e) {
3084
3084
  block: e.block,
3085
3085
  context: e.context
3086
3086
  }),
3087
- actionAttributes: Ir({
3087
+ actionAttributes: Er({
3088
3088
  block: e.block,
3089
3089
  rootState: e.context.rootState,
3090
3090
  rootSetState: e.context.rootSetState,
@@ -3096,7 +3096,7 @@ function qi(e) {
3096
3096
  }
3097
3097
  );
3098
3098
  }
3099
- function Ji(e) {
3099
+ function Gi(e) {
3100
3100
  return /* @__PURE__ */ h(
3101
3101
  e.Wrapper,
3102
3102
  {
@@ -3106,7 +3106,7 @@ function Ji(e) {
3106
3106
  block: e.block,
3107
3107
  context: e.context
3108
3108
  }),
3109
- ...Ir({
3109
+ ...Er({
3110
3110
  block: e.block,
3111
3111
  rootState: e.context.rootState,
3112
3112
  rootSetState: e.context.rootSetState,
@@ -3118,7 +3118,7 @@ function Ji(e) {
3118
3118
  }
3119
3119
  );
3120
3120
  }
3121
- const Xi = ({
3121
+ const qi = ({
3122
3122
  componentOptions: e,
3123
3123
  builderBlock: t,
3124
3124
  context: n,
@@ -3148,15 +3148,15 @@ const Xi = ({
3148
3148
  includeBlockProps: i
3149
3149
  } : c;
3150
3150
  };
3151
- function ar(e) {
3151
+ function or(e) {
3152
3152
  var r;
3153
3153
  const [t, n] = _(
3154
- () => e.isInteractive ? Ji : e.componentRef
3154
+ () => e.isInteractive ? Gi : e.componentRef
3155
3155
  );
3156
3156
  return /* @__PURE__ */ h(N, { children: e.componentRef ? /* @__PURE__ */ h(N, { children: /* @__PURE__ */ h(
3157
3157
  t,
3158
3158
  {
3159
- ...Xi({
3159
+ ...qi({
3160
3160
  componentOptions: e.componentOptions,
3161
3161
  builderBlock: e.builderBlock,
3162
3162
  context: e.context,
@@ -3179,7 +3179,7 @@ function ar(e) {
3179
3179
  }
3180
3180
  ) }) : null });
3181
3181
  }
3182
- function Yi(e) {
3182
+ function Ji(e) {
3183
3183
  const [t, n] = _(() => e.repeatContext);
3184
3184
  return /* @__PURE__ */ h(nn.Provider, { value: t, children: /* @__PURE__ */ h(
3185
3185
  ct,
@@ -3194,14 +3194,14 @@ function Yi(e) {
3194
3194
  function ct(e) {
3195
3195
  var v, x, D;
3196
3196
  function t() {
3197
- return Bi({
3197
+ return Fi({
3198
3198
  block: e.block,
3199
3199
  context: e.context,
3200
3200
  registeredComponents: e.registeredComponents
3201
3201
  });
3202
3202
  }
3203
3203
  function n() {
3204
- return Di({
3204
+ return Mi({
3205
3205
  block: e.block,
3206
3206
  context: e.context
3207
3207
  });
@@ -3238,7 +3238,7 @@ function ct(e) {
3238
3238
  blockChildren: (T = r().children) != null ? T : [],
3239
3239
  componentRef: (k = t == null ? void 0 : t()) == null ? void 0 : k.component,
3240
3240
  componentOptions: {
3241
- ...oi(r()),
3241
+ ...ri(r()),
3242
3242
  builderContext: e.context,
3243
3243
  ...((A = t == null ? void 0 : t()) == null ? void 0 : A.name) === "Core:Button" || ((V = t == null ? void 0 : t()) == null ? void 0 : V.name) === "Symbol" || ((q = t == null ? void 0 : t()) == null ? void 0 : q.name) === "Columns" || ((b = t == null ? void 0 : t()) == null ? void 0 : b.name) === "Form:Form" ? {
3244
3244
  builderLinkComponent: e.linkComponent
@@ -3258,16 +3258,16 @@ function ct(e) {
3258
3258
  const [f, p] = _(() => e.context);
3259
3259
  return te(() => {
3260
3260
  const T = r().id, k = r().animations;
3261
- k && T && Pi(
3261
+ k && T && Ri(
3262
3262
  k.filter((A) => A.trigger !== "hover").map((A) => ({
3263
3263
  ...A,
3264
3264
  elementId: T
3265
3265
  }))
3266
3266
  );
3267
3267
  }, []), /* @__PURE__ */ h(N, { children: o() ? /* @__PURE__ */ ae(N, { children: [
3268
- /* @__PURE__ */ h(Li, { block: e.block, context: e.context }),
3268
+ /* @__PURE__ */ h(Ui, { block: e.block, context: e.context }),
3269
3269
  (v = t == null ? void 0 : t()) != null && v.noWrap ? /* @__PURE__ */ h(N, { children: /* @__PURE__ */ h(
3270
- ar,
3270
+ or,
3271
3271
  {
3272
3272
  componentRef: c().componentRef,
3273
3273
  componentOptions: c().componentOptions,
@@ -3280,7 +3280,7 @@ function ct(e) {
3280
3280
  isInteractive: c().isInteractive
3281
3281
  }
3282
3282
  ) }) : /* @__PURE__ */ h(N, { children: n() ? /* @__PURE__ */ h(N, { children: (D = n()) == null ? void 0 : D.map((T, k) => /* @__PURE__ */ h(
3283
- Yi,
3283
+ Ji,
3284
3284
  {
3285
3285
  repeatContext: T.context,
3286
3286
  block: T.block,
@@ -3289,7 +3289,7 @@ function ct(e) {
3289
3289
  },
3290
3290
  k
3291
3291
  )) }) : /* @__PURE__ */ h(N, { children: /* @__PURE__ */ ae(
3292
- qi,
3292
+ zi,
3293
3293
  {
3294
3294
  Wrapper: i(),
3295
3295
  block: r(),
@@ -3297,7 +3297,7 @@ function ct(e) {
3297
3297
  linkComponent: e.linkComponent,
3298
3298
  children: [
3299
3299
  /* @__PURE__ */ h(
3300
- ar,
3300
+ or,
3301
3301
  {
3302
3302
  componentRef: c().componentRef,
3303
3303
  componentOptions: c().componentOptions,
@@ -3325,7 +3325,7 @@ function ct(e) {
3325
3325
  ) }) })
3326
3326
  ] }) : null });
3327
3327
  }
3328
- function Zi(e) {
3328
+ function Xi(e) {
3329
3329
  function t() {
3330
3330
  var i;
3331
3331
  return "builder-blocks" + ((i = e.blocks) != null && i.length ? "" : " no-blocks");
@@ -3378,11 +3378,11 @@ function Zi(e) {
3378
3378
  }` })
3379
3379
  ] });
3380
3380
  }
3381
- function Re(e) {
3381
+ function Ue(e) {
3382
3382
  var r, i, o;
3383
- const t = Jn(nn), n = Jn(mr);
3383
+ const t = Yn(nn), n = Yn(hr);
3384
3384
  return /* @__PURE__ */ h(
3385
- Zi,
3385
+ Xi,
3386
3386
  {
3387
3387
  blocks: e.blocks,
3388
3388
  parent: e.parent,
@@ -3403,7 +3403,7 @@ function Re(e) {
3403
3403
  }
3404
3404
  );
3405
3405
  }
3406
- function Qi(e) {
3406
+ function Yi(e) {
3407
3407
  var q;
3408
3408
  const [t, n] = _(
3409
3409
  () => typeof e.space == "number" ? e.space || 0 : 20
@@ -3472,7 +3472,7 @@ function Qi(e) {
3472
3472
  }
3473
3473
  function A(b) {
3474
3474
  var J, G;
3475
- return Cr(
3475
+ return wr(
3476
3476
  ((G = (J = e.builderContext.content) == null ? void 0 : J.meta) == null ? void 0 : G.breakpoints) || {}
3477
3477
  )[b].max;
3478
3478
  }
@@ -3507,7 +3507,7 @@ function Qi(e) {
3507
3507
  /* @__PURE__ */ ae(
3508
3508
  "div",
3509
3509
  {
3510
- className: `builder-columns ${e.builderBlock.id}-breakpoints div-1046d78c`,
3510
+ className: `builder-columns ${e.builderBlock.id}-breakpoints div-f5024694`,
3511
3511
  style: T(),
3512
3512
  children: [
3513
3513
  /* @__PURE__ */ h(N, { children: /* @__PURE__ */ h(Ct, { styles: V() }) }),
@@ -3521,10 +3521,10 @@ function Qi(e) {
3521
3521
  href: b.link
3522
3522
  } : {},
3523
3523
  [nt()]: "builder-column",
3524
- style: Tr(k($))
3524
+ style: Ir(k($))
3525
3525
  },
3526
3526
  children: /* @__PURE__ */ h(
3527
- Re,
3527
+ Ue,
3528
3528
  {
3529
3529
  path: `component.options.columns.${$}.blocks`,
3530
3530
  parent: e.builderBlock.id,
@@ -3543,31 +3543,31 @@ function Qi(e) {
3543
3543
  ]
3544
3544
  }
3545
3545
  ),
3546
- /* @__PURE__ */ h("style", { children: `.div-1046d78c {
3546
+ /* @__PURE__ */ h("style", { children: `.div-f5024694 {
3547
3547
  display: flex;
3548
3548
  line-height: normal;
3549
3549
  }` })
3550
3550
  ] });
3551
3551
  }
3552
- function eo(e) {
3552
+ function Zi(e) {
3553
3553
  return /* @__PURE__ */ h("span", { children: e.children });
3554
3554
  }
3555
- function sr(e) {
3555
+ function ar(e) {
3556
3556
  return e.replace(/http(s)?:/, "");
3557
3557
  }
3558
- function to(e = "", t, n) {
3558
+ function Qi(e = "", t, n) {
3559
3559
  const r = new RegExp("([?&])" + t + "=.*?(&|$)", "i"), i = e.indexOf("?") !== -1 ? "&" : "?";
3560
3560
  return e.match(r) ? e.replace(r, "$1" + t + "=" + encodeURIComponent(n) + "$2") : e + i + t + "=" + encodeURIComponent(n);
3561
3561
  }
3562
- function no(e, t) {
3562
+ function eo(e, t) {
3563
3563
  if (!e || !(e != null && e.match(/cdn\.shopify\.com/)) || !t)
3564
3564
  return e;
3565
3565
  if (t === "master")
3566
- return sr(e);
3566
+ return ar(e);
3567
3567
  const n = e.match(/(_\d+x(\d+)?)?(\.(jpg|jpeg|gif|png|bmp|bitmap|tiff|tif)(\?v=\d+)?)/i);
3568
3568
  if (n) {
3569
3569
  const r = e.split(n[0]), i = n[3], o = t.match("x") ? t : `${t}x`;
3570
- return sr(`${r[0]}_${o}${i}`);
3570
+ return ar(`${r[0]}_${o}${i}`);
3571
3571
  }
3572
3572
  return null;
3573
3573
  }
@@ -3578,11 +3578,11 @@ function qt(e) {
3578
3578
  if (e.match(/builder\.io/)) {
3579
3579
  let n = e;
3580
3580
  const r = Number(e.split("?width=")[1]);
3581
- return isNaN(r) || (n = `${n} ${r}w`), t.filter((i) => i !== r).map((i) => `${to(e, "width", i)} ${i}w`).concat([n]).join(", ");
3581
+ return isNaN(r) || (n = `${n} ${r}w`), t.filter((i) => i !== r).map((i) => `${Qi(e, "width", i)} ${i}w`).concat([n]).join(", ");
3582
3582
  }
3583
- return e.match(/cdn\.shopify\.com/) ? t.map((n) => [no(e, `${n}x${n}`), n]).filter(([n]) => !!n).map(([n, r]) => `${n} ${r}w`).concat([e]).join(", ") : e;
3583
+ return e.match(/cdn\.shopify\.com/) ? t.map((n) => [eo(e, `${n}x${n}`), n]).filter(([n]) => !!n).map(([n, r]) => `${n} ${r}w`).concat([e]).join(", ") : e;
3584
3584
  }
3585
- function ro(e) {
3585
+ function to(e) {
3586
3586
  var i, o, s, c;
3587
3587
  function t() {
3588
3588
  var v;
@@ -3665,7 +3665,7 @@ function ro(e) {
3665
3665
  }` })
3666
3666
  ] });
3667
3667
  }
3668
- function io(e) {
3668
+ function no(e) {
3669
3669
  return /* @__PURE__ */ h(
3670
3670
  "section",
3671
3671
  {
@@ -3686,7 +3686,7 @@ function io(e) {
3686
3686
  }
3687
3687
  );
3688
3688
  }
3689
- const oo = {
3689
+ const ro = {
3690
3690
  name: "Core:Button",
3691
3691
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F81a15681c3e74df09677dfc57a615b13",
3692
3692
  defaultStyles: {
@@ -3719,7 +3719,7 @@ const oo = {
3719
3719
  }],
3720
3720
  static: !0,
3721
3721
  noWrap: !0
3722
- }, ao = {
3722
+ }, io = {
3723
3723
  // TODO: ways to statically preprocess JSON for references, functions, etc
3724
3724
  name: "Columns",
3725
3725
  isRSC: !0,
@@ -3920,13 +3920,13 @@ const oo = {
3920
3920
  helperText: "When stacking columns for mobile devices, reverse the ordering",
3921
3921
  advanced: !0
3922
3922
  }]
3923
- }, so = {
3923
+ }, oo = {
3924
3924
  name: "Fragment",
3925
3925
  static: !0,
3926
3926
  hidden: !0,
3927
3927
  canHaveChildren: !0,
3928
3928
  noWrap: !0
3929
- }, lo = {
3929
+ }, ao = {
3930
3930
  name: "Image",
3931
3931
  static: !0,
3932
3932
  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",
@@ -4026,7 +4026,7 @@ const oo = {
4026
4026
  advanced: !0,
4027
4027
  defaultValue: 0.7041
4028
4028
  }]
4029
- }, co = {
4029
+ }, so = {
4030
4030
  name: "Core:Section",
4031
4031
  static: !0,
4032
4032
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F682efef23ace49afac61748dd305c70a",
@@ -4065,7 +4065,7 @@ const oo = {
4065
4065
  }
4066
4066
  }
4067
4067
  }]
4068
- }, uo = {
4068
+ }, lo = {
4069
4069
  name: "Slot",
4070
4070
  isRSC: !0,
4071
4071
  description: "Allow child blocks to be inserted into this content when used as a Symbol",
@@ -4079,7 +4079,7 @@ const oo = {
4079
4079
  defaultValue: "children"
4080
4080
  }]
4081
4081
  };
4082
- function fo(e) {
4082
+ function co(e) {
4083
4083
  var t, n, r;
4084
4084
  return /* @__PURE__ */ h(
4085
4085
  "div",
@@ -4091,7 +4091,7 @@ function fo(e) {
4091
4091
  "builder-slot": e.name
4092
4092
  },
4093
4093
  children: /* @__PURE__ */ h(
4094
- Re,
4094
+ Ue,
4095
4095
  {
4096
4096
  parent: (n = e.builderContext.context) == null ? void 0 : n.symbolId,
4097
4097
  path: `symbol.data.${e.name}`,
@@ -4102,7 +4102,7 @@ function fo(e) {
4102
4102
  }
4103
4103
  );
4104
4104
  }
4105
- const ho = {
4105
+ const uo = {
4106
4106
  name: "Symbol",
4107
4107
  noWrap: !0,
4108
4108
  static: !0,
@@ -4135,7 +4135,7 @@ const ho = {
4135
4135
  hideFromUI: !0,
4136
4136
  type: "boolean"
4137
4137
  }]
4138
- }, mo = {
4138
+ }, fo = {
4139
4139
  name: "Text",
4140
4140
  static: !0,
4141
4141
  isRSC: !0,
@@ -4154,7 +4154,7 @@ const ho = {
4154
4154
  textAlign: "center"
4155
4155
  }
4156
4156
  };
4157
- function po(e) {
4157
+ function ho(e) {
4158
4158
  var t;
4159
4159
  return /* @__PURE__ */ h(
4160
4160
  "div",
@@ -4167,7 +4167,7 @@ function po(e) {
4167
4167
  }
4168
4168
  );
4169
4169
  }
4170
- const go = {
4170
+ const mo = {
4171
4171
  name: "Custom Code",
4172
4172
  static: !0,
4173
4173
  requiredPermissions: ["editCode"],
@@ -4190,7 +4190,7 @@ const go = {
4190
4190
  advanced: !0
4191
4191
  }]
4192
4192
  };
4193
- function yo(e) {
4193
+ function po(e) {
4194
4194
  const t = St(null), [n, r] = _(() => []), [i, o] = _(() => []);
4195
4195
  return te(() => {
4196
4196
  var c;
@@ -4228,7 +4228,7 @@ function yo(e) {
4228
4228
  }
4229
4229
  );
4230
4230
  }
4231
- const vo = {
4231
+ const go = {
4232
4232
  name: "Embed",
4233
4233
  static: !0,
4234
4234
  inputs: [{
@@ -4253,8 +4253,8 @@ const vo = {
4253
4253
  defaultValue: '<div style="padding: 20px; text-align: center">(Choose an embed URL)<div>',
4254
4254
  hideFromUI: !0
4255
4255
  }]
4256
- }, bo = ["text/javascript", "application/javascript", "application/ecmascript"], xo = (e) => bo.includes(e.type);
4257
- function So(e) {
4256
+ }, yo = ["text/javascript", "application/javascript", "application/ecmascript"], vo = (e) => yo.includes(e.type);
4257
+ function bo(e) {
4258
4258
  const t = St(null), [n, r] = _(() => []), [i, o] = _(() => []), [s, c] = _(() => !1);
4259
4259
  function f() {
4260
4260
  if (!t.current || !t.current.getElementsByTagName)
@@ -4266,7 +4266,7 @@ function So(e) {
4266
4266
  n.push(x.src);
4267
4267
  const D = document.createElement("script");
4268
4268
  D.async = !0, D.src = x.src, document.head.appendChild(D);
4269
- } else if (xo(x) && !i.includes(x.innerText))
4269
+ } else if (vo(x) && !i.includes(x.innerText))
4270
4270
  try {
4271
4271
  i.push(x.innerText), new Function(x.innerText)();
4272
4272
  } catch (D) {
@@ -4285,7 +4285,7 @@ function So(e) {
4285
4285
  }
4286
4286
  );
4287
4287
  }
4288
- const ko = {
4288
+ const xo = {
4289
4289
  name: "Form:Form",
4290
4290
  // editableTags: ['builder-form-error']
4291
4291
  defaults: {
@@ -4516,14 +4516,14 @@ const ko = {
4516
4516
  }
4517
4517
  }
4518
4518
  }]
4519
- }, wo = ["production", "qa", "test", "development", "dev", "cdn-qa", "cloud", "fast", "cdn2", "cdn-prod"], Co = () => {
4519
+ }, So = ["production", "qa", "test", "development", "dev", "cdn-qa", "cloud", "fast", "cdn2", "cdn-prod"], ko = () => {
4520
4520
  const e = process.env.NODE_ENV || "production";
4521
- return wo.includes(e) ? e : "production";
4522
- }, Eo = (e, t, n) => {
4521
+ return So.includes(e) ? e : "production";
4522
+ }, wo = (e, t, n) => {
4523
4523
  const r = String.prototype.split.call(t, /[,[\].]+?/).filter(Boolean).reduce((i, o) => i != null ? i[o] : i, e);
4524
4524
  return r === void 0 || r === e ? n : r;
4525
4525
  };
4526
- function Io(e) {
4526
+ function Co(e) {
4527
4527
  var x, D;
4528
4528
  const t = St(null), [n, r] = _(() => "unsubmitted"), [i, o] = _(() => null), [s, c] = _(() => "");
4529
4529
  function f(T) {
@@ -4592,7 +4592,7 @@ function Io(e) {
4592
4592
  if (t.current && (t.current.dispatchEvent(L), L.defaultPrevented))
4593
4593
  return;
4594
4594
  r("sending");
4595
- const Z = `${Co() === "dev" ? "http://localhost:5000" : "https://builder.io"}/api/v1/form-submit?apiKey=${e.builderContext.apiKey}&to=${btoa(
4595
+ const Z = `${ko() === "dev" ? "http://localhost:5000" : "https://builder.io"}/api/v1/form-submit?apiKey=${e.builderContext.apiKey}&to=${btoa(
4596
4596
  e.sendSubmissionsToEmail || ""
4597
4597
  )}&name=${encodeURIComponent(e.name || "")}`;
4598
4598
  fetch(
@@ -4603,7 +4603,7 @@ function Io(e) {
4603
4603
  let H;
4604
4604
  const M = g.headers.get("content-type");
4605
4605
  if (M && M.indexOf("application/json") !== -1 ? H = await g.json() : H = await g.text(), !g.ok && e.errorMessagePath) {
4606
- let X = Eo(H, e.errorMessagePath);
4606
+ let X = wo(H, e.errorMessagePath);
4607
4607
  X && (typeof X != "string" && (X = JSON.stringify(X)), c(X), f({ formErrorMessage: X }));
4608
4608
  }
4609
4609
  if (o(H), r(g.ok ? "success" : "error"), g.ok) {
@@ -4660,7 +4660,7 @@ function Io(e) {
4660
4660
  )) }) : null,
4661
4661
  " ",
4662
4662
  p() === "error" ? /* @__PURE__ */ h(N, { children: /* @__PURE__ */ h(
4663
- Re,
4663
+ Ue,
4664
4664
  {
4665
4665
  path: "errorMessage",
4666
4666
  blocks: e.errorMessage,
@@ -4669,7 +4669,7 @@ function Io(e) {
4669
4669
  ) }) : null,
4670
4670
  " ",
4671
4671
  p() === "sending" ? /* @__PURE__ */ h(N, { children: /* @__PURE__ */ h(
4672
- Re,
4672
+ Ue,
4673
4673
  {
4674
4674
  path: "sendingMessage",
4675
4675
  blocks: e.sendingMessage,
@@ -4684,7 +4684,7 @@ function Io(e) {
4684
4684
  ] }) }) : null,
4685
4685
  " ",
4686
4686
  p() === "success" ? /* @__PURE__ */ h(N, { children: /* @__PURE__ */ h(
4687
- Re,
4687
+ Ue,
4688
4688
  {
4689
4689
  path: "successMessage",
4690
4690
  blocks: e.successMessage,
@@ -4700,7 +4700,7 @@ function Io(e) {
4700
4700
  " "
4701
4701
  ] });
4702
4702
  }
4703
- const To = {
4703
+ const Eo = {
4704
4704
  name: "Form:Input",
4705
4705
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fad6f37889d9e40bbbbc72cdb5875d6ca",
4706
4706
  inputs: [
@@ -4752,8 +4752,8 @@ const To = {
4752
4752
  borderColor: "#ccc"
4753
4753
  }
4754
4754
  };
4755
- function Ao(e) {
4756
- return /* @__PURE__ */ Qt(
4755
+ function Io(e) {
4756
+ return /* @__PURE__ */ en(
4757
4757
  "input",
4758
4758
  {
4759
4759
  ...e.attributes,
@@ -4767,7 +4767,7 @@ function Ao(e) {
4767
4767
  }
4768
4768
  );
4769
4769
  }
4770
- const jo = {
4770
+ const To = {
4771
4771
  name: "Form:Select",
4772
4772
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F83acca093fb24aaf94dee136e9a4b045",
4773
4773
  defaultStyles: {
@@ -4810,9 +4810,9 @@ const jo = {
4810
4810
  static: !0,
4811
4811
  noWrap: !0
4812
4812
  };
4813
- function Ro(e) {
4813
+ function Ao(e) {
4814
4814
  var t;
4815
- return /* @__PURE__ */ Qt(
4815
+ return /* @__PURE__ */ en(
4816
4816
  "select",
4817
4817
  {
4818
4818
  ...e.attributes,
@@ -4824,7 +4824,7 @@ function Ro(e) {
4824
4824
  (t = e.options) == null ? void 0 : t.map((n) => /* @__PURE__ */ h("option", { value: n.value, children: n.name || n.value }))
4825
4825
  );
4826
4826
  }
4827
- const Oo = {
4827
+ const jo = {
4828
4828
  name: "Form:SubmitButton",
4829
4829
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2Fdf2820ffed1f4349a94c40b3221f5b98",
4830
4830
  defaultStyles: {
@@ -4850,10 +4850,10 @@ const Oo = {
4850
4850
  // TODO: defaultChildren
4851
4851
  // canHaveChildren: true,
4852
4852
  };
4853
- function Po(e) {
4853
+ function Ro(e) {
4854
4854
  return /* @__PURE__ */ h("button", { type: "submit", ...e.attributes, children: e.text });
4855
4855
  }
4856
- const No = {
4856
+ const Oo = {
4857
4857
  // friendlyName?
4858
4858
  name: "Raw:Img",
4859
4859
  hideFromInsertMenu: !0,
@@ -4868,7 +4868,7 @@ const No = {
4868
4868
  noWrap: !0,
4869
4869
  static: !0
4870
4870
  };
4871
- function Fo(e) {
4871
+ function Po(e) {
4872
4872
  return /* @__PURE__ */ h(
4873
4873
  "img",
4874
4874
  {
@@ -4883,7 +4883,7 @@ function Fo(e) {
4883
4883
  me() && e.imgSrc || "default-key"
4884
4884
  );
4885
4885
  }
4886
- const Mo = {
4886
+ const No = {
4887
4887
  name: "Video",
4888
4888
  canHaveChildren: !0,
4889
4889
  defaultStyles: {
@@ -4965,7 +4965,7 @@ const Mo = {
4965
4965
  advanced: !0
4966
4966
  }]
4967
4967
  };
4968
- function Bo(e) {
4968
+ function Fo(e) {
4969
4969
  var r, i, o, s, c, f, p;
4970
4970
  function t() {
4971
4971
  return {
@@ -5066,55 +5066,55 @@ function Bo(e) {
5066
5066
  }
5067
5067
  );
5068
5068
  }
5069
- const Do = () => [{
5070
- component: yo,
5069
+ const Mo = () => [{
5070
+ component: po,
5071
+ ...mo
5072
+ }, {
5073
+ component: bo,
5071
5074
  ...go
5072
5075
  }, {
5073
- component: So,
5074
- ...vo
5076
+ component: Co,
5077
+ ...xo
5075
5078
  }, {
5076
5079
  component: Io,
5077
- ...ko
5080
+ ...Eo
5081
+ }, {
5082
+ component: Ro,
5083
+ ...jo
5078
5084
  }, {
5079
5085
  component: Ao,
5080
5086
  ...To
5081
5087
  }, {
5082
5088
  component: Po,
5083
5089
  ...Oo
5084
- }, {
5085
- component: Ro,
5086
- ...jo
5087
5090
  }, {
5088
5091
  component: Fo,
5089
5092
  ...No
5093
+ }], sr = () => [{
5094
+ component: ni,
5095
+ ...ro
5090
5096
  }, {
5091
- component: Bo,
5092
- ...Mo
5093
- }], lr = () => [{
5094
- component: ii,
5097
+ component: Yi,
5098
+ ...io
5099
+ }, {
5100
+ component: Zi,
5095
5101
  ...oo
5096
5102
  }, {
5097
- component: Qi,
5103
+ component: to,
5098
5104
  ...ao
5099
5105
  }, {
5100
- component: eo,
5106
+ component: no,
5101
5107
  ...so
5102
5108
  }, {
5103
- component: ro,
5109
+ component: co,
5104
5110
  ...lo
5105
5111
  }, {
5106
- component: io,
5107
- ...co
5108
- }, {
5109
- component: fo,
5112
+ component: ta,
5110
5113
  ...uo
5111
5114
  }, {
5112
- component: na,
5113
- ...ho
5114
- }, {
5115
- component: po,
5116
- ...mo
5117
- }, ...Do()], Uo = `function updateCookiesAndStyles(contentId, variants, isHydrationTarget) {
5115
+ component: ho,
5116
+ ...fo
5117
+ }, ...Mo()], Bo = `function updateCookiesAndStyles(contentId, variants, isHydrationTarget) {
5118
5118
  function getAndSetVariantId() {
5119
5119
  function setCookie(name, value, days) {
5120
5120
  let expires = '';
@@ -5170,7 +5170,7 @@ const Do = () => [{
5170
5170
  }).join('');
5171
5171
  styleEl.innerHTML = newStyleStr;
5172
5172
  }
5173
- }`, Vo = `function updateVariantVisibility(variantContentId, defaultContentId, isHydrationTarget) {
5173
+ }`, Do = `function updateVariantVisibility(variantContentId, defaultContentId, isHydrationTarget) {
5174
5174
  if (!navigator.cookieEnabled) {
5175
5175
  return;
5176
5176
  }
@@ -5204,24 +5204,24 @@ const Do = () => [{
5204
5204
  thisScriptEl?.remove();
5205
5205
  }
5206
5206
  return;
5207
- }`, Ar = "builderIoAbTest", jr = "builderIoRenderContent", yt = (e) => Object.values((e == null ? void 0 : e.variations) || {}).map((t) => ({
5207
+ }`, Tr = "builderIoAbTest", Ar = "builderIoRenderContent", yt = (e) => Object.values((e == null ? void 0 : e.variations) || {}).map((t) => ({
5208
5208
  ...t,
5209
5209
  testVariationId: t.id,
5210
5210
  id: e == null ? void 0 : e.id
5211
- })), Lo = ({
5211
+ })), Uo = ({
5212
5212
  canTrack: e,
5213
5213
  content: t
5214
- }) => !(!(yt(t).length > 0) || !e || Ve()), Wo = (e) => e === "react" || e === "reactNative", Rr = Wo(at), _o = () => `
5215
- window.${Ar} = ${Uo}
5216
- window.${jr} = ${Vo}
5217
- `, $o = (e, t) => `
5218
- window.${Ar}(
5219
- "${t}",${JSON.stringify(e)}, ${Rr}
5220
- )`, Ho = ({
5214
+ }) => !(!(yt(t).length > 0) || !e || Ve()), Vo = (e) => e === "react" || e === "reactNative", jr = Vo(at), Lo = () => `
5215
+ window.${Tr} = ${Bo}
5216
+ window.${Ar} = ${Do}
5217
+ `, Wo = (e, t) => `
5218
+ window.${Tr}(
5219
+ "${t}",${JSON.stringify(e)}, ${jr}
5220
+ )`, _o = ({
5221
5221
  contentId: e,
5222
5222
  variationId: t
5223
- }) => `window.${jr}(
5224
- "${t}", "${e}", ${Rr}
5223
+ }) => `window.${Ar}(
5224
+ "${t}", "${e}", ${jr}
5225
5225
  )`;
5226
5226
  function Zt(e) {
5227
5227
  return /* @__PURE__ */ h(
@@ -5232,10 +5232,10 @@ function Zt(e) {
5232
5232
  }
5233
5233
  );
5234
5234
  }
5235
- function cr(e) {
5235
+ function lr(e) {
5236
5236
  return Math.round(e * 1e3) / 1e3;
5237
5237
  }
5238
- const Ko = (e, t, n = !0) => {
5238
+ const $o = (e, t, n = !0) => {
5239
5239
  if (!(e instanceof HTMLElement))
5240
5240
  return null;
5241
5241
  let r = n ? e : e.parentElement;
@@ -5246,28 +5246,28 @@ const Ko = (e, t, n = !0) => {
5246
5246
  return r;
5247
5247
  } while (r = r.parentElement);
5248
5248
  return null;
5249
- }, zo = (e) => Ko(e, (t) => {
5249
+ }, Ho = (e) => $o(e, (t) => {
5250
5250
  const n = t.getAttribute("builder-id") || t.id;
5251
5251
  return (n == null ? void 0 : n.indexOf("builder-")) === 0;
5252
- }), ur = ({
5252
+ }), cr = ({
5253
5253
  event: e,
5254
5254
  target: t
5255
5255
  }) => {
5256
- const n = t.getBoundingClientRect(), r = e.clientX - n.left, i = e.clientY - n.top, o = cr(r / n.width), s = cr(i / n.height);
5256
+ const n = t.getBoundingClientRect(), r = e.clientX - n.left, i = e.clientY - n.top, o = lr(r / n.width), s = lr(i / n.height);
5257
5257
  return {
5258
5258
  x: o,
5259
5259
  y: s
5260
5260
  };
5261
- }, Go = (e) => {
5262
- const t = e.target, n = t && zo(t), r = (n == null ? void 0 : n.getAttribute("builder-id")) || (n == null ? void 0 : n.id);
5261
+ }, Ko = (e) => {
5262
+ const t = e.target, n = t && Ho(t), r = (n == null ? void 0 : n.getAttribute("builder-id")) || (n == null ? void 0 : n.id);
5263
5263
  return {
5264
5264
  targetBuilderElement: r || void 0,
5265
5265
  metadata: {
5266
- targetOffset: t ? ur({
5266
+ targetOffset: t ? cr({
5267
5267
  event: e,
5268
5268
  target: t
5269
5269
  }) : void 0,
5270
- builderTargetOffset: n ? ur({
5270
+ builderTargetOffset: n ? cr({
5271
5271
  event: e,
5272
5272
  target: n
5273
5273
  }) : void 0,
@@ -5275,7 +5275,7 @@ const Ko = (e, t, n = !0) => {
5275
5275
  }
5276
5276
  };
5277
5277
  };
5278
- function qo(e) {
5278
+ function zo(e) {
5279
5279
  var Z, g, H, M, X, ue, z;
5280
5280
  const t = St(null), [n, r] = _(() => 0);
5281
5281
  _(() => !0);
@@ -5317,7 +5317,7 @@ function qo(e) {
5317
5317
  () => e.contentWrapper || "div"
5318
5318
  );
5319
5319
  function v(I) {
5320
- return Xr({
5320
+ return qr({
5321
5321
  model: e.model,
5322
5322
  trustedHosts: e.trustedHosts,
5323
5323
  callbacks: {
@@ -5331,7 +5331,7 @@ function qo(e) {
5331
5331
  }), r(n + 1));
5332
5332
  },
5333
5333
  animation: (j) => {
5334
- kr(j);
5334
+ Sr(j);
5335
5335
  },
5336
5336
  contentUpdate: (j) => {
5337
5337
  o(j), r(n + 1);
@@ -5355,13 +5355,13 @@ function qo(e) {
5355
5355
  var j, R;
5356
5356
  if (e.builderContextSignal.content) {
5357
5357
  const U = (j = e.builderContextSignal.content) == null ? void 0 : j.testVariationId, K = (R = e.builderContextSignal.content) == null ? void 0 : R.id;
5358
- Xn({
5358
+ Jn({
5359
5359
  type: "click",
5360
5360
  canTrack: bt(e.canTrack),
5361
5361
  contentId: K,
5362
5362
  apiKey: e.apiKey,
5363
5363
  variationId: U !== K ? U : void 0,
5364
- ...Go(I),
5364
+ ...Ko(I),
5365
5365
  unique: !k
5366
5366
  });
5367
5367
  }
@@ -5380,7 +5380,7 @@ function qo(e) {
5380
5380
  );
5381
5381
  }
5382
5382
  function b({ url: I, key: j }) {
5383
- ei(I).then((R) => R.json()).then((R) => {
5383
+ Zr(I).then((R) => R.json()).then((R) => {
5384
5384
  var K, re;
5385
5385
  const U = {
5386
5386
  ...e.builderContextSignal.rootState,
@@ -5410,7 +5410,7 @@ function qo(e) {
5410
5410
  "builder:component:stateChange",
5411
5411
  {
5412
5412
  detail: {
5413
- state: en(e.builderContextSignal.rootState),
5413
+ state: Qt(e.builderContextSignal.rootState),
5414
5414
  ref: {
5415
5415
  name: e.model
5416
5416
  }
@@ -5420,13 +5420,10 @@ function qo(e) {
5420
5420
  );
5421
5421
  }
5422
5422
  function G(I) {
5423
- r(n + 1), window.addEventListener("message", v), Yr(), Zr({
5423
+ r(n + 1), window.addEventListener("message", v), Jr(), Xr({
5424
5424
  ...e.locale ? {
5425
5425
  locale: e.locale
5426
5426
  } : {},
5427
- ...e.includeRefs ? {
5428
- includeRefs: e.includeRefs
5429
- } : {},
5430
5427
  ...e.enrich ? {
5431
5428
  enrich: e.enrich
5432
5429
  } : {},
@@ -5437,7 +5434,7 @@ function qo(e) {
5437
5434
  e.builderContextSignal.componentInfos
5438
5435
  ).forEach((j) => {
5439
5436
  var U;
5440
- const R = Qr(j);
5437
+ const R = Yr(j);
5441
5438
  (U = window.parent) == null || U.postMessage(R, "*");
5442
5439
  }), window.addEventListener(
5443
5440
  "builder:component:stateChangeListenerActivated",
@@ -5448,7 +5445,7 @@ function qo(e) {
5448
5445
  const j = new URL(location.href).searchParams, R = j.get("builder.preview"), U = j.get(
5449
5446
  `builder.preview.${R}`
5450
5447
  ), K = j.get("apiKey") || j.get("builder.space");
5451
- R === e.model && K === e.apiKey && (!e.content || U === e.content.id) && hr({
5448
+ R === e.model && K === e.apiKey && (!e.content || U === e.content.id) && dr({
5452
5449
  model: e.model,
5453
5450
  apiKey: e.apiKey,
5454
5451
  apiVersion: e.builderContextSignal.apiVersion
@@ -5485,7 +5482,7 @@ function qo(e) {
5485
5482
  if (Ve()) {
5486
5483
  if (me() && t.current && t.current.dispatchEvent(new CustomEvent("initeditingbldr")), e.builderContextSignal.content && bt(e.canTrack)) {
5487
5484
  const U = (I = e.builderContextSignal.content) == null ? void 0 : I.testVariationId, K = (j = e.builderContextSignal.content) == null ? void 0 : j.id, re = e.apiKey;
5488
- Xn({
5485
+ Jn({
5489
5486
  type: "impression",
5490
5487
  canTrack: !0,
5491
5488
  contentId: K,
@@ -5493,10 +5490,10 @@ function qo(e) {
5493
5490
  variationId: U !== K ? U : void 0
5494
5491
  });
5495
5492
  }
5496
- Jr() && t.current && t.current.dispatchEvent(new CustomEvent("initpreviewingbldr"));
5493
+ Gr() && t.current && t.current.dispatchEvent(new CustomEvent("initpreviewingbldr"));
5497
5494
  }
5498
5495
  }, []), te(() => {
5499
- e.apiKey || Oe.error(
5496
+ e.apiKey || Re.error(
5500
5497
  "No API key provided to `RenderContent` component. This can cause issues. Please provide an API key using the `apiKey` prop."
5501
5498
  ), x(), $(), J();
5502
5499
  }, []), te(() => {
@@ -5519,7 +5516,7 @@ function qo(e) {
5519
5516
  "builder:component:stateChangeListenerActivated",
5520
5517
  J
5521
5518
  ));
5522
- }, []), /* @__PURE__ */ h(nn.Provider, { value: e.builderContextSignal, children: e.builderContextSignal.content ? /* @__PURE__ */ h(N, { children: /* @__PURE__ */ Qt(
5519
+ }, []), /* @__PURE__ */ h(nn.Provider, { value: e.builderContextSignal, children: e.builderContextSignal.content ? /* @__PURE__ */ h(N, { children: /* @__PURE__ */ en(
5523
5520
  f,
5524
5521
  {
5525
5522
  key: n,
@@ -5537,7 +5534,7 @@ function qo(e) {
5537
5534
  e.children
5538
5535
  ) }) : null });
5539
5536
  }
5540
- const Jo = (e) => {
5537
+ const Go = (e) => {
5541
5538
  var o, s;
5542
5539
  const t = e.family + (e.kind && !e.kind.includes("#") ? ", " + e.kind : ""), n = t.split(",")[0], r = (s = e.fileUrl) != null ? s : (o = e == null ? void 0 : e.files) == null ? void 0 : o.regular;
5543
5540
  let i = "";
@@ -5563,23 +5560,23 @@ font-weight: ${c};
5563
5560
  `.trim());
5564
5561
  }
5565
5562
  return i;
5566
- }, Xo = ({
5563
+ }, qo = ({
5567
5564
  customFonts: e
5568
5565
  }) => {
5569
5566
  var t;
5570
- return ((t = e == null ? void 0 : e.map((n) => Jo(n))) == null ? void 0 : t.join(" ")) || "";
5571
- }, Yo = ({
5567
+ return ((t = e == null ? void 0 : e.map((n) => Go(n))) == null ? void 0 : t.join(" ")) || "";
5568
+ }, Jo = ({
5572
5569
  cssCode: e,
5573
5570
  contentId: t
5574
5571
  }) => e ? t ? (e == null ? void 0 : e.replace(/&/g, `div[builder-content-id="${t}"]`)) || "" : e : "";
5575
- function Zo(e) {
5572
+ function Xo(e) {
5576
5573
  const [t, n] = _(
5577
5574
  () => `
5578
- ${Yo({
5575
+ ${Jo({
5579
5576
  cssCode: e.cssCode,
5580
5577
  contentId: e.contentId
5581
5578
  })}
5582
- ${Xo({
5579
+ ${qo({
5583
5580
  customFonts: e.customFonts
5584
5581
  })}
5585
5582
 
@@ -5603,7 +5600,7 @@ ${Xo({
5603
5600
  );
5604
5601
  return /* @__PURE__ */ h(Ct, { styles: t });
5605
5602
  }
5606
- const Qo = ({
5603
+ const Yo = ({
5607
5604
  content: e,
5608
5605
  data: t,
5609
5606
  locale: n
@@ -5620,7 +5617,7 @@ const Qo = ({
5620
5617
  locale: n
5621
5618
  } : {}
5622
5619
  };
5623
- }, ea = ({
5620
+ }, Zo = ({
5624
5621
  content: e,
5625
5622
  data: t
5626
5623
  }) => e ? {
@@ -5631,12 +5628,12 @@ const Qo = ({
5631
5628
  },
5632
5629
  meta: e == null ? void 0 : e.meta
5633
5630
  } : void 0;
5634
- function dr(e) {
5631
+ function ur(e) {
5635
5632
  var f, p, v, x, D, T, k;
5636
5633
  const [t, n] = _(
5637
5634
  () => {
5638
5635
  var A, V;
5639
- return Ho({
5636
+ return _o({
5640
5637
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
5641
5638
  variationId: (A = e.content) == null ? void 0 : A.testVariationId,
5642
5639
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
@@ -5652,31 +5649,25 @@ function dr(e) {
5652
5649
  }
5653
5650
  const [i, o] = _(
5654
5651
  () => [
5655
- ...lr(),
5656
- // While this `components` object is deprecated, we must maintain support for it.
5657
- // Since users are able to override our default components, we need to make sure that we do not break such
5658
- // existing usage.
5659
- // This is why we spread `components` after the default Builder.io components, but before the `props.customComponents`,
5660
- // which is the new standard way of providing custom components, and must therefore take precedence.
5661
- ...Yn,
5652
+ ...sr(),
5662
5653
  ...e.customComponents || []
5663
5654
  ].reduce(
5664
5655
  (A, { component: V, ...q }) => ({
5665
5656
  ...A,
5666
5657
  [q.name]: {
5667
5658
  component: V,
5668
- ...Zn(q)
5659
+ ...Xn(q)
5669
5660
  }
5670
5661
  }),
5671
5662
  {}
5672
5663
  )
5673
5664
  ), [s, c] = _(() => ({
5674
- content: ea({
5665
+ content: Zo({
5675
5666
  content: e.content,
5676
5667
  data: e.data
5677
5668
  }),
5678
5669
  localState: void 0,
5679
- rootState: Qo({
5670
+ rootState: Yo({
5680
5671
  content: e.content,
5681
5672
  data: e.data,
5682
5673
  locale: e.locale
@@ -5686,18 +5677,12 @@ function dr(e) {
5686
5677
  apiKey: e.apiKey,
5687
5678
  apiVersion: e.apiVersion,
5688
5679
  componentInfos: [
5689
- ...lr(),
5690
- // While this `components` object is deprecated, we must maintain support for it.
5691
- // Since users are able to override our default components, we need to make sure that we do not break such
5692
- // existing usage.
5693
- // This is why we spread `components` after the default Builder.io components, but before the `props.customComponents`,
5694
- // which is the new standard way of providing custom components, and must therefore take precedence.
5695
- ...Yn,
5680
+ ...sr(),
5696
5681
  ...e.customComponents || []
5697
5682
  ].reduce(
5698
5683
  (A, { component: V, ...q }) => ({
5699
5684
  ...A,
5700
- [q.name]: Zn(q)
5685
+ [q.name]: Xn(q)
5701
5686
  }),
5702
5687
  {}
5703
5688
  ),
@@ -5706,13 +5691,13 @@ function dr(e) {
5706
5691
  BlocksWrapperProps: e.blocksWrapperProps || {}
5707
5692
  }));
5708
5693
  return /* @__PURE__ */ h(
5709
- mr.Provider,
5694
+ hr.Provider,
5710
5695
  {
5711
5696
  value: {
5712
5697
  registeredComponents: i
5713
5698
  },
5714
5699
  children: /* @__PURE__ */ ae(
5715
- qo,
5700
+ zo,
5716
5701
  {
5717
5702
  content: e.content,
5718
5703
  data: e.data,
@@ -5721,7 +5706,6 @@ function dr(e) {
5721
5706
  apiKey: e.apiKey,
5722
5707
  canTrack: e.canTrack,
5723
5708
  locale: e.locale,
5724
- includeRefs: e.includeRefs,
5725
5709
  enrich: e.enrich,
5726
5710
  showContent: e.showContent,
5727
5711
  builderContextSignal: s,
@@ -5733,7 +5717,7 @@ function dr(e) {
5733
5717
  children: [
5734
5718
  e.isSsrAbTest ? /* @__PURE__ */ h(N, { children: /* @__PURE__ */ h(Zt, { scriptStr: t }) }) : null,
5735
5719
  /* @__PURE__ */ h(N, { children: /* @__PURE__ */ h(
5736
- Zo,
5720
+ Xo,
5737
5721
  {
5738
5722
  contentId: (f = s.content) == null ? void 0 : f.id,
5739
5723
  cssCode: (v = (p = s.content) == null ? void 0 : p.data) == null ? void 0 : v.cssCode,
@@ -5741,7 +5725,7 @@ function dr(e) {
5741
5725
  }
5742
5726
  ) }),
5743
5727
  /* @__PURE__ */ h(
5744
- Re,
5728
+ Ue,
5745
5729
  {
5746
5730
  blocks: (k = (T = s.content) == null ? void 0 : T.data) == null ? void 0 : k.blocks,
5747
5731
  context: s,
@@ -5755,17 +5739,17 @@ function dr(e) {
5755
5739
  }
5756
5740
  );
5757
5741
  }
5758
- function Or(e) {
5742
+ function Qo(e) {
5759
5743
  var s, c;
5760
5744
  const [t, n] = _(
5761
- () => Lo({
5745
+ () => Uo({
5762
5746
  canTrack: bt(e.canTrack),
5763
5747
  content: e.content
5764
5748
  })
5765
5749
  );
5766
5750
  function r() {
5767
5751
  var f;
5768
- return $o(
5752
+ return Wo(
5769
5753
  yt(e.content).map((p) => ({
5770
5754
  id: p.testVariationId,
5771
5755
  testRatio: p.testRatio
@@ -5781,14 +5765,14 @@ function Or(e) {
5781
5765
  return t ? {
5782
5766
  ...e.content,
5783
5767
  testVariationId: (f = e.content) == null ? void 0 : f.id
5784
- } : ti({
5768
+ } : Qr({
5785
5769
  item: e.content,
5786
5770
  canTrack: bt(e.canTrack)
5787
5771
  });
5788
5772
  }
5789
5773
  return te(() => {
5790
5774
  }, []), /* @__PURE__ */ ae(N, { children: [
5791
- !e.__isNestedRender && at !== "reactNative" ? /* @__PURE__ */ h(N, { children: /* @__PURE__ */ h(Zt, { scriptStr: _o() }) }) : null,
5775
+ !e.__isNestedRender && at !== "reactNative" ? /* @__PURE__ */ h(N, { children: /* @__PURE__ */ h(Zt, { scriptStr: Lo() }) }) : null,
5792
5776
  t ? /* @__PURE__ */ ae(N, { children: [
5793
5777
  /* @__PURE__ */ h(
5794
5778
  Ct,
@@ -5799,7 +5783,7 @@ function Or(e) {
5799
5783
  ),
5800
5784
  /* @__PURE__ */ h(Zt, { scriptStr: r() }),
5801
5785
  (c = yt(e.content)) == null ? void 0 : c.map((f) => /* @__PURE__ */ h(
5802
- dr,
5786
+ ur,
5803
5787
  {
5804
5788
  content: f,
5805
5789
  showContent: !1,
@@ -5812,7 +5796,6 @@ function Or(e) {
5812
5796
  linkComponent: e.linkComponent,
5813
5797
  canTrack: e.canTrack,
5814
5798
  locale: e.locale,
5815
- includeRefs: e.includeRefs,
5816
5799
  enrich: e.enrich,
5817
5800
  isSsrAbTest: t,
5818
5801
  blocksWrapper: e.blocksWrapper,
@@ -5825,7 +5808,7 @@ function Or(e) {
5825
5808
  ))
5826
5809
  ] }) : null,
5827
5810
  /* @__PURE__ */ h(
5828
- dr,
5811
+ ur,
5829
5812
  {
5830
5813
  content: o(),
5831
5814
  showContent: !0,
@@ -5838,7 +5821,6 @@ function Or(e) {
5838
5821
  linkComponent: e.linkComponent,
5839
5822
  canTrack: e.canTrack,
5840
5823
  locale: e.locale,
5841
- includeRefs: e.includeRefs,
5842
5824
  enrich: e.enrich,
5843
5825
  isSsrAbTest: t,
5844
5826
  blocksWrapper: e.blocksWrapper,
@@ -5850,13 +5832,13 @@ function Or(e) {
5850
5832
  )
5851
5833
  ] });
5852
5834
  }
5853
- const ta = async ({
5835
+ const ea = async ({
5854
5836
  builderContextValue: e,
5855
5837
  symbol: t
5856
5838
  }) => {
5857
5839
  if (t != null && t.model && // This is a hack, we should not need to check for this, but it is needed for Svelte.
5858
5840
  (e != null && e.apiKey))
5859
- return hr({
5841
+ return dr({
5860
5842
  model: t.model,
5861
5843
  apiKey: e.apiKey,
5862
5844
  apiVersion: e.apiVersion,
@@ -5866,10 +5848,10 @@ const ta = async ({
5866
5848
  }
5867
5849
  }
5868
5850
  }).catch((n) => {
5869
- Oe.error("Could not fetch symbol content: ", n);
5851
+ Re.error("Could not fetch symbol content: ", n);
5870
5852
  });
5871
5853
  };
5872
- function na(e) {
5854
+ function ta(e) {
5873
5855
  var o, s, c, f;
5874
5856
  function t() {
5875
5857
  var p, v;
@@ -5885,7 +5867,7 @@ function na(e) {
5885
5867
  return (p = e.symbol) == null ? void 0 : p.content;
5886
5868
  });
5887
5869
  function i() {
5888
- n || ta({
5870
+ n || ea({
5889
5871
  symbol: e.symbol,
5890
5872
  builderContextValue: e.builderContext
5891
5873
  }).then((p) => {
@@ -5896,7 +5878,7 @@ function na(e) {
5896
5878
  }, []), te(() => {
5897
5879
  i();
5898
5880
  }, [e.symbol]), /* @__PURE__ */ h("div", { ...e.attributes, className: t(), children: /* @__PURE__ */ h(
5899
- Or,
5881
+ Qo,
5900
5882
  {
5901
5883
  __isNestedRender: !0,
5902
5884
  apiVersion: e.builderContext.apiVersion,
@@ -5917,32 +5899,27 @@ function na(e) {
5917
5899
  }
5918
5900
  ) });
5919
5901
  }
5920
- const aa = Re, sa = Or;
5921
5902
  export {
5922
- Re as Blocks,
5923
- ii as Button,
5924
- Qi as Columns,
5925
- Or as Content,
5926
- eo as Fragment,
5927
- ro as Image,
5928
- aa as RenderBlocks,
5929
- sa as RenderContent,
5930
- io as Section,
5931
- na as Symbol,
5932
- po as Text,
5933
- Bo as Video,
5934
- ua as _processContentResult,
5935
- Qr as createRegisterComponentMessage,
5936
- da as fetchBuilderProps,
5937
- fa as fetchEntries,
5938
- hr as fetchOneEntry,
5939
- ha as getAllContent,
5940
- ma as getBuilderSearchParams,
5941
- pa as getContent,
5903
+ Ue as Blocks,
5904
+ ni as Button,
5905
+ Yi as Columns,
5906
+ Qo as Content,
5907
+ Zi as Fragment,
5908
+ to as Image,
5909
+ no as Section,
5910
+ ta as Symbol,
5911
+ ho as Text,
5912
+ Fo as Video,
5913
+ sa as _processContentResult,
5914
+ Yr as createRegisterComponentMessage,
5915
+ la as fetchBuilderProps,
5916
+ ca as fetchEntries,
5917
+ dr as fetchOneEntry,
5918
+ ua as getBuilderSearchParams,
5942
5919
  me as isEditing,
5943
- Jr as isPreviewing,
5944
- ga as register,
5945
- ya as setEditorSettings,
5946
- va as subscribeToEditor,
5947
- ba as track
5920
+ Gr as isPreviewing,
5921
+ da as register,
5922
+ fa as setEditorSettings,
5923
+ ha as subscribeToEditor,
5924
+ ma as track
5948
5925
  };