@builder.io/sdk-react 0.12.0 → 0.12.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
- import { jsxs as te, Fragment as N, jsx as p } from "react/jsx-runtime";
3
- import { createContext as lr, useState as V, useContext as $n, createElement as cr, useRef as Zt, useEffect as Z } from "react";
4
- import { i as Te, j as je, k as Lr, l as Ue, m as Qt, n as Gt, T as rt, r as $r, o as pt, p as Hn, a as Hr, c as Kr, b as ur, q as Gr, u as Kn, v as Gn, w as zr } from "./server-entry-f978b3a5.js";
5
- import { _ as Fo, h as Uo, f as _o, g as Do, e as Wo, d as Vo, s as Lo, t as $o } from "./server-entry-f978b3a5.js";
6
- function Xr(e) {
7
- return /* @__PURE__ */ te(N, { children: [
8
- e.link ? /* @__PURE__ */ p(N, { children: /* @__PURE__ */ p(
2
+ import { jsxs as se, Fragment as P, jsx as p } from "react/jsx-runtime";
3
+ import { createContext as or, useState as L, useContext as Ln, createElement as ar, useRef as Jt, useEffect as Z } from "react";
4
+ import { i as Te, j as je, k as Lr, l as Ue, m as qt, n as Kt, T as rt, r as Vr, o as pt, p as Vn, a as $r, c as Hr, b as sr, q as Kr, u as $n, v as Hn, w as Gr } from "./server-entry-f978b3a5.js";
5
+ import { _ as Lo, h as Vo, f as $o, g as Ho, e as Ko, d as Go, s as zo, t as Xo } from "./server-entry-f978b3a5.js";
6
+ function zr(e) {
7
+ return /* @__PURE__ */ se(P, { children: [
8
+ e.link ? /* @__PURE__ */ p(P, { children: /* @__PURE__ */ p(
9
9
  "a",
10
10
  {
11
11
  ...e.attributes,
@@ -14,7 +14,7 @@ function Xr(e) {
14
14
  role: "button",
15
15
  children: e.text
16
16
  }
17
- ) }) : /* @__PURE__ */ p(N, { children: /* @__PURE__ */ p(
17
+ ) }) : /* @__PURE__ */ p(P, { children: /* @__PURE__ */ p(
18
18
  "button",
19
19
  {
20
20
  ...e.attributes,
@@ -28,7 +28,7 @@ function Xr(e) {
28
28
  }` })
29
29
  ] });
30
30
  }
31
- const en = lr({
31
+ const Zt = or({
32
32
  content: null,
33
33
  context: {},
34
34
  localState: void 0,
@@ -41,8 +41,8 @@ const en = lr({
41
41
  inheritedStyles: {},
42
42
  BlocksWrapper: "div",
43
43
  BlocksWrapperProps: {}
44
- }), dr = lr({ registeredComponents: {} });
45
- function Yr(e) {
44
+ }), lr = or({ registeredComponents: {} });
45
+ function Xr(e) {
46
46
  var t;
47
47
  return {
48
48
  ...(t = e.component) == null ? void 0 : t.options,
@@ -53,7 +53,7 @@ function Yr(e) {
53
53
  builderBlock: e
54
54
  };
55
55
  }
56
- const fr = ({
56
+ const cr = ({
57
57
  builder: e,
58
58
  context: t,
59
59
  event: r,
@@ -65,14 +65,14 @@ const fr = ({
65
65
  builder: e,
66
66
  context: t,
67
67
  event: r
68
- }), Jr = () => ({
68
+ }), Yr = () => ({
69
69
  isEditing: Te(),
70
70
  isBrowser: je(),
71
71
  isServer: !je(),
72
72
  getUserAttributes: () => Lr()
73
- }), qr = (e, {
73
+ }), Jr = (e, {
74
74
  isExpression: t = !0
75
- }) => /* 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, Zr = ({
75
+ }) => /* 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, qr = ({
76
76
  code: e,
77
77
  builder: t,
78
78
  context: r,
@@ -81,15 +81,15 @@ const fr = ({
81
81
  rootSetState: a,
82
82
  rootState: s
83
83
  }) => {
84
- const u = fr({
84
+ const u = cr({
85
85
  builder: t,
86
86
  context: r,
87
87
  event: n,
88
- state: Qr(s, i, a)
88
+ state: Zr(s, i, a)
89
89
  });
90
90
  return new Function(...u.map(([f]) => f), e)(...u.map(([, f]) => f));
91
91
  };
92
- function Qr(e, t, r) {
92
+ function Zr(e, t, r) {
93
93
  if (e === t)
94
94
  throw new Error("rootState === localState");
95
95
  return new Proxy(e, {
@@ -101,18 +101,18 @@ function Qr(e, t, r) {
101
101
  }
102
102
  });
103
103
  }
104
- const hr = (e, t, r) => {
104
+ const ur = (e, t, r) => {
105
105
  if (Object(e) !== e)
106
106
  return e;
107
107
  const n = Array.isArray(t) ? t : t.toString().match(/[^.[\]]+/g);
108
108
  return n.slice(0, -1).reduce((i, a, s) => Object(i[a]) === i[a] ? i[a] : i[a] = Math.abs(Number(n[s + 1])) >> 0 === +n[s + 1] ? [] : {}, e)[n[n.length - 1]] = r, e;
109
109
  };
110
- var D, ei = function(e) {
110
+ var _, Qr = function(e) {
111
111
  function t(o) {
112
- return 48 > o ? o === 36 : 58 > o ? !0 : 65 > o ? !1 : 91 > o ? !0 : 97 > o ? o === 95 : 123 > o ? !0 : 170 <= o && Wr.test(String.fromCharCode(o));
112
+ return 48 > o ? o === 36 : 58 > o ? !0 : 65 > o ? !1 : 91 > o ? !0 : 97 > o ? o === 95 : 123 > o ? !0 : 170 <= o && _r.test(String.fromCharCode(o));
113
113
  }
114
114
  function r(o) {
115
- return 65 > o ? o === 36 : 91 > o ? !0 : 97 > o ? o === 95 : 123 > o ? !0 : 170 <= o && Ln.test(String.fromCharCode(o));
115
+ return 65 > o ? o === 36 : 91 > o ? !0 : 97 > o ? o === 95 : 123 > o ? !0 : 170 <= o && Wn.test(String.fromCharCode(o));
116
116
  }
117
117
  function n(o, l) {
118
118
  for (var c = x, h = 1, A = 0; ; ) {
@@ -140,12 +140,12 @@ var D, ei = function(e) {
140
140
  this.line = Ee, this.ab = d - he;
141
141
  }
142
142
  function s(o, l) {
143
- Oe = d, R.C && (jt = new a()), j = o, f(), ce = l, Le = o.m;
143
+ Oe = d, O.C && (jt = new a()), j = o, f(), ce = l, Ve = o.m;
144
144
  }
145
145
  function u() {
146
- for (var o = d, l = R.va && R.C && new a(), c = x.charCodeAt(d += 2); d < Re && c !== 10 && c !== 13 && c !== 8232 && c !== 8233; )
146
+ for (var o = d, l = O.va && O.C && new a(), c = x.charCodeAt(d += 2); d < Re && c !== 10 && c !== 13 && c !== 8232 && c !== 8233; )
147
147
  ++d, c = x.charCodeAt(d);
148
- R.va && R.va(!1, x.slice(o + 2, d), o, d, l, R.C && new a());
148
+ O.va && O.va(!1, x.slice(o + 2, d), o, d, l, O.C && new a());
149
149
  }
150
150
  function f() {
151
151
  for (; d < Re; ) {
@@ -153,19 +153,19 @@ var D, ei = function(e) {
153
153
  if (o === 32)
154
154
  ++d;
155
155
  else if (o === 13)
156
- ++d, o = x.charCodeAt(d), o === 10 && ++d, R.C && (++Ee, he = d);
156
+ ++d, o = x.charCodeAt(d), o === 10 && ++d, O.C && (++Ee, he = d);
157
157
  else if (o === 10 || o === 8232 || o === 8233)
158
- ++d, R.C && (++Ee, he = d);
158
+ ++d, O.C && (++Ee, he = d);
159
159
  else if (8 < o && 14 > o)
160
160
  ++d;
161
161
  else if (o === 47)
162
162
  if (o = x.charCodeAt(d + 1), o === 42) {
163
163
  o = void 0;
164
- var l = R.va && R.C && new a(), c = d, h = x.indexOf("*/", d += 2);
165
- if (h === -1 && n(d - 2, "Unterminated comment"), d = h + 2, R.C)
164
+ var l = O.va && O.C && new a(), c = d, h = x.indexOf("*/", d += 2);
165
+ if (h === -1 && n(d - 2, "Unterminated comment"), d = h + 2, O.C)
166
166
  for (ft.lastIndex = c; (o = ft.exec(x)) && o.index < d; )
167
167
  ++Ee, he = o.index + o[0].length;
168
- R.va && R.va(!0, x.slice(c + 2, h), c, d, l, R.C && new a());
168
+ O.va && O.va(!0, x.slice(c + 2, h), c, d, l, O.C && new a());
169
169
  } else if (o === 47)
170
170
  u();
171
171
  else
@@ -178,10 +178,10 @@ var D, ei = function(e) {
178
178
  break;
179
179
  }
180
180
  }
181
- function g(o) {
181
+ function m(o) {
182
182
  switch (o) {
183
183
  case 46:
184
- o = x.charCodeAt(d + 1), 48 <= o && 57 >= o ? O(!0) : (++d, s(Mn));
184
+ o = x.charCodeAt(d + 1), 48 <= o && 57 >= o ? R(!0) : (++d, s(Pn));
185
185
  return;
186
186
  case 40:
187
187
  return ++d, s(pe);
@@ -192,9 +192,9 @@ var D, ei = function(e) {
192
192
  case 44:
193
193
  return ++d, s(Se);
194
194
  case 91:
195
- return ++d, s(_t);
196
- case 93:
197
195
  return ++d, s(Dt);
196
+ case 93:
197
+ return ++d, s(_t);
198
198
  case 123:
199
199
  return ++d, s(Ke);
200
200
  case 125:
@@ -202,10 +202,10 @@ var D, ei = function(e) {
202
202
  case 58:
203
203
  return ++d, s(Ge);
204
204
  case 63:
205
- return ++d, s(Bn);
205
+ return ++d, s(Nn);
206
206
  case 48:
207
207
  if (o = x.charCodeAt(d + 1), o === 120 || o === 88) {
208
- d += 2, o = F(16), o === null && n(X + 2, "Expected hexadecimal number"), r(x.charCodeAt(d)) && n(d, "Identifier directly after number"), s(He, o);
208
+ d += 2, o = B(16), o === null && n(X + 2, "Expected hexadecimal number"), r(x.charCodeAt(d)) && n(d, "Identifier directly after number"), s(He, o);
209
209
  return;
210
210
  }
211
211
  case 49:
@@ -217,7 +217,7 @@ var D, ei = function(e) {
217
217
  case 55:
218
218
  case 56:
219
219
  case 57:
220
- return O(!1);
220
+ return R(!1);
221
221
  case 34:
222
222
  case 39:
223
223
  d++;
@@ -234,7 +234,7 @@ var D, ei = function(e) {
234
234
  for (h && (h = h[0]); h && 255 < parseInt(h, 8); )
235
235
  h = h.slice(0, -1);
236
236
  if (h === "0" && (h = null), ++d, h)
237
- se && n(d - 2, "Octal literal in strict mode"), l += String.fromCharCode(parseInt(h, 8)), d += h.length - 1;
237
+ ae && n(d - 2, "Octal literal in strict mode"), l += String.fromCharCode(parseInt(h, 8)), d += h.length - 1;
238
238
  else
239
239
  switch (c) {
240
240
  case 110:
@@ -245,13 +245,13 @@ var D, ei = function(e) {
245
245
  l += "\r";
246
246
  break;
247
247
  case 120:
248
- l += String.fromCharCode(P(2));
248
+ l += String.fromCharCode(N(2));
249
249
  break;
250
250
  case 117:
251
- l += String.fromCharCode(P(4));
251
+ l += String.fromCharCode(N(4));
252
252
  break;
253
253
  case 85:
254
- l += String.fromCharCode(P(8));
254
+ l += String.fromCharCode(N(8));
255
255
  break;
256
256
  case 116:
257
257
  l += " ";
@@ -271,7 +271,7 @@ var D, ei = function(e) {
271
271
  case 13:
272
272
  x.charCodeAt(d) === 10 && ++d;
273
273
  case 10:
274
- R.C && (he = d, ++Ee);
274
+ O.C && (he = d, ++Ee);
275
275
  break;
276
276
  default:
277
277
  l += String.fromCharCode(c);
@@ -281,50 +281,50 @@ var D, ei = function(e) {
281
281
  }
282
282
  return;
283
283
  case 47:
284
- o = x.charCodeAt(d + 1), Le ? (++d, U()) : o === 61 ? b(Ie, 2) : b(Fn, 1);
284
+ o = x.charCodeAt(d + 1), Ve ? (++d, U()) : o === 61 ? y(Ie, 2) : y(Mn, 1);
285
285
  return;
286
286
  case 37:
287
287
  case 42:
288
- x.charCodeAt(d + 1) === 61 ? b(Ie, 2) : b(Fr, 1);
288
+ x.charCodeAt(d + 1) === 61 ? y(Ie, 2) : y(Br, 1);
289
289
  return;
290
290
  case 124:
291
291
  case 38:
292
- l = x.charCodeAt(d + 1), l === o ? b(o === 124 ? Dn : Wn, 2) : l === 61 ? b(Ie, 2) : b(o === 124 ? Ar : Or, 1);
292
+ l = x.charCodeAt(d + 1), l === o ? y(o === 124 ? Un : Dn, 2) : l === 61 ? y(Ie, 2) : y(o === 124 ? jr : Rr, 1);
293
293
  return;
294
294
  case 94:
295
- x.charCodeAt(d + 1) === 61 ? b(Ie, 2) : b(Rr, 1);
295
+ x.charCodeAt(d + 1) === 61 ? y(Ie, 2) : y(Ar, 1);
296
296
  return;
297
297
  case 43:
298
298
  case 45:
299
- l = x.charCodeAt(d + 1), l === o ? l === 45 && x.charCodeAt(d + 2) === 62 && dt.test(x.slice(be, d)) ? (d += 3, u(), f(), v()) : b(jr, 2) : l === 61 ? b(Ie, 2) : b(Br, 1);
299
+ l = x.charCodeAt(d + 1), l === o ? l === 45 && x.charCodeAt(d + 2) === 62 && dt.test(x.slice(xe, d)) ? (d += 3, u(), f(), v()) : y(Tr, 2) : l === 61 ? y(Ie, 2) : y(Mr, 1);
300
300
  return;
301
301
  case 60:
302
302
  case 62:
303
- l = x.charCodeAt(d + 1), c = 1, l === o ? (c = o === 62 && x.charCodeAt(d + 2) === 62 ? 3 : 2, x.charCodeAt(d + c) === 61 ? b(Ie, c + 1) : b(Mr, c)) : l === 33 && o === 60 && x.charCodeAt(d + 2) === 45 && x.charCodeAt(d + 3) === 45 ? (d += 4, u(), f(), v()) : (l === 61 && (c = x.charCodeAt(d + 2) === 61 ? 3 : 2), b(Nr, c));
303
+ l = x.charCodeAt(d + 1), c = 1, l === o ? (c = o === 62 && x.charCodeAt(d + 2) === 62 ? 3 : 2, x.charCodeAt(d + c) === 61 ? y(Ie, c + 1) : y(Nr, c)) : l === 33 && o === 60 && x.charCodeAt(d + 2) === 45 && x.charCodeAt(d + 3) === 45 ? (d += 4, u(), f(), v()) : (l === 61 && (c = x.charCodeAt(d + 2) === 61 ? 3 : 2), y(Pr, c));
304
304
  return;
305
305
  case 61:
306
306
  case 33:
307
- x.charCodeAt(d + 1) === 61 ? b(Pr, x.charCodeAt(d + 2) === 61 ? 3 : 2) : b(o === 61 ? Un : _n, 1);
307
+ x.charCodeAt(d + 1) === 61 ? y(Or, x.charCodeAt(d + 2) === 61 ? 3 : 2) : y(o === 61 ? Bn : Fn, 1);
308
308
  return;
309
309
  case 126:
310
- return b(_n, 1);
310
+ return y(Fn, 1);
311
311
  }
312
312
  return !1;
313
313
  }
314
314
  function v(o) {
315
- if (o ? d = X + 1 : X = d, R.C && (Tt = new a()), o)
315
+ if (o ? d = X + 1 : X = d, O.C && (Tt = new a()), o)
316
316
  return U();
317
317
  if (d >= Re)
318
318
  return s(Ot);
319
319
  if (o = x.charCodeAt(d), r(o) || o === 92)
320
320
  return Y();
321
- if (g(o) === !1) {
322
- if (o = String.fromCharCode(o), o === "\\" || Ln.test(o))
321
+ if (m(o) === !1) {
322
+ if (o = String.fromCharCode(o), o === "\\" || Wn.test(o))
323
323
  return Y();
324
324
  n(d, "Unexpected character '" + o + "'");
325
325
  }
326
326
  }
327
- function b(o, l) {
327
+ function y(o, l) {
328
328
  var c = x.slice(d, d + l);
329
329
  d += l, s(o, c);
330
330
  }
@@ -345,40 +345,40 @@ var D, ei = function(e) {
345
345
  }
346
346
  ++d;
347
347
  }
348
- o = x.slice(c, d), ++d, (l = L()) && !/^[gmi]*$/.test(l) && n(c, "Invalid regexp flag");
348
+ o = x.slice(c, d), ++d, (l = V()) && !/^[gmi]*$/.test(l) && n(c, "Invalid regexp flag");
349
349
  try {
350
350
  var A = new RegExp(o, l);
351
351
  } catch (J) {
352
352
  throw J instanceof SyntaxError && n(c, J.message), J;
353
353
  }
354
- s(mn, A);
354
+ s(hn, A);
355
355
  }
356
- function F(o, l) {
356
+ function B(o, l) {
357
357
  for (var c = d, h = 0, A = l === void 0 ? 1 / 0 : l, J = 0; J < A; ++J) {
358
- var ie = x.charCodeAt(d);
359
- if (ie = 97 <= ie ? ie - 97 + 10 : 65 <= ie ? ie - 65 + 10 : 48 <= ie && 57 >= ie ? ie - 48 : 1 / 0, ie >= o)
358
+ var re = x.charCodeAt(d);
359
+ if (re = 97 <= re ? re - 97 + 10 : 65 <= re ? re - 65 + 10 : 48 <= re && 57 >= re ? re - 48 : 1 / 0, re >= o)
360
360
  break;
361
- ++d, h = h * o + ie;
361
+ ++d, h = h * o + re;
362
362
  }
363
363
  return d === c || l !== void 0 && d - c !== l ? null : h;
364
364
  }
365
- function O(o) {
365
+ function R(o) {
366
366
  var l = d, c = !1, h = x.charCodeAt(d) === 48;
367
- o || F(10) !== null || n(l, "Invalid number"), x.charCodeAt(d) === 46 && (++d, F(10), c = !0), o = x.charCodeAt(d), (o === 69 || o === 101) && (o = x.charCodeAt(++d), o !== 43 && o !== 45 || ++d, F(10) === null && n(l, "Invalid number"), c = !0), r(x.charCodeAt(d)) && n(d, "Identifier directly after number"), o = x.slice(l, d);
367
+ o || B(10) !== null || n(l, "Invalid number"), x.charCodeAt(d) === 46 && (++d, B(10), c = !0), o = x.charCodeAt(d), (o === 69 || o === 101) && (o = x.charCodeAt(++d), o !== 43 && o !== 45 || ++d, B(10) === null && n(l, "Invalid number"), c = !0), r(x.charCodeAt(d)) && n(d, "Identifier directly after number"), o = x.slice(l, d);
368
368
  var A;
369
- c ? A = parseFloat(o) : h && o.length !== 1 ? /[89]/.test(o) || se ? n(l, "Invalid number") : A = parseInt(o, 8) : A = parseInt(o, 10), s(He, A);
369
+ c ? A = parseFloat(o) : h && o.length !== 1 ? /[89]/.test(o) || ae ? n(l, "Invalid number") : A = parseInt(o, 8) : A = parseInt(o, 10), s(He, A);
370
370
  }
371
- function P(o) {
372
- return o = F(16, o), o === null && n(X, "Bad character escape sequence"), o;
371
+ function N(o) {
372
+ return o = B(16, o), o === null && n(X, "Bad character escape sequence"), o;
373
373
  }
374
- function L() {
374
+ function V() {
375
375
  Me = !1;
376
376
  for (var o, l = !0, c = d; ; ) {
377
377
  var h = x.charCodeAt(d);
378
378
  if (t(h))
379
379
  Me && (o += x.charAt(d)), ++d;
380
380
  else if (h === 92) {
381
- Me || (o = x.slice(c, d)), Me = !0, x.charCodeAt(++d) !== 117 && n(d, "Expecting Unicode escape sequence \\uXXXX"), ++d, h = P(4);
381
+ Me || (o = x.slice(c, d)), Me = !0, x.charCodeAt(++d) !== 117 && n(d, "Expecting Unicode escape sequence \\uXXXX"), ++d, h = N(4);
382
382
  var A = String.fromCharCode(h);
383
383
  A || n(d - 1, "Invalid Unicode escape"), (l ? r(h) : t(h)) || n(d - 4, "Invalid Unicode escape"), o += A;
384
384
  } else
@@ -388,102 +388,102 @@ var D, ei = function(e) {
388
388
  return Me ? o : x.slice(c, d);
389
389
  }
390
390
  function Y() {
391
- var o = L(), l = Pe;
392
- !Me && _r(o) && (l = Tr[o]), s(l, o);
391
+ var o = V(), l = Pe;
392
+ !Me && Ur(o) && (l = Ir[o]), s(l, o);
393
393
  }
394
- function y() {
395
- At = X, be = Oe, Rt = jt, v();
394
+ function b() {
395
+ At = X, xe = Oe, Rt = jt, v();
396
396
  }
397
397
  function K(o) {
398
- if (se = o, d = X, R.C)
398
+ if (ae = o, d = X, O.C)
399
399
  for (; d < he; )
400
400
  he = x.lastIndexOf(`
401
401
  `, he - 2) + 1, --Ee;
402
402
  f(), v();
403
403
  }
404
- function ne() {
404
+ function te() {
405
405
  this.type = null, this.start = X, this.end = null;
406
406
  }
407
407
  function le() {
408
408
  this.start = Tt, this.end = null, It && (this.source = It);
409
409
  }
410
410
  function $() {
411
- var o = new ne();
412
- return R.C && (o.X = new le()), R.vb && (o.sourceFile = R.vb), R.Xa && (o.j = [X, 0]), o;
411
+ var o = new te();
412
+ return O.C && (o.X = new le()), O.vb && (o.sourceFile = O.vb), O.Xa && (o.j = [X, 0]), o;
413
413
  }
414
- function re(o) {
415
- var l = new ne();
416
- return l.start = o.start, R.C && (l.X = new le(), l.X.start = o.X.start), R.Xa && (l.j = [o.j[0], 0]), l;
414
+ function ne(o) {
415
+ var l = new te();
416
+ return l.start = o.start, O.C && (l.X = new le(), l.X.start = o.X.start), O.Xa && (l.j = [o.j[0], 0]), l;
417
417
  }
418
418
  function E(o, l) {
419
- return o.type = l, o.end = be, R.C && (o.X.end = Rt), R.Xa && (o.j[1] = be), o;
419
+ return o.type = l, o.end = xe, O.C && (o.X.end = Rt), O.Xa && (o.j[1] = xe), o;
420
420
  }
421
421
  function Ae(o) {
422
422
  return o.type === "ExpressionStatement" && o.la.type === "Literal" && o.la.value === "use strict";
423
423
  }
424
424
  function W(o) {
425
- return j === o ? (y(), !0) : !1;
425
+ return j === o ? (b(), !0) : !1;
426
426
  }
427
427
  function ke() {
428
- return !R.fc && (j === Ot || j === Ne || dt.test(x.slice(be, X)));
428
+ return !O.fc && (j === Ot || j === Ne || dt.test(x.slice(xe, X)));
429
429
  }
430
430
  function ue() {
431
- W(me) || ke() || C();
431
+ W(me) || ke() || k();
432
432
  }
433
433
  function H(o) {
434
- j === o ? y() : C();
434
+ j === o ? b() : k();
435
435
  }
436
- function C() {
436
+ function k() {
437
437
  n(X, "Unexpected token");
438
438
  }
439
439
  function I(o) {
440
- o.type !== "Identifier" && o.type !== "MemberExpression" && n(o.start, "Assigning to rvalue"), se && o.type === "Identifier" && ut(o.name) && n(o.start, "Assigning to " + o.name + " in strict mode");
440
+ o.type !== "Identifier" && o.type !== "MemberExpression" && n(o.start, "Assigning to rvalue"), ae && o.type === "Identifier" && ut(o.name) && n(o.start, "Assigning to " + o.name + " in strict mode");
441
441
  }
442
442
  function T() {
443
- (j === Fn || j === Ie && ce === "/=") && v(!0);
443
+ (j === Mn || j === Ie && ce === "/=") && v(!0);
444
444
  var o = j, l = $();
445
445
  switch (o) {
446
446
  case Pt:
447
- case vn:
448
- y();
447
+ case mn:
448
+ b();
449
449
  var c = o === Pt;
450
- W(me) || ke() ? l.label = null : j !== Pe ? C() : (l.label = fe(), ue());
450
+ W(me) || ke() ? l.label = null : j !== Pe ? k() : (l.label = fe(), ue());
451
451
  for (var h = 0; h < z.length; ++h) {
452
452
  var A = z[h];
453
453
  if ((l.label === null || A.name === l.label.name) && (A.kind !== null && (c || A.kind === "loop") || l.label && c))
454
454
  break;
455
455
  }
456
456
  return h === z.length && n(l.start, "Unsyntactic " + o.l), E(l, c ? "BreakStatement" : "ContinueStatement");
457
+ case gn:
458
+ return b(), ue(), E(l, "DebuggerStatement");
457
459
  case yn:
458
- return y(), ue(), E(l, "DebuggerStatement");
459
- case bn:
460
- return y(), z.push(Wt), l.body = T(), z.pop(), H(Ut), l.test = M(), ue(), E(l, "DoWhileStatement");
461
- case kn:
462
- return y(), z.push(Wt), H(pe), j === me ? G(l, null) : j === Ft ? (o = $(), y(), at(o, !0), E(o, "VariableDeclaration"), o.fa.length === 1 && W(ct) ? Ce(l, o) : G(l, o)) : (o = ee(!1, !0), W(ct) ? (I(o), Ce(l, o)) : G(l, o));
460
+ return b(), z.push(Wt), l.body = T(), z.pop(), H(Ut), l.test = M(), ue(), E(l, "DoWhileStatement");
461
+ case Sn:
462
+ return b(), z.push(Wt), H(pe), j === me ? G(l, null) : j === Ft ? (o = $(), b(), at(o, !0), E(o, "VariableDeclaration"), o.fa.length === 1 && W(ct) ? Ce(l, o) : G(l, o)) : (o = ee(!1, !0), W(ct) ? (I(o), Ce(l, o)) : G(l, o));
463
463
  case Mt:
464
- return y(), Ct(l, !0);
464
+ return b(), Ct(l, !0);
465
+ case wn:
466
+ return b(), l.test = M(), l.da = T(), l.alternate = W(bn) ? T() : null, E(l, "IfStatement");
467
+ case kn:
468
+ return $e || O.Ib || n(X, "'return' outside of function"), b(), W(me) || ke() ? l.K = null : (l.K = ee(), ue()), E(l, "ReturnStatement");
469
+ case Bt:
470
+ for (b(), l.Qb = M(), l.tb = [], H(Ke), z.push(Wr); j !== Ne; )
471
+ j === Nt || j === vn ? (o = j === Nt, h && E(h, "SwitchCase"), l.tb.push(h = $()), h.da = [], b(), o ? h.test = ee() : (c && n(At, "Multiple default clauses"), c = !0, h.test = null), H(Ge)) : (h || k(), h.da.push(T()));
472
+ return h && E(h, "SwitchCase"), b(), z.pop(), E(l, "SwitchStatement");
465
473
  case Cn:
466
- return y(), l.test = M(), l.da = T(), l.alternate = W(Sn) ? T() : null, E(l, "IfStatement");
474
+ return b(), dt.test(x.slice(xe, X)) && n(xe, "Illegal newline after throw"), l.K = ee(), ue(), E(l, "ThrowStatement");
467
475
  case En:
468
- return $e || R.Ib || n(X, "'return' outside of function"), y(), W(me) || ke() ? l.K = null : (l.K = ee(), ue()), E(l, "ReturnStatement");
469
- case Bt:
470
- for (y(), l.Qb = M(), l.tb = [], H(Ke), z.push(Vr); j !== Ne; )
471
- j === Nt || j === xn ? (o = j === Nt, h && E(h, "SwitchCase"), l.tb.push(h = $()), h.da = [], y(), o ? h.test = ee() : (c && n(At, "Multiple default clauses"), c = !0, h.test = null), H(Ge)) : (h || C(), h.da.push(T()));
472
- return h && E(h, "SwitchCase"), y(), z.pop(), E(l, "SwitchStatement");
473
- case In:
474
- return y(), dt.test(x.slice(be, X)) && n(be, "Illegal newline after throw"), l.K = ee(), ue(), E(l, "ThrowStatement");
475
- case Tn:
476
- return y(), l.block = _(), l.Ea = null, j === gn && (o = $(), y(), H(pe), o.Ua = fe(), se && ut(o.Ua.name) && n(o.Ua.start, "Binding " + o.Ua.name + " in strict mode"), H(de), o.body = _(), l.Ea = E(o, "CatchClause")), l.fb = W(wn) ? _() : null, l.Ea || l.fb || n(l.start, "Missing catch or finally clause"), E(l, "TryStatement");
476
+ return b(), l.block = D(), l.Ea = null, j === pn && (o = $(), b(), H(pe), o.Ua = fe(), ae && ut(o.Ua.name) && n(o.Ua.start, "Binding " + o.Ua.name + " in strict mode"), H(de), o.body = D(), l.Ea = E(o, "CatchClause")), l.fb = W(xn) ? D() : null, l.Ea || l.fb || n(l.start, "Missing catch or finally clause"), E(l, "TryStatement");
477
477
  case Ft:
478
- return y(), at(l), ue(), E(l, "VariableDeclaration");
478
+ return b(), at(l), ue(), E(l, "VariableDeclaration");
479
479
  case Ut:
480
- return y(), l.test = M(), z.push(Wt), l.body = T(), z.pop(), E(l, "WhileStatement");
481
- case jn:
482
- return se && n(X, "'with' in strict mode"), y(), l.object = M(), l.body = T(), E(l, "WithStatement");
480
+ return b(), l.test = M(), z.push(Wt), l.body = T(), z.pop(), E(l, "WhileStatement");
481
+ case In:
482
+ return ae && n(X, "'with' in strict mode"), b(), l.object = M(), l.body = T(), E(l, "WithStatement");
483
483
  case Ke:
484
- return _();
484
+ return D();
485
485
  case me:
486
- return y(), E(l, "EmptyStatement");
486
+ return b(), E(l, "EmptyStatement");
487
487
  default:
488
488
  if (c = ce, A = ee(), o === Pe && A.type === "Identifier" && W(Ge)) {
489
489
  for (h = 0; h < z.length; ++h)
@@ -501,7 +501,7 @@ var D, ei = function(e) {
501
501
  var o = ee();
502
502
  return H(de), o;
503
503
  }
504
- function _(o) {
504
+ function D(o) {
505
505
  var l = $(), c = !0, h = !1;
506
506
  for (l.body = [], H(Ke); !W(Ne); ) {
507
507
  var A = T();
@@ -522,14 +522,14 @@ var D, ei = function(e) {
522
522
  function at(o, l) {
523
523
  for (o.fa = [], o.kind = "var"; ; ) {
524
524
  var c = $();
525
- if (c.id = fe(), se && ut(c.id.name) && n(c.id.start, "Binding " + c.id.name + " in strict mode"), c.ua = W(Un) ? ee(!0, l) : null, o.fa.push(E(c, "VariableDeclarator")), !W(Se))
525
+ if (c.id = fe(), ae && ut(c.id.name) && n(c.id.start, "Binding " + c.id.name + " in strict mode"), c.ua = W(Bn) ? ee(!0, l) : null, o.fa.push(E(c, "VariableDeclarator")), !W(Se))
526
526
  break;
527
527
  }
528
528
  }
529
529
  function ee(o, l) {
530
530
  var c = St(l);
531
531
  if (!o && j === Se) {
532
- for (o = re(c), o.xb = [c]; W(Se); )
532
+ for (o = ne(c), o.xb = [c]; W(Se); )
533
533
  o.xb.push(St(l));
534
534
  return E(o, "SequenceExpression");
535
535
  }
@@ -537,64 +537,64 @@ var D, ei = function(e) {
537
537
  }
538
538
  function St(o) {
539
539
  var l = wt(kt(), -1, o);
540
- if (W(Bn)) {
541
- var c = re(l);
540
+ if (W(Nn)) {
541
+ var c = ne(l);
542
542
  c.test = l, c.da = ee(!0), H(Ge), c.alternate = ee(!0, o), l = E(c, "ConditionalExpression");
543
543
  }
544
- return j.Cb ? (c = re(l), c.operator = ce, c.left = l, y(), c.right = St(o), I(l), E(c, "AssignmentExpression")) : l;
544
+ return j.Cb ? (c = ne(l), c.operator = ce, c.left = l, b(), c.right = St(o), I(l), E(c, "AssignmentExpression")) : l;
545
545
  }
546
546
  function wt(o, l, c) {
547
547
  var h = j.L;
548
548
  if (h !== null && (!c || j !== ct) && h > l) {
549
- var A = re(o);
550
- return A.left = o, A.operator = ce, o = j, y(), A.right = wt(kt(), h, c), h = E(A, o === Dn || o === Wn ? "LogicalExpression" : "BinaryExpression"), wt(h, l, c);
549
+ var A = ne(o);
550
+ return A.left = o, A.operator = ce, o = j, b(), A.right = wt(kt(), h, c), h = E(A, o === Un || o === Dn ? "LogicalExpression" : "BinaryExpression"), wt(h, l, c);
551
551
  }
552
552
  return o;
553
553
  }
554
554
  function kt() {
555
555
  if (j.prefix) {
556
556
  var o = $(), l = j.$b;
557
- return o.operator = ce, Le = o.prefix = !0, y(), o.K = kt(), l ? I(o.K) : se && o.operator === "delete" && o.K.type === "Identifier" && n(o.start, "Deleting local variable in strict mode"), E(o, l ? "UpdateExpression" : "UnaryExpression");
557
+ return o.operator = ce, Ve = o.prefix = !0, b(), o.K = kt(), l ? I(o.K) : ae && o.operator === "delete" && o.K.type === "Identifier" && n(o.start, "Deleting local variable in strict mode"), E(o, l ? "UpdateExpression" : "UnaryExpression");
558
558
  }
559
- for (l = Ve(st()); j.cc && !ke(); )
560
- o = re(l), o.operator = ce, o.prefix = !1, o.K = l, I(l), y(), l = E(o, "UpdateExpression");
559
+ for (l = Le(st()); j.cc && !ke(); )
560
+ o = ne(l), o.operator = ce, o.prefix = !1, o.K = l, I(l), b(), l = E(o, "UpdateExpression");
561
561
  return l;
562
562
  }
563
- function Ve(o, l) {
564
- if (W(Mn)) {
565
- var c = re(o);
566
- return c.object = o, c.Wa = fe(!0), c.bb = !1, Ve(E(c, "MemberExpression"), l);
563
+ function Le(o, l) {
564
+ if (W(Pn)) {
565
+ var c = ne(o);
566
+ return c.object = o, c.Wa = fe(!0), c.bb = !1, Le(E(c, "MemberExpression"), l);
567
567
  }
568
- return W(_t) ? (c = re(o), c.object = o, c.Wa = ee(), c.bb = !0, H(Dt), Ve(E(c, "MemberExpression"), l)) : !l && W(pe) ? (c = re(o), c.callee = o, c.arguments = Et(de, !1), Ve(E(c, "CallExpression"), l)) : o;
568
+ return W(Dt) ? (c = ne(o), c.object = o, c.Wa = ee(), c.bb = !0, H(_t), Le(E(c, "MemberExpression"), l)) : !l && W(pe) ? (c = ne(o), c.callee = o, c.arguments = Et(de, !1), Le(E(c, "CallExpression"), l)) : o;
569
569
  }
570
570
  function st() {
571
571
  switch (j) {
572
- case Rn:
572
+ case jn:
573
573
  var o = $();
574
- return y(), E(o, "ThisExpression");
574
+ return b(), E(o, "ThisExpression");
575
575
  case Pe:
576
576
  return fe();
577
577
  case He:
578
578
  case lt:
579
- case mn:
580
- return o = $(), o.value = ce, o.raw = x.slice(X, Oe), y(), E(o, "Literal");
579
+ case hn:
580
+ return o = $(), o.value = ce, o.raw = x.slice(X, Oe), b(), E(o, "Literal");
581
+ case An:
582
+ case Rn:
581
583
  case On:
582
- case Pn:
583
- case Nn:
584
- return o = $(), o.value = j.$a, o.raw = j.l, y(), E(o, "Literal");
584
+ return o = $(), o.value = j.$a, o.raw = j.l, b(), E(o, "Literal");
585
585
  case pe:
586
586
  o = Tt;
587
587
  var l = X;
588
- y();
588
+ b();
589
589
  var c = ee();
590
- return c.start = l, c.end = Oe, R.C && (c.X.start = o, c.X.end = jt), R.Xa && (c.j = [l, Oe]), H(de), c;
591
- case _t:
592
- return o = $(), y(), o.elements = Et(Dt, !0, !0), E(o, "ArrayExpression");
590
+ return c.start = l, c.end = Oe, O.C && (c.X.start = o, c.X.end = jt), O.Xa && (c.j = [l, Oe]), H(de), c;
591
+ case Dt:
592
+ return o = $(), b(), o.elements = Et(_t, !0, !0), E(o, "ArrayExpression");
593
593
  case Ke:
594
- for (o = $(), l = !0, c = !1, o.h = [], y(); !W(Ne); ) {
594
+ for (o = $(), l = !0, c = !1, o.h = [], b(); !W(Ne); ) {
595
595
  if (l)
596
596
  l = !1;
597
- else if (H(Se), R.sb && W(Ne))
597
+ else if (H(Se), O.sb && W(Ne))
598
598
  break;
599
599
  var h = {
600
600
  key: j === He || j === lt ? st() : fe(!0)
@@ -603,35 +603,35 @@ var D, ei = function(e) {
603
603
  h.value = ee(!0);
604
604
  var J = h.kind = "init";
605
605
  } else
606
- h.key.type !== "Identifier" || h.key.name !== "get" && h.key.name !== "set" ? C() : (A = c = !0, J = h.kind = h.key.name, h.key = j === He || j === lt ? st() : fe(!0), j !== pe && C(), h.value = Ct($(), !1));
607
- if (h.key.type === "Identifier" && (se || c))
608
- for (var ie = 0; ie < o.h.length; ++ie) {
609
- var Be = o.h[ie];
606
+ h.key.type !== "Identifier" || h.key.name !== "get" && h.key.name !== "set" ? k() : (A = c = !0, J = h.kind = h.key.name, h.key = j === He || j === lt ? st() : fe(!0), j !== pe && k(), h.value = Ct($(), !1));
607
+ if (h.key.type === "Identifier" && (ae || c))
608
+ for (var re = 0; re < o.h.length; ++re) {
609
+ var Be = o.h[re];
610
610
  if (Be.key.name === h.key.name) {
611
- var Vt = J === Be.kind || A && Be.kind === "init" || J === "init" && (Be.kind === "get" || Be.kind === "set");
612
- Vt && !se && J === "init" && Be.kind === "init" && (Vt = !1), Vt && n(h.key.start, "Redefinition of property");
611
+ var Lt = J === Be.kind || A && Be.kind === "init" || J === "init" && (Be.kind === "get" || Be.kind === "set");
612
+ Lt && !ae && J === "init" && Be.kind === "init" && (Lt = !1), Lt && n(h.key.start, "Redefinition of property");
613
613
  }
614
614
  }
615
615
  o.h.push(h);
616
616
  }
617
617
  return E(o, "ObjectExpression");
618
618
  case Mt:
619
- return o = $(), y(), Ct(o, !1);
620
- case An:
621
- return o = $(), y(), o.callee = Ve(st(), !0), o.arguments = W(pe) ? Et(de, !1) : Ir, E(o, "NewExpression");
619
+ return o = $(), b(), Ct(o, !1);
620
+ case Tn:
621
+ return o = $(), b(), o.callee = Le(st(), !0), o.arguments = W(pe) ? Et(de, !1) : Er, E(o, "NewExpression");
622
622
  }
623
- C();
623
+ k();
624
624
  }
625
625
  function Ct(o, l) {
626
- j === Pe ? o.id = fe() : l ? C() : o.id = null, o.oa = [];
626
+ j === Pe ? o.id = fe() : l ? k() : o.id = null, o.oa = [];
627
627
  var c = !0;
628
628
  for (H(pe); !W(de); )
629
629
  c ? c = !1 : H(Se), o.oa.push(fe());
630
630
  c = $e;
631
631
  var h = z;
632
- if ($e = !0, z = [], o.body = _(!0), $e = c, z = h, se || o.body.body.length && Ae(o.body.body[0])) {
632
+ if ($e = !0, z = [], o.body = D(!0), $e = c, z = h, ae || o.body.body.length && Ae(o.body.body[0])) {
633
633
  for (c = o.id ? -1 : 0; c < o.oa.length; ++c)
634
- if (h = 0 > c ? o.id : o.oa[c], (Vn(h.name) || ut(h.name)) && n(h.start, "Defining '" + h.name + "' in strict mode"), 0 <= c)
634
+ if (h = 0 > c ? o.id : o.oa[c], (_n(h.name) || ut(h.name)) && n(h.start, "Defining '" + h.name + "' in strict mode"), 0 <= c)
635
635
  for (var A = 0; A < c; ++A)
636
636
  h.name === o.oa[A].name && n(h.start, "Argument name clash in strict mode");
637
637
  }
@@ -641,7 +641,7 @@ var D, ei = function(e) {
641
641
  for (var h = [], A = !0; !W(o); ) {
642
642
  if (A)
643
643
  A = !1;
644
- else if (H(Se), l && R.sb && W(o))
644
+ else if (H(Se), l && O.sb && W(o))
645
645
  break;
646
646
  h.push(c && j === Se ? null : ee(!0));
647
647
  }
@@ -649,19 +649,19 @@ var D, ei = function(e) {
649
649
  }
650
650
  function fe(o) {
651
651
  var l = $();
652
- return o && R.yb === "everywhere" && (o = !1), j === Pe ? (!o && (R.yb && Ur(ce) || se && Vn(ce)) && x.slice(X, Oe).indexOf("\\") === -1 && n(X, "The keyword '" + ce + "' is reserved"), l.name = ce) : o && j.l ? l.name = j.l : C(), Le = !1, y(), E(l, "Identifier");
652
+ return o && O.yb === "everywhere" && (o = !1), j === Pe ? (!o && (O.yb && Fr(ce) || ae && _n(ce)) && x.slice(X, Oe).indexOf("\\") === -1 && n(X, "The keyword '" + ce + "' is reserved"), l.name = ce) : o && j.l ? l.name = j.l : k(), Ve = !1, b(), E(l, "Identifier");
653
653
  }
654
654
  e.version = "0.5.0";
655
- var R, x = "", Re, It;
655
+ var O, x = "", Re, It;
656
656
  e.parse = function(o, l) {
657
- x = String(o), Re = x.length, R = l || {};
658
- for (var c in pn)
659
- Object.prototype.hasOwnProperty.call(R, c) || (R[c] = pn[c]);
660
- for (It = R.sourceFile, Ee = 1, d = he = 0, Le = !0, f(), c = R.dc, At = be = d, R.C && (Rt = new a()), $e = se = !1, z = [], v(), o = c || $(), l = !0, c || (o.body = []); j !== Ot; )
657
+ x = String(o), Re = x.length, O = l || {};
658
+ for (var c in fn)
659
+ Object.prototype.hasOwnProperty.call(O, c) || (O[c] = fn[c]);
660
+ for (It = O.sourceFile, Ee = 1, d = he = 0, Ve = !0, f(), c = O.dc, At = xe = d, O.C && (Rt = new a()), $e = ae = !1, z = [], v(), o = c || $(), l = !0, c || (o.body = []); j !== Ot; )
661
661
  c = T(), o.body.push(c), l && Ae(c) && K(!0), l = !1;
662
662
  return E(o, "Program");
663
663
  };
664
- var pn = {
664
+ var fn = {
665
665
  fc: !1,
666
666
  sb: !0,
667
667
  yb: !1,
@@ -672,9 +672,9 @@ var D, ei = function(e) {
672
672
  dc: null,
673
673
  sourceFile: null,
674
674
  vb: null
675
- }, d = 0, X = 0, Oe = 0, Tt, jt, j, ce, Le, Ee, he, At = 0, be = 0, Rt, $e, z, se, Ir = [], He = {
675
+ }, d = 0, X = 0, Oe = 0, Tt, jt, j, ce, Ve, Ee, he, At = 0, xe = 0, Rt, $e, z, ae, Er = [], He = {
676
676
  type: "num"
677
- }, mn = {
677
+ }, hn = {
678
678
  type: "regexp"
679
679
  }, lt = {
680
680
  type: "string"
@@ -687,95 +687,95 @@ var D, ei = function(e) {
687
687
  }, Nt = {
688
688
  l: "case",
689
689
  m: !0
690
- }, gn = {
690
+ }, pn = {
691
691
  l: "catch"
692
- }, vn = {
692
+ }, mn = {
693
693
  l: "continue"
694
- }, yn = {
694
+ }, gn = {
695
695
  l: "debugger"
696
- }, xn = {
696
+ }, vn = {
697
697
  l: "default"
698
- }, bn = {
698
+ }, yn = {
699
699
  l: "do",
700
700
  W: !0
701
- }, Sn = {
701
+ }, bn = {
702
702
  l: "else",
703
703
  m: !0
704
- }, wn = {
704
+ }, xn = {
705
705
  l: "finally"
706
- }, kn = {
706
+ }, Sn = {
707
707
  l: "for",
708
708
  W: !0
709
709
  }, Mt = {
710
710
  l: "function"
711
- }, Cn = {
711
+ }, wn = {
712
712
  l: "if"
713
- }, En = {
713
+ }, kn = {
714
714
  l: "return",
715
715
  m: !0
716
716
  }, Bt = {
717
717
  l: "switch"
718
- }, In = {
718
+ }, Cn = {
719
719
  l: "throw",
720
720
  m: !0
721
- }, Tn = {
721
+ }, En = {
722
722
  l: "try"
723
723
  }, Ft = {
724
724
  l: "var"
725
725
  }, Ut = {
726
726
  l: "while",
727
727
  W: !0
728
- }, jn = {
728
+ }, In = {
729
729
  l: "with"
730
- }, An = {
730
+ }, Tn = {
731
731
  l: "new",
732
732
  m: !0
733
- }, Rn = {
733
+ }, jn = {
734
734
  l: "this"
735
- }, On = {
735
+ }, An = {
736
736
  l: "null",
737
737
  $a: null
738
- }, Pn = {
738
+ }, Rn = {
739
739
  l: "true",
740
740
  $a: !0
741
- }, Nn = {
741
+ }, On = {
742
742
  l: "false",
743
743
  $a: !1
744
744
  }, ct = {
745
745
  l: "in",
746
746
  L: 7,
747
747
  m: !0
748
- }, Tr = {
748
+ }, Ir = {
749
749
  break: Pt,
750
750
  case: Nt,
751
- catch: gn,
752
- continue: vn,
753
- debugger: yn,
754
- default: xn,
755
- do: bn,
756
- else: Sn,
757
- finally: wn,
758
- for: kn,
751
+ catch: pn,
752
+ continue: mn,
753
+ debugger: gn,
754
+ default: vn,
755
+ do: yn,
756
+ else: bn,
757
+ finally: xn,
758
+ for: Sn,
759
759
  function: Mt,
760
- if: Cn,
761
- return: En,
760
+ if: wn,
761
+ return: kn,
762
762
  switch: Bt,
763
- throw: In,
764
- try: Tn,
763
+ throw: Cn,
764
+ try: En,
765
765
  var: Ft,
766
766
  while: Ut,
767
- with: jn,
768
- null: On,
769
- true: Pn,
770
- false: Nn,
771
- new: An,
767
+ with: In,
768
+ null: An,
769
+ true: Rn,
770
+ false: On,
771
+ new: Tn,
772
772
  in: ct,
773
773
  instanceof: {
774
774
  l: "instanceof",
775
775
  L: 7,
776
776
  m: !0
777
777
  },
778
- this: Rn,
778
+ this: jn,
779
779
  typeof: {
780
780
  l: "typeof",
781
781
  prefix: !0,
@@ -791,10 +791,10 @@ var D, ei = function(e) {
791
791
  prefix: !0,
792
792
  m: !0
793
793
  }
794
- }, _t = {
794
+ }, Dt = {
795
795
  type: "[",
796
796
  m: !0
797
- }, Dt = {
797
+ }, _t = {
798
798
  type: "]"
799
799
  }, Ke = {
800
800
  type: "{",
@@ -815,67 +815,67 @@ var D, ei = function(e) {
815
815
  }, Ge = {
816
816
  type: ":",
817
817
  m: !0
818
- }, Mn = {
818
+ }, Pn = {
819
819
  type: "."
820
- }, Bn = {
820
+ }, Nn = {
821
821
  type: "?",
822
822
  m: !0
823
- }, Fn = {
823
+ }, Mn = {
824
824
  L: 10,
825
825
  m: !0
826
- }, Un = {
826
+ }, Bn = {
827
827
  Cb: !0,
828
828
  m: !0
829
829
  }, Ie = {
830
830
  Cb: !0,
831
831
  m: !0
832
- }, jr = {
832
+ }, Tr = {
833
833
  cc: !0,
834
834
  prefix: !0,
835
835
  $b: !0
836
- }, _n = {
836
+ }, Fn = {
837
837
  prefix: !0,
838
838
  m: !0
839
- }, Dn = {
839
+ }, Un = {
840
840
  L: 1,
841
841
  m: !0
842
- }, Wn = {
842
+ }, Dn = {
843
843
  L: 2,
844
844
  m: !0
845
- }, Ar = {
845
+ }, jr = {
846
846
  L: 3,
847
847
  m: !0
848
- }, Rr = {
848
+ }, Ar = {
849
849
  L: 4,
850
850
  m: !0
851
- }, Or = {
851
+ }, Rr = {
852
852
  L: 5,
853
853
  m: !0
854
- }, Pr = {
854
+ }, Or = {
855
855
  L: 6,
856
856
  m: !0
857
- }, Nr = {
857
+ }, Pr = {
858
858
  L: 7,
859
859
  m: !0
860
- }, Mr = {
860
+ }, Nr = {
861
861
  L: 8,
862
862
  m: !0
863
- }, Br = {
863
+ }, Mr = {
864
864
  L: 9,
865
865
  prefix: !0,
866
866
  m: !0
867
- }, Fr = {
867
+ }, Br = {
868
868
  L: 10,
869
869
  m: !0
870
- }, Ur = i("class enum extends super const export import"), Vn = i("implements interface let package private protected public static yield"), ut = 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"), Dr = /[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/, Ln = RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ]"), Wr = RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ̀-ͯ҃-֑҇-ׇֽֿׁׂׅׄؐ-ؚؠ-ىٲ-ۓۧ-ۨۻ-ۼܰ-݊ࠀ-ࠔࠛ-ࠣࠥ-ࠧࠩ-࠭ࡀ-ࡗࣤ-ࣾऀ-ःऺ-़ा-ॏ॑-ॗॢ-ॣ०-९ঁ-ঃ়া-ৄেৈৗয়-ৠਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢ-ૣ૦-૯ଁ-ଃ଼ା-ୄେୈୋ-୍ୖୗୟ-ୠ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఁ-ఃె-ైొ-్ౕౖౢ-ౣ౦-౯ಂಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢ-ೣ೦-೯ംഃെ-ൈൗൢ-ൣ൦-൯ංඃ්ා-ුූෘ-ෟෲෳิ-ฺเ-ๅ๐-๙ິ-ູ່-ໍ໐-໙༘༙༠-༩༹༵༷ཁ-ཇཱ-྄྆-྇ྍ-ྗྙ-ྼ࿆က-ဩ၀-၉ၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟ᜎ-ᜐᜠ-ᜰᝀ-ᝐᝲᝳក-ឲ៝០-៩᠋-᠍᠐-᠙ᤠ-ᤫᤰ-᤻ᥑ-ᥭᦰ-ᧀᧈ-ᧉ᧐-᧙ᨀ-ᨕᨠ-ᩓ᩠-᩿᩼-᪉᪐-᪙ᭆ-ᭋ᭐-᭙᭫-᭳᮰-᮹᯦-᯳ᰀ-ᰢ᱀-᱉ᱛ-ᱽ᳐-᳒ᴀ-ᶾḁ-ἕ‌‍‿⁀⁔⃐-⃥⃜⃡-⃰ⶁ-ⶖⷠ-ⷿ〡-〨゙゚Ꙁ-ꙭꙴ-꙽ꚟ꛰-꛱ꟸ-ꠀ꠆ꠋꠣ-ꠧꢀ-ꢁꢴ-꣄꣐-꣙ꣳ-ꣷ꤀-꤉ꤦ-꤭ꤰ-ꥅꦀ-ꦃ꦳-꧀ꨀ-ꨧꩀ-ꩁꩌ-ꩍ꩐-꩙ꩻꫠ-ꫩꫲ-ꫳꯀ-ꯡ꯬꯭꯰-꯹ﬠ-ﬨ︀-️︠-︦︳︴﹍-﹏0-9_]"), dt = /[\n\r\u2028\u2029]/, ft = /\r\n|[\n\r\u2028\u2029]/g, Me, Wt = {
870
+ }, Fr = i("class enum extends super const export import"), _n = i("implements interface let package private protected public static yield"), ut = i("eval arguments"), Ur = 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"), Dr = /[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/, Wn = RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ]"), _r = RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ̀-ͯ҃-֑҇-ׇֽֿׁׂׅׄؐ-ؚؠ-ىٲ-ۓۧ-ۨۻ-ۼܰ-݊ࠀ-ࠔࠛ-ࠣࠥ-ࠧࠩ-࠭ࡀ-ࡗࣤ-ࣾऀ-ःऺ-़ा-ॏ॑-ॗॢ-ॣ०-९ঁ-ঃ়া-ৄেৈৗয়-ৠਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢ-ૣ૦-૯ଁ-ଃ଼ା-ୄେୈୋ-୍ୖୗୟ-ୠ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఁ-ఃె-ైొ-్ౕౖౢ-ౣ౦-౯ಂಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢ-ೣ೦-೯ംഃെ-ൈൗൢ-ൣ൦-൯ංඃ්ා-ුූෘ-ෟෲෳิ-ฺเ-ๅ๐-๙ິ-ູ່-ໍ໐-໙༘༙༠-༩༹༵༷ཁ-ཇཱ-྄྆-྇ྍ-ྗྙ-ྼ࿆က-ဩ၀-၉ၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟ᜎ-ᜐᜠ-ᜰᝀ-ᝐᝲᝳក-ឲ៝០-៩᠋-᠍᠐-᠙ᤠ-ᤫᤰ-᤻ᥑ-ᥭᦰ-ᧀᧈ-ᧉ᧐-᧙ᨀ-ᨕᨠ-ᩓ᩠-᩿᩼-᪉᪐-᪙ᭆ-ᭋ᭐-᭙᭫-᭳᮰-᮹᯦-᯳ᰀ-ᰢ᱀-᱉ᱛ-ᱽ᳐-᳒ᴀ-ᶾḁ-ἕ‌‍‿⁀⁔⃐-⃥⃜⃡-⃰ⶁ-ⶖⷠ-ⷿ〡-〨゙゚Ꙁ-ꙭꙴ-꙽ꚟ꛰-꛱ꟸ-ꠀ꠆ꠋꠣ-ꠧꢀ-ꢁꢴ-꣄꣐-꣙ꣳ-ꣷ꤀-꤉ꤦ-꤭ꤰ-ꥅꦀ-ꦃ꦳-꧀ꨀ-ꨧꩀ-ꩁꩌ-ꩍ꩐-꩙ꩻꫠ-ꫩꫲ-ꫳꯀ-ꯡ꯬꯭꯰-꯹ﬠ-ﬨ︀-️︠-︦︳︴﹍-﹏0-9_]"), dt = /[\n\r\u2028\u2029]/, ft = /\r\n|[\n\r\u2028\u2029]/g, Me, Wt = {
871
871
  kind: "loop"
872
- }, Vr = {
872
+ }, Wr = {
873
873
  kind: "switch"
874
874
  };
875
- }, zt = zt = typeof globalThis == "undefined" ? void 0 : globalThis;
876
- ei(zt.j || (zt.j = {}));
877
- function m(e, t) {
878
- typeof e == "string" && (e = _e(e, "code"));
875
+ }, Gt = Gt = typeof globalThis == "undefined" ? void 0 : globalThis;
876
+ Qr(Gt.j || (Gt.j = {}));
877
+ function g(e, t) {
878
+ typeof e == "string" && (e = De(e, "code"));
879
879
  var r = e.constructor;
880
880
  this.ya = function() {
881
881
  return new r({
@@ -889,13 +889,13 @@ function m(e, t) {
889
889
  var a, s;
890
890
  for (s in this)
891
891
  typeof this[s] == "function" && (a = s.match(e)) && (this.rb[a[1]] = this[s].bind(this));
892
- this.N = Yt(this, this.ra, null), this.Na = this.N.object, this.ra = _e(this.ba.join(`
893
- `), "polyfills"), this.ba = void 0, vt(this.ra), a = new w(this.ra, this.N), a.done = !1, this.o = [a], this.Eb(), this.value = void 0, this.ra = n, a = new w(this.ra, this.N), a.done = !1, this.o.length = 0, this.o[0] = a;
892
+ this.N = Xt(this, this.ra, null), this.Na = this.N.object, this.ra = De(this.ba.join(`
893
+ `), "polyfills"), this.ba = void 0, gt(this.ra), a = new w(this.ra, this.N), a.done = !1, this.o = [a], this.Eb(), this.value = void 0, this.ra = n, a = new w(this.ra, this.N), a.done = !1, this.o.length = 0, this.o[0] = a;
894
894
  }
895
- var zn = {
895
+ var Kn = {
896
896
  C: !0,
897
897
  kc: 5
898
- }, tn = {
898
+ }, Qt = {
899
899
  configurable: !0,
900
900
  enumerable: !0,
901
901
  writable: !1
@@ -903,7 +903,7 @@ var zn = {
903
903
  configurable: !0,
904
904
  enumerable: !1,
905
905
  writable: !0
906
- }, ae = {
906
+ }, oe = {
907
907
  configurable: !0,
908
908
  enumerable: !1,
909
909
  writable: !1
@@ -911,11 +911,11 @@ var zn = {
911
911
  configurable: !1,
912
912
  enumerable: !1,
913
913
  writable: !1
914
- }, Xn = {
914
+ }, Gn = {
915
915
  configurable: !1,
916
916
  enumerable: !0,
917
917
  writable: !0
918
- }, pr = {
918
+ }, dr = {
919
919
  STEP_ERROR: !0
920
920
  }, We = {
921
921
  SCOPE_REFERENCE: !0
@@ -923,8 +923,8 @@ var zn = {
923
923
  VALUE_IN_DESCRIPTOR: !0
924
924
  }, Fe = {
925
925
  REGEXP_TIMEOUT: !0
926
- }, Yn = [], ve = null, Ze = null, we = typeof globalThis == "undefined" ? void 0 : globalThis, ti = ["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();", "};"];
927
- function nn(e) {
926
+ }, zn = [], ve = null, Ze = null, we = typeof globalThis == "undefined" ? void 0 : globalThis, ei = ["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();", "};"];
927
+ function en(e) {
928
928
  var t = e >>> 0;
929
929
  return t === Number(e) ? t : NaN;
930
930
  }
@@ -932,37 +932,37 @@ function Qe(e) {
932
932
  var t = e >>> 0;
933
933
  return String(t) === String(e) && t !== 4294967295 ? t : NaN;
934
934
  }
935
- function vt(e, t, r) {
935
+ function gt(e, t, r) {
936
936
  t ? e.start = t : delete e.start, r ? e.end = r : delete e.end;
937
937
  for (var n in e)
938
938
  if (n !== "loc" && e.hasOwnProperty(n)) {
939
939
  var i = e[n];
940
- i && typeof i == "object" && vt(i, t, r);
940
+ i && typeof i == "object" && gt(i, t, r);
941
941
  }
942
942
  }
943
- m.prototype.REGEXP_MODE = 2;
944
- m.prototype.REGEXP_THREAD_TIMEOUT = 1e3;
945
- m.prototype.POLYFILL_TIMEOUT = 1e3;
946
- D = m.prototype;
947
- D.P = !1;
948
- D.Ka = !1;
949
- D.Kb = 0;
950
- D.ic = 0;
951
- function _e(e, t) {
943
+ g.prototype.REGEXP_MODE = 2;
944
+ g.prototype.REGEXP_THREAD_TIMEOUT = 1e3;
945
+ g.prototype.POLYFILL_TIMEOUT = 1e3;
946
+ _ = g.prototype;
947
+ _.P = !1;
948
+ _.Ka = !1;
949
+ _.Kb = 0;
950
+ _.ic = 0;
951
+ function De(e, t) {
952
952
  var r = {}, n;
953
- for (n in zn)
954
- r[n] = zn[n];
953
+ for (n in Kn)
954
+ r[n] = Kn[n];
955
955
  return r.sourceFile = t, we.j.parse(e, r);
956
956
  }
957
- D.Jb = function(e) {
957
+ _.Jb = function(e) {
958
958
  var t = this.o[0];
959
959
  if (!t || t.node.type !== "Program")
960
960
  throw Error("Expecting original AST to start with a Program node");
961
- if (typeof e == "string" && (e = _e(e, "appendCode" + this.Kb++)), !e || e.type !== "Program")
961
+ if (typeof e == "string" && (e = De(e, "appendCode" + this.Kb++)), !e || e.type !== "Program")
962
962
  throw Error("Expecting new AST to start with a Program node");
963
963
  tt(this, e, t.scope), Array.prototype.push.apply(t.node.body, e.body), t.node.body.jb = null, t.done = !1;
964
964
  };
965
- D.lb = function() {
965
+ _.lb = function() {
966
966
  var e = this.o, t;
967
967
  do {
968
968
  var r = e[e.length - 1];
@@ -974,7 +974,7 @@ D.lb = function() {
974
974
  if (r = this.ca[0], !r || r.time > Date.now())
975
975
  r = null;
976
976
  else {
977
- this.ca.shift(), 0 <= r.interval && vr(this, r, r.interval);
977
+ this.ca.shift(), 0 <= r.interval && pr(this, r, r.interval);
978
978
  var n = new w(r.node, r.scope);
979
979
  r.zb && (n.ia = 2, n.B = this.Na, n.U = r.zb, n.Qa = !0, n.F = r.Lb), r = n;
980
980
  }
@@ -987,7 +987,7 @@ D.lb = function() {
987
987
  try {
988
988
  var a = this.rb[n.type](e, r, n);
989
989
  } catch (s) {
990
- if (s !== pr)
990
+ if (s !== dr)
991
991
  throw this.value !== s && (this.value = void 0), s;
992
992
  } finally {
993
993
  Ze = i;
@@ -1000,13 +1000,13 @@ D.lb = function() {
1000
1000
  } while (!n.end && t > Date.now());
1001
1001
  return !0;
1002
1002
  };
1003
- D.Eb = function() {
1003
+ _.Eb = function() {
1004
1004
  for (; !this.za && this.lb(); )
1005
1005
  ;
1006
1006
  return this.za;
1007
1007
  };
1008
- function ni(e, t) {
1009
- e.g(t, "NaN", NaN, ze), e.g(t, "Infinity", 1 / 0, ze), e.g(t, "undefined", void 0, ze), e.g(t, "window", t, tn), e.g(t, "this", t, ze), e.g(t, "self", t), e.M = new B(null), e.Z = new B(e.M), ri(e, t), ii(e, t), t.xa = e.M, e.g(t, "constructor", e.v, S), oi(e, t), ai(e, t), si(e, t), li(e, t), ci(e, t), ui(e, t), di(e, t), fi(e, t), hi(e, t);
1008
+ function ti(e, t) {
1009
+ e.g(t, "NaN", NaN, ze), e.g(t, "Infinity", 1 / 0, ze), e.g(t, "undefined", void 0, ze), e.g(t, "window", t, Qt), e.g(t, "this", t, ze), e.g(t, "self", t), e.M = new F(null), e.Z = new F(e.M), ni(e, t), ri(e, t), t.xa = e.M, e.g(t, "constructor", e.v, S), ii(e, t), oi(e, t), ai(e, t), si(e, t), li(e, t), ci(e, t), ui(e, t), di(e, t), fi(e, t);
1010
1010
  var r = e.i(function() {
1011
1011
  throw EvalError("Can't happen");
1012
1012
  }, !1);
@@ -1017,43 +1017,43 @@ function ni(e, t) {
1017
1017
  try {
1018
1018
  return a(s);
1019
1019
  } catch (u) {
1020
- k(e, e.Gb, u.message);
1020
+ C(e, e.Gb, u.message);
1021
1021
  }
1022
1022
  };
1023
1023
  }(n[i][0]), e.g(t, n[i][1], e.i(r, !1), S);
1024
1024
  r = function(a) {
1025
- return Jn(e, !1, arguments);
1025
+ return Xn(e, !1, arguments);
1026
1026
  }, e.g(t, "setTimeout", e.i(r, !1), S), r = function(a) {
1027
- return Jn(e, !0, arguments);
1027
+ return Xn(e, !0, arguments);
1028
1028
  }, e.g(t, "setInterval", e.i(r, !1), S), r = function(a) {
1029
- qn(e, a);
1029
+ Yn(e, a);
1030
1030
  }, e.g(t, "clearTimeout", e.i(r, !1), S), r = function(a) {
1031
- qn(e, a);
1031
+ Yn(e, a);
1032
1032
  }, e.g(t, "clearInterval", e.i(r, !1), S), 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);
1033
1033
  }
1034
- D.Wb = 0;
1035
- function ri(e, t) {
1034
+ _.Wb = 0;
1035
+ function ni(e, t) {
1036
1036
  var r = /^[A-Za-z_$][\w$]*$/, n = function(i) {
1037
1037
  var a = arguments.length ? String(arguments[arguments.length - 1]) : "", s = Array.prototype.slice.call(arguments, 0, -1).join(",").trim();
1038
1038
  if (s) {
1039
1039
  s = s.split(/\s*,\s*/);
1040
1040
  for (var u = 0; u < s.length; u++) {
1041
1041
  var f = s[u];
1042
- r.test(f) || k(e, e.T, "Invalid function argument: " + f);
1042
+ r.test(f) || C(e, e.T, "Invalid function argument: " + f);
1043
1043
  }
1044
1044
  s = s.join(", ");
1045
1045
  }
1046
1046
  try {
1047
- var g = _e("(function(" + s + ") {" + a + "})", "function" + e.Wb++);
1047
+ var m = De("(function(" + s + ") {" + a + "})", "function" + e.Wb++);
1048
1048
  } catch (v) {
1049
- k(e, e.T, "Invalid code: " + v.message);
1049
+ C(e, e.T, "Invalid code: " + v.message);
1050
1050
  }
1051
- return g.body.length !== 1 && k(e, e.T, "Invalid code in function body"), an(e, g.body[0].la, e.N, "anonymous");
1051
+ return m.body.length !== 1 && C(e, e.T, "Invalid code in function body"), rn(e, m.body[0].la, e.N, "anonymous");
1052
1052
  };
1053
1053
  e.O = e.i(n, !0), e.g(t, "Function", e.O, S), e.g(e.O, "prototype", e.Z, S), e.g(e.Z, "constructor", e.O, S), e.Z.Ta = function() {
1054
- }, e.Z.Ta.id = e.Ya++, e.Z.Ab = !0, e.g(e.Z, "length", 0, ae), e.Z.H = "Function", n = function(i, a) {
1054
+ }, e.Z.Ta.id = e.Ya++, e.Z.Ab = !0, e.g(e.Z, "length", 0, oe), e.Z.H = "Function", n = function(i, a) {
1055
1055
  var s = e.o[e.o.length - 1];
1056
- s.U = this, s.B = i, s.F = [], a != null && (a instanceof B ? s.F = mr(e, a) : k(e, e.j, "CreateListFromArrayLike called on non-object")), s.eb = !1;
1056
+ s.U = this, s.B = i, s.F = [], a != null && (a instanceof F ? s.F = fr(e, a) : C(e, e.j, "CreateListFromArrayLike called on non-object")), s.eb = !1;
1057
1057
  }, q(e, e.O, "apply", n), n = function(i) {
1058
1058
  var a = e.o[e.o.length - 1];
1059
1059
  a.U = this, a.B = i, a.F = [];
@@ -1066,29 +1066,29 @@ function ri(e, t) {
1066
1066
  return this.valueOf();
1067
1067
  }, q(e, e.O, "valueOf", n), e.g(e.O, "valueOf", e.i(n, !1), S);
1068
1068
  }
1069
- function ii(e, t) {
1069
+ function ri(e, t) {
1070
1070
  function r(i) {
1071
- i != null || k(e, e.j, "Cannot convert '" + i + "' to object");
1071
+ i != null || C(e, e.j, "Cannot convert '" + i + "' to object");
1072
1072
  }
1073
1073
  var n = function(i) {
1074
1074
  if (i == null)
1075
- return xe(e) ? this : e.s(e.M);
1076
- if (!(i instanceof B)) {
1075
+ return be(e) ? this : e.s(e.M);
1076
+ if (!(i instanceof F)) {
1077
1077
  var a = e.s(ye(e, i));
1078
1078
  return a.data = i, a;
1079
1079
  }
1080
1080
  return i;
1081
1081
  };
1082
1082
  e.v = e.i(n, !0), e.g(e.v, "prototype", e.M, S), e.g(e.M, "constructor", e.v, S), e.g(t, "Object", e.v, S), n = function(i) {
1083
- return r(i), ge(e, Object.getOwnPropertyNames(i instanceof B ? i.h : i));
1083
+ return r(i), ge(e, Object.getOwnPropertyNames(i instanceof F ? i.h : i));
1084
1084
  }, e.g(e.v, "getOwnPropertyNames", e.i(n, !1), S), n = function(i) {
1085
- return r(i), i instanceof B && (i = i.h), ge(e, Object.keys(i));
1085
+ return r(i), i instanceof F && (i = i.h), ge(e, Object.keys(i));
1086
1086
  }, e.g(e.v, "keys", e.i(n, !1), S), n = function(i) {
1087
- return i === null ? e.s(null) : (i instanceof B || k(e, e.j, "Object prototype may only be an Object or null, not " + i), e.s(i));
1087
+ return i === null ? e.s(null) : (i instanceof F || C(e, e.j, "Object prototype may only be an Object or null, not " + i), e.s(i));
1088
1088
  }, e.g(e.v, "create", e.i(n, !1), S), e.ba.push("(function() {", "var create_ = Object.create;", "Object.create = function create(proto, props) {", "var obj = create_(proto);", "props && Object.defineProperties(obj, props);", "return obj;", "};", "})();", ""), n = function(i, a, s) {
1089
- return a = String(a), i instanceof B || k(e, e.j, "Object.defineProperty called on non-object: " + i), s instanceof B || k(e, e.j, "Property description must be an object"), !i.preventExtensions || a in i.h || k(e, e.j, "Can't define property '" + a + "', object is not extensible"), e.g(i, a, et, s.h), i;
1089
+ return a = String(a), i instanceof F || C(e, e.j, "Object.defineProperty called on non-object: " + i), s instanceof F || C(e, e.j, "Property description must be an object"), !i.preventExtensions || a in i.h || C(e, e.j, "Can't define property '" + a + "', object is not extensible"), e.g(i, a, et, s.h), i;
1090
1090
  }, e.g(e.v, "defineProperty", e.i(n, !1), S), e.ba.push("(function() {", "var defineProperty_ = Object.defineProperty;", "Object.defineProperty = function defineProperty(obj, prop, d1) {", "var d2 = {};", "if ('configurable' in d1) d2.configurable = d1.configurable;", "if ('enumerable' in d1) d2.enumerable = d1.enumerable;", "if ('writable' in d1) d2.writable = d1.writable;", "if ('value' in d1) d2.value = d1.value;", "if ('get' in d1) d2.get = d1.get;", "if ('set' in d1) d2.set = d1.set;", "return defineProperty_(obj, prop, d2);", "};", "})();", "Object.defineProperty(Object, 'defineProperties',", "{configurable: true, writable: true, value:", "function defineProperties(obj, props) {", "var keys = Object.keys(props);", "for (var i = 0; i < keys.length; i++) {", "Object.defineProperty(obj, keys[i], props[keys[i]]);", "}", "return obj;", "}", "});", ""), n = function(i, a) {
1091
- if (i instanceof B || k(e, e.j, "Object.getOwnPropertyDescriptor called on non-object: " + i), a = String(a), a in i.h) {
1091
+ if (i instanceof F || C(e, e.j, "Object.getOwnPropertyDescriptor called on non-object: " + i), a = String(a), a in i.h) {
1092
1092
  var s = Object.getOwnPropertyDescriptor(i.h, a), u = i.V[a];
1093
1093
  return i = i.Y[a], a = e.s(e.M), u || i ? (e.g(a, "get", u), e.g(a, "set", i)) : (e.g(a, "value", s.value), e.g(a, "writable", s.writable)), e.g(a, "configurable", s.configurable), e.g(a, "enumerable", s.enumerable), a;
1094
1094
  }
@@ -1097,11 +1097,11 @@ function ii(e, t) {
1097
1097
  }, e.g(e.v, "getPrototypeOf", e.i(n, !1), S), n = function(i) {
1098
1098
  return !!i && !i.preventExtensions;
1099
1099
  }, e.g(e.v, "isExtensible", e.i(n, !1), S), n = function(i) {
1100
- return i instanceof B && (i.preventExtensions = !0), i;
1101
- }, e.g(e.v, "preventExtensions", e.i(n, !1), S), q(e, e.v, "toString", B.prototype.toString), q(e, e.v, "toLocaleString", B.prototype.toString), q(e, e.v, "valueOf", B.prototype.valueOf), n = function(i) {
1102
- return r(this), this instanceof B ? String(i) in this.h : this.hasOwnProperty(i);
1100
+ return i instanceof F && (i.preventExtensions = !0), i;
1101
+ }, e.g(e.v, "preventExtensions", e.i(n, !1), S), q(e, e.v, "toString", F.prototype.toString), q(e, e.v, "toLocaleString", F.prototype.toString), q(e, e.v, "valueOf", F.prototype.valueOf), n = function(i) {
1102
+ return r(this), this instanceof F ? String(i) in this.h : this.hasOwnProperty(i);
1103
1103
  }, q(e, e.v, "hasOwnProperty", n), n = function(i) {
1104
- return r(this), this instanceof B ? Object.prototype.propertyIsEnumerable.call(this.h, i) : this.propertyIsEnumerable(i);
1104
+ return r(this), this instanceof F ? Object.prototype.propertyIsEnumerable.call(this.h, i) : this.propertyIsEnumerable(i);
1105
1105
  }, q(e, e.v, "propertyIsEnumerable", n), n = function(i) {
1106
1106
  for (; ; ) {
1107
1107
  if (i = ye(e, i), !i)
@@ -1111,11 +1111,11 @@ function ii(e, t) {
1111
1111
  }
1112
1112
  }, q(e, e.v, "isPrototypeOf", n);
1113
1113
  }
1114
- function oi(e, t) {
1114
+ function ii(e, t) {
1115
1115
  var r = function(n) {
1116
- var i = xe(e) ? this : De(e), a = arguments[0];
1116
+ var i = be(e) ? this : _e(e), a = arguments[0];
1117
1117
  if (arguments.length === 1 && typeof a == "number")
1118
- isNaN(nn(a)) && k(e, e.ob, "Invalid array length: " + a), i.h.length = a;
1118
+ isNaN(en(a)) && C(e, e.ob, "Invalid array length: " + a), i.h.length = a;
1119
1119
  else {
1120
1120
  for (a = 0; a < arguments.length; a++)
1121
1121
  i.h[a] = arguments[a];
@@ -1131,9 +1131,9 @@ function oi(e, t) {
1131
1131
  writable: !0
1132
1132
  }), 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(',');", "}", ");", "})();", "");
1133
1133
  }
1134
- function ai(e, t) {
1134
+ function oi(e, t) {
1135
1135
  var r = function(n) {
1136
- return n = arguments.length ? we.String(n) : "", xe(e) ? (this.data = n, this) : n;
1136
+ return n = arguments.length ? we.String(n) : "", be(e) ? (this.data = n, this) : n;
1137
1137
  };
1138
1138
  for (e.J = e.i(r, !0), e.g(t, "String", e.J, S), e.g(e.J, "fromCharCode", e.i(String.fromCharCode, !1), S), t = "charAt charCodeAt concat indexOf lastIndexOf slice substr substring toLocaleLowerCase toLocaleUpperCase toLowerCase toUpperCase trim".split(" "), r = 0; r < t.length; r++)
1139
1139
  q(e, e.J, t[r], String.prototype[t[r]]);
@@ -1142,7 +1142,7 @@ function ai(e, t) {
1142
1142
  try {
1143
1143
  return String(this).localeCompare(n, i, a);
1144
1144
  } catch (s) {
1145
- k(e, e.D, "localeCompare: " + s.message);
1145
+ C(e, e.D, "localeCompare: " + s.message);
1146
1146
  }
1147
1147
  }, q(e, e.J, "localeCompare", r), r = function(n, i, a) {
1148
1148
  var s = String(this);
@@ -1155,8 +1155,8 @@ function ai(e, t) {
1155
1155
  }, n, a), n !== Fe && a(ge(e, n));
1156
1156
  else {
1157
1157
  var u = e.ha(), f = Je(e, n, u, a);
1158
- u.onmessage = function(g) {
1159
- clearTimeout(f), a(ge(e, g.data));
1158
+ u.onmessage = function(m) {
1159
+ clearTimeout(f), a(ge(e, m.data));
1160
1160
  }, u.postMessage(["split", s, n, i]);
1161
1161
  }
1162
1162
  return;
@@ -1205,8 +1205,8 @@ function ai(e, t) {
1205
1205
  }, n, a), n !== Fe && a(n);
1206
1206
  else {
1207
1207
  var u = e.ha(), f = Je(e, n, u, a);
1208
- u.onmessage = function(g) {
1209
- clearTimeout(f), a(g.data);
1208
+ u.onmessage = function(m) {
1209
+ clearTimeout(f), a(m.data);
1210
1210
  }, u.postMessage(["replace", s, n, i]);
1211
1211
  }
1212
1212
  return;
@@ -1214,14 +1214,14 @@ function ai(e, t) {
1214
1214
  a(s.replace(n, i));
1215
1215
  }, qe(e, e.J, "replace", r), 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;", "};", "})();", "");
1216
1216
  }
1217
- function si(e, t) {
1217
+ function ai(e, t) {
1218
1218
  e.mb = e.i(function(r) {
1219
- return r = we.Boolean(r), xe(e) ? (this.data = r, this) : r;
1219
+ return r = we.Boolean(r), be(e) ? (this.data = r, this) : r;
1220
1220
  }, !0), e.g(t, "Boolean", e.mb, S);
1221
1221
  }
1222
- function li(e, t) {
1222
+ function si(e, t) {
1223
1223
  var r = function(n) {
1224
- return n = arguments.length ? we.Number(n) : 0, xe(e) ? (this.data = n, this) : n;
1224
+ return n = arguments.length ? we.Number(n) : 0, be(e) ? (this.data = n, this) : n;
1225
1225
  };
1226
1226
  for (e.aa = e.i(r, !0), e.g(t, "Number", e.aa, S), t = ["MAX_VALUE", "MIN_VALUE", "NaN", "NEGATIVE_INFINITY", "POSITIVE_INFINITY"], r = 0; r < t.length; r++)
1227
1227
  e.g(e.aa, t[r], Number[t[r]], ze);
@@ -1229,38 +1229,38 @@ function li(e, t) {
1229
1229
  try {
1230
1230
  return Number(this).toExponential(n);
1231
1231
  } catch (i) {
1232
- k(e, e.D, i.message);
1232
+ C(e, e.D, i.message);
1233
1233
  }
1234
1234
  }, q(e, e.aa, "toExponential", r), r = function(n) {
1235
1235
  try {
1236
1236
  return Number(this).toFixed(n);
1237
1237
  } catch (i) {
1238
- k(e, e.D, i.message);
1238
+ C(e, e.D, i.message);
1239
1239
  }
1240
1240
  }, q(e, e.aa, "toFixed", r), r = function(n) {
1241
1241
  try {
1242
1242
  return Number(this).toPrecision(n);
1243
1243
  } catch (i) {
1244
- k(e, e.D, i.message);
1244
+ C(e, e.D, i.message);
1245
1245
  }
1246
1246
  }, q(e, e.aa, "toPrecision", r), r = function(n) {
1247
1247
  try {
1248
1248
  return Number(this).toString(n);
1249
1249
  } catch (i) {
1250
- k(e, e.D, i.message);
1250
+ C(e, e.D, i.message);
1251
1251
  }
1252
1252
  }, q(e, e.aa, "toString", r), r = function(n, i) {
1253
1253
  n = n ? e.R(n) : void 0, i = i ? e.R(i) : void 0;
1254
1254
  try {
1255
1255
  return Number(this).toLocaleString(n, i);
1256
1256
  } catch (a) {
1257
- k(e, e.D, "toLocaleString: " + a.message);
1257
+ C(e, e.D, "toLocaleString: " + a.message);
1258
1258
  }
1259
1259
  }, q(e, e.aa, "toLocaleString", r);
1260
1260
  }
1261
- function ci(e, t) {
1261
+ function li(e, t) {
1262
1262
  var r = function(i, a) {
1263
- if (!xe(e))
1263
+ if (!be(e))
1264
1264
  return we.Date();
1265
1265
  var s = [null].concat(Array.from(arguments));
1266
1266
  return this.data = new (Function.prototype.bind.apply(we.Date, s))(), this;
@@ -1270,35 +1270,35 @@ function ci(e, t) {
1270
1270
  r = function(i) {
1271
1271
  return function(a) {
1272
1272
  var s = this.data;
1273
- s instanceof Date || k(e, e.j, i + " not called on a Date");
1273
+ s instanceof Date || C(e, e.j, i + " not called on a Date");
1274
1274
  for (var u = [], f = 0; f < arguments.length; f++)
1275
1275
  u[f] = e.R(arguments[f]);
1276
1276
  return s[i].apply(s, u);
1277
1277
  };
1278
1278
  }(t[n]), q(e, e.$, t[n], r);
1279
1279
  }
1280
- function ui(e, t) {
1280
+ function ci(e, t) {
1281
1281
  var r = function(n, i) {
1282
- if (xe(e))
1282
+ if (be(e))
1283
1283
  var a = this;
1284
1284
  else {
1285
1285
  if (i === void 0 && Q(e, n, e.I))
1286
1286
  return n;
1287
1287
  a = e.s(e.Ma);
1288
1288
  }
1289
- n = n === void 0 ? "" : String(n), i = i ? String(i) : "", /^[gmi]*$/.test(i) || k(e, e.T, "Invalid regexp flag: " + i);
1289
+ n = n === void 0 ? "" : String(n), i = i ? String(i) : "", /^[gmi]*$/.test(i) || C(e, e.T, "Invalid regexp flag: " + i);
1290
1290
  try {
1291
1291
  var s = new we.RegExp(n, i);
1292
1292
  } catch (u) {
1293
- k(e, e.T, u.message);
1293
+ C(e, e.T, u.message);
1294
1294
  }
1295
- return rn(e, a, s), a;
1295
+ return tn(e, a, s), a;
1296
1296
  };
1297
- e.I = e.i(r, !0), e.Ma = e.I.h.prototype, e.g(t, "RegExp", e.I, S), e.g(e.I.h.prototype, "global", void 0, ae), e.g(e.I.h.prototype, "ignoreCase", void 0, ae), e.g(e.I.h.prototype, "multiline", void 0, ae), e.g(e.I.h.prototype, "source", "(?:)", ae), e.ba.push("Object.defineProperty(RegExp.prototype, 'test',", "{configurable: true, writable: true, value:", "function test(str) {", "return !!this.exec(str);", "}", "});"), r = function(n, i) {
1297
+ e.I = e.i(r, !0), e.Ma = e.I.h.prototype, e.g(t, "RegExp", e.I, S), e.g(e.I.h.prototype, "global", void 0, oe), e.g(e.I.h.prototype, "ignoreCase", void 0, oe), e.g(e.I.h.prototype, "multiline", void 0, oe), e.g(e.I.h.prototype, "source", "(?:)", oe), e.ba.push("Object.defineProperty(RegExp.prototype, 'test',", "{configurable: true, writable: true, value:", "function test(str) {", "return !!this.exec(str);", "}", "});"), r = function(n, i) {
1298
1298
  function a(v) {
1299
1299
  if (v) {
1300
- var b = ge(e, v);
1301
- return e.g(b, "index", v.index), e.g(b, "input", v.input), b;
1300
+ var y = ge(e, v);
1301
+ return e.g(y, "index", v.index), e.g(y, "input", v.input), y;
1302
1302
  }
1303
1303
  return null;
1304
1304
  }
@@ -1310,54 +1310,54 @@ function ui(e, t) {
1310
1310
  regexp: s
1311
1311
  }, s, i), n !== Fe && (e.g(this, "lastIndex", s.lastIndex), i(a(n)));
1312
1312
  else {
1313
- var u = e.ha(), f = Je(e, s, u, i), g = this;
1313
+ var u = e.ha(), f = Je(e, s, u, i), m = this;
1314
1314
  u.onmessage = function(v) {
1315
- clearTimeout(f), e.g(g, "lastIndex", v.data[1]), i(a(v.data[0]));
1315
+ clearTimeout(f), e.g(m, "lastIndex", v.data[1]), i(a(v.data[0]));
1316
1316
  }, u.postMessage(["exec", s, s.lastIndex, n]);
1317
1317
  }
1318
1318
  else
1319
1319
  n = s.exec(n), e.g(this, "lastIndex", s.lastIndex), i(a(n));
1320
1320
  }, qe(e, e.I, "exec", r);
1321
1321
  }
1322
- function di(e, t) {
1322
+ function ui(e, t) {
1323
1323
  function r(n) {
1324
1324
  var i = e.i(function(a) {
1325
- var s = xe(e) ? this : e.Aa(i);
1326
- return Xt(e, s, a), s;
1325
+ var s = be(e) ? this : e.Aa(i);
1326
+ return zt(e, s, a), s;
1327
1327
  }, !0);
1328
1328
  return e.g(i, "prototype", e.Aa(e.D), S), e.g(i.h.prototype, "name", n, S), e.g(t, n, i, S), i;
1329
1329
  }
1330
1330
  e.D = e.i(function(n) {
1331
- var i = xe(e) ? this : e.Aa(e.D);
1332
- return Xt(e, i, n), i;
1331
+ var i = be(e) ? this : e.Aa(e.D);
1332
+ return zt(e, i, n), i;
1333
1333
  }, !0), e.g(t, "Error", e.D, S), e.g(e.D.h.prototype, "message", "", S), e.g(e.D.h.prototype, "name", "Error", S), r("EvalError"), e.ob = r("RangeError"), e.pb = r("ReferenceError"), e.T = r("SyntaxError"), e.j = r("TypeError"), e.Gb = r("URIError");
1334
1334
  }
1335
- function fi(e, t) {
1335
+ function di(e, t) {
1336
1336
  var r = e.s(e.M);
1337
1337
  e.g(t, "Math", r, S);
1338
1338
  var n = "E LN2 LN10 LOG2E LOG10E PI SQRT1_2 SQRT2".split(" ");
1339
1339
  for (t = 0; t < n.length; t++)
1340
- e.g(r, n[t], Math[n[t]], ae);
1340
+ e.g(r, n[t], Math[n[t]], oe);
1341
1341
  for (n = "abs acos asin atan atan2 ceil cos exp floor log max min pow random round sin sqrt tan".split(" "), t = 0; t < n.length; t++)
1342
1342
  e.g(r, n[t], e.i(Math[n[t]], !1), S);
1343
1343
  }
1344
- function hi(e, t) {
1344
+ function fi(e, t) {
1345
1345
  var r = e.s(e.M);
1346
1346
  e.g(t, "JSON", r, S), t = function(n) {
1347
1347
  try {
1348
1348
  var i = JSON.parse(String(n));
1349
1349
  } catch (a) {
1350
- k(e, e.T, a.message);
1350
+ C(e, e.T, a.message);
1351
1351
  }
1352
1352
  return e.Ia(i);
1353
1353
  }, e.g(r, "parse", e.i(t, !1)), t = function(n, i, a) {
1354
- i && i.H === "Function" ? k(e, e.j, "Function replacer on JSON.stringify not supported") : i && i.H === "Array" ? (i = mr(e, i), i = i.filter(function(u) {
1354
+ i && i.H === "Function" ? C(e, e.j, "Function replacer on JSON.stringify not supported") : i && i.H === "Array" ? (i = fr(e, i), i = i.filter(function(u) {
1355
1355
  return typeof u == "string" || typeof u == "number";
1356
1356
  })) : i = null, typeof a != "string" && typeof a != "number" && (a = void 0), n = e.R(n);
1357
1357
  try {
1358
1358
  var s = JSON.stringify(n, i, a);
1359
1359
  } catch (u) {
1360
- k(e, e.j, u.message);
1360
+ C(e, e.j, u.message);
1361
1361
  }
1362
1362
  return s;
1363
1363
  }, e.g(r, "stringify", e.i(t, !1));
@@ -1374,10 +1374,10 @@ function Q(e, t, r) {
1374
1374
  }
1375
1375
  return !1;
1376
1376
  }
1377
- function rn(e, t, r) {
1378
- t.data = new RegExp(r.source, r.flags), e.g(t, "lastIndex", r.lastIndex, S), e.g(t, "source", r.source, ae), e.g(t, "global", r.global, ae), e.g(t, "ignoreCase", r.ignoreCase, ae), e.g(t, "multiline", r.multiline, ae);
1377
+ function tn(e, t, r) {
1378
+ t.data = new RegExp(r.source, r.flags), e.g(t, "lastIndex", r.lastIndex, S), e.g(t, "source", r.source, oe), e.g(t, "global", r.global, oe), e.g(t, "ignoreCase", r.ignoreCase, oe), e.g(t, "multiline", r.multiline, oe);
1379
1379
  }
1380
- function Xt(e, t, r) {
1380
+ function zt(e, t, r) {
1381
1381
  r && e.g(t, "message", String(r), S), r = [];
1382
1382
  for (var n = e.o.length - 1; 0 <= n; n--) {
1383
1383
  var i = e.o[n], a = i.node;
@@ -1394,9 +1394,9 @@ function Xt(e, t, r) {
1394
1394
  }
1395
1395
  e.g(t, "stack", a.trim(), S);
1396
1396
  }
1397
- D.ha = function() {
1397
+ _.ha = function() {
1398
1398
  var e = this.ha.Mb;
1399
- return e || (e = new Blob([ti.join(`
1399
+ return e || (e = new Blob([ei.join(`
1400
1400
  `)], {
1401
1401
  type: "application/javascript"
1402
1402
  }), this.ha.Mb = e), new Worker(URL.createObjectURL(e));
@@ -1408,7 +1408,7 @@ function Xe(e, t, r, n, i) {
1408
1408
  try {
1409
1409
  return ve.runInNewContext(t, r, a);
1410
1410
  } catch {
1411
- i(null), k(e, e.D, "RegExp Timeout: " + n);
1411
+ i(null), C(e, e.D, "RegExp Timeout: " + n);
1412
1412
  }
1413
1413
  return Fe;
1414
1414
  }
@@ -1429,26 +1429,26 @@ function Ye(e, t, r) {
1429
1429
  n = !!ve;
1430
1430
  } else
1431
1431
  n = !1;
1432
- n || (r(null), k(e, e.D, "Regular expressions not supported: " + t));
1432
+ n || (r(null), C(e, e.D, "Regular expressions not supported: " + t));
1433
1433
  }
1434
1434
  function Je(e, t, r, n) {
1435
1435
  return setTimeout(function() {
1436
1436
  r.terminate(), n(null);
1437
1437
  try {
1438
- k(e, e.D, "RegExp Timeout: " + t);
1438
+ C(e, e.D, "RegExp Timeout: " + t);
1439
1439
  } catch {
1440
1440
  }
1441
1441
  }, e.REGEXP_THREAD_TIMEOUT);
1442
1442
  }
1443
- D.Aa = function(e) {
1443
+ _.Aa = function(e) {
1444
1444
  return this.s(e && e.h.prototype);
1445
1445
  };
1446
- D.s = function(e) {
1446
+ _.s = function(e) {
1447
1447
  if (typeof e != "object")
1448
1448
  throw Error("Non object prototype");
1449
- return e = new B(e), Q(this, e, this.D) && (e.H = "Error"), e;
1449
+ return e = new F(e), Q(this, e, this.D) && (e.H = "Error"), e;
1450
1450
  };
1451
- function De(e) {
1451
+ function _e(e) {
1452
1452
  var t = e.s(e.La);
1453
1453
  return e.g(t, "length", 0, {
1454
1454
  configurable: !1,
@@ -1456,29 +1456,29 @@ function De(e) {
1456
1456
  writable: !0
1457
1457
  }), t.H = "Array", t;
1458
1458
  }
1459
- function on(e, t, r) {
1459
+ function nn(e, t, r) {
1460
1460
  var n = e.s(e.Z);
1461
- return r ? (r = e.s(e.M), e.g(n, "prototype", r, S), e.g(r, "constructor", n, S)) : n.Ab = !0, e.g(n, "length", t, ae), n.H = "Function", n;
1461
+ return r ? (r = e.s(e.M), e.g(n, "prototype", r, S), e.g(r, "constructor", n, S)) : n.Ab = !0, e.g(n, "length", t, oe), n.H = "Function", n;
1462
1462
  }
1463
- function an(e, t, r, n) {
1464
- var i = on(e, t.oa.length, !0);
1465
- return i.Va = r, i.node = t, e.g(i, "name", t.id ? String(t.id.name) : n || "", ae), i;
1463
+ function rn(e, t, r, n) {
1464
+ var i = nn(e, t.oa.length, !0);
1465
+ return i.Va = r, i.node = t, e.g(i, "name", t.id ? String(t.id.name) : n || "", oe), i;
1466
1466
  }
1467
- D.i = function(e, t) {
1468
- return t = on(this, e.length, t), t.Ta = e, e.id = this.Ya++, this.g(t, "name", e.name, ae), t;
1467
+ _.i = function(e, t) {
1468
+ return t = nn(this, e.length, t), t.Ta = e, e.id = this.Ya++, this.g(t, "name", e.name, oe), t;
1469
1469
  };
1470
- D.ub = function(e) {
1471
- var t = on(this, e.length, !0);
1472
- return t.Za = e, e.id = this.Ya++, this.g(t, "name", e.name, ae), t;
1470
+ _.ub = function(e) {
1471
+ var t = nn(this, e.length, !0);
1472
+ return t.Za = e, e.id = this.Ya++, this.g(t, "name", e.name, oe), t;
1473
1473
  };
1474
- D.Ia = function(e) {
1475
- if (e instanceof B)
1474
+ _.Ia = function(e) {
1475
+ if (e instanceof F)
1476
1476
  throw Error("Object is already pseudo");
1477
1477
  if (e == null || e === !0 || e === !1 || typeof e == "string" || typeof e == "number")
1478
1478
  return e;
1479
1479
  if (e instanceof RegExp) {
1480
1480
  var t = this.s(this.Ma);
1481
- return rn(this, t, e), t;
1481
+ return tn(this, t, e), t;
1482
1482
  }
1483
1483
  if (e instanceof Date)
1484
1484
  return t = this.s(this.nb), t.data = new Date(e.valueOf()), t;
@@ -1492,7 +1492,7 @@ D.Ia = function(e) {
1492
1492
  }, !!t);
1493
1493
  }
1494
1494
  if (Array.isArray(e)) {
1495
- t = De(this);
1495
+ t = _e(this);
1496
1496
  for (var n = 0; n < e.length; n++)
1497
1497
  n in e && this.g(t, n, this.Ia(e[n]));
1498
1498
  return t;
@@ -1502,10 +1502,10 @@ D.Ia = function(e) {
1502
1502
  this.g(t, n, this.Ia(e[n]));
1503
1503
  return t;
1504
1504
  };
1505
- D.R = function(e, t) {
1505
+ _.R = function(e, t) {
1506
1506
  if (typeof e != "object" && typeof e != "function" || e === null)
1507
1507
  return e;
1508
- if (!(e instanceof B))
1508
+ if (!(e instanceof F))
1509
1509
  throw Error("Object is not pseudo");
1510
1510
  if (Q(this, e, this.I))
1511
1511
  return t = new RegExp(e.data.source, e.data.flags), t.lastIndex = e.data.lastIndex, t;
@@ -1521,7 +1521,7 @@ D.R = function(e, t) {
1521
1521
  if (t.hb.push(e), Q(this, e, this.qa)) {
1522
1522
  r = [], t.Sa.push(r);
1523
1523
  for (var n = this.G(e, "length"), i = 0; i < n; i++)
1524
- yt(this, e, i) && (r[i] = this.R(this.G(e, i), t));
1524
+ vt(this, e, i) && (r[i] = this.R(this.G(e, i), t));
1525
1525
  } else
1526
1526
  for (n in r = {}, t.Sa.push(r), e.h)
1527
1527
  i = this.R(e.h[n], t), Object.defineProperty(r, n, {
@@ -1533,15 +1533,15 @@ D.R = function(e, t) {
1533
1533
  return t.hb.pop(), t.Sa.pop(), r;
1534
1534
  };
1535
1535
  function ge(e, t) {
1536
- for (var r = De(e), n = Object.getOwnPropertyNames(t), i = 0; i < n.length; i++)
1536
+ for (var r = _e(e), n = Object.getOwnPropertyNames(t), i = 0; i < n.length; i++)
1537
1537
  e.g(r, n[i], t[n[i]]);
1538
1538
  return r;
1539
1539
  }
1540
- function mr(e, t) {
1540
+ function fr(e, t) {
1541
1541
  var r = [], n;
1542
1542
  for (n in t.h)
1543
1543
  r[n] = e.G(t, n);
1544
- return r.length = nn(e.G(t, "length")) || 0, r;
1544
+ return r.length = en(e.G(t, "length")) || 0, r;
1545
1545
  }
1546
1546
  function ye(e, t) {
1547
1547
  switch (typeof t) {
@@ -1554,10 +1554,10 @@ function ye(e, t) {
1554
1554
  }
1555
1555
  return t ? t.xa : null;
1556
1556
  }
1557
- D.G = function(e, t) {
1557
+ _.G = function(e, t) {
1558
1558
  if (this.P)
1559
1559
  throw Error("Getter not supported in that context");
1560
- if (t = String(t), e != null || k(this, this.j, "Cannot read property '" + t + "' of " + e), typeof e == "object" && !(e instanceof B))
1560
+ if (t = String(t), e != null || C(this, this.j, "Cannot read property '" + t + "' of " + e), typeof e == "object" && !(e instanceof F))
1561
1561
  throw TypeError("Expecting native value or pseudo object");
1562
1562
  if (t === "length") {
1563
1563
  if (Q(this, e, this.J))
@@ -1572,8 +1572,8 @@ D.G = function(e, t) {
1572
1572
  return (r = e.V[t]) ? (this.P = !0, r) : e.h[t];
1573
1573
  while (e = ye(this, e));
1574
1574
  };
1575
- function yt(e, t, r) {
1576
- if (!(t instanceof B))
1575
+ function vt(e, t, r) {
1576
+ if (!(t instanceof F))
1577
1577
  throw TypeError("Primitive data type has no properties");
1578
1578
  if (r = String(r), r === "length" && Q(e, t, e.J))
1579
1579
  return !0;
@@ -1588,18 +1588,18 @@ function yt(e, t, r) {
1588
1588
  while (t = ye(e, t));
1589
1589
  return !1;
1590
1590
  }
1591
- D.g = function(e, t, r, n) {
1591
+ _.g = function(e, t, r, n) {
1592
1592
  if (this.Ka)
1593
1593
  throw Error("Setter not supported in that context");
1594
- if (t = String(t), e != null || k(this, this.j, "Cannot set property '" + t + "' of " + e), typeof e == "object" && !(e instanceof B))
1594
+ if (t = String(t), e != null || C(this, this.j, "Cannot set property '" + t + "' of " + e), typeof e == "object" && !(e instanceof F))
1595
1595
  throw TypeError("Expecting native value or pseudo object");
1596
- n && ("get" in n || "set" in n) && ("value" in n || "writable" in n) && k(this, this.j, "Invalid property descriptor. Cannot both specify accessors and a value or writable attribute");
1597
- var i = !this.o || sn(this).S;
1598
- if (e instanceof B) {
1596
+ n && ("get" in n || "set" in n) && ("value" in n || "writable" in n) && C(this, this.j, "Invalid property descriptor. Cannot both specify accessors and a value or writable attribute");
1597
+ var i = !this.o || on(this).S;
1598
+ if (e instanceof F) {
1599
1599
  if (Q(this, e, this.J)) {
1600
1600
  var a = Qe(t);
1601
1601
  if (t === "length" || !isNaN(a) && a < String(e).length) {
1602
- i && k(this, this.j, "Cannot assign to read only property '" + t + "' of String '" + e.data + "'");
1602
+ i && C(this, this.j, "Cannot assign to read only property '" + t + "' of String '" + e.data + "'");
1603
1603
  return;
1604
1604
  }
1605
1605
  }
@@ -1610,7 +1610,7 @@ D.g = function(e, t, r, n) {
1610
1610
  return;
1611
1611
  r = n.value;
1612
1612
  }
1613
- if (r = nn(r), isNaN(r) && k(this, this.ob, "Invalid array length"), r < a)
1613
+ if (r = en(r), isNaN(r) && C(this, this.ob, "Invalid array length"), r < a)
1614
1614
  for (s in e.h) {
1615
1615
  var s = Qe(s);
1616
1616
  !isNaN(s) && r <= s && delete e.h[s];
@@ -1623,7 +1623,7 @@ D.g = function(e, t, r, n) {
1623
1623
  try {
1624
1624
  Object.defineProperty(e.h, t, i);
1625
1625
  } catch {
1626
- k(this, this.j, "Cannot redefine property: " + t);
1626
+ C(this, this.j, "Cannot redefine property: " + t);
1627
1627
  }
1628
1628
  "get" in n && !n.get && delete e.V[t], "set" in n && !n.set && delete e.Y[t];
1629
1629
  } else {
@@ -1637,23 +1637,23 @@ D.g = function(e, t, r, n) {
1637
1637
  if (n.Y && n.Y[t])
1638
1638
  return this.Ka = !0, n.Y[t];
1639
1639
  if (n.V && n.V[t])
1640
- i && k(this, this.j, "Cannot set property '" + t + "' of object '" + e + "' which only has a getter");
1640
+ i && C(this, this.j, "Cannot set property '" + t + "' of object '" + e + "' which only has a getter");
1641
1641
  else
1642
1642
  try {
1643
1643
  e.h[t] = r;
1644
1644
  } catch {
1645
- i && k(this, this.j, "Cannot assign to read only property '" + t + "' of object '" + e + "'");
1645
+ i && C(this, this.j, "Cannot assign to read only property '" + t + "' of object '" + e + "'");
1646
1646
  }
1647
1647
  }
1648
1648
  else
1649
- i && k(this, this.j, "Can't add property '" + t + "', object is not extensible");
1649
+ i && C(this, this.j, "Can't add property '" + t + "', object is not extensible");
1650
1650
  } else
1651
- i && k(this, this.j, "Can't create property '" + t + "' on '" + e + "'");
1651
+ i && C(this, this.j, "Can't create property '" + t + "' on '" + e + "'");
1652
1652
  };
1653
- D.g.ac = function() {
1653
+ _.g.ac = function() {
1654
1654
  throw Error("Placeholder getter");
1655
1655
  };
1656
- D.g.bc = function() {
1656
+ _.g.bc = function() {
1657
1657
  throw Error("Placeholder setter");
1658
1658
  };
1659
1659
  function q(e, t, r, n) {
@@ -1662,12 +1662,12 @@ function q(e, t, r, n) {
1662
1662
  function qe(e, t, r, n) {
1663
1663
  e.g(t.h.prototype, r, e.ub(n), S);
1664
1664
  }
1665
- function sn(e) {
1665
+ function on(e) {
1666
1666
  if (e = e.o[e.o.length - 1].scope, !e)
1667
1667
  throw Error("No scope found");
1668
1668
  return e;
1669
1669
  }
1670
- function Yt(e, t, r) {
1670
+ function Xt(e, t, r) {
1671
1671
  var n = !1;
1672
1672
  if (r && r.S)
1673
1673
  n = !0;
@@ -1675,38 +1675,38 @@ function Yt(e, t, r) {
1675
1675
  var i = t.body && t.body[0];
1676
1676
  i && i.la && i.la.type === "Literal" && i.la.value === "use strict" && (n = !0);
1677
1677
  }
1678
- return i = e.s(null), n = new yr(r, n, i), r || ni(e, n.object), tt(e, t, n), n;
1678
+ return i = e.s(null), n = new mr(r, n, i), r || ti(e, n.object), tt(e, t, n), n;
1679
1679
  }
1680
- function ln(e, t, r) {
1680
+ function an(e, t, r) {
1681
1681
  if (!t)
1682
1682
  throw Error("parentScope required");
1683
- return e = r || e.s(null), new yr(t, t.S, e);
1683
+ return e = r || e.s(null), new mr(t, t.S, e);
1684
1684
  }
1685
- function cn(e, t) {
1686
- for (var r = sn(e); r && r !== e.N; ) {
1685
+ function sn(e, t) {
1686
+ for (var r = on(e); r && r !== e.N; ) {
1687
1687
  if (t in r.object.h)
1688
1688
  return r.object.h[t];
1689
1689
  r = r.Va;
1690
1690
  }
1691
- if (r === e.N && yt(e, r.object, t))
1691
+ if (r === e.N && vt(e, r.object, t))
1692
1692
  return e.G(r.object, t);
1693
- r = e.o[e.o.length - 1].node, r.type === "UnaryExpression" && r.operator === "typeof" || k(e, e.pb, t + " is not defined");
1693
+ r = e.o[e.o.length - 1].node, r.type === "UnaryExpression" && r.operator === "typeof" || C(e, e.pb, t + " is not defined");
1694
1694
  }
1695
- function gr(e, t, r) {
1696
- for (var n = sn(e), i = n.S; n && n !== e.N; ) {
1695
+ function hr(e, t, r) {
1696
+ for (var n = on(e), i = n.S; n && n !== e.N; ) {
1697
1697
  if (t in n.object.h) {
1698
1698
  try {
1699
1699
  n.object.h[t] = r;
1700
1700
  } catch {
1701
- i && k(e, e.j, "Cannot assign to read only variable '" + t + "'");
1701
+ i && C(e, e.j, "Cannot assign to read only variable '" + t + "'");
1702
1702
  }
1703
1703
  return;
1704
1704
  }
1705
1705
  n = n.Va;
1706
1706
  }
1707
- if (n === e.N && (!i || yt(e, n.object, t)))
1707
+ if (n === e.N && (!i || vt(e, n.object, t)))
1708
1708
  return e.g(n.object, t, r);
1709
- k(e, e.pb, t + " is not defined");
1709
+ C(e, e.pb, t + " is not defined");
1710
1710
  }
1711
1711
  function tt(e, t, r) {
1712
1712
  if (t.jb)
@@ -1754,20 +1754,20 @@ function tt(e, t, r) {
1754
1754
  t.jb = n;
1755
1755
  }
1756
1756
  for (s in n)
1757
- n[s] === !0 ? e.g(r.object, s, void 0, Xn) : e.g(r.object, s, an(e, n[s], r), Xn);
1757
+ n[s] === !0 ? e.g(r.object, s, void 0, Gn) : e.g(r.object, s, rn(e, n[s], r), Gn);
1758
1758
  return n;
1759
1759
  }
1760
- function xe(e) {
1760
+ function be(e) {
1761
1761
  return e.o[e.o.length - 1].isConstructor;
1762
1762
  }
1763
- function un(e, t) {
1764
- return t[0] === We ? cn(e, t[1]) : e.G(t[0], t[1]);
1763
+ function ln(e, t) {
1764
+ return t[0] === We ? sn(e, t[1]) : e.G(t[0], t[1]);
1765
1765
  }
1766
- function dn(e, t, r) {
1767
- return t[0] === We ? gr(e, t[1], r) : e.g(t[0], t[1], r);
1766
+ function cn(e, t, r) {
1767
+ return t[0] === We ? hr(e, t[1], r) : e.g(t[0], t[1], r);
1768
1768
  }
1769
- function k(e, t, r) {
1770
- throw e.N ? (r !== void 0 && t instanceof B && (t = e.Aa(t), Xt(e, t, r)), it(e, 4, t), pr) : r === void 0 ? t : r;
1769
+ function C(e, t, r) {
1770
+ throw e.N ? (r !== void 0 && t instanceof F && (t = e.Aa(t), zt(e, t, r)), it(e, 4, t), dr) : r === void 0 ? t : r;
1771
1771
  }
1772
1772
  function it(e, t, r, n) {
1773
1773
  if (t === 0)
@@ -1814,60 +1814,60 @@ function it(e, t, r, n) {
1814
1814
  URIError
1815
1815
  }, n = String(e.G(r, "name")), i = e.G(r, "message").valueOf(), t = (t[n] || Error)(i), t.stack = String(e.G(r, "stack"))) : t = String(r), e.value = t, t;
1816
1816
  }
1817
- function oe(e, t) {
1817
+ function ie(e, t) {
1818
1818
  switch (t.type) {
1819
1819
  case "ArrayExpression":
1820
1820
  return "[...]";
1821
1821
  case "BinaryExpression":
1822
1822
  case "LogicalExpression":
1823
- return oe(e, t.left) + " " + t.operator + " " + oe(e, t.right);
1823
+ return ie(e, t.left) + " " + t.operator + " " + ie(e, t.right);
1824
1824
  case "CallExpression":
1825
- return oe(e, t.callee) + "(...)";
1825
+ return ie(e, t.callee) + "(...)";
1826
1826
  case "ConditionalExpression":
1827
- return oe(e, t.test) + " ? " + oe(e, t.da) + " : " + oe(e, t.alternate);
1827
+ return ie(e, t.test) + " ? " + ie(e, t.da) + " : " + ie(e, t.alternate);
1828
1828
  case "Identifier":
1829
1829
  return t.name;
1830
1830
  case "Literal":
1831
1831
  return t.raw;
1832
1832
  case "MemberExpression":
1833
- var r = oe(e, t.object);
1834
- return e = oe(e, t.Wa), t.bb ? r + "[" + e + "]" : r + "." + e;
1833
+ var r = ie(e, t.object);
1834
+ return e = ie(e, t.Wa), t.bb ? r + "[" + e + "]" : r + "." + e;
1835
1835
  case "NewExpression":
1836
- return "new " + oe(e, t.callee) + "(...)";
1836
+ return "new " + ie(e, t.callee) + "(...)";
1837
1837
  case "ObjectExpression":
1838
1838
  return "{...}";
1839
1839
  case "ThisExpression":
1840
1840
  return "this";
1841
1841
  case "UnaryExpression":
1842
- return t.operator + " " + oe(e, t.K);
1842
+ return t.operator + " " + ie(e, t.K);
1843
1843
  case "UpdateExpression":
1844
- return r = oe(e, t.K), t.prefix ? t.operator + r : r + t.operator;
1844
+ return r = ie(e, t.K), t.prefix ? t.operator + r : r + t.operator;
1845
1845
  }
1846
1846
  return "???";
1847
1847
  }
1848
- function Jn(e, t, r) {
1848
+ function Xn(e, t, r) {
1849
1849
  var n = e.o[e.o.length - 1], i = Array.from(r), a = i.shift();
1850
1850
  r = Math.max(Number(i.shift() || 0), 0);
1851
1851
  var s = e.ya();
1852
- if (a instanceof B && a.H === "Function") {
1852
+ if (a instanceof F && a.H === "Function") {
1853
1853
  var u = a;
1854
1854
  s.type = "CallExpression", n = n.scope;
1855
1855
  } else {
1856
1856
  try {
1857
- var f = _e(String(a), "taskCode" + e.ic++);
1858
- } catch (g) {
1859
- k(e, e.T, "Invalid code: " + g.message);
1857
+ var f = De(String(a), "taskCode" + e.ic++);
1858
+ } catch (m) {
1859
+ C(e, e.T, "Invalid code: " + m.message);
1860
1860
  }
1861
- s.type = "EvalProgram_", s.body = f.body, n = n.node.arguments[0], vt(s, n ? n.start : void 0, n ? n.end : void 0), n = e.N, i.length = 0;
1861
+ s.type = "EvalProgram_", s.body = f.body, n = n.node.arguments[0], gt(s, n ? n.start : void 0, n ? n.end : void 0), n = e.N, i.length = 0;
1862
1862
  }
1863
- return t = new pi(u, i, n, s, t ? r : -1), vr(e, t, r), t.Db;
1863
+ return t = new hi(u, i, n, s, t ? r : -1), pr(e, t, r), t.Db;
1864
1864
  }
1865
- function vr(e, t, r) {
1865
+ function pr(e, t, r) {
1866
1866
  t.time = Date.now() + r, e.ca.push(t), e.ca.sort(function(n, i) {
1867
1867
  return n.time - i.time;
1868
1868
  });
1869
1869
  }
1870
- function qn(e, t) {
1870
+ function Yn(e, t) {
1871
1871
  for (var r = 0; r < e.ca.length; r++)
1872
1872
  if (e.ca[r].Db == t) {
1873
1873
  e.ca.splice(r, 1);
@@ -1881,52 +1881,52 @@ function ot(e, t, r) {
1881
1881
  var n = e.ya();
1882
1882
  return n.type = "CallExpression", e = new w(n, e.o[e.o.length - 1].scope), e.ia = 2, e.B = r, e.U = t, e.Qa = !0, e.F = [], e;
1883
1883
  }
1884
- function fn(e, t, r, n) {
1884
+ function un(e, t, r, n) {
1885
1885
  if (!e.Ka)
1886
1886
  throw Error("Unexpected call to createSetter");
1887
1887
  e.Ka = !1, r = Array.isArray(r) ? r[0] : e.Na;
1888
1888
  var i = e.ya();
1889
1889
  return i.type = "CallExpression", e = new w(i, e.o[e.o.length - 1].scope), e.ia = 2, e.B = r, e.U = t, e.Qa = !0, e.F = [n], e;
1890
1890
  }
1891
- function Lt(e, t) {
1892
- return t == null ? e.Na : t instanceof B ? t : (e = e.s(ye(e, t)), e.data = t, e);
1891
+ function Vt(e, t) {
1892
+ return t == null ? e.Na : t instanceof F ? t : (e = e.s(ye(e, t)), e.data = t, e);
1893
1893
  }
1894
- D.Xb = function() {
1894
+ _.Xb = function() {
1895
1895
  return this.N;
1896
1896
  };
1897
- D.Yb = function() {
1897
+ _.Yb = function() {
1898
1898
  return this.o;
1899
1899
  };
1900
- D.ec = function(e) {
1900
+ _.ec = function(e) {
1901
1901
  this.o = e;
1902
1902
  };
1903
1903
  function w(e, t) {
1904
1904
  this.node = e, this.scope = t;
1905
1905
  }
1906
- function yr(e, t, r) {
1906
+ function mr(e, t, r) {
1907
1907
  this.Va = e, this.S = t, this.object = r;
1908
1908
  }
1909
- function B(e) {
1909
+ function F(e) {
1910
1910
  this.V = /* @__PURE__ */ Object.create(null), this.Y = /* @__PURE__ */ Object.create(null), this.h = /* @__PURE__ */ Object.create(null), this.xa = e;
1911
1911
  }
1912
- D = B.prototype;
1913
- D.xa = null;
1914
- D.H = "Object";
1915
- D.data = null;
1916
- D.toString = function() {
1912
+ _ = F.prototype;
1913
+ _.xa = null;
1914
+ _.H = "Object";
1915
+ _.data = null;
1916
+ _.toString = function() {
1917
1917
  if (!Ze)
1918
1918
  return "[object Interpreter.Object]";
1919
- if (!(this instanceof B))
1919
+ if (!(this instanceof F))
1920
1920
  return String(this);
1921
1921
  if (this.H === "Array") {
1922
- var e = Yn;
1922
+ var e = zn;
1923
1923
  e.push(this);
1924
1924
  try {
1925
1925
  var t = [], r = this.h.length, n = !1;
1926
1926
  1024 < r && (r = 1e3, n = !0);
1927
1927
  for (var i = 0; i < r; i++) {
1928
1928
  var a = this.h[i];
1929
- t[i] = a instanceof B && e.indexOf(a) !== -1 ? "..." : a;
1929
+ t[i] = a instanceof F && e.indexOf(a) !== -1 ? "..." : a;
1930
1930
  }
1931
1931
  n && t.push("...");
1932
1932
  } finally {
@@ -1935,7 +1935,7 @@ D.toString = function() {
1935
1935
  return t.join(",");
1936
1936
  }
1937
1937
  if (this.H === "Error") {
1938
- if (e = Yn, e.indexOf(this) !== -1)
1938
+ if (e = zn, e.indexOf(this) !== -1)
1939
1939
  return "[object Error]";
1940
1940
  r = this;
1941
1941
  do
@@ -1961,28 +1961,28 @@ D.toString = function() {
1961
1961
  }
1962
1962
  return this.data !== null ? String(this.data) : "[object " + this.H + "]";
1963
1963
  };
1964
- D.valueOf = function() {
1964
+ _.valueOf = function() {
1965
1965
  return !Ze || this.data === void 0 || this.data === null || this.data instanceof RegExp ? this : this.data instanceof Date ? this.data.valueOf() : this.data;
1966
1966
  };
1967
- function pi(e, t, r, n, i) {
1968
- this.zb = e, this.Lb = t, this.scope = r, this.node = n, this.interval = i, this.Db = ++mi, this.time = 0;
1967
+ function hi(e, t, r, n, i) {
1968
+ this.zb = e, this.Lb = t, this.scope = r, this.node = n, this.interval = i, this.Db = ++pi, this.time = 0;
1969
1969
  }
1970
- var mi = 0;
1971
- m.prototype.stepArrayExpression = function(e, t, r) {
1970
+ var pi = 0;
1971
+ g.prototype.stepArrayExpression = function(e, t, r) {
1972
1972
  r = r.elements;
1973
1973
  var n = t.A || 0;
1974
- for (t.Oa ? (this.g(t.Oa, n, t.value), n++) : (t.Oa = De(this), t.Oa.h.length = r.length); n < r.length; ) {
1974
+ for (t.Oa ? (this.g(t.Oa, n, t.value), n++) : (t.Oa = _e(this), t.Oa.h.length = r.length); n < r.length; ) {
1975
1975
  if (r[n])
1976
1976
  return t.A = n, new w(r[n], t.scope);
1977
1977
  n++;
1978
1978
  }
1979
1979
  e.pop(), e[e.length - 1].value = t.Oa;
1980
1980
  };
1981
- m.prototype.stepAssignmentExpression = function(e, t, r) {
1981
+ g.prototype.stepAssignmentExpression = function(e, t, r) {
1982
1982
  if (!t.ja)
1983
1983
  return t.ja = !0, t = new w(r.left, t.scope), t.sa = !0, t;
1984
1984
  if (!t.Da)
1985
- return t.Fa || (t.Fa = t.value), t.Ba && (t.ma = t.value), !t.Ba && r.operator !== "=" && (e = un(this, t.Fa), t.ma = e, this.P) ? (t.Ba = !0, ot(this, e, t.Fa)) : (t.Da = !0, r.operator === "=" && r.left.type === "Identifier" && (t.Pa = r.left.name), new w(r.right, t.scope));
1985
+ return t.Fa || (t.Fa = t.value), t.Ba && (t.ma = t.value), !t.Ba && r.operator !== "=" && (e = ln(this, t.Fa), t.ma = e, this.P) ? (t.Ba = !0, ot(this, e, t.Fa)) : (t.Da = !0, r.operator === "=" && r.left.type === "Identifier" && (t.Pa = r.left.name), new w(r.right, t.scope));
1986
1986
  if (t.ta)
1987
1987
  e.pop(), e[e.length - 1].value = t.ib;
1988
1988
  else {
@@ -2027,12 +2027,12 @@ m.prototype.stepAssignmentExpression = function(e, t, r) {
2027
2027
  default:
2028
2028
  throw SyntaxError("Unknown assignment expression: " + r.operator);
2029
2029
  }
2030
- if (r = dn(this, t.Fa, n))
2031
- return t.ta = !0, t.ib = n, fn(this, r, t.Fa, n);
2030
+ if (r = cn(this, t.Fa, n))
2031
+ return t.ta = !0, t.ib = n, un(this, r, t.Fa, n);
2032
2032
  e.pop(), e[e.length - 1].value = n;
2033
2033
  }
2034
2034
  };
2035
- m.prototype.stepBinaryExpression = function(e, t, r) {
2035
+ g.prototype.stepBinaryExpression = function(e, t, r) {
2036
2036
  if (!t.ja)
2037
2037
  return t.ja = !0, new w(r.left, t.scope);
2038
2038
  if (!t.Da)
@@ -2098,27 +2098,27 @@ m.prototype.stepBinaryExpression = function(e, t, r) {
2098
2098
  r = n >>> t;
2099
2099
  break;
2100
2100
  case "in":
2101
- t instanceof B || k(this, this.j, "'in' expects an object, not '" + t + "'"), r = yt(this, t, n);
2101
+ t instanceof F || C(this, this.j, "'in' expects an object, not '" + t + "'"), r = vt(this, t, n);
2102
2102
  break;
2103
2103
  case "instanceof":
2104
- Q(this, t, this.O) || k(this, this.j, "'instanceof' expects an object, not '" + t + "'"), r = n instanceof B ? Q(this, n, t) : !1;
2104
+ Q(this, t, this.O) || C(this, this.j, "'instanceof' expects an object, not '" + t + "'"), r = n instanceof F ? Q(this, n, t) : !1;
2105
2105
  break;
2106
2106
  default:
2107
2107
  throw SyntaxError("Unknown binary operator: " + r.operator);
2108
2108
  }
2109
2109
  e[e.length - 1].value = r;
2110
2110
  };
2111
- m.prototype.stepBlockStatement = function(e, t, r) {
2111
+ g.prototype.stepBlockStatement = function(e, t, r) {
2112
2112
  var n = t.A || 0;
2113
2113
  if (r = r.body[n])
2114
2114
  return t.A = n + 1, new w(r, t.scope);
2115
2115
  e.pop();
2116
2116
  };
2117
- m.prototype.stepBreakStatement = function(e, t, r) {
2117
+ g.prototype.stepBreakStatement = function(e, t, r) {
2118
2118
  it(this, 1, void 0, r.label && r.label.name);
2119
2119
  };
2120
- m.prototype.Hb = 0;
2121
- m.prototype.stepCallExpression = function(e, t, r) {
2120
+ g.prototype.Hb = 0;
2121
+ g.prototype.stepCallExpression = function(e, t, r) {
2122
2122
  if (!t.ia) {
2123
2123
  t.ia = 1;
2124
2124
  var n = new w(r.callee, t.scope);
@@ -2128,7 +2128,7 @@ m.prototype.stepCallExpression = function(e, t, r) {
2128
2128
  t.ia = 2;
2129
2129
  var i = t.value;
2130
2130
  if (Array.isArray(i)) {
2131
- if (t.U = un(this, i), i[0] === We ? t.Pb = i[1] === "eval" : t.B = i[0], i = t.U, this.P)
2131
+ if (t.U = ln(this, i), i[0] === We ? t.Pb = i[1] === "eval" : t.B = i[0], i = t.U, this.P)
2132
2132
  return t.ia = 1, ot(this, i, t.value);
2133
2133
  } else
2134
2134
  t.U = i;
@@ -2138,8 +2138,8 @@ m.prototype.stepCallExpression = function(e, t, r) {
2138
2138
  if (t.A !== 0 && t.F.push(t.value), r.arguments[t.A])
2139
2139
  return new w(r.arguments[t.A++], t.scope);
2140
2140
  if (r.type === "NewExpression") {
2141
- if (i instanceof B && !i.Ab || k(this, this.j, oe(this, r.callee) + " is not a constructor"), i === this.qa)
2142
- t.B = De(this);
2141
+ if (i instanceof F && !i.Ab || C(this, this.j, ie(this, r.callee) + " is not a constructor"), i === this.qa)
2142
+ t.B = _e(this);
2143
2143
  else {
2144
2144
  var a = i.h.prototype;
2145
2145
  (typeof a != "object" || a === null) && (a = this.M), t.B = this.s(a);
@@ -2151,36 +2151,36 @@ m.prototype.stepCallExpression = function(e, t, r) {
2151
2151
  if (t.eb)
2152
2152
  e.pop(), e[e.length - 1].value = t.isConstructor && typeof t.value != "object" ? t.B : t.value;
2153
2153
  else {
2154
- if (t.eb = !0, i instanceof B || k(this, this.j, oe(this, r.callee) + " is not a function"), e = i.node) {
2155
- for (r = Yt(this, e.body, i.Va), n = De(this), i = 0; i < t.F.length; i++)
2154
+ if (t.eb = !0, i instanceof F || C(this, this.j, ie(this, r.callee) + " is not a function"), e = i.node) {
2155
+ for (r = Xt(this, e.body, i.Va), n = _e(this), i = 0; i < t.F.length; i++)
2156
2156
  this.g(n, i, t.F[i]);
2157
2157
  for (this.g(r.object, "arguments", n), i = 0; i < e.oa.length; i++)
2158
2158
  this.g(r.object, e.oa[i].name, t.F.length > i ? t.F[i] : void 0);
2159
- return r.S || (t.B = Lt(this, t.B)), this.g(r.object, "this", t.B, tn), t.value = void 0, new w(e.body, r);
2159
+ return r.S || (t.B = Vt(this, t.B)), this.g(r.object, "this", t.B, Qt), t.value = void 0, new w(e.body, r);
2160
2160
  }
2161
2161
  if (i.eval)
2162
2162
  if (i = t.F[0], typeof i != "string")
2163
2163
  t.value = i;
2164
2164
  else {
2165
2165
  try {
2166
- n = _e(String(i), "eval" + this.Hb++);
2166
+ n = De(String(i), "eval" + this.Hb++);
2167
2167
  } catch (u) {
2168
- k(this, this.T, "Invalid code: " + u.message);
2168
+ C(this, this.T, "Invalid code: " + u.message);
2169
2169
  }
2170
- return i = this.ya(), i.type = "EvalProgram_", i.body = n.body, vt(i, r.start, r.end), r = t.Pb ? t.scope : this.N, r.S ? r = Yt(this, n, r) : tt(this, n, r), this.value = void 0, new w(i, r);
2170
+ return i = this.ya(), i.type = "EvalProgram_", i.body = n.body, gt(i, r.start, r.end), r = t.Pb ? t.scope : this.N, r.S ? r = Xt(this, n, r) : tt(this, n, r), this.value = void 0, new w(i, r);
2171
2171
  }
2172
2172
  else if (i.Ta)
2173
- t.scope.S || (t.B = Lt(this, t.B)), t.value = i.Ta.apply(t.B, t.F);
2173
+ t.scope.S || (t.B = Vt(this, t.B)), t.value = i.Ta.apply(t.B, t.F);
2174
2174
  else if (i.Za) {
2175
2175
  var s = this;
2176
2176
  n = i.Za.length - 1, n = t.F.concat(Array(n)).slice(0, n), n.push(function(u) {
2177
2177
  t.value = u, s.za = !1;
2178
- }), this.za = !0, t.scope.S || (t.B = Lt(this, t.B)), i.Za.apply(t.B, n);
2178
+ }), this.za = !0, t.scope.S || (t.B = Vt(this, t.B)), i.Za.apply(t.B, n);
2179
2179
  } else
2180
- k(this, this.j, oe(this, r.callee) + " is not callable");
2180
+ C(this, this.j, ie(this, r.callee) + " is not callable");
2181
2181
  }
2182
2182
  };
2183
- m.prototype.stepConditionalExpression = function(e, t, r) {
2183
+ g.prototype.stepConditionalExpression = function(e, t, r) {
2184
2184
  var n = t.na || 0;
2185
2185
  if (n === 0)
2186
2186
  return t.na = 1, new w(r.test, t.scope);
@@ -2193,13 +2193,13 @@ m.prototype.stepConditionalExpression = function(e, t, r) {
2193
2193
  }
2194
2194
  e.pop(), r.type === "ConditionalExpression" && (e[e.length - 1].value = t.value);
2195
2195
  };
2196
- m.prototype.stepContinueStatement = function(e, t, r) {
2196
+ g.prototype.stepContinueStatement = function(e, t, r) {
2197
2197
  it(this, 2, void 0, r.label && r.label.name);
2198
2198
  };
2199
- m.prototype.stepDebuggerStatement = function(e) {
2199
+ g.prototype.stepDebuggerStatement = function(e) {
2200
2200
  e.pop();
2201
2201
  };
2202
- m.prototype.stepDoWhileStatement = function(e, t, r) {
2202
+ g.prototype.stepDoWhileStatement = function(e, t, r) {
2203
2203
  if (r.type === "DoWhileStatement" && t.ga === void 0 && (t.value = !0, t.ga = !0), !t.ga)
2204
2204
  return t.ga = !0, new w(r.test, t.scope);
2205
2205
  if (!t.value)
@@ -2207,29 +2207,29 @@ m.prototype.stepDoWhileStatement = function(e, t, r) {
2207
2207
  else if (r.body)
2208
2208
  return t.ga = !1, t.W = !0, new w(r.body, t.scope);
2209
2209
  };
2210
- m.prototype.stepEmptyStatement = function(e) {
2210
+ g.prototype.stepEmptyStatement = function(e) {
2211
2211
  e.pop();
2212
2212
  };
2213
- m.prototype.stepEvalProgram_ = function(e, t, r) {
2213
+ g.prototype.stepEvalProgram_ = function(e, t, r) {
2214
2214
  var n = t.A || 0;
2215
2215
  if (r = r.body[n])
2216
2216
  return t.A = n + 1, new w(r, t.scope);
2217
2217
  e.pop(), e[e.length - 1].value = this.value;
2218
2218
  };
2219
- m.prototype.stepExpressionStatement = function(e, t, r) {
2219
+ g.prototype.stepExpressionStatement = function(e, t, r) {
2220
2220
  if (!t.ka)
2221
2221
  return this.value = void 0, t.ka = !0, new w(r.la, t.scope);
2222
2222
  e.pop(), this.value = t.value;
2223
2223
  };
2224
- m.prototype.stepForInStatement = function(e, t, r) {
2224
+ g.prototype.stepForInStatement = function(e, t, r) {
2225
2225
  if (!t.Ub && (t.Ub = !0, r.left.fa && r.left.fa[0].ua))
2226
- return t.scope.S && k(this, this.T, "for-in loop variable declaration may not have an initializer"), new w(r.left, t.scope);
2226
+ return t.scope.S && C(this, this.T, "for-in loop variable declaration may not have an initializer"), new w(r.left, t.scope);
2227
2227
  if (!t.Ca)
2228
2228
  return t.Ca = !0, t.pa || (t.pa = t.value), new w(r.right, t.scope);
2229
2229
  if (t.W || (t.W = !0, t.u = t.value, t.kb = /* @__PURE__ */ Object.create(null)), t.Ra === void 0)
2230
2230
  e:
2231
2231
  for (; ; ) {
2232
- if (t.u instanceof B)
2232
+ if (t.u instanceof F)
2233
2233
  for (t.wa || (t.wa = Object.getOwnPropertyNames(t.u.h)); ; ) {
2234
2234
  var n = t.wa.shift();
2235
2235
  if (n === void 0)
@@ -2256,12 +2256,12 @@ m.prototype.stepForInStatement = function(e, t, r) {
2256
2256
  t.pa = [We, e.fa[0].id.name];
2257
2257
  else
2258
2258
  return t.pa = null, t = new w(e, t.scope), t.sa = !0, t;
2259
- if (t.pa || (t.pa = t.value), !t.ta && (t.ta = !0, e = t.Ra, n = dn(this, t.pa, e)))
2260
- return fn(this, n, t.pa, e);
2259
+ if (t.pa || (t.pa = t.value), !t.ta && (t.ta = !0, e = t.Ra, n = cn(this, t.pa, e)))
2260
+ return un(this, n, t.pa, e);
2261
2261
  if (t.Ra = void 0, t.wb = !1, t.ta = !1, r.body)
2262
2262
  return new w(r.body, t.scope);
2263
2263
  };
2264
- m.prototype.stepForStatement = function(e, t, r) {
2264
+ g.prototype.stepForStatement = function(e, t, r) {
2265
2265
  switch (t.na) {
2266
2266
  default:
2267
2267
  if (t.na = 1, r.ua)
@@ -2282,29 +2282,29 @@ m.prototype.stepForStatement = function(e, t, r) {
2282
2282
  return new w(r.update, t.scope);
2283
2283
  }
2284
2284
  };
2285
- m.prototype.stepFunctionDeclaration = function(e) {
2285
+ g.prototype.stepFunctionDeclaration = function(e) {
2286
2286
  e.pop();
2287
2287
  };
2288
- m.prototype.stepFunctionExpression = function(e, t, r) {
2289
- e.pop(), t = e[e.length - 1], e = t.scope, r.id && (e = ln(this, e)), t.value = an(this, r, e, t.Pa), r.id && this.g(e.object, r.id.name, t.value, tn);
2288
+ g.prototype.stepFunctionExpression = function(e, t, r) {
2289
+ e.pop(), t = e[e.length - 1], e = t.scope, r.id && (e = an(this, e)), t.value = rn(this, r, e, t.Pa), r.id && this.g(e.object, r.id.name, t.value, Qt);
2290
2290
  };
2291
- m.prototype.stepIdentifier = function(e, t, r) {
2291
+ g.prototype.stepIdentifier = function(e, t, r) {
2292
2292
  if (e.pop(), t.sa)
2293
2293
  e[e.length - 1].value = [We, r.name];
2294
2294
  else {
2295
- if (t = cn(this, r.name), this.P)
2295
+ if (t = sn(this, r.name), this.P)
2296
2296
  return ot(this, t, this.Na);
2297
2297
  e[e.length - 1].value = t;
2298
2298
  }
2299
2299
  };
2300
- m.prototype.stepIfStatement = m.prototype.stepConditionalExpression;
2301
- m.prototype.stepLabeledStatement = function(e, t, r) {
2300
+ g.prototype.stepIfStatement = g.prototype.stepConditionalExpression;
2301
+ g.prototype.stepLabeledStatement = function(e, t, r) {
2302
2302
  return e.pop(), e = t.labels || [], e.push(r.label.name), t = new w(r.body, t.scope), t.labels = e, t;
2303
2303
  };
2304
- m.prototype.stepLiteral = function(e, t, r) {
2305
- e.pop(), t = r.value, t instanceof RegExp && (r = this.s(this.Ma), rn(this, r, t), t = r), e[e.length - 1].value = t;
2304
+ g.prototype.stepLiteral = function(e, t, r) {
2305
+ e.pop(), t = r.value, t instanceof RegExp && (r = this.s(this.Ma), tn(this, r, t), t = r), e[e.length - 1].value = t;
2306
2306
  };
2307
- m.prototype.stepLogicalExpression = function(e, t, r) {
2307
+ g.prototype.stepLogicalExpression = function(e, t, r) {
2308
2308
  if (r.operator !== "&&" && r.operator !== "||")
2309
2309
  throw SyntaxError("Unknown logical operator: " + r.operator);
2310
2310
  if (!t.ja)
@@ -2316,7 +2316,7 @@ m.prototype.stepLogicalExpression = function(e, t, r) {
2316
2316
  else
2317
2317
  return t.Da = !0, new w(r.right, t.scope);
2318
2318
  };
2319
- m.prototype.stepMemberExpression = function(e, t, r) {
2319
+ g.prototype.stepMemberExpression = function(e, t, r) {
2320
2320
  if (!t.Ca)
2321
2321
  return t.Ca = !0, new w(r.object, t.scope);
2322
2322
  if (r.bb)
@@ -2334,8 +2334,8 @@ m.prototype.stepMemberExpression = function(e, t, r) {
2334
2334
  e[e.length - 1].value = r;
2335
2335
  }
2336
2336
  };
2337
- m.prototype.stepNewExpression = m.prototype.stepCallExpression;
2338
- m.prototype.stepObjectExpression = function(e, t, r) {
2337
+ g.prototype.stepNewExpression = g.prototype.stepCallExpression;
2338
+ g.prototype.stepObjectExpression = function(e, t, r) {
2339
2339
  var n = t.A || 0, i = r.h[n];
2340
2340
  if (t.u) {
2341
2341
  var a = t.Pa;
@@ -2361,23 +2361,23 @@ m.prototype.stepObjectExpression = function(e, t, r) {
2361
2361
  }) : this.g(t.u, s, r.init);
2362
2362
  e.pop(), e[e.length - 1].value = t.u;
2363
2363
  };
2364
- m.prototype.stepProgram = function(e, t, r) {
2364
+ g.prototype.stepProgram = function(e, t, r) {
2365
2365
  if (e = r.body.shift())
2366
2366
  return t.done = !1, new w(e, t.scope);
2367
2367
  t.done = !0;
2368
2368
  };
2369
- m.prototype.stepReturnStatement = function(e, t, r) {
2369
+ g.prototype.stepReturnStatement = function(e, t, r) {
2370
2370
  if (r.K && !t.ka)
2371
2371
  return t.ka = !0, new w(r.K, t.scope);
2372
2372
  it(this, 3, t.value);
2373
2373
  };
2374
- m.prototype.stepSequenceExpression = function(e, t, r) {
2374
+ g.prototype.stepSequenceExpression = function(e, t, r) {
2375
2375
  var n = t.A || 0;
2376
2376
  if (r = r.xb[n])
2377
2377
  return t.A = n + 1, new w(r, t.scope);
2378
2378
  e.pop(), e[e.length - 1].value = t.value;
2379
2379
  };
2380
- m.prototype.stepSwitchStatement = function(e, t, r) {
2380
+ g.prototype.stepSwitchStatement = function(e, t, r) {
2381
2381
  if (!t.ga)
2382
2382
  return t.ga = 1, new w(r.Qb, t.scope);
2383
2383
  for (t.ga === 1 && (t.ga = 2, t.hc = t.value, t.cb = -1); ; ) {
@@ -2404,25 +2404,25 @@ m.prototype.stepSwitchStatement = function(e, t, r) {
2404
2404
  t.cb = n, t.gb = n + 1;
2405
2405
  }
2406
2406
  };
2407
- m.prototype.stepThisExpression = function(e) {
2408
- e.pop(), e[e.length - 1].value = cn(this, "this");
2407
+ g.prototype.stepThisExpression = function(e) {
2408
+ e.pop(), e[e.length - 1].value = sn(this, "this");
2409
2409
  };
2410
- m.prototype.stepThrowStatement = function(e, t, r) {
2410
+ g.prototype.stepThrowStatement = function(e, t, r) {
2411
2411
  if (t.ka)
2412
- k(this, t.value);
2412
+ C(this, t.value);
2413
2413
  else
2414
2414
  return t.ka = !0, new w(r.K, t.scope);
2415
2415
  };
2416
- m.prototype.stepTryStatement = function(e, t, r) {
2416
+ g.prototype.stepTryStatement = function(e, t, r) {
2417
2417
  if (!t.Rb)
2418
2418
  return t.Rb = !0, new w(r.block, t.scope);
2419
2419
  if (t.ea && t.ea.type === 4 && !t.Tb && r.Ea)
2420
- return t.Tb = !0, e = ln(this, t.scope), this.g(e.object, r.Ea.Ua.name, t.ea.value), t.ea = void 0, new w(r.Ea.body, e);
2420
+ return t.Tb = !0, e = an(this, t.scope), this.g(e.object, r.Ea.Ua.name, t.ea.value), t.ea = void 0, new w(r.Ea.body, e);
2421
2421
  if (!t.Sb && r.fb)
2422
2422
  return t.Sb = !0, new w(r.fb, t.scope);
2423
2423
  e.pop(), t.ea && it(this, t.ea.type, t.ea.value, t.ea.label);
2424
2424
  };
2425
- m.prototype.stepUnaryExpression = function(e, t, r) {
2425
+ g.prototype.stepUnaryExpression = function(e, t, r) {
2426
2426
  if (!t.ka)
2427
2427
  return t.ka = !0, e = new w(r.K, t.scope), e.sa = r.operator === "delete", e;
2428
2428
  e.pop();
@@ -2447,7 +2447,7 @@ m.prototype.stepUnaryExpression = function(e, t, r) {
2447
2447
  try {
2448
2448
  delete i.h[n];
2449
2449
  } catch {
2450
- t.scope.S ? k(this, this.j, "Cannot delete property '" + n + "' of '" + i + "'") : r = !1;
2450
+ t.scope.S ? C(this, this.j, "Cannot delete property '" + n + "' of '" + i + "'") : r = !1;
2451
2451
  }
2452
2452
  }
2453
2453
  n = r;
@@ -2463,11 +2463,11 @@ m.prototype.stepUnaryExpression = function(e, t, r) {
2463
2463
  }
2464
2464
  e[e.length - 1].value = n;
2465
2465
  };
2466
- m.prototype.stepUpdateExpression = function(e, t, r) {
2466
+ g.prototype.stepUpdateExpression = function(e, t, r) {
2467
2467
  if (!t.ja)
2468
2468
  return t.ja = !0, e = new w(r.K, t.scope), e.sa = !0, e;
2469
2469
  if (t.Ga || (t.Ga = t.value), t.Ba && (t.ma = t.value), !t.Ba) {
2470
- var n = un(this, t.Ga);
2470
+ var n = ln(this, t.Ga);
2471
2471
  if (t.ma = n, this.P)
2472
2472
  return t.Ba = !0, ot(this, n, t.Ga);
2473
2473
  }
@@ -2480,42 +2480,42 @@ m.prototype.stepUpdateExpression = function(e, t, r) {
2480
2480
  i = n - 1;
2481
2481
  else
2482
2482
  throw SyntaxError("Unknown update expression: " + r.operator);
2483
- if (r = r.prefix ? i : n, n = dn(this, t.Ga, i))
2484
- return t.ta = !0, t.ib = r, fn(this, n, t.Ga, i);
2483
+ if (r = r.prefix ? i : n, n = cn(this, t.Ga, i))
2484
+ return t.ta = !0, t.ib = r, un(this, n, t.Ga, i);
2485
2485
  e.pop(), e[e.length - 1].value = r;
2486
2486
  }
2487
2487
  };
2488
- m.prototype.stepVariableDeclaration = function(e, t, r) {
2488
+ g.prototype.stepVariableDeclaration = function(e, t, r) {
2489
2489
  r = r.fa;
2490
2490
  var n = t.A || 0, i = r[n];
2491
- for (t.Bb && i && (gr(this, i.id.name, t.value), t.Bb = !1, i = r[++n]); i; ) {
2491
+ for (t.Bb && i && (hr(this, i.id.name, t.value), t.Bb = !1, i = r[++n]); i; ) {
2492
2492
  if (i.ua)
2493
2493
  return t.A = n, t.Bb = !0, t.Pa = i.id.name, new w(i.ua, t.scope);
2494
2494
  i = r[++n];
2495
2495
  }
2496
2496
  e.pop();
2497
2497
  };
2498
- m.prototype.stepWithStatement = function(e, t, r) {
2499
- return t.Ca ? (e.pop(), e = ln(this, t.scope, t.value), new w(r.body, e)) : (t.Ca = !0, new w(r.object, t.scope));
2498
+ g.prototype.stepWithStatement = function(e, t, r) {
2499
+ return t.Ca ? (e.pop(), e = an(this, t.scope, t.value), new w(r.body, e)) : (t.Ca = !0, new w(r.object, t.scope));
2500
2500
  };
2501
- m.prototype.stepWhileStatement = m.prototype.stepDoWhileStatement;
2502
- we.Interpreter = m;
2503
- m.prototype.step = m.prototype.lb;
2504
- m.prototype.run = m.prototype.Eb;
2505
- m.prototype.appendCode = m.prototype.Jb;
2506
- m.prototype.createObject = m.prototype.Aa;
2507
- m.prototype.createObjectProto = m.prototype.s;
2508
- m.prototype.createAsyncFunction = m.prototype.ub;
2509
- m.prototype.createNativeFunction = m.prototype.i;
2510
- m.prototype.getProperty = m.prototype.G;
2511
- m.prototype.setProperty = m.prototype.g;
2512
- m.prototype.nativeToPseudo = m.prototype.Ia;
2513
- m.prototype.pseudoToNative = m.prototype.R;
2514
- m.prototype.getGlobalScope = m.prototype.Xb;
2515
- m.prototype.getStateStack = m.prototype.Yb;
2516
- m.prototype.setStateStack = m.prototype.ec;
2517
- m.VALUE_IN_DESCRIPTOR = et;
2518
- const gi = (e) => e.split(`
2501
+ g.prototype.stepWhileStatement = g.prototype.stepDoWhileStatement;
2502
+ we.Interpreter = g;
2503
+ g.prototype.step = g.prototype.lb;
2504
+ g.prototype.run = g.prototype.Eb;
2505
+ g.prototype.appendCode = g.prototype.Jb;
2506
+ g.prototype.createObject = g.prototype.Aa;
2507
+ g.prototype.createObjectProto = g.prototype.s;
2508
+ g.prototype.createAsyncFunction = g.prototype.ub;
2509
+ g.prototype.createNativeFunction = g.prototype.i;
2510
+ g.prototype.getProperty = g.prototype.G;
2511
+ g.prototype.setProperty = g.prototype.g;
2512
+ g.prototype.nativeToPseudo = g.prototype.Ia;
2513
+ g.prototype.pseudoToNative = g.prototype.R;
2514
+ g.prototype.getGlobalScope = g.prototype.Xb;
2515
+ g.prototype.getStateStack = g.prototype.Yb;
2516
+ g.prototype.setStateStack = g.prototype.ec;
2517
+ g.VALUE_IN_DESCRIPTOR = et;
2518
+ const mi = (e) => e.split(`
2519
2519
  `).map((t) => {
2520
2520
  const r = t.trim();
2521
2521
  if (t.includes("__awaiter"))
@@ -2528,7 +2528,7 @@ const gi = (e) => e.split(`
2528
2528
  ${u}
2529
2529
  `;
2530
2530
  }).filter(Boolean).join(`
2531
- `), Zn = (e) => e + "JSON", vi = ({
2531
+ `), Jn = (e) => e + "JSON", gi = ({
2532
2532
  builder: e,
2533
2533
  context: t,
2534
2534
  event: r,
@@ -2540,46 +2540,46 @@ const gi = (e) => e.split(`
2540
2540
  const u = {
2541
2541
  ...n,
2542
2542
  ...i
2543
- }, f = fr({
2543
+ }, f = cr({
2544
2544
  builder: e,
2545
2545
  context: t,
2546
2546
  event: r,
2547
2547
  state: u
2548
- }), g = f.map(([O]) => {
2549
- const P = Zn(O);
2550
- return `var ${O} = ${P} === undefined ? undefined : JSON.parse(${P});`;
2548
+ }), m = f.map(([R]) => {
2549
+ const N = Jn(R);
2550
+ return `var ${R} = ${N} === undefined ? undefined : JSON.parse(${N});`;
2551
2551
  }).join(`
2552
- `), v = gi(s);
2552
+ `), v = mi(s);
2553
2553
  if (v === "") {
2554
2554
  Ue.warn("Skipping evaluation of empty code block.");
2555
2555
  return;
2556
2556
  }
2557
- const b = `
2557
+ const y = `
2558
2558
  function theFunction() {
2559
- ${g}
2559
+ ${m}
2560
2560
 
2561
2561
  ${v}
2562
2562
  }
2563
2563
  theFunction();
2564
- `, U = (O, P) => {
2565
- const L = hr(u, O, P);
2566
- a == null || a(L);
2567
- }, F = function(O, P) {
2568
- f.forEach(([L, Y]) => {
2569
- const y = JSON.stringify(Y);
2570
- O.setProperty(P, Zn(L), y);
2571
- }), O.setProperty(P, "setRootState", O.createNativeFunction(U));
2564
+ `, U = (R, N) => {
2565
+ const V = ur(u, R, N);
2566
+ a == null || a(V);
2567
+ }, B = function(R, N) {
2568
+ f.forEach(([V, Y]) => {
2569
+ const b = JSON.stringify(Y);
2570
+ R.setProperty(N, Jn(V), b);
2571
+ }), R.setProperty(N, "setRootState", R.createNativeFunction(U));
2572
2572
  };
2573
2573
  try {
2574
- const O = new m(b, F);
2575
- return O.run(), O.pseudoToNative(O.value);
2576
- } catch (O) {
2574
+ const R = new g(y, B);
2575
+ return R.run(), R.pseudoToNative(R.value);
2576
+ } catch (R) {
2577
2577
  Ue.warn("Custom code error in edge runtime. NOTE: your code must be ES5 JavaScript.", {
2578
- e: O
2578
+ e: R
2579
2579
  });
2580
2580
  return;
2581
2581
  }
2582
- }, yi = (e) => je() ? Zr(e) : vi(e);
2582
+ }, vi = (e) => je() ? qr(e) : gi(e);
2583
2583
  function nt({
2584
2584
  code: e,
2585
2585
  context: t,
@@ -2594,10 +2594,10 @@ function nt({
2594
2594
  return;
2595
2595
  }
2596
2596
  const u = {
2597
- code: qr(e, {
2597
+ code: Jr(e, {
2598
2598
  isExpression: s
2599
2599
  }),
2600
- builder: Jr(),
2600
+ builder: Yr(),
2601
2601
  context: t,
2602
2602
  event: a,
2603
2603
  rootSetState: i,
@@ -2605,7 +2605,7 @@ function nt({
2605
2605
  localState: r
2606
2606
  };
2607
2607
  try {
2608
- return yi(u);
2608
+ return vi(u);
2609
2609
  } catch (f) {
2610
2610
  Ue.error("Failed code evaluation: " + f.message, {
2611
2611
  code: e
@@ -2613,7 +2613,7 @@ function nt({
2613
2613
  return;
2614
2614
  }
2615
2615
  }
2616
- const xi = ({
2616
+ const yi = ({
2617
2617
  block: e,
2618
2618
  context: t,
2619
2619
  localState: r,
@@ -2622,7 +2622,7 @@ const xi = ({
2622
2622
  }) => {
2623
2623
  if (!e.bindings)
2624
2624
  return e;
2625
- const a = Qt(e), s = {
2625
+ const a = qt(e), s = {
2626
2626
  ...a,
2627
2627
  properties: {
2628
2628
  ...a.properties
@@ -2632,14 +2632,14 @@ const xi = ({
2632
2632
  }
2633
2633
  };
2634
2634
  for (const u in e.bindings) {
2635
- const f = e.bindings[u], g = nt({
2635
+ const f = e.bindings[u], m = nt({
2636
2636
  code: f,
2637
2637
  localState: r,
2638
2638
  rootState: n,
2639
2639
  rootSetState: i,
2640
2640
  context: t
2641
2641
  });
2642
- hr(s, u, g);
2642
+ ur(s, u, m);
2643
2643
  }
2644
2644
  return s;
2645
2645
  };
@@ -2652,7 +2652,7 @@ function mt({
2652
2652
  rootSetState: a
2653
2653
  }) {
2654
2654
  const s = e;
2655
- return r ? xi({
2655
+ return r ? yi({
2656
2656
  block: s,
2657
2657
  localState: n,
2658
2658
  rootState: i,
@@ -2660,7 +2660,7 @@ function mt({
2660
2660
  context: t
2661
2661
  }) : s;
2662
2662
  }
2663
- const bi = ["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen", "link", "meta", "param", "source", "track", "wbr"], $t = (e) => typeof e == "string" && bi.includes(e.toLowerCase()), Si = ({
2663
+ const bi = ({
2664
2664
  block: e,
2665
2665
  context: t,
2666
2666
  registeredComponents: r
@@ -2682,7 +2682,7 @@ const bi = ["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen"
2682
2682
  console.warn(`
2683
2683
  Could not find a registered component named "${n}".
2684
2684
  If you registered it, is the file that registered it imported by the file that needs to render it?`);
2685
- }, wi = ({
2685
+ }, xi = ({
2686
2686
  block: e,
2687
2687
  context: t
2688
2688
  }) => {
@@ -2702,20 +2702,20 @@ const bi = ["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen"
2702
2702
  if (!Array.isArray(i))
2703
2703
  return;
2704
2704
  const a = r.collection.split(".").pop(), s = r.itemName || (a ? a + "Item" : "item");
2705
- return i.map((f, g) => ({
2705
+ return i.map((f, m) => ({
2706
2706
  context: {
2707
2707
  ...t,
2708
2708
  localState: {
2709
2709
  ...t.localState,
2710
- $index: g,
2710
+ $index: m,
2711
2711
  $item: f,
2712
2712
  [s]: f,
2713
- [`$${s}Index`]: g
2713
+ [`$${s}Index`]: m
2714
2714
  }
2715
2715
  },
2716
2716
  block: n
2717
2717
  }));
2718
- }, xr = {
2718
+ }, gr = {
2719
2719
  small: {
2720
2720
  min: 320,
2721
2721
  default: 321,
@@ -2731,11 +2731,11 @@ const bi = ["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen"
2731
2731
  default: 991,
2732
2732
  max: 1200
2733
2733
  }
2734
- }, Qn = (e, t = xr) => `@media (max-width: ${t[e].max}px)`, br = ({
2734
+ }, qn = (e, t = gr) => `@media (max-width: ${t[e].max}px)`, vr = ({
2735
2735
  small: e,
2736
2736
  medium: t
2737
2737
  }) => {
2738
- const r = Qt(xr);
2738
+ const r = qt(gr);
2739
2739
  if (!e || !t)
2740
2740
  return r;
2741
2741
  const n = Math.floor(e / 2);
@@ -2757,26 +2757,26 @@ const bi = ["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen"
2757
2757
  min: a,
2758
2758
  default: a + 1
2759
2759
  }, r;
2760
- }, ki = (e) => e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase(), Sr = (e) => Object.entries(e).map(([r, n]) => {
2760
+ }, Si = (e) => e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase(), yr = (e) => Object.entries(e).map(([r, n]) => {
2761
2761
  if (typeof n == "string")
2762
- return `${ki(r)}: ${n};`;
2763
- }).filter(Gt), Ci = (e) => Sr(e).join(`
2764
- `), Ht = ({
2762
+ return `${Si(r)}: ${n};`;
2763
+ }).filter(Kt), wi = (e) => yr(e).join(`
2764
+ `), $t = ({
2765
2765
  mediaQuery: e,
2766
2766
  className: t,
2767
2767
  styles: r
2768
2768
  }) => {
2769
2769
  const n = `.${t} {
2770
- ${Ci(r)}
2770
+ ${wi(r)}
2771
2771
  }`;
2772
2772
  return e ? `${e} {
2773
2773
  ${n}
2774
2774
  }` : n;
2775
2775
  };
2776
- function xt(e) {
2776
+ function yt(e) {
2777
2777
  return /* @__PURE__ */ p("style", { dangerouslySetInnerHTML: { __html: e.styles }, id: e.id });
2778
2778
  }
2779
- function Ei(e) {
2779
+ function ki(e) {
2780
2780
  function t() {
2781
2781
  const n = mt({
2782
2782
  block: e.block,
@@ -2786,10 +2786,10 @@ function Ei(e) {
2786
2786
  context: e.context.context,
2787
2787
  shouldEvaluateBindings: !0
2788
2788
  });
2789
- return Gt(n.hide) ? !n.hide : Gt(n.show) ? n.show : !0;
2789
+ return Kt(n.hide) ? !n.hide : Kt(n.show) ? n.show : !0;
2790
2790
  }
2791
2791
  function r() {
2792
- var O;
2792
+ var R;
2793
2793
  const n = mt({
2794
2794
  block: e.block,
2795
2795
  localState: e.context.localState,
@@ -2797,37 +2797,37 @@ function Ei(e) {
2797
2797
  rootSetState: e.context.rootSetState,
2798
2798
  context: e.context.context,
2799
2799
  shouldEvaluateBindings: !0
2800
- }), i = n.responsiveStyles, a = e.context.content, s = br(
2801
- ((O = a == null ? void 0 : a.meta) == null ? void 0 : O.breakpoints) || {}
2802
- ), u = i == null ? void 0 : i.large, f = i == null ? void 0 : i.medium, g = i == null ? void 0 : i.small, v = n.id;
2800
+ }), i = n.responsiveStyles, a = e.context.content, s = vr(
2801
+ ((R = a == null ? void 0 : a.meta) == null ? void 0 : R.breakpoints) || {}
2802
+ ), u = i == null ? void 0 : i.large, f = i == null ? void 0 : i.medium, m = i == null ? void 0 : i.small, v = n.id;
2803
2803
  if (!v)
2804
2804
  return "";
2805
- const b = u ? Ht({
2805
+ const y = u ? $t({
2806
2806
  className: v,
2807
2807
  styles: u
2808
- }) : "", U = f ? Ht({
2808
+ }) : "", U = f ? $t({
2809
2809
  className: v,
2810
2810
  styles: f,
2811
- mediaQuery: Qn(
2811
+ mediaQuery: qn(
2812
2812
  "medium",
2813
2813
  s
2814
2814
  )
2815
- }) : "", F = g ? Ht({
2815
+ }) : "", B = m ? $t({
2816
2816
  className: v,
2817
- styles: g,
2818
- mediaQuery: Qn(
2817
+ styles: m,
2818
+ mediaQuery: qn(
2819
2819
  "small",
2820
2820
  s
2821
2821
  )
2822
2822
  }) : "";
2823
- return [b, U, F].join(" ");
2823
+ return [y, U, B].join(" ");
2824
2824
  }
2825
- return /* @__PURE__ */ p(N, { children: r() && t() ? /* @__PURE__ */ p(N, { children: /* @__PURE__ */ p(xt, { styles: r() }) }) : null });
2825
+ return /* @__PURE__ */ p(P, { children: r() && t() ? /* @__PURE__ */ p(P, { children: /* @__PURE__ */ p(yt, { styles: r() }) }) : null });
2826
2826
  }
2827
- function Ii(e) {
2827
+ function Ci(e) {
2828
2828
  return e.charAt(0).toUpperCase() + e.slice(1);
2829
2829
  }
2830
- const Ti = (e) => `on${Ii(e)}`, ji = (e, t) => (r) => nt({
2830
+ const Ei = (e) => `on${Ci(e)}`, Ii = (e, t) => (r) => nt({
2831
2831
  code: e,
2832
2832
  context: t.context,
2833
2833
  localState: t.localState,
@@ -2836,14 +2836,14 @@ const Ti = (e) => `on${Ii(e)}`, ji = (e, t) => (r) => nt({
2836
2836
  event: r,
2837
2837
  isExpression: !1
2838
2838
  });
2839
- function Jt(e) {
2839
+ function br(e) {
2840
2840
  var n;
2841
2841
  const t = {}, r = (n = e.block.actions) != null ? n : {};
2842
2842
  for (const i in r) {
2843
2843
  if (!r.hasOwnProperty(i))
2844
2844
  continue;
2845
2845
  const a = r[i];
2846
- let s = Ti(i);
2846
+ let s = Ei(i);
2847
2847
  if (e.stripPrefix)
2848
2848
  switch (rt) {
2849
2849
  case "vue":
@@ -2853,42 +2853,42 @@ function Jt(e) {
2853
2853
  s = s.replace("on:", "");
2854
2854
  break;
2855
2855
  }
2856
- t[s] = ji(a, e);
2856
+ t[s] = Ii(a, e);
2857
2857
  }
2858
2858
  return t;
2859
2859
  }
2860
- function Ai({
2860
+ function Ti({
2861
2861
  properties: e
2862
2862
  }) {
2863
2863
  return e.className = e.class, delete e.class, e;
2864
2864
  }
2865
- const Ri = (e) => ({
2865
+ const ji = (e) => ({
2866
2866
  href: e.href
2867
2867
  });
2868
- function gt({
2868
+ function dn({
2869
2869
  block: e,
2870
2870
  context: t
2871
2871
  }) {
2872
2872
  var n;
2873
2873
  const r = {
2874
- ...Ri(e),
2874
+ ...ji(e),
2875
2875
  ...e.properties,
2876
2876
  "builder-id": e.id,
2877
- style: e.style ? Oi(e.style) : void 0,
2877
+ style: e.style ? Ai(e.style) : void 0,
2878
2878
  class: [e.id, "builder-block", e.class, (n = e.properties) == null ? void 0 : n.class].filter(Boolean).join(" ")
2879
2879
  };
2880
- return Ai({
2880
+ return Ti({
2881
2881
  properties: r,
2882
2882
  context: t,
2883
2883
  block: e
2884
2884
  });
2885
2885
  }
2886
- function Oi(e) {
2886
+ function Ai(e) {
2887
2887
  switch (rt) {
2888
2888
  case "svelte":
2889
2889
  case "vue":
2890
2890
  case "solid":
2891
- return Sr(e).join(" ");
2891
+ return yr(e).join(" ");
2892
2892
  case "qwik":
2893
2893
  case "reactNative":
2894
2894
  case "react":
@@ -2896,61 +2896,42 @@ function Oi(e) {
2896
2896
  return e;
2897
2897
  }
2898
2898
  }
2899
- function er(e) {
2900
- return /* @__PURE__ */ te(N, { children: [
2901
- " ",
2902
- e.hasChildren ? /* @__PURE__ */ p(N, { children: /* @__PURE__ */ te(
2903
- e.Wrapper,
2904
- {
2905
- ...gt({
2906
- block: e.block,
2907
- context: e.context
2908
- }),
2909
- ...Jt({
2910
- block: e.block,
2911
- rootState: e.context.rootState,
2912
- rootSetState: e.context.rootSetState,
2913
- localState: e.context.localState,
2914
- context: e.context.context,
2915
- stripPrefix: !0
2916
- }),
2917
- children: [
2918
- " ",
2919
- e.children,
2920
- " "
2921
- ]
2922
- }
2923
- ) }) : /* @__PURE__ */ p(N, { children: /* @__PURE__ */ p(
2924
- e.Wrapper,
2925
- {
2926
- ...gt({
2927
- block: e.block,
2928
- context: e.context
2929
- }),
2930
- ...Jt({
2931
- block: e.block,
2932
- rootState: e.context.rootState,
2933
- rootSetState: e.context.rootSetState,
2934
- localState: e.context.localState,
2935
- context: e.context.context,
2936
- stripPrefix: !0
2937
- })
2938
- }
2939
- ) }),
2940
- " "
2941
- ] });
2942
- }
2899
+ const Ri = /* @__PURE__ */ new Set(["area", "base", "br", "col", "embed", "hr", "img", "input", "keygen", "link", "meta", "param", "source", "track", "wbr"]), Oi = (e) => typeof e == "string" && Ri.has(e.toLowerCase());
2943
2900
  function Pi(e) {
2901
+ return /* @__PURE__ */ p(P, { children: Oi(e.TagName) ? /* @__PURE__ */ p(P, { children: /* @__PURE__ */ p(e.TagName, { ...e.attributes, ...e.actionAttributes }) }) : /* @__PURE__ */ p(P, { children: typeof e.TagName == "string" ? /* @__PURE__ */ p(P, { children: /* @__PURE__ */ p(e.TagName, { ...e.attributes, ...e.actionAttributes, children: e.children }) }) : /* @__PURE__ */ p(P, { children: /* @__PURE__ */ p(e.TagName, { ...e.attributes, ...e.actionAttributes, children: e.children }) }) }) });
2902
+ }
2903
+ function Ni(e) {
2904
+ return /* @__PURE__ */ p(
2905
+ Pi,
2906
+ {
2907
+ TagName: e.Wrapper,
2908
+ attributes: dn({
2909
+ block: e.block,
2910
+ context: e.context
2911
+ }),
2912
+ actionAttributes: br({
2913
+ block: e.block,
2914
+ rootState: e.context.rootState,
2915
+ rootSetState: e.context.rootSetState,
2916
+ localState: e.context.localState,
2917
+ context: e.context.context,
2918
+ stripPrefix: !0
2919
+ }),
2920
+ children: e.children
2921
+ }
2922
+ );
2923
+ }
2924
+ function Mi(e) {
2944
2925
  return /* @__PURE__ */ p(
2945
2926
  e.Wrapper,
2946
2927
  {
2947
2928
  ...e.wrapperProps,
2948
2929
  attributes: e.includeBlockProps ? {
2949
- ...gt({
2930
+ ...dn({
2950
2931
  block: e.block,
2951
2932
  context: e.context
2952
2933
  }),
2953
- ...Jt({
2934
+ ...br({
2954
2935
  block: e.block,
2955
2936
  rootState: e.context.rootState,
2956
2937
  rootSetState: e.context.rootSetState,
@@ -2962,7 +2943,7 @@ function Pi(e) {
2962
2943
  }
2963
2944
  );
2964
2945
  }
2965
- const Ni = ({
2946
+ const Bi = ({
2966
2947
  componentOptions: e,
2967
2948
  builderBlock: t,
2968
2949
  context: r,
@@ -2978,7 +2959,7 @@ const Ni = ({
2978
2959
  * component itself directly. Otherwise, they are provided to the wrapper element.
2979
2960
  */
2980
2961
  ...i ? {
2981
- attributes: gt({
2962
+ attributes: dn({
2982
2963
  block: t,
2983
2964
  context: s
2984
2965
  })
@@ -2992,15 +2973,15 @@ const Ni = ({
2992
2973
  includeBlockProps: i
2993
2974
  } : u;
2994
2975
  };
2995
- function tr(e) {
2976
+ function Zn(e) {
2996
2977
  var n;
2997
- const [t, r] = V(
2998
- () => e.isInteractive ? Pi : e.componentRef
2978
+ const [t, r] = L(
2979
+ () => e.isInteractive ? Mi : e.componentRef
2999
2980
  );
3000
- return /* @__PURE__ */ p(N, { children: e.componentRef ? /* @__PURE__ */ p(N, { children: /* @__PURE__ */ p(
2981
+ return /* @__PURE__ */ p(P, { children: e.componentRef ? /* @__PURE__ */ p(P, { children: /* @__PURE__ */ p(
3001
2982
  t,
3002
2983
  {
3003
- ...Ni({
2984
+ ...Bi({
3004
2985
  componentOptions: e.componentOptions,
3005
2986
  builderBlock: e.builderBlock,
3006
2987
  context: e.context,
@@ -3021,9 +3002,9 @@ function tr(e) {
3021
3002
  }
3022
3003
  ) }) : null });
3023
3004
  }
3024
- function Mi(e) {
3025
- const [t, r] = V(() => e.repeatContext);
3026
- return /* @__PURE__ */ p(en.Provider, { value: t, children: /* @__PURE__ */ p(
3005
+ function Fi(e) {
3006
+ const [t, r] = L(() => e.repeatContext);
3007
+ return /* @__PURE__ */ p(Zt.Provider, { value: t, children: /* @__PURE__ */ p(
3027
3008
  bt,
3028
3009
  {
3029
3010
  block: e.block,
@@ -3033,23 +3014,23 @@ function Mi(e) {
3033
3014
  ) });
3034
3015
  }
3035
3016
  function bt(e) {
3036
- var v, b, U;
3017
+ var v, y, U;
3037
3018
  function t() {
3038
- return Si({
3019
+ return bi({
3039
3020
  block: e.block,
3040
3021
  context: e.context,
3041
3022
  registeredComponents: e.registeredComponents
3042
3023
  });
3043
3024
  }
3044
3025
  function r() {
3045
- return wi({
3026
+ return xi({
3046
3027
  block: e.block,
3047
3028
  context: e.context
3048
3029
  });
3049
3030
  }
3050
3031
  function n() {
3051
- var F;
3052
- return (F = e.block.repeat) != null && F.collection ? e.block : mt({
3032
+ var B;
3033
+ return (B = e.block.repeat) != null && B.collection ? e.block : mt({
3053
3034
  block: e.block,
3054
3035
  localState: e.context.localState,
3055
3036
  rootState: e.context.rootState,
@@ -3062,25 +3043,25 @@ function bt(e) {
3062
3043
  return e.block.tagName || "div";
3063
3044
  }
3064
3045
  function a() {
3065
- var P, L;
3066
- if ((P = e.block.repeat) != null && P.collection)
3067
- return !!((L = r == null ? void 0 : r()) != null && L.length);
3068
- const F = "hide" in n() ? n().hide : !1;
3069
- return ("show" in n() ? n().show : !0) && !F;
3046
+ var N, V;
3047
+ if ((N = e.block.repeat) != null && N.collection)
3048
+ return !!((V = r == null ? void 0 : r()) != null && V.length);
3049
+ const B = "hide" in n() ? n().hide : !1;
3050
+ return ("show" in n() ? n().show : !0) && !B;
3070
3051
  }
3071
3052
  function s() {
3072
- var O, P;
3073
- return !((O = t == null ? void 0 : t()) != null && O.component) && !r() ? (P = n().children) != null ? P : [] : [];
3053
+ var R, N;
3054
+ return !((R = t == null ? void 0 : t()) != null && R.component) && !r() ? (N = n().children) != null ? N : [] : [];
3074
3055
  }
3075
3056
  function u() {
3076
- var F, O, P, L, Y, y;
3057
+ var B, R, N, V, Y, b;
3077
3058
  return {
3078
- blockChildren: (F = n().children) != null ? F : [],
3079
- componentRef: (O = t == null ? void 0 : t()) == null ? void 0 : O.component,
3059
+ blockChildren: (B = n().children) != null ? B : [],
3060
+ componentRef: (R = t == null ? void 0 : t()) == null ? void 0 : R.component,
3080
3061
  componentOptions: {
3081
- ...Yr(n()),
3062
+ ...Xr(n()),
3082
3063
  builderContext: e.context,
3083
- ...((P = t == null ? void 0 : t()) == null ? void 0 : P.name) === "Symbol" || ((L = t == null ? void 0 : t()) == null ? void 0 : L.name) === "Columns" ? {
3064
+ ...((N = t == null ? void 0 : t()) == null ? void 0 : N.name) === "Symbol" || ((V = t == null ? void 0 : t()) == null ? void 0 : V.name) === "Columns" ? {
3084
3065
  builderComponents: e.registeredComponents
3085
3066
  } : {}
3086
3067
  },
@@ -3088,14 +3069,14 @@ function bt(e) {
3088
3069
  registeredComponents: e.registeredComponents,
3089
3070
  builderBlock: n(),
3090
3071
  includeBlockProps: ((Y = t == null ? void 0 : t()) == null ? void 0 : Y.noWrap) === !0,
3091
- isInteractive: !((y = t == null ? void 0 : t()) != null && y.isRSC)
3072
+ isInteractive: !((b = t == null ? void 0 : t()) != null && b.isRSC)
3092
3073
  };
3093
3074
  }
3094
- const [f, g] = V(() => e.context);
3095
- return /* @__PURE__ */ p(N, { children: a() ? /* @__PURE__ */ te(N, { children: [
3096
- /* @__PURE__ */ p(Ei, { block: e.block, context: e.context }),
3097
- (v = t == null ? void 0 : t()) != null && v.noWrap ? /* @__PURE__ */ p(N, { children: /* @__PURE__ */ p(
3098
- tr,
3075
+ const [f, m] = L(() => e.context);
3076
+ return /* @__PURE__ */ p(P, { children: a() ? /* @__PURE__ */ se(P, { children: [
3077
+ /* @__PURE__ */ p(ki, { block: e.block, context: e.context }),
3078
+ (v = t == null ? void 0 : t()) != null && v.noWrap ? /* @__PURE__ */ p(P, { children: /* @__PURE__ */ p(
3079
+ Zn,
3099
3080
  {
3100
3081
  componentRef: u().componentRef,
3101
3082
  componentOptions: u().componentOptions,
@@ -3106,62 +3087,49 @@ function bt(e) {
3106
3087
  includeBlockProps: u().includeBlockProps,
3107
3088
  isInteractive: u().isInteractive
3108
3089
  }
3109
- ) }) : /* @__PURE__ */ te(N, { children: [
3110
- $t(i()) ? /* @__PURE__ */ p(N, { children: /* @__PURE__ */ p(
3111
- er,
3112
- {
3113
- Wrapper: i(),
3114
- block: n(),
3115
- context: e.context,
3116
- hasChildren: !1
3117
- }
3118
- ) }) : null,
3119
- !$t(i()) && r() ? /* @__PURE__ */ p(N, { children: (b = r()) == null ? void 0 : b.map((F, O) => /* @__PURE__ */ p(
3120
- Mi,
3121
- {
3122
- repeatContext: F.context,
3123
- block: F.block,
3124
- registeredComponents: e.registeredComponents
3125
- },
3126
- O
3127
- )) }) : null,
3128
- !$t(i()) && !r() ? /* @__PURE__ */ p(N, { children: /* @__PURE__ */ te(
3129
- er,
3130
- {
3131
- Wrapper: i(),
3132
- block: n(),
3133
- context: e.context,
3134
- hasChildren: !0,
3135
- children: [
3136
- /* @__PURE__ */ p(
3137
- tr,
3138
- {
3139
- componentRef: u().componentRef,
3140
- componentOptions: u().componentOptions,
3141
- blockChildren: u().blockChildren,
3142
- context: u().context,
3143
- registeredComponents: u().registeredComponents,
3144
- builderBlock: u().builderBlock,
3145
- includeBlockProps: u().includeBlockProps,
3146
- isInteractive: u().isInteractive
3147
- }
3148
- ),
3149
- (U = s()) == null ? void 0 : U.map((F) => /* @__PURE__ */ p(
3150
- bt,
3151
- {
3152
- block: F,
3153
- context: f,
3154
- registeredComponents: e.registeredComponents
3155
- },
3156
- F.id
3157
- ))
3158
- ]
3159
- }
3160
- ) }) : null
3161
- ] })
3090
+ ) }) : /* @__PURE__ */ p(P, { children: r() ? /* @__PURE__ */ p(P, { children: (U = r()) == null ? void 0 : U.map((B, R) => /* @__PURE__ */ p(
3091
+ Fi,
3092
+ {
3093
+ repeatContext: B.context,
3094
+ block: B.block,
3095
+ registeredComponents: e.registeredComponents
3096
+ },
3097
+ R
3098
+ )) }) : /* @__PURE__ */ p(P, { children: /* @__PURE__ */ se(
3099
+ Ni,
3100
+ {
3101
+ Wrapper: i(),
3102
+ block: n(),
3103
+ context: e.context,
3104
+ children: [
3105
+ /* @__PURE__ */ p(
3106
+ Zn,
3107
+ {
3108
+ componentRef: u().componentRef,
3109
+ componentOptions: u().componentOptions,
3110
+ blockChildren: u().blockChildren,
3111
+ context: u().context,
3112
+ registeredComponents: u().registeredComponents,
3113
+ builderBlock: u().builderBlock,
3114
+ includeBlockProps: u().includeBlockProps,
3115
+ isInteractive: u().isInteractive
3116
+ }
3117
+ ),
3118
+ (y = s()) == null ? void 0 : y.map((B) => /* @__PURE__ */ p(
3119
+ bt,
3120
+ {
3121
+ block: B,
3122
+ context: f,
3123
+ registeredComponents: e.registeredComponents
3124
+ },
3125
+ B.id
3126
+ ))
3127
+ ]
3128
+ }
3129
+ ) }) })
3162
3130
  ] }) : null });
3163
3131
  }
3164
- function Bi(e) {
3132
+ function Ui(e) {
3165
3133
  function t() {
3166
3134
  var i;
3167
3135
  return "builder-blocks" + ((i = e.blocks) != null && i.length ? "" : " no-blocks");
@@ -3192,7 +3160,7 @@ function Bi(e) {
3192
3160
  "*"
3193
3161
  ));
3194
3162
  }
3195
- return /* @__PURE__ */ te(N, { children: [
3163
+ return /* @__PURE__ */ se(P, { children: [
3196
3164
  /* @__PURE__ */ p(
3197
3165
  e.BlocksWrapper,
3198
3166
  {
@@ -3214,11 +3182,11 @@ function Bi(e) {
3214
3182
  }` })
3215
3183
  ] });
3216
3184
  }
3217
- function hn(e) {
3185
+ function xt(e) {
3218
3186
  var n, i, a;
3219
- const t = $n(en), r = $n(dr);
3187
+ const t = Ln(Zt), r = Ln(lr);
3220
3188
  return /* @__PURE__ */ p(
3221
- Bi,
3189
+ Ui,
3222
3190
  {
3223
3191
  blocks: e.blocks,
3224
3192
  parent: e.parent,
@@ -3226,7 +3194,7 @@ function hn(e) {
3226
3194
  styleProp: e.styleProp,
3227
3195
  BlocksWrapper: (n = e.context) == null ? void 0 : n.BlocksWrapper,
3228
3196
  BlocksWrapperProps: (i = e.context) == null ? void 0 : i.BlocksWrapperProps,
3229
- children: e.blocks ? /* @__PURE__ */ p(N, { children: (a = e.blocks) == null ? void 0 : a.map((s) => /* @__PURE__ */ p(
3197
+ children: e.blocks ? /* @__PURE__ */ p(P, { children: (a = e.blocks) == null ? void 0 : a.map((s) => /* @__PURE__ */ p(
3230
3198
  bt,
3231
3199
  {
3232
3200
  block: s,
@@ -3238,77 +3206,77 @@ function hn(e) {
3238
3206
  }
3239
3207
  );
3240
3208
  }
3241
- function Fi(e) {
3209
+ function Di(e) {
3242
3210
  var Y;
3243
- const [t, r] = V(
3211
+ const [t, r] = L(
3244
3212
  () => typeof e.space == "number" ? e.space || 0 : 20
3245
- ), [n, i] = V(() => e.columns || []), [a, s] = V(
3213
+ ), [n, i] = L(() => e.columns || []), [a, s] = L(
3246
3214
  () => e.stackColumnsAt || "tablet"
3247
3215
  );
3248
- function u(y) {
3216
+ function u(b) {
3249
3217
  var K;
3250
- return ((K = n[y]) == null ? void 0 : K.width) || 100 / n.length;
3218
+ return ((K = n[b]) == null ? void 0 : K.width) || 100 / n.length;
3251
3219
  }
3252
- function f(y) {
3220
+ function f(b) {
3253
3221
  const K = t * (n.length - 1) / n.length;
3254
- return `calc(${u(y)}% - ${K}px)`;
3222
+ return `calc(${u(b)}% - ${K}px)`;
3255
3223
  }
3256
- function g({
3257
- stackedStyle: y,
3224
+ function m({
3225
+ stackedStyle: b,
3258
3226
  desktopStyle: K
3259
3227
  }) {
3260
- return a === "tablet" ? y : K;
3228
+ return a === "tablet" ? b : K;
3261
3229
  }
3262
3230
  function v({
3263
- stackedStyle: y,
3231
+ stackedStyle: b,
3264
3232
  desktopStyle: K
3265
3233
  }) {
3266
- return a === "never" ? K : y;
3234
+ return a === "never" ? K : b;
3267
3235
  }
3268
- const [b, U] = V(
3236
+ const [y, U] = L(
3269
3237
  () => e.stackColumnsAt === "never" ? "row" : e.reverseColumnsWhenStacked ? "column-reverse" : "column"
3270
3238
  );
3271
- function F() {
3239
+ function B() {
3272
3240
  return {
3273
- "--flex-dir": b,
3274
- "--flex-dir-tablet": g({
3275
- stackedStyle: b,
3241
+ "--flex-dir": y,
3242
+ "--flex-dir-tablet": m({
3243
+ stackedStyle: y,
3276
3244
  desktopStyle: "row"
3277
3245
  })
3278
3246
  };
3279
3247
  }
3280
- function O(y) {
3281
- const K = y === 0 ? 0 : t, ne = f(y), le = `${K}px`, $ = "100%", re = 0;
3248
+ function R(b) {
3249
+ const K = b === 0 ? 0 : t, te = f(b), le = `${K}px`, $ = "100%", ne = 0;
3282
3250
  return {
3283
- width: ne,
3251
+ width: te,
3284
3252
  ["marginLeft"]: le,
3285
3253
  "--column-width-mobile": v({
3286
3254
  stackedStyle: $,
3287
- desktopStyle: ne
3255
+ desktopStyle: te
3288
3256
  }),
3289
3257
  "--column-margin-left-mobile": v({
3290
- stackedStyle: re,
3258
+ stackedStyle: ne,
3291
3259
  desktopStyle: le
3292
3260
  }),
3293
- "--column-width-tablet": g({
3261
+ "--column-width-tablet": m({
3294
3262
  stackedStyle: $,
3295
- desktopStyle: ne
3263
+ desktopStyle: te
3296
3264
  }),
3297
- "--column-margin-left-tablet": g({
3298
- stackedStyle: re,
3265
+ "--column-margin-left-tablet": m({
3266
+ stackedStyle: ne,
3299
3267
  desktopStyle: le
3300
3268
  })
3301
3269
  };
3302
3270
  }
3303
- function P(y) {
3304
- var ne, le;
3305
- return br(
3306
- ((le = (ne = e.builderContext.content) == null ? void 0 : ne.meta) == null ? void 0 : le.breakpoints) || {}
3307
- )[y].max;
3271
+ function N(b) {
3272
+ var te, le;
3273
+ return vr(
3274
+ ((le = (te = e.builderContext.content) == null ? void 0 : te.meta) == null ? void 0 : le.breakpoints) || {}
3275
+ )[b].max;
3308
3276
  }
3309
- function L() {
3277
+ function V() {
3310
3278
  return `
3311
- @media (max-width: ${P("medium")}px) {
3279
+ @media (max-width: ${N("medium")}px) {
3312
3280
  .${e.builderBlock.id}-breakpoints {
3313
3281
  flex-direction: var(--flex-dir-tablet);
3314
3282
  align-items: stretch;
@@ -3320,7 +3288,7 @@ function Fi(e) {
3320
3288
  }
3321
3289
  }
3322
3290
 
3323
- @media (max-width: ${P("small")}px) {
3291
+ @media (max-width: ${N("small")}px) {
3324
3292
  .${e.builderBlock.id}-breakpoints {
3325
3293
  flex-direction: var(--flex-dir);
3326
3294
  align-items: stretch;
@@ -3333,23 +3301,23 @@ function Fi(e) {
3333
3301
  },
3334
3302
  `;
3335
3303
  }
3336
- return /* @__PURE__ */ te(N, { children: [
3337
- /* @__PURE__ */ te(
3304
+ return /* @__PURE__ */ se(P, { children: [
3305
+ /* @__PURE__ */ se(
3338
3306
  "div",
3339
3307
  {
3340
3308
  className: `builder-columns ${e.builderBlock.id}-breakpoints div-3c01d6ec`,
3341
- style: F(),
3309
+ style: B(),
3342
3310
  children: [
3343
- /* @__PURE__ */ p(N, { children: /* @__PURE__ */ p(xt, { styles: L() }) }),
3344
- (Y = e.columns) == null ? void 0 : Y.map((y, K) => /* @__PURE__ */ cr(
3311
+ /* @__PURE__ */ p(P, { children: /* @__PURE__ */ p(yt, { styles: V() }) }),
3312
+ (Y = e.columns) == null ? void 0 : Y.map((b, K) => /* @__PURE__ */ ar(
3345
3313
  "div",
3346
3314
  {
3347
3315
  className: "builder-column div-3c01d6ec-2",
3348
- style: O(K),
3316
+ style: R(K),
3349
3317
  key: K
3350
3318
  },
3351
3319
  /* @__PURE__ */ p(
3352
- hn,
3320
+ xt,
3353
3321
  {
3354
3322
  path: `component.options.columns.${K}.blocks`,
3355
3323
  parent: e.builderBlock.id,
@@ -3358,7 +3326,7 @@ function Fi(e) {
3358
3326
  },
3359
3327
  context: e.builderContext,
3360
3328
  registeredComponents: e.builderComponents,
3361
- blocks: y.blocks
3329
+ blocks: b.blocks
3362
3330
  }
3363
3331
  )
3364
3332
  ))
@@ -3375,54 +3343,54 @@ function Fi(e) {
3375
3343
  }` })
3376
3344
  ] });
3377
3345
  }
3378
- function Ui(e) {
3346
+ function _i(e) {
3379
3347
  return /* @__PURE__ */ p("span", { children: e.children });
3380
3348
  }
3381
- function nr(e) {
3349
+ function Qn(e) {
3382
3350
  return e.replace(/http(s)?:/, "");
3383
3351
  }
3384
- function _i(e = "", t, r) {
3352
+ function Wi(e = "", t, r) {
3385
3353
  const n = new RegExp("([?&])" + t + "=.*?(&|$)", "i"), i = e.indexOf("?") !== -1 ? "&" : "?";
3386
3354
  return e.match(n) ? e.replace(n, "$1" + t + "=" + encodeURIComponent(r) + "$2") : e + i + t + "=" + encodeURIComponent(r);
3387
3355
  }
3388
- function Di(e, t) {
3356
+ function Li(e, t) {
3389
3357
  if (!e || !(e != null && e.match(/cdn\.shopify\.com/)) || !t)
3390
3358
  return e;
3391
3359
  if (t === "master")
3392
- return nr(e);
3360
+ return Qn(e);
3393
3361
  const r = e.match(/(_\d+x(\d+)?)?(\.(jpg|jpeg|gif|png|bmp|bitmap|tiff|tif)(\?v=\d+)?)/i);
3394
3362
  if (r) {
3395
3363
  const n = e.split(r[0]), i = r[3], a = t.match("x") ? t : `${t}x`;
3396
- return nr(`${n[0]}_${a}${i}`);
3364
+ return Qn(`${n[0]}_${a}${i}`);
3397
3365
  }
3398
3366
  return null;
3399
3367
  }
3400
- function Kt(e) {
3368
+ function Ht(e) {
3401
3369
  if (!e)
3402
3370
  return e;
3403
3371
  const t = [100, 200, 400, 800, 1200, 1600, 2e3];
3404
3372
  if (e.match(/builder\.io/)) {
3405
3373
  let r = e;
3406
3374
  const n = Number(e.split("?width=")[1]);
3407
- return isNaN(n) || (r = `${r} ${n}w`), t.filter((i) => i !== n).map((i) => `${_i(e, "width", i)} ${i}w`).concat([r]).join(", ");
3375
+ return isNaN(n) || (r = `${r} ${n}w`), t.filter((i) => i !== n).map((i) => `${Wi(e, "width", i)} ${i}w`).concat([r]).join(", ");
3408
3376
  }
3409
- return e.match(/cdn\.shopify\.com/) ? t.map((r) => [Di(e, `${r}x${r}`), r]).filter(([r]) => !!r).map(([r, n]) => `${r} ${n}w`).concat([e]).join(", ") : e;
3377
+ return e.match(/cdn\.shopify\.com/) ? t.map((r) => [Li(e, `${r}x${r}`), r]).filter(([r]) => !!r).map(([r, n]) => `${r} ${n}w`).concat([e]).join(", ") : e;
3410
3378
  }
3411
- function Wi(e) {
3379
+ function Vi(e) {
3412
3380
  var i, a, s, u;
3413
3381
  function t() {
3414
3382
  var v;
3415
- const g = e.image || e.src;
3416
- if (!g || // We can auto add srcset for cdn.builder.io and shopify
3383
+ const m = e.image || e.src;
3384
+ if (!m || // We can auto add srcset for cdn.builder.io and shopify
3417
3385
  // images, otherwise you can supply this prop manually
3418
- !(g.match(/builder\.io/) || g.match(/cdn\.shopify\.com/)))
3386
+ !(m.match(/builder\.io/) || m.match(/cdn\.shopify\.com/)))
3419
3387
  return e.srcset;
3420
3388
  if (e.srcset && ((v = e.image) != null && v.includes("builder.io/api/v1/image"))) {
3421
3389
  if (!e.srcset.includes(e.image.split("?")[0]))
3422
- return console.debug("Removed given srcset"), Kt(g);
3390
+ return console.debug("Removed given srcset"), Ht(m);
3423
3391
  } else if (e.image && !e.srcset)
3424
- return Kt(g);
3425
- return Kt(g);
3392
+ return Ht(m);
3393
+ return Ht(m);
3426
3394
  }
3427
3395
  function r() {
3428
3396
  var f;
@@ -3438,10 +3406,10 @@ function Wi(e) {
3438
3406
  };
3439
3407
  return e.aspectRatio ? f : void 0;
3440
3408
  }
3441
- return /* @__PURE__ */ te(N, { children: [
3442
- /* @__PURE__ */ te(N, { children: [
3443
- /* @__PURE__ */ te("picture", { children: [
3444
- r() ? /* @__PURE__ */ p(N, { children: /* @__PURE__ */ p("source", { type: "image/webp", srcSet: r() }) }) : null,
3409
+ return /* @__PURE__ */ se(P, { children: [
3410
+ /* @__PURE__ */ se(P, { children: [
3411
+ /* @__PURE__ */ se("picture", { children: [
3412
+ r() ? /* @__PURE__ */ p(P, { children: /* @__PURE__ */ p("source", { type: "image/webp", srcSet: r() }) }) : null,
3445
3413
  /* @__PURE__ */ p(
3446
3414
  "img",
3447
3415
  {
@@ -3460,7 +3428,7 @@ function Wi(e) {
3460
3428
  }
3461
3429
  )
3462
3430
  ] }),
3463
- e.aspectRatio && !((a = (i = e.builderBlock) == null ? void 0 : i.children) != null && a.length && e.fitContent) ? /* @__PURE__ */ p(N, { children: /* @__PURE__ */ p(
3431
+ e.aspectRatio && !((a = (i = e.builderBlock) == null ? void 0 : i.children) != null && a.length && e.fitContent) ? /* @__PURE__ */ p(P, { children: /* @__PURE__ */ p(
3464
3432
  "div",
3465
3433
  {
3466
3434
  className: "builder-image-sizer div-40c70c9b",
@@ -3469,8 +3437,8 @@ function Wi(e) {
3469
3437
  }
3470
3438
  }
3471
3439
  ) }) : null,
3472
- (u = (s = e.builderBlock) == null ? void 0 : s.children) != null && u.length && e.fitContent ? /* @__PURE__ */ p(N, { children: e.children }) : null,
3473
- !e.fitContent && e.children ? /* @__PURE__ */ p(N, { children: /* @__PURE__ */ p("div", { className: "div-40c70c9b-2", children: e.children }) }) : null
3440
+ (u = (s = e.builderBlock) == null ? void 0 : s.children) != null && u.length && e.fitContent ? /* @__PURE__ */ p(P, { children: e.children }) : null,
3441
+ !e.fitContent && e.children ? /* @__PURE__ */ p(P, { children: /* @__PURE__ */ p("div", { className: "div-40c70c9b-2", children: e.children }) }) : null
3474
3442
  ] }),
3475
3443
  /* @__PURE__ */ p("style", { children: `.img-40c70c9b {
3476
3444
  opacity: 1;
@@ -3491,7 +3459,7 @@ function Wi(e) {
3491
3459
  }` })
3492
3460
  ] });
3493
3461
  }
3494
- function Vi(e) {
3462
+ function $i(e) {
3495
3463
  return /* @__PURE__ */ p(
3496
3464
  "section",
3497
3465
  {
@@ -3512,7 +3480,7 @@ function Vi(e) {
3512
3480
  }
3513
3481
  );
3514
3482
  }
3515
- const Li = {
3483
+ const Hi = {
3516
3484
  name: "Core:Button",
3517
3485
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F81a15681c3e74df09677dfc57a615b13",
3518
3486
  defaultStyles: {
@@ -3545,7 +3513,7 @@ const Li = {
3545
3513
  }],
3546
3514
  static: !0,
3547
3515
  noWrap: !0
3548
- }, $i = {
3516
+ }, Ki = {
3549
3517
  // TODO: ways to statically preprocess JSON for references, functions, etc
3550
3518
  name: "Columns",
3551
3519
  isRSC: !0,
@@ -3746,7 +3714,7 @@ const Li = {
3746
3714
  helperText: "When stacking columns for mobile devices, reverse the ordering",
3747
3715
  advanced: !0
3748
3716
  }]
3749
- }, Hi = {
3717
+ }, Gi = {
3750
3718
  name: "Custom Code",
3751
3719
  static: !0,
3752
3720
  requiredPermissions: ["editCode"],
@@ -3769,30 +3737,30 @@ const Li = {
3769
3737
  advanced: !0
3770
3738
  }]
3771
3739
  };
3772
- function Ki(e) {
3773
- const t = Zt(null), [r, n] = V(() => []), [i, a] = V(() => []);
3740
+ function zi(e) {
3741
+ const t = Jt(null), [r, n] = L(() => []), [i, a] = L(() => []);
3774
3742
  return Z(() => {
3775
3743
  var u;
3776
3744
  if (!((u = t.current) != null && u.getElementsByTagName) || typeof window == "undefined")
3777
3745
  return;
3778
3746
  const s = t.current.getElementsByTagName("script");
3779
3747
  for (let f = 0; f < s.length; f++) {
3780
- const g = s[f];
3781
- if (g.src) {
3782
- if (r.includes(g.src))
3748
+ const m = s[f];
3749
+ if (m.src) {
3750
+ if (r.includes(m.src))
3783
3751
  continue;
3784
- r.push(g.src);
3752
+ r.push(m.src);
3785
3753
  const v = document.createElement("script");
3786
- v.async = !0, v.src = g.src, document.head.appendChild(v);
3787
- } else if (!g.type || [
3754
+ v.async = !0, v.src = m.src, document.head.appendChild(v);
3755
+ } else if (!m.type || [
3788
3756
  "text/javascript",
3789
3757
  "application/javascript",
3790
3758
  "application/ecmascript"
3791
- ].includes(g.type)) {
3792
- if (i.includes(g.innerText))
3759
+ ].includes(m.type)) {
3760
+ if (i.includes(m.innerText))
3793
3761
  continue;
3794
3762
  try {
3795
- i.push(g.innerText), new Function(g.innerText)();
3763
+ i.push(m.innerText), new Function(m.innerText)();
3796
3764
  } catch (v) {
3797
3765
  console.warn("`CustomCode`: Error running script:", v);
3798
3766
  }
@@ -3807,7 +3775,7 @@ function Ki(e) {
3807
3775
  }
3808
3776
  );
3809
3777
  }
3810
- const Gi = {
3778
+ const Xi = {
3811
3779
  name: "Embed",
3812
3780
  static: !0,
3813
3781
  inputs: [{
@@ -3832,22 +3800,22 @@ const Gi = {
3832
3800
  defaultValue: '<div style="padding: 20px; text-align: center">(Choose an embed URL)<div>',
3833
3801
  hideFromUI: !0
3834
3802
  }]
3835
- }, zi = ["text/javascript", "application/javascript", "application/ecmascript"], Xi = (e) => zi.includes(e.type);
3836
- function Yi(e) {
3837
- const t = Zt(null), [r, n] = V(() => []), [i, a] = V(() => []), [s, u] = V(() => !1);
3803
+ }, Yi = ["text/javascript", "application/javascript", "application/ecmascript"], Ji = (e) => Yi.includes(e.type);
3804
+ function qi(e) {
3805
+ const t = Jt(null), [r, n] = L(() => []), [i, a] = L(() => []), [s, u] = L(() => !1);
3838
3806
  function f() {
3839
3807
  if (!t.current || !t.current.getElementsByTagName)
3840
3808
  return;
3841
- const g = t.current.getElementsByTagName("script");
3842
- for (let v = 0; v < g.length; v++) {
3843
- const b = g[v];
3844
- if (b.src && !r.includes(b.src)) {
3845
- r.push(b.src);
3809
+ const m = t.current.getElementsByTagName("script");
3810
+ for (let v = 0; v < m.length; v++) {
3811
+ const y = m[v];
3812
+ if (y.src && !r.includes(y.src)) {
3813
+ r.push(y.src);
3846
3814
  const U = document.createElement("script");
3847
- U.async = !0, U.src = b.src, document.head.appendChild(U);
3848
- } else if (Xi(b) && !i.includes(b.innerText))
3815
+ U.async = !0, U.src = y.src, document.head.appendChild(U);
3816
+ } else if (Ji(y) && !i.includes(y.innerText))
3849
3817
  try {
3850
- i.push(b.innerText), new Function(b.innerText)();
3818
+ i.push(y.innerText), new Function(y.innerText)();
3851
3819
  } catch (U) {
3852
3820
  console.warn("`Embed`: Error running script:", U);
3853
3821
  }
@@ -3864,13 +3832,13 @@ function Yi(e) {
3864
3832
  }
3865
3833
  );
3866
3834
  }
3867
- const Ji = {
3835
+ const Zi = {
3868
3836
  name: "Fragment",
3869
3837
  static: !0,
3870
3838
  hidden: !0,
3871
3839
  canHaveChildren: !0,
3872
3840
  noWrap: !0
3873
- }, qi = {
3841
+ }, Qi = {
3874
3842
  name: "Image",
3875
3843
  static: !0,
3876
3844
  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",
@@ -3891,15 +3859,15 @@ const Ji = {
3891
3859
  onChange: (e) => {
3892
3860
  e.delete("srcset"), e.delete("noWebp");
3893
3861
  function r(s, u = 6e4) {
3894
- return new Promise((f, g) => {
3862
+ return new Promise((f, m) => {
3895
3863
  const v = document.createElement("img");
3896
- let b = !1;
3864
+ let y = !1;
3897
3865
  v.onload = () => {
3898
- b = !0, f(v);
3866
+ y = !0, f(v);
3899
3867
  }, v.addEventListener("error", (U) => {
3900
- console.warn("Image load failed", U.error), g(U.error);
3868
+ console.warn("Image load failed", U.error), m(U.error);
3901
3869
  }), v.src = s, setTimeout(() => {
3902
- b || g(new Error("Image load timed out"));
3870
+ y || m(new Error("Image load timed out"));
3903
3871
  }, u);
3904
3872
  });
3905
3873
  }
@@ -3970,7 +3938,7 @@ const Ji = {
3970
3938
  advanced: !0,
3971
3939
  defaultValue: 0.7041
3972
3940
  }]
3973
- }, Zi = {
3941
+ }, eo = {
3974
3942
  // friendlyName?
3975
3943
  name: "Raw:Img",
3976
3944
  hideFromInsertMenu: !0,
@@ -3985,7 +3953,7 @@ const Ji = {
3985
3953
  noWrap: !0,
3986
3954
  static: !0
3987
3955
  };
3988
- function Qi(e) {
3956
+ function to(e) {
3989
3957
  return /* @__PURE__ */ p(
3990
3958
  "img",
3991
3959
  {
@@ -4000,7 +3968,7 @@ function Qi(e) {
4000
3968
  Te() && e.imgSrc || "default-key"
4001
3969
  );
4002
3970
  }
4003
- const eo = {
3971
+ const no = {
4004
3972
  name: "Core:Section",
4005
3973
  static: !0,
4006
3974
  image: "https://cdn.builder.io/api/v1/image/assets%2FIsxPKMo2gPRRKeakUztj1D6uqed2%2F682efef23ace49afac61748dd305c70a",
@@ -4039,7 +4007,44 @@ const eo = {
4039
4007
  }
4040
4008
  }
4041
4009
  }]
4042
- }, to = {
4010
+ }, ro = {
4011
+ name: "Slot",
4012
+ isRSC: !0,
4013
+ description: "Allow child blocks to be inserted into this content when used as a Symbol",
4014
+ docsLink: "https://www.builder.io/c/docs/symbols-with-blocks",
4015
+ image: "https://cdn.builder.io/api/v1/image/assets%2FYJIGb4i01jvw0SRdL5Bt%2F3aad6de36eae43b59b52c85190fdef56",
4016
+ // Maybe wrap this for canHaveChildren so bind children to this hm
4017
+ inputs: [{
4018
+ name: "name",
4019
+ type: "string",
4020
+ required: !0,
4021
+ defaultValue: "children"
4022
+ }]
4023
+ };
4024
+ function io(e) {
4025
+ var t, r, n;
4026
+ return /* @__PURE__ */ p(
4027
+ "div",
4028
+ {
4029
+ style: {
4030
+ pointerEvents: "auto"
4031
+ },
4032
+ ...!((t = e.builderContext.context) != null && t.symbolId) && {
4033
+ "builder-slot": e.name
4034
+ },
4035
+ children: /* @__PURE__ */ p(
4036
+ xt,
4037
+ {
4038
+ parent: (r = e.builderContext.context) == null ? void 0 : r.symbolId,
4039
+ path: `symbol.data.${e.name}`,
4040
+ context: e.builderContext,
4041
+ blocks: (n = e.builderContext.rootState) == null ? void 0 : n[e.name]
4042
+ }
4043
+ )
4044
+ }
4045
+ );
4046
+ }
4047
+ const oo = {
4043
4048
  name: "Symbol",
4044
4049
  noWrap: !0,
4045
4050
  static: !0,
@@ -4072,7 +4077,7 @@ const eo = {
4072
4077
  hideFromUI: !0,
4073
4078
  type: "boolean"
4074
4079
  }]
4075
- }, no = {
4080
+ }, ao = {
4076
4081
  name: "Text",
4077
4082
  static: !0,
4078
4083
  isRSC: !0,
@@ -4091,7 +4096,7 @@ const eo = {
4091
4096
  textAlign: "center"
4092
4097
  }
4093
4098
  };
4094
- function ro(e) {
4099
+ function so(e) {
4095
4100
  var t;
4096
4101
  return /* @__PURE__ */ p(
4097
4102
  "div",
@@ -4104,7 +4109,7 @@ function ro(e) {
4104
4109
  }
4105
4110
  );
4106
4111
  }
4107
- const io = {
4112
+ const lo = {
4108
4113
  name: "Video",
4109
4114
  canHaveChildren: !0,
4110
4115
  defaultStyles: {
@@ -4186,8 +4191,8 @@ const io = {
4186
4191
  advanced: !0
4187
4192
  }]
4188
4193
  };
4189
- function oo(e) {
4190
- var n, i, a, s, u, f, g;
4194
+ function co(e) {
4195
+ var n, i, a, s, u, f, m;
4191
4196
  function t() {
4192
4197
  return {
4193
4198
  ...e.autoPlay === !0 ? {
@@ -4212,7 +4217,7 @@ function oo(e) {
4212
4217
  ...t()
4213
4218
  };
4214
4219
  }
4215
- return /* @__PURE__ */ te(
4220
+ return /* @__PURE__ */ se(
4216
4221
  "div",
4217
4222
  {
4218
4223
  style: {
@@ -4244,7 +4249,7 @@ function oo(e) {
4244
4249
  children: e.lazyLoad ? null : /* @__PURE__ */ p("source", { type: "video/mp4", src: e.video })
4245
4250
  }
4246
4251
  ),
4247
- e.aspectRatio && !(e.fitContent && ((a = (i = e.builderBlock) == null ? void 0 : i.children) != null && a.length)) ? /* @__PURE__ */ p(N, { children: /* @__PURE__ */ p(
4252
+ e.aspectRatio && !(e.fitContent && ((a = (i = e.builderBlock) == null ? void 0 : i.children) != null && a.length)) ? /* @__PURE__ */ p(P, { children: /* @__PURE__ */ p(
4248
4253
  "div",
4249
4254
  {
4250
4255
  style: {
@@ -4255,7 +4260,7 @@ function oo(e) {
4255
4260
  }
4256
4261
  }
4257
4262
  ) }) : null,
4258
- (u = (s = e.builderBlock) == null ? void 0 : s.children) != null && u.length && e.fitContent ? /* @__PURE__ */ p(N, { children: /* @__PURE__ */ p(
4263
+ (u = (s = e.builderBlock) == null ? void 0 : s.children) != null && u.length && e.fitContent ? /* @__PURE__ */ p(P, { children: /* @__PURE__ */ p(
4259
4264
  "div",
4260
4265
  {
4261
4266
  style: {
@@ -4266,7 +4271,7 @@ function oo(e) {
4266
4271
  children: e.children
4267
4272
  }
4268
4273
  ) }) : null,
4269
- (g = (f = e.builderBlock) == null ? void 0 : f.children) != null && g.length && !e.fitContent ? /* @__PURE__ */ p(N, { children: /* @__PURE__ */ p(
4274
+ (m = (f = e.builderBlock) == null ? void 0 : f.children) != null && m.length && !e.fitContent ? /* @__PURE__ */ p(P, { children: /* @__PURE__ */ p(
4270
4275
  "div",
4271
4276
  {
4272
4277
  style: {
@@ -4287,40 +4292,43 @@ function oo(e) {
4287
4292
  }
4288
4293
  );
4289
4294
  }
4290
- const rr = () => [{
4291
- component: Xr,
4292
- ...Li
4293
- }, {
4294
- component: Fi,
4295
- ...$i
4296
- }, {
4297
- component: Ki,
4295
+ const er = () => [{
4296
+ component: zr,
4298
4297
  ...Hi
4299
4298
  }, {
4300
- component: Yi,
4301
- ...Gi
4299
+ component: Di,
4300
+ ...Ki
4302
4301
  }, {
4303
- component: Ui,
4304
- ...Ji
4302
+ component: zi,
4303
+ ...Gi
4305
4304
  }, {
4306
- component: Wi,
4307
- ...qi
4305
+ component: qi,
4306
+ ...Xi
4308
4307
  }, {
4309
- component: Qi,
4308
+ component: _i,
4310
4309
  ...Zi
4311
4310
  }, {
4312
4311
  component: Vi,
4313
- ...eo
4312
+ ...Qi
4314
4313
  }, {
4315
- component: jo,
4316
- ...to
4314
+ component: to,
4315
+ ...eo
4317
4316
  }, {
4318
- component: ro,
4317
+ component: $i,
4319
4318
  ...no
4320
4319
  }, {
4321
- component: oo,
4322
- ...io
4323
- }], ao = `function updateCookiesAndStyles(contentId, variants, isHydrationTarget) {
4320
+ component: No,
4321
+ ...oo
4322
+ }, {
4323
+ component: so,
4324
+ ...ao
4325
+ }, {
4326
+ component: co,
4327
+ ...lo
4328
+ }, {
4329
+ component: io,
4330
+ ...ro
4331
+ }], uo = `function updateCookiesAndStyles(contentId, variants, isHydrationTarget) {
4324
4332
  function getAndSetVariantId() {
4325
4333
  function setCookie(name, value, days) {
4326
4334
  let expires = '';
@@ -4376,7 +4384,7 @@ const rr = () => [{
4376
4384
  }).join('');
4377
4385
  styleEl.innerHTML = newStyleStr;
4378
4386
  }
4379
- }`, so = `function updateVariantVisibility(variantContentId, defaultContentId, isHydrationTarget) {
4387
+ }`, fo = `function updateVariantVisibility(variantContentId, defaultContentId, isHydrationTarget) {
4380
4388
  if (!navigator.cookieEnabled) {
4381
4389
  return;
4382
4390
  }
@@ -4410,26 +4418,26 @@ const rr = () => [{
4410
4418
  thisScriptEl?.remove();
4411
4419
  }
4412
4420
  return;
4413
- }`, wr = "builderIoAbTest", kr = "builderIoRenderContent", ht = (e) => Object.values((e == null ? void 0 : e.variations) || {}).map((t) => ({
4421
+ }`, xr = "builderIoAbTest", Sr = "builderIoRenderContent", ht = (e) => Object.values((e == null ? void 0 : e.variations) || {}).map((t) => ({
4414
4422
  ...t,
4415
4423
  testVariationId: t.id,
4416
4424
  id: e == null ? void 0 : e.id
4417
- })), lo = ({
4425
+ })), ho = ({
4418
4426
  canTrack: e,
4419
4427
  content: t
4420
- }) => !(!(ht(t).length > 0) || !e || je()), co = (e) => e === "react" || e === "reactNative", Cr = co(rt), uo = () => `
4421
- window.${wr} = ${ao}
4422
- window.${kr} = ${so}
4423
- `, fo = (e, t) => `
4424
- window.${wr}(
4425
- "${t}",${JSON.stringify(e)}, ${Cr}
4426
- )`, ho = ({
4428
+ }) => !(!(ht(t).length > 0) || !e || je()), po = (e) => e === "react" || e === "reactNative", wr = po(rt), mo = () => `
4429
+ window.${xr} = ${uo}
4430
+ window.${Sr} = ${fo}
4431
+ `, go = (e, t) => `
4432
+ window.${xr}(
4433
+ "${t}",${JSON.stringify(e)}, ${wr}
4434
+ )`, vo = ({
4427
4435
  contentId: e,
4428
4436
  variationId: t
4429
- }) => `window.${kr}(
4430
- "${t}", "${e}", ${Cr}
4437
+ }) => `window.${Sr}(
4438
+ "${t}", "${e}", ${wr}
4431
4439
  )`;
4432
- function qt(e) {
4440
+ function Yt(e) {
4433
4441
  return /* @__PURE__ */ p(
4434
4442
  "script",
4435
4443
  {
@@ -4438,10 +4446,15 @@ function qt(e) {
4438
4446
  }
4439
4447
  );
4440
4448
  }
4441
- function ir(e) {
4449
+ const yo = ["*.beta.builder.io", "beta.builder.io", "builder.io", "localhost", "qa.builder.io"];
4450
+ function kr(e, t) {
4451
+ const r = new URL(t.origin), n = r.hostname;
4452
+ return (e || yo).findIndex((i) => i.startsWith("*.") ? n.endsWith(i.slice(1)) : i === n) > -1;
4453
+ }
4454
+ function tr(e) {
4442
4455
  return Math.round(e * 1e3) / 1e3;
4443
4456
  }
4444
- const po = (e, t, r = !0) => {
4457
+ const bo = (e, t, r = !0) => {
4445
4458
  if (!(e instanceof HTMLElement))
4446
4459
  return null;
4447
4460
  let n = r ? e : e.parentElement;
@@ -4452,36 +4465,36 @@ const po = (e, t, r = !0) => {
4452
4465
  return n;
4453
4466
  } while (n = n.parentElement);
4454
4467
  return null;
4455
- }, mo = (e) => po(e, (t) => {
4468
+ }, xo = (e) => bo(e, (t) => {
4456
4469
  const r = t.getAttribute("builder-id") || t.id;
4457
4470
  return (r == null ? void 0 : r.indexOf("builder-")) === 0;
4458
- }), or = ({
4471
+ }), nr = ({
4459
4472
  event: e,
4460
4473
  target: t
4461
4474
  }) => {
4462
- const r = t.getBoundingClientRect(), n = e.clientX - r.left, i = e.clientY - r.top, a = ir(n / r.width), s = ir(i / r.height);
4475
+ const r = t.getBoundingClientRect(), n = e.clientX - r.left, i = e.clientY - r.top, a = tr(n / r.width), s = tr(i / r.height);
4463
4476
  return {
4464
4477
  x: a,
4465
4478
  y: s
4466
4479
  };
4467
- }, go = (e) => {
4468
- const t = e.target, r = t && mo(t), n = (r == null ? void 0 : r.getAttribute("builder-id")) || (r == null ? void 0 : r.id);
4480
+ }, So = (e) => {
4481
+ const t = e.target, r = t && xo(t), n = (r == null ? void 0 : r.getAttribute("builder-id")) || (r == null ? void 0 : r.id);
4469
4482
  return {
4470
4483
  targetBuilderElement: n || void 0,
4471
4484
  metadata: {
4472
- targetOffset: t ? or({
4485
+ targetOffset: t ? nr({
4473
4486
  event: e,
4474
4487
  target: t
4475
4488
  }) : void 0,
4476
- builderTargetOffset: r ? or({
4489
+ builderTargetOffset: r ? nr({
4477
4490
  event: e,
4478
4491
  target: r
4479
4492
  }) : void 0,
4480
4493
  builderElementIndex: r && n ? [].slice.call(document.getElementsByClassName(n)).indexOf(r) : void 0
4481
4494
  }
4482
4495
  };
4483
- }, vo = "0.12.0", yo = () => {
4484
- $r("insertMenu", {
4496
+ }, wo = "0.12.2", ko = () => {
4497
+ Vr("insertMenu", {
4485
4498
  name: "_default",
4486
4499
  default: !0,
4487
4500
  items: [{
@@ -4503,14 +4516,14 @@ const po = (e, t, r = !0) => {
4503
4516
  }]
4504
4517
  });
4505
4518
  };
4506
- let ar = !1;
4507
- const xo = (e = {}) => {
4519
+ let rr = !1;
4520
+ const Co = (e = {}) => {
4508
4521
  var t, r;
4509
- ar || (ar = !0, je() && ((t = window.parent) == null || t.postMessage({
4522
+ rr || (rr = !0, je() && ((t = window.parent) == null || t.postMessage({
4510
4523
  type: "builder.sdkInfo",
4511
4524
  data: {
4512
4525
  target: rt,
4513
- version: vo,
4526
+ version: wo,
4514
4527
  supportsPatchUpdates: !1,
4515
4528
  // Supports builder-model="..." attribute which is needed to
4516
4529
  // scope our '+ add block' button styling
@@ -4522,40 +4535,43 @@ const xo = (e = {}) => {
4522
4535
  data: {
4523
4536
  options: e
4524
4537
  }
4525
- }, "*"), window.addEventListener("message", ({
4526
- data: n
4527
- }) => {
4528
- var i, a;
4529
- if (n != null && n.type)
4530
- switch (n.type) {
4538
+ }, "*"), window.addEventListener("message", (n) => {
4539
+ var a, s;
4540
+ if (!kr(e.trustedHosts, n))
4541
+ return;
4542
+ const {
4543
+ data: i
4544
+ } = n;
4545
+ if (i != null && i.type)
4546
+ switch (i.type) {
4531
4547
  case "builder.evaluate": {
4532
- const s = n.data.text, u = n.data.arguments || [], f = n.data.id, g = new Function(s);
4533
- let v, b = null;
4548
+ const u = i.data.text, f = i.data.arguments || [], m = i.data.id, v = new Function(u);
4549
+ let y, U = null;
4534
4550
  try {
4535
- v = g.apply(null, u);
4536
- } catch (U) {
4537
- b = U;
4551
+ y = v.apply(null, f);
4552
+ } catch (B) {
4553
+ U = B;
4538
4554
  }
4539
- b ? (i = window.parent) == null || i.postMessage({
4555
+ U ? (a = window.parent) == null || a.postMessage({
4540
4556
  type: "builder.evaluateError",
4541
4557
  data: {
4542
- id: f,
4543
- error: b.message
4558
+ id: m,
4559
+ error: U.message
4544
4560
  }
4545
- }, "*") : v && typeof v.then == "function" ? v.then((U) => {
4546
- var F;
4547
- (F = window.parent) == null || F.postMessage({
4561
+ }, "*") : y && typeof y.then == "function" ? y.then((B) => {
4562
+ var R;
4563
+ (R = window.parent) == null || R.postMessage({
4548
4564
  type: "builder.evaluateResult",
4549
4565
  data: {
4550
- id: f,
4551
- result: U
4566
+ id: m,
4567
+ result: B
4552
4568
  }
4553
4569
  }, "*");
4554
- }).catch(console.error) : (a = window.parent) == null || a.postMessage({
4570
+ }).catch(console.error) : (s = window.parent) == null || s.postMessage({
4555
4571
  type: "builder.evaluateResult",
4556
4572
  data: {
4557
- result: v,
4558
- id: f
4573
+ result: y,
4574
+ id: m
4559
4575
  }
4560
4576
  }, "*");
4561
4577
  break;
@@ -4563,34 +4579,34 @@ const xo = (e = {}) => {
4563
4579
  }
4564
4580
  })));
4565
4581
  };
4566
- function bo(e) {
4567
- var re, E, Ae, W, ke, ue, H;
4568
- const t = Zt(null), [r, n] = V(() => 0);
4569
- V(() => !0);
4570
- function i(C) {
4582
+ function Eo(e) {
4583
+ var ne, E, Ae, W, ke, ue, H;
4584
+ const t = Jt(null), [r, n] = L(() => 0);
4585
+ L(() => !0);
4586
+ function i(k) {
4571
4587
  var T, M;
4572
4588
  const I = {
4573
4589
  ...e.builderContextSignal.rootState,
4574
- ...C
4590
+ ...k
4575
4591
  };
4576
- e.builderContextSignal.rootSetState ? (M = (T = e.builderContextSignal).rootSetState) == null || M.call(T, I) : e.setBuilderContextSignal((_) => ({
4577
- ..._,
4592
+ e.builderContextSignal.rootSetState ? (M = (T = e.builderContextSignal).rootSetState) == null || M.call(T, I) : e.setBuilderContextSignal((D) => ({
4593
+ ...D,
4578
4594
  rootState: I
4579
4595
  }));
4580
4596
  }
4581
- function a(C) {
4582
- var T, M, _, G, Ce;
4597
+ function a(k) {
4598
+ var T, M, D, G, Ce;
4583
4599
  const I = {
4584
4600
  ...e.builderContextSignal.content,
4585
- ...C,
4601
+ ...k,
4586
4602
  data: {
4587
4603
  ...(T = e.builderContextSignal.content) == null ? void 0 : T.data,
4588
- ...C == null ? void 0 : C.data
4604
+ ...k == null ? void 0 : k.data
4589
4605
  },
4590
4606
  meta: {
4591
4607
  ...(M = e.builderContextSignal.content) == null ? void 0 : M.meta,
4592
- ...C == null ? void 0 : C.meta,
4593
- breakpoints: ((_ = C == null ? void 0 : C.meta) == null ? void 0 : _.breakpoints) || ((Ce = (G = e.builderContextSignal.content) == null ? void 0 : G.meta) == null ? void 0 : Ce.breakpoints)
4608
+ ...k == null ? void 0 : k.meta,
4609
+ breakpoints: ((D = k == null ? void 0 : k.meta) == null ? void 0 : D.breakpoints) || ((Ce = (G = e.builderContextSignal.content) == null ? void 0 : G.meta) == null ? void 0 : Ce.breakpoints)
4594
4610
  }
4595
4611
  };
4596
4612
  e.setBuilderContextSignal((at) => ({
@@ -4598,65 +4614,67 @@ function bo(e) {
4598
4614
  content: I
4599
4615
  }));
4600
4616
  }
4601
- V(() => 0);
4602
- const [s, u] = V(
4617
+ L(() => 0);
4618
+ const [s, u] = L(
4603
4619
  () => !1
4604
- ), [f, g] = V(
4620
+ ), [f, m] = L(
4605
4621
  () => e.contentWrapper || "div"
4606
4622
  );
4607
- function v(C) {
4623
+ function v(k) {
4608
4624
  var T;
4609
- const { data: I } = C;
4625
+ if (!kr(e.trustedHosts, k))
4626
+ return;
4627
+ const { data: I } = k;
4610
4628
  if (I)
4611
4629
  switch (I.type) {
4612
4630
  case "builder.configureSdk": {
4613
- const M = I.data, { breakpoints: _, contentId: G } = M;
4631
+ const M = I.data, { breakpoints: D, contentId: G } = M;
4614
4632
  if (!G || G !== ((T = e.builderContextSignal.content) == null ? void 0 : T.id))
4615
4633
  return;
4616
- _ && a({
4634
+ D && a({
4617
4635
  meta: {
4618
- breakpoints: _
4636
+ breakpoints: D
4619
4637
  }
4620
4638
  }), n(r + 1);
4621
4639
  break;
4622
4640
  }
4623
4641
  case "builder.contentUpdate": {
4624
- const M = I.data, _ = M.key || M.alias || M.entry || M.modelName, G = M.data;
4625
- _ === e.model && (a(G), n(r + 1));
4642
+ const M = I.data, D = M.key || M.alias || M.entry || M.modelName, G = M.data;
4643
+ D === e.model && (a(G), n(r + 1));
4626
4644
  break;
4627
4645
  }
4628
4646
  }
4629
4647
  }
4630
- function b() {
4648
+ function y() {
4631
4649
  var I, T;
4632
- const C = (T = (I = e.builderContextSignal.content) == null ? void 0 : I.data) == null ? void 0 : T.jsCode;
4633
- C && nt({
4634
- code: C,
4650
+ const k = (T = (I = e.builderContextSignal.content) == null ? void 0 : I.data) == null ? void 0 : T.jsCode;
4651
+ k && nt({
4652
+ code: k,
4635
4653
  context: e.context || {},
4636
4654
  localState: void 0,
4637
4655
  rootState: e.builderContextSignal.rootState,
4638
4656
  rootSetState: e.builderContextSignal.rootSetState
4639
4657
  });
4640
4658
  }
4641
- const [U, F] = V(() => ({})), [O, P] = V(() => !1);
4642
- function L(C) {
4659
+ const [U, B] = L(() => ({})), [R, N] = L(() => !1);
4660
+ function V(k) {
4643
4661
  var I, T;
4644
4662
  if (e.builderContextSignal.content) {
4645
- const M = (I = e.builderContextSignal.content) == null ? void 0 : I.testVariationId, _ = (T = e.builderContextSignal.content) == null ? void 0 : T.id;
4646
- Hn({
4663
+ const M = (I = e.builderContextSignal.content) == null ? void 0 : I.testVariationId, D = (T = e.builderContextSignal.content) == null ? void 0 : T.id;
4664
+ Vn({
4647
4665
  type: "click",
4648
4666
  canTrack: pt(e.canTrack),
4649
- contentId: _,
4667
+ contentId: D,
4650
4668
  apiKey: e.apiKey,
4651
- variationId: M !== _ ? M : void 0,
4652
- ...go(C),
4653
- unique: !O
4669
+ variationId: M !== D ? M : void 0,
4670
+ ...So(k),
4671
+ unique: !R
4654
4672
  });
4655
4673
  }
4656
- O || P(!0);
4674
+ R || N(!0);
4657
4675
  }
4658
- function Y(C) {
4659
- return C.replace(
4676
+ function Y(k) {
4677
+ return k.replace(
4660
4678
  /{{([^}]+)}}/g,
4661
4679
  (I, T) => nt({
4662
4680
  code: T,
@@ -4667,38 +4685,38 @@ function bo(e) {
4667
4685
  })
4668
4686
  );
4669
4687
  }
4670
- function y({ url: C, key: I }) {
4671
- Gr(C).then((T) => T.json()).then((T) => {
4672
- var _, G;
4688
+ function b({ url: k, key: I }) {
4689
+ Kr(k).then((T) => T.json()).then((T) => {
4690
+ var D, G;
4673
4691
  const M = {
4674
4692
  ...e.builderContextSignal.rootState,
4675
4693
  [I]: T
4676
4694
  };
4677
- (G = (_ = e.builderContextSignal).rootSetState) == null || G.call(_, M), U[I] = !0;
4695
+ (G = (D = e.builderContextSignal).rootSetState) == null || G.call(D, M), U[I] = !0;
4678
4696
  }).catch((T) => {
4679
- console.error("error fetching dynamic data", C, T);
4697
+ console.error("error fetching dynamic data", k, T);
4680
4698
  });
4681
4699
  }
4682
4700
  function K() {
4683
4701
  var I, T, M;
4684
- const C = (M = (T = (I = e.builderContextSignal.content) == null ? void 0 : I.data) == null ? void 0 : T.httpRequests) != null ? M : {};
4685
- Object.entries(C).forEach(([_, G]) => {
4686
- if (G && (!U[_] || Te())) {
4702
+ const k = (M = (T = (I = e.builderContextSignal.content) == null ? void 0 : I.data) == null ? void 0 : T.httpRequests) != null ? M : {};
4703
+ Object.entries(k).forEach(([D, G]) => {
4704
+ if (G && (!U[D] || Te())) {
4687
4705
  const Ce = Y(G);
4688
- y({
4706
+ b({
4689
4707
  url: Ce,
4690
- key: _
4708
+ key: D
4691
4709
  });
4692
4710
  }
4693
4711
  });
4694
4712
  }
4695
- function ne() {
4713
+ function te() {
4696
4714
  Te() && window.dispatchEvent(
4697
4715
  new CustomEvent(
4698
4716
  "builder:component:stateChange",
4699
4717
  {
4700
4718
  detail: {
4701
- state: Qt(e.builderContextSignal.rootState),
4719
+ state: qt(e.builderContextSignal.rootState),
4702
4720
  ref: {
4703
4721
  name: e.model
4704
4722
  }
@@ -4707,8 +4725,8 @@ function bo(e) {
4707
4725
  )
4708
4726
  );
4709
4727
  }
4710
- function le(C) {
4711
- n(r + 1), window.addEventListener("message", v), yo(), xo({
4728
+ function le(k) {
4729
+ n(r + 1), window.addEventListener("message", v), ko(), Co({
4712
4730
  ...e.locale ? {
4713
4731
  locale: e.locale
4714
4732
  } : {},
@@ -4717,23 +4735,26 @@ function bo(e) {
4717
4735
  } : {},
4718
4736
  ...e.enrich ? {
4719
4737
  enrich: e.enrich
4738
+ } : {},
4739
+ ...e.trustedHosts ? {
4740
+ trustedHosts: e.trustedHosts
4720
4741
  } : {}
4721
4742
  }), Object.values(
4722
4743
  e.builderContextSignal.componentInfos
4723
4744
  ).forEach((I) => {
4724
4745
  var M;
4725
- const T = Kr(I);
4746
+ const T = Hr(I);
4726
4747
  (M = window.parent) == null || M.postMessage(T, "*");
4727
4748
  }), window.addEventListener(
4728
4749
  "builder:component:stateChangeListenerActivated",
4729
- ne
4750
+ te
4730
4751
  );
4731
4752
  }
4732
- function $(C) {
4753
+ function $(k) {
4733
4754
  const I = new URL(location.href).searchParams, T = I.get("builder.preview"), M = I.get(
4734
4755
  `builder.preview.${T}`
4735
- ), _ = I.get("apiKey") || I.get("builder.space");
4736
- T === e.model && _ === e.apiKey && (!e.content || M === e.content.id) && ur({
4756
+ ), D = I.get("apiKey") || I.get("builder.space");
4757
+ T === e.model && D === e.apiKey && (!e.content || M === e.content.id) && sr({
4737
4758
  model: e.model,
4738
4759
  apiKey: e.apiKey,
4739
4760
  apiVersion: e.builderContextSignal.apiVersion
@@ -4742,8 +4763,8 @@ function bo(e) {
4742
4763
  });
4743
4764
  }
4744
4765
  return Z(() => {
4745
- var C;
4746
- return (C = t.current) == null || C.addEventListener(
4766
+ var k;
4767
+ return (k = t.current) == null || k.addEventListener(
4747
4768
  "initeditingbldr",
4748
4769
  le
4749
4770
  ), () => {
@@ -4754,8 +4775,8 @@ function bo(e) {
4754
4775
  );
4755
4776
  };
4756
4777
  }, []), Z(() => {
4757
- var C;
4758
- return (C = t.current) == null || C.addEventListener(
4778
+ var k;
4779
+ return (k = t.current) == null || k.addEventListener(
4759
4780
  "initpreviewingbldr",
4760
4781
  $
4761
4782
  ), () => {
@@ -4766,36 +4787,36 @@ function bo(e) {
4766
4787
  );
4767
4788
  };
4768
4789
  }, []), Z(() => {
4769
- var C, I;
4790
+ var k, I;
4770
4791
  if (je()) {
4771
4792
  if (Te() && t.current && t.current.dispatchEvent(new CustomEvent("initeditingbldr")), e.builderContextSignal.content && pt(e.canTrack)) {
4772
- const M = (C = e.builderContextSignal.content) == null ? void 0 : C.testVariationId, _ = (I = e.builderContextSignal.content) == null ? void 0 : I.id, G = e.apiKey;
4773
- Hn({
4793
+ const M = (k = e.builderContextSignal.content) == null ? void 0 : k.testVariationId, D = (I = e.builderContextSignal.content) == null ? void 0 : I.id, G = e.apiKey;
4794
+ Vn({
4774
4795
  type: "impression",
4775
4796
  canTrack: !0,
4776
- contentId: _,
4797
+ contentId: D,
4777
4798
  apiKey: G,
4778
- variationId: M !== _ ? M : void 0
4799
+ variationId: M !== D ? M : void 0
4779
4800
  });
4780
4801
  }
4781
- Hr() && t.current && t.current.dispatchEvent(new CustomEvent("initpreviewingbldr"));
4802
+ $r() && t.current && t.current.dispatchEvent(new CustomEvent("initpreviewingbldr"));
4782
4803
  }
4783
4804
  }, []), Z(() => {
4784
4805
  e.apiKey || Ue.error(
4785
4806
  "No API key provided to `RenderContent` component. This can cause issues. Please provide an API key using the `apiKey` prop."
4786
- ), b(), K(), ne();
4807
+ ), y(), K(), te();
4787
4808
  }, []), Z(() => {
4788
4809
  e.content && a(e.content);
4789
4810
  }, [e.content]), Z(() => {
4790
4811
  }, [s]), Z(() => {
4791
- b();
4812
+ y();
4792
4813
  }, [
4793
- (E = (re = e.builderContextSignal.content) == null ? void 0 : re.data) == null ? void 0 : E.jsCode,
4814
+ (E = (ne = e.builderContextSignal.content) == null ? void 0 : ne.data) == null ? void 0 : E.jsCode,
4794
4815
  e.builderContextSignal.rootState
4795
4816
  ]), Z(() => {
4796
4817
  K();
4797
4818
  }, [(W = (Ae = e.builderContextSignal.content) == null ? void 0 : Ae.data) == null ? void 0 : W.httpRequests]), Z(() => {
4798
- ne();
4819
+ te();
4799
4820
  }, [e.builderContextSignal.rootState]), Z(() => {
4800
4821
  e.data && i(e.data);
4801
4822
  }, [e.data]), Z(() => {
@@ -4805,14 +4826,14 @@ function bo(e) {
4805
4826
  }, [e.locale]), Z(() => () => {
4806
4827
  je() && (window.removeEventListener("message", v), window.removeEventListener(
4807
4828
  "builder:component:stateChangeListenerActivated",
4808
- ne
4829
+ te
4809
4830
  ));
4810
- }, []), /* @__PURE__ */ p(en.Provider, { value: e.builderContextSignal, children: e.builderContextSignal.content ? /* @__PURE__ */ p(N, { children: /* @__PURE__ */ cr(
4831
+ }, []), /* @__PURE__ */ p(Zt.Provider, { value: e.builderContextSignal, children: e.builderContextSignal.content ? /* @__PURE__ */ p(P, { children: /* @__PURE__ */ ar(
4811
4832
  f,
4812
4833
  {
4813
4834
  key: r,
4814
4835
  ref: t,
4815
- onClick: (C) => L(C),
4836
+ onClick: (k) => V(k),
4816
4837
  "builder-content-id": (ke = e.builderContextSignal.content) == null ? void 0 : ke.id,
4817
4838
  "builder-model": e.model,
4818
4839
  ...e.showContent ? {} : {
@@ -4825,7 +4846,7 @@ function bo(e) {
4825
4846
  e.children
4826
4847
  ) }) : null });
4827
4848
  }
4828
- const So = (e) => {
4849
+ const Io = (e) => {
4829
4850
  var a, s;
4830
4851
  const t = e.family + (e.kind && !e.kind.includes("#") ? ", " + e.kind : ""), r = t.split(",")[0], n = (s = e.fileUrl) != null ? s : (a = e == null ? void 0 : e.files) == null ? void 0 : a.regular;
4831
4852
  let i = "";
@@ -4840,34 +4861,34 @@ font-weight: 400;
4840
4861
  for (const u in e.files) {
4841
4862
  if (!(String(Number(u)) === u))
4842
4863
  continue;
4843
- const g = e.files[u];
4844
- g && g !== n && (i += `
4864
+ const m = e.files[u];
4865
+ m && m !== n && (i += `
4845
4866
  @font-face {
4846
4867
  font-family: "${t}";
4847
- src: url('${g}') format('woff2');
4868
+ src: url('${m}') format('woff2');
4848
4869
  font-display: fallback;
4849
4870
  font-weight: ${u};
4850
4871
  }
4851
4872
  `.trim());
4852
4873
  }
4853
4874
  return i;
4854
- }, wo = ({
4875
+ }, To = ({
4855
4876
  customFonts: e
4856
4877
  }) => {
4857
4878
  var t;
4858
- return ((t = e == null ? void 0 : e.map((r) => So(r))) == null ? void 0 : t.join(" ")) || "";
4859
- }, ko = ({
4879
+ return ((t = e == null ? void 0 : e.map((r) => Io(r))) == null ? void 0 : t.join(" ")) || "";
4880
+ }, jo = ({
4860
4881
  cssCode: e,
4861
4882
  contentId: t
4862
4883
  }) => e ? t ? (e == null ? void 0 : e.replace(/&/g, `div[builder-content-id="${t}"]`)) || "" : e : "";
4863
- function Co(e) {
4864
- const [t, r] = V(
4884
+ function Ao(e) {
4885
+ const [t, r] = L(
4865
4886
  () => `
4866
- ${ko({
4887
+ ${jo({
4867
4888
  cssCode: e.cssCode,
4868
4889
  contentId: e.contentId
4869
4890
  })}
4870
- ${wo({
4891
+ ${To({
4871
4892
  customFonts: e.customFonts
4872
4893
  })}
4873
4894
 
@@ -4885,9 +4906,9 @@ ${wo({
4885
4906
  }
4886
4907
  `.trim()
4887
4908
  );
4888
- return /* @__PURE__ */ p(xt, { styles: t });
4909
+ return /* @__PURE__ */ p(yt, { styles: t });
4889
4910
  }
4890
- const Eo = ({
4911
+ const Ro = ({
4891
4912
  content: e,
4892
4913
  data: t,
4893
4914
  locale: r
@@ -4904,7 +4925,7 @@ const Eo = ({
4904
4925
  locale: r
4905
4926
  } : {}
4906
4927
  };
4907
- }, Io = ({
4928
+ }, Oo = ({
4908
4929
  content: e,
4909
4930
  data: t
4910
4931
  }) => e ? {
@@ -4915,52 +4936,52 @@ const Eo = ({
4915
4936
  },
4916
4937
  meta: e == null ? void 0 : e.meta
4917
4938
  } : void 0;
4918
- function sr(e) {
4919
- var f, g, v, b, U, F, O;
4920
- const [t, r] = V(
4939
+ function ir(e) {
4940
+ var f, m, v, y, U, B, R;
4941
+ const [t, r] = L(
4921
4942
  () => {
4922
- var P, L;
4923
- return ho({
4943
+ var N, V;
4944
+ return vo({
4924
4945
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
4925
- variationId: (P = e.content) == null ? void 0 : P.testVariationId,
4946
+ variationId: (N = e.content) == null ? void 0 : N.testVariationId,
4926
4947
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion, @typescript-eslint/no-non-null-asserted-optional-chain
4927
- contentId: (L = e.content) == null ? void 0 : L.id
4948
+ contentId: (V = e.content) == null ? void 0 : V.id
4928
4949
  });
4929
4950
  }
4930
4951
  );
4931
- function n(P) {
4932
- u((L) => ({
4933
- ...L,
4934
- rootState: P
4952
+ function n(N) {
4953
+ u((V) => ({
4954
+ ...V,
4955
+ rootState: N
4935
4956
  }));
4936
4957
  }
4937
- const [i, a] = V(
4958
+ const [i, a] = L(
4938
4959
  () => [
4939
- ...rr(),
4960
+ ...er(),
4940
4961
  // While this `components` object is deprecated, we must maintain support for it.
4941
4962
  // Since users are able to override our default components, we need to make sure that we do not break such
4942
4963
  // existing usage.
4943
4964
  // This is why we spread `components` after the default Builder.io components, but before the `props.customComponents`,
4944
4965
  // which is the new standard way of providing custom components, and must therefore take precedence.
4945
- ...Kn,
4966
+ ...$n,
4946
4967
  ...e.customComponents || []
4947
4968
  ].reduce(
4948
- (P, { component: L, ...Y }) => ({
4949
- ...P,
4969
+ (N, { component: V, ...Y }) => ({
4970
+ ...N,
4950
4971
  [Y.name]: {
4951
- component: L,
4952
- ...Gn(Y)
4972
+ component: V,
4973
+ ...Hn(Y)
4953
4974
  }
4954
4975
  }),
4955
4976
  {}
4956
4977
  )
4957
- ), [s, u] = V(() => ({
4958
- content: Io({
4978
+ ), [s, u] = L(() => ({
4979
+ content: Oo({
4959
4980
  content: e.content,
4960
4981
  data: e.data
4961
4982
  }),
4962
4983
  localState: void 0,
4963
- rootState: Eo({
4984
+ rootState: Ro({
4964
4985
  content: e.content,
4965
4986
  data: e.data,
4966
4987
  locale: e.locale
@@ -4970,18 +4991,18 @@ function sr(e) {
4970
4991
  apiKey: e.apiKey,
4971
4992
  apiVersion: e.apiVersion,
4972
4993
  componentInfos: [
4973
- ...rr(),
4994
+ ...er(),
4974
4995
  // While this `components` object is deprecated, we must maintain support for it.
4975
4996
  // Since users are able to override our default components, we need to make sure that we do not break such
4976
4997
  // existing usage.
4977
4998
  // This is why we spread `components` after the default Builder.io components, but before the `props.customComponents`,
4978
4999
  // which is the new standard way of providing custom components, and must therefore take precedence.
4979
- ...Kn,
5000
+ ...$n,
4980
5001
  ...e.customComponents || []
4981
5002
  ].reduce(
4982
- (P, { component: L, ...Y }) => ({
4983
- ...P,
4984
- [Y.name]: Gn(Y)
5003
+ (N, { component: V, ...Y }) => ({
5004
+ ...N,
5005
+ [Y.name]: Hn(Y)
4985
5006
  }),
4986
5007
  {}
4987
5008
  ),
@@ -4990,13 +5011,13 @@ function sr(e) {
4990
5011
  BlocksWrapperProps: e.blocksWrapperProps || {}
4991
5012
  }));
4992
5013
  return /* @__PURE__ */ p(
4993
- dr.Provider,
5014
+ lr.Provider,
4994
5015
  {
4995
5016
  value: {
4996
5017
  registeredComponents: i
4997
5018
  },
4998
- children: /* @__PURE__ */ te(
4999
- bo,
5019
+ children: /* @__PURE__ */ se(
5020
+ Eo,
5000
5021
  {
5001
5022
  content: e.content,
5002
5023
  data: e.data,
@@ -5011,21 +5032,22 @@ function sr(e) {
5011
5032
  builderContextSignal: s,
5012
5033
  contentWrapper: e.contentWrapper,
5013
5034
  contentWrapperProps: e.contentWrapperProps,
5035
+ trustedHosts: e.trustedHosts,
5014
5036
  setBuilderContextSignal: u,
5015
5037
  children: [
5016
- e.isSsrAbTest ? /* @__PURE__ */ p(N, { children: /* @__PURE__ */ p(qt, { scriptStr: t }) }) : null,
5017
- /* @__PURE__ */ p(N, { children: /* @__PURE__ */ p(
5018
- Co,
5038
+ e.isSsrAbTest ? /* @__PURE__ */ p(P, { children: /* @__PURE__ */ p(Yt, { scriptStr: t }) }) : null,
5039
+ /* @__PURE__ */ p(P, { children: /* @__PURE__ */ p(
5040
+ Ao,
5019
5041
  {
5020
5042
  contentId: (f = s.content) == null ? void 0 : f.id,
5021
- cssCode: (v = (g = s.content) == null ? void 0 : g.data) == null ? void 0 : v.cssCode,
5022
- customFonts: (U = (b = s.content) == null ? void 0 : b.data) == null ? void 0 : U.customFonts
5043
+ cssCode: (v = (m = s.content) == null ? void 0 : m.data) == null ? void 0 : v.cssCode,
5044
+ customFonts: (U = (y = s.content) == null ? void 0 : y.data) == null ? void 0 : U.customFonts
5023
5045
  }
5024
5046
  ) }),
5025
5047
  /* @__PURE__ */ p(
5026
- hn,
5048
+ xt,
5027
5049
  {
5028
- blocks: (O = (F = s.content) == null ? void 0 : F.data) == null ? void 0 : O.blocks,
5050
+ blocks: (R = (B = s.content) == null ? void 0 : B.data) == null ? void 0 : R.blocks,
5029
5051
  context: s,
5030
5052
  registeredComponents: i
5031
5053
  }
@@ -5036,20 +5058,20 @@ function sr(e) {
5036
5058
  }
5037
5059
  );
5038
5060
  }
5039
- function Er(e) {
5061
+ function Cr(e) {
5040
5062
  var s, u;
5041
- const [t, r] = V(
5042
- () => lo({
5063
+ const [t, r] = L(
5064
+ () => ho({
5043
5065
  canTrack: pt(e.canTrack),
5044
5066
  content: e.content
5045
5067
  })
5046
5068
  );
5047
5069
  function n() {
5048
5070
  var f;
5049
- return fo(
5050
- ht(e.content).map((g) => ({
5051
- id: g.testVariationId,
5052
- testRatio: g.testRatio
5071
+ return go(
5072
+ ht(e.content).map((m) => ({
5073
+ id: m.testVariationId,
5074
+ testRatio: m.testRatio
5053
5075
  })),
5054
5076
  ((f = e.content) == null ? void 0 : f.id) || ""
5055
5077
  );
@@ -5062,25 +5084,25 @@ function Er(e) {
5062
5084
  return t ? {
5063
5085
  ...e.content,
5064
5086
  testVariationId: (f = e.content) == null ? void 0 : f.id
5065
- } : zr({
5087
+ } : Gr({
5066
5088
  item: e.content,
5067
5089
  canTrack: pt(e.canTrack)
5068
5090
  });
5069
5091
  }
5070
5092
  return Z(() => {
5071
- }, []), /* @__PURE__ */ te(N, { children: [
5072
- !e.__isNestedRender && rt !== "reactNative" ? /* @__PURE__ */ p(N, { children: /* @__PURE__ */ p(qt, { scriptStr: uo() }) }) : null,
5073
- t ? /* @__PURE__ */ te(N, { children: [
5093
+ }, []), /* @__PURE__ */ se(P, { children: [
5094
+ !e.__isNestedRender && rt !== "reactNative" ? /* @__PURE__ */ p(P, { children: /* @__PURE__ */ p(Yt, { scriptStr: mo() }) }) : null,
5095
+ t ? /* @__PURE__ */ se(P, { children: [
5074
5096
  /* @__PURE__ */ p(
5075
- xt,
5097
+ yt,
5076
5098
  {
5077
5099
  id: `variants-styles-${(s = e.content) == null ? void 0 : s.id}`,
5078
5100
  styles: i()
5079
5101
  }
5080
5102
  ),
5081
- /* @__PURE__ */ p(qt, { scriptStr: n() }),
5103
+ /* @__PURE__ */ p(Yt, { scriptStr: n() }),
5082
5104
  (u = ht(e.content)) == null ? void 0 : u.map((f) => /* @__PURE__ */ p(
5083
- sr,
5105
+ ir,
5084
5106
  {
5085
5107
  content: f,
5086
5108
  showContent: !1,
@@ -5098,13 +5120,14 @@ function Er(e) {
5098
5120
  blocksWrapper: e.blocksWrapper,
5099
5121
  blocksWrapperProps: e.blocksWrapperProps,
5100
5122
  contentWrapper: e.contentWrapper,
5101
- contentWrapperProps: e.contentWrapperProps
5123
+ contentWrapperProps: e.contentWrapperProps,
5124
+ trustedHosts: e.trustedHosts
5102
5125
  },
5103
5126
  f.testVariationId
5104
5127
  ))
5105
5128
  ] }) : null,
5106
5129
  /* @__PURE__ */ p(
5107
- sr,
5130
+ ir,
5108
5131
  {
5109
5132
  content: a(),
5110
5133
  showContent: !0,
@@ -5122,18 +5145,19 @@ function Er(e) {
5122
5145
  blocksWrapper: e.blocksWrapper,
5123
5146
  blocksWrapperProps: e.blocksWrapperProps,
5124
5147
  contentWrapper: e.contentWrapper,
5125
- contentWrapperProps: e.contentWrapperProps
5148
+ contentWrapperProps: e.contentWrapperProps,
5149
+ trustedHosts: e.trustedHosts
5126
5150
  }
5127
5151
  )
5128
5152
  ] });
5129
5153
  }
5130
- const To = async ({
5154
+ const Po = async ({
5131
5155
  builderContextValue: e,
5132
5156
  symbol: t
5133
5157
  }) => {
5134
5158
  if (t != null && t.model && // This is a hack, we should not need to check for this, but it is needed for Svelte.
5135
5159
  (e != null && e.apiKey))
5136
- return ur({
5160
+ return sr({
5137
5161
  model: t.model,
5138
5162
  apiKey: e.apiKey,
5139
5163
  apiVersion: e.apiVersion,
@@ -5146,75 +5170,78 @@ const To = async ({
5146
5170
  Ue.error("Could not fetch symbol content: ", r);
5147
5171
  });
5148
5172
  };
5149
- function jo(e) {
5150
- var a, s, u;
5173
+ function No(e) {
5174
+ var a, s, u, f;
5151
5175
  function t() {
5152
- var f, g;
5176
+ var m, v;
5153
5177
  return [
5154
5178
  e.attributes.className,
5155
5179
  "builder-symbol",
5156
- (f = e.symbol) != null && f.inline ? "builder-inline-symbol" : void 0,
5157
- (g = e.symbol) != null && g.dynamic || e.dynamic ? "builder-dynamic-symbol" : void 0
5180
+ (m = e.symbol) != null && m.inline ? "builder-inline-symbol" : void 0,
5181
+ (v = e.symbol) != null && v.dynamic || e.dynamic ? "builder-dynamic-symbol" : void 0
5158
5182
  ].filter(Boolean).join(" ");
5159
5183
  }
5160
- const [r, n] = V(() => {
5161
- var f;
5162
- return (f = e.symbol) == null ? void 0 : f.content;
5184
+ const [r, n] = L(() => {
5185
+ var m;
5186
+ return (m = e.symbol) == null ? void 0 : m.content;
5163
5187
  });
5164
5188
  function i() {
5165
- r || To({
5189
+ r || Po({
5166
5190
  symbol: e.symbol,
5167
5191
  builderContextValue: e.builderContext
5168
- }).then((f) => {
5169
- f && n(f);
5192
+ }).then((m) => {
5193
+ m && n(m);
5170
5194
  });
5171
5195
  }
5172
5196
  return Z(() => {
5173
5197
  }, []), Z(() => {
5174
5198
  i();
5175
5199
  }, [e.symbol]), /* @__PURE__ */ p("div", { ...e.attributes, className: t(), children: /* @__PURE__ */ p(
5176
- Er,
5200
+ Cr,
5177
5201
  {
5178
5202
  __isNestedRender: !0,
5179
5203
  apiVersion: e.builderContext.apiVersion,
5180
5204
  apiKey: e.builderContext.apiKey,
5181
- context: e.builderContext.context,
5205
+ context: {
5206
+ ...e.builderContext.context,
5207
+ symbolId: (a = e.builderBlock) == null ? void 0 : a.id
5208
+ },
5182
5209
  customComponents: Object.values(e.builderComponents),
5183
5210
  data: {
5184
- ...(a = e.symbol) == null ? void 0 : a.data,
5211
+ ...(s = e.symbol) == null ? void 0 : s.data,
5185
5212
  ...e.builderContext.localState,
5186
- ...(s = r == null ? void 0 : r.data) == null ? void 0 : s.state
5213
+ ...(u = r == null ? void 0 : r.data) == null ? void 0 : u.state
5187
5214
  },
5188
- model: (u = e.symbol) == null ? void 0 : u.model,
5215
+ model: (f = e.symbol) == null ? void 0 : f.model,
5189
5216
  content: r
5190
5217
  }
5191
5218
  ) });
5192
5219
  }
5193
- const Po = hn, No = Er;
5220
+ const Uo = xt, Do = Cr;
5194
5221
  export {
5195
- hn as Blocks,
5196
- Xr as Button,
5197
- Fi as Columns,
5198
- Er as Content,
5199
- Ui as Fragment,
5200
- Wi as Image,
5201
- Po as RenderBlocks,
5202
- No as RenderContent,
5203
- Vi as Section,
5204
- jo as Symbol,
5205
- ro as Text,
5206
- oo as Video,
5207
- Fo as _processContentResult,
5208
- Kr as createRegisterComponentMessage,
5209
- Uo as fetchBuilderProps,
5210
- _o as fetchEntries,
5211
- ur as fetchOneEntry,
5212
- Do as getAllContent,
5213
- Wo as getBuilderSearchParams,
5214
- Vo as getContent,
5222
+ xt as Blocks,
5223
+ zr as Button,
5224
+ Di as Columns,
5225
+ Cr as Content,
5226
+ _i as Fragment,
5227
+ Vi as Image,
5228
+ Uo as RenderBlocks,
5229
+ Do as RenderContent,
5230
+ $i as Section,
5231
+ No as Symbol,
5232
+ so as Text,
5233
+ co as Video,
5234
+ Lo as _processContentResult,
5235
+ Hr as createRegisterComponentMessage,
5236
+ Vo as fetchBuilderProps,
5237
+ $o as fetchEntries,
5238
+ sr as fetchOneEntry,
5239
+ Ho as getAllContent,
5240
+ Ko as getBuilderSearchParams,
5241
+ Go as getContent,
5215
5242
  Te as isEditing,
5216
- Hr as isPreviewing,
5217
- $r as register,
5218
- Lo as setEditorSettings,
5219
- $o as track
5243
+ $r as isPreviewing,
5244
+ Vr as register,
5245
+ zo as setEditorSettings,
5246
+ Xo as track
5220
5247
  };