@builder.io/sdk-react-nextjs 0.14.21 → 0.14.25

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (43) hide show
  1. package/lib/browser/{USE_CLIENT_BUNDLE-421209ac.cjs → USE_CLIENT_BUNDLE-1ddfeb58.cjs} +2 -2
  2. package/lib/{node/USE_CLIENT_BUNDLE-14685e18.js → browser/USE_CLIENT_BUNDLE-8cd3386f.js} +21 -21
  3. package/lib/{edge/USE_SERVER_BUNDLE-81678d13.js → browser/USE_SERVER_BUNDLE-457ff39c.js} +1 -1
  4. package/lib/{edge/USE_SERVER_BUNDLE-53f11a34.cjs → browser/USE_SERVER_BUNDLE-7b480ad5.cjs} +1 -1
  5. package/lib/browser/{bundle-8e752d91.js → bundle-761961a0.js} +333 -333
  6. package/lib/browser/{bundle-1e8b30d0.cjs → bundle-9d1d2542.cjs} +20 -20
  7. package/lib/browser/index.cjs +1 -1
  8. package/lib/browser/index.mjs +3 -3
  9. package/lib/{node/USE_CLIENT_BUNDLE-80d049f9.cjs → edge/USE_CLIENT_BUNDLE-2ee56c62.cjs} +2 -2
  10. package/lib/{browser/USE_CLIENT_BUNDLE-85cd491c.js → edge/USE_CLIENT_BUNDLE-e4abd45c.js} +21 -21
  11. package/lib/{node/USE_SERVER_BUNDLE-c11df0b0.cjs → edge/USE_SERVER_BUNDLE-78eb2f70.cjs} +1 -1
  12. package/lib/{node/USE_SERVER_BUNDLE-c93447b3.js → edge/USE_SERVER_BUNDLE-f025d6d8.js} +1 -1
  13. package/lib/edge/{bundle-ad170624.js → bundle-2dc98ad8.js} +421 -421
  14. package/lib/edge/{bundle-4d349481.cjs → bundle-8f003cc6.cjs} +27 -27
  15. package/lib/edge/index.cjs +1 -1
  16. package/lib/edge/index.mjs +3 -3
  17. package/lib/{edge/USE_CLIENT_BUNDLE-e965200b.js → node/USE_CLIENT_BUNDLE-ef4baa66.js} +21 -21
  18. package/lib/{edge/USE_CLIENT_BUNDLE-1d5cd7a9.cjs → node/USE_CLIENT_BUNDLE-f7463aa3.cjs} +2 -2
  19. package/lib/{browser/USE_SERVER_BUNDLE-c44b1000.js → node/USE_SERVER_BUNDLE-3c35d11e.js} +1 -1
  20. package/lib/{browser/USE_SERVER_BUNDLE-7f959896.cjs → node/USE_SERVER_BUNDLE-e5e233d2.cjs} +1 -1
  21. package/lib/node/{bundle-5c7927a4.js → bundle-90827143.js} +49 -49
  22. package/lib/node/{bundle-8a453488.cjs → bundle-df5510f7.cjs} +5 -5
  23. package/lib/node/index.cjs +1 -1
  24. package/lib/node/index.mjs +3 -3
  25. package/package.json +4 -4
  26. package/types/cjs/blocks/accordion/accordion.d.ts +4 -0
  27. package/types/cjs/blocks/accordion/accordion.types.d.ts +12 -0
  28. package/types/cjs/blocks/accordion/component-info.d.ts +2 -0
  29. package/types/cjs/blocks/accordion/helpers.d.ts +1 -0
  30. package/types/cjs/blocks/accordion/index.d.ts +1 -0
  31. package/types/cjs/components/block/animator.d.ts +0 -1
  32. package/types/cjs/components/content-variants/content-variants.types.d.ts +1 -1
  33. package/types/cjs/constants/sdk-version.d.ts +1 -1
  34. package/types/cjs/functions/camel-to-kebab-case.d.ts +1 -1
  35. package/types/esm/blocks/accordion/accordion.d.ts +4 -0
  36. package/types/esm/blocks/accordion/accordion.types.d.ts +12 -0
  37. package/types/esm/blocks/accordion/component-info.d.ts +2 -0
  38. package/types/esm/blocks/accordion/helpers.d.ts +1 -0
  39. package/types/esm/blocks/accordion/index.d.ts +1 -0
  40. package/types/esm/components/block/animator.d.ts +0 -1
  41. package/types/esm/components/content-variants/content-variants.types.d.ts +1 -1
  42. package/types/esm/constants/sdk-version.d.ts +1 -1
  43. package/types/esm/functions/camel-to-kebab-case.d.ts +1 -1
@@ -1,9 +1,9 @@
1
1
  import { jsx as I, Fragment as ee, jsxs as xe } from "react/jsx-runtime";
2
2
  import "react";
3
3
  import { LRUCache as oo } from "lru-cache";
4
- import { I as io, B as ao, a as so, D as lo, C as co, E as uo, b as fo, V as po, c as ho, F as mo, d as go, S as yo, e as vo } from "./USE_CLIENT_BUNDLE-e965200b.js";
4
+ import { I as io, B as ao, a as so, D as lo, C as co, E as uo, b as fo, V as po, c as ho, F as mo, d as go, S as yo, e as vo } from "./USE_CLIENT_BUNDLE-e4abd45c.js";
5
5
  import "next/navigation";
