@builder.io/sdk-react 2.0.1 → 2.0.2-1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/browser/blocks-exports.cjs +22 -22
- package/lib/browser/blocks-exports.mjs +745 -758
- package/lib/browser/index.cjs +1 -1
- package/lib/browser/index.mjs +1 -1
- package/lib/browser/init.cjs +1 -1
- package/lib/browser/init.mjs +1 -1
- package/lib/browser/{server-entry-f9067095.js → server-entry-45c77a86.js} +337 -335
- package/lib/browser/server-entry-69a4d3c9.cjs +2 -0
- package/lib/browser/server-entry.cjs +1 -1
- package/lib/browser/server-entry.mjs +1 -1
- package/lib/edge/{accordion-6ad2cec7.cjs → accordion-7896cae6.cjs} +1 -1
- package/lib/edge/{accordion-4a70912d.js → accordion-ddf18178.js} +1 -1
- package/lib/edge/blocks-03bf455b.cjs +32 -0
- package/lib/edge/{blocks-fedde8d2.js → blocks-10f68d94.js} +1333 -1346
- package/lib/edge/blocks-exports.cjs +1 -1
- package/lib/edge/blocks-exports.mjs +2 -2
- package/lib/edge/{button-f6426eff.cjs → button-91e0aec2.cjs} +1 -1
- package/lib/edge/{button-af35e8de.js → button-cba5f3f8.js} +2 -2
- package/lib/edge/{columns-f607250b.cjs → columns-080edf58.cjs} +1 -1
- package/lib/edge/{columns-1065c0ae.js → columns-6bfc17df.js} +3 -3
- package/lib/edge/{content-variants-773afb9f.cjs → content-variants-65794f41.cjs} +1 -1
- package/lib/edge/{content-variants-3d57a82f.js → content-variants-d855ce6c.js} +10 -10
- package/lib/edge/{form-5762c22a.cjs → form-23561b33.cjs} +1 -1
- package/lib/edge/{form-0a58d0e4.js → form-f4cd948c.js} +3 -3
- package/lib/edge/{get-class-prop-name-268b0f61.js → get-class-prop-name-1928cf9f.js} +1 -1
- package/lib/edge/{get-class-prop-name-3061c329.cjs → get-class-prop-name-237cd359.cjs} +1 -1
- package/lib/edge/{img-59bb70c7.cjs → img-86db320f.cjs} +1 -1
- package/lib/edge/{img-252c9967.js → img-f9ec8689.js} +1 -1
- package/lib/edge/index.cjs +1 -1
- package/lib/edge/index.mjs +1 -1
- package/lib/edge/init.cjs +1 -1
- package/lib/edge/init.mjs +1 -1
- package/lib/edge/{input-7ae243e2.js → input-394e72b8.js} +1 -1
- package/lib/edge/{input-2163d4dc.cjs → input-953ef2fe.cjs} +1 -1
- package/lib/edge/{select-cfa0eb8e.js → select-3e25848f.js} +1 -1
- package/lib/edge/{select-39231177.cjs → select-9bb6b8c1.cjs} +1 -1
- package/lib/edge/{server-entry-4750de9c.cjs → server-entry-6bd1c4bc.cjs} +1 -1
- package/lib/edge/{server-entry-681e8e79.js → server-entry-771d1637.js} +1 -1
- package/lib/edge/server-entry.cjs +1 -1
- package/lib/edge/server-entry.mjs +1 -1
- package/lib/edge/{slot-69da8c56.cjs → slot-22940ad6.cjs} +1 -1
- package/lib/edge/{slot-7c61542f.js → slot-881129c3.js} +3 -3
- package/lib/edge/{symbol-bd999a19.cjs → symbol-58595a6d.cjs} +1 -1
- package/lib/edge/{symbol-4a8a6cda.js → symbol-faa97614.js} +2 -2
- package/lib/edge/{tabs-3d0e242e.cjs → tabs-dc23d0fa.cjs} +1 -1
- package/lib/edge/{tabs-c3ff0c70.js → tabs-f0ca75e4.js} +3 -3
- package/lib/node/blocks-exports.cjs +21 -21
- package/lib/node/blocks-exports.mjs +758 -771
- package/lib/node/index.cjs +1 -1
- package/lib/node/index.mjs +2 -2
- package/lib/node/init.cjs +1 -1
- package/lib/node/init.mjs +2 -2
- package/lib/node/{node-runtime-78262e65.js → node-runtime-46d21495.js} +1 -1
- package/lib/node/{node-runtime-3bfd8465.cjs → node-runtime-55fc8cd4.cjs} +1 -1
- package/lib/node/server-entry-11eee7d8.cjs +2 -0
- package/lib/node/{server-entry-5f9f100f.js → server-entry-d45c1bf6.js} +337 -335
- package/lib/node/server-entry.cjs +1 -1
- package/lib/node/server-entry.mjs +1 -1
- package/package.json +3 -2
- package/types/components/block/block.helpers.d.ts +1 -1
- package/types/constants/sdk-version.d.ts +1 -1
- package/lib/browser/server-entry-29c5c31c.cjs +0 -2
- package/lib/edge/blocks-0bd38a83.cjs +0 -32
- package/lib/node/server-entry-63058f3f.cjs +0 -2
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
var kn = Object.defineProperty;
|
|
2
|
-
var En = (e, t,
|
|
3
|
-
var
|
|
4
|
-
import { jsx as
|
|
5
|
-
import { createContext as Cn, useState as
|
|
2
|
+
var En = (e, t, r) => t in e ? kn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
|
|
3
|
+
var Nt = (e, t, r) => (En(e, typeof t != "symbol" ? t + "" : t, r), r);
|
|
4
|
+
import { jsx as P, Fragment as z, jsxs as Mt } from "react/jsx-runtime";
|
|
5
|
+
import { createContext as Cn, useState as _t, useEffect as Rr, useContext as Mr } from "react";
|
|
6
6
|
import { BuilderContext as Gr } from "./blocks-exports.mjs";
|
|
7
|
-
import { isEditing as
|
|
8
|
-
import { getClassPropName as An } from "./get-class-prop-name-
|
|
7
|
+
import { isEditing as Bt, isBrowser as Dt, getUserAttributes as jn, logger as Wt, checkIsDefined as ot, fastClone as Vr, TARGET as Xr, isPreviewing as On } from "./server-entry-771d1637.js";
|
|
8
|
+
import { getClassPropName as An } from "./get-class-prop-name-1928cf9f.js";
|
|
9
9
|
import { DynamicRenderer as In } from "./dynamic-renderer-8b343325.js";
|
|
10
|
-
const Hr = (e, t,
|
|
10
|
+
const Hr = (e, t, r) => {
|
|
11
11
|
if (Object(e) !== e)
|
|
12
12
|
return e;
|
|
13
|
-
const
|
|
14
|
-
return
|
|
13
|
+
const n = Array.isArray(t) ? t : t.toString().match(/[^.[\]]+/g);
|
|
14
|
+
return n.slice(0, -1).reduce((o, s, a) => Object(o[s]) === o[s] ? o[s] : o[s] = Math.abs(Number(n[a + 1])) >> 0 === +n[a + 1] ? [] : {}, e)[n[n.length - 1]] = r, e;
|
|
15
15
|
}, Kr = ({
|
|
16
16
|
builder: e,
|
|
17
17
|
context: t,
|
|
18
|
-
event:
|
|
19
|
-
state:
|
|
18
|
+
event: r,
|
|
19
|
+
state: n
|
|
20
20
|
}) => Object.entries({
|
|
21
|
-
state:
|
|
21
|
+
state: n,
|
|
22
22
|
Builder: e,
|
|
23
23
|
// legacy
|
|
24
24
|
builder: e,
|
|
25
25
|
context: t,
|
|
26
|
-
event:
|
|
26
|
+
event: r
|
|
27
27
|
}), bn = () => ({
|
|
28
|
-
isEditing:
|
|
29
|
-
isBrowser:
|
|
30
|
-
isServer: !
|
|
31
|
-
getUserAttributes: () =>
|
|
28
|
+
isEditing: Bt(),
|
|
29
|
+
isBrowser: Dt(),
|
|
30
|
+
isServer: !Dt(),
|
|
31
|
+
getUserAttributes: () => jn()
|
|
32
32
|
}), Tn = (e, {
|
|
33
33
|
isExpression: t = !0
|
|
34
34
|
}) => /* 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, Pn = Cn({ registeredComponents: {} });
|
|
@@ -42,67 +42,67 @@ function Nn(e) {
|
|
|
42
42
|
const Rn = ({
|
|
43
43
|
code: e,
|
|
44
44
|
builder: t,
|
|
45
|
-
context:
|
|
46
|
-
event:
|
|
45
|
+
context: r,
|
|
46
|
+
event: n,
|
|
47
47
|
localState: o,
|
|
48
48
|
rootSetState: s,
|
|
49
49
|
rootState: a
|
|
50
50
|
}) => {
|
|
51
|
-
const
|
|
51
|
+
const p = Kr({
|
|
52
52
|
builder: t,
|
|
53
|
-
context:
|
|
54
|
-
event:
|
|
53
|
+
context: r,
|
|
54
|
+
event: n,
|
|
55
55
|
state: Jr({
|
|
56
56
|
rootState: a,
|
|
57
57
|
localState: o,
|
|
58
58
|
rootSetState: s
|
|
59
59
|
})
|
|
60
60
|
});
|
|
61
|
-
return new Function(...
|
|
61
|
+
return new Function(...p.map(([g]) => g), e)(...p.map(([, g]) => g));
|
|
62
62
|
};
|
|
63
63
|
function Jr({
|
|
64
64
|
rootState: e,
|
|
65
65
|
localState: t,
|
|
66
|
-
rootSetState:
|
|
66
|
+
rootSetState: r
|
|
67
67
|
}) {
|
|
68
68
|
return new Proxy(e, {
|
|
69
|
-
get: (
|
|
69
|
+
get: (n, o) => {
|
|
70
70
|
if (t && o in t)
|
|
71
71
|
return t[o];
|
|
72
|
-
const s =
|
|
72
|
+
const s = n[o];
|
|
73
73
|
return typeof s == "object" && s !== null ? Jr({
|
|
74
74
|
rootState: s,
|
|
75
75
|
localState: void 0,
|
|
76
|
-
rootSetState:
|
|
77
|
-
|
|
76
|
+
rootSetState: r ? (a) => {
|
|
77
|
+
n[o] = a, r(n);
|
|
78
78
|
} : void 0
|
|
79
79
|
}) : s;
|
|
80
80
|
},
|
|
81
|
-
set: (
|
|
81
|
+
set: (n, o, s) => {
|
|
82
82
|
if (t && o in t)
|
|
83
83
|
throw new Error("Writing to local state is not allowed as it is read-only.");
|
|
84
|
-
return
|
|
84
|
+
return n[o] = s, r == null || r(n), !0;
|
|
85
85
|
}
|
|
86
86
|
});
|
|
87
87
|
}
|
|
88
|
-
var
|
|
88
|
+
var T, Mn = function(e) {
|
|
89
89
|
function t(i) {
|
|
90
90
|
return 48 > i ? i === 36 : 58 > i ? !0 : 65 > i ? !1 : 91 > i ? !0 : 97 > i ? i === 95 : 123 > i ? !0 : 170 <= i && xn.test(String.fromCharCode(i));
|
|
91
91
|
}
|
|
92
|
-
function
|
|
92
|
+
function r(i) {
|
|
93
93
|
return 65 > i ? i === 36 : 91 > i ? !0 : 97 > i ? i === 95 : 123 > i ? !0 : 170 <= i && Nr.test(String.fromCharCode(i));
|
|
94
94
|
}
|
|
95
|
-
function
|
|
96
|
-
for (var u = d,
|
|
95
|
+
function n(i, l) {
|
|
96
|
+
for (var u = d, f = 1, S = 0; ; ) {
|
|
97
97
|
rt.lastIndex = S;
|
|
98
|
-
var
|
|
99
|
-
if (
|
|
100
|
-
++
|
|
98
|
+
var F = rt.exec(u);
|
|
99
|
+
if (F && F.index < i)
|
|
100
|
+
++f, S = F.index + F[0].length;
|
|
101
101
|
else
|
|
102
102
|
break;
|
|
103
103
|
}
|
|
104
104
|
throw u = {
|
|
105
|
-
line:
|
|
105
|
+
line: f,
|
|
106
106
|
ab: i - S
|
|
107
107
|
}, l += " (" + u.line + ":" + u.ab + ")", l = new SyntaxError(l), l.j = i, l.X = u, l.o = c, l;
|
|
108
108
|
}
|
|
@@ -110,17 +110,17 @@ var I, Bn = function(e) {
|
|
|
110
110
|
i = i.split(" ");
|
|
111
111
|
for (var l = /* @__PURE__ */ Object.create(null), u = 0; u < i.length; u++)
|
|
112
112
|
l[i[u]] = !0;
|
|
113
|
-
return function(
|
|
114
|
-
return l[
|
|
113
|
+
return function(f) {
|
|
114
|
+
return l[f] || !1;
|
|
115
115
|
};
|
|
116
116
|
}
|
|
117
117
|
function s() {
|
|
118
|
-
this.line = de, this.ab = c -
|
|
118
|
+
this.line = de, this.ab = c - re;
|
|
119
119
|
}
|
|
120
120
|
function a(i, l) {
|
|
121
|
-
me = c, j.C && (
|
|
121
|
+
me = c, j.C && (mt = new s()), x = i, g(), Y = l, Pe = i.m;
|
|
122
122
|
}
|
|
123
|
-
function
|
|
123
|
+
function p() {
|
|
124
124
|
for (var i = c, l = j.va && j.C && new s(), u = d.charCodeAt(c += 2); c < ve && u !== 10 && u !== 13 && u !== 8232 && u !== 8233; )
|
|
125
125
|
++c, u = d.charCodeAt(c);
|
|
126
126
|
j.va && j.va(!1, d.slice(i + 2, c), i, c, l, j.C && new s());
|
|
@@ -131,21 +131,21 @@ var I, Bn = function(e) {
|
|
|
131
131
|
if (i === 32)
|
|
132
132
|
++c;
|
|
133
133
|
else if (i === 13)
|
|
134
|
-
++c, i = d.charCodeAt(c), i === 10 && ++c, j.C && (++de,
|
|
134
|
+
++c, i = d.charCodeAt(c), i === 10 && ++c, j.C && (++de, re = c);
|
|
135
135
|
else if (i === 10 || i === 8232 || i === 8233)
|
|
136
|
-
++c, j.C && (++de,
|
|
136
|
+
++c, j.C && (++de, re = c);
|
|
137
137
|
else if (8 < i && 14 > i)
|
|
138
138
|
++c;
|
|
139
139
|
else if (i === 47)
|
|
140
140
|
if (i = d.charCodeAt(c + 1), i === 42) {
|
|
141
141
|
i = void 0;
|
|
142
|
-
var l = j.va && j.C && new s(), u = c,
|
|
143
|
-
if (
|
|
142
|
+
var l = j.va && j.C && new s(), u = c, f = d.indexOf("*/", c += 2);
|
|
143
|
+
if (f === -1 && n(c - 2, "Unterminated comment"), c = f + 2, j.C)
|
|
144
144
|
for (rt.lastIndex = u; (i = rt.exec(d)) && i.index < c; )
|
|
145
|
-
++de,
|
|
146
|
-
j.va && j.va(!0, d.slice(u + 2,
|
|
145
|
+
++de, re = i.index + i[0].length;
|
|
146
|
+
j.va && j.va(!0, d.slice(u + 2, f), u, c, l, j.C && new s());
|
|
147
147
|
} else if (i === 47)
|
|
148
|
-
|
|
148
|
+
p();
|
|
149
149
|
else
|
|
150
150
|
break;
|
|
151
151
|
else if (i === 160)
|
|
@@ -156,34 +156,34 @@ var I, Bn = function(e) {
|
|
|
156
156
|
break;
|
|
157
157
|
}
|
|
158
158
|
}
|
|
159
|
-
function
|
|
159
|
+
function y(i) {
|
|
160
160
|
switch (i) {
|
|
161
161
|
case 46:
|
|
162
|
-
i = d.charCodeAt(c + 1), 48 <= i && 57 >= i ?
|
|
162
|
+
i = d.charCodeAt(c + 1), 48 <= i && 57 >= i ? O(!0) : (++c, a(Cr));
|
|
163
163
|
return;
|
|
164
164
|
case 40:
|
|
165
|
-
return ++c, a(
|
|
165
|
+
return ++c, a(ne);
|
|
166
166
|
case 41:
|
|
167
|
-
return ++c, a(
|
|
167
|
+
return ++c, a(Q);
|
|
168
168
|
case 59:
|
|
169
|
-
return ++c, a(
|
|
169
|
+
return ++c, a(oe);
|
|
170
170
|
case 44:
|
|
171
171
|
return ++c, a(pe);
|
|
172
172
|
case 91:
|
|
173
|
-
return ++c, a(
|
|
173
|
+
return ++c, a(It);
|
|
174
174
|
case 93:
|
|
175
|
-
return ++c, a(
|
|
175
|
+
return ++c, a(bt);
|
|
176
176
|
case 123:
|
|
177
|
-
return ++c, a(
|
|
177
|
+
return ++c, a(Me);
|
|
178
178
|
case 125:
|
|
179
179
|
return ++c, a(xe);
|
|
180
180
|
case 58:
|
|
181
|
-
return ++c, a(
|
|
181
|
+
return ++c, a(Be);
|
|
182
182
|
case 63:
|
|
183
183
|
return ++c, a(jr);
|
|
184
184
|
case 48:
|
|
185
185
|
if (i = d.charCodeAt(c + 1), i === 120 || i === 88) {
|
|
186
|
-
c += 2, i =
|
|
186
|
+
c += 2, i = b(16), i === null && n(U + 2, "Expected hexadecimal number"), r(d.charCodeAt(c)) && n(c, "Identifier directly after number"), a(Re, i);
|
|
187
187
|
return;
|
|
188
188
|
}
|
|
189
189
|
case 49:
|
|
@@ -195,12 +195,12 @@ var I, Bn = function(e) {
|
|
|
195
195
|
case 55:
|
|
196
196
|
case 56:
|
|
197
197
|
case 57:
|
|
198
|
-
return
|
|
198
|
+
return O(!1);
|
|
199
199
|
case 34:
|
|
200
200
|
case 39:
|
|
201
201
|
c++;
|
|
202
202
|
for (var l = ""; ; ) {
|
|
203
|
-
c >= ve &&
|
|
203
|
+
c >= ve && n(U, "Unterminated string constant");
|
|
204
204
|
var u = d.charCodeAt(c);
|
|
205
205
|
if (u === i) {
|
|
206
206
|
++c, a(Qe, l);
|
|
@@ -208,11 +208,11 @@ var I, Bn = function(e) {
|
|
|
208
208
|
}
|
|
209
209
|
if (u === 92) {
|
|
210
210
|
u = d.charCodeAt(++c);
|
|
211
|
-
var
|
|
212
|
-
for (
|
|
213
|
-
|
|
214
|
-
if (
|
|
215
|
-
K &&
|
|
211
|
+
var f = /^[0-7]+/.exec(d.slice(c, c + 3));
|
|
212
|
+
for (f && (f = f[0]); f && 255 < parseInt(f, 8); )
|
|
213
|
+
f = f.slice(0, -1);
|
|
214
|
+
if (f === "0" && (f = null), ++c, f)
|
|
215
|
+
K && n(c - 2, "Octal literal in strict mode"), l += String.fromCharCode(parseInt(f, 8)), c += f.length - 1;
|
|
216
216
|
else
|
|
217
217
|
switch (u) {
|
|
218
218
|
case 110:
|
|
@@ -223,13 +223,13 @@ var I, Bn = function(e) {
|
|
|
223
223
|
l += "\r";
|
|
224
224
|
break;
|
|
225
225
|
case 120:
|
|
226
|
-
l += String.fromCharCode(
|
|
226
|
+
l += String.fromCharCode(D(2));
|
|
227
227
|
break;
|
|
228
228
|
case 117:
|
|
229
|
-
l += String.fromCharCode(
|
|
229
|
+
l += String.fromCharCode(D(4));
|
|
230
230
|
break;
|
|
231
231
|
case 85:
|
|
232
|
-
l += String.fromCharCode(
|
|
232
|
+
l += String.fromCharCode(D(8));
|
|
233
233
|
break;
|
|
234
234
|
case 116:
|
|
235
235
|
l += " ";
|
|
@@ -249,116 +249,116 @@ var I, Bn = function(e) {
|
|
|
249
249
|
case 13:
|
|
250
250
|
d.charCodeAt(c) === 10 && ++c;
|
|
251
251
|
case 10:
|
|
252
|
-
j.C && (
|
|
252
|
+
j.C && (re = c, ++de);
|
|
253
253
|
break;
|
|
254
254
|
default:
|
|
255
255
|
l += String.fromCharCode(u);
|
|
256
256
|
}
|
|
257
257
|
} else
|
|
258
|
-
u !== 13 && u !== 10 && u !== 8232 && u !== 8233 ||
|
|
258
|
+
u !== 13 && u !== 10 && u !== 8232 && u !== 8233 || n(U, "Unterminated string constant"), l += String.fromCharCode(u), ++c;
|
|
259
259
|
}
|
|
260
260
|
return;
|
|
261
261
|
case 47:
|
|
262
|
-
i = d.charCodeAt(c + 1), Pe ? (++c,
|
|
262
|
+
i = d.charCodeAt(c + 1), Pe ? (++c, J()) : i === 61 ? I(ye, 2) : I(Or, 1);
|
|
263
263
|
return;
|
|
264
264
|
case 37:
|
|
265
265
|
case 42:
|
|
266
|
-
d.charCodeAt(c + 1) === 61 ?
|
|
266
|
+
d.charCodeAt(c + 1) === 61 ? I(ye, 2) : I(yn, 1);
|
|
267
267
|
return;
|
|
268
268
|
case 124:
|
|
269
269
|
case 38:
|
|
270
|
-
l = d.charCodeAt(c + 1), l === i ?
|
|
270
|
+
l = d.charCodeAt(c + 1), l === i ? I(i === 124 ? br : Tr, 2) : l === 61 ? I(ye, 2) : I(i === 124 ? un : fn, 1);
|
|
271
271
|
return;
|
|
272
272
|
case 94:
|
|
273
|
-
d.charCodeAt(c + 1) === 61 ?
|
|
273
|
+
d.charCodeAt(c + 1) === 61 ? I(ye, 2) : I(cn, 1);
|
|
274
274
|
return;
|
|
275
275
|
case 43:
|
|
276
276
|
case 45:
|
|
277
|
-
l = d.charCodeAt(c + 1), l === i ? l === 45 && d.charCodeAt(c + 2) === 62 && tt.test(d.slice(fe, c)) ? (c += 3,
|
|
277
|
+
l = d.charCodeAt(c + 1), l === i ? l === 45 && d.charCodeAt(c + 2) === 62 && tt.test(d.slice(fe, c)) ? (c += 3, p(), g(), C()) : I(ln, 2) : l === 61 ? I(ye, 2) : I(dn, 1);
|
|
278
278
|
return;
|
|
279
279
|
case 60:
|
|
280
280
|
case 62:
|
|
281
|
-
l = d.charCodeAt(c + 1), u = 1, l === i ? (u = i === 62 && d.charCodeAt(c + 2) === 62 ? 3 : 2, d.charCodeAt(c + u) === 61 ?
|
|
281
|
+
l = d.charCodeAt(c + 1), u = 1, l === i ? (u = i === 62 && d.charCodeAt(c + 2) === 62 ? 3 : 2, d.charCodeAt(c + u) === 61 ? I(ye, u + 1) : I(gn, u)) : l === 33 && i === 60 && d.charCodeAt(c + 2) === 45 && d.charCodeAt(c + 3) === 45 ? (c += 4, p(), g(), C()) : (l === 61 && (u = d.charCodeAt(c + 2) === 61 ? 3 : 2), I(hn, u));
|
|
282
282
|
return;
|
|
283
283
|
case 61:
|
|
284
284
|
case 33:
|
|
285
|
-
d.charCodeAt(c + 1) === 61 ?
|
|
285
|
+
d.charCodeAt(c + 1) === 61 ? I(pn, d.charCodeAt(c + 2) === 61 ? 3 : 2) : I(i === 61 ? Ar : Ir, 1);
|
|
286
286
|
return;
|
|
287
287
|
case 126:
|
|
288
|
-
return
|
|
288
|
+
return I(Ir, 1);
|
|
289
289
|
}
|
|
290
290
|
return !1;
|
|
291
291
|
}
|
|
292
292
|
function C(i) {
|
|
293
|
-
if (i ? c =
|
|
294
|
-
return
|
|
293
|
+
if (i ? c = U + 1 : U = c, j.C && (vt = new s()), i)
|
|
294
|
+
return J();
|
|
295
295
|
if (c >= ve)
|
|
296
|
-
return a(
|
|
297
|
-
if (i = d.charCodeAt(c),
|
|
296
|
+
return a(St);
|
|
297
|
+
if (i = d.charCodeAt(c), r(i) || i === 92)
|
|
298
298
|
return H();
|
|
299
|
-
if (
|
|
299
|
+
if (y(i) === !1) {
|
|
300
300
|
if (i = String.fromCharCode(i), i === "\\" || Nr.test(i))
|
|
301
301
|
return H();
|
|
302
|
-
|
|
302
|
+
n(c, "Unexpected character '" + i + "'");
|
|
303
303
|
}
|
|
304
304
|
}
|
|
305
|
-
function
|
|
305
|
+
function I(i, l) {
|
|
306
306
|
var u = d.slice(c, c + l);
|
|
307
307
|
c += l, a(i, u);
|
|
308
308
|
}
|
|
309
|
-
function
|
|
309
|
+
function J() {
|
|
310
310
|
for (var i, l, u = c; ; ) {
|
|
311
|
-
c >= ve &&
|
|
312
|
-
var
|
|
313
|
-
if (tt.test(
|
|
311
|
+
c >= ve && n(u, "Unterminated regexp");
|
|
312
|
+
var f = d.charAt(c);
|
|
313
|
+
if (tt.test(f) && n(u, "Unterminated regexp"), i)
|
|
314
314
|
i = !1;
|
|
315
315
|
else {
|
|
316
|
-
if (
|
|
316
|
+
if (f === "[")
|
|
317
317
|
l = !0;
|
|
318
|
-
else if (
|
|
318
|
+
else if (f === "]" && l)
|
|
319
319
|
l = !1;
|
|
320
|
-
else if (
|
|
320
|
+
else if (f === "/" && !l)
|
|
321
321
|
break;
|
|
322
|
-
i =
|
|
322
|
+
i = f === "\\";
|
|
323
323
|
}
|
|
324
324
|
++c;
|
|
325
325
|
}
|
|
326
|
-
i = d.slice(u, c), ++c, (l =
|
|
326
|
+
i = d.slice(u, c), ++c, (l = R()) && !/^[gmi]*$/.test(l) && n(u, "Invalid regexp flag");
|
|
327
327
|
try {
|
|
328
328
|
var S = new RegExp(i, l);
|
|
329
|
-
} catch (
|
|
330
|
-
throw
|
|
329
|
+
} catch (F) {
|
|
330
|
+
throw F instanceof SyntaxError && n(u, F.message), F;
|
|
331
331
|
}
|
|
332
332
|
a(ir, S);
|
|
333
333
|
}
|
|
334
|
-
function
|
|
335
|
-
for (var u = c,
|
|
334
|
+
function b(i, l) {
|
|
335
|
+
for (var u = c, f = 0, S = l === void 0 ? 1 / 0 : l, F = 0; F < S; ++F) {
|
|
336
336
|
var G = d.charCodeAt(c);
|
|
337
337
|
if (G = 97 <= G ? G - 97 + 10 : 65 <= G ? G - 65 + 10 : 48 <= G && 57 >= G ? G - 48 : 1 / 0, G >= i)
|
|
338
338
|
break;
|
|
339
|
-
++c,
|
|
339
|
+
++c, f = f * i + G;
|
|
340
340
|
}
|
|
341
|
-
return c === u || l !== void 0 && c - u !== l ? null :
|
|
341
|
+
return c === u || l !== void 0 && c - u !== l ? null : f;
|
|
342
342
|
}
|
|
343
|
-
function
|
|
344
|
-
var l = c, u = !1,
|
|
345
|
-
i ||
|
|
343
|
+
function O(i) {
|
|
344
|
+
var l = c, u = !1, f = d.charCodeAt(c) === 48;
|
|
345
|
+
i || b(10) !== null || n(l, "Invalid number"), d.charCodeAt(c) === 46 && (++c, b(10), u = !0), i = d.charCodeAt(c), (i === 69 || i === 101) && (i = d.charCodeAt(++c), i !== 43 && i !== 45 || ++c, b(10) === null && n(l, "Invalid number"), u = !0), r(d.charCodeAt(c)) && n(c, "Identifier directly after number"), i = d.slice(l, c);
|
|
346
346
|
var S;
|
|
347
|
-
u ? S = parseFloat(i) :
|
|
347
|
+
u ? S = parseFloat(i) : f && i.length !== 1 ? /[89]/.test(i) || K ? n(l, "Invalid number") : S = parseInt(i, 8) : S = parseInt(i, 10), a(Re, S);
|
|
348
348
|
}
|
|
349
|
-
function
|
|
350
|
-
return i =
|
|
349
|
+
function D(i) {
|
|
350
|
+
return i = b(16, i), i === null && n(U, "Bad character escape sequence"), i;
|
|
351
351
|
}
|
|
352
|
-
function
|
|
352
|
+
function R() {
|
|
353
353
|
Se = !1;
|
|
354
354
|
for (var i, l = !0, u = c; ; ) {
|
|
355
|
-
var
|
|
356
|
-
if (t(
|
|
355
|
+
var f = d.charCodeAt(c);
|
|
356
|
+
if (t(f))
|
|
357
357
|
Se && (i += d.charAt(c)), ++c;
|
|
358
|
-
else if (
|
|
359
|
-
Se || (i = d.slice(u, c)), Se = !0, d.charCodeAt(++c) !== 117 &&
|
|
360
|
-
var S = String.fromCharCode(
|
|
361
|
-
S ||
|
|
358
|
+
else if (f === 92) {
|
|
359
|
+
Se || (i = d.slice(u, c)), Se = !0, d.charCodeAt(++c) !== 117 && n(c, "Expecting Unicode escape sequence \\uXXXX"), ++c, f = D(4);
|
|
360
|
+
var S = String.fromCharCode(f);
|
|
361
|
+
S || n(c - 1, "Invalid Unicode escape"), (l ? r(f) : t(f)) || n(c - 4, "Invalid Unicode escape"), i += S;
|
|
362
362
|
} else
|
|
363
363
|
break;
|
|
364
364
|
l = !1;
|
|
@@ -366,277 +366,277 @@ var I, Bn = function(e) {
|
|
|
366
366
|
return Se ? i : d.slice(u, c);
|
|
367
367
|
}
|
|
368
368
|
function H() {
|
|
369
|
-
var i =
|
|
369
|
+
var i = R(), l = we;
|
|
370
370
|
!Se && mn(i) && (l = an[i]), a(l, i);
|
|
371
371
|
}
|
|
372
372
|
function k() {
|
|
373
|
-
|
|
373
|
+
wt = U, fe = me, xt = mt, C();
|
|
374
374
|
}
|
|
375
|
-
function
|
|
376
|
-
if (K = i, c =
|
|
377
|
-
for (; c <
|
|
378
|
-
|
|
379
|
-
`,
|
|
375
|
+
function q(i) {
|
|
376
|
+
if (K = i, c = U, j.C)
|
|
377
|
+
for (; c < re; )
|
|
378
|
+
re = d.lastIndexOf(`
|
|
379
|
+
`, re - 2) + 1, --de;
|
|
380
380
|
g(), C();
|
|
381
381
|
}
|
|
382
382
|
function Je() {
|
|
383
|
-
this.type = null, this.start =
|
|
383
|
+
this.type = null, this.start = U, this.end = null;
|
|
384
384
|
}
|
|
385
385
|
function tr() {
|
|
386
|
-
this.start =
|
|
386
|
+
this.start = vt, this.end = null, yt && (this.source = yt);
|
|
387
387
|
}
|
|
388
|
-
function
|
|
388
|
+
function _() {
|
|
389
389
|
var i = new Je();
|
|
390
|
-
return j.C && (i.X = new tr()), j.vb && (i.sourceFile = j.vb), j.Xa && (i.j = [
|
|
390
|
+
return j.C && (i.X = new tr()), j.vb && (i.sourceFile = j.vb), j.Xa && (i.j = [U, 0]), i;
|
|
391
391
|
}
|
|
392
392
|
function ce(i) {
|
|
393
393
|
var l = new Je();
|
|
394
394
|
return l.start = i.start, j.C && (l.X = new tr(), l.X.start = i.X.start), j.Xa && (l.j = [i.j[0], 0]), l;
|
|
395
395
|
}
|
|
396
396
|
function E(i, l) {
|
|
397
|
-
return i.type = l, i.end = fe, j.C && (i.X.end =
|
|
397
|
+
return i.type = l, i.end = fe, j.C && (i.X.end = xt), j.Xa && (i.j[1] = fe), i;
|
|
398
398
|
}
|
|
399
|
-
function
|
|
399
|
+
function ut(i) {
|
|
400
400
|
return i.type === "ExpressionStatement" && i.la.type === "Literal" && i.la.value === "use strict";
|
|
401
401
|
}
|
|
402
|
-
function
|
|
402
|
+
function N(i) {
|
|
403
403
|
return x === i ? (k(), !0) : !1;
|
|
404
404
|
}
|
|
405
405
|
function Ye() {
|
|
406
|
-
return !j.fc && (x ===
|
|
406
|
+
return !j.fc && (x === St || x === xe || tt.test(d.slice(fe, U)));
|
|
407
407
|
}
|
|
408
408
|
function ge() {
|
|
409
|
-
|
|
409
|
+
N(oe) || Ye() || ee();
|
|
410
410
|
}
|
|
411
|
-
function
|
|
412
|
-
x === i ? k() :
|
|
411
|
+
function M(i) {
|
|
412
|
+
x === i ? k() : ee();
|
|
413
413
|
}
|
|
414
|
-
function
|
|
415
|
-
|
|
414
|
+
function ee() {
|
|
415
|
+
n(U, "Unexpected token");
|
|
416
416
|
}
|
|
417
417
|
function Ze(i) {
|
|
418
|
-
i.type !== "Identifier" && i.type !== "MemberExpression" &&
|
|
418
|
+
i.type !== "Identifier" && i.type !== "MemberExpression" && n(i.start, "Assigning to rvalue"), K && i.type === "Identifier" && et(i.name) && n(i.start, "Assigning to " + i.name + " in strict mode");
|
|
419
419
|
}
|
|
420
|
-
function
|
|
421
|
-
(x === Or || x === ye &&
|
|
422
|
-
var i = x, l =
|
|
420
|
+
function Z() {
|
|
421
|
+
(x === Or || x === ye && Y === "/=") && C(!0);
|
|
422
|
+
var i = x, l = _();
|
|
423
423
|
switch (i) {
|
|
424
|
-
case
|
|
424
|
+
case kt:
|
|
425
425
|
case ar:
|
|
426
426
|
k();
|
|
427
|
-
var u = i ===
|
|
428
|
-
|
|
429
|
-
for (var
|
|
430
|
-
var S =
|
|
427
|
+
var u = i === kt;
|
|
428
|
+
N(oe) || Ye() ? l.label = null : x !== we ? ee() : (l.label = te(), ge());
|
|
429
|
+
for (var f = 0; f < B.length; ++f) {
|
|
430
|
+
var S = B[f];
|
|
431
431
|
if ((l.label === null || S.name === l.label.name) && (S.kind !== null && (u || S.kind === "loop") || l.label && u))
|
|
432
432
|
break;
|
|
433
433
|
}
|
|
434
|
-
return
|
|
434
|
+
return f === B.length && n(l.start, "Unsyntactic " + i.l), E(l, u ? "BreakStatement" : "ContinueStatement");
|
|
435
435
|
case lr:
|
|
436
436
|
return k(), ge(), E(l, "DebuggerStatement");
|
|
437
437
|
case cr:
|
|
438
|
-
return k(),
|
|
438
|
+
return k(), B.push(Tt), l.body = Z(), B.pop(), M(At), l.test = Ie(), ge(), E(l, "DoWhileStatement");
|
|
439
439
|
case hr:
|
|
440
|
-
return k(),
|
|
441
|
-
case
|
|
442
|
-
return k(),
|
|
440
|
+
return k(), B.push(Tt), M(ne), x === oe ? ct(l, null) : x === Ot ? (i = _(), k(), nr(i, !0), E(i, "VariableDeclaration"), i.fa.length === 1 && N(qe) ? rr(l, i) : ct(l, i)) : (i = $(!1, !0), N(qe) ? (Ze(i), rr(l, i)) : ct(l, i));
|
|
441
|
+
case Ct:
|
|
442
|
+
return k(), gt(l, !0);
|
|
443
443
|
case gr:
|
|
444
|
-
return k(), l.test = Ie(), l.da =
|
|
444
|
+
return k(), l.test = Ie(), l.da = Z(), l.alternate = N(fr) ? Z() : null, E(l, "IfStatement");
|
|
445
445
|
case dr:
|
|
446
|
-
return Ne || j.Ib ||
|
|
447
|
-
case
|
|
448
|
-
for (k(), l.Qb = Ie(), l.tb = [],
|
|
449
|
-
x ===
|
|
450
|
-
return
|
|
446
|
+
return Ne || j.Ib || n(U, "'return' outside of function"), k(), N(oe) || Ye() ? l.K = null : (l.K = $(), ge()), E(l, "ReturnStatement");
|
|
447
|
+
case jt:
|
|
448
|
+
for (k(), l.Qb = Ie(), l.tb = [], M(Me), B.push(Sn); x !== xe; )
|
|
449
|
+
x === Et || x === ur ? (i = x === Et, f && E(f, "SwitchCase"), l.tb.push(f = _()), f.da = [], k(), i ? f.test = $() : (u && n(wt, "Multiple default clauses"), u = !0, f.test = null), M(Be)) : (f || ee(), f.da.push(Z()));
|
|
450
|
+
return f && E(f, "SwitchCase"), k(), B.pop(), E(l, "SwitchStatement");
|
|
451
451
|
case yr:
|
|
452
|
-
return k(), tt.test(d.slice(fe,
|
|
452
|
+
return k(), tt.test(d.slice(fe, U)) && n(fe, "Illegal newline after throw"), l.K = $(), ge(), E(l, "ThrowStatement");
|
|
453
453
|
case vr:
|
|
454
|
-
return k(), l.block = be(), l.Ea = null, x === sr && (i =
|
|
455
|
-
case
|
|
454
|
+
return k(), l.block = be(), l.Ea = null, x === sr && (i = _(), k(), M(ne), i.Ua = te(), K && et(i.Ua.name) && n(i.Ua.start, "Binding " + i.Ua.name + " in strict mode"), M(Q), i.body = be(), l.Ea = E(i, "CatchClause")), l.fb = N(pr) ? be() : null, l.Ea || l.fb || n(l.start, "Missing catch or finally clause"), E(l, "TryStatement");
|
|
455
|
+
case Ot:
|
|
456
456
|
return k(), nr(l), ge(), E(l, "VariableDeclaration");
|
|
457
|
-
case
|
|
458
|
-
return k(), l.test = Ie(),
|
|
457
|
+
case At:
|
|
458
|
+
return k(), l.test = Ie(), B.push(Tt), l.body = Z(), B.pop(), E(l, "WhileStatement");
|
|
459
459
|
case mr:
|
|
460
|
-
return K &&
|
|
461
|
-
case
|
|
460
|
+
return K && n(U, "'with' in strict mode"), k(), l.object = Ie(), l.body = Z(), E(l, "WithStatement");
|
|
461
|
+
case Me:
|
|
462
462
|
return be();
|
|
463
|
-
case
|
|
463
|
+
case oe:
|
|
464
464
|
return k(), E(l, "EmptyStatement");
|
|
465
465
|
default:
|
|
466
|
-
if (u =
|
|
467
|
-
for (
|
|
468
|
-
|
|
469
|
-
return
|
|
466
|
+
if (u = Y, S = $(), i === we && S.type === "Identifier" && N(Be)) {
|
|
467
|
+
for (f = 0; f < B.length; ++f)
|
|
468
|
+
B[f].name === u && n(S.start, "Label '" + u + "' is already declared");
|
|
469
|
+
return B.push({
|
|
470
470
|
name: u,
|
|
471
|
-
kind: x.W ? "loop" : x ===
|
|
472
|
-
}), l.body =
|
|
471
|
+
kind: x.W ? "loop" : x === jt ? "switch" : null
|
|
472
|
+
}), l.body = Z(), B.pop(), l.label = S, E(l, "LabeledStatement");
|
|
473
473
|
}
|
|
474
474
|
return l.la = S, ge(), E(l, "ExpressionStatement");
|
|
475
475
|
}
|
|
476
476
|
}
|
|
477
477
|
function Ie() {
|
|
478
|
-
|
|
479
|
-
var i =
|
|
480
|
-
return
|
|
478
|
+
M(ne);
|
|
479
|
+
var i = $();
|
|
480
|
+
return M(Q), i;
|
|
481
481
|
}
|
|
482
482
|
function be(i) {
|
|
483
|
-
var l =
|
|
484
|
-
for (l.body = [],
|
|
485
|
-
var S =
|
|
486
|
-
if (l.body.push(S), u && i &&
|
|
487
|
-
var
|
|
488
|
-
|
|
483
|
+
var l = _(), u = !0, f = !1;
|
|
484
|
+
for (l.body = [], M(Me); !N(xe); ) {
|
|
485
|
+
var S = Z();
|
|
486
|
+
if (l.body.push(S), u && i && ut(S)) {
|
|
487
|
+
var F = f;
|
|
488
|
+
q(f = !0);
|
|
489
489
|
}
|
|
490
490
|
u = !1;
|
|
491
491
|
}
|
|
492
|
-
return
|
|
492
|
+
return f && !F && q(!1), E(l, "BlockStatement");
|
|
493
493
|
}
|
|
494
|
-
function
|
|
495
|
-
return i.ua = l,
|
|
494
|
+
function ct(i, l) {
|
|
495
|
+
return i.ua = l, M(oe), i.test = x === oe ? null : $(), M(oe), i.update = x === Q ? null : $(), M(Q), i.body = Z(), B.pop(), E(i, "ForStatement");
|
|
496
496
|
}
|
|
497
497
|
function rr(i, l) {
|
|
498
|
-
return i.left = l, i.right =
|
|
498
|
+
return i.left = l, i.right = $(), M(Q), i.body = Z(), B.pop(), E(i, "ForInStatement");
|
|
499
499
|
}
|
|
500
500
|
function nr(i, l) {
|
|
501
501
|
for (i.fa = [], i.kind = "var"; ; ) {
|
|
502
|
-
var u =
|
|
503
|
-
if (u.id =
|
|
502
|
+
var u = _();
|
|
503
|
+
if (u.id = te(), K && et(u.id.name) && n(u.id.start, "Binding " + u.id.name + " in strict mode"), u.ua = N(Ar) ? $(!0, l) : null, i.fa.push(E(u, "VariableDeclarator")), !N(pe))
|
|
504
504
|
break;
|
|
505
505
|
}
|
|
506
506
|
}
|
|
507
|
-
function
|
|
508
|
-
var u =
|
|
507
|
+
function $(i, l) {
|
|
508
|
+
var u = ft(l);
|
|
509
509
|
if (!i && x === pe) {
|
|
510
|
-
for (i = ce(u), i.xb = [u];
|
|
511
|
-
i.xb.push(
|
|
510
|
+
for (i = ce(u), i.xb = [u]; N(pe); )
|
|
511
|
+
i.xb.push(ft(l));
|
|
512
512
|
return E(i, "SequenceExpression");
|
|
513
513
|
}
|
|
514
514
|
return u;
|
|
515
515
|
}
|
|
516
|
-
function
|
|
517
|
-
var l = ht(
|
|
518
|
-
if (
|
|
516
|
+
function ft(i) {
|
|
517
|
+
var l = pt(ht(), -1, i);
|
|
518
|
+
if (N(jr)) {
|
|
519
519
|
var u = ce(l);
|
|
520
|
-
u.test = l, u.da =
|
|
520
|
+
u.test = l, u.da = $(!0), M(Be), u.alternate = $(!0, i), l = E(u, "ConditionalExpression");
|
|
521
521
|
}
|
|
522
|
-
return x.Cb ? (u = ce(l), u.operator =
|
|
522
|
+
return x.Cb ? (u = ce(l), u.operator = Y, u.left = l, k(), u.right = ft(i), Ze(l), E(u, "AssignmentExpression")) : l;
|
|
523
523
|
}
|
|
524
|
-
function
|
|
525
|
-
var
|
|
526
|
-
if (
|
|
524
|
+
function pt(i, l, u) {
|
|
525
|
+
var f = x.L;
|
|
526
|
+
if (f !== null && (!u || x !== qe) && f > l) {
|
|
527
527
|
var S = ce(i);
|
|
528
|
-
return S.left = i, S.operator =
|
|
528
|
+
return S.left = i, S.operator = Y, i = x, k(), S.right = pt(ht(), f, u), f = E(S, i === br || i === Tr ? "LogicalExpression" : "BinaryExpression"), pt(f, l, u);
|
|
529
529
|
}
|
|
530
530
|
return i;
|
|
531
531
|
}
|
|
532
|
-
function
|
|
532
|
+
function ht() {
|
|
533
533
|
if (x.prefix) {
|
|
534
|
-
var i =
|
|
535
|
-
return i.operator =
|
|
534
|
+
var i = _(), l = x.$b;
|
|
535
|
+
return i.operator = Y, Pe = i.prefix = !0, k(), i.K = ht(), l ? Ze(i.K) : K && i.operator === "delete" && i.K.type === "Identifier" && n(i.start, "Deleting local variable in strict mode"), E(i, l ? "UpdateExpression" : "UnaryExpression");
|
|
536
536
|
}
|
|
537
537
|
for (l = Te(ze()); x.cc && !Ye(); )
|
|
538
|
-
i = ce(l), i.operator =
|
|
538
|
+
i = ce(l), i.operator = Y, i.prefix = !1, i.K = l, Ze(l), k(), l = E(i, "UpdateExpression");
|
|
539
539
|
return l;
|
|
540
540
|
}
|
|
541
541
|
function Te(i, l) {
|
|
542
|
-
if (
|
|
542
|
+
if (N(Cr)) {
|
|
543
543
|
var u = ce(i);
|
|
544
|
-
return u.object = i, u.Wa =
|
|
544
|
+
return u.object = i, u.Wa = te(!0), u.bb = !1, Te(E(u, "MemberExpression"), l);
|
|
545
545
|
}
|
|
546
|
-
return
|
|
546
|
+
return N(It) ? (u = ce(i), u.object = i, u.Wa = $(), u.bb = !0, M(bt), Te(E(u, "MemberExpression"), l)) : !l && N(ne) ? (u = ce(i), u.callee = i, u.arguments = dt(Q, !1), Te(E(u, "CallExpression"), l)) : i;
|
|
547
547
|
}
|
|
548
548
|
function ze() {
|
|
549
549
|
switch (x) {
|
|
550
550
|
case xr:
|
|
551
|
-
var i =
|
|
551
|
+
var i = _();
|
|
552
552
|
return k(), E(i, "ThisExpression");
|
|
553
553
|
case we:
|
|
554
|
-
return
|
|
554
|
+
return te();
|
|
555
555
|
case Re:
|
|
556
556
|
case Qe:
|
|
557
557
|
case ir:
|
|
558
|
-
return i =
|
|
558
|
+
return i = _(), i.value = Y, i.raw = d.slice(U, me), k(), E(i, "Literal");
|
|
559
559
|
case Sr:
|
|
560
560
|
case kr:
|
|
561
561
|
case Er:
|
|
562
|
-
return i =
|
|
563
|
-
case
|
|
564
|
-
i =
|
|
565
|
-
var l =
|
|
562
|
+
return i = _(), i.value = x.$a, i.raw = x.l, k(), E(i, "Literal");
|
|
563
|
+
case ne:
|
|
564
|
+
i = vt;
|
|
565
|
+
var l = U;
|
|
566
566
|
k();
|
|
567
|
-
var u =
|
|
568
|
-
return u.start = l, u.end = me, j.C && (u.X.start = i, u.X.end =
|
|
569
|
-
case
|
|
570
|
-
return i =
|
|
571
|
-
case
|
|
572
|
-
for (i =
|
|
567
|
+
var u = $();
|
|
568
|
+
return u.start = l, u.end = me, j.C && (u.X.start = i, u.X.end = mt), j.Xa && (u.j = [l, me]), M(Q), u;
|
|
569
|
+
case It:
|
|
570
|
+
return i = _(), k(), i.elements = dt(bt, !0, !0), E(i, "ArrayExpression");
|
|
571
|
+
case Me:
|
|
572
|
+
for (i = _(), l = !0, u = !1, i.h = [], k(); !N(xe); ) {
|
|
573
573
|
if (l)
|
|
574
574
|
l = !1;
|
|
575
|
-
else if (
|
|
575
|
+
else if (M(pe), j.sb && N(xe))
|
|
576
576
|
break;
|
|
577
|
-
var
|
|
578
|
-
key: x === Re || x === Qe ? ze() :
|
|
577
|
+
var f = {
|
|
578
|
+
key: x === Re || x === Qe ? ze() : te(!0)
|
|
579
579
|
}, S = !1;
|
|
580
|
-
if (
|
|
581
|
-
|
|
582
|
-
var
|
|
580
|
+
if (N(Be)) {
|
|
581
|
+
f.value = $(!0);
|
|
582
|
+
var F = f.kind = "init";
|
|
583
583
|
} else
|
|
584
|
-
|
|
585
|
-
if (
|
|
584
|
+
f.key.type !== "Identifier" || f.key.name !== "get" && f.key.name !== "set" ? ee() : (S = u = !0, F = f.kind = f.key.name, f.key = x === Re || x === Qe ? ze() : te(!0), x !== ne && ee(), f.value = gt(_(), !1));
|
|
585
|
+
if (f.key.type === "Identifier" && (K || u))
|
|
586
586
|
for (var G = 0; G < i.h.length; ++G) {
|
|
587
587
|
var ke = i.h[G];
|
|
588
|
-
if (ke.key.name ===
|
|
589
|
-
var
|
|
590
|
-
|
|
588
|
+
if (ke.key.name === f.key.name) {
|
|
589
|
+
var Pt = F === ke.kind || S && ke.kind === "init" || F === "init" && (ke.kind === "get" || ke.kind === "set");
|
|
590
|
+
Pt && !K && F === "init" && ke.kind === "init" && (Pt = !1), Pt && n(f.key.start, "Redefinition of property");
|
|
591
591
|
}
|
|
592
592
|
}
|
|
593
|
-
i.h.push(
|
|
593
|
+
i.h.push(f);
|
|
594
594
|
}
|
|
595
595
|
return E(i, "ObjectExpression");
|
|
596
|
-
case
|
|
597
|
-
return i =
|
|
596
|
+
case Ct:
|
|
597
|
+
return i = _(), k(), gt(i, !1);
|
|
598
598
|
case wr:
|
|
599
|
-
return i =
|
|
599
|
+
return i = _(), k(), i.callee = Te(ze(), !0), i.arguments = N(ne) ? dt(Q, !1) : sn, E(i, "NewExpression");
|
|
600
600
|
}
|
|
601
|
-
|
|
601
|
+
ee();
|
|
602
602
|
}
|
|
603
|
-
function
|
|
604
|
-
x === we ? i.id =
|
|
603
|
+
function gt(i, l) {
|
|
604
|
+
x === we ? i.id = te() : l ? ee() : i.id = null, i.oa = [];
|
|
605
605
|
var u = !0;
|
|
606
|
-
for (
|
|
607
|
-
u ? u = !1 :
|
|
606
|
+
for (M(ne); !N(Q); )
|
|
607
|
+
u ? u = !1 : M(pe), i.oa.push(te());
|
|
608
608
|
u = Ne;
|
|
609
|
-
var
|
|
610
|
-
if (Ne = !0,
|
|
609
|
+
var f = B;
|
|
610
|
+
if (Ne = !0, B = [], i.body = be(!0), Ne = u, B = f, K || i.body.body.length && ut(i.body.body[0])) {
|
|
611
611
|
for (u = i.id ? -1 : 0; u < i.oa.length; ++u)
|
|
612
|
-
if (
|
|
612
|
+
if (f = 0 > u ? i.id : i.oa[u], (Pr(f.name) || et(f.name)) && n(f.start, "Defining '" + f.name + "' in strict mode"), 0 <= u)
|
|
613
613
|
for (var S = 0; S < u; ++S)
|
|
614
|
-
|
|
614
|
+
f.name === i.oa[S].name && n(f.start, "Argument name clash in strict mode");
|
|
615
615
|
}
|
|
616
616
|
return E(i, l ? "FunctionDeclaration" : "FunctionExpression");
|
|
617
617
|
}
|
|
618
|
-
function
|
|
619
|
-
for (var
|
|
618
|
+
function dt(i, l, u) {
|
|
619
|
+
for (var f = [], S = !0; !N(i); ) {
|
|
620
620
|
if (S)
|
|
621
621
|
S = !1;
|
|
622
|
-
else if (
|
|
622
|
+
else if (M(pe), l && j.sb && N(i))
|
|
623
623
|
break;
|
|
624
|
-
|
|
624
|
+
f.push(u && x === pe ? null : $(!0));
|
|
625
625
|
}
|
|
626
|
-
return
|
|
626
|
+
return f;
|
|
627
627
|
}
|
|
628
|
-
function
|
|
629
|
-
var l =
|
|
630
|
-
return i && j.yb === "everywhere" && (i = !1), x === we ? (!i && (j.yb && vn(
|
|
628
|
+
function te(i) {
|
|
629
|
+
var l = _();
|
|
630
|
+
return i && j.yb === "everywhere" && (i = !1), x === we ? (!i && (j.yb && vn(Y) || K && Pr(Y)) && d.slice(U, me).indexOf("\\") === -1 && n(U, "The keyword '" + Y + "' is reserved"), l.name = Y) : i && x.l ? l.name = x.l : ee(), Pe = !1, k(), E(l, "Identifier");
|
|
631
631
|
}
|
|
632
632
|
e.version = "0.5.0";
|
|
633
|
-
var j, d = "", ve,
|
|
633
|
+
var j, d = "", ve, yt;
|
|
634
634
|
e.parse = function(i, l) {
|
|
635
635
|
d = String(i), ve = d.length, j = l || {};
|
|
636
636
|
for (var u in or)
|
|
637
637
|
Object.prototype.hasOwnProperty.call(j, u) || (j[u] = or[u]);
|
|
638
|
-
for (
|
|
639
|
-
u =
|
|
638
|
+
for (yt = j.sourceFile, de = 1, c = re = 0, Pe = !0, g(), u = j.dc, wt = fe = c, j.C && (xt = new s()), Ne = K = !1, B = [], C(), i = u || _(), l = !0, u || (i.body = []); x !== St; )
|
|
639
|
+
u = Z(), i.body.push(u), l && ut(u) && q(!0), l = !1;
|
|
640
640
|
return E(i, "Program");
|
|
641
641
|
};
|
|
642
642
|
var or = {
|
|
@@ -650,7 +650,7 @@ var I, Bn = function(e) {
|
|
|
650
650
|
dc: null,
|
|
651
651
|
sourceFile: null,
|
|
652
652
|
vb: null
|
|
653
|
-
}, c = 0,
|
|
653
|
+
}, c = 0, U = 0, me = 0, vt, mt, x, Y, Pe, de, re, wt = 0, fe = 0, xt, Ne, B, K, sn = [], Re = {
|
|
654
654
|
type: "num"
|
|
655
655
|
}, ir = {
|
|
656
656
|
type: "regexp"
|
|
@@ -658,11 +658,11 @@ var I, Bn = function(e) {
|
|
|
658
658
|
type: "string"
|
|
659
659
|
}, we = {
|
|
660
660
|
type: "name"
|
|
661
|
-
},
|
|
661
|
+
}, St = {
|
|
662
662
|
type: "eof"
|
|
663
|
-
},
|
|
663
|
+
}, kt = {
|
|
664
664
|
l: "break"
|
|
665
|
-
},
|
|
665
|
+
}, Et = {
|
|
666
666
|
l: "case",
|
|
667
667
|
m: !0
|
|
668
668
|
}, sr = {
|
|
@@ -684,23 +684,23 @@ var I, Bn = function(e) {
|
|
|
684
684
|
}, hr = {
|
|
685
685
|
l: "for",
|
|
686
686
|
W: !0
|
|
687
|
-
},
|
|
687
|
+
}, Ct = {
|
|
688
688
|
l: "function"
|
|
689
689
|
}, gr = {
|
|
690
690
|
l: "if"
|
|
691
691
|
}, dr = {
|
|
692
692
|
l: "return",
|
|
693
693
|
m: !0
|
|
694
|
-
},
|
|
694
|
+
}, jt = {
|
|
695
695
|
l: "switch"
|
|
696
696
|
}, yr = {
|
|
697
697
|
l: "throw",
|
|
698
698
|
m: !0
|
|
699
699
|
}, vr = {
|
|
700
700
|
l: "try"
|
|
701
|
-
},
|
|
701
|
+
}, Ot = {
|
|
702
702
|
l: "var"
|
|
703
|
-
},
|
|
703
|
+
}, At = {
|
|
704
704
|
l: "while",
|
|
705
705
|
W: !0
|
|
706
706
|
}, mr = {
|
|
@@ -724,8 +724,8 @@ var I, Bn = function(e) {
|
|
|
724
724
|
L: 7,
|
|
725
725
|
m: !0
|
|
726
726
|
}, an = {
|
|
727
|
-
break:
|
|
728
|
-
case:
|
|
727
|
+
break: kt,
|
|
728
|
+
case: Et,
|
|
729
729
|
catch: sr,
|
|
730
730
|
continue: ar,
|
|
731
731
|
debugger: lr,
|
|
@@ -734,14 +734,14 @@ var I, Bn = function(e) {
|
|
|
734
734
|
else: fr,
|
|
735
735
|
finally: pr,
|
|
736
736
|
for: hr,
|
|
737
|
-
function:
|
|
737
|
+
function: Ct,
|
|
738
738
|
if: gr,
|
|
739
739
|
return: dr,
|
|
740
|
-
switch:
|
|
740
|
+
switch: jt,
|
|
741
741
|
throw: yr,
|
|
742
742
|
try: vr,
|
|
743
|
-
var:
|
|
744
|
-
while:
|
|
743
|
+
var: Ot,
|
|
744
|
+
while: At,
|
|
745
745
|
with: mr,
|
|
746
746
|
null: Sr,
|
|
747
747
|
true: kr,
|
|
@@ -769,28 +769,28 @@ var I, Bn = function(e) {
|
|
|
769
769
|
prefix: !0,
|
|
770
770
|
m: !0
|
|
771
771
|
}
|
|
772
|
-
},
|
|
772
|
+
}, It = {
|
|
773
773
|
type: "[",
|
|
774
774
|
m: !0
|
|
775
|
-
},
|
|
775
|
+
}, bt = {
|
|
776
776
|
type: "]"
|
|
777
|
-
},
|
|
777
|
+
}, Me = {
|
|
778
778
|
type: "{",
|
|
779
779
|
m: !0
|
|
780
780
|
}, xe = {
|
|
781
781
|
type: "}"
|
|
782
|
-
},
|
|
782
|
+
}, ne = {
|
|
783
783
|
type: "(",
|
|
784
784
|
m: !0
|
|
785
|
-
},
|
|
785
|
+
}, Q = {
|
|
786
786
|
type: ")"
|
|
787
787
|
}, pe = {
|
|
788
788
|
type: ",",
|
|
789
789
|
m: !0
|
|
790
|
-
},
|
|
790
|
+
}, oe = {
|
|
791
791
|
type: ";",
|
|
792
792
|
m: !0
|
|
793
|
-
},
|
|
793
|
+
}, Be = {
|
|
794
794
|
type: ":",
|
|
795
795
|
m: !0
|
|
796
796
|
}, Cr = {
|
|
@@ -845,30 +845,30 @@ var I, Bn = function(e) {
|
|
|
845
845
|
}, yn = {
|
|
846
846
|
L: 10,
|
|
847
847
|
m: !0
|
|
848
|
-
}, vn = o("class enum extends super const export import"), Pr = o("implements interface let package private protected public static yield"), et = o("eval arguments"), mn = o("break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this"), wn = /[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/, Nr = RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ]"), xn = RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ̀-ͯ҃-֑҇-ׇֽֿׁׂׅׄؐ-ؚؠ-ىٲ-ۓۧ-ۨۻ-ۼܰ-݊ࠀ-ࠔࠛ-ࠣࠥ-ࠧࠩ-࠭ࡀ-ࡗࣤ-ࣾऀ-ःऺ-़ा-ॏ॑-ॗॢ-ॣ०-९ঁ-ঃ়া-ৄেৈৗয়-ৠਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢ-ૣ૦-૯ଁ-ଃ଼ା-ୄେୈୋ-୍ୖୗୟ-ୠ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఁ-ఃె-ైొ-్ౕౖౢ-ౣ౦-౯ಂಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢ-ೣ೦-೯ംഃെ-ൈൗൢ-ൣ൦-൯ංඃ්ා-ුූෘ-ෟෲෳิ-ฺเ-ๅ๐-๙ິ-ູ່-ໍ໐-໙༘༙༠-༩༹༵༷ཁ-ཇཱ-྄྆-྇ྍ-ྗྙ-ྼ࿆က-ဩ၀-၉ၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟ᜎ-ᜐᜠ-ᜰᝀ-ᝐᝲᝳក-ឲ៝០-៩᠋-᠍᠐-᠙ᤠ-ᤫᤰ-᤻ᥑ-ᥭᦰ-ᧀᧈ-ᧉ᧐-᧙ᨀ-ᨕᨠ-ᩓ᩠-᩿᩼-᪉᪐-᪙ᭆ-ᭋ᭐-᭙᭫-᭳᮰-᮹᯦-᯳ᰀ-ᰢ᱀-᱉ᱛ-ᱽ᳐-᳒ᴀ-ᶾḁ-ἕ‿⁀⁔⃐-⃥⃜⃡-⃰ⶁ-ⶖⷠ-ⷿ〡-〨゙゚Ꙁ-ꙭꙴ-꙽ꚟ꛰-꛱ꟸ-ꠀ꠆ꠋꠣ-ꠧꢀ-ꢁꢴ-꣄꣐-꣙ꣳ-ꣷ꤀-꤉ꤦ-꤭ꤰ-ꥅꦀ-ꦃ꦳-꧀ꨀ-ꨧꩀ-ꩁꩌ-ꩍ꩐-꩙ꩻꫠ-ꫩꫲ-ꫳꯀ-ꯡ꯬꯭꯰-꯹ﬠ-ﬨ︀-️︠-︦︳︴﹍-﹏0-9_]"), tt = /[\n\r\u2028\u2029]/, rt = /\r\n|[\n\r\u2028\u2029]/g, Se,
|
|
848
|
+
}, vn = o("class enum extends super const export import"), Pr = o("implements interface let package private protected public static yield"), et = o("eval arguments"), mn = o("break case catch continue debugger default do else finally for function if return switch throw try var while with null true false instanceof typeof void delete new in this"), wn = /[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/, Nr = RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ]"), xn = RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ̀-ͯ҃-֑҇-ׇֽֿׁׂׅׄؐ-ؚؠ-ىٲ-ۓۧ-ۨۻ-ۼܰ-݊ࠀ-ࠔࠛ-ࠣࠥ-ࠧࠩ-࠭ࡀ-ࡗࣤ-ࣾऀ-ःऺ-़ा-ॏ॑-ॗॢ-ॣ०-९ঁ-ঃ়া-ৄেৈৗয়-ৠਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢ-ૣ૦-૯ଁ-ଃ଼ା-ୄେୈୋ-୍ୖୗୟ-ୠ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఁ-ఃె-ైొ-్ౕౖౢ-ౣ౦-౯ಂಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢ-ೣ೦-೯ംഃെ-ൈൗൢ-ൣ൦-൯ංඃ්ා-ුූෘ-ෟෲෳิ-ฺเ-ๅ๐-๙ິ-ູ່-ໍ໐-໙༘༙༠-༩༹༵༷ཁ-ཇཱ-྄྆-྇ྍ-ྗྙ-ྼ࿆က-ဩ၀-၉ၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟ᜎ-ᜐᜠ-ᜰᝀ-ᝐᝲᝳក-ឲ៝០-៩᠋-᠍᠐-᠙ᤠ-ᤫᤰ-᤻ᥑ-ᥭᦰ-ᧀᧈ-ᧉ᧐-᧙ᨀ-ᨕᨠ-ᩓ᩠-᩿᩼-᪉᪐-᪙ᭆ-ᭋ᭐-᭙᭫-᭳᮰-᮹᯦-᯳ᰀ-ᰢ᱀-᱉ᱛ-ᱽ᳐-᳒ᴀ-ᶾḁ-ἕ‿⁀⁔⃐-⃥⃜⃡-⃰ⶁ-ⶖⷠ-ⷿ〡-〨゙゚Ꙁ-ꙭꙴ-꙽ꚟ꛰-꛱ꟸ-ꠀ꠆ꠋꠣ-ꠧꢀ-ꢁꢴ-꣄꣐-꣙ꣳ-ꣷ꤀-꤉ꤦ-꤭ꤰ-ꥅꦀ-ꦃ꦳-꧀ꨀ-ꨧꩀ-ꩁꩌ-ꩍ꩐-꩙ꩻꫠ-ꫩꫲ-ꫳꯀ-ꯡ꯬꯭꯰-꯹ﬠ-ﬨ︀-️︠-︦︳︴﹍-﹏0-9_]"), tt = /[\n\r\u2028\u2029]/, rt = /\r\n|[\n\r\u2028\u2029]/g, Se, Tt = {
|
|
849
849
|
kind: "loop"
|
|
850
850
|
}, Sn = {
|
|
851
851
|
kind: "switch"
|
|
852
852
|
};
|
|
853
|
-
},
|
|
854
|
-
|
|
853
|
+
}, Ut = Ut = typeof globalThis == "undefined" ? void 0 : globalThis;
|
|
854
|
+
Mn(Ut.j || (Ut.j = {}));
|
|
855
855
|
function h(e, t) {
|
|
856
856
|
typeof e == "string" && (e = je(e, "code"));
|
|
857
|
-
var
|
|
857
|
+
var r = e.constructor;
|
|
858
858
|
this.ya = function() {
|
|
859
|
-
return new
|
|
859
|
+
return new r({
|
|
860
860
|
options: {}
|
|
861
861
|
});
|
|
862
862
|
};
|
|
863
|
-
var
|
|
863
|
+
var n = this.ya(), o;
|
|
864
864
|
for (o in e)
|
|
865
|
-
|
|
866
|
-
this.ra =
|
|
865
|
+
n[o] = o === "body" ? e[o].slice() : e[o];
|
|
866
|
+
this.ra = n, this.ca = [], this.qb = t, this.za = !1, this.ba = [], this.Ya = 0, this.rb = /* @__PURE__ */ Object.create(null), e = /^step([A-Z]\w*)$/;
|
|
867
867
|
var s, a;
|
|
868
868
|
for (a in this)
|
|
869
869
|
typeof this[a] == "function" && (s = a.match(e)) && (this.rb[s[1]] = this[a].bind(this));
|
|
870
|
-
this.N =
|
|
871
|
-
`), "polyfills"), this.ba = void 0,
|
|
870
|
+
this.N = Lt(this, this.ra, null), this.Na = this.N.object, this.ra = je(this.ba.join(`
|
|
871
|
+
`), "polyfills"), this.ba = void 0, it(this.ra), s = new m(this.ra, this.N), s.done = !1, this.o = [s], this.Eb(), this.value = void 0, this.ra = n, s = new m(this.ra, this.N), s.done = !1, this.o.length = 0, this.o[0] = s;
|
|
872
872
|
}
|
|
873
873
|
var Br = {
|
|
874
874
|
C: !0,
|
|
@@ -877,7 +877,7 @@ var Br = {
|
|
|
877
877
|
configurable: !0,
|
|
878
878
|
enumerable: !0,
|
|
879
879
|
writable: !1
|
|
880
|
-
},
|
|
880
|
+
}, v = {
|
|
881
881
|
configurable: !0,
|
|
882
882
|
enumerable: !1,
|
|
883
883
|
writable: !0
|
|
@@ -889,7 +889,7 @@ var Br = {
|
|
|
889
889
|
configurable: !1,
|
|
890
890
|
enumerable: !1,
|
|
891
891
|
writable: !1
|
|
892
|
-
},
|
|
892
|
+
}, Dr = {
|
|
893
893
|
configurable: !1,
|
|
894
894
|
enumerable: !0,
|
|
895
895
|
writable: !0
|
|
@@ -901,7 +901,7 @@ var Br = {
|
|
|
901
901
|
VALUE_IN_DESCRIPTOR: !0
|
|
902
902
|
}, Ee = {
|
|
903
903
|
REGEXP_TIMEOUT: !0
|
|
904
|
-
},
|
|
904
|
+
}, Ur = [], ae = null, We = null, he = typeof globalThis == "undefined" ? void 0 : globalThis, Bn = ["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();", "};"];
|
|
905
905
|
function Gt(e) {
|
|
906
906
|
var t = e >>> 0;
|
|
907
907
|
return t === Number(e) ? t : NaN;
|
|
@@ -910,29 +910,29 @@ function $e(e) {
|
|
|
910
910
|
var t = e >>> 0;
|
|
911
911
|
return String(t) === String(e) && t !== 4294967295 ? t : NaN;
|
|
912
912
|
}
|
|
913
|
-
function
|
|
914
|
-
t ? e.start = t : delete e.start,
|
|
915
|
-
for (var
|
|
916
|
-
if (
|
|
917
|
-
var o = e[
|
|
918
|
-
o && typeof o == "object" &&
|
|
913
|
+
function it(e, t, r) {
|
|
914
|
+
t ? e.start = t : delete e.start, r ? e.end = r : delete e.end;
|
|
915
|
+
for (var n in e)
|
|
916
|
+
if (n !== "loc" && e.hasOwnProperty(n)) {
|
|
917
|
+
var o = e[n];
|
|
918
|
+
o && typeof o == "object" && it(o, t, r);
|
|
919
919
|
}
|
|
920
920
|
}
|
|
921
921
|
h.prototype.REGEXP_MODE = 2;
|
|
922
922
|
h.prototype.REGEXP_THREAD_TIMEOUT = 1e3;
|
|
923
923
|
h.prototype.POLYFILL_TIMEOUT = 1e3;
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
|
|
928
|
-
|
|
924
|
+
T = h.prototype;
|
|
925
|
+
T.P = !1;
|
|
926
|
+
T.Ka = !1;
|
|
927
|
+
T.Kb = 0;
|
|
928
|
+
T.ic = 0;
|
|
929
929
|
function je(e, t) {
|
|
930
|
-
var
|
|
931
|
-
for (
|
|
932
|
-
n
|
|
933
|
-
return
|
|
930
|
+
var r = {}, n;
|
|
931
|
+
for (n in Br)
|
|
932
|
+
r[n] = Br[n];
|
|
933
|
+
return r.sourceFile = t, he.j.parse(e, r);
|
|
934
934
|
}
|
|
935
|
-
|
|
935
|
+
T.Jb = function(e) {
|
|
936
936
|
var t = this.o[0];
|
|
937
937
|
if (!t || t.node.type !== "Program")
|
|
938
938
|
throw Error("Expecting original AST to start with a Program node");
|
|
@@ -940,30 +940,30 @@ I.Jb = function(e) {
|
|
|
940
940
|
throw Error("Expecting new AST to start with a Program node");
|
|
941
941
|
Xe(this, e, t.scope), Array.prototype.push.apply(t.node.body, e.body), t.node.body.jb = null, t.done = !1;
|
|
942
942
|
};
|
|
943
|
-
|
|
943
|
+
T.lb = function() {
|
|
944
944
|
var e = this.o, t;
|
|
945
945
|
do {
|
|
946
|
-
var
|
|
946
|
+
var r = e[e.length - 1];
|
|
947
947
|
if (this.za)
|
|
948
948
|
break;
|
|
949
|
-
if (!
|
|
949
|
+
if (!r || r.node.type === "Program" && r.done) {
|
|
950
950
|
if (!this.ca.length)
|
|
951
951
|
return !1;
|
|
952
|
-
if (
|
|
953
|
-
|
|
952
|
+
if (r = this.ca[0], !r || r.time > Date.now())
|
|
953
|
+
r = null;
|
|
954
954
|
else {
|
|
955
|
-
this.ca.shift(), 0 <=
|
|
956
|
-
var
|
|
957
|
-
|
|
955
|
+
this.ca.shift(), 0 <= r.interval && Qr(this, r, r.interval);
|
|
956
|
+
var n = new m(r.node, r.scope);
|
|
957
|
+
r.zb && (n.ia = 2, n.B = this.Na, n.U = r.zb, n.Qa = !0, n.F = r.Lb), r = n;
|
|
958
958
|
}
|
|
959
|
-
if (!
|
|
959
|
+
if (!r)
|
|
960
960
|
break;
|
|
961
961
|
}
|
|
962
|
-
|
|
962
|
+
n = r.node;
|
|
963
963
|
var o = We;
|
|
964
964
|
We = this;
|
|
965
965
|
try {
|
|
966
|
-
var s = this.rb[
|
|
966
|
+
var s = this.rb[n.type](e, r, n);
|
|
967
967
|
} catch (a) {
|
|
968
968
|
if (a !== Yr)
|
|
969
969
|
throw this.value !== a && (this.value = void 0), a;
|
|
@@ -974,126 +974,126 @@ I.lb = function() {
|
|
|
974
974
|
throw this.value = void 0, Error("Getter not supported in this context");
|
|
975
975
|
if (this.Ka)
|
|
976
976
|
throw this.value = void 0, Error("Setter not supported in this context");
|
|
977
|
-
t ||
|
|
978
|
-
} while (!
|
|
977
|
+
t || n.end || (t = Date.now() + this.POLYFILL_TIMEOUT);
|
|
978
|
+
} while (!n.end && t > Date.now());
|
|
979
979
|
return !0;
|
|
980
980
|
};
|
|
981
|
-
|
|
981
|
+
T.Eb = function() {
|
|
982
982
|
for (; !this.za && this.lb(); )
|
|
983
983
|
;
|
|
984
984
|
return this.za;
|
|
985
985
|
};
|
|
986
986
|
function Dn(e, t) {
|
|
987
|
-
e.g(t, "NaN", NaN, De), e.g(t, "Infinity", 1 / 0, De), e.g(t, "undefined", void 0, De), e.g(t, "window", t, $t), e.g(t, "this", t, De), e.g(t, "self", t), e.M = new A(null), e.Z = new A(e.M), Un(e, t), Fn(e, t), t.xa = e.M, e.g(t, "constructor", e.v,
|
|
988
|
-
var
|
|
987
|
+
e.g(t, "NaN", NaN, De), e.g(t, "Infinity", 1 / 0, De), e.g(t, "undefined", void 0, De), e.g(t, "window", t, $t), e.g(t, "this", t, De), e.g(t, "self", t), e.M = new A(null), e.Z = new A(e.M), Un(e, t), Fn(e, t), t.xa = e.M, e.g(t, "constructor", e.v, v), Ln(e, t), _n(e, t), Wn(e, t), $n(e, t), Gn(e, t), Vn(e, t), Xn(e, t), Hn(e, t), Kn(e, t);
|
|
988
|
+
var r = e.i(function() {
|
|
989
989
|
throw EvalError("Can't happen");
|
|
990
990
|
}, !1);
|
|
991
|
-
|
|
992
|
-
for (var
|
|
993
|
-
|
|
991
|
+
r.eval = !0, e.g(t, "eval", r, v), e.g(t, "parseInt", e.i(parseInt, !1), v), e.g(t, "parseFloat", e.i(parseFloat, !1), v), e.g(t, "isNaN", e.i(isNaN, !1), v), e.g(t, "isFinite", e.i(isFinite, !1), v);
|
|
992
|
+
for (var n = [[escape, "escape"], [unescape, "unescape"], [decodeURI, "decodeURI"], [decodeURIComponent, "decodeURIComponent"], [encodeURI, "encodeURI"], [encodeURIComponent, "encodeURIComponent"]], o = 0; o < n.length; o++)
|
|
993
|
+
r = function(s) {
|
|
994
994
|
return function(a) {
|
|
995
995
|
try {
|
|
996
996
|
return s(a);
|
|
997
|
-
} catch (
|
|
998
|
-
|
|
997
|
+
} catch (p) {
|
|
998
|
+
w(e, e.Gb, p.message);
|
|
999
999
|
}
|
|
1000
1000
|
};
|
|
1001
|
-
}(
|
|
1002
|
-
|
|
1003
|
-
return
|
|
1004
|
-
}, e.g(t, "setTimeout", e.i(
|
|
1005
|
-
return
|
|
1006
|
-
}, e.g(t, "setInterval", e.i(
|
|
1007
|
-
|
|
1008
|
-
}, e.g(t, "clearTimeout", e.i(
|
|
1009
|
-
|
|
1010
|
-
}, e.g(t, "clearInterval", e.i(
|
|
1011
|
-
}
|
|
1012
|
-
|
|
1001
|
+
}(n[o][0]), e.g(t, n[o][1], e.i(r, !1), v);
|
|
1002
|
+
r = function(s) {
|
|
1003
|
+
return Fr(e, !1, arguments);
|
|
1004
|
+
}, e.g(t, "setTimeout", e.i(r, !1), v), r = function(s) {
|
|
1005
|
+
return Fr(e, !0, arguments);
|
|
1006
|
+
}, e.g(t, "setInterval", e.i(r, !1), v), r = function(s) {
|
|
1007
|
+
Lr(e, s);
|
|
1008
|
+
}, e.g(t, "clearTimeout", e.i(r, !1), v), r = function(s) {
|
|
1009
|
+
Lr(e, s);
|
|
1010
|
+
}, e.g(t, "clearInterval", e.i(r, !1), v), e.OBJECT = e.v, e.OBJECT_PROTO = e.M, e.FUNCTION = e.O, e.FUNCTION_PROTO = e.Z, e.ARRAY = e.qa, e.ARRAY_PROTO = e.La, e.REGEXP = e.I, e.REGEXP_PROTO = e.Ma, e.DATE = e.$, e.DATE_PROTO = e.nb, e.qb && e.qb(e, t);
|
|
1011
|
+
}
|
|
1012
|
+
T.Wb = 0;
|
|
1013
1013
|
function Un(e, t) {
|
|
1014
|
-
var
|
|
1014
|
+
var r = /^[A-Za-z_$][\w$]*$/, n = function(o) {
|
|
1015
1015
|
var s = arguments.length ? String(arguments[arguments.length - 1]) : "", a = Array.prototype.slice.call(arguments, 0, -1).join(",").trim();
|
|
1016
1016
|
if (a) {
|
|
1017
1017
|
a = a.split(/\s*,\s*/);
|
|
1018
|
-
for (var
|
|
1019
|
-
var g = a[
|
|
1020
|
-
|
|
1018
|
+
for (var p = 0; p < a.length; p++) {
|
|
1019
|
+
var g = a[p];
|
|
1020
|
+
r.test(g) || w(e, e.T, "Invalid function argument: " + g);
|
|
1021
1021
|
}
|
|
1022
1022
|
a = a.join(", ");
|
|
1023
1023
|
}
|
|
1024
1024
|
try {
|
|
1025
|
-
var
|
|
1025
|
+
var y = je("(function(" + a + ") {" + s + "})", "function" + e.Wb++);
|
|
1026
1026
|
} catch (C) {
|
|
1027
|
-
|
|
1027
|
+
w(e, e.T, "Invalid code: " + C.message);
|
|
1028
1028
|
}
|
|
1029
|
-
return
|
|
1029
|
+
return y.body.length !== 1 && w(e, e.T, "Invalid code in function body"), Ht(e, y.body[0].la, e.N, "anonymous");
|
|
1030
1030
|
};
|
|
1031
|
-
e.O = e.i(
|
|
1032
|
-
}, e.Z.Ta.id = e.Ya++, e.Z.Ab = !0, e.g(e.Z, "length", 0, X), e.Z.H = "Function",
|
|
1031
|
+
e.O = e.i(n, !0), e.g(t, "Function", e.O, v), e.g(e.O, "prototype", e.Z, v), e.g(e.Z, "constructor", e.O, v), e.Z.Ta = function() {
|
|
1032
|
+
}, e.Z.Ta.id = e.Ya++, e.Z.Ab = !0, e.g(e.Z, "length", 0, X), e.Z.H = "Function", n = function(o, s) {
|
|
1033
1033
|
var a = e.o[e.o.length - 1];
|
|
1034
|
-
a.U = this, a.B = o, a.F = [], s != null && (s instanceof A ? a.F = Zr(e, s) :
|
|
1035
|
-
},
|
|
1034
|
+
a.U = this, a.B = o, a.F = [], s != null && (s instanceof A ? a.F = Zr(e, s) : w(e, e.j, "CreateListFromArrayLike called on non-object")), a.eb = !1;
|
|
1035
|
+
}, L(e, e.O, "apply", n), n = function(o) {
|
|
1036
1036
|
var s = e.o[e.o.length - 1];
|
|
1037
1037
|
s.U = this, s.B = o, s.F = [];
|
|
1038
1038
|
for (var a = 1; a < arguments.length; a++)
|
|
1039
1039
|
s.F.push(arguments[a]);
|
|
1040
1040
|
s.eb = !1;
|
|
1041
|
-
},
|
|
1041
|
+
}, L(e, e.O, "call", n), e.ba.push("Object.defineProperty(Function.prototype, 'bind',", "{configurable: true, writable: true, value:", "function bind(oThis) {", "if (typeof this !== 'function') {", "throw TypeError('What is trying to be bound is not callable');", "}", "var aArgs = Array.prototype.slice.call(arguments, 1),", "fToBind = this,", "fNOP = function() {},", "fBound = function() {", "return fToBind.apply(this instanceof fNOP", "? this", ": oThis,", "aArgs.concat(Array.prototype.slice.call(arguments)));", "};", "if (this.prototype) {", "fNOP.prototype = this.prototype;", "}", "fBound.prototype = new fNOP();", "return fBound;", "}", "});", ""), n = function() {
|
|
1042
1042
|
return String(this);
|
|
1043
|
-
},
|
|
1043
|
+
}, L(e, e.O, "toString", n), e.g(e.O, "toString", e.i(n, !1), v), n = function() {
|
|
1044
1044
|
return this.valueOf();
|
|
1045
|
-
},
|
|
1045
|
+
}, L(e, e.O, "valueOf", n), e.g(e.O, "valueOf", e.i(n, !1), v);
|
|
1046
1046
|
}
|
|
1047
1047
|
function Fn(e, t) {
|
|
1048
|
-
function
|
|
1049
|
-
o != null ||
|
|
1048
|
+
function r(o) {
|
|
1049
|
+
o != null || w(e, e.j, "Cannot convert '" + o + "' to object");
|
|
1050
1050
|
}
|
|
1051
|
-
var
|
|
1051
|
+
var n = function(o) {
|
|
1052
1052
|
if (o == null)
|
|
1053
|
-
return
|
|
1053
|
+
return ue(e) ? this : e.s(e.M);
|
|
1054
1054
|
if (!(o instanceof A)) {
|
|
1055
|
-
var s = e.s(
|
|
1055
|
+
var s = e.s(le(e, o));
|
|
1056
1056
|
return s.data = o, s;
|
|
1057
1057
|
}
|
|
1058
1058
|
return o;
|
|
1059
1059
|
};
|
|
1060
|
-
e.v = e.i(
|
|
1061
|
-
return
|
|
1062
|
-
}, e.g(e.v, "getOwnPropertyNames", e.i(
|
|
1063
|
-
return
|
|
1064
|
-
}, e.g(e.v, "keys", e.i(
|
|
1065
|
-
return o === null ? e.s(null) : (o instanceof A ||
|
|
1066
|
-
}, e.g(e.v, "create", e.i(
|
|
1067
|
-
return s = String(s), o instanceof A ||
|
|
1068
|
-
}, e.g(e.v, "defineProperty", e.i(
|
|
1069
|
-
if (o instanceof A ||
|
|
1070
|
-
var a = Object.getOwnPropertyDescriptor(o.h, s),
|
|
1071
|
-
return o = o.Y[s], s = e.s(e.M),
|
|
1072
|
-
}
|
|
1073
|
-
}, e.g(e.v, "getOwnPropertyDescriptor", e.i(
|
|
1074
|
-
return
|
|
1075
|
-
}, e.g(e.v, "getPrototypeOf", e.i(
|
|
1060
|
+
e.v = e.i(n, !0), e.g(e.v, "prototype", e.M, v), e.g(e.M, "constructor", e.v, v), e.g(t, "Object", e.v, v), n = function(o) {
|
|
1061
|
+
return r(o), se(e, Object.getOwnPropertyNames(o instanceof A ? o.h : o));
|
|
1062
|
+
}, e.g(e.v, "getOwnPropertyNames", e.i(n, !1), v), n = function(o) {
|
|
1063
|
+
return r(o), o instanceof A && (o = o.h), se(e, Object.keys(o));
|
|
1064
|
+
}, e.g(e.v, "keys", e.i(n, !1), v), n = function(o) {
|
|
1065
|
+
return o === null ? e.s(null) : (o instanceof A || w(e, e.j, "Object prototype may only be an Object or null, not " + o), e.s(o));
|
|
1066
|
+
}, e.g(e.v, "create", e.i(n, !1), v), 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(o, s, a) {
|
|
1067
|
+
return s = String(s), o instanceof A || w(e, e.j, "Object.defineProperty called on non-object: " + o), a instanceof A || w(e, e.j, "Property description must be an object"), !o.preventExtensions || s in o.h || w(e, e.j, "Can't define property '" + s + "', object is not extensible"), e.g(o, s, Ve, a.h), o;
|
|
1068
|
+
}, e.g(e.v, "defineProperty", e.i(n, !1), v), 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(o, s) {
|
|
1069
|
+
if (o instanceof A || w(e, e.j, "Object.getOwnPropertyDescriptor called on non-object: " + o), s = String(s), s in o.h) {
|
|
1070
|
+
var a = Object.getOwnPropertyDescriptor(o.h, s), p = o.V[s];
|
|
1071
|
+
return o = o.Y[s], s = e.s(e.M), p || o ? (e.g(s, "get", p), e.g(s, "set", o)) : (e.g(s, "value", a.value), e.g(s, "writable", a.writable)), e.g(s, "configurable", a.configurable), e.g(s, "enumerable", a.enumerable), s;
|
|
1072
|
+
}
|
|
1073
|
+
}, e.g(e.v, "getOwnPropertyDescriptor", e.i(n, !1), v), n = function(o) {
|
|
1074
|
+
return r(o), le(e, o);
|
|
1075
|
+
}, e.g(e.v, "getPrototypeOf", e.i(n, !1), v), n = function(o) {
|
|
1076
1076
|
return !!o && !o.preventExtensions;
|
|
1077
|
-
}, e.g(e.v, "isExtensible", e.i(
|
|
1077
|
+
}, e.g(e.v, "isExtensible", e.i(n, !1), v), n = function(o) {
|
|
1078
1078
|
return o instanceof A && (o.preventExtensions = !0), o;
|
|
1079
|
-
}, e.g(e.v, "preventExtensions", e.i(
|
|
1080
|
-
return
|
|
1081
|
-
},
|
|
1082
|
-
return
|
|
1083
|
-
},
|
|
1079
|
+
}, e.g(e.v, "preventExtensions", e.i(n, !1), v), L(e, e.v, "toString", A.prototype.toString), L(e, e.v, "toLocaleString", A.prototype.toString), L(e, e.v, "valueOf", A.prototype.valueOf), n = function(o) {
|
|
1080
|
+
return r(this), this instanceof A ? String(o) in this.h : this.hasOwnProperty(o);
|
|
1081
|
+
}, L(e, e.v, "hasOwnProperty", n), n = function(o) {
|
|
1082
|
+
return r(this), this instanceof A ? Object.prototype.propertyIsEnumerable.call(this.h, o) : this.propertyIsEnumerable(o);
|
|
1083
|
+
}, L(e, e.v, "propertyIsEnumerable", n), n = function(o) {
|
|
1084
1084
|
for (; ; ) {
|
|
1085
|
-
if (o =
|
|
1085
|
+
if (o = le(e, o), !o)
|
|
1086
1086
|
return !1;
|
|
1087
1087
|
if (o === this)
|
|
1088
1088
|
return !0;
|
|
1089
1089
|
}
|
|
1090
|
-
},
|
|
1090
|
+
}, L(e, e.v, "isPrototypeOf", n);
|
|
1091
1091
|
}
|
|
1092
1092
|
function Ln(e, t) {
|
|
1093
|
-
var
|
|
1094
|
-
var o =
|
|
1093
|
+
var r = function(n) {
|
|
1094
|
+
var o = ue(e) ? this : Oe(e), s = arguments[0];
|
|
1095
1095
|
if (arguments.length === 1 && typeof s == "number")
|
|
1096
|
-
isNaN(Gt(s)) &&
|
|
1096
|
+
isNaN(Gt(s)) && w(e, e.ob, "Invalid array length: " + s), o.h.length = s;
|
|
1097
1097
|
else {
|
|
1098
1098
|
for (s = 0; s < arguments.length; s++)
|
|
1099
1099
|
o.h[s] = arguments[s];
|
|
@@ -1101,330 +1101,330 @@ function Ln(e, t) {
|
|
|
1101
1101
|
}
|
|
1102
1102
|
return o;
|
|
1103
1103
|
};
|
|
1104
|
-
e.qa = e.i(
|
|
1105
|
-
return
|
|
1106
|
-
}, e.g(e.qa, "isArray", e.i(
|
|
1104
|
+
e.qa = e.i(r, !0), e.La = e.qa.h.prototype, e.g(t, "Array", e.qa, v), r = function(n) {
|
|
1105
|
+
return n && n.H === "Array";
|
|
1106
|
+
}, e.g(e.qa, "isArray", e.i(r, !1), v), e.g(e.La, "length", 0, {
|
|
1107
1107
|
configurable: !1,
|
|
1108
1108
|
enumerable: !1,
|
|
1109
1109
|
writable: !0
|
|
1110
1110
|
}), 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(',');", "}", ");", "})();", "");
|
|
1111
1111
|
}
|
|
1112
1112
|
function _n(e, t) {
|
|
1113
|
-
var
|
|
1114
|
-
return
|
|
1113
|
+
var r = function(n) {
|
|
1114
|
+
return n = arguments.length ? he.String(n) : "", ue(e) ? (this.data = n, this) : n;
|
|
1115
1115
|
};
|
|
1116
|
-
for (e.J = e.i(
|
|
1117
|
-
|
|
1118
|
-
|
|
1116
|
+
for (e.J = e.i(r, !0), e.g(t, "String", e.J, v), e.g(e.J, "fromCharCode", e.i(String.fromCharCode, !1), v), t = "charAt charCodeAt concat indexOf lastIndexOf slice substr substring toLocaleLowerCase toLocaleUpperCase toLowerCase toUpperCase trim".split(" "), r = 0; r < t.length; r++)
|
|
1117
|
+
L(e, e.J, t[r], String.prototype[t[r]]);
|
|
1118
|
+
r = function(n, o, s) {
|
|
1119
1119
|
o = e.R(o), s = e.R(s);
|
|
1120
1120
|
try {
|
|
1121
|
-
return String(this).localeCompare(
|
|
1121
|
+
return String(this).localeCompare(n, o, s);
|
|
1122
1122
|
} catch (a) {
|
|
1123
|
-
|
|
1123
|
+
w(e, e.D, "localeCompare: " + a.message);
|
|
1124
1124
|
}
|
|
1125
|
-
},
|
|
1125
|
+
}, L(e, e.J, "localeCompare", r), r = function(n, o, s) {
|
|
1126
1126
|
var a = String(this);
|
|
1127
|
-
if (o = o ? Number(o) : void 0,
|
|
1128
|
-
if (
|
|
1129
|
-
|
|
1127
|
+
if (o = o ? Number(o) : void 0, W(e, n, e.I) && (n = n.data, Fe(e, n, s), e.REGEXP_MODE === 2)) {
|
|
1128
|
+
if (ae)
|
|
1129
|
+
n = Ue(e, "string.split(separator, limit)", {
|
|
1130
1130
|
string: a,
|
|
1131
|
-
separator:
|
|
1131
|
+
separator: n,
|
|
1132
1132
|
limit: o
|
|
1133
|
-
},
|
|
1133
|
+
}, n, s), n !== Ee && s(se(e, n));
|
|
1134
1134
|
else {
|
|
1135
|
-
var
|
|
1136
|
-
|
|
1137
|
-
clearTimeout(g), s(
|
|
1138
|
-
},
|
|
1135
|
+
var p = e.ha(), g = Le(e, n, p, s);
|
|
1136
|
+
p.onmessage = function(y) {
|
|
1137
|
+
clearTimeout(g), s(se(e, y.data));
|
|
1138
|
+
}, p.postMessage(["split", a, n, o]);
|
|
1139
1139
|
}
|
|
1140
1140
|
return;
|
|
1141
1141
|
}
|
|
1142
|
-
|
|
1143
|
-
}, _e(e, e.J, "split",
|
|
1142
|
+
n = a.split(n, o), s(se(e, n));
|
|
1143
|
+
}, _e(e, e.J, "split", r), r = function(n, o) {
|
|
1144
1144
|
var s = String(this);
|
|
1145
|
-
if (
|
|
1146
|
-
if (
|
|
1147
|
-
|
|
1145
|
+
if (n = W(e, n, e.I) ? n.data : new RegExp(n), Fe(e, n, o), e.REGEXP_MODE === 2)
|
|
1146
|
+
if (ae)
|
|
1147
|
+
n = Ue(e, "string.match(regexp)", {
|
|
1148
1148
|
string: s,
|
|
1149
|
-
regexp:
|
|
1150
|
-
},
|
|
1149
|
+
regexp: n
|
|
1150
|
+
}, n, o), n !== Ee && o(n && se(e, n));
|
|
1151
1151
|
else {
|
|
1152
|
-
var a = e.ha(),
|
|
1152
|
+
var a = e.ha(), p = Le(e, n, a, o);
|
|
1153
1153
|
a.onmessage = function(g) {
|
|
1154
|
-
clearTimeout(
|
|
1155
|
-
}, a.postMessage(["match", s,
|
|
1154
|
+
clearTimeout(p), o(g.data && se(e, g.data));
|
|
1155
|
+
}, a.postMessage(["match", s, n]);
|
|
1156
1156
|
}
|
|
1157
1157
|
else
|
|
1158
|
-
|
|
1159
|
-
}, _e(e, e.J, "match",
|
|
1158
|
+
n = s.match(n), o(n && se(e, n));
|
|
1159
|
+
}, _e(e, e.J, "match", r), r = function(n, o) {
|
|
1160
1160
|
var s = String(this);
|
|
1161
|
-
if (
|
|
1162
|
-
if (
|
|
1163
|
-
|
|
1161
|
+
if (W(e, n, e.I) ? n = n.data : n = new RegExp(n), Fe(e, n, o), e.REGEXP_MODE === 2)
|
|
1162
|
+
if (ae)
|
|
1163
|
+
n = Ue(e, "string.search(regexp)", {
|
|
1164
1164
|
string: s,
|
|
1165
|
-
regexp:
|
|
1166
|
-
},
|
|
1165
|
+
regexp: n
|
|
1166
|
+
}, n, o), n !== Ee && o(n);
|
|
1167
1167
|
else {
|
|
1168
|
-
var a = e.ha(),
|
|
1168
|
+
var a = e.ha(), p = Le(e, n, a, o);
|
|
1169
1169
|
a.onmessage = function(g) {
|
|
1170
|
-
clearTimeout(
|
|
1171
|
-
}, a.postMessage(["search", s,
|
|
1170
|
+
clearTimeout(p), o(g.data);
|
|
1171
|
+
}, a.postMessage(["search", s, n]);
|
|
1172
1172
|
}
|
|
1173
1173
|
else
|
|
1174
|
-
o(s.search(
|
|
1175
|
-
}, _e(e, e.J, "search",
|
|
1174
|
+
o(s.search(n));
|
|
1175
|
+
}, _e(e, e.J, "search", r), r = function(n, o, s) {
|
|
1176
1176
|
var a = String(this);
|
|
1177
|
-
if (o = String(o),
|
|
1178
|
-
if (
|
|
1179
|
-
|
|
1177
|
+
if (o = String(o), W(e, n, e.I) && (n = n.data, Fe(e, n, s), e.REGEXP_MODE === 2)) {
|
|
1178
|
+
if (ae)
|
|
1179
|
+
n = Ue(e, "string.replace(substr, newSubstr)", {
|
|
1180
1180
|
string: a,
|
|
1181
|
-
substr:
|
|
1181
|
+
substr: n,
|
|
1182
1182
|
newSubstr: o
|
|
1183
|
-
},
|
|
1183
|
+
}, n, s), n !== Ee && s(n);
|
|
1184
1184
|
else {
|
|
1185
|
-
var
|
|
1186
|
-
|
|
1187
|
-
clearTimeout(g), s(
|
|
1188
|
-
},
|
|
1185
|
+
var p = e.ha(), g = Le(e, n, p, s);
|
|
1186
|
+
p.onmessage = function(y) {
|
|
1187
|
+
clearTimeout(g), s(y.data);
|
|
1188
|
+
}, p.postMessage(["replace", a, n, o]);
|
|
1189
1189
|
}
|
|
1190
1190
|
return;
|
|
1191
1191
|
}
|
|
1192
|
-
s(a.replace(
|
|
1193
|
-
}, _e(e, e.J, "replace",
|
|
1192
|
+
s(a.replace(n, o));
|
|
1193
|
+
}, _e(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;", "};", "})();", "");
|
|
1194
1194
|
}
|
|
1195
1195
|
function Wn(e, t) {
|
|
1196
|
-
e.mb = e.i(function(
|
|
1197
|
-
return
|
|
1198
|
-
}, !0), e.g(t, "Boolean", e.mb,
|
|
1196
|
+
e.mb = e.i(function(r) {
|
|
1197
|
+
return r = he.Boolean(r), ue(e) ? (this.data = r, this) : r;
|
|
1198
|
+
}, !0), e.g(t, "Boolean", e.mb, v);
|
|
1199
1199
|
}
|
|
1200
1200
|
function $n(e, t) {
|
|
1201
|
-
var
|
|
1202
|
-
return
|
|
1201
|
+
var r = function(n) {
|
|
1202
|
+
return n = arguments.length ? he.Number(n) : 0, ue(e) ? (this.data = n, this) : n;
|
|
1203
1203
|
};
|
|
1204
|
-
for (e.aa = e.i(
|
|
1205
|
-
e.g(e.aa, t[
|
|
1206
|
-
|
|
1204
|
+
for (e.aa = e.i(r, !0), e.g(t, "Number", e.aa, v), t = ["MAX_VALUE", "MIN_VALUE", "NaN", "NEGATIVE_INFINITY", "POSITIVE_INFINITY"], r = 0; r < t.length; r++)
|
|
1205
|
+
e.g(e.aa, t[r], Number[t[r]], De);
|
|
1206
|
+
r = function(n) {
|
|
1207
1207
|
try {
|
|
1208
|
-
return Number(this).toExponential(
|
|
1208
|
+
return Number(this).toExponential(n);
|
|
1209
1209
|
} catch (o) {
|
|
1210
|
-
|
|
1210
|
+
w(e, e.D, o.message);
|
|
1211
1211
|
}
|
|
1212
|
-
},
|
|
1212
|
+
}, L(e, e.aa, "toExponential", r), r = function(n) {
|
|
1213
1213
|
try {
|
|
1214
|
-
return Number(this).toFixed(
|
|
1214
|
+
return Number(this).toFixed(n);
|
|
1215
1215
|
} catch (o) {
|
|
1216
|
-
|
|
1216
|
+
w(e, e.D, o.message);
|
|
1217
1217
|
}
|
|
1218
|
-
},
|
|
1218
|
+
}, L(e, e.aa, "toFixed", r), r = function(n) {
|
|
1219
1219
|
try {
|
|
1220
|
-
return Number(this).toPrecision(
|
|
1220
|
+
return Number(this).toPrecision(n);
|
|
1221
1221
|
} catch (o) {
|
|
1222
|
-
|
|
1222
|
+
w(e, e.D, o.message);
|
|
1223
1223
|
}
|
|
1224
|
-
},
|
|
1224
|
+
}, L(e, e.aa, "toPrecision", r), r = function(n) {
|
|
1225
1225
|
try {
|
|
1226
|
-
return Number(this).toString(
|
|
1226
|
+
return Number(this).toString(n);
|
|
1227
1227
|
} catch (o) {
|
|
1228
|
-
|
|
1228
|
+
w(e, e.D, o.message);
|
|
1229
1229
|
}
|
|
1230
|
-
},
|
|
1231
|
-
|
|
1230
|
+
}, L(e, e.aa, "toString", r), r = function(n, o) {
|
|
1231
|
+
n = n ? e.R(n) : void 0, o = o ? e.R(o) : void 0;
|
|
1232
1232
|
try {
|
|
1233
|
-
return Number(this).toLocaleString(
|
|
1233
|
+
return Number(this).toLocaleString(n, o);
|
|
1234
1234
|
} catch (s) {
|
|
1235
|
-
|
|
1235
|
+
w(e, e.D, "toLocaleString: " + s.message);
|
|
1236
1236
|
}
|
|
1237
|
-
},
|
|
1237
|
+
}, L(e, e.aa, "toLocaleString", r);
|
|
1238
1238
|
}
|
|
1239
1239
|
function Gn(e, t) {
|
|
1240
|
-
var
|
|
1241
|
-
if (!
|
|
1240
|
+
var r = function(o, s) {
|
|
1241
|
+
if (!ue(e))
|
|
1242
1242
|
return he.Date();
|
|
1243
1243
|
var a = [null].concat(Array.from(arguments));
|
|
1244
1244
|
return this.data = new (Function.prototype.bind.apply(he.Date, a))(), this;
|
|
1245
1245
|
};
|
|
1246
|
-
e.$ = e.i(
|
|
1247
|
-
for (var
|
|
1248
|
-
|
|
1246
|
+
e.$ = e.i(r, !0), e.nb = e.$.h.prototype, e.g(t, "Date", e.$, v), e.g(e.$, "now", e.i(Date.now, !1), v), e.g(e.$, "parse", e.i(Date.parse, !1), v), e.g(e.$, "UTC", e.i(Date.UTC, !1), v), t = "getDate getDay getFullYear getHours getMilliseconds getMinutes getMonth getSeconds getTime getTimezoneOffset getUTCDate getUTCDay getUTCFullYear getUTCHours getUTCMilliseconds getUTCMinutes getUTCMonth getUTCSeconds getYear setDate setFullYear setHours setMilliseconds setMinutes setMonth setSeconds setTime setUTCDate setUTCFullYear setUTCHours setUTCMilliseconds setUTCMinutes setUTCMonth setUTCSeconds setYear toDateString toISOString toJSON toGMTString toLocaleDateString toLocaleString toLocaleTimeString toTimeString toUTCString".split(" ");
|
|
1247
|
+
for (var n = 0; n < t.length; n++)
|
|
1248
|
+
r = function(o) {
|
|
1249
1249
|
return function(s) {
|
|
1250
1250
|
var a = this.data;
|
|
1251
|
-
a instanceof Date ||
|
|
1252
|
-
for (var
|
|
1253
|
-
|
|
1254
|
-
return a[o].apply(a,
|
|
1251
|
+
a instanceof Date || w(e, e.j, o + " not called on a Date");
|
|
1252
|
+
for (var p = [], g = 0; g < arguments.length; g++)
|
|
1253
|
+
p[g] = e.R(arguments[g]);
|
|
1254
|
+
return a[o].apply(a, p);
|
|
1255
1255
|
};
|
|
1256
|
-
}(t[
|
|
1256
|
+
}(t[n]), L(e, e.$, t[n], r);
|
|
1257
1257
|
}
|
|
1258
1258
|
function Vn(e, t) {
|
|
1259
|
-
var
|
|
1260
|
-
if (
|
|
1259
|
+
var r = function(n, o) {
|
|
1260
|
+
if (ue(e))
|
|
1261
1261
|
var s = this;
|
|
1262
1262
|
else {
|
|
1263
|
-
if (o === void 0 &&
|
|
1264
|
-
return
|
|
1263
|
+
if (o === void 0 && W(e, n, e.I))
|
|
1264
|
+
return n;
|
|
1265
1265
|
s = e.s(e.Ma);
|
|
1266
1266
|
}
|
|
1267
|
-
|
|
1267
|
+
n = n === void 0 ? "" : String(n), o = o ? String(o) : "", /^[gmi]*$/.test(o) || w(e, e.T, "Invalid regexp flag: " + o);
|
|
1268
1268
|
try {
|
|
1269
|
-
var a = new he.RegExp(
|
|
1270
|
-
} catch (
|
|
1271
|
-
|
|
1269
|
+
var a = new he.RegExp(n, o);
|
|
1270
|
+
} catch (p) {
|
|
1271
|
+
w(e, e.T, p.message);
|
|
1272
1272
|
}
|
|
1273
1273
|
return Vt(e, s, a), s;
|
|
1274
1274
|
};
|
|
1275
|
-
e.I = e.i(
|
|
1275
|
+
e.I = e.i(r, !0), e.Ma = e.I.h.prototype, e.g(t, "RegExp", e.I, v), e.g(e.I.h.prototype, "global", void 0, X), e.g(e.I.h.prototype, "ignoreCase", void 0, X), e.g(e.I.h.prototype, "multiline", void 0, X), e.g(e.I.h.prototype, "source", "(?:)", X), e.ba.push("Object.defineProperty(RegExp.prototype, 'test',", "{configurable: true, writable: true, value:", "function test(str) {", "return !!this.exec(str);", "}", "});"), r = function(n, o) {
|
|
1276
1276
|
function s(C) {
|
|
1277
1277
|
if (C) {
|
|
1278
|
-
var
|
|
1279
|
-
return e.g(
|
|
1278
|
+
var I = se(e, C);
|
|
1279
|
+
return e.g(I, "index", C.index), e.g(I, "input", C.input), I;
|
|
1280
1280
|
}
|
|
1281
1281
|
return null;
|
|
1282
1282
|
}
|
|
1283
1283
|
var a = this.data;
|
|
1284
|
-
if (
|
|
1285
|
-
if (
|
|
1286
|
-
|
|
1287
|
-
string:
|
|
1284
|
+
if (n = String(n), a.lastIndex = Number(e.G(this, "lastIndex")), Fe(e, a, o), e.REGEXP_MODE === 2)
|
|
1285
|
+
if (ae)
|
|
1286
|
+
n = Ue(e, "regexp.exec(string)", {
|
|
1287
|
+
string: n,
|
|
1288
1288
|
regexp: a
|
|
1289
|
-
}, a, o),
|
|
1289
|
+
}, a, o), n !== Ee && (e.g(this, "lastIndex", a.lastIndex), o(s(n)));
|
|
1290
1290
|
else {
|
|
1291
|
-
var
|
|
1292
|
-
|
|
1293
|
-
clearTimeout(g), e.g(
|
|
1294
|
-
},
|
|
1291
|
+
var p = e.ha(), g = Le(e, a, p, o), y = this;
|
|
1292
|
+
p.onmessage = function(C) {
|
|
1293
|
+
clearTimeout(g), e.g(y, "lastIndex", C.data[1]), o(s(C.data[0]));
|
|
1294
|
+
}, p.postMessage(["exec", a, a.lastIndex, n]);
|
|
1295
1295
|
}
|
|
1296
1296
|
else
|
|
1297
|
-
|
|
1298
|
-
}, _e(e, e.I, "exec",
|
|
1297
|
+
n = a.exec(n), e.g(this, "lastIndex", a.lastIndex), o(s(n));
|
|
1298
|
+
}, _e(e, e.I, "exec", r);
|
|
1299
1299
|
}
|
|
1300
1300
|
function Xn(e, t) {
|
|
1301
|
-
function n
|
|
1301
|
+
function r(n) {
|
|
1302
1302
|
var o = e.i(function(s) {
|
|
1303
|
-
var a =
|
|
1304
|
-
return
|
|
1303
|
+
var a = ue(e) ? this : e.Aa(o);
|
|
1304
|
+
return Ft(e, a, s), a;
|
|
1305
1305
|
}, !0);
|
|
1306
|
-
return e.g(o, "prototype", e.Aa(e.D),
|
|
1306
|
+
return e.g(o, "prototype", e.Aa(e.D), v), e.g(o.h.prototype, "name", n, v), e.g(t, n, o, v), o;
|
|
1307
1307
|
}
|
|
1308
|
-
e.D = e.i(function(
|
|
1309
|
-
var o =
|
|
1310
|
-
return
|
|
1311
|
-
}, !0), e.g(t, "Error", e.D,
|
|
1308
|
+
e.D = e.i(function(n) {
|
|
1309
|
+
var o = ue(e) ? this : e.Aa(e.D);
|
|
1310
|
+
return Ft(e, o, n), o;
|
|
1311
|
+
}, !0), e.g(t, "Error", e.D, v), e.g(e.D.h.prototype, "message", "", v), e.g(e.D.h.prototype, "name", "Error", v), r("EvalError"), e.ob = r("RangeError"), e.pb = r("ReferenceError"), e.T = r("SyntaxError"), e.j = r("TypeError"), e.Gb = r("URIError");
|
|
1312
1312
|
}
|
|
1313
1313
|
function Hn(e, t) {
|
|
1314
|
-
var
|
|
1315
|
-
e.g(t, "Math",
|
|
1316
|
-
var
|
|
1317
|
-
for (t = 0; t <
|
|
1318
|
-
e.g(
|
|
1319
|
-
for (
|
|
1320
|
-
e.g(
|
|
1314
|
+
var r = e.s(e.M);
|
|
1315
|
+
e.g(t, "Math", r, v);
|
|
1316
|
+
var n = "E LN2 LN10 LOG2E LOG10E PI SQRT1_2 SQRT2".split(" ");
|
|
1317
|
+
for (t = 0; t < n.length; t++)
|
|
1318
|
+
e.g(r, n[t], Math[n[t]], X);
|
|
1319
|
+
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++)
|
|
1320
|
+
e.g(r, n[t], e.i(Math[n[t]], !1), v);
|
|
1321
1321
|
}
|
|
1322
1322
|
function Kn(e, t) {
|
|
1323
|
-
var
|
|
1324
|
-
e.g(t, "JSON",
|
|
1323
|
+
var r = e.s(e.M);
|
|
1324
|
+
e.g(t, "JSON", r, v), t = function(n) {
|
|
1325
1325
|
try {
|
|
1326
|
-
var o = JSON.parse(String(
|
|
1326
|
+
var o = JSON.parse(String(n));
|
|
1327
1327
|
} catch (s) {
|
|
1328
|
-
|
|
1328
|
+
w(e, e.T, s.message);
|
|
1329
1329
|
}
|
|
1330
1330
|
return e.Ia(o);
|
|
1331
|
-
}, e.g(
|
|
1332
|
-
o && o.H === "Function" ?
|
|
1333
|
-
return typeof
|
|
1334
|
-
})) : o = null, typeof s != "string" && typeof s != "number" && (s = void 0),
|
|
1331
|
+
}, e.g(r, "parse", e.i(t, !1)), t = function(n, o, s) {
|
|
1332
|
+
o && o.H === "Function" ? w(e, e.j, "Function replacer on JSON.stringify not supported") : o && o.H === "Array" ? (o = Zr(e, o), o = o.filter(function(p) {
|
|
1333
|
+
return typeof p == "string" || typeof p == "number";
|
|
1334
|
+
})) : o = null, typeof s != "string" && typeof s != "number" && (s = void 0), n = e.R(n);
|
|
1335
1335
|
try {
|
|
1336
|
-
var a = JSON.stringify(
|
|
1337
|
-
} catch (
|
|
1338
|
-
|
|
1336
|
+
var a = JSON.stringify(n, o, s);
|
|
1337
|
+
} catch (p) {
|
|
1338
|
+
w(e, e.j, p.message);
|
|
1339
1339
|
}
|
|
1340
1340
|
return a;
|
|
1341
|
-
}, e.g(
|
|
1341
|
+
}, e.g(r, "stringify", e.i(t, !1));
|
|
1342
1342
|
}
|
|
1343
|
-
function
|
|
1344
|
-
if (t == null || !
|
|
1343
|
+
function W(e, t, r) {
|
|
1344
|
+
if (t == null || !r)
|
|
1345
1345
|
return !1;
|
|
1346
|
-
if (
|
|
1346
|
+
if (r = r.h.prototype, t === r)
|
|
1347
1347
|
return !0;
|
|
1348
|
-
for (t =
|
|
1349
|
-
if (t ===
|
|
1348
|
+
for (t = le(e, t); t; ) {
|
|
1349
|
+
if (t === r)
|
|
1350
1350
|
return !0;
|
|
1351
1351
|
t = t.xa;
|
|
1352
1352
|
}
|
|
1353
1353
|
return !1;
|
|
1354
1354
|
}
|
|
1355
|
-
function Vt(e, t,
|
|
1356
|
-
t.data = new RegExp(
|
|
1355
|
+
function Vt(e, t, r) {
|
|
1356
|
+
t.data = new RegExp(r.source, r.flags), e.g(t, "lastIndex", r.lastIndex, v), e.g(t, "source", r.source, X), e.g(t, "global", r.global, X), e.g(t, "ignoreCase", r.ignoreCase, X), e.g(t, "multiline", r.multiline, X);
|
|
1357
1357
|
}
|
|
1358
|
-
function
|
|
1359
|
-
|
|
1360
|
-
for (var
|
|
1361
|
-
var o = e.o[
|
|
1362
|
-
s.type === "CallExpression" && (o = o.U) &&
|
|
1358
|
+
function Ft(e, t, r) {
|
|
1359
|
+
r && e.g(t, "message", String(r), v), r = [];
|
|
1360
|
+
for (var n = e.o.length - 1; 0 <= n; n--) {
|
|
1361
|
+
var o = e.o[n], s = o.node;
|
|
1362
|
+
s.type === "CallExpression" && (o = o.U) && r.length && (r[r.length - 1].Ob = e.G(o, "name")), !s.X || r.length && s.type !== "CallExpression" || r.push({
|
|
1363
1363
|
Nb: s.X
|
|
1364
1364
|
});
|
|
1365
1365
|
}
|
|
1366
|
-
for (
|
|
1367
|
-
`,
|
|
1368
|
-
var a = n
|
|
1369
|
-
o = n
|
|
1366
|
+
for (n = String(e.G(t, "name")), s = String(e.G(t, "message")), s = n + ": " + s + `
|
|
1367
|
+
`, n = 0; n < r.length; n++) {
|
|
1368
|
+
var a = r[n].Nb;
|
|
1369
|
+
o = r[n].Ob, a = a.source + ":" + a.start.line + ":" + a.start.ab, s = o ? s + (" at " + o + " (" + a + `)
|
|
1370
1370
|
`) : s + (" at " + a + `
|
|
1371
1371
|
`);
|
|
1372
1372
|
}
|
|
1373
|
-
e.g(t, "stack", s.trim(),
|
|
1373
|
+
e.g(t, "stack", s.trim(), v);
|
|
1374
1374
|
}
|
|
1375
|
-
|
|
1375
|
+
T.ha = function() {
|
|
1376
1376
|
var e = this.ha.Mb;
|
|
1377
|
-
return e || (e = new Blob([
|
|
1377
|
+
return e || (e = new Blob([Bn.join(`
|
|
1378
1378
|
`)], {
|
|
1379
1379
|
type: "application/javascript"
|
|
1380
1380
|
}), this.ha.Mb = e), new Worker(URL.createObjectURL(e));
|
|
1381
1381
|
};
|
|
1382
|
-
function Ue(e, t,
|
|
1382
|
+
function Ue(e, t, r, n, o) {
|
|
1383
1383
|
var s = {
|
|
1384
1384
|
timeout: e.REGEXP_THREAD_TIMEOUT
|
|
1385
1385
|
};
|
|
1386
1386
|
try {
|
|
1387
|
-
return
|
|
1387
|
+
return ae.runInNewContext(t, r, s);
|
|
1388
1388
|
} catch {
|
|
1389
|
-
o(null),
|
|
1389
|
+
o(null), w(e, e.D, "RegExp Timeout: " + n);
|
|
1390
1390
|
}
|
|
1391
1391
|
return Ee;
|
|
1392
1392
|
}
|
|
1393
|
-
function Fe(e, t,
|
|
1393
|
+
function Fe(e, t, r) {
|
|
1394
1394
|
if (e.REGEXP_MODE === 0)
|
|
1395
|
-
var
|
|
1395
|
+
var n = !1;
|
|
1396
1396
|
else if (e.REGEXP_MODE === 1)
|
|
1397
|
-
|
|
1398
|
-
else if (
|
|
1399
|
-
|
|
1397
|
+
n = !0;
|
|
1398
|
+
else if (ae)
|
|
1399
|
+
n = !0;
|
|
1400
1400
|
else if (typeof Worker == "function" && typeof URL == "function")
|
|
1401
|
-
|
|
1401
|
+
n = !0;
|
|
1402
1402
|
else if (typeof require == "function") {
|
|
1403
1403
|
try {
|
|
1404
|
-
|
|
1404
|
+
ae = require("vm");
|
|
1405
1405
|
} catch {
|
|
1406
1406
|
}
|
|
1407
|
-
|
|
1407
|
+
n = !!ae;
|
|
1408
1408
|
} else
|
|
1409
|
-
|
|
1410
|
-
|
|
1409
|
+
n = !1;
|
|
1410
|
+
n || (r(null), w(e, e.D, "Regular expressions not supported: " + t));
|
|
1411
1411
|
}
|
|
1412
|
-
function Le(e, t,
|
|
1412
|
+
function Le(e, t, r, n) {
|
|
1413
1413
|
return setTimeout(function() {
|
|
1414
|
-
|
|
1414
|
+
r.terminate(), n(null);
|
|
1415
1415
|
try {
|
|
1416
|
-
|
|
1416
|
+
w(e, e.D, "RegExp Timeout: " + t);
|
|
1417
1417
|
} catch {
|
|
1418
1418
|
}
|
|
1419
1419
|
}, e.REGEXP_THREAD_TIMEOUT);
|
|
1420
1420
|
}
|
|
1421
|
-
|
|
1421
|
+
T.Aa = function(e) {
|
|
1422
1422
|
return this.s(e && e.h.prototype);
|
|
1423
1423
|
};
|
|
1424
|
-
|
|
1424
|
+
T.s = function(e) {
|
|
1425
1425
|
if (typeof e != "object")
|
|
1426
1426
|
throw Error("Non object prototype");
|
|
1427
|
-
return e = new A(e),
|
|
1427
|
+
return e = new A(e), W(this, e, this.D) && (e.H = "Error"), e;
|
|
1428
1428
|
};
|
|
1429
1429
|
function Oe(e) {
|
|
1430
1430
|
var t = e.s(e.La);
|
|
@@ -1434,22 +1434,22 @@ function Oe(e) {
|
|
|
1434
1434
|
writable: !0
|
|
1435
1435
|
}), t.H = "Array", t;
|
|
1436
1436
|
}
|
|
1437
|
-
function Xt(e, t,
|
|
1438
|
-
var
|
|
1439
|
-
return
|
|
1437
|
+
function Xt(e, t, r) {
|
|
1438
|
+
var n = e.s(e.Z);
|
|
1439
|
+
return r ? (r = e.s(e.M), e.g(n, "prototype", r, v), e.g(r, "constructor", n, v)) : n.Ab = !0, e.g(n, "length", t, X), n.H = "Function", n;
|
|
1440
1440
|
}
|
|
1441
|
-
function Ht(e, t,
|
|
1441
|
+
function Ht(e, t, r, n) {
|
|
1442
1442
|
var o = Xt(e, t.oa.length, !0);
|
|
1443
|
-
return o.Va =
|
|
1443
|
+
return o.Va = r, o.node = t, e.g(o, "name", t.id ? String(t.id.name) : n || "", X), o;
|
|
1444
1444
|
}
|
|
1445
|
-
|
|
1445
|
+
T.i = function(e, t) {
|
|
1446
1446
|
return t = Xt(this, e.length, t), t.Ta = e, e.id = this.Ya++, this.g(t, "name", e.name, X), t;
|
|
1447
1447
|
};
|
|
1448
|
-
|
|
1448
|
+
T.ub = function(e) {
|
|
1449
1449
|
var t = Xt(this, e.length, !0);
|
|
1450
1450
|
return t.Za = e, e.id = this.Ya++, this.g(t, "name", e.name, X), t;
|
|
1451
1451
|
};
|
|
1452
|
-
|
|
1452
|
+
T.Ia = function(e) {
|
|
1453
1453
|
if (e instanceof A)
|
|
1454
1454
|
throw Error("Object is already pseudo");
|
|
1455
1455
|
if (e == null || e === !0 || e === !1 || typeof e == "string" || typeof e == "number")
|
|
@@ -1461,67 +1461,67 @@ I.Ia = function(e) {
|
|
|
1461
1461
|
if (e instanceof Date)
|
|
1462
1462
|
return t = this.s(this.nb), t.data = new Date(e.valueOf()), t;
|
|
1463
1463
|
if (typeof e == "function") {
|
|
1464
|
-
var
|
|
1464
|
+
var r = this;
|
|
1465
1465
|
return t = Object.getOwnPropertyDescriptor(e, "prototype"), this.i(function() {
|
|
1466
1466
|
var o = Array.prototype.slice.call(arguments).map(function(s) {
|
|
1467
|
-
return
|
|
1467
|
+
return r.R(s);
|
|
1468
1468
|
});
|
|
1469
|
-
return o = e.apply(
|
|
1469
|
+
return o = e.apply(r, o), r.Ia(o);
|
|
1470
1470
|
}, !!t);
|
|
1471
1471
|
}
|
|
1472
1472
|
if (Array.isArray(e)) {
|
|
1473
1473
|
t = Oe(this);
|
|
1474
|
-
for (var
|
|
1475
|
-
|
|
1474
|
+
for (var n = 0; n < e.length; n++)
|
|
1475
|
+
n in e && this.g(t, n, this.Ia(e[n]));
|
|
1476
1476
|
return t;
|
|
1477
1477
|
}
|
|
1478
1478
|
t = this.s(this.M);
|
|
1479
|
-
for (
|
|
1480
|
-
this.g(t,
|
|
1479
|
+
for (n in e)
|
|
1480
|
+
this.g(t, n, this.Ia(e[n]));
|
|
1481
1481
|
return t;
|
|
1482
1482
|
};
|
|
1483
|
-
|
|
1483
|
+
T.R = function(e, t) {
|
|
1484
1484
|
if (typeof e != "object" && typeof e != "function" || e === null)
|
|
1485
1485
|
return e;
|
|
1486
1486
|
if (!(e instanceof A))
|
|
1487
1487
|
throw Error("Object is not pseudo");
|
|
1488
|
-
if (
|
|
1488
|
+
if (W(this, e, this.I))
|
|
1489
1489
|
return t = new RegExp(e.data.source, e.data.flags), t.lastIndex = e.data.lastIndex, t;
|
|
1490
|
-
if (
|
|
1490
|
+
if (W(this, e, this.$))
|
|
1491
1491
|
return new Date(e.data.valueOf());
|
|
1492
1492
|
t = t || {
|
|
1493
1493
|
hb: [],
|
|
1494
1494
|
Sa: []
|
|
1495
1495
|
};
|
|
1496
|
-
var
|
|
1497
|
-
if (
|
|
1498
|
-
return t.Sa[
|
|
1499
|
-
if (t.hb.push(e),
|
|
1500
|
-
|
|
1501
|
-
for (var
|
|
1502
|
-
|
|
1496
|
+
var r = t.hb.indexOf(e);
|
|
1497
|
+
if (r !== -1)
|
|
1498
|
+
return t.Sa[r];
|
|
1499
|
+
if (t.hb.push(e), W(this, e, this.qa)) {
|
|
1500
|
+
r = [], t.Sa.push(r);
|
|
1501
|
+
for (var n = this.G(e, "length"), o = 0; o < n; o++)
|
|
1502
|
+
st(this, e, o) && (r[o] = this.R(this.G(e, o), t));
|
|
1503
1503
|
} else
|
|
1504
|
-
for (
|
|
1505
|
-
o = this.R(e.h[
|
|
1504
|
+
for (n in r = {}, t.Sa.push(r), e.h)
|
|
1505
|
+
o = this.R(e.h[n], t), Object.defineProperty(r, n, {
|
|
1506
1506
|
value: o,
|
|
1507
1507
|
writable: !0,
|
|
1508
1508
|
enumerable: !0,
|
|
1509
1509
|
configurable: !0
|
|
1510
1510
|
});
|
|
1511
|
-
return t.hb.pop(), t.Sa.pop(),
|
|
1511
|
+
return t.hb.pop(), t.Sa.pop(), r;
|
|
1512
1512
|
};
|
|
1513
|
-
function
|
|
1514
|
-
for (var
|
|
1515
|
-
e.g(
|
|
1516
|
-
return
|
|
1513
|
+
function se(e, t) {
|
|
1514
|
+
for (var r = Oe(e), n = Object.getOwnPropertyNames(t), o = 0; o < n.length; o++)
|
|
1515
|
+
e.g(r, n[o], t[n[o]]);
|
|
1516
|
+
return r;
|
|
1517
1517
|
}
|
|
1518
1518
|
function Zr(e, t) {
|
|
1519
|
-
var
|
|
1520
|
-
for (
|
|
1521
|
-
n
|
|
1522
|
-
return
|
|
1519
|
+
var r = [], n;
|
|
1520
|
+
for (n in t.h)
|
|
1521
|
+
r[n] = e.G(t, n);
|
|
1522
|
+
return r.length = Gt(e.G(t, "length")) || 0, r;
|
|
1523
1523
|
}
|
|
1524
|
-
function
|
|
1524
|
+
function le(e, t) {
|
|
1525
1525
|
switch (typeof t) {
|
|
1526
1526
|
case "number":
|
|
1527
1527
|
return e.aa.h.prototype;
|
|
@@ -1532,171 +1532,171 @@ function ae(e, t) {
|
|
|
1532
1532
|
}
|
|
1533
1533
|
return t ? t.xa : null;
|
|
1534
1534
|
}
|
|
1535
|
-
|
|
1535
|
+
T.G = function(e, t) {
|
|
1536
1536
|
if (this.P)
|
|
1537
1537
|
throw Error("Getter not supported in that context");
|
|
1538
|
-
if (t = String(t), e != null ||
|
|
1538
|
+
if (t = String(t), e != null || w(this, this.j, "Cannot read property '" + t + "' of " + e), typeof e == "object" && !(e instanceof A))
|
|
1539
1539
|
throw TypeError("Expecting native value or pseudo object");
|
|
1540
1540
|
if (t === "length") {
|
|
1541
|
-
if (
|
|
1541
|
+
if (W(this, e, this.J))
|
|
1542
1542
|
return String(e).length;
|
|
1543
|
-
} else if (64 > t.charCodeAt(0) &&
|
|
1544
|
-
var
|
|
1545
|
-
if (!isNaN(
|
|
1546
|
-
return String(e)[
|
|
1543
|
+
} else if (64 > t.charCodeAt(0) && W(this, e, this.J)) {
|
|
1544
|
+
var r = $e(t);
|
|
1545
|
+
if (!isNaN(r) && r < String(e).length)
|
|
1546
|
+
return String(e)[r];
|
|
1547
1547
|
}
|
|
1548
1548
|
do
|
|
1549
1549
|
if (e.h && t in e.h)
|
|
1550
|
-
return (
|
|
1551
|
-
while (e =
|
|
1550
|
+
return (r = e.V[t]) ? (this.P = !0, r) : e.h[t];
|
|
1551
|
+
while (e = le(this, e));
|
|
1552
1552
|
};
|
|
1553
|
-
function
|
|
1553
|
+
function st(e, t, r) {
|
|
1554
1554
|
if (!(t instanceof A))
|
|
1555
1555
|
throw TypeError("Primitive data type has no properties");
|
|
1556
|
-
if (
|
|
1556
|
+
if (r = String(r), r === "length" && W(e, t, e.J))
|
|
1557
1557
|
return !0;
|
|
1558
|
-
if (
|
|
1559
|
-
var
|
|
1560
|
-
if (!isNaN(
|
|
1558
|
+
if (W(e, t, e.J)) {
|
|
1559
|
+
var n = $e(r);
|
|
1560
|
+
if (!isNaN(n) && n < String(t).length)
|
|
1561
1561
|
return !0;
|
|
1562
1562
|
}
|
|
1563
1563
|
do
|
|
1564
|
-
if (t.h &&
|
|
1564
|
+
if (t.h && r in t.h)
|
|
1565
1565
|
return !0;
|
|
1566
|
-
while (t =
|
|
1566
|
+
while (t = le(e, t));
|
|
1567
1567
|
return !1;
|
|
1568
1568
|
}
|
|
1569
|
-
|
|
1569
|
+
T.g = function(e, t, r, n) {
|
|
1570
1570
|
if (this.Ka)
|
|
1571
1571
|
throw Error("Setter not supported in that context");
|
|
1572
|
-
if (t = String(t), e != null ||
|
|
1572
|
+
if (t = String(t), e != null || w(this, this.j, "Cannot set property '" + t + "' of " + e), typeof e == "object" && !(e instanceof A))
|
|
1573
1573
|
throw TypeError("Expecting native value or pseudo object");
|
|
1574
|
-
|
|
1574
|
+
n && ("get" in n || "set" in n) && ("value" in n || "writable" in n) && w(this, this.j, "Invalid property descriptor. Cannot both specify accessors and a value or writable attribute");
|
|
1575
1575
|
var o = !this.o || Kt(this).S;
|
|
1576
1576
|
if (e instanceof A) {
|
|
1577
|
-
if (
|
|
1577
|
+
if (W(this, e, this.J)) {
|
|
1578
1578
|
var s = $e(t);
|
|
1579
1579
|
if (t === "length" || !isNaN(s) && s < String(e).length) {
|
|
1580
|
-
o &&
|
|
1580
|
+
o && w(this, this.j, "Cannot assign to read only property '" + t + "' of String '" + e.data + "'");
|
|
1581
1581
|
return;
|
|
1582
1582
|
}
|
|
1583
1583
|
}
|
|
1584
1584
|
if (e.H === "Array")
|
|
1585
1585
|
if (s = e.h.length, t === "length") {
|
|
1586
|
-
if (
|
|
1587
|
-
if (!("value" in
|
|
1586
|
+
if (n) {
|
|
1587
|
+
if (!("value" in n))
|
|
1588
1588
|
return;
|
|
1589
|
-
|
|
1589
|
+
r = n.value;
|
|
1590
1590
|
}
|
|
1591
|
-
if (
|
|
1591
|
+
if (r = Gt(r), isNaN(r) && w(this, this.ob, "Invalid array length"), r < s)
|
|
1592
1592
|
for (a in e.h) {
|
|
1593
1593
|
var a = $e(a);
|
|
1594
|
-
!isNaN(a) &&
|
|
1594
|
+
!isNaN(a) && r <= a && delete e.h[a];
|
|
1595
1595
|
}
|
|
1596
1596
|
} else
|
|
1597
1597
|
isNaN(a = $e(t)) || (e.h.length = Math.max(s, a + 1));
|
|
1598
1598
|
if (!e.preventExtensions || t in e.h)
|
|
1599
|
-
if (
|
|
1600
|
-
o = {}, "get" in
|
|
1599
|
+
if (n) {
|
|
1600
|
+
o = {}, "get" in n && n.get && (e.V[t] = n.get, o.get = this.g.ac), "set" in n && n.set && (e.Y[t] = n.set, o.set = this.g.bc), "configurable" in n && (o.configurable = n.configurable), "enumerable" in n && (o.enumerable = n.enumerable), "writable" in n && (o.writable = n.writable, delete e.V[t], delete e.Y[t]), "value" in n ? (o.value = n.value, delete e.V[t], delete e.Y[t]) : r !== Ve && (o.value = r, delete e.V[t], delete e.Y[t]);
|
|
1601
1601
|
try {
|
|
1602
1602
|
Object.defineProperty(e.h, t, o);
|
|
1603
1603
|
} catch {
|
|
1604
|
-
|
|
1604
|
+
w(this, this.j, "Cannot redefine property: " + t);
|
|
1605
1605
|
}
|
|
1606
|
-
"get" in
|
|
1606
|
+
"get" in n && !n.get && delete e.V[t], "set" in n && !n.set && delete e.Y[t];
|
|
1607
1607
|
} else {
|
|
1608
|
-
if (
|
|
1608
|
+
if (r === Ve)
|
|
1609
1609
|
throw ReferenceError("Value not specified");
|
|
1610
|
-
for (
|
|
1611
|
-
if (
|
|
1612
|
-
|
|
1610
|
+
for (n = e; !(t in n.h); )
|
|
1611
|
+
if (n = le(this, n), !n) {
|
|
1612
|
+
n = e;
|
|
1613
1613
|
break;
|
|
1614
1614
|
}
|
|
1615
|
-
if (
|
|
1616
|
-
return this.Ka = !0,
|
|
1617
|
-
if (
|
|
1618
|
-
o &&
|
|
1615
|
+
if (n.Y && n.Y[t])
|
|
1616
|
+
return this.Ka = !0, n.Y[t];
|
|
1617
|
+
if (n.V && n.V[t])
|
|
1618
|
+
o && w(this, this.j, "Cannot set property '" + t + "' of object '" + e + "' which only has a getter");
|
|
1619
1619
|
else
|
|
1620
1620
|
try {
|
|
1621
|
-
e.h[t] =
|
|
1621
|
+
e.h[t] = r;
|
|
1622
1622
|
} catch {
|
|
1623
|
-
o &&
|
|
1623
|
+
o && w(this, this.j, "Cannot assign to read only property '" + t + "' of object '" + e + "'");
|
|
1624
1624
|
}
|
|
1625
1625
|
}
|
|
1626
1626
|
else
|
|
1627
|
-
o &&
|
|
1627
|
+
o && w(this, this.j, "Can't add property '" + t + "', object is not extensible");
|
|
1628
1628
|
} else
|
|
1629
|
-
o &&
|
|
1629
|
+
o && w(this, this.j, "Can't create property '" + t + "' on '" + e + "'");
|
|
1630
1630
|
};
|
|
1631
|
-
|
|
1631
|
+
T.g.ac = function() {
|
|
1632
1632
|
throw Error("Placeholder getter");
|
|
1633
1633
|
};
|
|
1634
|
-
|
|
1634
|
+
T.g.bc = function() {
|
|
1635
1635
|
throw Error("Placeholder setter");
|
|
1636
1636
|
};
|
|
1637
|
-
function
|
|
1638
|
-
e.g(t.h.prototype,
|
|
1637
|
+
function L(e, t, r, n) {
|
|
1638
|
+
e.g(t.h.prototype, r, e.i(n, !1), v);
|
|
1639
1639
|
}
|
|
1640
|
-
function _e(e, t,
|
|
1641
|
-
e.g(t.h.prototype,
|
|
1640
|
+
function _e(e, t, r, n) {
|
|
1641
|
+
e.g(t.h.prototype, r, e.ub(n), v);
|
|
1642
1642
|
}
|
|
1643
1643
|
function Kt(e) {
|
|
1644
1644
|
if (e = e.o[e.o.length - 1].scope, !e)
|
|
1645
1645
|
throw Error("No scope found");
|
|
1646
1646
|
return e;
|
|
1647
1647
|
}
|
|
1648
|
-
function
|
|
1649
|
-
var
|
|
1650
|
-
if (
|
|
1651
|
-
|
|
1648
|
+
function Lt(e, t, r) {
|
|
1649
|
+
var n = !1;
|
|
1650
|
+
if (r && r.S)
|
|
1651
|
+
n = !0;
|
|
1652
1652
|
else {
|
|
1653
1653
|
var o = t.body && t.body[0];
|
|
1654
|
-
o && o.la && o.la.type === "Literal" && o.la.value === "use strict" && (
|
|
1654
|
+
o && o.la && o.la.type === "Literal" && o.la.value === "use strict" && (n = !0);
|
|
1655
1655
|
}
|
|
1656
|
-
return o = e.s(null),
|
|
1656
|
+
return o = e.s(null), n = new qr(r, n, o), r || Dn(e, n.object), Xe(e, t, n), n;
|
|
1657
1657
|
}
|
|
1658
|
-
function Jt(e, t,
|
|
1658
|
+
function Jt(e, t, r) {
|
|
1659
1659
|
if (!t)
|
|
1660
1660
|
throw Error("parentScope required");
|
|
1661
|
-
return e =
|
|
1661
|
+
return e = r || e.s(null), new qr(t, t.S, e);
|
|
1662
1662
|
}
|
|
1663
1663
|
function Yt(e, t) {
|
|
1664
|
-
for (var
|
|
1665
|
-
if (t in
|
|
1666
|
-
return
|
|
1667
|
-
|
|
1664
|
+
for (var r = Kt(e); r && r !== e.N; ) {
|
|
1665
|
+
if (t in r.object.h)
|
|
1666
|
+
return r.object.h[t];
|
|
1667
|
+
r = r.Va;
|
|
1668
1668
|
}
|
|
1669
|
-
if (
|
|
1670
|
-
return e.G(
|
|
1671
|
-
|
|
1669
|
+
if (r === e.N && st(e, r.object, t))
|
|
1670
|
+
return e.G(r.object, t);
|
|
1671
|
+
r = e.o[e.o.length - 1].node, r.type === "UnaryExpression" && r.operator === "typeof" || w(e, e.pb, t + " is not defined");
|
|
1672
1672
|
}
|
|
1673
|
-
function zr(e, t,
|
|
1674
|
-
for (var
|
|
1675
|
-
if (t in
|
|
1673
|
+
function zr(e, t, r) {
|
|
1674
|
+
for (var n = Kt(e), o = n.S; n && n !== e.N; ) {
|
|
1675
|
+
if (t in n.object.h) {
|
|
1676
1676
|
try {
|
|
1677
|
-
|
|
1677
|
+
n.object.h[t] = r;
|
|
1678
1678
|
} catch {
|
|
1679
|
-
o &&
|
|
1679
|
+
o && w(e, e.j, "Cannot assign to read only variable '" + t + "'");
|
|
1680
1680
|
}
|
|
1681
1681
|
return;
|
|
1682
1682
|
}
|
|
1683
|
-
|
|
1683
|
+
n = n.Va;
|
|
1684
1684
|
}
|
|
1685
|
-
if (
|
|
1686
|
-
return e.g(
|
|
1687
|
-
|
|
1685
|
+
if (n === e.N && (!o || st(e, n.object, t)))
|
|
1686
|
+
return e.g(n.object, t, r);
|
|
1687
|
+
w(e, e.pb, t + " is not defined");
|
|
1688
1688
|
}
|
|
1689
|
-
function Xe(e, t,
|
|
1689
|
+
function Xe(e, t, r) {
|
|
1690
1690
|
if (t.jb)
|
|
1691
|
-
var
|
|
1691
|
+
var n = t.jb;
|
|
1692
1692
|
else {
|
|
1693
|
-
switch (
|
|
1693
|
+
switch (n = /* @__PURE__ */ Object.create(null), t.type) {
|
|
1694
1694
|
case "VariableDeclaration":
|
|
1695
1695
|
for (var o = 0; o < t.fa.length; o++)
|
|
1696
|
-
|
|
1696
|
+
n[t.fa[o].id.name] = !0;
|
|
1697
1697
|
break;
|
|
1698
1698
|
case "FunctionDeclaration":
|
|
1699
|
-
|
|
1699
|
+
n[t.id.name] = t;
|
|
1700
1700
|
break;
|
|
1701
1701
|
case "BlockStatement":
|
|
1702
1702
|
case "CatchClause":
|
|
@@ -1714,40 +1714,40 @@ function Xe(e, t, n) {
|
|
|
1714
1714
|
var s = t.constructor, a;
|
|
1715
1715
|
for (a in t)
|
|
1716
1716
|
if (a !== "loc") {
|
|
1717
|
-
var
|
|
1718
|
-
if (
|
|
1719
|
-
if (Array.isArray(
|
|
1720
|
-
for (o = 0; o <
|
|
1721
|
-
if (
|
|
1722
|
-
var g = Xe(e,
|
|
1717
|
+
var p = t[a];
|
|
1718
|
+
if (p && typeof p == "object") {
|
|
1719
|
+
if (Array.isArray(p)) {
|
|
1720
|
+
for (o = 0; o < p.length; o++)
|
|
1721
|
+
if (p[o] && p[o].constructor === s) {
|
|
1722
|
+
var g = Xe(e, p[o], r);
|
|
1723
1723
|
for (a in g)
|
|
1724
|
-
|
|
1724
|
+
n[a] = g[a];
|
|
1725
1725
|
}
|
|
1726
|
-
} else if (
|
|
1727
|
-
for (a in g = Xe(e,
|
|
1728
|
-
|
|
1726
|
+
} else if (p.constructor === s)
|
|
1727
|
+
for (a in g = Xe(e, p, r), g)
|
|
1728
|
+
n[a] = g[a];
|
|
1729
1729
|
}
|
|
1730
1730
|
}
|
|
1731
1731
|
}
|
|
1732
|
-
t.jb =
|
|
1732
|
+
t.jb = n;
|
|
1733
1733
|
}
|
|
1734
|
-
for (a in
|
|
1735
|
-
|
|
1736
|
-
return
|
|
1734
|
+
for (a in n)
|
|
1735
|
+
n[a] === !0 ? e.g(r.object, a, void 0, Dr) : e.g(r.object, a, Ht(e, n[a], r), Dr);
|
|
1736
|
+
return n;
|
|
1737
1737
|
}
|
|
1738
|
-
function
|
|
1738
|
+
function ue(e) {
|
|
1739
1739
|
return e.o[e.o.length - 1].isConstructor;
|
|
1740
1740
|
}
|
|
1741
1741
|
function Zt(e, t) {
|
|
1742
1742
|
return t[0] === Ae ? Yt(e, t[1]) : e.G(t[0], t[1]);
|
|
1743
1743
|
}
|
|
1744
|
-
function zt(e, t,
|
|
1745
|
-
return t[0] === Ae ? zr(e, t[1],
|
|
1744
|
+
function zt(e, t, r) {
|
|
1745
|
+
return t[0] === Ae ? zr(e, t[1], r) : e.g(t[0], t[1], r);
|
|
1746
1746
|
}
|
|
1747
|
-
function
|
|
1748
|
-
throw e.N ? (
|
|
1747
|
+
function w(e, t, r) {
|
|
1748
|
+
throw e.N ? (r !== void 0 && t instanceof A && (t = e.Aa(t), Ft(e, t, r)), He(e, 4, t), Yr) : r === void 0 ? t : r;
|
|
1749
1749
|
}
|
|
1750
|
-
function He(e, t,
|
|
1750
|
+
function He(e, t, r, n) {
|
|
1751
1751
|
if (t === 0)
|
|
1752
1752
|
throw TypeError("Should not unwind for NORMAL completions");
|
|
1753
1753
|
var o = e.o;
|
|
@@ -1758,14 +1758,14 @@ function He(e, t, n, r) {
|
|
|
1758
1758
|
case "TryStatement":
|
|
1759
1759
|
s.ea = {
|
|
1760
1760
|
type: t,
|
|
1761
|
-
value:
|
|
1762
|
-
label:
|
|
1761
|
+
value: r,
|
|
1762
|
+
label: n
|
|
1763
1763
|
};
|
|
1764
1764
|
return;
|
|
1765
1765
|
case "CallExpression":
|
|
1766
1766
|
case "NewExpression":
|
|
1767
1767
|
if (t === 3) {
|
|
1768
|
-
s.value =
|
|
1768
|
+
s.value = r;
|
|
1769
1769
|
return;
|
|
1770
1770
|
}
|
|
1771
1771
|
if (t !== 4)
|
|
@@ -1776,21 +1776,21 @@ function He(e, t, n, r) {
|
|
|
1776
1776
|
break e;
|
|
1777
1777
|
}
|
|
1778
1778
|
if (t === 1) {
|
|
1779
|
-
if (
|
|
1779
|
+
if (n ? s.labels && s.labels.indexOf(n) !== -1 : s.W || s.Zb) {
|
|
1780
1780
|
o.pop();
|
|
1781
1781
|
return;
|
|
1782
1782
|
}
|
|
1783
|
-
} else if (t === 2 && (
|
|
1783
|
+
} else if (t === 2 && (n ? s.labels && s.labels.indexOf(n) !== -1 : s.W))
|
|
1784
1784
|
return;
|
|
1785
1785
|
}
|
|
1786
|
-
throw
|
|
1786
|
+
throw W(e, r, e.D) ? (t = {
|
|
1787
1787
|
EvalError,
|
|
1788
1788
|
RangeError,
|
|
1789
1789
|
ReferenceError,
|
|
1790
1790
|
SyntaxError,
|
|
1791
1791
|
TypeError,
|
|
1792
1792
|
URIError
|
|
1793
|
-
},
|
|
1793
|
+
}, n = String(e.G(r, "name")), o = e.G(r, "message").valueOf(), t = (t[n] || Error)(o), t.stack = String(e.G(r, "stack"))) : t = String(r), e.value = t, t;
|
|
1794
1794
|
}
|
|
1795
1795
|
function V(e, t) {
|
|
1796
1796
|
switch (t.type) {
|
|
@@ -1808,8 +1808,8 @@ function V(e, t) {
|
|
|
1808
1808
|
case "Literal":
|
|
1809
1809
|
return t.raw;
|
|
1810
1810
|
case "MemberExpression":
|
|
1811
|
-
var
|
|
1812
|
-
return e = V(e, t.Wa), t.bb ?
|
|
1811
|
+
var r = V(e, t.object);
|
|
1812
|
+
return e = V(e, t.Wa), t.bb ? r + "[" + e + "]" : r + "." + e;
|
|
1813
1813
|
case "NewExpression":
|
|
1814
1814
|
return "new " + V(e, t.callee) + "(...)";
|
|
1815
1815
|
case "ObjectExpression":
|
|
@@ -1819,288 +1819,288 @@ function V(e, t) {
|
|
|
1819
1819
|
case "UnaryExpression":
|
|
1820
1820
|
return t.operator + " " + V(e, t.K);
|
|
1821
1821
|
case "UpdateExpression":
|
|
1822
|
-
return
|
|
1822
|
+
return r = V(e, t.K), t.prefix ? t.operator + r : r + t.operator;
|
|
1823
1823
|
}
|
|
1824
1824
|
return "???";
|
|
1825
1825
|
}
|
|
1826
|
-
function
|
|
1827
|
-
var
|
|
1828
|
-
|
|
1826
|
+
function Fr(e, t, r) {
|
|
1827
|
+
var n = e.o[e.o.length - 1], o = Array.from(r), s = o.shift();
|
|
1828
|
+
r = Math.max(Number(o.shift() || 0), 0);
|
|
1829
1829
|
var a = e.ya();
|
|
1830
1830
|
if (s instanceof A && s.H === "Function") {
|
|
1831
|
-
var
|
|
1832
|
-
a.type = "CallExpression",
|
|
1831
|
+
var p = s;
|
|
1832
|
+
a.type = "CallExpression", n = n.scope;
|
|
1833
1833
|
} else {
|
|
1834
1834
|
try {
|
|
1835
1835
|
var g = je(String(s), "taskCode" + e.ic++);
|
|
1836
|
-
} catch (
|
|
1837
|
-
|
|
1836
|
+
} catch (y) {
|
|
1837
|
+
w(e, e.T, "Invalid code: " + y.message);
|
|
1838
1838
|
}
|
|
1839
|
-
a.type = "EvalProgram_", a.body = g.body,
|
|
1839
|
+
a.type = "EvalProgram_", a.body = g.body, n = n.node.arguments[0], it(a, n ? n.start : void 0, n ? n.end : void 0), n = e.N, o.length = 0;
|
|
1840
1840
|
}
|
|
1841
|
-
return t = new Jn(
|
|
1841
|
+
return t = new Jn(p, o, n, a, t ? r : -1), Qr(e, t, r), t.Db;
|
|
1842
1842
|
}
|
|
1843
|
-
function Qr(e, t,
|
|
1844
|
-
t.time = Date.now() +
|
|
1845
|
-
return
|
|
1843
|
+
function Qr(e, t, r) {
|
|
1844
|
+
t.time = Date.now() + r, e.ca.push(t), e.ca.sort(function(n, o) {
|
|
1845
|
+
return n.time - o.time;
|
|
1846
1846
|
});
|
|
1847
1847
|
}
|
|
1848
|
-
function
|
|
1849
|
-
for (var
|
|
1850
|
-
if (e.ca[
|
|
1851
|
-
e.ca.splice(
|
|
1848
|
+
function Lr(e, t) {
|
|
1849
|
+
for (var r = 0; r < e.ca.length; r++)
|
|
1850
|
+
if (e.ca[r].Db == t) {
|
|
1851
|
+
e.ca.splice(r, 1);
|
|
1852
1852
|
break;
|
|
1853
1853
|
}
|
|
1854
1854
|
}
|
|
1855
|
-
function Ke(e, t,
|
|
1855
|
+
function Ke(e, t, r) {
|
|
1856
1856
|
if (!e.P)
|
|
1857
1857
|
throw Error("Unexpected call to createGetter");
|
|
1858
|
-
e.P = !1,
|
|
1859
|
-
var
|
|
1860
|
-
return
|
|
1858
|
+
e.P = !1, r = Array.isArray(r) ? r[0] : r;
|
|
1859
|
+
var n = e.ya();
|
|
1860
|
+
return n.type = "CallExpression", e = new m(n, e.o[e.o.length - 1].scope), e.ia = 2, e.B = r, e.U = t, e.Qa = !0, e.F = [], e;
|
|
1861
1861
|
}
|
|
1862
|
-
function Qt(e, t,
|
|
1862
|
+
function Qt(e, t, r, n) {
|
|
1863
1863
|
if (!e.Ka)
|
|
1864
1864
|
throw Error("Unexpected call to createSetter");
|
|
1865
|
-
e.Ka = !1,
|
|
1865
|
+
e.Ka = !1, r = Array.isArray(r) ? r[0] : e.Na;
|
|
1866
1866
|
var o = e.ya();
|
|
1867
|
-
return o.type = "CallExpression", e = new
|
|
1867
|
+
return o.type = "CallExpression", e = new m(o, e.o[e.o.length - 1].scope), e.ia = 2, e.B = r, e.U = t, e.Qa = !0, e.F = [n], e;
|
|
1868
1868
|
}
|
|
1869
|
-
function
|
|
1870
|
-
return t == null ? e.Na : t instanceof A ? t : (e = e.s(
|
|
1869
|
+
function Rt(e, t) {
|
|
1870
|
+
return t == null ? e.Na : t instanceof A ? t : (e = e.s(le(e, t)), e.data = t, e);
|
|
1871
1871
|
}
|
|
1872
|
-
|
|
1872
|
+
T.Xb = function() {
|
|
1873
1873
|
return this.N;
|
|
1874
1874
|
};
|
|
1875
|
-
|
|
1875
|
+
T.Yb = function() {
|
|
1876
1876
|
return this.o;
|
|
1877
1877
|
};
|
|
1878
|
-
|
|
1878
|
+
T.ec = function(e) {
|
|
1879
1879
|
this.o = e;
|
|
1880
1880
|
};
|
|
1881
|
-
function
|
|
1881
|
+
function m(e, t) {
|
|
1882
1882
|
this.node = e, this.scope = t;
|
|
1883
1883
|
}
|
|
1884
|
-
function qr(e, t,
|
|
1885
|
-
this.Va = e, this.S = t, this.object =
|
|
1884
|
+
function qr(e, t, r) {
|
|
1885
|
+
this.Va = e, this.S = t, this.object = r;
|
|
1886
1886
|
}
|
|
1887
1887
|
function A(e) {
|
|
1888
1888
|
this.V = /* @__PURE__ */ Object.create(null), this.Y = /* @__PURE__ */ Object.create(null), this.h = /* @__PURE__ */ Object.create(null), this.xa = e;
|
|
1889
1889
|
}
|
|
1890
|
-
|
|
1891
|
-
|
|
1892
|
-
|
|
1893
|
-
|
|
1894
|
-
|
|
1890
|
+
T = A.prototype;
|
|
1891
|
+
T.xa = null;
|
|
1892
|
+
T.H = "Object";
|
|
1893
|
+
T.data = null;
|
|
1894
|
+
T.toString = function() {
|
|
1895
1895
|
if (!We)
|
|
1896
1896
|
return "[object Interpreter.Object]";
|
|
1897
1897
|
if (!(this instanceof A))
|
|
1898
1898
|
return String(this);
|
|
1899
1899
|
if (this.H === "Array") {
|
|
1900
|
-
var e =
|
|
1900
|
+
var e = Ur;
|
|
1901
1901
|
e.push(this);
|
|
1902
1902
|
try {
|
|
1903
|
-
var t = [],
|
|
1904
|
-
1024 <
|
|
1905
|
-
for (var o = 0; o <
|
|
1903
|
+
var t = [], r = this.h.length, n = !1;
|
|
1904
|
+
1024 < r && (r = 1e3, n = !0);
|
|
1905
|
+
for (var o = 0; o < r; o++) {
|
|
1906
1906
|
var s = this.h[o];
|
|
1907
1907
|
t[o] = s instanceof A && e.indexOf(s) !== -1 ? "..." : s;
|
|
1908
1908
|
}
|
|
1909
|
-
|
|
1909
|
+
n && t.push("...");
|
|
1910
1910
|
} finally {
|
|
1911
1911
|
e.pop();
|
|
1912
1912
|
}
|
|
1913
1913
|
return t.join(",");
|
|
1914
1914
|
}
|
|
1915
1915
|
if (this.H === "Error") {
|
|
1916
|
-
if (e =
|
|
1916
|
+
if (e = Ur, e.indexOf(this) !== -1)
|
|
1917
1917
|
return "[object Error]";
|
|
1918
|
-
|
|
1918
|
+
r = this;
|
|
1919
1919
|
do
|
|
1920
|
-
if ("name" in
|
|
1921
|
-
t =
|
|
1920
|
+
if ("name" in r.h) {
|
|
1921
|
+
t = r.h.name;
|
|
1922
1922
|
break;
|
|
1923
1923
|
}
|
|
1924
|
-
while (
|
|
1925
|
-
|
|
1924
|
+
while (r = r.xa);
|
|
1925
|
+
r = this;
|
|
1926
1926
|
do
|
|
1927
|
-
if ("message" in
|
|
1928
|
-
|
|
1927
|
+
if ("message" in r.h) {
|
|
1928
|
+
n = r.h.message;
|
|
1929
1929
|
break;
|
|
1930
1930
|
}
|
|
1931
|
-
while (
|
|
1931
|
+
while (r = r.xa);
|
|
1932
1932
|
e.push(this);
|
|
1933
1933
|
try {
|
|
1934
|
-
t = t && String(t),
|
|
1934
|
+
t = t && String(t), n = n && String(n);
|
|
1935
1935
|
} finally {
|
|
1936
1936
|
e.pop();
|
|
1937
1937
|
}
|
|
1938
|
-
return
|
|
1938
|
+
return n ? t + ": " + n : String(t);
|
|
1939
1939
|
}
|
|
1940
1940
|
return this.data !== null ? String(this.data) : "[object " + this.H + "]";
|
|
1941
1941
|
};
|
|
1942
|
-
|
|
1942
|
+
T.valueOf = function() {
|
|
1943
1943
|
return !We || this.data === void 0 || this.data === null || this.data instanceof RegExp ? this : this.data instanceof Date ? this.data.valueOf() : this.data;
|
|
1944
1944
|
};
|
|
1945
|
-
function Jn(e, t,
|
|
1946
|
-
this.zb = e, this.Lb = t, this.scope =
|
|
1945
|
+
function Jn(e, t, r, n, o) {
|
|
1946
|
+
this.zb = e, this.Lb = t, this.scope = r, this.node = n, this.interval = o, this.Db = ++Yn, this.time = 0;
|
|
1947
1947
|
}
|
|
1948
1948
|
var Yn = 0;
|
|
1949
|
-
h.prototype.stepArrayExpression = function(e, t,
|
|
1950
|
-
|
|
1951
|
-
var
|
|
1952
|
-
for (t.Oa ? (this.g(t.Oa,
|
|
1953
|
-
if (n
|
|
1954
|
-
return t.A =
|
|
1955
|
-
|
|
1949
|
+
h.prototype.stepArrayExpression = function(e, t, r) {
|
|
1950
|
+
r = r.elements;
|
|
1951
|
+
var n = t.A || 0;
|
|
1952
|
+
for (t.Oa ? (this.g(t.Oa, n, t.value), n++) : (t.Oa = Oe(this), t.Oa.h.length = r.length); n < r.length; ) {
|
|
1953
|
+
if (r[n])
|
|
1954
|
+
return t.A = n, new m(r[n], t.scope);
|
|
1955
|
+
n++;
|
|
1956
1956
|
}
|
|
1957
1957
|
e.pop(), e[e.length - 1].value = t.Oa;
|
|
1958
1958
|
};
|
|
1959
|
-
h.prototype.stepAssignmentExpression = function(e, t,
|
|
1959
|
+
h.prototype.stepAssignmentExpression = function(e, t, r) {
|
|
1960
1960
|
if (!t.ja)
|
|
1961
|
-
return t.ja = !0, t = new
|
|
1961
|
+
return t.ja = !0, t = new m(r.left, t.scope), t.sa = !0, t;
|
|
1962
1962
|
if (!t.Da)
|
|
1963
|
-
return t.Fa || (t.Fa = t.value), t.Ba && (t.ma = t.value), !t.Ba &&
|
|
1963
|
+
return t.Fa || (t.Fa = t.value), t.Ba && (t.ma = t.value), !t.Ba && r.operator !== "=" && (e = Zt(this, t.Fa), t.ma = e, this.P) ? (t.Ba = !0, Ke(this, e, t.Fa)) : (t.Da = !0, r.operator === "=" && r.left.type === "Identifier" && (t.Pa = r.left.name), new m(r.right, t.scope));
|
|
1964
1964
|
if (t.ta)
|
|
1965
1965
|
e.pop(), e[e.length - 1].value = t.ib;
|
|
1966
1966
|
else {
|
|
1967
|
-
var
|
|
1968
|
-
switch (
|
|
1967
|
+
var n = t.ma, o = t.value;
|
|
1968
|
+
switch (r.operator) {
|
|
1969
1969
|
case "=":
|
|
1970
|
-
|
|
1970
|
+
n = o;
|
|
1971
1971
|
break;
|
|
1972
1972
|
case "+=":
|
|
1973
|
-
|
|
1973
|
+
n += o;
|
|
1974
1974
|
break;
|
|
1975
1975
|
case "-=":
|
|
1976
|
-
|
|
1976
|
+
n -= o;
|
|
1977
1977
|
break;
|
|
1978
1978
|
case "*=":
|
|
1979
|
-
|
|
1979
|
+
n *= o;
|
|
1980
1980
|
break;
|
|
1981
1981
|
case "/=":
|
|
1982
|
-
|
|
1982
|
+
n /= o;
|
|
1983
1983
|
break;
|
|
1984
1984
|
case "%=":
|
|
1985
|
-
|
|
1985
|
+
n %= o;
|
|
1986
1986
|
break;
|
|
1987
1987
|
case "<<=":
|
|
1988
|
-
|
|
1988
|
+
n <<= o;
|
|
1989
1989
|
break;
|
|
1990
1990
|
case ">>=":
|
|
1991
|
-
|
|
1991
|
+
n >>= o;
|
|
1992
1992
|
break;
|
|
1993
1993
|
case ">>>=":
|
|
1994
|
-
|
|
1994
|
+
n >>>= o;
|
|
1995
1995
|
break;
|
|
1996
1996
|
case "&=":
|
|
1997
|
-
|
|
1997
|
+
n &= o;
|
|
1998
1998
|
break;
|
|
1999
1999
|
case "^=":
|
|
2000
|
-
|
|
2000
|
+
n ^= o;
|
|
2001
2001
|
break;
|
|
2002
2002
|
case "|=":
|
|
2003
|
-
|
|
2003
|
+
n |= o;
|
|
2004
2004
|
break;
|
|
2005
2005
|
default:
|
|
2006
|
-
throw SyntaxError("Unknown assignment expression: " +
|
|
2006
|
+
throw SyntaxError("Unknown assignment expression: " + r.operator);
|
|
2007
2007
|
}
|
|
2008
|
-
if (
|
|
2009
|
-
return t.ta = !0, t.ib =
|
|
2010
|
-
e.pop(), e[e.length - 1].value =
|
|
2008
|
+
if (r = zt(this, t.Fa, n))
|
|
2009
|
+
return t.ta = !0, t.ib = n, Qt(this, r, t.Fa, n);
|
|
2010
|
+
e.pop(), e[e.length - 1].value = n;
|
|
2011
2011
|
}
|
|
2012
2012
|
};
|
|
2013
|
-
h.prototype.stepBinaryExpression = function(e, t,
|
|
2013
|
+
h.prototype.stepBinaryExpression = function(e, t, r) {
|
|
2014
2014
|
if (!t.ja)
|
|
2015
|
-
return t.ja = !0, new
|
|
2015
|
+
return t.ja = !0, new m(r.left, t.scope);
|
|
2016
2016
|
if (!t.Da)
|
|
2017
|
-
return t.Da = !0, t.ma = t.value, new
|
|
2017
|
+
return t.Da = !0, t.ma = t.value, new m(r.right, t.scope);
|
|
2018
2018
|
e.pop();
|
|
2019
|
-
var
|
|
2020
|
-
switch (t = t.value,
|
|
2019
|
+
var n = t.ma;
|
|
2020
|
+
switch (t = t.value, r.operator) {
|
|
2021
2021
|
case "==":
|
|
2022
|
-
|
|
2022
|
+
r = n == t;
|
|
2023
2023
|
break;
|
|
2024
2024
|
case "!=":
|
|
2025
|
-
|
|
2025
|
+
r = n != t;
|
|
2026
2026
|
break;
|
|
2027
2027
|
case "===":
|
|
2028
|
-
|
|
2028
|
+
r = n === t;
|
|
2029
2029
|
break;
|
|
2030
2030
|
case "!==":
|
|
2031
|
-
|
|
2031
|
+
r = n !== t;
|
|
2032
2032
|
break;
|
|
2033
2033
|
case ">":
|
|
2034
|
-
|
|
2034
|
+
r = n > t;
|
|
2035
2035
|
break;
|
|
2036
2036
|
case ">=":
|
|
2037
|
-
|
|
2037
|
+
r = n >= t;
|
|
2038
2038
|
break;
|
|
2039
2039
|
case "<":
|
|
2040
|
-
|
|
2040
|
+
r = n < t;
|
|
2041
2041
|
break;
|
|
2042
2042
|
case "<=":
|
|
2043
|
-
|
|
2043
|
+
r = n <= t;
|
|
2044
2044
|
break;
|
|
2045
2045
|
case "+":
|
|
2046
|
-
|
|
2046
|
+
r = n + t;
|
|
2047
2047
|
break;
|
|
2048
2048
|
case "-":
|
|
2049
|
-
|
|
2049
|
+
r = n - t;
|
|
2050
2050
|
break;
|
|
2051
2051
|
case "*":
|
|
2052
|
-
|
|
2052
|
+
r = n * t;
|
|
2053
2053
|
break;
|
|
2054
2054
|
case "/":
|
|
2055
|
-
|
|
2055
|
+
r = n / t;
|
|
2056
2056
|
break;
|
|
2057
2057
|
case "%":
|
|
2058
|
-
|
|
2058
|
+
r = n % t;
|
|
2059
2059
|
break;
|
|
2060
2060
|
case "&":
|
|
2061
|
-
|
|
2061
|
+
r = n & t;
|
|
2062
2062
|
break;
|
|
2063
2063
|
case "|":
|
|
2064
|
-
|
|
2064
|
+
r = n | t;
|
|
2065
2065
|
break;
|
|
2066
2066
|
case "^":
|
|
2067
|
-
|
|
2067
|
+
r = n ^ t;
|
|
2068
2068
|
break;
|
|
2069
2069
|
case "<<":
|
|
2070
|
-
|
|
2070
|
+
r = n << t;
|
|
2071
2071
|
break;
|
|
2072
2072
|
case ">>":
|
|
2073
|
-
|
|
2073
|
+
r = n >> t;
|
|
2074
2074
|
break;
|
|
2075
2075
|
case ">>>":
|
|
2076
|
-
|
|
2076
|
+
r = n >>> t;
|
|
2077
2077
|
break;
|
|
2078
2078
|
case "in":
|
|
2079
|
-
t instanceof A ||
|
|
2079
|
+
t instanceof A || w(this, this.j, "'in' expects an object, not '" + t + "'"), r = st(this, t, n);
|
|
2080
2080
|
break;
|
|
2081
2081
|
case "instanceof":
|
|
2082
|
-
|
|
2082
|
+
W(this, t, this.O) || w(this, this.j, "'instanceof' expects an object, not '" + t + "'"), r = n instanceof A ? W(this, n, t) : !1;
|
|
2083
2083
|
break;
|
|
2084
2084
|
default:
|
|
2085
|
-
throw SyntaxError("Unknown binary operator: " +
|
|
2085
|
+
throw SyntaxError("Unknown binary operator: " + r.operator);
|
|
2086
2086
|
}
|
|
2087
|
-
e[e.length - 1].value =
|
|
2087
|
+
e[e.length - 1].value = r;
|
|
2088
2088
|
};
|
|
2089
|
-
h.prototype.stepBlockStatement = function(e, t,
|
|
2090
|
-
var
|
|
2091
|
-
if (
|
|
2092
|
-
return t.A =
|
|
2089
|
+
h.prototype.stepBlockStatement = function(e, t, r) {
|
|
2090
|
+
var n = t.A || 0;
|
|
2091
|
+
if (r = r.body[n])
|
|
2092
|
+
return t.A = n + 1, new m(r, t.scope);
|
|
2093
2093
|
e.pop();
|
|
2094
2094
|
};
|
|
2095
|
-
h.prototype.stepBreakStatement = function(e, t,
|
|
2096
|
-
He(this, 1, void 0,
|
|
2095
|
+
h.prototype.stepBreakStatement = function(e, t, r) {
|
|
2096
|
+
He(this, 1, void 0, r.label && r.label.name);
|
|
2097
2097
|
};
|
|
2098
2098
|
h.prototype.Hb = 0;
|
|
2099
|
-
h.prototype.stepCallExpression = function(e, t,
|
|
2099
|
+
h.prototype.stepCallExpression = function(e, t, r) {
|
|
2100
2100
|
if (!t.ia) {
|
|
2101
2101
|
t.ia = 1;
|
|
2102
|
-
var
|
|
2103
|
-
return
|
|
2102
|
+
var n = new m(r.callee, t.scope);
|
|
2103
|
+
return n.sa = !0, n;
|
|
2104
2104
|
}
|
|
2105
2105
|
if (t.ia === 1) {
|
|
2106
2106
|
t.ia = 2;
|
|
@@ -2113,10 +2113,10 @@ h.prototype.stepCallExpression = function(e, t, n) {
|
|
|
2113
2113
|
t.F = [], t.A = 0;
|
|
2114
2114
|
}
|
|
2115
2115
|
if (o = t.U, !t.Qa) {
|
|
2116
|
-
if (t.A !== 0 && t.F.push(t.value),
|
|
2117
|
-
return new
|
|
2118
|
-
if (
|
|
2119
|
-
if (o instanceof A && !o.Ab ||
|
|
2116
|
+
if (t.A !== 0 && t.F.push(t.value), r.arguments[t.A])
|
|
2117
|
+
return new m(r.arguments[t.A++], t.scope);
|
|
2118
|
+
if (r.type === "NewExpression") {
|
|
2119
|
+
if (o instanceof A && !o.Ab || w(this, this.j, V(this, r.callee) + " is not a constructor"), o === this.qa)
|
|
2120
2120
|
t.B = Oe(this);
|
|
2121
2121
|
else {
|
|
2122
2122
|
var s = o.h.prototype;
|
|
@@ -2129,195 +2129,195 @@ h.prototype.stepCallExpression = function(e, t, n) {
|
|
|
2129
2129
|
if (t.eb)
|
|
2130
2130
|
e.pop(), e[e.length - 1].value = t.isConstructor && typeof t.value != "object" ? t.B : t.value;
|
|
2131
2131
|
else {
|
|
2132
|
-
if (t.eb = !0, o instanceof A ||
|
|
2133
|
-
for (
|
|
2134
|
-
this.g(
|
|
2135
|
-
for (this.g(
|
|
2136
|
-
this.g(
|
|
2137
|
-
return
|
|
2132
|
+
if (t.eb = !0, o instanceof A || w(this, this.j, V(this, r.callee) + " is not a function"), e = o.node) {
|
|
2133
|
+
for (r = Lt(this, e.body, o.Va), n = Oe(this), o = 0; o < t.F.length; o++)
|
|
2134
|
+
this.g(n, o, t.F[o]);
|
|
2135
|
+
for (this.g(r.object, "arguments", n), o = 0; o < e.oa.length; o++)
|
|
2136
|
+
this.g(r.object, e.oa[o].name, t.F.length > o ? t.F[o] : void 0);
|
|
2137
|
+
return r.S || (t.B = Rt(this, t.B)), this.g(r.object, "this", t.B, $t), t.value = void 0, new m(e.body, r);
|
|
2138
2138
|
}
|
|
2139
2139
|
if (o.eval)
|
|
2140
2140
|
if (o = t.F[0], typeof o != "string")
|
|
2141
2141
|
t.value = o;
|
|
2142
2142
|
else {
|
|
2143
2143
|
try {
|
|
2144
|
-
|
|
2145
|
-
} catch (
|
|
2146
|
-
|
|
2144
|
+
n = je(String(o), "eval" + this.Hb++);
|
|
2145
|
+
} catch (p) {
|
|
2146
|
+
w(this, this.T, "Invalid code: " + p.message);
|
|
2147
2147
|
}
|
|
2148
|
-
return o = this.ya(), o.type = "EvalProgram_", o.body =
|
|
2148
|
+
return o = this.ya(), o.type = "EvalProgram_", o.body = n.body, it(o, r.start, r.end), r = t.Pb ? t.scope : this.N, r.S ? r = Lt(this, n, r) : Xe(this, n, r), this.value = void 0, new m(o, r);
|
|
2149
2149
|
}
|
|
2150
2150
|
else if (o.Ta)
|
|
2151
|
-
t.scope.S || (t.B =
|
|
2151
|
+
t.scope.S || (t.B = Rt(this, t.B)), t.value = o.Ta.apply(t.B, t.F);
|
|
2152
2152
|
else if (o.Za) {
|
|
2153
2153
|
var a = this;
|
|
2154
|
-
|
|
2155
|
-
t.value =
|
|
2156
|
-
}), this.za = !0, t.scope.S || (t.B =
|
|
2154
|
+
n = o.Za.length - 1, n = t.F.concat(Array(n)).slice(0, n), n.push(function(p) {
|
|
2155
|
+
t.value = p, a.za = !1;
|
|
2156
|
+
}), this.za = !0, t.scope.S || (t.B = Rt(this, t.B)), o.Za.apply(t.B, n);
|
|
2157
2157
|
} else
|
|
2158
|
-
|
|
2158
|
+
w(this, this.j, V(this, r.callee) + " is not callable");
|
|
2159
2159
|
}
|
|
2160
2160
|
};
|
|
2161
|
-
h.prototype.stepConditionalExpression = function(e, t,
|
|
2162
|
-
var
|
|
2163
|
-
if (
|
|
2164
|
-
return t.na = 1, new
|
|
2165
|
-
if (
|
|
2166
|
-
if (t.na = 2, (
|
|
2167
|
-
return new
|
|
2168
|
-
if (!
|
|
2169
|
-
return new
|
|
2161
|
+
h.prototype.stepConditionalExpression = function(e, t, r) {
|
|
2162
|
+
var n = t.na || 0;
|
|
2163
|
+
if (n === 0)
|
|
2164
|
+
return t.na = 1, new m(r.test, t.scope);
|
|
2165
|
+
if (n === 1) {
|
|
2166
|
+
if (t.na = 2, (n = !!t.value) && r.da)
|
|
2167
|
+
return new m(r.da, t.scope);
|
|
2168
|
+
if (!n && r.alternate)
|
|
2169
|
+
return new m(r.alternate, t.scope);
|
|
2170
2170
|
this.value = void 0;
|
|
2171
2171
|
}
|
|
2172
|
-
e.pop(),
|
|
2172
|
+
e.pop(), r.type === "ConditionalExpression" && (e[e.length - 1].value = t.value);
|
|
2173
2173
|
};
|
|
2174
|
-
h.prototype.stepContinueStatement = function(e, t,
|
|
2175
|
-
He(this, 2, void 0,
|
|
2174
|
+
h.prototype.stepContinueStatement = function(e, t, r) {
|
|
2175
|
+
He(this, 2, void 0, r.label && r.label.name);
|
|
2176
2176
|
};
|
|
2177
2177
|
h.prototype.stepDebuggerStatement = function(e) {
|
|
2178
2178
|
e.pop();
|
|
2179
2179
|
};
|
|
2180
|
-
h.prototype.stepDoWhileStatement = function(e, t,
|
|
2181
|
-
if (
|
|
2182
|
-
return t.ga = !0, new
|
|
2180
|
+
h.prototype.stepDoWhileStatement = function(e, t, r) {
|
|
2181
|
+
if (r.type === "DoWhileStatement" && t.ga === void 0 && (t.value = !0, t.ga = !0), !t.ga)
|
|
2182
|
+
return t.ga = !0, new m(r.test, t.scope);
|
|
2183
2183
|
if (!t.value)
|
|
2184
2184
|
e.pop();
|
|
2185
|
-
else if (
|
|
2186
|
-
return t.ga = !1, t.W = !0, new
|
|
2185
|
+
else if (r.body)
|
|
2186
|
+
return t.ga = !1, t.W = !0, new m(r.body, t.scope);
|
|
2187
2187
|
};
|
|
2188
2188
|
h.prototype.stepEmptyStatement = function(e) {
|
|
2189
2189
|
e.pop();
|
|
2190
2190
|
};
|
|
2191
|
-
h.prototype.stepEvalProgram_ = function(e, t,
|
|
2192
|
-
var
|
|
2193
|
-
if (
|
|
2194
|
-
return t.A =
|
|
2191
|
+
h.prototype.stepEvalProgram_ = function(e, t, r) {
|
|
2192
|
+
var n = t.A || 0;
|
|
2193
|
+
if (r = r.body[n])
|
|
2194
|
+
return t.A = n + 1, new m(r, t.scope);
|
|
2195
2195
|
e.pop(), e[e.length - 1].value = this.value;
|
|
2196
2196
|
};
|
|
2197
|
-
h.prototype.stepExpressionStatement = function(e, t,
|
|
2197
|
+
h.prototype.stepExpressionStatement = function(e, t, r) {
|
|
2198
2198
|
if (!t.ka)
|
|
2199
|
-
return this.value = void 0, t.ka = !0, new
|
|
2199
|
+
return this.value = void 0, t.ka = !0, new m(r.la, t.scope);
|
|
2200
2200
|
e.pop(), this.value = t.value;
|
|
2201
2201
|
};
|
|
2202
|
-
h.prototype.stepForInStatement = function(e, t,
|
|
2203
|
-
if (!t.Ub && (t.Ub = !0,
|
|
2204
|
-
return t.scope.S &&
|
|
2202
|
+
h.prototype.stepForInStatement = function(e, t, r) {
|
|
2203
|
+
if (!t.Ub && (t.Ub = !0, r.left.fa && r.left.fa[0].ua))
|
|
2204
|
+
return t.scope.S && w(this, this.T, "for-in loop variable declaration may not have an initializer"), new m(r.left, t.scope);
|
|
2205
2205
|
if (!t.Ca)
|
|
2206
|
-
return t.Ca = !0, t.pa || (t.pa = t.value), new
|
|
2206
|
+
return t.Ca = !0, t.pa || (t.pa = t.value), new m(r.right, t.scope);
|
|
2207
2207
|
if (t.W || (t.W = !0, t.u = t.value, t.kb = /* @__PURE__ */ Object.create(null)), t.Ra === void 0)
|
|
2208
2208
|
e:
|
|
2209
2209
|
for (; ; ) {
|
|
2210
2210
|
if (t.u instanceof A)
|
|
2211
2211
|
for (t.wa || (t.wa = Object.getOwnPropertyNames(t.u.h)); ; ) {
|
|
2212
|
-
var
|
|
2213
|
-
if (
|
|
2212
|
+
var n = t.wa.shift();
|
|
2213
|
+
if (n === void 0)
|
|
2214
2214
|
break;
|
|
2215
|
-
if (Object.prototype.hasOwnProperty.call(t.u.h,
|
|
2216
|
-
t.Ra =
|
|
2215
|
+
if (Object.prototype.hasOwnProperty.call(t.u.h, n) && !t.kb[n] && (t.kb[n] = !0, Object.prototype.propertyIsEnumerable.call(t.u.h, n))) {
|
|
2216
|
+
t.Ra = n;
|
|
2217
2217
|
break e;
|
|
2218
2218
|
}
|
|
2219
2219
|
}
|
|
2220
2220
|
else if (t.u !== null && t.u !== void 0) {
|
|
2221
|
-
for (t.wa || (t.wa = Object.getOwnPropertyNames(t.u));
|
|
2222
|
-
if (t.kb[
|
|
2223
|
-
t.Ra =
|
|
2221
|
+
for (t.wa || (t.wa = Object.getOwnPropertyNames(t.u)); n = t.wa.shift(), n !== void 0; )
|
|
2222
|
+
if (t.kb[n] = !0, Object.prototype.propertyIsEnumerable.call(t.u, n)) {
|
|
2223
|
+
t.Ra = n;
|
|
2224
2224
|
break e;
|
|
2225
2225
|
}
|
|
2226
2226
|
}
|
|
2227
|
-
if (t.u =
|
|
2227
|
+
if (t.u = le(this, t.u), t.wa = null, t.u === null) {
|
|
2228
2228
|
e.pop();
|
|
2229
2229
|
return;
|
|
2230
2230
|
}
|
|
2231
2231
|
}
|
|
2232
2232
|
if (!t.wb)
|
|
2233
|
-
if (t.wb = !0, e =
|
|
2233
|
+
if (t.wb = !0, e = r.left, e.type === "VariableDeclaration")
|
|
2234
2234
|
t.pa = [Ae, e.fa[0].id.name];
|
|
2235
2235
|
else
|
|
2236
|
-
return t.pa = null, t = new
|
|
2237
|
-
if (t.pa || (t.pa = t.value), !t.ta && (t.ta = !0, e = t.Ra,
|
|
2238
|
-
return Qt(this,
|
|
2239
|
-
if (t.Ra = void 0, t.wb = !1, t.ta = !1,
|
|
2240
|
-
return new
|
|
2236
|
+
return t.pa = null, t = new m(e, t.scope), t.sa = !0, t;
|
|
2237
|
+
if (t.pa || (t.pa = t.value), !t.ta && (t.ta = !0, e = t.Ra, n = zt(this, t.pa, e)))
|
|
2238
|
+
return Qt(this, n, t.pa, e);
|
|
2239
|
+
if (t.Ra = void 0, t.wb = !1, t.ta = !1, r.body)
|
|
2240
|
+
return new m(r.body, t.scope);
|
|
2241
2241
|
};
|
|
2242
|
-
h.prototype.stepForStatement = function(e, t,
|
|
2242
|
+
h.prototype.stepForStatement = function(e, t, r) {
|
|
2243
2243
|
switch (t.na) {
|
|
2244
2244
|
default:
|
|
2245
|
-
if (t.na = 1,
|
|
2246
|
-
return new
|
|
2245
|
+
if (t.na = 1, r.ua)
|
|
2246
|
+
return new m(r.ua, t.scope);
|
|
2247
2247
|
break;
|
|
2248
2248
|
case 1:
|
|
2249
|
-
if (t.na = 2,
|
|
2250
|
-
return new
|
|
2249
|
+
if (t.na = 2, r.test)
|
|
2250
|
+
return new m(r.test, t.scope);
|
|
2251
2251
|
break;
|
|
2252
2252
|
case 2:
|
|
2253
|
-
if (t.na = 3,
|
|
2253
|
+
if (t.na = 3, r.test && !t.value)
|
|
2254
2254
|
e.pop();
|
|
2255
2255
|
else
|
|
2256
|
-
return t.W = !0, new
|
|
2256
|
+
return t.W = !0, new m(r.body, t.scope);
|
|
2257
2257
|
break;
|
|
2258
2258
|
case 3:
|
|
2259
|
-
if (t.na = 1,
|
|
2260
|
-
return new
|
|
2259
|
+
if (t.na = 1, r.update)
|
|
2260
|
+
return new m(r.update, t.scope);
|
|
2261
2261
|
}
|
|
2262
2262
|
};
|
|
2263
2263
|
h.prototype.stepFunctionDeclaration = function(e) {
|
|
2264
2264
|
e.pop();
|
|
2265
2265
|
};
|
|
2266
|
-
h.prototype.stepFunctionExpression = function(e, t,
|
|
2267
|
-
e.pop(), t = e[e.length - 1], e = t.scope,
|
|
2266
|
+
h.prototype.stepFunctionExpression = function(e, t, r) {
|
|
2267
|
+
e.pop(), t = e[e.length - 1], e = t.scope, r.id && (e = Jt(this, e)), t.value = Ht(this, r, e, t.Pa), r.id && this.g(e.object, r.id.name, t.value, $t);
|
|
2268
2268
|
};
|
|
2269
|
-
h.prototype.stepIdentifier = function(e, t,
|
|
2269
|
+
h.prototype.stepIdentifier = function(e, t, r) {
|
|
2270
2270
|
if (e.pop(), t.sa)
|
|
2271
|
-
e[e.length - 1].value = [Ae,
|
|
2271
|
+
e[e.length - 1].value = [Ae, r.name];
|
|
2272
2272
|
else {
|
|
2273
|
-
if (t = Yt(this,
|
|
2273
|
+
if (t = Yt(this, r.name), this.P)
|
|
2274
2274
|
return Ke(this, t, this.Na);
|
|
2275
2275
|
e[e.length - 1].value = t;
|
|
2276
2276
|
}
|
|
2277
2277
|
};
|
|
2278
2278
|
h.prototype.stepIfStatement = h.prototype.stepConditionalExpression;
|
|
2279
|
-
h.prototype.stepLabeledStatement = function(e, t,
|
|
2280
|
-
return e.pop(), e = t.labels || [], e.push(
|
|
2279
|
+
h.prototype.stepLabeledStatement = function(e, t, r) {
|
|
2280
|
+
return e.pop(), e = t.labels || [], e.push(r.label.name), t = new m(r.body, t.scope), t.labels = e, t;
|
|
2281
2281
|
};
|
|
2282
|
-
h.prototype.stepLiteral = function(e, t,
|
|
2283
|
-
e.pop(), t =
|
|
2282
|
+
h.prototype.stepLiteral = function(e, t, r) {
|
|
2283
|
+
e.pop(), t = r.value, t instanceof RegExp && (r = this.s(this.Ma), Vt(this, r, t), t = r), e[e.length - 1].value = t;
|
|
2284
2284
|
};
|
|
2285
|
-
h.prototype.stepLogicalExpression = function(e, t,
|
|
2286
|
-
if (
|
|
2287
|
-
throw SyntaxError("Unknown logical operator: " +
|
|
2285
|
+
h.prototype.stepLogicalExpression = function(e, t, r) {
|
|
2286
|
+
if (r.operator !== "&&" && r.operator !== "||")
|
|
2287
|
+
throw SyntaxError("Unknown logical operator: " + r.operator);
|
|
2288
2288
|
if (!t.ja)
|
|
2289
|
-
return t.ja = !0, new
|
|
2289
|
+
return t.ja = !0, new m(r.left, t.scope);
|
|
2290
2290
|
if (t.Da)
|
|
2291
2291
|
e.pop(), e[e.length - 1].value = t.value;
|
|
2292
|
-
else if (
|
|
2292
|
+
else if (r.operator === "&&" && !t.value || r.operator === "||" && t.value)
|
|
2293
2293
|
e.pop(), e[e.length - 1].value = t.value;
|
|
2294
2294
|
else
|
|
2295
|
-
return t.Da = !0, new
|
|
2295
|
+
return t.Da = !0, new m(r.right, t.scope);
|
|
2296
2296
|
};
|
|
2297
|
-
h.prototype.stepMemberExpression = function(e, t,
|
|
2297
|
+
h.prototype.stepMemberExpression = function(e, t, r) {
|
|
2298
2298
|
if (!t.Ca)
|
|
2299
|
-
return t.Ca = !0, new
|
|
2300
|
-
if (
|
|
2299
|
+
return t.Ca = !0, new m(r.object, t.scope);
|
|
2300
|
+
if (r.bb)
|
|
2301
2301
|
if (t.Vb)
|
|
2302
|
-
|
|
2302
|
+
r = t.value;
|
|
2303
2303
|
else
|
|
2304
|
-
return t.u = t.value, t.Vb = !0, new
|
|
2304
|
+
return t.u = t.value, t.Vb = !0, new m(r.Wa, t.scope);
|
|
2305
2305
|
else
|
|
2306
|
-
t.u = t.value,
|
|
2306
|
+
t.u = t.value, r = r.Wa.name;
|
|
2307
2307
|
if (e.pop(), t.sa)
|
|
2308
|
-
e[e.length - 1].value = [t.u,
|
|
2308
|
+
e[e.length - 1].value = [t.u, r];
|
|
2309
2309
|
else {
|
|
2310
|
-
if (
|
|
2311
|
-
return Ke(this,
|
|
2312
|
-
e[e.length - 1].value =
|
|
2310
|
+
if (r = this.G(t.u, r), this.P)
|
|
2311
|
+
return Ke(this, r, t.u);
|
|
2312
|
+
e[e.length - 1].value = r;
|
|
2313
2313
|
}
|
|
2314
2314
|
};
|
|
2315
2315
|
h.prototype.stepNewExpression = h.prototype.stepCallExpression;
|
|
2316
|
-
h.prototype.stepObjectExpression = function(e, t,
|
|
2317
|
-
var
|
|
2316
|
+
h.prototype.stepObjectExpression = function(e, t, r) {
|
|
2317
|
+
var n = t.A || 0, o = r.h[n];
|
|
2318
2318
|
if (t.u) {
|
|
2319
2319
|
var s = t.Pa;
|
|
2320
|
-
t.Ja[s] || (t.Ja[s] = {}), t.Ja[s][o.kind] = t.value, t.A = ++
|
|
2320
|
+
t.Ja[s] || (t.Ja[s] = {}), t.Ja[s][o.kind] = t.value, t.A = ++n, o = r.h[n];
|
|
2321
2321
|
} else
|
|
2322
2322
|
t.u = this.s(this.M), t.Ja = /* @__PURE__ */ Object.create(null);
|
|
2323
2323
|
if (o) {
|
|
@@ -2328,50 +2328,50 @@ h.prototype.stepObjectExpression = function(e, t, n) {
|
|
|
2328
2328
|
s = a.value;
|
|
2329
2329
|
else
|
|
2330
2330
|
throw SyntaxError("Unknown object structure: " + a.type);
|
|
2331
|
-
return t.Pa = s, new
|
|
2331
|
+
return t.Pa = s, new m(o.value, t.scope);
|
|
2332
2332
|
}
|
|
2333
2333
|
for (a in t.Ja)
|
|
2334
|
-
|
|
2334
|
+
r = t.Ja[a], "get" in r || "set" in r ? this.g(t.u, a, Ve, {
|
|
2335
2335
|
configurable: !0,
|
|
2336
2336
|
enumerable: !0,
|
|
2337
|
-
get:
|
|
2338
|
-
set:
|
|
2339
|
-
}) : this.g(t.u, a,
|
|
2337
|
+
get: r.get,
|
|
2338
|
+
set: r.set
|
|
2339
|
+
}) : this.g(t.u, a, r.init);
|
|
2340
2340
|
e.pop(), e[e.length - 1].value = t.u;
|
|
2341
2341
|
};
|
|
2342
|
-
h.prototype.stepProgram = function(e, t,
|
|
2343
|
-
if (e =
|
|
2344
|
-
return t.done = !1, new
|
|
2342
|
+
h.prototype.stepProgram = function(e, t, r) {
|
|
2343
|
+
if (e = r.body.shift())
|
|
2344
|
+
return t.done = !1, new m(e, t.scope);
|
|
2345
2345
|
t.done = !0;
|
|
2346
2346
|
};
|
|
2347
|
-
h.prototype.stepReturnStatement = function(e, t,
|
|
2348
|
-
if (
|
|
2349
|
-
return t.ka = !0, new
|
|
2347
|
+
h.prototype.stepReturnStatement = function(e, t, r) {
|
|
2348
|
+
if (r.K && !t.ka)
|
|
2349
|
+
return t.ka = !0, new m(r.K, t.scope);
|
|
2350
2350
|
He(this, 3, t.value);
|
|
2351
2351
|
};
|
|
2352
|
-
h.prototype.stepSequenceExpression = function(e, t,
|
|
2353
|
-
var
|
|
2354
|
-
if (
|
|
2355
|
-
return t.A =
|
|
2352
|
+
h.prototype.stepSequenceExpression = function(e, t, r) {
|
|
2353
|
+
var n = t.A || 0;
|
|
2354
|
+
if (r = r.xb[n])
|
|
2355
|
+
return t.A = n + 1, new m(r, t.scope);
|
|
2356
2356
|
e.pop(), e[e.length - 1].value = t.value;
|
|
2357
2357
|
};
|
|
2358
|
-
h.prototype.stepSwitchStatement = function(e, t,
|
|
2358
|
+
h.prototype.stepSwitchStatement = function(e, t, r) {
|
|
2359
2359
|
if (!t.ga)
|
|
2360
|
-
return t.ga = 1, new
|
|
2360
|
+
return t.ga = 1, new m(r.Qb, t.scope);
|
|
2361
2361
|
for (t.ga === 1 && (t.ga = 2, t.hc = t.value, t.cb = -1); ; ) {
|
|
2362
|
-
var
|
|
2362
|
+
var n = t.gb || 0, o = r.tb[n];
|
|
2363
2363
|
if (t.Ha || !o || o.test)
|
|
2364
2364
|
if (o || t.Ha || t.cb === -1)
|
|
2365
2365
|
if (o) {
|
|
2366
2366
|
if (!t.Ha && !t.Fb && o.test)
|
|
2367
|
-
return t.Fb = !0, new
|
|
2367
|
+
return t.Fb = !0, new m(o.test, t.scope);
|
|
2368
2368
|
if (t.Ha || t.value === t.hc) {
|
|
2369
2369
|
t.Ha = !0;
|
|
2370
2370
|
var s = t.A || 0;
|
|
2371
2371
|
if (o.da[s])
|
|
2372
|
-
return t.Zb = !0, t.A = s + 1, new
|
|
2372
|
+
return t.Zb = !0, t.A = s + 1, new m(o.da[s], t.scope);
|
|
2373
2373
|
}
|
|
2374
|
-
t.Fb = !1, t.A = 0, t.gb =
|
|
2374
|
+
t.Fb = !1, t.A = 0, t.gb = n + 1;
|
|
2375
2375
|
} else {
|
|
2376
2376
|
e.pop();
|
|
2377
2377
|
break;
|
|
@@ -2379,102 +2379,102 @@ h.prototype.stepSwitchStatement = function(e, t, n) {
|
|
|
2379
2379
|
else
|
|
2380
2380
|
t.Ha = !0, t.gb = t.cb;
|
|
2381
2381
|
else
|
|
2382
|
-
t.cb =
|
|
2382
|
+
t.cb = n, t.gb = n + 1;
|
|
2383
2383
|
}
|
|
2384
2384
|
};
|
|
2385
2385
|
h.prototype.stepThisExpression = function(e) {
|
|
2386
2386
|
e.pop(), e[e.length - 1].value = Yt(this, "this");
|
|
2387
2387
|
};
|
|
2388
|
-
h.prototype.stepThrowStatement = function(e, t,
|
|
2388
|
+
h.prototype.stepThrowStatement = function(e, t, r) {
|
|
2389
2389
|
if (t.ka)
|
|
2390
|
-
|
|
2390
|
+
w(this, t.value);
|
|
2391
2391
|
else
|
|
2392
|
-
return t.ka = !0, new
|
|
2392
|
+
return t.ka = !0, new m(r.K, t.scope);
|
|
2393
2393
|
};
|
|
2394
|
-
h.prototype.stepTryStatement = function(e, t,
|
|
2394
|
+
h.prototype.stepTryStatement = function(e, t, r) {
|
|
2395
2395
|
if (!t.Rb)
|
|
2396
|
-
return t.Rb = !0, new
|
|
2397
|
-
if (t.ea && t.ea.type === 4 && !t.Tb &&
|
|
2398
|
-
return t.Tb = !0, e = Jt(this, t.scope), this.g(e.object,
|
|
2399
|
-
if (!t.Sb &&
|
|
2400
|
-
return t.Sb = !0, new
|
|
2396
|
+
return t.Rb = !0, new m(r.block, t.scope);
|
|
2397
|
+
if (t.ea && t.ea.type === 4 && !t.Tb && r.Ea)
|
|
2398
|
+
return t.Tb = !0, e = Jt(this, t.scope), this.g(e.object, r.Ea.Ua.name, t.ea.value), t.ea = void 0, new m(r.Ea.body, e);
|
|
2399
|
+
if (!t.Sb && r.fb)
|
|
2400
|
+
return t.Sb = !0, new m(r.fb, t.scope);
|
|
2401
2401
|
e.pop(), t.ea && He(this, t.ea.type, t.ea.value, t.ea.label);
|
|
2402
2402
|
};
|
|
2403
|
-
h.prototype.stepUnaryExpression = function(e, t,
|
|
2403
|
+
h.prototype.stepUnaryExpression = function(e, t, r) {
|
|
2404
2404
|
if (!t.ka)
|
|
2405
|
-
return t.ka = !0, e = new
|
|
2405
|
+
return t.ka = !0, e = new m(r.K, t.scope), e.sa = r.operator === "delete", e;
|
|
2406
2406
|
e.pop();
|
|
2407
|
-
var
|
|
2408
|
-
switch (
|
|
2407
|
+
var n = t.value;
|
|
2408
|
+
switch (r.operator) {
|
|
2409
2409
|
case "-":
|
|
2410
|
-
|
|
2410
|
+
n = -n;
|
|
2411
2411
|
break;
|
|
2412
2412
|
case "+":
|
|
2413
|
-
|
|
2413
|
+
n = +n;
|
|
2414
2414
|
break;
|
|
2415
2415
|
case "!":
|
|
2416
|
-
|
|
2416
|
+
n = !n;
|
|
2417
2417
|
break;
|
|
2418
2418
|
case "~":
|
|
2419
|
-
|
|
2419
|
+
n = ~n;
|
|
2420
2420
|
break;
|
|
2421
2421
|
case "delete":
|
|
2422
|
-
if (
|
|
2423
|
-
var o =
|
|
2424
|
-
o === Ae && (o = t.scope),
|
|
2422
|
+
if (r = !0, Array.isArray(n)) {
|
|
2423
|
+
var o = n[0];
|
|
2424
|
+
o === Ae && (o = t.scope), n = String(n[1]);
|
|
2425
2425
|
try {
|
|
2426
|
-
delete o.h[
|
|
2426
|
+
delete o.h[n];
|
|
2427
2427
|
} catch {
|
|
2428
|
-
t.scope.S ?
|
|
2428
|
+
t.scope.S ? w(this, this.j, "Cannot delete property '" + n + "' of '" + o + "'") : r = !1;
|
|
2429
2429
|
}
|
|
2430
2430
|
}
|
|
2431
|
-
|
|
2431
|
+
n = r;
|
|
2432
2432
|
break;
|
|
2433
2433
|
case "typeof":
|
|
2434
|
-
|
|
2434
|
+
n = n && n.H === "Function" ? "function" : typeof n;
|
|
2435
2435
|
break;
|
|
2436
2436
|
case "void":
|
|
2437
|
-
|
|
2437
|
+
n = void 0;
|
|
2438
2438
|
break;
|
|
2439
2439
|
default:
|
|
2440
|
-
throw SyntaxError("Unknown unary operator: " +
|
|
2440
|
+
throw SyntaxError("Unknown unary operator: " + r.operator);
|
|
2441
2441
|
}
|
|
2442
|
-
e[e.length - 1].value =
|
|
2442
|
+
e[e.length - 1].value = n;
|
|
2443
2443
|
};
|
|
2444
|
-
h.prototype.stepUpdateExpression = function(e, t,
|
|
2444
|
+
h.prototype.stepUpdateExpression = function(e, t, r) {
|
|
2445
2445
|
if (!t.ja)
|
|
2446
|
-
return t.ja = !0, e = new
|
|
2446
|
+
return t.ja = !0, e = new m(r.K, t.scope), e.sa = !0, e;
|
|
2447
2447
|
if (t.Ga || (t.Ga = t.value), t.Ba && (t.ma = t.value), !t.Ba) {
|
|
2448
|
-
var
|
|
2449
|
-
if (t.ma =
|
|
2450
|
-
return t.Ba = !0, Ke(this,
|
|
2448
|
+
var n = Zt(this, t.Ga);
|
|
2449
|
+
if (t.ma = n, this.P)
|
|
2450
|
+
return t.Ba = !0, Ke(this, n, t.Ga);
|
|
2451
2451
|
}
|
|
2452
2452
|
if (t.ta)
|
|
2453
2453
|
e.pop(), e[e.length - 1].value = t.ib;
|
|
2454
2454
|
else {
|
|
2455
|
-
if (
|
|
2456
|
-
var o =
|
|
2457
|
-
else if (
|
|
2458
|
-
o =
|
|
2455
|
+
if (n = Number(t.ma), r.operator === "++")
|
|
2456
|
+
var o = n + 1;
|
|
2457
|
+
else if (r.operator === "--")
|
|
2458
|
+
o = n - 1;
|
|
2459
2459
|
else
|
|
2460
|
-
throw SyntaxError("Unknown update expression: " +
|
|
2461
|
-
if (
|
|
2462
|
-
return t.ta = !0, t.ib =
|
|
2463
|
-
e.pop(), e[e.length - 1].value =
|
|
2460
|
+
throw SyntaxError("Unknown update expression: " + r.operator);
|
|
2461
|
+
if (r = r.prefix ? o : n, n = zt(this, t.Ga, o))
|
|
2462
|
+
return t.ta = !0, t.ib = r, Qt(this, n, t.Ga, o);
|
|
2463
|
+
e.pop(), e[e.length - 1].value = r;
|
|
2464
2464
|
}
|
|
2465
2465
|
};
|
|
2466
|
-
h.prototype.stepVariableDeclaration = function(e, t,
|
|
2467
|
-
|
|
2468
|
-
var
|
|
2469
|
-
for (t.Bb && o && (zr(this, o.id.name, t.value), t.Bb = !1, o =
|
|
2466
|
+
h.prototype.stepVariableDeclaration = function(e, t, r) {
|
|
2467
|
+
r = r.fa;
|
|
2468
|
+
var n = t.A || 0, o = r[n];
|
|
2469
|
+
for (t.Bb && o && (zr(this, o.id.name, t.value), t.Bb = !1, o = r[++n]); o; ) {
|
|
2470
2470
|
if (o.ua)
|
|
2471
|
-
return t.A =
|
|
2472
|
-
o =
|
|
2471
|
+
return t.A = n, t.Bb = !0, t.Pa = o.id.name, new m(o.ua, t.scope);
|
|
2472
|
+
o = r[++n];
|
|
2473
2473
|
}
|
|
2474
2474
|
e.pop();
|
|
2475
2475
|
};
|
|
2476
|
-
h.prototype.stepWithStatement = function(e, t,
|
|
2477
|
-
return t.Ca ? (e.pop(), e = Jt(this, t.scope, t.value), new
|
|
2476
|
+
h.prototype.stepWithStatement = function(e, t, r) {
|
|
2477
|
+
return t.Ca ? (e.pop(), e = Jt(this, t.scope, t.value), new m(r.body, e)) : (t.Ca = !0, new m(r.object, t.scope));
|
|
2478
2478
|
};
|
|
2479
2479
|
h.prototype.stepWhileStatement = h.prototype.stepDoWhileStatement;
|
|
2480
2480
|
he.Interpreter = h;
|
|
@@ -2495,72 +2495,72 @@ h.prototype.setStateStack = h.prototype.ec;
|
|
|
2495
2495
|
h.VALUE_IN_DESCRIPTOR = Ve;
|
|
2496
2496
|
const Zn = (e) => e.split(`
|
|
2497
2497
|
`).map((t) => {
|
|
2498
|
-
const
|
|
2498
|
+
const r = t.trim();
|
|
2499
2499
|
if (t.includes("__awaiter"))
|
|
2500
2500
|
return;
|
|
2501
|
-
if (!
|
|
2501
|
+
if (!r.startsWith("state."))
|
|
2502
2502
|
return t;
|
|
2503
|
-
const [o, s] =
|
|
2503
|
+
const [o, s] = r.split("="), p = `setRootState('${o.replace("state.", "").trim()}', ${s.trim()})`;
|
|
2504
2504
|
return `
|
|
2505
2505
|
${t}
|
|
2506
|
-
${
|
|
2506
|
+
${p}
|
|
2507
2507
|
`;
|
|
2508
2508
|
}).filter(Boolean).join(`
|
|
2509
|
-
`),
|
|
2509
|
+
`), _r = (e) => e + "JSON", zn = ({
|
|
2510
2510
|
builder: e,
|
|
2511
2511
|
context: t,
|
|
2512
|
-
event:
|
|
2513
|
-
rootState:
|
|
2512
|
+
event: r,
|
|
2513
|
+
rootState: n,
|
|
2514
2514
|
localState: o,
|
|
2515
2515
|
rootSetState: s,
|
|
2516
2516
|
code: a
|
|
2517
2517
|
}) => {
|
|
2518
|
-
const
|
|
2519
|
-
...
|
|
2518
|
+
const p = {
|
|
2519
|
+
...n,
|
|
2520
2520
|
...o
|
|
2521
2521
|
}, g = Kr({
|
|
2522
2522
|
builder: e,
|
|
2523
2523
|
context: t,
|
|
2524
|
-
event:
|
|
2525
|
-
state:
|
|
2526
|
-
}),
|
|
2527
|
-
const H =
|
|
2528
|
-
return `var ${
|
|
2524
|
+
event: r,
|
|
2525
|
+
state: p
|
|
2526
|
+
}), y = g.map(([R]) => {
|
|
2527
|
+
const H = _r(R);
|
|
2528
|
+
return `var ${R} = ${H} === undefined ? undefined : JSON.parse(${H});`;
|
|
2529
2529
|
}).join(`
|
|
2530
2530
|
`), C = Zn(a);
|
|
2531
2531
|
if (C === "") {
|
|
2532
2532
|
Wt.warn("Skipping evaluation of empty code block.");
|
|
2533
2533
|
return;
|
|
2534
2534
|
}
|
|
2535
|
-
const
|
|
2535
|
+
const I = `
|
|
2536
2536
|
function theFunction() {
|
|
2537
|
-
${
|
|
2537
|
+
${y}
|
|
2538
2538
|
|
|
2539
2539
|
${C}
|
|
2540
2540
|
}
|
|
2541
2541
|
theFunction();
|
|
2542
|
-
`,
|
|
2543
|
-
const k = Hr(
|
|
2542
|
+
`, J = (R, H) => {
|
|
2543
|
+
const k = Hr(p, R, H);
|
|
2544
2544
|
s == null || s(k);
|
|
2545
|
-
},
|
|
2546
|
-
g.forEach(([k,
|
|
2547
|
-
const Je = JSON.stringify(
|
|
2548
|
-
|
|
2549
|
-
}),
|
|
2550
|
-
},
|
|
2551
|
-
return
|
|
2545
|
+
}, b = function(R, H) {
|
|
2546
|
+
g.forEach(([k, q]) => {
|
|
2547
|
+
const Je = JSON.stringify(q);
|
|
2548
|
+
R.setProperty(H, _r(k), Je);
|
|
2549
|
+
}), R.setProperty(H, "setRootState", R.createNativeFunction(J));
|
|
2550
|
+
}, O = new h(I, b);
|
|
2551
|
+
return O.run(), O.pseudoToNative(O.value);
|
|
2552
2552
|
};
|
|
2553
2553
|
function Qn() {
|
|
2554
2554
|
var e;
|
|
2555
2555
|
return typeof process != "undefined" && ot((e = process == null ? void 0 : process.versions) == null ? void 0 : e.node);
|
|
2556
2556
|
}
|
|
2557
2557
|
const qn = () => {
|
|
2558
|
-
var
|
|
2558
|
+
var n;
|
|
2559
2559
|
if (!Qn())
|
|
2560
2560
|
return !1;
|
|
2561
|
-
const e = process.arch === "arm64", t = process.version.startsWith("v20"),
|
|
2562
|
-
return e && t && !
|
|
2563
|
-
}, eo = (e) =>
|
|
2561
|
+
const e = process.arch === "arm64", t = process.version.startsWith("v20"), r = (n = process.env.NODE_OPTIONS) == null ? void 0 : n.includes("--no-node-snapshot");
|
|
2562
|
+
return e && t && !r ? (Wt.log("Skipping usage of `isolated-vm` to avoid crashes in Node v20 on an arm64 machine.\n If you would like to use the `isolated-vm` package on this machine, please provide the `NODE_OPTIONS=--no-node-snapshot` config to your Node process.\n See https://github.com/BuilderIO/builder/blob/main/packages/sdks/README.md#node-v20--m1-macs-apple-silicon-support for more information.\n "), !0) : !1;
|
|
2563
|
+
}, eo = (e) => Dt() || qn() ? Rn(e) : zn(e), ie = class ie {
|
|
2564
2564
|
static getCacheKey(t) {
|
|
2565
2565
|
return JSON.stringify({
|
|
2566
2566
|
...t,
|
|
@@ -2570,25 +2570,25 @@ const qn = () => {
|
|
|
2570
2570
|
});
|
|
2571
2571
|
}
|
|
2572
2572
|
static getCachedValue(t) {
|
|
2573
|
-
return
|
|
2573
|
+
return ie.cache.get(t);
|
|
2574
2574
|
}
|
|
2575
|
-
static setCachedValue(t,
|
|
2576
|
-
|
|
2577
|
-
value:
|
|
2575
|
+
static setCachedValue(t, r) {
|
|
2576
|
+
ie.cache.size > 20 && ie.cache.delete(ie.cache.keys().next().value), ie.cache.set(t, {
|
|
2577
|
+
value: r
|
|
2578
2578
|
});
|
|
2579
2579
|
}
|
|
2580
2580
|
};
|
|
2581
|
-
|
|
2582
|
-
let Ce =
|
|
2581
|
+
Nt(ie, "cacheLimit", 20), Nt(ie, "cache", /* @__PURE__ */ new Map());
|
|
2582
|
+
let Ce = ie;
|
|
2583
2583
|
function qt({
|
|
2584
2584
|
code: e,
|
|
2585
2585
|
context: t,
|
|
2586
|
-
localState:
|
|
2587
|
-
rootState:
|
|
2586
|
+
localState: r,
|
|
2587
|
+
rootState: n,
|
|
2588
2588
|
rootSetState: o,
|
|
2589
2589
|
event: s,
|
|
2590
2590
|
isExpression: a = !0,
|
|
2591
|
-
enableCache:
|
|
2591
|
+
enableCache: p
|
|
2592
2592
|
}) {
|
|
2593
2593
|
if (e === "")
|
|
2594
2594
|
return;
|
|
@@ -2600,23 +2600,23 @@ function qt({
|
|
|
2600
2600
|
context: t,
|
|
2601
2601
|
event: s,
|
|
2602
2602
|
rootSetState: o,
|
|
2603
|
-
rootState:
|
|
2604
|
-
localState:
|
|
2603
|
+
rootState: n,
|
|
2604
|
+
localState: r
|
|
2605
2605
|
};
|
|
2606
|
-
if (
|
|
2607
|
-
const
|
|
2606
|
+
if (p) {
|
|
2607
|
+
const y = Ce.getCacheKey(g), C = Ce.getCachedValue(y);
|
|
2608
2608
|
if (C)
|
|
2609
2609
|
return C.value;
|
|
2610
2610
|
}
|
|
2611
2611
|
try {
|
|
2612
|
-
const
|
|
2613
|
-
if (
|
|
2612
|
+
const y = eo(g);
|
|
2613
|
+
if (p) {
|
|
2614
2614
|
const C = Ce.getCacheKey(g);
|
|
2615
|
-
Ce.setCachedValue(C,
|
|
2615
|
+
Ce.setCachedValue(C, y);
|
|
2616
2616
|
}
|
|
2617
|
-
return
|
|
2618
|
-
} catch (
|
|
2619
|
-
Wt.error("Failed code evaluation: " +
|
|
2617
|
+
return y;
|
|
2618
|
+
} catch (y) {
|
|
2619
|
+
Wt.error("Failed code evaluation: " + y.message, {
|
|
2620
2620
|
code: e
|
|
2621
2621
|
});
|
|
2622
2622
|
return;
|
|
@@ -2625,8 +2625,8 @@ function qt({
|
|
|
2625
2625
|
const to = ({
|
|
2626
2626
|
block: e,
|
|
2627
2627
|
context: t,
|
|
2628
|
-
localState:
|
|
2629
|
-
rootState:
|
|
2628
|
+
localState: r,
|
|
2629
|
+
rootState: n,
|
|
2630
2630
|
rootSetState: o
|
|
2631
2631
|
}) => {
|
|
2632
2632
|
if (!e.bindings)
|
|
@@ -2640,67 +2640,67 @@ const to = ({
|
|
|
2640
2640
|
...s.actions
|
|
2641
2641
|
}
|
|
2642
2642
|
};
|
|
2643
|
-
for (const
|
|
2644
|
-
const g = e.bindings[
|
|
2643
|
+
for (const p in e.bindings) {
|
|
2644
|
+
const g = e.bindings[p], y = qt({
|
|
2645
2645
|
code: g,
|
|
2646
|
-
localState:
|
|
2647
|
-
rootState:
|
|
2646
|
+
localState: r,
|
|
2647
|
+
rootState: n,
|
|
2648
2648
|
rootSetState: o,
|
|
2649
2649
|
context: t,
|
|
2650
2650
|
enableCache: !0
|
|
2651
2651
|
});
|
|
2652
|
-
Hr(a,
|
|
2652
|
+
Hr(a, p, y);
|
|
2653
2653
|
}
|
|
2654
2654
|
return a;
|
|
2655
2655
|
};
|
|
2656
|
-
function
|
|
2656
|
+
function ro({
|
|
2657
2657
|
block: e,
|
|
2658
2658
|
context: t,
|
|
2659
|
-
shouldEvaluateBindings:
|
|
2660
|
-
localState:
|
|
2659
|
+
shouldEvaluateBindings: r,
|
|
2660
|
+
localState: n,
|
|
2661
2661
|
rootState: o,
|
|
2662
2662
|
rootSetState: s
|
|
2663
2663
|
}) {
|
|
2664
2664
|
const a = e;
|
|
2665
|
-
return
|
|
2665
|
+
return r ? to({
|
|
2666
2666
|
block: a,
|
|
2667
|
-
localState:
|
|
2667
|
+
localState: n,
|
|
2668
2668
|
rootState: o,
|
|
2669
2669
|
rootSetState: s,
|
|
2670
2670
|
context: t
|
|
2671
2671
|
}) : a;
|
|
2672
2672
|
}
|
|
2673
|
-
const
|
|
2674
|
-
function
|
|
2675
|
-
let
|
|
2673
|
+
const at = (e) => e ? e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase() : "";
|
|
2674
|
+
function no(e, t, r = {}) {
|
|
2675
|
+
let n, o, s, a = null, p = 0;
|
|
2676
2676
|
const g = function() {
|
|
2677
|
-
|
|
2677
|
+
p = r.leading === !1 ? 0 : Date.now(), a = null, s = e.apply(n, o), a || (n = o = null);
|
|
2678
2678
|
};
|
|
2679
2679
|
return function() {
|
|
2680
|
-
const
|
|
2681
|
-
!
|
|
2682
|
-
const C = t - (
|
|
2683
|
-
return
|
|
2680
|
+
const y = Date.now();
|
|
2681
|
+
!p && r.leading === !1 && (p = y);
|
|
2682
|
+
const C = t - (y - p);
|
|
2683
|
+
return n = this, o = arguments, C <= 0 || C > t ? (a && (clearTimeout(a), a = null), p = y, s = e.apply(n, o), a || (n = o = null)) : !a && r.trailing !== !1 && (a = setTimeout(g, C)), s;
|
|
2684
2684
|
};
|
|
2685
2685
|
}
|
|
2686
2686
|
function Ge(e, ...t) {
|
|
2687
|
-
const
|
|
2688
|
-
for (let
|
|
2689
|
-
const o = arguments[
|
|
2687
|
+
const r = Object(e);
|
|
2688
|
+
for (let n = 1; n < arguments.length; n++) {
|
|
2689
|
+
const o = arguments[n];
|
|
2690
2690
|
if (o != null)
|
|
2691
2691
|
for (const s in o)
|
|
2692
|
-
Object.prototype.hasOwnProperty.call(o, s) && (
|
|
2692
|
+
Object.prototype.hasOwnProperty.call(o, s) && (r[s] = o[s]);
|
|
2693
2693
|
}
|
|
2694
|
-
return
|
|
2694
|
+
return r;
|
|
2695
2695
|
}
|
|
2696
|
-
function
|
|
2696
|
+
function oo(e) {
|
|
2697
2697
|
for (const t of e)
|
|
2698
2698
|
switch (t.trigger) {
|
|
2699
2699
|
case "pageLoad":
|
|
2700
|
-
|
|
2700
|
+
so(t);
|
|
2701
2701
|
break;
|
|
2702
2702
|
case "scrollInView":
|
|
2703
|
-
|
|
2703
|
+
ao(t);
|
|
2704
2704
|
break;
|
|
2705
2705
|
}
|
|
2706
2706
|
}
|
|
@@ -2708,97 +2708,97 @@ function en(e) {
|
|
|
2708
2708
|
console.warn(`Cannot animate element: element with ID ${e} not found!`);
|
|
2709
2709
|
}
|
|
2710
2710
|
function tn(e, t) {
|
|
2711
|
-
const
|
|
2712
|
-
for (const
|
|
2713
|
-
for (const g of
|
|
2714
|
-
g in
|
|
2711
|
+
const r = io(e), n = getComputedStyle(t), o = e.steps[0].styles, s = e.steps[e.steps.length - 1].styles, a = [o, s];
|
|
2712
|
+
for (const p of a)
|
|
2713
|
+
for (const g of r)
|
|
2714
|
+
g in p || (p[g] = n[g]);
|
|
2715
2715
|
}
|
|
2716
|
-
function
|
|
2716
|
+
function io(e) {
|
|
2717
2717
|
const t = [];
|
|
2718
|
-
for (const
|
|
2719
|
-
for (const
|
|
2720
|
-
t.indexOf(
|
|
2718
|
+
for (const r of e.steps)
|
|
2719
|
+
for (const n in r.styles)
|
|
2720
|
+
t.indexOf(n) === -1 && t.push(n);
|
|
2721
2721
|
return t;
|
|
2722
2722
|
}
|
|
2723
|
-
function
|
|
2723
|
+
function so(e) {
|
|
2724
2724
|
const t = Array.prototype.slice.call(document.getElementsByClassName(e.elementId || e.id || ""));
|
|
2725
2725
|
if (!t.length) {
|
|
2726
2726
|
en(e.elementId || e.id || "");
|
|
2727
2727
|
return;
|
|
2728
2728
|
}
|
|
2729
|
-
Array.from(t).forEach((
|
|
2730
|
-
tn(e,
|
|
2731
|
-
|
|
2732
|
-
|
|
2729
|
+
Array.from(t).forEach((r) => {
|
|
2730
|
+
tn(e, r), r.style.transition = "none", r.style.transitionDelay = "0", Ge(r.style, e.steps[0].styles), setTimeout(() => {
|
|
2731
|
+
r.style.transition = `all ${e.duration}s ${at(e.easing)}`, e.delay && (r.style.transitionDelay = e.delay + "s"), Ge(r.style, e.steps[1].styles), setTimeout(() => {
|
|
2732
|
+
r.style.transition = "", r.style.transitionDelay = "";
|
|
2733
2733
|
}, (e.delay || 0) * 1e3 + e.duration * 1e3 + 100);
|
|
2734
2734
|
});
|
|
2735
2735
|
});
|
|
2736
2736
|
}
|
|
2737
|
-
function
|
|
2737
|
+
function ao(e) {
|
|
2738
2738
|
const t = Array.prototype.slice.call(document.getElementsByClassName(e.elementId || e.id || ""));
|
|
2739
2739
|
if (!t.length) {
|
|
2740
2740
|
en(e.elementId || e.id || "");
|
|
2741
2741
|
return;
|
|
2742
2742
|
}
|
|
2743
|
-
Array.from(t).forEach((
|
|
2744
|
-
tn(e,
|
|
2745
|
-
let
|
|
2743
|
+
Array.from(t).forEach((r) => {
|
|
2744
|
+
tn(e, r);
|
|
2745
|
+
let n = !1, o = !1;
|
|
2746
2746
|
function s() {
|
|
2747
|
-
!
|
|
2748
|
-
Ge(
|
|
2749
|
-
o = !1, e.repeat || (
|
|
2747
|
+
!n && p(r) ? (n = !0, o = !0, setTimeout(() => {
|
|
2748
|
+
Ge(r.style, e.steps[1].styles), e.repeat || document.removeEventListener("scroll", a), setTimeout(() => {
|
|
2749
|
+
o = !1, e.repeat || (r.style.transition = "", r.style.transitionDelay = "");
|
|
2750
2750
|
}, (e.duration + (e.delay || 0)) * 1e3 + 100);
|
|
2751
|
-
})) : e.repeat &&
|
|
2751
|
+
})) : e.repeat && n && !o && !p(r) && (n = !1, Ge(r.style, e.steps[0].styles));
|
|
2752
2752
|
}
|
|
2753
|
-
const a =
|
|
2753
|
+
const a = no(s, 200, {
|
|
2754
2754
|
leading: !1
|
|
2755
2755
|
});
|
|
2756
|
-
function
|
|
2757
|
-
const
|
|
2758
|
-
return
|
|
2756
|
+
function p(C) {
|
|
2757
|
+
const I = C.getBoundingClientRect(), J = window.innerHeight, O = (e.thresholdPercent || 0) / 100 * J;
|
|
2758
|
+
return I.bottom > O && I.top < J - O;
|
|
2759
2759
|
}
|
|
2760
2760
|
const g = e.steps[0].styles;
|
|
2761
|
-
function
|
|
2762
|
-
Ge(
|
|
2761
|
+
function y() {
|
|
2762
|
+
Ge(r.style, g);
|
|
2763
2763
|
}
|
|
2764
|
-
|
|
2765
|
-
|
|
2764
|
+
y(), setTimeout(() => {
|
|
2765
|
+
r.style.transition = `all ${e.duration}s ${at(e.easing)}`, e.delay && (r.style.transitionDelay = e.delay + "s");
|
|
2766
2766
|
}), document.addEventListener("scroll", a, {
|
|
2767
2767
|
capture: !0,
|
|
2768
2768
|
passive: !0
|
|
2769
2769
|
}), s();
|
|
2770
2770
|
});
|
|
2771
2771
|
}
|
|
2772
|
-
const rn = (e) => Object.entries(e).map(([
|
|
2773
|
-
if (typeof
|
|
2774
|
-
return `${
|
|
2775
|
-
}).filter(ot),
|
|
2772
|
+
const rn = (e) => Object.entries(e).map(([r, n]) => {
|
|
2773
|
+
if (typeof n == "string")
|
|
2774
|
+
return `${at(r)}: ${n};`;
|
|
2775
|
+
}).filter(ot), lo = (e) => rn(e).join(`
|
|
2776
2776
|
`), nt = ({
|
|
2777
2777
|
mediaQuery: e,
|
|
2778
2778
|
className: t,
|
|
2779
|
-
styles:
|
|
2779
|
+
styles: r
|
|
2780
2780
|
}) => {
|
|
2781
|
-
const
|
|
2782
|
-
${
|
|
2781
|
+
const n = `.${t} {
|
|
2782
|
+
${lo(r)}
|
|
2783
2783
|
}`;
|
|
2784
2784
|
return e ? `${e} {
|
|
2785
|
-
${
|
|
2786
|
-
}` :
|
|
2785
|
+
${n}
|
|
2786
|
+
}` : n;
|
|
2787
2787
|
};
|
|
2788
|
-
function
|
|
2788
|
+
function uo({
|
|
2789
2789
|
style: e
|
|
2790
2790
|
}) {
|
|
2791
2791
|
return e;
|
|
2792
2792
|
}
|
|
2793
|
-
const
|
|
2793
|
+
const co = ({
|
|
2794
2794
|
block: e,
|
|
2795
2795
|
context: t
|
|
2796
|
-
}) =>
|
|
2796
|
+
}) => fo(uo({
|
|
2797
2797
|
style: e.style || {},
|
|
2798
2798
|
context: t,
|
|
2799
2799
|
block: e
|
|
2800
2800
|
}));
|
|
2801
|
-
function
|
|
2801
|
+
function fo(e) {
|
|
2802
2802
|
switch (Xr) {
|
|
2803
2803
|
case "svelte":
|
|
2804
2804
|
case "vue":
|
|
@@ -2812,40 +2812,32 @@ function co(e) {
|
|
|
2812
2812
|
return e;
|
|
2813
2813
|
}
|
|
2814
2814
|
}
|
|
2815
|
-
const
|
|
2815
|
+
const po = ({
|
|
2816
2816
|
block: e,
|
|
2817
|
-
|
|
2818
|
-
registeredComponents: n
|
|
2817
|
+
registeredComponents: t
|
|
2819
2818
|
}) => {
|
|
2820
|
-
var
|
|
2821
|
-
const r = (
|
|
2822
|
-
block: e,
|
|
2823
|
-
localState: t.localState,
|
|
2824
|
-
rootState: t.rootState,
|
|
2825
|
-
rootSetState: t.rootSetState,
|
|
2826
|
-
context: t.context,
|
|
2827
|
-
shouldEvaluateBindings: !1
|
|
2828
|
-
}).component) == null ? void 0 : s.name;
|
|
2819
|
+
var o;
|
|
2820
|
+
const r = (o = e.component) == null ? void 0 : o.name;
|
|
2829
2821
|
if (!r)
|
|
2830
2822
|
return null;
|
|
2831
|
-
const
|
|
2832
|
-
if (
|
|
2833
|
-
return
|
|
2823
|
+
const n = t[r];
|
|
2824
|
+
if (n)
|
|
2825
|
+
return n;
|
|
2834
2826
|
console.warn(`
|
|
2835
2827
|
Could not find a registered component named "${r}".
|
|
2836
2828
|
If you registered it, is the file that registered it imported by the file that needs to render it?`);
|
|
2837
|
-
},
|
|
2829
|
+
}, ho = ({
|
|
2838
2830
|
block: e,
|
|
2839
2831
|
context: t
|
|
2840
2832
|
}) => {
|
|
2841
2833
|
const {
|
|
2842
|
-
repeat:
|
|
2843
|
-
...
|
|
2834
|
+
repeat: r,
|
|
2835
|
+
...n
|
|
2844
2836
|
} = e;
|
|
2845
|
-
if (!(
|
|
2837
|
+
if (!(r != null && r.collection))
|
|
2846
2838
|
return;
|
|
2847
2839
|
const o = qt({
|
|
2848
|
-
code:
|
|
2840
|
+
code: r.collection,
|
|
2849
2841
|
localState: t.localState,
|
|
2850
2842
|
rootState: t.rootState,
|
|
2851
2843
|
rootSetState: t.rootSetState,
|
|
@@ -2854,38 +2846,38 @@ const fo = ({
|
|
|
2854
2846
|
});
|
|
2855
2847
|
if (!Array.isArray(o))
|
|
2856
2848
|
return;
|
|
2857
|
-
const s =
|
|
2858
|
-
return o.map((g,
|
|
2849
|
+
const s = r.collection.split(".").pop(), a = r.itemName || (s ? s + "Item" : "item");
|
|
2850
|
+
return o.map((g, y) => ({
|
|
2859
2851
|
context: {
|
|
2860
2852
|
...t,
|
|
2861
2853
|
localState: {
|
|
2862
2854
|
...t.localState,
|
|
2863
|
-
$index:
|
|
2855
|
+
$index: y,
|
|
2864
2856
|
$item: g,
|
|
2865
2857
|
[a]: g,
|
|
2866
|
-
[`$${a}Index`]:
|
|
2858
|
+
[`$${a}Index`]: y
|
|
2867
2859
|
}
|
|
2868
2860
|
},
|
|
2869
|
-
block:
|
|
2861
|
+
block: n
|
|
2870
2862
|
}));
|
|
2871
|
-
},
|
|
2872
|
-
var
|
|
2873
|
-
return (
|
|
2863
|
+
}, go = (e, t) => {
|
|
2864
|
+
var r;
|
|
2865
|
+
return (r = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && r.builderLinkComponent ? {
|
|
2874
2866
|
builderLinkComponent: t
|
|
2875
2867
|
} : {};
|
|
2876
|
-
},
|
|
2877
|
-
var
|
|
2878
|
-
return (
|
|
2868
|
+
}, yo = (e, t) => {
|
|
2869
|
+
var r;
|
|
2870
|
+
return (r = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && r.builderComponents ? {
|
|
2879
2871
|
builderComponents: t
|
|
2880
2872
|
} : {};
|
|
2881
|
-
},
|
|
2882
|
-
var
|
|
2883
|
-
return (
|
|
2873
|
+
}, vo = (e, t) => {
|
|
2874
|
+
var r;
|
|
2875
|
+
return (r = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && r.builderBlock ? {
|
|
2884
2876
|
builderBlock: t
|
|
2885
2877
|
} : {};
|
|
2886
|
-
},
|
|
2887
|
-
var
|
|
2888
|
-
return (
|
|
2878
|
+
}, mo = (e, t) => {
|
|
2879
|
+
var r;
|
|
2880
|
+
return (r = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && r.builderContext ? {
|
|
2889
2881
|
builderContext: t
|
|
2890
2882
|
} : {};
|
|
2891
2883
|
}, nn = {
|
|
@@ -2904,35 +2896,35 @@ const fo = ({
|
|
|
2904
2896
|
default: 991,
|
|
2905
2897
|
max: 1200
|
|
2906
2898
|
}
|
|
2907
|
-
},
|
|
2899
|
+
}, Wr = (e, t = nn) => `@media (max-width: ${t[e].max}px)`, wo = ({
|
|
2908
2900
|
small: e,
|
|
2909
2901
|
medium: t
|
|
2910
2902
|
}) => {
|
|
2911
|
-
const
|
|
2903
|
+
const r = Vr(nn);
|
|
2912
2904
|
if (!e || !t)
|
|
2913
|
-
return
|
|
2914
|
-
const
|
|
2915
|
-
|
|
2905
|
+
return r;
|
|
2906
|
+
const n = Math.floor(e / 2);
|
|
2907
|
+
r.small = {
|
|
2916
2908
|
max: e,
|
|
2917
|
-
min:
|
|
2918
|
-
default:
|
|
2909
|
+
min: n,
|
|
2910
|
+
default: n + 1
|
|
2919
2911
|
};
|
|
2920
|
-
const o =
|
|
2921
|
-
|
|
2912
|
+
const o = r.small.max + 1;
|
|
2913
|
+
r.medium = {
|
|
2922
2914
|
max: t,
|
|
2923
2915
|
min: o,
|
|
2924
2916
|
default: o + 1
|
|
2925
2917
|
};
|
|
2926
|
-
const s =
|
|
2927
|
-
return
|
|
2918
|
+
const s = r.medium.max + 1;
|
|
2919
|
+
return r.large = {
|
|
2928
2920
|
max: 2e3,
|
|
2929
2921
|
// TODO: decide upper limit
|
|
2930
2922
|
min: s,
|
|
2931
2923
|
default: s + 1
|
|
2932
|
-
},
|
|
2924
|
+
}, r;
|
|
2933
2925
|
};
|
|
2934
|
-
function
|
|
2935
|
-
return /* @__PURE__ */
|
|
2926
|
+
function xo(e) {
|
|
2927
|
+
return /* @__PURE__ */ P(
|
|
2936
2928
|
"style",
|
|
2937
2929
|
{
|
|
2938
2930
|
dangerouslySetInnerHTML: { __html: e.styles },
|
|
@@ -2941,101 +2933,87 @@ function wo(e) {
|
|
|
2941
2933
|
}
|
|
2942
2934
|
);
|
|
2943
2935
|
}
|
|
2944
|
-
function
|
|
2936
|
+
function So(e) {
|
|
2945
2937
|
function t() {
|
|
2946
|
-
const
|
|
2947
|
-
|
|
2948
|
-
localState: e.context.localState,
|
|
2949
|
-
rootState: e.context.rootState,
|
|
2950
|
-
rootSetState: e.context.rootSetState,
|
|
2951
|
-
context: e.context.context,
|
|
2952
|
-
shouldEvaluateBindings: !0
|
|
2953
|
-
});
|
|
2954
|
-
return ot(r.hide) ? !r.hide : ot(r.show) ? r.show : !0;
|
|
2938
|
+
const n = e.block;
|
|
2939
|
+
return ot(n.hide) ? !n.hide : ot(n.show) ? n.show : !0;
|
|
2955
2940
|
}
|
|
2956
|
-
function
|
|
2957
|
-
var
|
|
2958
|
-
const
|
|
2959
|
-
|
|
2960
|
-
|
|
2961
|
-
rootState: e.context.rootState,
|
|
2962
|
-
rootSetState: e.context.rootSetState,
|
|
2963
|
-
context: e.context.context,
|
|
2964
|
-
shouldEvaluateBindings: !0
|
|
2965
|
-
}), o = r.responsiveStyles, s = e.context.content, a = mo(
|
|
2966
|
-
(($ = s == null ? void 0 : s.meta) == null ? void 0 : $.breakpoints) || {}
|
|
2967
|
-
), f = o == null ? void 0 : o.large, g = o == null ? void 0 : o.medium, O = o == null ? void 0 : o.small, C = r.id;
|
|
2941
|
+
function r() {
|
|
2942
|
+
var R, H, k;
|
|
2943
|
+
const n = e.block, o = n.responsiveStyles, s = e.context.content, a = wo(
|
|
2944
|
+
((R = s == null ? void 0 : s.meta) == null ? void 0 : R.breakpoints) || {}
|
|
2945
|
+
), p = o == null ? void 0 : o.large, g = o == null ? void 0 : o.medium, y = o == null ? void 0 : o.small, C = n.id;
|
|
2968
2946
|
if (!C)
|
|
2969
2947
|
return "";
|
|
2970
|
-
const
|
|
2948
|
+
const I = p ? nt({
|
|
2971
2949
|
className: C,
|
|
2972
|
-
styles:
|
|
2973
|
-
}) : "",
|
|
2950
|
+
styles: p
|
|
2951
|
+
}) : "", J = g ? nt({
|
|
2974
2952
|
className: C,
|
|
2975
2953
|
styles: g,
|
|
2976
|
-
mediaQuery:
|
|
2954
|
+
mediaQuery: Wr(
|
|
2977
2955
|
"medium",
|
|
2978
2956
|
a
|
|
2979
2957
|
)
|
|
2980
|
-
}) : "",
|
|
2958
|
+
}) : "", b = y ? nt({
|
|
2981
2959
|
className: C,
|
|
2982
|
-
styles:
|
|
2983
|
-
mediaQuery:
|
|
2960
|
+
styles: y,
|
|
2961
|
+
mediaQuery: Wr(
|
|
2984
2962
|
"small",
|
|
2985
2963
|
a
|
|
2986
2964
|
)
|
|
2987
|
-
}) : "",
|
|
2988
|
-
let
|
|
2989
|
-
if (
|
|
2990
|
-
const
|
|
2991
|
-
|
|
2965
|
+
}) : "", O = n.animations && n.animations.find((q) => q.trigger === "hover");
|
|
2966
|
+
let D = "";
|
|
2967
|
+
if (O) {
|
|
2968
|
+
const q = ((k = (H = O.steps) == null ? void 0 : H[1]) == null ? void 0 : k.styles) || {};
|
|
2969
|
+
D = nt({
|
|
2992
2970
|
className: `${C}:hover`,
|
|
2993
2971
|
styles: {
|
|
2994
|
-
...
|
|
2995
|
-
transition: `all ${
|
|
2996
|
-
|
|
2972
|
+
...q,
|
|
2973
|
+
transition: `all ${O.duration}s ${at(
|
|
2974
|
+
O.easing
|
|
2997
2975
|
)}`,
|
|
2998
|
-
transitionDelay:
|
|
2976
|
+
transitionDelay: O.delay ? `${O.delay}s` : "0s"
|
|
2999
2977
|
}
|
|
3000
2978
|
}) || "";
|
|
3001
2979
|
}
|
|
3002
2980
|
return [
|
|
3003
|
-
|
|
3004
|
-
|
|
3005
|
-
|
|
3006
|
-
|
|
2981
|
+
I,
|
|
2982
|
+
J,
|
|
2983
|
+
b,
|
|
2984
|
+
D
|
|
3007
2985
|
].join(" ");
|
|
3008
2986
|
}
|
|
3009
|
-
return /* @__PURE__ */
|
|
3010
|
-
|
|
2987
|
+
return /* @__PURE__ */ P(z, { children: r() && t() ? /* @__PURE__ */ P(z, { children: /* @__PURE__ */ P(
|
|
2988
|
+
xo,
|
|
3011
2989
|
{
|
|
3012
2990
|
id: "builderio-block",
|
|
3013
|
-
styles:
|
|
2991
|
+
styles: r(),
|
|
3014
2992
|
nonce: e.context.nonce
|
|
3015
2993
|
}
|
|
3016
2994
|
) }) : null });
|
|
3017
2995
|
}
|
|
3018
|
-
function
|
|
2996
|
+
function ko(e) {
|
|
3019
2997
|
return e.charAt(0).toUpperCase() + e.slice(1);
|
|
3020
2998
|
}
|
|
3021
|
-
const
|
|
2999
|
+
const Eo = (e) => `on${ko(e)}`, Co = (e, t) => (r) => qt({
|
|
3022
3000
|
code: e,
|
|
3023
3001
|
context: t.context,
|
|
3024
3002
|
localState: t.localState,
|
|
3025
3003
|
rootState: t.rootState,
|
|
3026
3004
|
rootSetState: t.rootSetState,
|
|
3027
|
-
event:
|
|
3005
|
+
event: r,
|
|
3028
3006
|
isExpression: !1,
|
|
3029
3007
|
enableCache: !0
|
|
3030
3008
|
});
|
|
3031
3009
|
function on(e) {
|
|
3032
|
-
var
|
|
3033
|
-
const t = {},
|
|
3034
|
-
for (const o in
|
|
3035
|
-
if (!
|
|
3010
|
+
var n;
|
|
3011
|
+
const t = {}, r = (n = e.block.actions) != null ? n : {};
|
|
3012
|
+
for (const o in r) {
|
|
3013
|
+
if (!r.hasOwnProperty(o))
|
|
3036
3014
|
continue;
|
|
3037
|
-
const s =
|
|
3038
|
-
let a =
|
|
3015
|
+
const s = r[o];
|
|
3016
|
+
let a = Eo(o);
|
|
3039
3017
|
if (e.stripPrefix)
|
|
3040
3018
|
switch (Xr) {
|
|
3041
3019
|
case "vue":
|
|
@@ -3045,41 +3023,41 @@ function on(e) {
|
|
|
3045
3023
|
a = a.replace("on:", "");
|
|
3046
3024
|
break;
|
|
3047
3025
|
}
|
|
3048
|
-
t[a] =
|
|
3026
|
+
t[a] = Co(s, e);
|
|
3049
3027
|
}
|
|
3050
3028
|
return t;
|
|
3051
3029
|
}
|
|
3052
|
-
function
|
|
3030
|
+
function jo({
|
|
3053
3031
|
properties: e
|
|
3054
3032
|
}) {
|
|
3055
3033
|
return e;
|
|
3056
3034
|
}
|
|
3057
|
-
const
|
|
3035
|
+
const Oo = (e) => ({
|
|
3058
3036
|
href: e.href
|
|
3059
3037
|
});
|
|
3060
3038
|
function er({
|
|
3061
3039
|
block: e,
|
|
3062
3040
|
context: t
|
|
3063
3041
|
}) {
|
|
3064
|
-
var
|
|
3065
|
-
const
|
|
3066
|
-
...
|
|
3042
|
+
var n;
|
|
3043
|
+
const r = {
|
|
3044
|
+
...Oo(e),
|
|
3067
3045
|
...e.properties,
|
|
3068
3046
|
"builder-id": e.id,
|
|
3069
|
-
style:
|
|
3047
|
+
style: co({
|
|
3070
3048
|
block: e,
|
|
3071
3049
|
context: t
|
|
3072
3050
|
}),
|
|
3073
|
-
[An()]: [e.id, "builder-block", e.class, (
|
|
3051
|
+
[An()]: [e.id, "builder-block", e.class, (n = e.properties) == null ? void 0 : n.class].filter(Boolean).join(" ")
|
|
3074
3052
|
};
|
|
3075
|
-
return
|
|
3076
|
-
properties:
|
|
3053
|
+
return jo({
|
|
3054
|
+
properties: r,
|
|
3077
3055
|
context: t,
|
|
3078
3056
|
block: e
|
|
3079
3057
|
});
|
|
3080
3058
|
}
|
|
3081
|
-
function
|
|
3082
|
-
return /* @__PURE__ */
|
|
3059
|
+
function Ao(e) {
|
|
3060
|
+
return /* @__PURE__ */ P(
|
|
3083
3061
|
In,
|
|
3084
3062
|
{
|
|
3085
3063
|
TagName: e.Wrapper,
|
|
@@ -3099,7 +3077,7 @@ function Oo(e) {
|
|
|
3099
3077
|
}
|
|
3100
3078
|
);
|
|
3101
3079
|
}
|
|
3102
|
-
function
|
|
3080
|
+
function Io(e) {
|
|
3103
3081
|
function t() {
|
|
3104
3082
|
return e.includeBlockProps ? {
|
|
3105
3083
|
...er({
|
|
@@ -3115,18 +3093,18 @@ function Ao(e) {
|
|
|
3115
3093
|
})
|
|
3116
3094
|
} : {};
|
|
3117
3095
|
}
|
|
3118
|
-
return /* @__PURE__ */
|
|
3096
|
+
return /* @__PURE__ */ P(e.Wrapper, { ...e.wrapperProps, attributes: t(), children: e.children });
|
|
3119
3097
|
}
|
|
3120
|
-
const
|
|
3098
|
+
const bo = ({
|
|
3121
3099
|
componentOptions: e,
|
|
3122
3100
|
builderBlock: t,
|
|
3123
|
-
context:
|
|
3124
|
-
componentRef:
|
|
3101
|
+
context: r,
|
|
3102
|
+
componentRef: n,
|
|
3125
3103
|
includeBlockProps: o,
|
|
3126
3104
|
isInteractive: s,
|
|
3127
3105
|
contextValue: a
|
|
3128
3106
|
}) => {
|
|
3129
|
-
const
|
|
3107
|
+
const p = {
|
|
3130
3108
|
...e,
|
|
3131
3109
|
/**
|
|
3132
3110
|
* If `noWrap` is set to `true`, then the block's props/attributes are provided to the
|
|
@@ -3140,22 +3118,22 @@ const Io = ({
|
|
|
3140
3118
|
} : {}
|
|
3141
3119
|
};
|
|
3142
3120
|
return s ? {
|
|
3143
|
-
Wrapper:
|
|
3121
|
+
Wrapper: n,
|
|
3144
3122
|
block: t,
|
|
3145
|
-
context:
|
|
3123
|
+
context: r,
|
|
3146
3124
|
wrapperProps: e,
|
|
3147
3125
|
includeBlockProps: o
|
|
3148
|
-
} :
|
|
3126
|
+
} : p;
|
|
3149
3127
|
};
|
|
3150
|
-
function
|
|
3151
|
-
var
|
|
3152
|
-
const [t,
|
|
3153
|
-
() => e.isInteractive ?
|
|
3128
|
+
function $r(e) {
|
|
3129
|
+
var n;
|
|
3130
|
+
const [t, r] = _t(
|
|
3131
|
+
() => e.isInteractive ? Io : e.componentRef
|
|
3154
3132
|
);
|
|
3155
|
-
return /* @__PURE__ */
|
|
3133
|
+
return /* @__PURE__ */ P(z, { children: e.componentRef ? /* @__PURE__ */ P(z, { children: /* @__PURE__ */ P(
|
|
3156
3134
|
t,
|
|
3157
3135
|
{
|
|
3158
|
-
...
|
|
3136
|
+
...bo({
|
|
3159
3137
|
componentOptions: e.componentOptions,
|
|
3160
3138
|
builderBlock: e.builderBlock,
|
|
3161
3139
|
context: e.context,
|
|
@@ -3165,8 +3143,8 @@ function Wr(e) {
|
|
|
3165
3143
|
isInteractive: e.isInteractive,
|
|
3166
3144
|
contextValue: e.context
|
|
3167
3145
|
}),
|
|
3168
|
-
children: (
|
|
3169
|
-
|
|
3146
|
+
children: (n = e.blockChildren) == null ? void 0 : n.map((o) => /* @__PURE__ */ P(
|
|
3147
|
+
lt,
|
|
3170
3148
|
{
|
|
3171
3149
|
block: o,
|
|
3172
3150
|
context: e.context,
|
|
@@ -3178,10 +3156,10 @@ function Wr(e) {
|
|
|
3178
3156
|
}
|
|
3179
3157
|
) }) : null });
|
|
3180
3158
|
}
|
|
3181
|
-
function
|
|
3182
|
-
const [t,
|
|
3183
|
-
return /* @__PURE__ */
|
|
3184
|
-
|
|
3159
|
+
function To(e) {
|
|
3160
|
+
const [t, r] = _t(() => e.repeatContext);
|
|
3161
|
+
return /* @__PURE__ */ P(Gr.Provider, { value: t, children: /* @__PURE__ */ P(
|
|
3162
|
+
lt,
|
|
3185
3163
|
{
|
|
3186
3164
|
block: e.block,
|
|
3187
3165
|
context: t,
|
|
@@ -3190,24 +3168,30 @@ function bo(e) {
|
|
|
3190
3168
|
}
|
|
3191
3169
|
) });
|
|
3192
3170
|
}
|
|
3193
|
-
function
|
|
3194
|
-
var
|
|
3171
|
+
function lt(e) {
|
|
3172
|
+
var C, I, J;
|
|
3195
3173
|
function t() {
|
|
3196
|
-
return
|
|
3197
|
-
block:
|
|
3174
|
+
return po({
|
|
3175
|
+
block: s(),
|
|
3198
3176
|
context: e.context,
|
|
3199
3177
|
registeredComponents: e.registeredComponents
|
|
3200
3178
|
});
|
|
3201
3179
|
}
|
|
3202
|
-
function
|
|
3203
|
-
return
|
|
3180
|
+
function r() {
|
|
3181
|
+
return ho({
|
|
3204
3182
|
block: e.block,
|
|
3205
3183
|
context: e.context
|
|
3206
3184
|
});
|
|
3207
3185
|
}
|
|
3208
|
-
|
|
3209
|
-
|
|
3210
|
-
|
|
3186
|
+
const [n, o] = _t(() => ({
|
|
3187
|
+
value: null,
|
|
3188
|
+
update: !1
|
|
3189
|
+
}));
|
|
3190
|
+
function s() {
|
|
3191
|
+
var O;
|
|
3192
|
+
if (n.value && !n.update && !On())
|
|
3193
|
+
return n.value;
|
|
3194
|
+
const b = (O = e.block.repeat) != null && O.collection ? e.block : ro({
|
|
3211
3195
|
block: e.block,
|
|
3212
3196
|
localState: e.context.localState,
|
|
3213
3197
|
rootState: e.context.rootState,
|
|
@@ -3215,33 +3199,34 @@ function ut(e) {
|
|
|
3215
3199
|
context: e.context.context,
|
|
3216
3200
|
shouldEvaluateBindings: !0
|
|
3217
3201
|
});
|
|
3202
|
+
return n.value = b, n.update = !1, b;
|
|
3218
3203
|
}
|
|
3219
|
-
function
|
|
3220
|
-
var
|
|
3221
|
-
return e.block.tagName === "a" || ((
|
|
3204
|
+
function a() {
|
|
3205
|
+
var O;
|
|
3206
|
+
return e.block.tagName === "a" || ((O = s().properties) == null ? void 0 : O.href) || s().href ? e.linkComponent || "a" : e.block.tagName || "div";
|
|
3222
3207
|
}
|
|
3223
|
-
function
|
|
3224
|
-
var
|
|
3225
|
-
if ((
|
|
3226
|
-
return !!((
|
|
3227
|
-
const
|
|
3228
|
-
return ("show" in
|
|
3208
|
+
function p() {
|
|
3209
|
+
var D, R;
|
|
3210
|
+
if ((D = e.block.repeat) != null && D.collection)
|
|
3211
|
+
return !!((R = r == null ? void 0 : r()) != null && R.length);
|
|
3212
|
+
const b = "hide" in s() ? s().hide : !1;
|
|
3213
|
+
return ("show" in s() ? s().show : !0) && !b;
|
|
3229
3214
|
}
|
|
3230
|
-
function
|
|
3231
|
-
var
|
|
3232
|
-
return !((
|
|
3215
|
+
function g() {
|
|
3216
|
+
var O, D;
|
|
3217
|
+
return !((O = t == null ? void 0 : t()) != null && O.component) && !r() ? (D = s().children) != null ? D : [] : [];
|
|
3233
3218
|
}
|
|
3234
|
-
function
|
|
3235
|
-
var
|
|
3219
|
+
function y() {
|
|
3220
|
+
var b, O, D, R;
|
|
3236
3221
|
return {
|
|
3237
|
-
blockChildren: (
|
|
3238
|
-
componentRef: (
|
|
3222
|
+
blockChildren: (b = s().children) != null ? b : [],
|
|
3223
|
+
componentRef: (O = t == null ? void 0 : t()) == null ? void 0 : O.component,
|
|
3239
3224
|
componentOptions: {
|
|
3240
|
-
...Nn(
|
|
3241
|
-
...
|
|
3242
|
-
...
|
|
3243
|
-
...
|
|
3244
|
-
...
|
|
3225
|
+
...Nn(s()),
|
|
3226
|
+
...vo(t(), s()),
|
|
3227
|
+
...mo(t(), e.context),
|
|
3228
|
+
...go(t(), e.linkComponent),
|
|
3229
|
+
...yo(
|
|
3245
3230
|
t(),
|
|
3246
3231
|
e.registeredComponents
|
|
3247
3232
|
)
|
|
@@ -3249,87 +3234,89 @@ function ut(e) {
|
|
|
3249
3234
|
context: e.context,
|
|
3250
3235
|
linkComponent: e.linkComponent,
|
|
3251
3236
|
registeredComponents: e.registeredComponents,
|
|
3252
|
-
builderBlock:
|
|
3253
|
-
includeBlockProps: ((
|
|
3254
|
-
isInteractive: !((
|
|
3237
|
+
builderBlock: s(),
|
|
3238
|
+
includeBlockProps: ((D = t == null ? void 0 : t()) == null ? void 0 : D.noWrap) === !0,
|
|
3239
|
+
isInteractive: !((R = t == null ? void 0 : t()) != null && R.isRSC)
|
|
3255
3240
|
};
|
|
3256
3241
|
}
|
|
3257
|
-
return
|
|
3258
|
-
const
|
|
3259
|
-
|
|
3260
|
-
|
|
3261
|
-
...
|
|
3262
|
-
elementId:
|
|
3242
|
+
return Rr(() => {
|
|
3243
|
+
const b = s().id, O = s().animations;
|
|
3244
|
+
O && b && oo(
|
|
3245
|
+
O.map((D) => ({
|
|
3246
|
+
...D,
|
|
3247
|
+
elementId: b
|
|
3263
3248
|
}))
|
|
3264
3249
|
);
|
|
3265
|
-
}, []),
|
|
3266
|
-
|
|
3267
|
-
|
|
3268
|
-
|
|
3250
|
+
}, []), Rr(() => {
|
|
3251
|
+
n.update = !0;
|
|
3252
|
+
}), /* @__PURE__ */ P(z, { children: p() ? /* @__PURE__ */ Mt(z, { children: [
|
|
3253
|
+
/* @__PURE__ */ P(So, { block: s(), context: e.context }),
|
|
3254
|
+
(C = t == null ? void 0 : t()) != null && C.noWrap ? /* @__PURE__ */ P(z, { children: /* @__PURE__ */ P(
|
|
3255
|
+
$r,
|
|
3269
3256
|
{
|
|
3270
|
-
componentRef:
|
|
3271
|
-
componentOptions:
|
|
3272
|
-
blockChildren:
|
|
3273
|
-
context:
|
|
3274
|
-
registeredComponents:
|
|
3275
|
-
linkComponent:
|
|
3276
|
-
builderBlock:
|
|
3277
|
-
includeBlockProps:
|
|
3278
|
-
isInteractive:
|
|
3257
|
+
componentRef: y().componentRef,
|
|
3258
|
+
componentOptions: y().componentOptions,
|
|
3259
|
+
blockChildren: y().blockChildren,
|
|
3260
|
+
context: y().context,
|
|
3261
|
+
registeredComponents: y().registeredComponents,
|
|
3262
|
+
linkComponent: y().linkComponent,
|
|
3263
|
+
builderBlock: y().builderBlock,
|
|
3264
|
+
includeBlockProps: y().includeBlockProps,
|
|
3265
|
+
isInteractive: y().isInteractive
|
|
3279
3266
|
}
|
|
3280
|
-
) }) : /* @__PURE__ */
|
|
3281
|
-
|
|
3267
|
+
) }) : /* @__PURE__ */ P(z, { children: r() ? /* @__PURE__ */ P(z, { children: (J = r()) == null ? void 0 : J.map((b, O) => /* @__PURE__ */ P(
|
|
3268
|
+
To,
|
|
3282
3269
|
{
|
|
3283
|
-
repeatContext:
|
|
3284
|
-
block:
|
|
3270
|
+
repeatContext: b.context,
|
|
3271
|
+
block: b.block,
|
|
3285
3272
|
registeredComponents: e.registeredComponents,
|
|
3286
3273
|
linkComponent: e.linkComponent
|
|
3287
3274
|
},
|
|
3288
|
-
|
|
3275
|
+
O
|
|
3289
3276
|
)) }) : /* @__PURE__ */ Mt(
|
|
3290
|
-
|
|
3277
|
+
Ao,
|
|
3291
3278
|
{
|
|
3292
|
-
Wrapper:
|
|
3293
|
-
block:
|
|
3279
|
+
Wrapper: a(),
|
|
3280
|
+
block: s(),
|
|
3294
3281
|
context: e.context,
|
|
3295
3282
|
children: [
|
|
3296
|
-
/* @__PURE__ */
|
|
3297
|
-
|
|
3283
|
+
/* @__PURE__ */ P(
|
|
3284
|
+
$r,
|
|
3298
3285
|
{
|
|
3299
|
-
componentRef:
|
|
3300
|
-
componentOptions:
|
|
3301
|
-
blockChildren:
|
|
3302
|
-
context:
|
|
3303
|
-
registeredComponents:
|
|
3304
|
-
linkComponent:
|
|
3305
|
-
builderBlock:
|
|
3306
|
-
includeBlockProps:
|
|
3307
|
-
isInteractive:
|
|
3286
|
+
componentRef: y().componentRef,
|
|
3287
|
+
componentOptions: y().componentOptions,
|
|
3288
|
+
blockChildren: y().blockChildren,
|
|
3289
|
+
context: y().context,
|
|
3290
|
+
registeredComponents: y().registeredComponents,
|
|
3291
|
+
linkComponent: y().linkComponent,
|
|
3292
|
+
builderBlock: y().builderBlock,
|
|
3293
|
+
includeBlockProps: y().includeBlockProps,
|
|
3294
|
+
isInteractive: y().isInteractive
|
|
3308
3295
|
}
|
|
3309
3296
|
),
|
|
3310
|
-
(
|
|
3311
|
-
|
|
3297
|
+
(I = g()) == null ? void 0 : I.map((b) => /* @__PURE__ */ P(
|
|
3298
|
+
lt,
|
|
3312
3299
|
{
|
|
3313
|
-
block:
|
|
3300
|
+
block: b,
|
|
3314
3301
|
registeredComponents: e.registeredComponents,
|
|
3315
3302
|
linkComponent: e.linkComponent,
|
|
3316
3303
|
context: e.context
|
|
3317
3304
|
},
|
|
3318
|
-
|
|
3305
|
+
b.id
|
|
3319
3306
|
))
|
|
3320
3307
|
]
|
|
3321
3308
|
}
|
|
3322
3309
|
) })
|
|
3323
3310
|
] }) : null });
|
|
3324
3311
|
}
|
|
3325
|
-
function
|
|
3312
|
+
function Po(e) {
|
|
3326
3313
|
function t() {
|
|
3327
3314
|
var o;
|
|
3328
3315
|
return "builder-blocks" + ((o = e.blocks) != null && o.length ? "" : " no-blocks");
|
|
3329
3316
|
}
|
|
3330
|
-
function
|
|
3317
|
+
function r() {
|
|
3331
3318
|
var o, s;
|
|
3332
|
-
|
|
3319
|
+
Bt() && !((o = e.blocks) != null && o.length) && ((s = window.parent) == null || s.postMessage(
|
|
3333
3320
|
{
|
|
3334
3321
|
type: "builder.clickEmptyBlocks",
|
|
3335
3322
|
data: {
|
|
@@ -3340,9 +3327,9 @@ function To(e) {
|
|
|
3340
3327
|
"*"
|
|
3341
3328
|
));
|
|
3342
3329
|
}
|
|
3343
|
-
function
|
|
3330
|
+
function n() {
|
|
3344
3331
|
var o, s;
|
|
3345
|
-
|
|
3332
|
+
Bt() && !((o = e.blocks) != null && o.length) && ((s = window.parent) == null || s.postMessage(
|
|
3346
3333
|
{
|
|
3347
3334
|
type: "builder.hoverEmptyBlocks",
|
|
3348
3335
|
data: {
|
|
@@ -3353,66 +3340,66 @@ function To(e) {
|
|
|
3353
3340
|
"*"
|
|
3354
3341
|
));
|
|
3355
3342
|
}
|
|
3356
|
-
return /* @__PURE__ */ Mt(
|
|
3357
|
-
/* @__PURE__ */
|
|
3343
|
+
return /* @__PURE__ */ Mt(z, { children: [
|
|
3344
|
+
/* @__PURE__ */ P(
|
|
3358
3345
|
e.BlocksWrapper,
|
|
3359
3346
|
{
|
|
3360
3347
|
className: t() + " props-blocks-wrapper-7cd1560e",
|
|
3361
3348
|
"builder-path": e.path,
|
|
3362
3349
|
"builder-parent-id": e.parent,
|
|
3363
3350
|
style: e.styleProp,
|
|
3364
|
-
onClick: (o) =>
|
|
3365
|
-
onMouseEnter: (o) =>
|
|
3366
|
-
onKeyPress: (o) =>
|
|
3351
|
+
onClick: (o) => r(),
|
|
3352
|
+
onMouseEnter: (o) => n(),
|
|
3353
|
+
onKeyPress: (o) => r(),
|
|
3367
3354
|
...e.BlocksWrapperProps,
|
|
3368
3355
|
children: e.children
|
|
3369
3356
|
}
|
|
3370
3357
|
),
|
|
3371
|
-
/* @__PURE__ */
|
|
3358
|
+
/* @__PURE__ */ P("style", { children: `.props-blocks-wrapper-7cd1560e {
|
|
3372
3359
|
display: flex;
|
|
3373
3360
|
flex-direction: column;
|
|
3374
3361
|
align-items: stretch;
|
|
3375
3362
|
}` })
|
|
3376
3363
|
] });
|
|
3377
3364
|
}
|
|
3378
|
-
function
|
|
3379
|
-
var
|
|
3380
|
-
const t =
|
|
3381
|
-
return /* @__PURE__ */
|
|
3382
|
-
|
|
3365
|
+
function No(e) {
|
|
3366
|
+
var n, o, s;
|
|
3367
|
+
const t = Mr(Gr), r = Mr(Pn);
|
|
3368
|
+
return /* @__PURE__ */ P(
|
|
3369
|
+
Po,
|
|
3383
3370
|
{
|
|
3384
3371
|
blocks: e.blocks,
|
|
3385
3372
|
parent: e.parent,
|
|
3386
3373
|
path: e.path,
|
|
3387
3374
|
styleProp: e.styleProp,
|
|
3388
|
-
BlocksWrapper: ((
|
|
3375
|
+
BlocksWrapper: ((n = e.context) == null ? void 0 : n.BlocksWrapper) || t.BlocksWrapper,
|
|
3389
3376
|
BlocksWrapperProps: ((o = e.context) == null ? void 0 : o.BlocksWrapperProps) || t.BlocksWrapperProps,
|
|
3390
|
-
children: e.blocks ? /* @__PURE__ */
|
|
3391
|
-
|
|
3377
|
+
children: e.blocks ? /* @__PURE__ */ P(z, { children: (s = e.blocks) == null ? void 0 : s.map((a) => /* @__PURE__ */ P(
|
|
3378
|
+
lt,
|
|
3392
3379
|
{
|
|
3393
3380
|
block: a,
|
|
3394
3381
|
linkComponent: e.linkComponent,
|
|
3395
3382
|
context: e.context || t,
|
|
3396
|
-
registeredComponents: e.registeredComponents ||
|
|
3383
|
+
registeredComponents: e.registeredComponents || r.registeredComponents
|
|
3397
3384
|
},
|
|
3398
3385
|
a.id
|
|
3399
3386
|
)) }) : null
|
|
3400
3387
|
}
|
|
3401
3388
|
);
|
|
3402
3389
|
}
|
|
3403
|
-
const
|
|
3390
|
+
const _o = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3404
3391
|
__proto__: null,
|
|
3405
|
-
default:
|
|
3392
|
+
default: No
|
|
3406
3393
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
3407
3394
|
export {
|
|
3408
|
-
|
|
3409
|
-
|
|
3395
|
+
lt as Block,
|
|
3396
|
+
No as Blocks,
|
|
3410
3397
|
Pn as ComponentsContext,
|
|
3411
|
-
|
|
3412
|
-
|
|
3398
|
+
xo as InlinedStyles,
|
|
3399
|
+
_o as blocks,
|
|
3413
3400
|
qt as evaluate,
|
|
3414
|
-
|
|
3415
|
-
|
|
3401
|
+
wo as getSizesForBreakpoints,
|
|
3402
|
+
fo as mapStyleObjToStrIfNeeded,
|
|
3416
3403
|
Hr as set,
|
|
3417
|
-
|
|
3404
|
+
so as triggerAnimation
|
|
3418
3405
|
};
|