6
- const bo = /* @__PURE__ */ new Set(["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen", "link", "meta", "param", "source", "track", "wbr"]), za = (e) => typeof e == "string" && bo.has(e.toLowerCase()), me = "rsc", Yt = () => {
6
+ const bo = /* @__PURE__ */ new Set(["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen", "link", "meta", "param", "source", "track", "wbr"]), Ja = (e) => typeof e == "string" && bo.has(e.toLowerCase()), me = "rsc", Yt = () => {
7
7
  switch (me) {
8
8
  case "react":
9
9
  case "reactNative":
@@ -42,13 +42,13 @@ const wo = (e) => {
42
42
  return e.forEach((n, r) => {
43
43
  t[r] = n;
44
44
  }), t;
45
- }, lr = (e) => e instanceof URLSearchParams ? wo(e) : e, cr = (e) => typeof e == "string" ? e : e instanceof URLSearchParams ? e.toString() : new URLSearchParams(e).toString();
45
+ }, cr = (e) => e instanceof URLSearchParams ? wo(e) : e, ur = (e) => typeof e == "string" ? e : e instanceof URLSearchParams ? e.toString() : new URLSearchParams(e).toString();
46
46
  function xo() {
47
47
  return G() && window.self !== window.top;
48
48
  }
49
- function ur(e) {
49
+ function fr(e) {
50
50
  return xo() && // accessing window.location.search is safe here because `isIframe()` is only `true` if we're in a browser.
51
- cr(e || window.location.search).indexOf("builder.frameEditing=") !== -1;
51
+ ur(e || window.location.search).indexOf("builder.frameEditing=") !== -1;
52
52
  }
53
53
  const ko = () => {
54
54
  if (G()) {
@@ -56,7 +56,7 @@ const ko = () => {
56
56
  return e.pathname === "" && (e.pathname = "/"), e;
57
57
  } else
58
58
  return console.warn("Cannot get location for tracking in non-browser environment"), null;
59
- }, Co = () => typeof navigator == "object" && navigator.userAgent || "", fr = () => {
59
+ }, Co = () => typeof navigator == "object" && navigator.userAgent || "", dr = () => {
60
60
  const e = Co(), t = {
61
61
  Android() {
62
62
  return e.match(/Android/i);
@@ -82,7 +82,7 @@ const ko = () => {
82
82
  host: (r == null ? void 0 : r.host) || (r == null ? void 0 : r.hostname),
83
83
  device: n ? "tablet" : t.any() ? "mobile" : "desktop"
84
84
  };
85
- }, dr = ({
85
+ }, pr = ({
86
86
  builder: e,
87
87
  context: t,
88
88
  event: n,
@@ -95,10 +95,10 @@ const ko = () => {
95
95
  context: t,
96
96
  event: n
97
97
  }), Eo = () => ({
98
- isEditing: ur(),
98
+ isEditing: fr(),
99
99
  isBrowser: G(),
100
100
  isServer: !G(),
101
- getUserAttributes: () => fr()
101
+ getUserAttributes: () => dr()
102
102
  }), Io = (e, {
103
103
  isExpression: t = !0
104
104
  }) => /* 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, To = ({
@@ -110,11 +110,11 @@ const ko = () => {
110
110
  rootSetState: i,
111
111
  rootState: s
112
112
  }) => {
113
- const u = dr({
113
+ const u = pr({
114
114
  builder: t,
115
115
  context: n,
116
116
  event: r,
117
- state: pr({
117
+ state: hr({
118
118
  rootState: s,
119
119
  localState: o,
120
120
  rootSetState: i
@@ -122,7 +122,7 @@ const ko = () => {
122
122
  });
123
123
  return new Function(...u.map(([p]) => p), e)(...u.map(([, p]) => p));
124
124
  };
125
- function pr({
125
+ function hr({
126
126
  rootState: e,
127
127
  localState: t,
128
128
  rootSetState: n
@@ -132,7 +132,7 @@ function pr({
132
132
  if (t && o in t)
133
133
  return t[o];
134
134
  const i = r[o];
135
- return typeof i == "object" && i !== null ? pr({
135
+ return typeof i == "object" && i !== null ? hr({
136
136
  rootState: i,
137
137
  localState: void 0,
138
138
  rootSetState: n ? (s) => {
@@ -147,7 +147,7 @@ function pr({
147
147
  }
148
148
  });
149
149
  }
150
- const hr = (e, t, n) => {
150
+ const mr = (e, t, n) => {
151
151
  if (Object(e) !== e)
152
152
  return e;
153
153
  const r = Array.isArray(t) ? t : t.toString().match(/[^.[\]]+/g);
@@ -158,7 +158,7 @@ var B, Ao = function(e) {
158
158
  return 48 > a ? a === 36 : 58 > a ? !0 : 65 > a ? !1 : 91 > a ? !0 : 97 > a ? a === 95 : 123 > a ? !0 : 170 <= a && no.test(String.fromCharCode(a));
159
159
  }
160
160
  function n(a) {
161
- return 65 > a ? a === 36 : 91 > a ? !0 : 97 > a ? a === 95 : 123 > a ? !0 : 170 <= a && _n.test(String.fromCharCode(a));
161
+ return 65 > a ? a === 36 : 91 > a ? !0 : 97 > a ? a === 95 : 123 > a ? !0 : 170 <= a && $n.test(String.fromCharCode(a));
162
162
  }
163
163
  function r(a, l) {
164
164
  for (var c = y, d = 1, C = 0; ; ) {
@@ -227,7 +227,7 @@ var B, Ao = function(e) {
227
227
  function b(a) {
228
228
  switch (a) {
229
229
  case 46:
230
- a = y.charCodeAt(f + 1), 48 <= a && 57 >= a ? j(!0) : (++f, s(Bn));
230
+ a = y.charCodeAt(f + 1), 48 <= a && 57 >= a ? j(!0) : (++f, s(Un));
231
231
  return;
232
232
  case 40:
233
233
  return ++f, s(ce);
@@ -248,7 +248,7 @@ var B, Ao = function(e) {
248
248
  case 58:
249
249
  return ++f, s(We);
250
250
  case 63:
251
- return ++f, s(Un);
251
+ return ++f, s(Mn);
252
252
  case 48:
253
253
  if (a = y.charCodeAt(f + 1), a === 120 || a === 88) {
254
254
  f += 2, a = N(16), a === null && r(W + 2, "Expected hexadecimal number"), n(y.charCodeAt(f)) && r(f, "Identifier directly after number"), s(De, a);
@@ -327,7 +327,7 @@ var B, Ao = function(e) {
327
327
  }
328
328
  return;
329
329
  case 47:
330
- a = y.charCodeAt(f + 1), Fe ? (++f, O()) : a === 61 ? m(we, 2) : m(Mn, 1);
330
+ a = y.charCodeAt(f + 1), Fe ? (++f, O()) : a === 61 ? m(we, 2) : m(Fn, 1);
331
331
  return;
332
332
  case 37:
333
333
  case 42:
@@ -335,7 +335,7 @@ var B, Ao = function(e) {
335
335
  return;
336
336
  case 124:
337
337
  case 38:
338
- l = y.charCodeAt(f + 1), l === a ? m(a === 124 ? Dn : Ln, 2) : l === 61 ? m(we, 2) : m(a === 124 ? Kr : Xr, 1);
338
+ l = y.charCodeAt(f + 1), l === a ? m(a === 124 ? Ln : Wn, 2) : l === 61 ? m(we, 2) : m(a === 124 ? Kr : Xr, 1);
339
339
  return;
340
340
  case 94:
341
341
  y.charCodeAt(f + 1) === 61 ? m(we, 2) : m(Gr, 1);
@@ -350,10 +350,10 @@ var B, Ao = function(e) {
350
350
  return;
351
351
  case 61:
352
352
  case 33:
353
- y.charCodeAt(f + 1) === 61 ? m(Yr, y.charCodeAt(f + 2) === 61 ? 3 : 2) : m(a === 61 ? Fn : Vn, 1);
353
+ y.charCodeAt(f + 1) === 61 ? m(Yr, y.charCodeAt(f + 2) === 61 ? 3 : 2) : m(a === 61 ? Vn : Dn, 1);
354
354
  return;
355
355
  case 126:
356
- return m(Vn, 1);
356
+ return m(Dn, 1);
357
357
  }
358
358
  return !1;
359
359
  }
@@ -365,7 +365,7 @@ var B, Ao = function(e) {
365
365
  if (a = y.charCodeAt(f), n(a) || a === 92)
366
366
  return T();
367
367
  if (b(a) === !1) {
368
- if (a = String.fromCharCode(a), a === "\\" || _n.test(a))
368
+ if (a = String.fromCharCode(a), a === "\\" || $n.test(a))
369
369
  return T();
370
370
  r(f, "Unexpected character '" + a + "'");
371
371
  }
@@ -397,7 +397,7 @@ var B, Ao = function(e) {
397
397
  } catch (_) {
398
398
  throw _ instanceof SyntaxError && r(c, _.message), _;
399
399
  }
400
- s(mn, C);
400
+ s(gn, C);
401
401
  }
402
402
  function N(a, l) {
403
403
  for (var c = f, d = 0, C = l === void 0 ? 1 / 0 : l, _ = 0; _ < C; ++_) {
@@ -486,11 +486,11 @@ var B, Ao = function(e) {
486
486
  a.type !== "Identifier" && a.type !== "MemberExpression" && r(a.start, "Assigning to rvalue"), Q && a.type === "Identifier" && it(a.name) && r(a.start, "Assigning to " + a.name + " in strict mode");
487
487
  }
488
488
  function re() {
489
- (k === Mn || k === we && te === "/=") && x(!0);
489
+ (k === Fn || k === we && te === "/=") && x(!0);
490
490
  var a = k, l = V();
491
491
  switch (a) {
492
492
  case jt:
493
- case yn:
493
+ case vn:
494
494
  g();
495
495
  var c = a === jt;
496
496
  M(ue) || et() ? l.label = null : k !== Ee ? ae() : (l.label = se(), be());
@@ -500,31 +500,31 @@ var B, Ao = function(e) {
500
500
  break;
501
501
  }
502
502
  return d === L.length && r(l.start, "Unsyntactic " + a.l), E(l, c ? "BreakStatement" : "ContinueStatement");
503
- case vn:
503
+ case bn:
504
504
  return g(), be(), E(l, "DebuggerStatement");
505
- case Sn:
505
+ case wn:
506
506
  return g(), L.push(Vt), l.body = re(), L.pop(), D(Ut), l.test = Be(), be(), E(l, "DoWhileStatement");
507
- case kn:
508
- return g(), L.push(Vt), D(ce), k === ue ? vt(l, null) : k === Bt ? (a = V(), g(), pn(a, !0), E(a, "VariableDeclaration"), a.fa.length === 1 && M(ot) ? dn(l, a) : vt(l, a)) : (a = K(!1, !0), M(ot) ? (tt(a), dn(l, a)) : vt(l, a));
507
+ case Cn:
508
+ return g(), L.push(Vt), D(ce), k === ue ? vt(l, null) : k === Bt ? (a = V(), g(), hn(a, !0), E(a, "VariableDeclaration"), a.fa.length === 1 && M(ot) ? pn(l, a) : vt(l, a)) : (a = K(!1, !0), M(ot) ? (tt(a), pn(l, a)) : vt(l, a));
509
509
  case Pt:
510
510
  return g(), xt(l, !0);
511
- case Cn:
512
- return g(), l.test = Be(), l.da = re(), l.alternate = M(wn) ? re() : null, E(l, "IfStatement");
513
511
  case En:
512
+ return g(), l.test = Be(), l.da = re(), l.alternate = M(xn) ? re() : null, E(l, "IfStatement");
513
+ case In:
514
514
  return Ve || A.Ib || r(W, "'return' outside of function"), g(), M(ue) || et() ? l.K = null : (l.K = K(), be()), E(l, "ReturnStatement");
515
515
  case Nt:
516
516
  for (g(), l.Qb = Be(), l.tb = [], D(Le), L.push(ro); k !== Ie; )
517
- k === Rt || k === bn ? (a = k === Rt, d && E(d, "SwitchCase"), l.tb.push(d = V()), d.da = [], g(), a ? d.test = K() : (c && r(Tt, "Multiple default clauses"), c = !0, d.test = null), D(We)) : (d || ae(), d.da.push(re()));
517
+ k === Rt || k === Sn ? (a = k === Rt, d && E(d, "SwitchCase"), l.tb.push(d = V()), d.da = [], g(), a ? d.test = K() : (c && r(Tt, "Multiple default clauses"), c = !0, d.test = null), D(We)) : (d || ae(), d.da.push(re()));
518
518
  return d && E(d, "SwitchCase"), g(), L.pop(), E(l, "SwitchStatement");
519
- case In:
520
- return g(), at.test(y.slice(ge, W)) && r(ge, "Illegal newline after throw"), l.K = K(), be(), E(l, "ThrowStatement");
521
519
  case Tn:
522
- return g(), l.block = Ue(), l.Ea = null, k === gn && (a = V(), g(), D(ce), a.Ua = se(), Q && it(a.Ua.name) && r(a.Ua.start, "Binding " + a.Ua.name + " in strict mode"), D(oe), a.body = Ue(), l.Ea = E(a, "CatchClause")), l.fb = M(xn) ? Ue() : null, l.Ea || l.fb || r(l.start, "Missing catch or finally clause"), E(l, "TryStatement");
520
+ return g(), at.test(y.slice(ge, W)) && r(ge, "Illegal newline after throw"), l.K = K(), be(), E(l, "ThrowStatement");
521
+ case An:
522
+ return g(), l.block = Ue(), l.Ea = null, k === yn && (a = V(), g(), D(ce), a.Ua = se(), Q && it(a.Ua.name) && r(a.Ua.start, "Binding " + a.Ua.name + " in strict mode"), D(oe), a.body = Ue(), l.Ea = E(a, "CatchClause")), l.fb = M(kn) ? Ue() : null, l.Ea || l.fb || r(l.start, "Missing catch or finally clause"), E(l, "TryStatement");
523
523
  case Bt:
524
- return g(), pn(l), be(), E(l, "VariableDeclaration");
524
+ return g(), hn(l), be(), E(l, "VariableDeclaration");
525
525
  case Ut:
526
526
  return g(), l.test = Be(), L.push(Vt), l.body = re(), L.pop(), E(l, "WhileStatement");
527
- case An:
527
+ case On:
528
528
  return Q && r(W, "'with' in strict mode"), g(), l.object = Be(), l.body = re(), E(l, "WithStatement");
529
529
  case Le:
530
530
  return Ue();
@@ -562,13 +562,13 @@ var B, Ao = function(e) {
562
562
  function vt(a, l) {
563
563
  return a.ua = l, D(ue), a.test = k === ue ? null : K(), D(ue), a.update = k === oe ? null : K(), D(oe), a.body = re(), L.pop(), E(a, "ForStatement");
564
564
  }
565
- function dn(a, l) {
565
+ function pn(a, l) {
566
566
  return a.left = l, a.right = K(), D(oe), a.body = re(), L.pop(), E(a, "ForInStatement");
567
567
  }
568
- function pn(a, l) {
568
+ function hn(a, l) {
569
569
  for (a.fa = [], a.kind = "var"; ; ) {
570
570
  var c = V();
571
- if (c.id = se(), Q && it(c.id.name) && r(c.id.start, "Binding " + c.id.name + " in strict mode"), c.ua = M(Fn) ? K(!0, l) : null, a.fa.push(E(c, "VariableDeclarator")), !M(ye))
571
+ if (c.id = se(), Q && it(c.id.name) && r(c.id.start, "Binding " + c.id.name + " in strict mode"), c.ua = M(Vn) ? K(!0, l) : null, a.fa.push(E(c, "VariableDeclarator")), !M(ye))
572
572
  break;
573
573
  }
574
574
  }
@@ -583,7 +583,7 @@ var B, Ao = function(e) {
583
583
  }
584
584
  function bt(a) {
585
585
  var l = St(wt(), -1, a);
586
- if (M(Un)) {
586
+ if (M(Mn)) {
587
587
  var c = ne(l);
588
588
  c.test = l, c.da = K(!0), D(We), c.alternate = K(!0, a), l = E(c, "ConditionalExpression");
589
589
  }
@@ -593,7 +593,7 @@ var B, Ao = function(e) {
593
593
  var d = k.L;
594
594
  if (d !== null && (!c || k !== ot) && d > l) {
595
595
  var C = ne(a);
596
- return C.left = a, C.operator = te, a = k, g(), C.right = St(wt(), d, c), d = E(C, a === Dn || a === Ln ? "LogicalExpression" : "BinaryExpression"), St(d, l, c);
596
+ return C.left = a, C.operator = te, a = k, g(), C.right = St(wt(), d, c), d = E(C, a === Ln || a === Wn ? "LogicalExpression" : "BinaryExpression"), St(d, l, c);
597
597
  }
598
598
  return a;
599
599
  }
@@ -607,7 +607,7 @@ var B, Ao = function(e) {
607
607
  return l;
608
608
  }
609
609
  function Me(a, l) {
610
- if (M(Bn)) {
610
+ if (M(Un)) {
611
611
  var c = ne(a);
612
612
  return c.object = a, c.Wa = se(!0), c.bb = !1, Me(E(c, "MemberExpression"), l);
613
613
  }
@@ -615,18 +615,18 @@ var B, Ao = function(e) {
615
615
  }
616
616
  function nt() {
617
617
  switch (k) {
618
- case jn:
618
+ case Rn:
619
619
  var a = V();
620
620
  return g(), E(a, "ThisExpression");
621
621
  case Ee:
622
622
  return se();
623
623
  case De:
624
624
  case rt:
625
- case mn:
625
+ case gn:
626
626
  return a = V(), a.value = te, a.raw = y.slice(W, Ce), g(), E(a, "Literal");
627
- case Rn:
628
627
  case Pn:
629
628
  case Nn:
629
+ case Bn:
630
630
  return a = V(), a.value = k.$a, a.raw = k.l, g(), E(a, "Literal");
631
631
  case ce:
632
632
  a = Et;
@@ -663,7 +663,7 @@ var B, Ao = function(e) {
663
663
  return E(a, "ObjectExpression");
664
664
  case Pt:
665
665
  return a = V(), g(), xt(a, !1);
666
- case On:
666
+ case jn:
667
667
  return a = V(), g(), a.callee = Me(nt(), !0), a.arguments = M(ce) ? kt(oe, !1) : _r, E(a, "NewExpression");
668
668
  }
669
669
  ae();
@@ -677,7 +677,7 @@ var B, Ao = function(e) {
677
677
  var d = L;
678
678
  if (Ve = !0, L = [], a.body = Ue(!0), Ve = c, L = d, Q || a.body.body.length && Qe(a.body.body[0])) {
679
679
  for (c = a.id ? -1 : 0; c < a.oa.length; ++c)
680
- if (d = 0 > c ? a.id : a.oa[c], (Wn(d.name) || it(d.name)) && r(d.start, "Defining '" + d.name + "' in strict mode"), 0 <= c)
680
+ if (d = 0 > c ? a.id : a.oa[c], (_n(d.name) || it(d.name)) && r(d.start, "Defining '" + d.name + "' in strict mode"), 0 <= c)
681
681
  for (var C = 0; C < c; ++C)
682
682
  d.name === a.oa[C].name && r(d.start, "Argument name clash in strict mode");
683
683
  }
@@ -695,19 +695,19 @@ var B, Ao = function(e) {
695
695
  }
696
696
  function se(a) {
697
697
  var l = V();
698
- return a && A.yb === "everywhere" && (a = !1), k === Ee ? (!a && (A.yb && Qr(te) || Q && Wn(te)) && y.slice(W, Ce).indexOf("\\") === -1 && r(W, "The keyword '" + te + "' is reserved"), l.name = te) : a && k.l ? l.name = k.l : ae(), Fe = !1, g(), E(l, "Identifier");
698
+ return a && A.yb === "everywhere" && (a = !1), k === Ee ? (!a && (A.yb && Qr(te) || Q && _n(te)) && y.slice(W, Ce).indexOf("\\") === -1 && r(W, "The keyword '" + te + "' is reserved"), l.name = te) : a && k.l ? l.name = k.l : ae(), Fe = !1, g(), E(l, "Identifier");
699
699
  }
700
700
  e.version = "0.5.0";
701
701
  var A, y = "", ke, Ct;
702
702
  e.parse = function(a, l) {
703
703
  y = String(a), ke = y.length, A = l || {};
704
- for (var c in hn)
705
- Object.prototype.hasOwnProperty.call(A, c) || (A[c] = hn[c]);
704
+ for (var c in mn)
705
+ Object.prototype.hasOwnProperty.call(A, c) || (A[c] = mn[c]);
706
706
  for (Ct = A.sourceFile, Se = 1, f = le = 0, Fe = !0, p(), c = A.dc, Tt = ge = f, A.C && (At = new i()), Ve = Q = !1, L = [], x(), a = c || V(), l = !0, c || (a.body = []); k !== Ot; )
707
707
  c = re(), a.body.push(c), l && Qe(c) && U(!0), l = !1;
708
708
  return E(a, "Program");
709
709
  };
710
- var hn = {
710
+ var mn = {
711
711
  fc: !1,
712
712
  sb: !0,
713
713
  yb: !1,
@@ -720,7 +720,7 @@ var B, Ao = function(e) {
720
720
  vb: null
721
721
  }, f = 0, W = 0, Ce = 0, Et, It, k, te, Fe, Se, le, Tt = 0, ge = 0, At, Ve, L, Q, _r = [], De = {
722
722
  type: "num"
723
- }, mn = {
723
+ }, gn = {
724
724
  type: "regexp"
725
725
  }, rt = {
726
726
  type: "string"
@@ -733,58 +733,58 @@ var B, Ao = function(e) {
733
733
  }, Rt = {
734
734
  l: "case",
735
735
  m: !0
736
- }, gn = {
737
- l: "catch"
738
736
  }, yn = {
739
- l: "continue"
737
+ l: "catch"
740
738
  }, vn = {
741
- l: "debugger"
739
+ l: "continue"
742
740
  }, bn = {
743
- l: "default"
741
+ l: "debugger"
744
742
  }, Sn = {
743
+ l: "default"
744
+ }, wn = {
745
745
  l: "do",
746
746
  W: !0
747
- }, wn = {
747
+ }, xn = {
748
748
  l: "else",
749
749
  m: !0
750
- }, xn = {
751
- l: "finally"
752
750
  }, kn = {
751
+ l: "finally"
752
+ }, Cn = {
753
753
  l: "for",
754
754
  W: !0
755
755
  }, Pt = {
756
756
  l: "function"
757
- }, Cn = {
758
- l: "if"
759
757
  }, En = {
758
+ l: "if"
759
+ }, In = {
760
760
  l: "return",
761
761
  m: !0
762
762
  }, Nt = {
763
763
  l: "switch"
764
- }, In = {
764
+ }, Tn = {
765
765
  l: "throw",
766
766
  m: !0
767
- }, Tn = {
767
+ }, An = {
768
768
  l: "try"
769
769
  }, Bt = {
770
770
  l: "var"
771
771
  }, Ut = {
772
772
  l: "while",
773
773
  W: !0
774
- }, An = {
775
- l: "with"
776
774
  }, On = {
775
+ l: "with"
776
+ }, jn = {
777
777
  l: "new",
778
778
  m: !0
779
- }, jn = {
780
- l: "this"
781
779
  }, Rn = {
780
+ l: "this"
781
+ }, Pn = {
782
782
  l: "null",
783
783
  $a: null
784
- }, Pn = {
784
+ }, Nn = {
785
785
  l: "true",
786
786
  $a: !0
787
- }, Nn = {
787
+ }, Bn = {
788
788
  l: "false",
789
789
  $a: !1
790
790
  }, ot = {
@@ -794,34 +794,34 @@ var B, Ao = function(e) {
794
794
  }, $r = {
795
795
  break: jt,
796
796
  case: Rt,
797
- catch: gn,
798
- continue: yn,
799
- debugger: vn,
800
- default: bn,
801
- do: Sn,
802
- else: wn,
803
- finally: xn,
804
- for: kn,
797
+ catch: yn,
798
+ continue: vn,
799
+ debugger: bn,
800
+ default: Sn,
801
+ do: wn,
802
+ else: xn,
803
+ finally: kn,
804
+ for: Cn,
805
805
  function: Pt,
806
- if: Cn,
807
- return: En,
806
+ if: En,
807
+ return: In,
808
808
  switch: Nt,
809
- throw: In,
810
- try: Tn,
809
+ throw: Tn,
810
+ try: An,
811
811
  var: Bt,
812
812
  while: Ut,
813
- with: An,
814
- null: Rn,
815
- true: Pn,
816
- false: Nn,
817
- new: On,
813
+ with: On,
814
+ null: Pn,
815
+ true: Nn,
816
+ false: Bn,
817
+ new: jn,
818
818
  in: ot,
819
819
  instanceof: {
820
820
  l: "instanceof",
821
821
  L: 7,
822
822
  m: !0
823
823
  },
824
- this: jn,
824
+ this: Rn,
825
825
  typeof: {
826
826
  l: "typeof",
827
827
  prefix: !0,
@@ -861,15 +861,15 @@ var B, Ao = function(e) {
861
861
  }, We = {
862
862
  type: ":",
863
863
  m: !0
864
- }, Bn = {
865
- type: "."
866
864
  }, Un = {
865
+ type: "."
866
+ }, Mn = {
867
867
  type: "?",
868
868
  m: !0
869
- }, Mn = {
869
+ }, Fn = {
870
870
  L: 10,
871
871
  m: !0
872
- }, Fn = {
872
+ }, Vn = {
873
873
  Cb: !0,
874
874
  m: !0
875
875
  }, we = {
@@ -879,13 +879,13 @@ var B, Ao = function(e) {
879
879
  cc: !0,
880
880
  prefix: !0,
881
881
  $b: !0
882
- }, Vn = {
882
+ }, Dn = {
883
883
  prefix: !0,
884
884
  m: !0
885
- }, Dn = {
885
+ }, Ln = {
886
886
  L: 1,
887
887
  m: !0
888
- }, Ln = {
888
+ }, Wn = {
889
889
  L: 2,
890
890
  m: !0
891
891
  }, Kr = {
@@ -913,7 +913,7 @@ var B, Ao = function(e) {
913
913
  }, Zr = {
914
914
  L: 10,
915
915
  m: !0
916
- }, Qr = o("class enum extends super const export import"), Wn = o("implements interface let package private protected public static yield"), it = o("eval arguments"), eo = o("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"), to = /[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/, _n = RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ]"), no = RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ̀-ͯ҃-֑҇-ׇֽֿׁׂׅׄؐ-ؚؠ-ىٲ-ۓۧ-ۨۻ-ۼܰ-݊ࠀ-ࠔࠛ-ࠣࠥ-ࠧࠩ-࠭ࡀ-ࡗࣤ-ࣾऀ-ःऺ-़ा-ॏ॑-ॗॢ-ॣ०-९ঁ-ঃ়া-ৄেৈৗয়-ৠਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢ-ૣ૦-૯ଁ-ଃ଼ା-ୄେୈୋ-୍ୖୗୟ-ୠ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఁ-ఃె-ైొ-్ౕౖౢ-ౣ౦-౯ಂಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢ-ೣ೦-೯ംഃെ-ൈൗൢ-ൣ൦-൯ංඃ්ා-ුූෘ-ෟෲෳิ-ฺเ-ๅ๐-๙ິ-ູ່-ໍ໐-໙༘༙༠-༩༹༵༷ཁ-ཇཱ-྄྆-྇ྍ-ྗྙ-ྼ࿆က-ဩ၀-၉ၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟ᜎ-ᜐᜠ-ᜰᝀ-ᝐᝲᝳក-ឲ៝០-៩᠋-᠍᠐-᠙ᤠ-ᤫᤰ-᤻ᥑ-ᥭᦰ-ᧀᧈ-ᧉ᧐-᧙ᨀ-ᨕᨠ-ᩓ᩠-᩿᩼-᪉᪐-᪙ᭆ-ᭋ᭐-᭙᭫-᭳᮰-᮹᯦-᯳ᰀ-ᰢ᱀-᱉ᱛ-ᱽ᳐-᳒ᴀ-ᶾḁ-ἕ‌‍‿⁀⁔⃐-⃥⃜⃡-⃰ⶁ-ⶖⷠ-ⷿ〡-〨゙゚Ꙁ-ꙭꙴ-꙽ꚟ꛰-꛱ꟸ-ꠀ꠆ꠋꠣ-ꠧꢀ-ꢁꢴ-꣄꣐-꣙ꣳ-ꣷ꤀-꤉ꤦ-꤭ꤰ-ꥅꦀ-ꦃ꦳-꧀ꨀ-ꨧꩀ-ꩁꩌ-ꩍ꩐-꩙ꩻꫠ-ꫩꫲ-ꫳꯀ-ꯡ꯬꯭꯰-꯹ﬠ-ﬨ︀-️︠-︦︳︴﹍-﹏0-9_]"), at = /[\n\r\u2028\u2029]/, st = /\r\n|[\n\r\u2028\u2029]/g, Te, Vt = {
916
+ }, Qr = o("class enum extends super const export import"), _n = o("implements interface let package private protected public static yield"), it = o("eval arguments"), eo = o("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"), to = /[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/, $n = RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ]"), no = RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ̀-ͯ҃-֑҇-ׇֽֿׁׂׅׄؐ-ؚؠ-ىٲ-ۓۧ-ۨۻ-ۼܰ-݊ࠀ-ࠔࠛ-ࠣࠥ-ࠧࠩ-࠭ࡀ-ࡗࣤ-ࣾऀ-ःऺ-़ा-ॏ॑-ॗॢ-ॣ०-९ঁ-ঃ়া-ৄেৈৗয়-ৠਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢ-ૣ૦-૯ଁ-ଃ଼ା-ୄେୈୋ-୍ୖୗୟ-ୠ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఁ-ఃె-ైొ-్ౕౖౢ-ౣ౦-౯ಂಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢ-ೣ೦-೯ംഃെ-ൈൗൢ-ൣ൦-൯ංඃ්ා-ුූෘ-ෟෲෳิ-ฺเ-ๅ๐-๙ິ-ູ່-ໍ໐-໙༘༙༠-༩༹༵༷ཁ-ཇཱ-྄྆-྇ྍ-ྗྙ-ྼ࿆က-ဩ၀-၉ၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟ᜎ-ᜐᜠ-ᜰᝀ-ᝐᝲᝳក-ឲ៝០-៩᠋-᠍᠐-᠙ᤠ-ᤫᤰ-᤻ᥑ-ᥭᦰ-ᧀᧈ-ᧉ᧐-᧙ᨀ-ᨕᨠ-ᩓ᩠-᩿᩼-᪉᪐-᪙ᭆ-ᭋ᭐-᭙᭫-᭳᮰-᮹᯦-᯳ᰀ-ᰢ᱀-᱉ᱛ-ᱽ᳐-᳒ᴀ-ᶾḁ-ἕ‌‍‿⁀⁔⃐-⃥⃜⃡-⃰ⶁ-ⶖⷠ-ⷿ〡-〨゙゚Ꙁ-ꙭꙴ-꙽ꚟ꛰-꛱ꟸ-ꠀ꠆ꠋꠣ-ꠧꢀ-ꢁꢴ-꣄꣐-꣙ꣳ-ꣷ꤀-꤉ꤦ-꤭ꤰ-ꥅꦀ-ꦃ꦳-꧀ꨀ-ꨧꩀ-ꩁꩌ-ꩍ꩐-꩙ꩻꫠ-ꫩꫲ-ꫳꯀ-ꯡ꯬꯭꯰-꯹ﬠ-ﬨ︀-️︠-︦︳︴﹍-﹏0-9_]"), at = /[\n\r\u2028\u2029]/, st = /\r\n|[\n\r\u2028\u2029]/g, Te, Vt = {
917
917
  kind: "loop"
918
918
  }, ro = {
919
919
  kind: "switch"
@@ -938,7 +938,7 @@ function h(e, t) {
938
938
  this.N = $t(this, this.ra, null), this.Na = this.N.object, this.ra = Re(this.ba.join(`
939
939
  `), "polyfills"), this.ba = void 0, pt(this.ra), i = new S(this.ra, this.N), i.done = !1, this.o = [i], this.Eb(), this.value = void 0, this.ra = r, i = new S(this.ra, this.N), i.done = !1, this.o.length = 0, this.o[0] = i;
940
940
  }
941
- var $n = {
941
+ var Hn = {
942
942
  C: !0,
943
943
  kc: 5
944
944
  }, Jt = {
@@ -957,11 +957,11 @@ var $n = {
957
957
  configurable: !1,
958
958
  enumerable: !1,
959
959
  writable: !1
960
- }, Hn = {
960
+ }, Kn = {
961
961
  configurable: !1,
962
962
  enumerable: !0,
963
963
  writable: !0
964
- }, mr = {
964
+ }, gr = {
965
965
  STEP_ERROR: !0
966
966
  }, Ne = {
967
967
  SCOPE_REFERENCE: !0
@@ -969,7 +969,7 @@ var $n = {
969
969
  VALUE_IN_DESCRIPTOR: !0
970
970
  }, je = {
971
971
  REGEXP_TIMEOUT: !0
972
- }, Kn = [], de = null, Xe = null, ve = typeof globalThis > "u" ? void 0 : globalThis, Oo = ["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();", "};"];
972
+ }, Gn = [], de = null, Xe = null, ve = typeof globalThis > "u" ? void 0 : globalThis, Oo = ["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();", "};"];
973
973
  function zt(e) {
974
974
  var t = e >>> 0;
975
975
  return t === Number(e) ? t : NaN;
@@ -996,8 +996,8 @@ B.Kb = 0;
996
996
  B.ic = 0;
997
997
  function Re(e, t) {
998
998
  var n = {}, r;
999
- for (r in $n)
1000
- n[r] = $n[r];
999
+ for (r in Hn)
1000
+ n[r] = Hn[r];
1001
1001
  return n.sourceFile = t, ve.j.parse(e, n);
1002
1002
  }
1003
1003
  B.Jb = function(e) {
@@ -1020,7 +1020,7 @@ B.lb = function() {
1020
1020
  if (n = this.ca[0], !n || n.time > Date.now())
1021
1021
  n = null;
1022
1022
  else {
1023
- this.ca.shift(), 0 <= n.interval && vr(this, n, n.interval);
1023
+ this.ca.shift(), 0 <= n.interval && br(this, n, n.interval);
1024
1024
  var r = new S(n.node, n.scope);
1025
1025
  n.zb && (r.ia = 2, r.B = this.Na, r.U = n.zb, r.Qa = !0, r.F = n.Lb), n = r;
1026
1026
  }
@@ -1033,7 +1033,7 @@ B.lb = function() {
1033
1033
  try {
1034
1034
  var i = this.rb[r.type](e, n, r);
1035
1035
  } catch (s) {
1036
- if (s !== mr)
1036
+ if (s !== gr)
1037
1037
  throw this.value !== s && (this.value = void 0), s;
1038
1038
  } finally {
1039
1039
  Xe = o;
@@ -1068,13 +1068,13 @@ function jo(e, t) {
1068
1068
  };
1069
1069
  }(r[o][0]), e.g(t, r[o][1], e.i(n, !1), v);
1070
1070
  n = function(i) {
1071
- return Gn(e, !1, arguments);
1071
+ return Xn(e, !1, arguments);
1072
1072
  }, e.g(t, "setTimeout", e.i(n, !1), v), n = function(i) {
1073
- return Gn(e, !0, arguments);
1073
+ return Xn(e, !0, arguments);
1074
1074
  }, e.g(t, "setInterval", e.i(n, !1), v), n = function(i) {
1075
- Xn(e, i);
1075
+ Yn(e, i);
1076
1076
  }, e.g(t, "clearTimeout", e.i(n, !1), v), n = function(i) {
1077
- Xn(e, i);
1077
+ Yn(e, i);
1078
1078
  }, e.g(t, "clearInterval", e.i(n, !1), v), 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);
1079
1079
  }
1080
1080
  B.Wb = 0;
@@ -1099,7 +1099,7 @@ function Ro(e, t) {
1099
1099
  e.O = e.i(r, !0), e.g(t, "Function", e.O, v), e.g(e.O, "prototype", e.Z, v), e.g(e.Z, "constructor", e.O, v), e.Z.Ta = function() {
1100
1100
  }, e.Z.Ta.id = e.Ya++, e.Z.Ab = !0, e.g(e.Z, "length", 0, q), e.Z.H = "Function", r = function(o, i) {
1101
1101
  var s = e.o[e.o.length - 1];
1102
- s.U = this, s.B = o, s.F = [], i != null && (i instanceof P ? s.F = gr(e, i) : w(e, e.j, "CreateListFromArrayLike called on non-object")), s.eb = !1;
1102
+ s.U = this, s.B = o, s.F = [], i != null && (i instanceof P ? s.F = yr(e, i) : w(e, e.j, "CreateListFromArrayLike called on non-object")), s.eb = !1;
1103
1103
  }, $(e, e.O, "apply", r), r = function(o) {
1104
1104
  var i = e.o[e.o.length - 1];
1105
1105
  i.U = this, i.B = o, i.F = [];
@@ -1397,7 +1397,7 @@ function Wo(e, t) {
1397
1397
  }
1398
1398
  return e.Ia(o);
1399
1399
  }, e.g(n, "parse", e.i(t, !1)), t = function(r, o, i) {
1400
- o && o.H === "Function" ? w(e, e.j, "Function replacer on JSON.stringify not supported") : o && o.H === "Array" ? (o = gr(e, o), o = o.filter(function(u) {
1400
+ o && o.H === "Function" ? w(e, e.j, "Function replacer on JSON.stringify not supported") : o && o.H === "Array" ? (o = yr(e, o), o = o.filter(function(u) {
1401
1401
  return typeof u == "string" || typeof u == "number";
1402
1402
  })) : o = null, typeof i != "string" && typeof i != "number" && (i = void 0), r = e.R(r);
1403
1403
  try {
@@ -1583,7 +1583,7 @@ function fe(e, t) {
1583
1583
  e.g(n, r[o], t[r[o]]);
1584
1584
  return n;
1585
1585
  }
1586
- function gr(e, t) {
1586
+ function yr(e, t) {
1587
1587
  var n = [], r;
1588
1588
  for (r in t.h)
1589
1589
  n[r] = e.G(t, r);
@@ -1721,12 +1721,12 @@ function $t(e, t, n) {
1721
1721
  var o = t.body && t.body[0];
1722
1722
  o && o.la && o.la.type === "Literal" && o.la.value === "use strict" && (r = !0);
1723
1723
  }
1724
- return o = e.s(null), r = new br(n, r, o), n || jo(e, r.object), ze(e, t, r), r;
1724
+ return o = e.s(null), r = new Sr(n, r, o), n || jo(e, r.object), ze(e, t, r), r;
1725
1725
  }
1726
1726
  function tn(e, t, n) {
1727
1727
  if (!t)
1728
1728
  throw Error("parentScope required");
1729
- return e = n || e.s(null), new br(t, t.S, e);
1729
+ return e = n || e.s(null), new Sr(t, t.S, e);
1730
1730
  }
1731
1731
  function nn(e, t) {
1732
1732
  for (var n = en(e); n && n !== e.N; ) {
@@ -1738,7 +1738,7 @@ function nn(e, t) {
1738
1738
  return e.G(n.object, t);
1739
1739
  n = e.o[e.o.length - 1].node, n.type === "UnaryExpression" && n.operator === "typeof" || w(e, e.pb, t + " is not defined");
1740
1740
  }
1741
- function yr(e, t, n) {
1741
+ function vr(e, t, n) {
1742
1742
  for (var r = en(e), o = r.S; r && r !== e.N; ) {
1743
1743
  if (t in r.object.h) {
1744
1744
  try {
@@ -1800,7 +1800,7 @@ function ze(e, t, n) {
1800
1800
  t.jb = r;
1801
1801
  }
1802
1802
  for (s in r)
1803
- r[s] === !0 ? e.g(n.object, s, void 0, Hn) : e.g(n.object, s, Qt(e, r[s], n), Hn);
1803
+ r[s] === !0 ? e.g(n.object, s, void 0, Kn) : e.g(n.object, s, Qt(e, r[s], n), Kn);
1804
1804
  return r;
1805
1805
  }
1806
1806
  function he(e) {
@@ -1810,10 +1810,10 @@ function rn(e, t) {
1810
1810
  return t[0] === Ne ? nn(e, t[1]) : e.G(t[0], t[1]);
1811
1811
  }
1812
1812
  function on(e, t, n) {
1813
- return t[0] === Ne ? yr(e, t[1], n) : e.g(t[0], t[1], n);
1813
+ return t[0] === Ne ? vr(e, t[1], n) : e.g(t[0], t[1], n);
1814
1814
  }
1815
1815
  function w(e, t, n) {
1816
- throw e.N ? (n !== void 0 && t instanceof P && (t = e.Aa(t), _t(e, t, n)), qe(e, 4, t), mr) : n === void 0 ? t : n;
1816
+ throw e.N ? (n !== void 0 && t instanceof P && (t = e.Aa(t), _t(e, t, n)), qe(e, 4, t), gr) : n === void 0 ? t : n;
1817
1817
  }
1818
1818
  function qe(e, t, n, r) {
1819
1819
  if (t === 0)
@@ -1891,7 +1891,7 @@ function z(e, t) {
1891
1891
  }
1892
1892
  return "???";
1893
1893
  }
1894
- function Gn(e, t, n) {
1894
+ function Xn(e, t, n) {
1895
1895
  var r = e.o[e.o.length - 1], o = Array.from(n), i = o.shift();
1896
1896
  n = Math.max(Number(o.shift() || 0), 0);
1897
1897
  var s = e.ya();
@@ -1906,14 +1906,14 @@ function Gn(e, t, n) {
1906
1906
  }
1907
1907
  s.type = "EvalProgram_", s.body = p.body, r = r.node.arguments[0], pt(s, r ? r.start : void 0, r ? r.end : void 0), r = e.N, o.length = 0;
1908
1908
  }
1909
- return t = new _o(u, o, r, s, t ? n : -1), vr(e, t, n), t.Db;
1909
+ return t = new _o(u, o, r, s, t ? n : -1), br(e, t, n), t.Db;
1910
1910
  }
1911
- function vr(e, t, n) {
1911
+ function br(e, t, n) {
1912
1912
  t.time = Date.now() + n, e.ca.push(t), e.ca.sort(function(r, o) {
1913
1913
  return r.time - o.time;
1914
1914
  });
1915
1915
  }
1916
- function Xn(e, t) {
1916
+ function Yn(e, t) {
1917
1917
  for (var n = 0; n < e.ca.length; n++)
1918
1918
  if (e.ca[n].Db == t) {
1919
1919
  e.ca.splice(n, 1);
@@ -1949,7 +1949,7 @@ B.ec = function(e) {
1949
1949
  function S(e, t) {
1950
1950
  this.node = e, this.scope = t;
1951
1951
  }
1952
- function br(e, t, n) {
1952
+ function Sr(e, t, n) {
1953
1953
  this.Va = e, this.S = t, this.object = n;
1954
1954
  }
1955
1955
  function P(e) {
@@ -1965,7 +1965,7 @@ B.toString = function() {
1965
1965
  if (!(this instanceof P))
1966
1966
  return String(this);
1967
1967
  if (this.H === "Array") {
1968
- var e = Kn;
1968
+ var e = Gn;
1969
1969
  e.push(this);
1970
1970
  try {
1971
1971
  var t = [], n = this.h.length, r = !1;
@@ -1981,7 +1981,7 @@ B.toString = function() {
1981
1981
  return t.join(",");
1982
1982
  }
1983
1983
  if (this.H === "Error") {
1984
- if (e = Kn, e.indexOf(this) !== -1)
1984
+ if (e = Gn, e.indexOf(this) !== -1)
1985
1985
  return "[object Error]";
1986
1986
  n = this;
1987
1987
  do
@@ -2534,7 +2534,7 @@ h.prototype.stepUpdateExpression = function(e, t, n) {
2534
2534
  h.prototype.stepVariableDeclaration = function(e, t, n) {
2535
2535
  n = n.fa;
2536
2536
  var r = t.A || 0, o = n[r];
2537
- for (t.Bb && o && (yr(this, o.id.name, t.value), t.Bb = !1, o = n[++r]); o; ) {
2537
+ for (t.Bb && o && (vr(this, o.id.name, t.value), t.Bb = !1, o = n[++r]); o; ) {
2538
2538
  if (o.ua)
2539
2539
  return t.A = r, t.Bb = !0, t.Pa = o.id.name, new S(o.ua, t.scope);
2540
2540
  o = n[++r];
@@ -2574,7 +2574,7 @@ const Ho = (e) => e.split(`
2574
2574
  ${u}
2575
2575
  `;
2576
2576
  }).filter(Boolean).join(`
2577
- `), Yn = (e) => e + "JSON", Ko = ({
2577
+ `), Jn = (e) => e + "JSON", Ko = ({
2578
2578
  builder: e,
2579
2579
  context: t,
2580
2580
  event: n,
@@ -2586,13 +2586,13 @@ const Ho = (e) => e.split(`
2586
2586
  const u = {
2587
2587
  ...r,
2588
2588
  ...o
2589
- }, p = dr({
2589
+ }, p = pr({
2590
2590
  builder: e,
2591
2591
  context: t,
2592
2592
  event: n,
2593
2593
  state: u
2594
2594
  }), b = p.map(([j]) => {
2595
- const R = Yn(j);
2595
+ const R = Jn(j);
2596
2596
  return `var ${j} = ${R} === undefined ? undefined : JSON.parse(${R});`;
2597
2597
  }).join(`
2598
2598
  `), x = Ho(s);
@@ -2608,12 +2608,12 @@ function theFunction() {
2608
2608
  }
2609
2609
  theFunction();
2610
2610
  `, O = (j, R) => {
2611
- const Y = hr(u, j, R);
2611
+ const Y = mr(u, j, R);
2612
2612
  i == null || i(Y);
2613
2613
  }, N = function(j, R) {
2614
2614
  p.forEach(([Y, T]) => {
2615
2615
  const g = JSON.stringify(T);
2616
- j.setProperty(R, Yn(Y), g);
2616
+ j.setProperty(R, Jn(Y), g);
2617
2617
  }), j.setProperty(R, "setRootState", j.createNativeFunction(O));
2618
2618
  };
2619
2619
  try {
@@ -2727,7 +2727,7 @@ const Jo = ({
2727
2727
  context: t,
2728
2728
  enableCache: !0
2729
2729
  });
2730
- hr(s, u, b);
2730
+ mr(s, u, b);
2731
2731
  }
2732
2732
  return s;
2733
2733
  };
@@ -2748,42 +2748,42 @@ function dt({
2748
2748
  context: t
2749
2749
  }) : s;
2750
2750
  }
2751
- const zo = (e) => e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase(), Sr = (e) => Object.entries(e).map(([n, r]) => {
2751
+ const cn = (e) => e ? e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase() : "", wr = (e) => Object.entries(e).map(([n, r]) => {
2752
2752
  if (typeof r == "string")
2753
- return `${zo(n)}: ${r};`;
2754
- }).filter(ie), qo = (e) => Sr(e).join(`
2753
+ return `${cn(n)}: ${r};`;
2754
+ }).filter(ie), zo = (e) => wr(e).join(`
2755
2755
  `), ut = ({
2756
2756
  mediaQuery: e,
2757
2757
  className: t,
2758
2758
  styles: n
2759
2759
  }) => {
2760
2760
  const r = `.${t} {
2761
- ${qo(n)}
2761
+ ${zo(n)}
2762
2762
  }`;
2763
2763
  return e ? `${e} {
2764
2764
  ${r}
2765
2765
  }` : r;
2766
2766
  };
2767
- function Zo({
2767
+ function qo({
2768
2768
  style: e
2769
2769
  }) {
2770
2770
  return e;
2771
2771
  }
2772
- const Qo = ({
2772
+ const Zo = ({
2773
2773
  block: e,
2774
2774
  context: t
2775
- }) => wr(Zo({
2775
+ }) => xr(qo({
2776
2776
  style: e.style || {},
2777
2777
  context: t,
2778
2778
  block: e
2779
2779
  }));
2780
- function wr(e) {
2780
+ function xr(e) {
2781
2781
  switch (me) {
2782
2782
  case "svelte":
2783
2783
  case "vue":
2784
2784
  case "solid":
2785
2785
  case "angular":
2786
- return Sr(e).join(" ");
2786
+ return wr(e).join(" ");
2787
2787
  case "qwik":
2788
2788
  case "reactNative":
2789
2789
  case "react":
@@ -2791,7 +2791,7 @@ function wr(e) {
2791
2791
  return e;
2792
2792
  }
2793
2793
  }
2794
- const ei = ({
2794
+ const Qo = ({
2795
2795
  block: e,
2796
2796
  context: t,
2797
2797
  registeredComponents: n
@@ -2813,7 +2813,7 @@ const ei = ({
2813
2813
  console.warn(`
2814
2814
  Could not find a registered component named "${r}".
2815
2815
  If you registered it, is the file that registered it imported by the file that needs to render it?`);
2816
- }, ti = ({
2816
+ }, ei = ({
2817
2817
  block: e,
2818
2818
  context: t
2819
2819
  }) => {
@@ -2847,7 +2847,7 @@ const ei = ({
2847
2847
  },
2848
2848
  block: r
2849
2849
  }));
2850
- }, ni = (e) => e && (e.isRSC || ["Core:Button", "Symbol", "Columns", "Form:Form", "Builder: Tabs"].includes(e.name)), ri = (e) => e && (e.isRSC || ["Symbol", "Columns", "Form:Form", "Builder: Tabs"].includes(e.name)), xr = {
2850
+ }, ti = (e) => e && (e.isRSC || ["Core:Button", "Symbol", "Columns", "Form:Form", "Builder: Tabs", "Builder:Accordion"].includes(e.name)), ni = (e) => e && (e.isRSC || ["Symbol", "Columns", "Form:Form", "Builder: Tabs", "Builder:Accordion"].includes(e.name)), kr = {
2851
2851
  small: {
2852
2852
  min: 320,
2853
2853
  default: 321,
@@ -2863,11 +2863,11 @@ const ei = ({
2863
2863
  default: 991,
2864
2864
  max: 1200
2865
2865
  }
2866
- }, Jn = (e, t = xr) => `@media (max-width: ${t[e].max}px)`, kr = ({
2866
+ }, zn = (e, t = kr) => `@media (max-width: ${t[e].max}px)`, Cr = ({
2867
2867
  small: e,
2868
2868
  medium: t
2869
2869
  }) => {
2870
- const n = mt(xr);
2870
+ const n = mt(kr);
2871
2871
  if (!e || !t)
2872
2872
  return n;
2873
2873
  const r = Math.floor(e / 2);
@@ -2899,48 +2899,7 @@ function gt(e) {
2899
2899
  }
2900
2900
  );
2901
2901
  }
2902
- function zn(e, ...t) {
2903
- const n = Object(e);
2904
- for (let r = 1; r < arguments.length; r++) {
2905
- const o = arguments[r];
2906
- if (o != null)
2907
- for (const i in o)
2908
- Object.prototype.hasOwnProperty.call(o, i) && (n[i] = o[i]);
2909
- }
2910
- return n;
2911
- }
2912
- const Cr = (e) => e ? e.replace(/([A-Z])/g, (t) => `-${t[0].toLowerCase()}`) : "";
2913
- function oi(e) {
2914
- console.warn(`Cannot animate element: element with ID ${e} not found!`);
2915
- }
2916
- function ii(e, t) {
2917
- const n = ai(e), r = getComputedStyle(t), o = e.steps[0].styles, i = e.steps[e.steps.length - 1].styles, s = [o, i];
2918
- for (const u of s)
2919
- for (const p of n)
2920
- p in u || (u[p] = r[p]);
2921
- }
2922
- function ai(e) {
2923
- const t = [];
2924
- for (const n of e.steps)
2925
- for (const r in n.styles)
2926
- t.indexOf(r) === -1 && t.push(r);
2927
- return t;
2928
- }
2929
- function qa(e) {
2930
- const t = Array.prototype.slice.call(document.getElementsByClassName(e.elementId || e.id || ""));
2931
- if (!t.length) {
2932
- oi(e.elementId || e.id || "");
2933
- return;
2934
- }
2935
- Array.from(t).forEach((n) => {
2936
- ii(e, n), n.style.transition = "none", n.style.transitionDelay = "0", zn(n.style, e.steps[0].styles), setTimeout(() => {
2937
- n.style.transition = `all ${e.duration}s ${Cr(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s"), zn(n.style, e.steps[1].styles), setTimeout(() => {
2938
- n.style.transition = "", n.style.transitionDelay = "";
2939
- }, (e.delay || 0) * 1e3 + e.duration * 1e3 + 100);
2940
- });
2941
- });
2942
- }
2943
- function si(e) {
2902
+ function ri(e) {
2944
2903
  const t = function() {
2945
2904
  const o = dt({
2946
2905
  block: e.block,
@@ -2960,7 +2919,7 @@ function si(e) {
2960
2919
  rootSetState: e.context.rootSetState,
2961
2920
  context: e.context.context,
2962
2921
  shouldEvaluateBindings: !0
2963
- }), i = o.responsiveStyles, s = e.context.content, u = kr(
2922
+ }), i = o.responsiveStyles, s = e.context.content, u = Cr(
2964
2923
  ((T = s == null ? void 0 : s.meta) == null ? void 0 : T.breakpoints) || {}
2965
2924
  ), p = i == null ? void 0 : i.large, b = i == null ? void 0 : i.medium, x = i == null ? void 0 : i.small, m = o.id;
2966
2925
  if (!m)
@@ -2971,14 +2930,14 @@ function si(e) {
2971
2930
  }) : "", N = b ? ut({
2972
2931
  className: m,
2973
2932
  styles: b,
2974
- mediaQuery: Jn(
2933
+ mediaQuery: zn(
2975
2934
  "medium",
2976
2935
  u
2977
2936
  )
2978
2937
  }) : "", j = x ? ut({
2979
2938
  className: m,
2980
2939
  styles: x,
2981
- mediaQuery: Jn(
2940
+ mediaQuery: zn(
2982
2941
  "small",
2983
2942
  u
2984
2943
  )
@@ -2990,7 +2949,7 @@ function si(e) {
2990
2949
  className: `${m}:hover`,
2991
2950
  styles: {
2992
2951
  ...F,
2993
- transition: `all ${R.duration}s ${Cr(
2952
+ transition: `all ${R.duration}s ${cn(
2994
2953
  R.easing
2995
2954
  )}`,
2996
2955
  transitionDelay: R.delay ? `${R.delay}s` : "0s"
@@ -3006,10 +2965,10 @@ function si(e) {
3006
2965
  };
3007
2966
  return /* @__PURE__ */ I(ee, { children: n() && t() ? /* @__PURE__ */ I(ee, { children: /* @__PURE__ */ I(gt, { id: "builderio-block", styles: n() }) }) : null });
3008
2967
  }
3009
- function li(e) {
2968
+ function oi(e) {
3010
2969
  return e.charAt(0).toUpperCase() + e.slice(1);
3011
2970
  }
3012
- const ci = (e) => `on${li(e)}`, ui = (e, t) => (n) => ln({
2971
+ const ii = (e) => `on${oi(e)}`, ai = (e, t) => (n) => ln({
3013
2972
  code: e,
3014
2973
  context: t.context,
3015
2974
  localState: t.localState,
@@ -3019,13 +2978,13 @@ const ci = (e) => `on${li(e)}`, ui = (e, t) => (n) => ln({
3019
2978
  isExpression: !1,
3020
2979
  enableCache: !0
3021
2980
  });
3022
- function Za(e) {
2981
+ function za(e) {
3023
2982
  const t = {}, n = e.block.actions ?? {};
3024
2983
  for (const r in n) {
3025
2984
  if (!n.hasOwnProperty(r))
3026
2985
  continue;
3027
2986
  const o = n[r];
3028
- let i = ci(r);
2987
+ let i = ii(r);
3029
2988
  if (e.stripPrefix)
3030
2989
  switch (me) {
3031
2990
  case "vue":
@@ -3035,40 +2994,40 @@ function Za(e) {
3035
2994
  i = i.replace("on:", "");
3036
2995
  break;
3037
2996
  }
3038
- t[i] = ui(o, e);
2997
+ t[i] = ai(o, e);
3039
2998
  }
3040
2999
  return t;
3041
3000
  }
3042
- function fi({
3001
+ function si({
3043
3002
  properties: e
3044
3003
  }) {
3045
3004
  return e;
3046
3005
  }
3047
- const di = (e) => ({
3006
+ const li = (e) => ({
3048
3007
  href: e.href
3049
3008
  });
3050
- function pi({
3009
+ function ci({
3051
3010
  block: e,
3052
3011
  context: t
3053
3012
  }) {
3054
3013
  var r;
3055
3014
  const n = {
3056
- ...di(e),
3015
+ ...li(e),
3057
3016
  ...e.properties,
3058
3017
  "builder-id": e.id,
3059
- style: Qo({
3018
+ style: Zo({
3060
3019
  block: e,
3061
3020
  context: t
3062
3021
  }),
3063
3022
  [Yt()]: [e.id, "builder-block", e.class, (r = e.properties) == null ? void 0 : r.class].filter(Boolean).join(" ")
3064
3023
  };
3065
- return fi({
3024
+ return si({
3066
3025
  properties: n,
3067
3026
  context: t,
3068
3027
  block: e
3069
3028
  });
3070
3029
  }
3071
- const hi = ({
3030
+ const ui = ({
3072
3031
  componentOptions: e,
3073
3032
  builderBlock: t,
3074
3033
  context: n,
@@ -3084,7 +3043,7 @@ const hi = ({
3084
3043
  * component itself directly. Otherwise, they are provided to the wrapper element.
3085
3044
  */
3086
3045
  ...o ? {
3087
- attributes: pi({
3046
+ attributes: ci({
3088
3047
  block: t,
3089
3048
  context: s
3090
3049
  })
@@ -3104,7 +3063,7 @@ function qn(e) {
3104
3063
  return /* @__PURE__ */ I(ee, { children: e.componentRef ? /* @__PURE__ */ I(ee, { children: /* @__PURE__ */ I(
3105
3064
  t,
3106
3065
  {
3107
- ...hi({
3066
+ ...ui({
3108
3067
  componentOptions: e.componentOptions,
3109
3068
  builderBlock: e.builderBlock,
3110
3069
  context: e.context,
@@ -3127,7 +3086,7 @@ function qn(e) {
3127
3086
  }
3128
3087
  ) }) : null });
3129
3088
  }
3130
- function mi(e) {
3089
+ function fi(e) {
3131
3090
  const t = e.repeatContext;
3132
3091
  return /* @__PURE__ */ I(
3133
3092
  yt,
@@ -3142,13 +3101,13 @@ function mi(e) {
3142
3101
  function yt(e) {
3143
3102
  var p, b, x;
3144
3103
  const t = function() {
3145
- return ei({
3104
+ return Qo({
3146
3105
  block: e.block,
3147
3106
  context: e.context,
3148
3107
  registeredComponents: e.registeredComponents
3149
3108
  });
3150
3109
  }, n = function() {
3151
- return ti({
3110
+ return ei({
3152
3111
  block: e.block,
3153
3112
  context: e.context
3154
3113
  });
@@ -3182,10 +3141,10 @@ function yt(e) {
3182
3141
  componentOptions: {
3183
3142
  ...So(r()),
3184
3143
  builderContext: e.context,
3185
- ...ni(t()) ? {
3144
+ ...ti(t()) ? {
3186
3145
  builderLinkComponent: e.linkComponent
3187
3146
  } : {},
3188
- ...ri(t()) ? {
3147
+ ...ni(t()) ? {
3189
3148
  builderComponents: e.registeredComponents
3190
3149
  } : {}
3191
3150
  },
@@ -3198,7 +3157,7 @@ function yt(e) {
3198
3157
  };
3199
3158
  };
3200
3159
  return /* @__PURE__ */ I(ee, { children: i() ? /* @__PURE__ */ xe(ee, { children: [
3201
- /* @__PURE__ */ I(si, { block: e.block, context: e.context }),
3160
+ /* @__PURE__ */ I(ri, { block: e.block, context: e.context }),
3202
3161
  (p = t()) != null && p.noWrap ? /* @__PURE__ */ I(ee, { children: /* @__PURE__ */ I(
3203
3162
  qn,
3204
3163
  {
@@ -3213,7 +3172,7 @@ function yt(e) {
3213
3172
  isInteractive: u().isInteractive
3214
3173
  }
3215
3174
  ) }) : /* @__PURE__ */ I(ee, { children: n() ? /* @__PURE__ */ I(ee, { children: (x = n()) == null ? void 0 : x.map((m, O) => /* @__PURE__ */ I(
3216
- mi,
3175
+ fi,
3217
3176
  {
3218
3177
  repeatContext: m.context,
3219
3178
  block: m.block,
@@ -3258,7 +3217,7 @@ function yt(e) {
3258
3217
  ) })
3259
3218
  ] }) : null });
3260
3219
  }
3261
- function cn(e) {
3220
+ function un(e) {
3262
3221
  var t, n, r;
3263
3222
  return /* @__PURE__ */ I(
3264
3223
  so,
@@ -3282,8 +3241,8 @@ function cn(e) {
3282
3241
  }
3283
3242
  );
3284
3243
  }
3285
- const gi = (e) => `builder-columns ${e}-breakpoints`;
3286
- function yi(e) {
3244
+ const di = (e) => `builder-columns ${e}-breakpoints`;
3245
+ function pi(e) {
3287
3246
  var R, Y;
3288
3247
  const t = typeof e.space == "number" ? e.space || 0 : 20, n = e.columns || [], r = e.stackColumnsAt || "tablet", o = function(g) {
3289
3248
  return g.link ? e.builderLinkComponent || "a" : "div";
@@ -3340,7 +3299,7 @@ function yi(e) {
3340
3299
  };
3341
3300
  }, O = function(g) {
3342
3301
  var F, X;
3343
- return kr(
3302
+ return Cr(
3344
3303
  ((X = (F = e.builderContext.content) == null ? void 0 : F.meta) == null ? void 0 : X.breakpoints) || {}
3345
3304
  )[g].max;
3346
3305
  }, N = function() {
@@ -3375,14 +3334,14 @@ function yi(e) {
3375
3334
  href: g.link
3376
3335
  } : {},
3377
3336
  [Yt()]: "builder-column",
3378
- style: wr(m(U))
3337
+ style: xr(m(U))
3379
3338
  };
3380
3339
  };
3381
3340
  return /* @__PURE__ */ xe(ee, { children: [
3382
3341
  /* @__PURE__ */ xe(
3383
3342
  "div",
3384
3343
  {
3385
- className: gi((R = e.builderBlock) == null ? void 0 : R.id) + " div-2651dce4",
3344
+ className: di((R = e.builderBlock) == null ? void 0 : R.id) + " div-eeca3604",
3386
3345
  style: x(),
3387
3346
  children: [
3388
3347
  /* @__PURE__ */ I(gt, { id: "builderio-columns", styles: N() }),
@@ -3393,7 +3352,7 @@ function yi(e) {
3393
3352
  actionAttributes: {},
3394
3353
  attributes: j(T, g),
3395
3354
  children: /* @__PURE__ */ I(
3396
- cn,
3355
+ un,
3397
3356
  {
3398
3357
  path: `component.options.columns.${g}.blocks`,
3399
3358
  parent: e.builderBlock.id,
@@ -3412,7 +3371,7 @@ function yi(e) {
3412
3371
  ]
3413
3372
  }
3414
3373
  ),
3415
- /* @__PURE__ */ I("style", { children: `.div-2651dce4 {
3374
+ /* @__PURE__ */ I("style", { children: `.div-eeca3604 {
3416
3375
  display: flex;
3417
3376
  line-height: normal;
3418
3377
  }` })
@@ -3421,11 +3380,11 @@ function yi(e) {
3421
3380
  function Zn(e) {
3422
3381
  return e.replace(/http(s)?:/, "");
3423
3382
  }
3424
- function vi(e = "", t, n) {
3383
+ function hi(e = "", t, n) {
3425
3384
  const r = new RegExp("([?&])" + t + "=.*?(&|$)", "i"), o = e.indexOf("?") !== -1 ? "&" : "?";
3426
3385
  return e.match(r) ? e.replace(r, "$1" + t + "=" + encodeURIComponent(n) + "$2") : e + o + t + "=" + encodeURIComponent(n);
3427
3386
  }
3428
- function bi(e, t) {
3387
+ function mi(e, t) {
3429
3388
  if (!e || !(e != null && e.match(/cdn\.shopify\.com/)) || !t)
3430
3389
  return e;
3431
3390
  if (t === "master")
@@ -3437,18 +3396,18 @@ function bi(e, t) {
3437
3396
  }
3438
3397
  return null;
3439
3398
  }
3440
- function Qa(e) {
3399
+ function qa(e) {
3441
3400
  if (!e)
3442
3401
  return e;
3443
3402
  const t = [100, 200, 400, 800, 1200, 1600, 2e3];
3444
3403
  if (e.match(/builder\.io/)) {
3445
3404
  let n = e;
3446
3405
  const r = Number(e.split("?width=")[1]);
3447
- return isNaN(r) || (n = `${n} ${r}w`), t.filter((o) => o !== r).map((o) => `${vi(e, "width", o)} ${o}w`).concat([n]).join(", ");
3406
+ return isNaN(r) || (n = `${n} ${r}w`), t.filter((o) => o !== r).map((o) => `${hi(e, "width", o)} ${o}w`).concat([n]).join(", ");
3448
3407
  }
3449
- return e.match(/cdn\.shopify\.com/) ? t.map((n) => [bi(e, `${n}x${n}`), n]).filter(([n]) => !!n).map(([n, r]) => `${n} ${r}w`).concat([e]).join(", ") : e;
3408
+ return e.match(/cdn\.shopify\.com/) ? t.map((n) => [mi(e, `${n}x${n}`), n]).filter(([n]) => !!n).map(([n, r]) => `${n} ${r}w`).concat([e]).join(", ") : e;
3450
3409
  }
3451
- const Si = (e) => {
3410
+ const gi = (e) => {
3452
3411
  if (e === "localhost" || e === "127.0.0.1")
3453
3412
  return e;
3454
3413
  const t = e.split(".");
@@ -3464,13 +3423,13 @@ const Si = (e) => {
3464
3423
  Z.warn("[COOKIE] GET error: ", (r == null ? void 0 : r.message) || r);
3465
3424
  return;
3466
3425
  }
3467
- }, Ir = async (e) => Er(e), wi = (e) => e.map(([t, n]) => n ? `${t}=${n}` : t).filter(ie).join("; "), xi = [["secure", ""], ["SameSite", "None"]], ki = ({
3426
+ }, Ir = async (e) => Er(e), yi = (e) => e.map(([t, n]) => n ? `${t}=${n}` : t).filter(ie).join("; "), vi = [["secure", ""], ["SameSite", "None"]], bi = ({
3468
3427
  name: e,
3469
3428
  value: t,
3470
3429
  expires: n
3471
3430
  }) => {
3472
- const o = (G() ? location.protocol === "https:" : !0) ? xi : [[]], i = n ? [["expires", n.toUTCString()]] : [[]], s = [[e, t], ...i, ["path", "/"], ["domain", Si(window.location.hostname)], ...o];
3473
- return wi(s);
3431
+ const o = (G() ? location.protocol === "https:" : !0) ? vi : [[]], i = n ? [["expires", n.toUTCString()]] : [[]], s = [[e, t], ...i, ["path", "/"], ["domain", gi(window.location.hostname)], ...o];
3432
+ return yi(s);
3474
3433
  }, Tr = async ({
3475
3434
  name: e,
3476
3435
  value: t,
@@ -3480,7 +3439,7 @@ const Si = (e) => {
3480
3439
  try {
3481
3440
  if (!r)
3482
3441
  return;
3483
- const o = ki({
3442
+ const o = bi({
3484
3443
  name: e,
3485
3444
  value: t,
3486
3445
  expires: n
@@ -3489,24 +3448,24 @@ const Si = (e) => {
3489
3448
  } catch (o) {
3490
3449
  Z.warn("[COOKIE] SET error: ", (o == null ? void 0 : o.message) || o);
3491
3450
  }
3492
- }, Ci = "builder.tests", un = (e) => `${Ci}.${e}`, Ei = ({
3451
+ }, Si = "builder.tests", fn = (e) => `${Si}.${e}`, wi = ({
3493
3452
  contentId: e
3494
3453
  }) => Ir({
3495
- name: un(e),
3454
+ name: fn(e),
3496
3455
  canTrack: !0
3497
- }), Ii = ({
3456
+ }), xi = ({
3498
3457
  contentId: e
3499
3458
  }) => Er({
3500
- name: un(e),
3459
+ name: fn(e),
3501
3460
  canTrack: !0
3502
- }), Ti = ({
3461
+ }), ki = ({
3503
3462
  contentId: e,
3504
3463
  value: t
3505
3464
  }) => Tr({
3506
- name: un(e),
3465
+ name: fn(e),
3507
3466
  value: t,
3508
3467
  canTrack: !0
3509
- }), Ar = (e) => ie(e.id) && ie(e.variations) && Object.keys(e.variations).length > 0, Ai = ({
3468
+ }), Ar = (e) => ie(e.id) && ie(e.variations) && Object.keys(e.variations).length > 0, Ci = ({
3510
3469
  id: e,
3511
3470
  variations: t
3512
3471
  }) => {
@@ -3520,8 +3479,8 @@ const Si = (e) => {
3520
3479
  }
3521
3480
  return e;
3522
3481
  }, Or = (e) => {
3523
- const t = Ai(e);
3524
- return Ti({
3482
+ const t = Ci(e);
3483
+ return ki({
3525
3484
  contentId: e.id,
3526
3485
  value: t
3527
3486
  }).catch((n) => {
@@ -3541,7 +3500,7 @@ const Si = (e) => {
3541
3500
  testVariationId: n.id,
3542
3501
  testVariationName: n.name || (n.id === e.id ? "Default" : "")
3543
3502
  };
3544
- }, Oi = ({
3503
+ }, Ei = ({
3545
3504
  item: e,
3546
3505
  canTrack: t
3547
3506
  }) => {
@@ -3551,7 +3510,7 @@ const Si = (e) => {
3551
3510
  return;
3552
3511
  if (!Ar(e))
3553
3512
  return e;
3554
- const n = Ii({
3513
+ const n = xi({
3555
3514
  contentId: e.id
3556
3515
  }) || Or({
3557
3516
  variations: e.variations,
@@ -3564,13 +3523,13 @@ const Si = (e) => {
3564
3523
  ...e,
3565
3524
  ...r
3566
3525
  };
3567
- }, ji = async ({
3526
+ }, Ii = async ({
3568
3527
  item: e,
3569
3528
  canTrack: t
3570
3529
  }) => {
3571
3530
  if (!t || !Ar(e))
3572
3531
  return e;
3573
- const r = await Ei({
3532
+ const r = await wi({
3574
3533
  contentId: e.id
3575
3534
  }) || Or({
3576
3535
  variations: e.variations,
@@ -3583,7 +3542,7 @@ const Si = (e) => {
3583
3542
  ...e,
3584
3543
  ...o
3585
3544
  };
3586
- }, Ht = (e) => ie(e) ? e : !0, Ri = {
3545
+ }, Ht = (e) => ie(e) ? e : !0, Ti = {
3587
3546
  name: "Core:Button",
3588
3547
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F81a15681c3e74df09677dfc57a615b13",
3589
3548
  defaultStyles: {
@@ -3616,7 +3575,7 @@ const Si = (e) => {
3616
3575
  }],
3617
3576
  static: !0,
3618
3577
  noWrap: !0
3619
- }, Pi = {
3578
+ }, Ai = {
3620
3579
  // TODO: ways to statically preprocess JSON for references, functions, etc
3621
3580
  name: "Columns",
3622
3581
  isRSC: !0,
@@ -3817,13 +3776,13 @@ const Si = (e) => {
3817
3776
  helperText: "When stacking columns for mobile devices, reverse the ordering",
3818
3777
  advanced: !0
3819
3778
  }]
3820
- }, Ni = {
3779
+ }, Oi = {
3821
3780
  name: "Fragment",
3822
3781
  static: !0,
3823
3782
  hidden: !0,
3824
3783
  canHaveChildren: !0,
3825
3784
  noWrap: !0
3826
- }, Bi = {
3785
+ }, ji = {
3827
3786
  name: "Image",
3828
3787
  static: !0,
3829
3788
  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",
@@ -3923,7 +3882,7 @@ const Si = (e) => {
3923
3882
  advanced: !0,
3924
3883
  defaultValue: 0.7041
3925
3884
  }]
3926
- }, Ui = {
3885
+ }, Ri = {
3927
3886
  name: "Core:Section",
3928
3887
  static: !0,
3929
3888
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F682efef23ace49afac61748dd305c70a",
@@ -3962,7 +3921,7 @@ const Si = (e) => {
3962
3921
  }
3963
3922
  }
3964
3923
  }]
3965
- }, Mi = {
3924
+ }, Pi = {
3966
3925
  name: "Slot",
3967
3926
  isRSC: !0,
3968
3927
  description: "Allow child blocks to be inserted into this content when used as a Symbol",
@@ -3976,7 +3935,7 @@ const Si = (e) => {
3976
3935
  defaultValue: "children"
3977
3936
  }]
3978
3937
  };
3979
- function Fi(e) {
3938
+ function Ni(e) {
3980
3939
  var t, n, r;
3981
3940
  return /* @__PURE__ */ I(
3982
3941
  "div",
@@ -3988,7 +3947,7 @@ function Fi(e) {
3988
3947
  "builder-slot": e.name
3989
3948
  },
3990
3949
  children: /* @__PURE__ */ I(
3991
- cn,
3950
+ un,
3992
3951
  {
3993
3952
  parent: (n = e.builderContext.context) == null ? void 0 : n.symbolId,
3994
3953
  path: `symbol.data.${e.name}`,
@@ -3999,7 +3958,7 @@ function Fi(e) {
3999
3958
  }
4000
3959
  );
4001
3960
  }
4002
- const Vi = {
3961
+ const Bi = {
4003
3962
  name: "Symbol",
4004
3963
  noWrap: !0,
4005
3964
  static: !0,
@@ -4032,7 +3991,7 @@ const Vi = {
4032
3991
  hideFromUI: !0,
4033
3992
  type: "boolean"
4034
3993
  }]
4035
- }, Di = {
3994
+ }, Ui = {
4036
3995
  name: "Text",
4037
3996
  static: !0,
4038
3997
  isRSC: !0,
@@ -4051,7 +4010,7 @@ const Vi = {
4051
4010
  textAlign: "center"
4052
4011
  }
4053
4012
  };
4054
- function Li(e) {
4013
+ function Mi(e) {
4055
4014
  var t;
4056
4015
  return /* @__PURE__ */ I(
4057
4016
  "div",
@@ -4064,7 +4023,7 @@ function Li(e) {
4064
4023
  }
4065
4024
  );
4066
4025
  }
4067
- const Wi = {
4026
+ const Fi = {
4068
4027
  name: "Custom Code",
4069
4028
  static: !0,
4070
4029
  requiredPermissions: ["editCode"],
@@ -4086,7 +4045,7 @@ const Wi = {
4086
4045
  helperText: "Only print and run scripts on the client. Important when scripts influence DOM that could be replaced when client loads",
4087
4046
  advanced: !0
4088
4047
  }]
4089
- }, _i = {
4048
+ }, Vi = {
4090
4049
  name: "Embed",
4091
4050
  static: !0,
4092
4051
  inputs: [{
@@ -4111,7 +4070,7 @@ const Wi = {
4111
4070
  defaultValue: '<div style="padding: 20px; text-align: center">(Choose an embed URL)<div>',
4112
4071
  hideFromUI: !0
4113
4072
  }]
4114
- }, $i = ["text/javascript", "application/javascript", "application/ecmascript"], es = (e) => $i.includes(e.type), Hi = {
4073
+ }, Di = ["text/javascript", "application/javascript", "application/ecmascript"], Za = (e) => Di.includes(e.type), Li = {
4115
4074
  // friendlyName?
4116
4075
  name: "Raw:Img",
4117
4076
  hideFromInsertMenu: !0,
@@ -4125,7 +4084,7 @@ const Wi = {
4125
4084
  }],
4126
4085
  noWrap: !0,
4127
4086
  static: !0
4128
- }, Ki = {
4087
+ }, Wi = {
4129
4088
  name: "Video",
4130
4089
  canHaveChildren: !0,
4131
4090
  defaultStyles: {
@@ -4206,58 +4165,58 @@ const Wi = {
4206
4165
  defaultValue: !0,
4207
4166
  advanced: !0
4208
4167
  }]
4209
- }, Gi = () => [{
4168
+ }, _i = () => [{
4210
4169
  component: co,
4211
- ...Wi
4170
+ ...Fi
4212
4171
  }, {
4213
4172
  component: uo,
4214
- ..._i
4173
+ ...Vi
4215
4174
  }, {
4216
4175
  component: fo,
4217
- ...Hi
4176
+ ...Li
4218
4177
  }, {
4219
4178
  component: po,
4220
- ...Ki
4179
+ ...Wi
4221
4180
  }], Qn = () => [{
4222
4181
  component: ho,
4223
- ...Ri
4182
+ ...Ti
4224
4183
  }, {
4225
- component: yi,
4226
- ...Pi
4184
+ component: pi,
4185
+ ...Ai
4227
4186
  }, {
4228
4187
  component: mo,
4229
- ...Ni
4188
+ ...Oi
4230
4189
  }, {
4231
4190
  component: go,
4232
- ...Bi
4191
+ ...ji
4233
4192
  }, {
4234
4193
  component: yo,
4235
- ...Ui
4194
+ ...Ri
4236
4195
  }, {
4237
- component: Fi,
4238
- ...Mi
4196
+ component: Ni,
4197
+ ...Pi
4239
4198
  }, {
4240
- component: Ha,
4241
- ...Vi
4199
+ component: $a,
4200
+ ...Bi
4242
4201
  }, {
4243
- component: Li,
4244
- ...Di
4245
- }, ...Gi()], ts = (e) => ({
4202
+ component: Mi,
4203
+ ...Ui
4204
+ }, ..._i()], Qa = (e) => ({
4246
4205
  type: "builder.registerComponent",
4247
4206
  data: Kt(e)
4248
- }), Xi = (e) => {
4207
+ }), $i = (e) => {
4249
4208
  const t = e.toString().trim();
4250
4209
  return `return (${!t.startsWith("function") && !t.startsWith("(") ? "function " : ""}${t}).apply(this, arguments)`;
4251
- }, Yi = (e) => typeof e == "function" ? Xi(e) : mt(e), Kt = ({
4210
+ }, Hi = (e) => typeof e == "function" ? $i(e) : mt(e), Kt = ({
4252
4211
  inputs: e,
4253
4212
  ...t
4254
4213
  }) => ({
4255
4214
  ...mt(t),
4256
4215
  inputs: e == null ? void 0 : e.map((n) => Object.entries(n).reduce((r, [o, i]) => ({
4257
4216
  ...r,
4258
- [o]: Yi(i)
4217
+ [o]: Hi(i)
4259
4218
  }), {}))
4260
- }), Ji = `function updateCookiesAndStyles(contentId, variants, isHydrationTarget) {
4219
+ }), Ki = `function updateCookiesAndStyles(contentId, variants, isHydrationTarget) {
4261
4220
  function getAndSetVariantId() {
4262
4221
  function setCookie(name, value, days) {
4263
4222
  let expires = '';
@@ -4313,7 +4272,7 @@ const Wi = {
4313
4272
  }).join('');
4314
4273
  styleEl.innerHTML = newStyleStr;
4315
4274
  }
4316
- }`, zi = `function updateVariantVisibility(variantContentId, defaultContentId, isHydrationTarget) {
4275
+ }`, Gi = `function updateVariantVisibility(variantContentId, defaultContentId, isHydrationTarget) {
4317
4276
  if (!navigator.cookieEnabled) {
4318
4277
  return;
4319
4278
  }
@@ -4351,16 +4310,16 @@ const Wi = {
4351
4310
  ...t,
4352
4311
  testVariationId: t.id,
4353
4312
  id: e == null ? void 0 : e.id
4354
- })), qi = ({
4313
+ })), Xi = ({
4355
4314
  canTrack: e,
4356
4315
  content: t
4357
- }) => !(!(ft(t).length > 0) || !e || G()), Zi = (e) => e === "react" || e === "reactNative", Nr = Zi(me), Qi = () => `
4358
- window.${Rr} = ${Ji}
4359
- window.${Pr} = ${zi}
4360
- `, ea = (e, t) => `
4316
+ }) => !(!(ft(t).length > 0) || !e || G()), Yi = (e) => e === "react" || e === "reactNative", Nr = Yi(me), Ji = () => `
4317
+ window.${Rr} = ${Ki}
4318
+ window.${Pr} = ${Gi}
4319
+ `, zi = (e, t) => `
4361
4320
  window.${Rr}(
4362
4321
  "${t}",${JSON.stringify(e)}, ${Nr}
4363
- )`, ta = ({
4322
+ )`, qi = ({
4364
4323
  contentId: e,
4365
4324
  variationId: t
4366
4325
  }) => `window.${Pr}(
@@ -4375,33 +4334,33 @@ function Gt(e) {
4375
4334
  }
4376
4335
  );
4377
4336
  }
4378
- const na = (e) => {
4337
+ const Zi = (e) => {
4379
4338
  const t = e.get("preview"), n = e.get("overrides." + t);
4380
4339
  return n || Z.warn("No previewed ID found in search params."), n;
4381
4340
  };
4382
- function ra() {
4341
+ function Qi() {
4383
4342
  globalThis._BUILDER_PREVIEW_LRU_CACHE || (globalThis._BUILDER_PREVIEW_LRU_CACHE = new oo({
4384
4343
  max: 500,
4385
4344
  // how long to live in ms
4386
4345
  ttl: 1e3 * 60 * 5
4387
4346
  }));
4388
4347
  }
4389
- function oa(e) {
4390
- ra();
4391
- const t = na(e);
4348
+ function ea(e) {
4349
+ Qi();
4350
+ const t = Zi(e);
4392
4351
  return typeof t == "string" ? globalThis._BUILDER_PREVIEW_LRU_CACHE.get(t) : void 0;
4393
4352
  }
4394
- function ia() {
4353
+ function ta() {
4395
4354
  return typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : globalThis;
4396
4355
  }
4397
- function aa() {
4398
- const e = ia().fetch;
4356
+ function na() {
4357
+ const e = ta().fetch;
4399
4358
  if (typeof e > "u")
4400
4359
  throw console.warn(`Builder SDK could not find a global fetch function. Make sure you have a polyfill for fetch in your project.
4401
4360
  For more information, read https://github.com/BuilderIO/this-package-uses-fetch`), new Error("Builder SDK could not find a global `fetch` function");
4402
4361
  return e;
4403
4362
  }
4404
- const sa = aa();
4363
+ const ra = na();
4405
4364
  function Xt(e, t = null, n = ".") {
4406
4365
  return Object.keys(e).reduce((r, o) => {
4407
4366
  const i = e[o], s = [t, o].filter(Boolean).join(n);
@@ -4421,22 +4380,22 @@ function Br(e, t, n = {}) {
4421
4380
  }
4422
4381
  return n;
4423
4382
  }
4424
- const la = "v3", er = "builder.", ca = "options.", Ur = (e) => {
4383
+ const oa = "v3", er = "builder.", ia = "options.", Ur = (e) => {
4425
4384
  if (!e)
4426
4385
  return {};
4427
- const t = lr(e), n = {};
4386
+ const t = cr(e), n = {};
4428
4387
  return Object.keys(t).forEach((r) => {
4429
4388
  if (r.startsWith(er)) {
4430
- const o = r.replace(er, "").replace(ca, "");
4389
+ const o = r.replace(er, "").replace(ia, "");
4431
4390
  n[o] = t[r];
4432
4391
  }
4433
4392
  }), n;
4434
- }, ua = () => {
4393
+ }, aa = () => {
4435
4394
  if (!G())
4436
4395
  return {};
4437
4396
  const e = new URLSearchParams(window.location.search);
4438
4397
  return Ur(e);
4439
- }, tr = (e) => typeof e == "number" && !isNaN(e) && e >= 0, fn = (e) => {
4398
+ }, tr = (e) => typeof e == "number" && !isNaN(e) && e >= 0, dn = (e) => {
4440
4399
  const {
4441
4400
  limit: t = 30,
4442
4401
  userAttributes: n,
@@ -4445,7 +4404,7 @@ const la = "v3", er = "builder.", ca = "options.", Ur = (e) => {
4445
4404
  apiKey: i,
4446
4405
  enrich: s,
4447
4406
  locale: u,
4448
- apiVersion: p = la,
4407
+ apiVersion: p = oa,
4449
4408
  fields: b,
4450
4409
  omit: x,
4451
4410
  offset: m,
@@ -4467,8 +4426,8 @@ const la = "v3", er = "builder.", ca = "options.", Ur = (e) => {
4467
4426
  T.searchParams.set(X, JSON.stringify(F[X]));
4468
4427
  }
4469
4428
  const g = {
4470
- ...ua(),
4471
- ...lr(e.options || {})
4429
+ ...aa(),
4430
+ ...cr(e.options || {})
4472
4431
  }, U = Xt(g);
4473
4432
  for (const F in U)
4474
4433
  T.searchParams.set(F, String(U[F]));
@@ -4480,23 +4439,23 @@ const la = "v3", er = "builder.", ca = "options.", Ur = (e) => {
4480
4439
  T.searchParams.set(X, JSON.stringify(F[X]));
4481
4440
  }
4482
4441
  return T;
4483
- }, fa = (e) => "results" in e;
4442
+ }, sa = (e) => "results" in e;
4484
4443
  async function Mr(e) {
4485
- const t = await ha({
4444
+ const t = await ua({
4486
4445
  ...e,
4487
4446
  limit: 1
4488
4447
  });
4489
4448
  return t && t[0] || null;
4490
4449
  }
4491
- const da = async (e) => {
4492
- const t = fn(e);
4493
- return await (await (e.fetch ?? sa)(t.href, e.fetchOptions)).json();
4494
- }, pa = async (e, t, n = fn(e)) => {
4450
+ const la = async (e) => {
4451
+ const t = dn(e);
4452
+ return await (await (e.fetch ?? ra)(t.href, e.fetchOptions)).json();
4453
+ }, ca = async (e, t, n = dn(e)) => {
4495
4454
  const r = Ht(e.canTrack);
4496
4455
  if (n.search.includes("preview=")) {
4497
4456
  const i = [];
4498
4457
  for (const s of t.results) {
4499
- const u = oa(n.searchParams);
4458
+ const u = ea(n.searchParams);
4500
4459
  i.push(u || s);
4501
4460
  }
4502
4461
  t.results = i;
@@ -4506,7 +4465,7 @@ const da = async (e) => {
4506
4465
  try {
4507
4466
  const i = [];
4508
4467
  for (const s of t.results)
4509
- i.push(await ji({
4468
+ i.push(await Ii({
4510
4469
  item: s,
4511
4470
  canTrack: r
4512
4471
  }));
@@ -4516,10 +4475,10 @@ const da = async (e) => {
4516
4475
  }
4517
4476
  return t.results;
4518
4477
  };
4519
- async function ha(e) {
4478
+ async function ua(e) {
4520
4479
  try {
4521
- const t = fn(e), n = await da(e);
4522
- return fa(n) ? pa(e, n) : (Z.error("Error fetching data. ", {
4480
+ const t = dn(e), n = await la(e);
4481
+ return sa(n) ? ca(e, n) : (Z.error("Error fetching data. ", {
4523
4482
  url: t,
4524
4483
  content: n,
4525
4484
  options: e
@@ -4528,20 +4487,20 @@ async function ha(e) {
4528
4487
  return Z.error("Error fetching data. ", t), null;
4529
4488
  }
4530
4489
  }
4531
- function ns(e) {
4490
+ function es(e) {
4532
4491
  const t = e || (G() ? window.location.search : void 0);
4533
- return t ? cr(t).indexOf("builder.preview=") !== -1 : !1;
4492
+ return t ? ur(t).indexOf("builder.preview=") !== -1 : !1;
4534
4493
  }
4535
- function ma() {
4494
+ function fa() {
4536
4495
  return "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g, function(e) {
4537
4496
  const t = Math.random() * 16 | 0;
4538
4497
  return (e == "x" ? t : t & 3 | 8).toString(16);
4539
4498
  });
4540
4499
  }
4541
4500
  function Fr() {
4542
- return ma().replace(/-/g, "");
4501
+ return fa().replace(/-/g, "");
4543
4502
  }
4544
- const Vr = "builderSessionId", ga = async ({
4503
+ const Vr = "builderSessionId", da = async ({
4545
4504
  canTrack: e
4546
4505
  }) => {
4547
4506
  if (!e)
@@ -4553,20 +4512,20 @@ const Vr = "builderSessionId", ga = async ({
4553
4512
  if (ie(t))
4554
4513
  return t;
4555
4514
  {
4556
- const n = ya();
4557
- return va({
4515
+ const n = pa();
4516
+ return ha({
4558
4517
  id: n,
4559
4518
  canTrack: e
4560
4519
  }), n;
4561
4520
  }
4562
- }, ya = () => Fr(), va = ({
4521
+ }, pa = () => Fr(), ha = ({
4563
4522
  id: e,
4564
4523
  canTrack: t
4565
4524
  }) => Tr({
4566
4525
  name: Vr,
4567
4526
  value: e,
4568
4527
  canTrack: t
4569
- }), Dr = () => G() && typeof localStorage < "u" ? localStorage : void 0, ba = ({
4528
+ }), Dr = () => G() && typeof localStorage < "u" ? localStorage : void 0, ma = ({
4570
4529
  key: e,
4571
4530
  canTrack: t
4572
4531
  }) => {
@@ -4577,7 +4536,7 @@ const Vr = "builderSessionId", ga = async ({
4577
4536
  console.debug("[LocalStorage] GET error: ", r);
4578
4537
  return;
4579
4538
  }
4580
- }, Sa = ({
4539
+ }, ga = ({
4581
4540
  key: e,
4582
4541
  canTrack: t,
4583
4542
  value: n
@@ -4588,32 +4547,32 @@ const Vr = "builderSessionId", ga = async ({
4588
4547
  } catch (o) {
4589
4548
  console.debug("[LocalStorage] SET error: ", o);
4590
4549
  }
4591
- }, Lr = "builderVisitorId", wa = ({
4550
+ }, Lr = "builderVisitorId", ya = ({
4592
4551
  canTrack: e
4593
4552
  }) => {
4594
4553
  if (!e)
4595
4554
  return;
4596
- const t = ba({
4555
+ const t = ma({
4597
4556
  key: Lr,
4598
4557
  canTrack: e
4599
4558
  });
4600
4559
  if (ie(t))
4601
4560
  return t;
4602
4561
  {
4603
- const n = xa();
4604
- return ka({
4562
+ const n = va();
4563
+ return ba({
4605
4564
  id: n,
4606
4565
  canTrack: e
4607
4566
  }), n;
4608
4567
  }
4609
- }, xa = () => Fr(), ka = ({
4568
+ }, va = () => Fr(), ba = ({
4610
4569
  id: e,
4611
4570
  canTrack: t
4612
- }) => Sa({
4571
+ }) => ga({
4613
4572
  key: Lr,
4614
4573
  value: e,
4615
4574
  canTrack: t
4616
- }), Ca = async ({
4575
+ }), Sa = async ({
4617
4576
  canTrack: e
4618
4577
  }) => {
4619
4578
  if (!e)
@@ -4621,16 +4580,16 @@ const Vr = "builderSessionId", ga = async ({
4621
4580
  visitorId: void 0,
4622
4581
  sessionId: void 0
4623
4582
  };
4624
- const t = await ga({
4583
+ const t = await da({
4625
4584
  canTrack: e
4626
- }), n = wa({
4585
+ }), n = ya({
4627
4586
  canTrack: e
4628
4587
  });
4629
4588
  return {
4630
4589
  sessionId: t,
4631
4590
  visitorId: n
4632
4591
  };
4633
- }, Ea = async ({
4592
+ }, wa = async ({
4634
4593
  type: e,
4635
4594
  canTrack: t,
4636
4595
  apiKey: n,
@@ -4644,23 +4603,23 @@ const Vr = "builderSessionId", ga = async ({
4644
4603
  url: location.href,
4645
4604
  ...r
4646
4605
  },
4647
- ...await Ca({
4606
+ ...await Sa({
4648
4607
  canTrack: t
4649
4608
  }),
4650
- userAttributes: fr(),
4609
+ userAttributes: dr(),
4651
4610
  ownerId: n
4652
4611
  }
4653
4612
  });
4654
- async function Ia(e) {
4613
+ async function xa(e) {
4655
4614
  if (!e.apiKey) {
4656
4615
  Z.error("Missing API key for track call. Please provide your API key.");
4657
4616
  return;
4658
4617
  }
4659
- if (e.canTrack && !ur() && (G() || me === "reactNative"))
4618
+ if (e.canTrack && !fr() && (G() || me === "reactNative"))
4660
4619
  return fetch("https://cdn.builder.io/api/v1/track", {
4661
4620
  method: "POST",
4662
4621
  body: JSON.stringify({
4663
- events: [await Ea(e)]
4622
+ events: [await wa(e)]
4664
4623
  }),
4665
4624
  headers: {
4666
4625
  "content-type": "application/json"
@@ -4670,14 +4629,14 @@ async function Ia(e) {
4670
4629
  console.error("Failed to track: ", t);
4671
4630
  });
4672
4631
  }
4673
- const rs = (e) => Ia({
4632
+ const ts = (e) => xa({
4674
4633
  ...e,
4675
4634
  canTrack: !0
4676
4635
  });
4677
4636
  function nr(e) {
4678
4637
  return Math.round(e * 1e3) / 1e3;
4679
4638
  }
4680
- const Ta = (e, t, n = !0) => {
4639
+ const ka = (e, t, n = !0) => {
4681
4640
  if (!(e instanceof HTMLElement))
4682
4641
  return null;
4683
4642
  let r = n ? e : e.parentElement;
@@ -4688,7 +4647,7 @@ const Ta = (e, t, n = !0) => {
4688
4647
  return r;
4689
4648
  } while (r = r.parentElement);
4690
4649
  return null;
4691
- }, Aa = (e) => Ta(e, (t) => {
4650
+ }, Ca = (e) => ka(e, (t) => {
4692
4651
  const n = t.getAttribute("builder-id") || t.id;
4693
4652
  return (n == null ? void 0 : n.indexOf("builder-")) === 0;
4694
4653
  }), rr = ({
@@ -4700,8 +4659,8 @@ const Ta = (e, t, n = !0) => {
4700
4659
  x: i,
4701
4660
  y: s
4702
4661
  };
4703
- }, os = (e) => {
4704
- const t = e.target, n = t && Aa(t), r = (n == null ? void 0 : n.getAttribute("builder-id")) || (n == null ? void 0 : n.id);
4662
+ }, ns = (e) => {
4663
+ const t = e.target, n = t && Ca(t), r = (n == null ? void 0 : n.getAttribute("builder-id")) || (n == null ? void 0 : n.id);
4705
4664
  return {
4706
4665
  targetBuilderElement: r || void 0,
4707
4666
  metadata: {
@@ -4716,13 +4675,13 @@ const Ta = (e, t, n = !0) => {
4716
4675
  builderElementIndex: n && r ? [].slice.call(document.getElementsByClassName(r)).indexOf(n) : void 0
4717
4676
  }
4718
4677
  };
4719
- }, Oa = ["*.beta.builder.io", "beta.builder.io", "builder.io", "localhost", "qa.builder.io"];
4678
+ }, Ea = ["*.beta.builder.io", "beta.builder.io", "builder.io", "localhost", "qa.builder.io"];
4720
4679
  function Wr(e, t) {
4721
4680
  const n = new URL(t.origin), r = n.hostname;
4722
- return (e || Oa).findIndex((o) => o.startsWith("*.") ? r.endsWith(o.slice(1)) : o === r) > -1;
4681
+ return (e || Ea).findIndex((o) => o.startsWith("*.") ? r.endsWith(o.slice(1)) : o === r) > -1;
4723
4682
  }
4724
- const ja = "0.14.21", or = {};
4725
- function Ra(e, t) {
4683
+ const Ia = "0.14.25", or = {};
4684
+ function Ta(e, t) {
4726
4685
  let n = or[e];
4727
4686
  if (n || (n = or[e] = []), n.push(t), G()) {
4728
4687
  const r = {
@@ -4739,8 +4698,8 @@ function Ra(e, t) {
4739
4698
  }
4740
4699
  }
4741
4700
  }
4742
- const is = () => {
4743
- Ra("insertMenu", {
4701
+ const rs = () => {
4702
+ Ta("insertMenu", {
4744
4703
  name: "_default",
4745
4704
  default: !0,
4746
4705
  items: [{
@@ -4763,13 +4722,13 @@ const is = () => {
4763
4722
  });
4764
4723
  };
4765
4724
  let ir = !1;
4766
- const Pa = (e = {}) => {
4725
+ const Aa = (e = {}) => {
4767
4726
  var t, n;
4768
4727
  ir || (ir = !0, G() && ((t = window.parent) == null || t.postMessage({
4769
4728
  type: "builder.sdkInfo",
4770
4729
  data: {
4771
4730
  target: me,
4772
- version: ja,
4731
+ version: Ia,
4773
4732
  supportsPatchUpdates: !1,
4774
4733
  // Supports builder-model="..." attribute which is needed to
4775
4734
  // scope our '+ add block' button styling
@@ -4824,7 +4783,7 @@ const Pa = (e = {}) => {
4824
4783
  }
4825
4784
  }
4826
4785
  })));
4827
- }, Na = ({
4786
+ }, Oa = ({
4828
4787
  model: e,
4829
4788
  trustedHosts: t,
4830
4789
  callbacks: n
@@ -4850,12 +4809,12 @@ const Pa = (e = {}) => {
4850
4809
  break;
4851
4810
  }
4852
4811
  }
4853
- }, as = (e, t, n) => {
4812
+ }, os = (e, t, n) => {
4854
4813
  if (!G)
4855
4814
  return Z.warn("`subscribeToEditor` only works in the browser. It currently seems to be running on the server."), () => {
4856
4815
  };
4857
- Pa();
4858
- const r = Na({
4816
+ Aa();
4817
+ const r = Oa({
4859
4818
  callbacks: {
4860
4819
  contentUpdate: t,
4861
4820
  animation: () => {
@@ -4869,7 +4828,48 @@ const Pa = (e = {}) => {
4869
4828
  return window.addEventListener("message", r), () => {
4870
4829
  window.removeEventListener("message", r);
4871
4830
  };
4872
- }, Ba = (e) => {
4831
+ };
4832
+ function ar(e, ...t) {
4833
+ const n = Object(e);
4834
+ for (let r = 1; r < arguments.length; r++) {
4835
+ const o = arguments[r];
4836
+ if (o != null)
4837
+ for (const i in o)
4838
+ Object.prototype.hasOwnProperty.call(o, i) && (n[i] = o[i]);
4839
+ }
4840
+ return n;
4841
+ }
4842
+ function ja(e) {
4843
+ console.warn(`Cannot animate element: element with ID ${e} not found!`);
4844
+ }
4845
+ function Ra(e, t) {
4846
+ const n = Pa(e), r = getComputedStyle(t), o = e.steps[0].styles, i = e.steps[e.steps.length - 1].styles, s = [o, i];
4847
+ for (const u of s)
4848
+ for (const p of n)
4849
+ p in u || (u[p] = r[p]);
4850
+ }
4851
+ function Pa(e) {
4852
+ const t = [];
4853
+ for (const n of e.steps)
4854
+ for (const r in n.styles)
4855
+ t.indexOf(r) === -1 && t.push(r);
4856
+ return t;
4857
+ }
4858
+ function is(e) {
4859
+ const t = Array.prototype.slice.call(document.getElementsByClassName(e.elementId || e.id || ""));
4860
+ if (!t.length) {
4861
+ ja(e.elementId || e.id || "");
4862
+ return;
4863
+ }
4864
+ Array.from(t).forEach((n) => {
4865
+ Ra(e, n), n.style.transition = "none", n.style.transitionDelay = "0", ar(n.style, e.steps[0].styles), setTimeout(() => {
4866
+ n.style.transition = `all ${e.duration}s ${cn(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s"), ar(n.style, e.steps[1].styles), setTimeout(() => {
4867
+ n.style.transition = "", n.style.transitionDelay = "";
4868
+ }, (e.delay || 0) * 1e3 + e.duration * 1e3 + 100);
4869
+ });
4870
+ });
4871
+ }
4872
+ const Na = (e) => {
4873
4873
  var i;
4874
4874
  const t = e.family + (e.kind && !e.kind.includes("#") ? ", " + e.kind : ""), n = t.split(",")[0], r = e.fileUrl ?? ((i = e == null ? void 0 : e.files) == null ? void 0 : i.regular);
4875
4875
  let o = "";
@@ -4895,15 +4895,15 @@ font-weight: ${s};
4895
4895
  `.trim());
4896
4896
  }
4897
4897
  return o;
4898
- }, Ua = ({
4898
+ }, Ba = ({
4899
4899
  customFonts: e
4900
4900
  }) => {
4901
4901
  var t;
4902
- return ((t = e == null ? void 0 : e.map((n) => Ba(n))) == null ? void 0 : t.join(" ")) || "";
4903
- }, Ma = ({
4902
+ return ((t = e == null ? void 0 : e.map((n) => Na(n))) == null ? void 0 : t.join(" ")) || "";
4903
+ }, Ua = ({
4904
4904
  cssCode: e,
4905
4905
  contentId: t
4906
- }) => e ? t ? (e == null ? void 0 : e.replace(/&/g, `div[builder-content-id="${t}"]`)) || "" : e : "", Fa = `
4906
+ }) => e ? t ? (e == null ? void 0 : e.replace(/&/g, `div[builder-content-id="${t}"]`)) || "" : e : "", Ma = `
4907
4907
  .builder-button {
4908
4908
  all: unset;
4909
4909
  }
@@ -4920,21 +4920,21 @@ font-weight: ${s};
4920
4920
  text-align: inherit;
4921
4921
  font-family: inherit;
4922
4922
  }
4923
- `, Va = (e) => e ? "" : Fa, ss = (e) => `variant-${e}`;
4924
- function Da(e) {
4923
+ `, Fa = (e) => e ? "" : Ma, as = (e) => `variant-${e}`;
4924
+ function Va(e) {
4925
4925
  const t = `
4926
- ${Ma({
4926
+ ${Ua({
4927
4927
  cssCode: e.cssCode,
4928
4928
  contentId: e.contentId
4929
4929
  })}
4930
- ${Ua({
4930
+ ${Ba({
4931
4931
  customFonts: e.customFonts
4932
4932
  })}
4933
- ${Va(e.isNestedRender)}
4933
+ ${Fa(e.isNestedRender)}
4934
4934
  `.trim();
4935
4935
  return /* @__PURE__ */ I(gt, { id: "builderio-content", styles: t });
4936
4936
  }
4937
- const La = ({
4937
+ const Da = ({
4938
4938
  content: e,
4939
4939
  data: t,
4940
4940
  locale: n
@@ -4951,7 +4951,7 @@ const La = ({
4951
4951
  locale: n
4952
4952
  } : {}
4953
4953
  };
4954
- }, Wa = ({
4954
+ }, La = ({
4955
4955
  content: e,
4956
4956
  data: t
4957
4957
  }) => e ? {
@@ -4962,9 +4962,9 @@ const La = ({
4962
4962
  },
4963
4963
  meta: e == null ? void 0 : e.meta
4964
4964
  } : void 0;
4965
- function ar(e) {
4965
+ function sr(e) {
4966
4966
  var o, i, s, u, p, b, x, m, O;
4967
- const t = ta({
4967
+ const t = qi({
4968
4968
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
4969
4969
  variationId: (o = e.content) == null ? void 0 : o.testVariationId,
4970
4970
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
@@ -4982,12 +4982,12 @@ function ar(e) {
4982
4982
  }),
4983
4983
  {}
4984
4984
  ), r = {
4985
- content: Wa({
4985
+ content: La({
4986
4986
  content: e.content,
4987
4987
  data: e.data
4988
4988
  }),
4989
4989
  localState: void 0,
4990
- rootState: La({
4990
+ rootState: Da({
4991
4991
  content: e.content,
4992
4992
  data: e.data,
4993
4993
  locale: e.locale
@@ -5036,7 +5036,7 @@ function ar(e) {
5036
5036
  }
5037
5037
  ) : null,
5038
5038
  /* @__PURE__ */ I(
5039
- Da,
5039
+ Va,
5040
5040
  {
5041
5041
  isNestedRender: e.isNestedRender,
5042
5042
  contentId: (s = r.content) == null ? void 0 : s.id,
@@ -5045,7 +5045,7 @@ function ar(e) {
5045
5045
  }
5046
5046
  ),
5047
5047
  /* @__PURE__ */ I(
5048
- cn,
5048
+ un,
5049
5049
  {
5050
5050
  blocks: (O = (m = r.content) == null ? void 0 : m.data) == null ? void 0 : O.blocks,
5051
5051
  context: r,
@@ -5057,14 +5057,14 @@ function ar(e) {
5057
5057
  }
5058
5058
  );
5059
5059
  }
5060
- function _a(e) {
5060
+ function Wa(e) {
5061
5061
  var i;
5062
- const t = qi({
5062
+ const t = Xi({
5063
5063
  canTrack: Ht(e.canTrack),
5064
5064
  content: e.content
5065
5065
  }), n = function() {
5066
5066
  var u;
5067
- return ea(
5067
+ return zi(
5068
5068
  ft(e.content).map((p) => ({
5069
5069
  id: p.testVariationId,
5070
5070
  testRatio: p.testRatio
@@ -5078,7 +5078,7 @@ function _a(e) {
5078
5078
  return t ? {
5079
5079
  ...e.content,
5080
5080
  testVariationId: (u = e.content) == null ? void 0 : u.id
5081
- } : Oi({
5081
+ } : Ei({
5082
5082
  item: e.content,
5083
5083
  canTrack: Ht(e.canTrack)
5084
5084
  });
@@ -5088,7 +5088,7 @@ function _a(e) {
5088
5088
  Gt,
5089
5089
  {
5090
5090
  id: "builderio-init-variants-fns",
5091
- scriptStr: Qi()
5091
+ scriptStr: Ji()
5092
5092
  }
5093
5093
  ) : null,
5094
5094
  t ? /* @__PURE__ */ xe(ee, { children: [
@@ -5107,7 +5107,7 @@ function _a(e) {
5107
5107
  }
5108
5108
  ),
5109
5109
  (i = ft(e.content)) == null ? void 0 : i.map((s) => /* @__PURE__ */ I(
5110
- ar,
5110
+ sr,
5111
5111
  {
5112
5112
  isNestedRender: e.isNestedRender,
5113
5113
  content: s,
@@ -5133,7 +5133,7 @@ function _a(e) {
5133
5133
  ))
5134
5134
  ] }) : null,
5135
5135
  /* @__PURE__ */ I(
5136
- ar,
5136
+ sr,
5137
5137
  {
5138
5138
  isNestedRender: e.isNestedRender,
5139
5139
  content: o(),
@@ -5158,7 +5158,7 @@ function _a(e) {
5158
5158
  )
5159
5159
  ] });
5160
5160
  }
5161
- const $a = async ({
5161
+ const _a = async ({
5162
5162
  builderContextValue: e,
5163
5163
  symbol: t
5164
5164
  }) => {
@@ -5177,7 +5177,7 @@ const $a = async ({
5177
5177
  Z.error("Could not fetch symbol content: ", n);
5178
5178
  });
5179
5179
  };
5180
- async function Ha(e) {
5180
+ async function $a(e) {
5181
5181
  var i, s, u, p, b;
5182
5182
  const t = function() {
5183
5183
  return "div";
@@ -5191,12 +5191,12 @@ async function Ha(e) {
5191
5191
  (m = e.symbol) != null && m.inline ? "builder-inline-symbol" : void 0,
5192
5192
  (O = e.symbol) != null && O.dynamic || e.dynamic ? "builder-dynamic-symbol" : void 0
5193
5193
  ].filter(Boolean).join(" ");
5194
- }, o = ((i = e.symbol) == null ? void 0 : i.content) || await $a({
5194
+ }, o = ((i = e.symbol) == null ? void 0 : i.content) || await _a({
5195
5195
  symbol: e.symbol,
5196
5196
  builderContextValue: e.builderContext
5197
5197
  });
5198
5198
  return /* @__PURE__ */ I("div", { ...e.attributes, className: r(), children: /* @__PURE__ */ I(
5199
- _a,
5199
+ Wa,
5200
5200
  {
5201
5201
  isNestedRender: !0,
5202
5202
  apiVersion: e.builderContext.apiVersion,
@@ -5219,18 +5219,18 @@ async function Ha(e) {
5219
5219
  }
5220
5220
  ) });
5221
5221
  }
5222
- const sr = {};
5223
- function ls(e) {
5222
+ const lr = {};
5223
+ function ss(e) {
5224
5224
  if (G()) {
5225
- Object.assign(sr, e);
5225
+ Object.assign(lr, e);
5226
5226
  const t = {
5227
5227
  type: "builder.settingsChange",
5228
- data: sr
5228
+ data: lr
5229
5229
  };
5230
5230
  parent.postMessage(t, "*");
5231
5231
  }
5232
5232
  }
5233
- const cs = async (e) => {
5233
+ const ls = async (e) => {
5234
5234
  var r, o, i;
5235
5235
  const t = e.path || ((r = e.url) == null ? void 0 : r.pathname) || ((o = e.userAttributes) == null ? void 0 : o.urlPath), n = {
5236
5236
  ...e,
@@ -5252,40 +5252,40 @@ const cs = async (e) => {
5252
5252
  };
5253
5253
  export {
5254
5254
  Ur as A,
5255
- cn as B,
5256
- yi as C,
5257
- rs as D,
5258
- as as E,
5259
- cs as F,
5260
- pa as G,
5261
- ha as H,
5262
- Ha as S,
5263
- Li as T,
5264
- Ia as _,
5265
- pi as a,
5266
- Za as b,
5267
- ur as c,
5268
- Qa as d,
5269
- es as e,
5255
+ un as B,
5256
+ pi as C,
5257
+ ts as D,
5258
+ os as E,
5259
+ ls as F,
5260
+ ca as G,
5261
+ ua as H,
5262
+ $a as S,
5263
+ Mi as T,
5264
+ xa as _,
5265
+ ci as a,
5266
+ za as b,
5267
+ fr as c,
5268
+ qa as d,
5269
+ Za as e,
5270
5270
  G as f,
5271
5271
  Yt as g,
5272
5272
  Ht as h,
5273
- za as i,
5274
- ns as j,
5275
- ss as k,
5273
+ Ja as i,
5274
+ es as j,
5275
+ as as k,
5276
5276
  Z as l,
5277
- Na as m,
5277
+ Oa as m,
5278
5278
  ln as n,
5279
- os as o,
5280
- sa as p,
5279
+ ns as o,
5280
+ ra as p,
5281
5281
  mt as q,
5282
- is as r,
5283
- Pa as s,
5284
- qa as t,
5285
- ts as u,
5282
+ rs as r,
5283
+ Aa as s,
5284
+ is as t,
5285
+ Qa as u,
5286
5286
  Mr as v,
5287
- ra as w,
5288
- _a as x,
5289
- Ra as y,
5290
- ls as z
5287
+ Qi as w,
5288
+ Wa as x,
5289
+ Ta as y,
5290
+ ss as z
5291
5291
  };