@builder.io/sdk-react 1.1.1 → 2.0.0
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/README.md +4 -0
- package/lib/browser/blocks-exports.cjs +25 -25
- package/lib/browser/blocks-exports.mjs +505 -583
- 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-65ef631d.js → server-entry-709e09e3.js} +1 -1
- package/lib/browser/{server-entry-94ed11a2.cjs → server-entry-e0454364.cjs} +1 -1
- package/lib/browser/server-entry.cjs +1 -1
- package/lib/browser/server-entry.mjs +1 -1
- package/lib/edge/{accordion-72b84877.cjs → accordion-12c2d408.cjs} +1 -1
- package/lib/edge/{accordion-cbe33da4.js → accordion-bd80745a.js} +1 -1
- package/lib/edge/{blocks-88689ec9.js → blocks-6d6258ba.js} +688 -684
- package/lib/edge/{blocks-1afa415a.cjs → blocks-ac8970f1.cjs} +13 -13
- package/lib/edge/blocks-exports.cjs +1 -1
- package/lib/edge/blocks-exports.mjs +2 -2
- package/lib/edge/{button-841d9178.js → button-4e842584.js} +2 -2
- package/lib/edge/{button-25700a5b.cjs → button-c2e45e64.cjs} +1 -1
- package/lib/edge/{columns-17e098f2.js → columns-a51238cc.js} +16 -16
- package/lib/edge/columns-bc2b0674.cjs +28 -0
- package/lib/edge/content-variants-3fe9b1c0.cjs +134 -0
- package/lib/edge/{content-variants-27523e14.js → content-variants-f3c6baad.js} +166 -248
- package/lib/edge/{form-1b0ea78b.js → form-00c8cc55.js} +3 -3
- package/lib/edge/{form-a97b8e7f.cjs → form-b4cdf7cd.cjs} +1 -1
- package/lib/edge/{get-class-prop-name-6096152c.js → get-class-prop-name-1bbed5bf.js} +1 -1
- package/lib/edge/{get-class-prop-name-a119460c.cjs → get-class-prop-name-3c5f7a7d.cjs} +1 -1
- package/lib/edge/{img-f9912657.cjs → img-6671da9a.cjs} +1 -1
- package/lib/edge/{img-ea259737.js → img-e7db1475.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-0cfeed6a.cjs → input-0f7a9f1c.cjs} +1 -1
- package/lib/edge/{input-32508fbe.js → input-2db47a83.js} +1 -1
- package/lib/edge/{select-d18bf3dd.js → select-2facacf2.js} +1 -1
- package/lib/edge/{select-19d699ed.cjs → select-f0859c5f.cjs} +1 -1
- package/lib/edge/{server-entry-ed17153b.js → server-entry-75aa714e.js} +1 -1
- package/lib/edge/{server-entry-f7ebd44f.cjs → server-entry-ff6a2e2d.cjs} +1 -1
- package/lib/edge/server-entry.cjs +1 -1
- package/lib/edge/server-entry.mjs +1 -1
- package/lib/edge/{slot-7c690d3a.js → slot-8159ca1d.js} +3 -3
- package/lib/edge/{slot-c0a5ac83.cjs → slot-aee43b86.cjs} +1 -1
- package/lib/edge/{symbol-e3eb2159.js → symbol-36a155f3.js} +2 -2
- package/lib/edge/{symbol-4c9196cb.cjs → symbol-a244cc31.cjs} +1 -1
- package/lib/edge/{tabs-10e32767.cjs → tabs-4112a80e.cjs} +1 -1
- package/lib/edge/{tabs-46c4603d.js → tabs-f5357a4e.js} +3 -3
- package/lib/node/blocks-exports.cjs +25 -25
- package/lib/node/blocks-exports.mjs +504 -582
- 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-162b3ad2.js → node-runtime-80c4bfc8.js} +1 -1
- package/lib/node/{node-runtime-d5983829.cjs → node-runtime-eb72e084.cjs} +1 -1
- package/lib/node/{server-entry-879010db.cjs → server-entry-b2103255.cjs} +1 -1
- package/lib/node/{server-entry-771cfa6f.js → server-entry-e8ac67b5.js} +1 -1
- package/lib/node/server-entry.cjs +1 -1
- package/lib/node/server-entry.mjs +1 -1
- package/package.json +1 -1
- package/types/components/block/block.helpers.d.ts +8 -8
- package/types/constants/sdk-version.d.ts +1 -1
- package/lib/edge/columns-c934b550.cjs +0 -28
- package/lib/edge/content-variants-c7dd50a4.cjs +0 -134
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var
|
|
4
|
-
import { jsx as
|
|
5
|
-
import { createContext as
|
|
6
|
-
import { BuilderContext as
|
|
7
|
-
import { isEditing as
|
|
8
|
-
import { getClassPropName as
|
|
1
|
+
var kn = Object.defineProperty;
|
|
2
|
+
var En = (e, t, n) => t in e ? kn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
|
|
3
|
+
var Rt = (e, t, n) => (En(e, typeof t != "symbol" ? t + "" : t, n), n);
|
|
4
|
+
import { jsx as b, Fragment as Z, jsxs as Mt } from "react/jsx-runtime";
|
|
5
|
+
import { createContext as Cn, useState as $r, useEffect as jn, useContext as Rr } from "react";
|
|
6
|
+
import { BuilderContext as Gr } from "./blocks-exports.mjs";
|
|
7
|
+
import { isEditing as Dt, isBrowser as Ut, getUserAttributes as On, logger as Wt, checkIsDefined as ot, fastClone as Vr, TARGET as Xr } from "./server-entry-75aa714e.js";
|
|
8
|
+
import { getClassPropName as An } from "./get-class-prop-name-1bbed5bf.js";
|
|
9
9
|
import { DynamicRenderer as In } from "./dynamic-renderer-8b343325.js";
|
|
10
|
-
const
|
|
10
|
+
const Hr = (e, t, n) => {
|
|
11
11
|
if (Object(e) !== e)
|
|
12
12
|
return e;
|
|
13
13
|
const r = Array.isArray(t) ? t : t.toString().match(/[^.[\]]+/g);
|
|
14
14
|
return r.slice(0, -1).reduce((o, s, a) => Object(o[s]) === o[s] ? o[s] : o[s] = Math.abs(Number(r[a + 1])) >> 0 === +r[a + 1] ? [] : {}, e)[r[r.length - 1]] = n, e;
|
|
15
|
-
},
|
|
15
|
+
}, Kr = ({
|
|
16
16
|
builder: e,
|
|
17
17
|
context: t,
|
|
18
18
|
event: n,
|
|
@@ -24,14 +24,14 @@ const Kr = (e, t, n) => {
|
|
|
24
24
|
builder: e,
|
|
25
25
|
context: t,
|
|
26
26
|
event: n
|
|
27
|
-
}),
|
|
28
|
-
isEditing:
|
|
29
|
-
isBrowser:
|
|
30
|
-
isServer: !
|
|
31
|
-
getUserAttributes: () =>
|
|
32
|
-
}),
|
|
27
|
+
}), bn = () => ({
|
|
28
|
+
isEditing: Dt(),
|
|
29
|
+
isBrowser: Ut(),
|
|
30
|
+
isServer: !Ut(),
|
|
31
|
+
getUserAttributes: () => On()
|
|
32
|
+
}), Tn = (e, {
|
|
33
33
|
isExpression: t = !0
|
|
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,
|
|
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: {} });
|
|
35
35
|
function Nn(e) {
|
|
36
36
|
var t;
|
|
37
37
|
return {
|
|
@@ -39,7 +39,7 @@ function Nn(e) {
|
|
|
39
39
|
...e.options
|
|
40
40
|
};
|
|
41
41
|
}
|
|
42
|
-
const
|
|
42
|
+
const Rn = ({
|
|
43
43
|
code: e,
|
|
44
44
|
builder: t,
|
|
45
45
|
context: n,
|
|
@@ -48,19 +48,19 @@ const Bn = ({
|
|
|
48
48
|
rootSetState: s,
|
|
49
49
|
rootState: a
|
|
50
50
|
}) => {
|
|
51
|
-
const f =
|
|
51
|
+
const f = Kr({
|
|
52
52
|
builder: t,
|
|
53
53
|
context: n,
|
|
54
54
|
event: r,
|
|
55
|
-
state:
|
|
55
|
+
state: Jr({
|
|
56
56
|
rootState: a,
|
|
57
57
|
localState: o,
|
|
58
58
|
rootSetState: s
|
|
59
59
|
})
|
|
60
60
|
});
|
|
61
|
-
return new Function(...f.map(([
|
|
61
|
+
return new Function(...f.map(([g]) => g), e)(...f.map(([, g]) => g));
|
|
62
62
|
};
|
|
63
|
-
function
|
|
63
|
+
function Jr({
|
|
64
64
|
rootState: e,
|
|
65
65
|
localState: t,
|
|
66
66
|
rootSetState: n
|
|
@@ -70,7 +70,7 @@ function Yr({
|
|
|
70
70
|
if (t && o in t)
|
|
71
71
|
return t[o];
|
|
72
72
|
const s = r[o];
|
|
73
|
-
return typeof s == "object" && s !== null ?
|
|
73
|
+
return typeof s == "object" && s !== null ? Jr({
|
|
74
74
|
rootState: s,
|
|
75
75
|
localState: void 0,
|
|
76
76
|
rootSetState: n ? (a) => {
|
|
@@ -85,15 +85,15 @@ function Yr({
|
|
|
85
85
|
}
|
|
86
86
|
});
|
|
87
87
|
}
|
|
88
|
-
var
|
|
88
|
+
var I, Bn = function(e) {
|
|
89
89
|
function t(i) {
|
|
90
|
-
return 48 > i ? i === 36 : 58 > i ? !0 : 65 > i ? !1 : 91 > i ? !0 : 97 > i ? i === 95 : 123 > i ? !0 : 170 <= i &&
|
|
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
92
|
function n(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
95
|
function r(i, l) {
|
|
96
|
-
for (var u =
|
|
96
|
+
for (var u = d, p = 1, S = 0; ; ) {
|
|
97
97
|
rt.lastIndex = S;
|
|
98
98
|
var U = rt.exec(u);
|
|
99
99
|
if (U && U.index < i)
|
|
@@ -115,42 +115,42 @@ var b, Mn = function(e) {
|
|
|
115
115
|
};
|
|
116
116
|
}
|
|
117
117
|
function s() {
|
|
118
|
-
this.line =
|
|
118
|
+
this.line = de, this.ab = c - te;
|
|
119
119
|
}
|
|
120
120
|
function a(i, l) {
|
|
121
|
-
me = c, j.C && (
|
|
121
|
+
me = c, j.C && (wt = new s()), x = i, g(), J = l, Pe = i.m;
|
|
122
122
|
}
|
|
123
123
|
function f() {
|
|
124
|
-
for (var i = c, l = j.va && j.C && new s(), u =
|
|
125
|
-
++c, u =
|
|
126
|
-
j.va && j.va(!1,
|
|
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
|
+
++c, u = d.charCodeAt(c);
|
|
126
|
+
j.va && j.va(!1, d.slice(i + 2, c), i, c, l, j.C && new s());
|
|
127
127
|
}
|
|
128
|
-
function
|
|
129
|
-
for (; c <
|
|
130
|
-
var i =
|
|
128
|
+
function g() {
|
|
129
|
+
for (; c < ve; ) {
|
|
130
|
+
var i = d.charCodeAt(c);
|
|
131
131
|
if (i === 32)
|
|
132
132
|
++c;
|
|
133
133
|
else if (i === 13)
|
|
134
|
-
++c, i =
|
|
134
|
+
++c, i = d.charCodeAt(c), i === 10 && ++c, j.C && (++de, te = c);
|
|
135
135
|
else if (i === 10 || i === 8232 || i === 8233)
|
|
136
|
-
++c, j.C && (++
|
|
136
|
+
++c, j.C && (++de, te = c);
|
|
137
137
|
else if (8 < i && 14 > i)
|
|
138
138
|
++c;
|
|
139
139
|
else if (i === 47)
|
|
140
|
-
if (i =
|
|
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, p =
|
|
142
|
+
var l = j.va && j.C && new s(), u = c, p = d.indexOf("*/", c += 2);
|
|
143
143
|
if (p === -1 && r(c - 2, "Unterminated comment"), c = p + 2, j.C)
|
|
144
|
-
for (rt.lastIndex = u; (i = rt.exec(
|
|
145
|
-
++
|
|
146
|
-
j.va && j.va(!0,
|
|
144
|
+
for (rt.lastIndex = u; (i = rt.exec(d)) && i.index < c; )
|
|
145
|
+
++de, te = i.index + i[0].length;
|
|
146
|
+
j.va && j.va(!0, d.slice(u + 2, p), u, c, l, j.C && new s());
|
|
147
147
|
} else if (i === 47)
|
|
148
148
|
f();
|
|
149
149
|
else
|
|
150
150
|
break;
|
|
151
151
|
else if (i === 160)
|
|
152
152
|
++c;
|
|
153
|
-
else if (5760 <= i &&
|
|
153
|
+
else if (5760 <= i && wn.test(String.fromCharCode(i)))
|
|
154
154
|
++c;
|
|
155
155
|
else
|
|
156
156
|
break;
|
|
@@ -159,7 +159,7 @@ var b, Mn = function(e) {
|
|
|
159
159
|
function O(i) {
|
|
160
160
|
switch (i) {
|
|
161
161
|
case 46:
|
|
162
|
-
i =
|
|
162
|
+
i = d.charCodeAt(c + 1), 48 <= i && 57 >= i ? N(!0) : (++c, a(Cr));
|
|
163
163
|
return;
|
|
164
164
|
case 40:
|
|
165
165
|
return ++c, a(re);
|
|
@@ -170,9 +170,9 @@ var b, Mn = function(e) {
|
|
|
170
170
|
case 44:
|
|
171
171
|
return ++c, a(pe);
|
|
172
172
|
case 91:
|
|
173
|
-
return ++c, a(
|
|
173
|
+
return ++c, a(bt);
|
|
174
174
|
case 93:
|
|
175
|
-
return ++c, a(
|
|
175
|
+
return ++c, a(Tt);
|
|
176
176
|
case 123:
|
|
177
177
|
return ++c, a(Be);
|
|
178
178
|
case 125:
|
|
@@ -180,10 +180,10 @@ var b, Mn = function(e) {
|
|
|
180
180
|
case 58:
|
|
181
181
|
return ++c, a(Me);
|
|
182
182
|
case 63:
|
|
183
|
-
return ++c, a(
|
|
183
|
+
return ++c, a(jr);
|
|
184
184
|
case 48:
|
|
185
|
-
if (i =
|
|
186
|
-
c += 2, i =
|
|
185
|
+
if (i = d.charCodeAt(c + 1), i === 120 || i === 88) {
|
|
186
|
+
c += 2, i = R(16), i === null && r(D + 2, "Expected hexadecimal number"), n(d.charCodeAt(c)) && r(c, "Identifier directly after number"), a(Re, i);
|
|
187
187
|
return;
|
|
188
188
|
}
|
|
189
189
|
case 49:
|
|
@@ -195,20 +195,20 @@ var b, Mn = function(e) {
|
|
|
195
195
|
case 55:
|
|
196
196
|
case 56:
|
|
197
197
|
case 57:
|
|
198
|
-
return
|
|
198
|
+
return N(!1);
|
|
199
199
|
case 34:
|
|
200
200
|
case 39:
|
|
201
201
|
c++;
|
|
202
202
|
for (var l = ""; ; ) {
|
|
203
|
-
c >=
|
|
204
|
-
var u =
|
|
203
|
+
c >= ve && r(D, "Unterminated string constant");
|
|
204
|
+
var u = d.charCodeAt(c);
|
|
205
205
|
if (u === i) {
|
|
206
206
|
++c, a(Qe, l);
|
|
207
207
|
break;
|
|
208
208
|
}
|
|
209
209
|
if (u === 92) {
|
|
210
|
-
u =
|
|
211
|
-
var p = /^[0-7]+/.exec(
|
|
210
|
+
u = d.charCodeAt(++c);
|
|
211
|
+
var p = /^[0-7]+/.exec(d.slice(c, c + 3));
|
|
212
212
|
for (p && (p = p[0]); p && 255 < parseInt(p, 8); )
|
|
213
213
|
p = p.slice(0, -1);
|
|
214
214
|
if (p === "0" && (p = null), ++c, p)
|
|
@@ -247,9 +247,9 @@ var b, Mn = function(e) {
|
|
|
247
247
|
l += "\0";
|
|
248
248
|
break;
|
|
249
249
|
case 13:
|
|
250
|
-
|
|
250
|
+
d.charCodeAt(c) === 10 && ++c;
|
|
251
251
|
case 10:
|
|
252
|
-
j.C && (te = c, ++
|
|
252
|
+
j.C && (te = c, ++de);
|
|
253
253
|
break;
|
|
254
254
|
default:
|
|
255
255
|
l += String.fromCharCode(u);
|
|
@@ -259,30 +259,30 @@ var b, Mn = function(e) {
|
|
|
259
259
|
}
|
|
260
260
|
return;
|
|
261
261
|
case 47:
|
|
262
|
-
i =
|
|
262
|
+
i = d.charCodeAt(c + 1), Pe ? (++c, T()) : i === 61 ? w(ye, 2) : w(Or, 1);
|
|
263
263
|
return;
|
|
264
264
|
case 37:
|
|
265
265
|
case 42:
|
|
266
|
-
|
|
266
|
+
d.charCodeAt(c + 1) === 61 ? w(ye, 2) : w(yn, 1);
|
|
267
267
|
return;
|
|
268
268
|
case 124:
|
|
269
269
|
case 38:
|
|
270
|
-
l =
|
|
270
|
+
l = d.charCodeAt(c + 1), l === i ? w(i === 124 ? br : Tr, 2) : l === 61 ? w(ye, 2) : w(i === 124 ? un : fn, 1);
|
|
271
271
|
return;
|
|
272
272
|
case 94:
|
|
273
|
-
|
|
273
|
+
d.charCodeAt(c + 1) === 61 ? w(ye, 2) : w(cn, 1);
|
|
274
274
|
return;
|
|
275
275
|
case 43:
|
|
276
276
|
case 45:
|
|
277
|
-
l =
|
|
277
|
+
l = d.charCodeAt(c + 1), l === i ? l === 45 && d.charCodeAt(c + 2) === 62 && tt.test(d.slice(fe, c)) ? (c += 3, f(), g(), C()) : w(ln, 2) : l === 61 ? w(ye, 2) : w(dn, 1);
|
|
278
278
|
return;
|
|
279
279
|
case 60:
|
|
280
280
|
case 62:
|
|
281
|
-
l =
|
|
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 ? w(ye, u + 1) : w(gn, u)) : l === 33 && i === 60 && d.charCodeAt(c + 2) === 45 && d.charCodeAt(c + 3) === 45 ? (c += 4, f(), g(), C()) : (l === 61 && (u = d.charCodeAt(c + 2) === 61 ? 3 : 2), w(hn, u));
|
|
282
282
|
return;
|
|
283
283
|
case 61:
|
|
284
284
|
case 33:
|
|
285
|
-
|
|
285
|
+
d.charCodeAt(c + 1) === 61 ? w(pn, d.charCodeAt(c + 2) === 61 ? 3 : 2) : w(i === 61 ? Ar : Ir, 1);
|
|
286
286
|
return;
|
|
287
287
|
case 126:
|
|
288
288
|
return w(Ir, 1);
|
|
@@ -290,11 +290,11 @@ var b, Mn = function(e) {
|
|
|
290
290
|
return !1;
|
|
291
291
|
}
|
|
292
292
|
function C(i) {
|
|
293
|
-
if (i ? c = D + 1 : D = c, j.C && (
|
|
293
|
+
if (i ? c = D + 1 : D = c, j.C && (mt = new s()), i)
|
|
294
294
|
return T();
|
|
295
|
-
if (c >=
|
|
296
|
-
return a(
|
|
297
|
-
if (i =
|
|
295
|
+
if (c >= ve)
|
|
296
|
+
return a(kt);
|
|
297
|
+
if (i = d.charCodeAt(c), n(i) || i === 92)
|
|
298
298
|
return H();
|
|
299
299
|
if (O(i) === !1) {
|
|
300
300
|
if (i = String.fromCharCode(i), i === "\\" || Nr.test(i))
|
|
@@ -303,13 +303,13 @@ var b, Mn = function(e) {
|
|
|
303
303
|
}
|
|
304
304
|
}
|
|
305
305
|
function w(i, l) {
|
|
306
|
-
var u =
|
|
306
|
+
var u = d.slice(c, c + l);
|
|
307
307
|
c += l, a(i, u);
|
|
308
308
|
}
|
|
309
309
|
function T() {
|
|
310
310
|
for (var i, l, u = c; ; ) {
|
|
311
|
-
c >=
|
|
312
|
-
var p =
|
|
311
|
+
c >= ve && r(u, "Unterminated regexp");
|
|
312
|
+
var p = d.charAt(c);
|
|
313
313
|
if (tt.test(p) && r(u, "Unterminated regexp"), i)
|
|
314
314
|
i = !1;
|
|
315
315
|
else {
|
|
@@ -323,89 +323,89 @@ var b, Mn = function(e) {
|
|
|
323
323
|
}
|
|
324
324
|
++c;
|
|
325
325
|
}
|
|
326
|
-
i =
|
|
326
|
+
i = d.slice(u, c), ++c, (l = $()) && !/^[gmi]*$/.test(l) && r(u, "Invalid regexp flag");
|
|
327
327
|
try {
|
|
328
328
|
var S = new RegExp(i, l);
|
|
329
329
|
} catch (U) {
|
|
330
330
|
throw U instanceof SyntaxError && r(u, U.message), U;
|
|
331
331
|
}
|
|
332
|
-
a(
|
|
332
|
+
a(ir, S);
|
|
333
333
|
}
|
|
334
|
-
function
|
|
334
|
+
function R(i, l) {
|
|
335
335
|
for (var u = c, p = 0, S = l === void 0 ? 1 / 0 : l, U = 0; U < S; ++U) {
|
|
336
|
-
var G =
|
|
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
339
|
++c, p = p * i + G;
|
|
340
340
|
}
|
|
341
341
|
return c === u || l !== void 0 && c - u !== l ? null : p;
|
|
342
342
|
}
|
|
343
|
-
function
|
|
344
|
-
var l = c, u = !1, p =
|
|
345
|
-
i ||
|
|
343
|
+
function N(i) {
|
|
344
|
+
var l = c, u = !1, p = d.charCodeAt(c) === 48;
|
|
345
|
+
i || R(10) !== null || r(l, "Invalid number"), d.charCodeAt(c) === 46 && (++c, R(10), u = !0), i = d.charCodeAt(c), (i === 69 || i === 101) && (i = d.charCodeAt(++c), i !== 43 && i !== 45 || ++c, R(10) === null && r(l, "Invalid number"), u = !0), n(d.charCodeAt(c)) && r(c, "Identifier directly after number"), i = d.slice(l, c);
|
|
346
346
|
var S;
|
|
347
|
-
u ? S = parseFloat(i) : p && i.length !== 1 ? /[89]/.test(i) || K ? r(l, "Invalid number") : S = parseInt(i, 8) : S = parseInt(i, 10), a(
|
|
347
|
+
u ? S = parseFloat(i) : p && i.length !== 1 ? /[89]/.test(i) || K ? r(l, "Invalid number") : S = parseInt(i, 8) : S = parseInt(i, 10), a(Re, S);
|
|
348
348
|
}
|
|
349
349
|
function ue(i) {
|
|
350
|
-
return i =
|
|
350
|
+
return i = R(16, i), i === null && r(D, "Bad character escape sequence"), i;
|
|
351
351
|
}
|
|
352
352
|
function $() {
|
|
353
353
|
Se = !1;
|
|
354
354
|
for (var i, l = !0, u = c; ; ) {
|
|
355
|
-
var p =
|
|
355
|
+
var p = d.charCodeAt(c);
|
|
356
356
|
if (t(p))
|
|
357
|
-
Se && (i +=
|
|
357
|
+
Se && (i += d.charAt(c)), ++c;
|
|
358
358
|
else if (p === 92) {
|
|
359
|
-
Se || (i =
|
|
359
|
+
Se || (i = d.slice(u, c)), Se = !0, d.charCodeAt(++c) !== 117 && r(c, "Expecting Unicode escape sequence \\uXXXX"), ++c, p = ue(4);
|
|
360
360
|
var S = String.fromCharCode(p);
|
|
361
361
|
S || r(c - 1, "Invalid Unicode escape"), (l ? n(p) : t(p)) || r(c - 4, "Invalid Unicode escape"), i += S;
|
|
362
362
|
} else
|
|
363
363
|
break;
|
|
364
364
|
l = !1;
|
|
365
365
|
}
|
|
366
|
-
return Se ? i :
|
|
366
|
+
return Se ? i : d.slice(u, c);
|
|
367
367
|
}
|
|
368
368
|
function H() {
|
|
369
369
|
var i = $(), l = we;
|
|
370
|
-
!Se &&
|
|
370
|
+
!Se && mn(i) && (l = an[i]), a(l, i);
|
|
371
371
|
}
|
|
372
372
|
function k() {
|
|
373
|
-
|
|
373
|
+
xt = D, fe = me, St = wt, C();
|
|
374
374
|
}
|
|
375
375
|
function Q(i) {
|
|
376
376
|
if (K = i, c = D, j.C)
|
|
377
377
|
for (; c < te; )
|
|
378
|
-
te =
|
|
379
|
-
`, te - 2) + 1, --
|
|
380
|
-
|
|
378
|
+
te = d.lastIndexOf(`
|
|
379
|
+
`, te - 2) + 1, --de;
|
|
380
|
+
g(), C();
|
|
381
381
|
}
|
|
382
382
|
function Je() {
|
|
383
383
|
this.type = null, this.start = D, this.end = null;
|
|
384
384
|
}
|
|
385
|
-
function
|
|
386
|
-
this.start =
|
|
385
|
+
function tr() {
|
|
386
|
+
this.start = mt, this.end = null, vt && (this.source = vt);
|
|
387
387
|
}
|
|
388
|
-
function
|
|
388
|
+
function L() {
|
|
389
389
|
var i = new Je();
|
|
390
|
-
return j.C && (i.X = new
|
|
390
|
+
return j.C && (i.X = new tr()), j.vb && (i.sourceFile = j.vb), j.Xa && (i.j = [D, 0]), i;
|
|
391
391
|
}
|
|
392
392
|
function ce(i) {
|
|
393
393
|
var l = new Je();
|
|
394
|
-
return l.start = i.start, j.C && (l.X = new
|
|
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 = St), j.Xa && (i.j[1] = fe), i;
|
|
398
398
|
}
|
|
399
|
-
function
|
|
399
|
+
function ct(i) {
|
|
400
400
|
return i.type === "ExpressionStatement" && i.la.type === "Literal" && i.la.value === "use strict";
|
|
401
401
|
}
|
|
402
402
|
function P(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 === kt || x === xe || tt.test(d.slice(fe, D)));
|
|
407
407
|
}
|
|
408
|
-
function
|
|
408
|
+
function ge() {
|
|
409
409
|
P(ne) || Ye() || q();
|
|
410
410
|
}
|
|
411
411
|
function B(i) {
|
|
@@ -418,48 +418,48 @@ var b, Mn = function(e) {
|
|
|
418
418
|
i.type !== "Identifier" && i.type !== "MemberExpression" && r(i.start, "Assigning to rvalue"), K && i.type === "Identifier" && et(i.name) && r(i.start, "Assigning to " + i.name + " in strict mode");
|
|
419
419
|
}
|
|
420
420
|
function Y() {
|
|
421
|
-
(x ===
|
|
422
|
-
var i = x, l =
|
|
421
|
+
(x === Or || x === ye && J === "/=") && C(!0);
|
|
422
|
+
var i = x, l = L();
|
|
423
423
|
switch (i) {
|
|
424
|
-
case
|
|
425
|
-
case
|
|
424
|
+
case Et:
|
|
425
|
+
case ar:
|
|
426
426
|
k();
|
|
427
|
-
var u = i ===
|
|
428
|
-
P(ne) || Ye() ? l.label = null : x !== we ? q() : (l.label = ee(),
|
|
427
|
+
var u = i === Et;
|
|
428
|
+
P(ne) || Ye() ? l.label = null : x !== we ? q() : (l.label = ee(), ge());
|
|
429
429
|
for (var p = 0; p < M.length; ++p) {
|
|
430
430
|
var S = M[p];
|
|
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
434
|
return p === M.length && r(l.start, "Unsyntactic " + i.l), E(l, u ? "BreakStatement" : "ContinueStatement");
|
|
435
|
-
case
|
|
436
|
-
return k(),
|
|
437
|
-
case
|
|
438
|
-
return k(), M.push(
|
|
435
|
+
case lr:
|
|
436
|
+
return k(), ge(), E(l, "DebuggerStatement");
|
|
437
|
+
case cr:
|
|
438
|
+
return k(), M.push(Pt), l.body = Y(), M.pop(), B(It), l.test = Ie(), ge(), E(l, "DoWhileStatement");
|
|
439
|
+
case hr:
|
|
440
|
+
return k(), M.push(Pt), B(re), x === ne ? ft(l, null) : x === At ? (i = L(), k(), nr(i, !0), E(i, "VariableDeclaration"), i.fa.length === 1 && P(qe) ? rr(l, i) : ft(l, i)) : (i = W(!1, !0), P(qe) ? (Ze(i), rr(l, i)) : ft(l, i));
|
|
441
|
+
case jt:
|
|
442
|
+
return k(), dt(l, !0);
|
|
443
|
+
case gr:
|
|
444
|
+
return k(), l.test = Ie(), l.da = Y(), l.alternate = P(fr) ? Y() : null, E(l, "IfStatement");
|
|
439
445
|
case dr:
|
|
440
|
-
return
|
|
446
|
+
return Ne || j.Ib || r(D, "'return' outside of function"), k(), P(ne) || Ye() ? l.K = null : (l.K = W(), ge()), E(l, "ReturnStatement");
|
|
441
447
|
case Ot:
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
return k(), l.test = be(), l.da = Y(), l.alternate = P(pr) ? Y() : null, E(l, "IfStatement");
|
|
445
|
-
case vr:
|
|
446
|
-
return Re || j.Ib || r(D, "'return' outside of function"), k(), P(ne) || Ye() ? l.K = null : (l.K = W(), de()), E(l, "ReturnStatement");
|
|
447
|
-
case At:
|
|
448
|
-
for (k(), l.Qb = be(), l.tb = [], B(Be), M.push(kn); x !== xe; )
|
|
449
|
-
x === jt || x === cr ? (i = x === jt, p && E(p, "SwitchCase"), l.tb.push(p = F()), p.da = [], k(), i ? p.test = W() : (u && r(St, "Multiple default clauses"), u = !0, p.test = null), B(Me)) : (p || q(), p.da.push(Y()));
|
|
448
|
+
for (k(), l.Qb = Ie(), l.tb = [], B(Be), M.push(Sn); x !== xe; )
|
|
449
|
+
x === Ct || x === ur ? (i = x === Ct, p && E(p, "SwitchCase"), l.tb.push(p = L()), p.da = [], k(), i ? p.test = W() : (u && r(xt, "Multiple default clauses"), u = !0, p.test = null), B(Me)) : (p || q(), p.da.push(Y()));
|
|
450
450
|
return p && E(p, "SwitchCase"), k(), M.pop(), E(l, "SwitchStatement");
|
|
451
451
|
case yr:
|
|
452
|
-
return k(), tt.test(
|
|
453
|
-
case
|
|
454
|
-
return k(), l.block =
|
|
455
|
-
case
|
|
456
|
-
return k(),
|
|
452
|
+
return k(), tt.test(d.slice(fe, D)) && r(fe, "Illegal newline after throw"), l.K = W(), ge(), E(l, "ThrowStatement");
|
|
453
|
+
case vr:
|
|
454
|
+
return k(), l.block = be(), l.Ea = null, x === sr && (i = L(), k(), B(re), i.Ua = ee(), K && et(i.Ua.name) && r(i.Ua.start, "Binding " + i.Ua.name + " in strict mode"), B(z), i.body = be(), l.Ea = E(i, "CatchClause")), l.fb = P(pr) ? be() : null, l.Ea || l.fb || r(l.start, "Missing catch or finally clause"), E(l, "TryStatement");
|
|
455
|
+
case At:
|
|
456
|
+
return k(), nr(l), ge(), E(l, "VariableDeclaration");
|
|
457
457
|
case It:
|
|
458
|
-
return k(), l.test =
|
|
459
|
-
case
|
|
460
|
-
return K && r(D, "'with' in strict mode"), k(), l.object =
|
|
458
|
+
return k(), l.test = Ie(), M.push(Pt), l.body = Y(), M.pop(), E(l, "WhileStatement");
|
|
459
|
+
case mr:
|
|
460
|
+
return K && r(D, "'with' in strict mode"), k(), l.object = Ie(), l.body = Y(), E(l, "WithStatement");
|
|
461
461
|
case Be:
|
|
462
|
-
return
|
|
462
|
+
return be();
|
|
463
463
|
case ne:
|
|
464
464
|
return k(), E(l, "EmptyStatement");
|
|
465
465
|
default:
|
|
@@ -468,22 +468,22 @@ var b, Mn = function(e) {
|
|
|
468
468
|
M[p].name === u && r(S.start, "Label '" + u + "' is already declared");
|
|
469
469
|
return M.push({
|
|
470
470
|
name: u,
|
|
471
|
-
kind: x.W ? "loop" : x ===
|
|
471
|
+
kind: x.W ? "loop" : x === Ot ? "switch" : null
|
|
472
472
|
}), l.body = Y(), M.pop(), l.label = S, E(l, "LabeledStatement");
|
|
473
473
|
}
|
|
474
|
-
return l.la = S,
|
|
474
|
+
return l.la = S, ge(), E(l, "ExpressionStatement");
|
|
475
475
|
}
|
|
476
476
|
}
|
|
477
|
-
function
|
|
477
|
+
function Ie() {
|
|
478
478
|
B(re);
|
|
479
479
|
var i = W();
|
|
480
480
|
return B(z), i;
|
|
481
481
|
}
|
|
482
|
-
function
|
|
483
|
-
var l =
|
|
482
|
+
function be(i) {
|
|
483
|
+
var l = L(), u = !0, p = !1;
|
|
484
484
|
for (l.body = [], B(Be); !P(xe); ) {
|
|
485
485
|
var S = Y();
|
|
486
|
-
if (l.body.push(S), u && i &&
|
|
486
|
+
if (l.body.push(S), u && i && ct(S)) {
|
|
487
487
|
var U = p;
|
|
488
488
|
Q(p = !0);
|
|
489
489
|
}
|
|
@@ -491,47 +491,47 @@ var b, Mn = function(e) {
|
|
|
491
491
|
}
|
|
492
492
|
return p && !U && Q(!1), E(l, "BlockStatement");
|
|
493
493
|
}
|
|
494
|
-
function
|
|
494
|
+
function ft(i, l) {
|
|
495
495
|
return i.ua = l, B(ne), i.test = x === ne ? null : W(), B(ne), i.update = x === z ? null : W(), B(z), i.body = Y(), M.pop(), E(i, "ForStatement");
|
|
496
496
|
}
|
|
497
|
-
function
|
|
497
|
+
function rr(i, l) {
|
|
498
498
|
return i.left = l, i.right = W(), B(z), i.body = Y(), M.pop(), E(i, "ForInStatement");
|
|
499
499
|
}
|
|
500
|
-
function
|
|
500
|
+
function nr(i, l) {
|
|
501
501
|
for (i.fa = [], i.kind = "var"; ; ) {
|
|
502
|
-
var u =
|
|
503
|
-
if (u.id = ee(), K && et(u.id.name) && r(u.id.start, "Binding " + u.id.name + " in strict mode"), u.ua = P(
|
|
502
|
+
var u = L();
|
|
503
|
+
if (u.id = ee(), K && et(u.id.name) && r(u.id.start, "Binding " + u.id.name + " in strict mode"), u.ua = P(Ar) ? W(!0, l) : null, i.fa.push(E(u, "VariableDeclarator")), !P(pe))
|
|
504
504
|
break;
|
|
505
505
|
}
|
|
506
506
|
}
|
|
507
507
|
function W(i, l) {
|
|
508
|
-
var u =
|
|
508
|
+
var u = pt(l);
|
|
509
509
|
if (!i && x === pe) {
|
|
510
510
|
for (i = ce(u), i.xb = [u]; P(pe); )
|
|
511
|
-
i.xb.push(
|
|
511
|
+
i.xb.push(pt(l));
|
|
512
512
|
return E(i, "SequenceExpression");
|
|
513
513
|
}
|
|
514
514
|
return u;
|
|
515
515
|
}
|
|
516
|
-
function
|
|
517
|
-
var l =
|
|
518
|
-
if (P(
|
|
516
|
+
function pt(i) {
|
|
517
|
+
var l = ht(gt(), -1, i);
|
|
518
|
+
if (P(jr)) {
|
|
519
519
|
var u = ce(l);
|
|
520
520
|
u.test = l, u.da = W(!0), B(Me), u.alternate = W(!0, i), l = E(u, "ConditionalExpression");
|
|
521
521
|
}
|
|
522
|
-
return x.Cb ? (u = ce(l), u.operator = J, u.left = l, k(), u.right =
|
|
522
|
+
return x.Cb ? (u = ce(l), u.operator = J, u.left = l, k(), u.right = pt(i), Ze(l), E(u, "AssignmentExpression")) : l;
|
|
523
523
|
}
|
|
524
|
-
function
|
|
524
|
+
function ht(i, l, u) {
|
|
525
525
|
var p = x.L;
|
|
526
526
|
if (p !== null && (!u || x !== qe) && p > l) {
|
|
527
527
|
var S = ce(i);
|
|
528
|
-
return S.left = i, S.operator = J, i = x, k(), S.right =
|
|
528
|
+
return S.left = i, S.operator = J, i = x, k(), S.right = ht(gt(), p, u), p = E(S, i === br || i === Tr ? "LogicalExpression" : "BinaryExpression"), ht(p, l, u);
|
|
529
529
|
}
|
|
530
530
|
return i;
|
|
531
531
|
}
|
|
532
532
|
function gt() {
|
|
533
533
|
if (x.prefix) {
|
|
534
|
-
var i =
|
|
534
|
+
var i = L(), l = x.$b;
|
|
535
535
|
return i.operator = J, Pe = i.prefix = !0, k(), i.K = gt(), l ? Ze(i.K) : K && i.operator === "delete" && i.K.type === "Identifier" && r(i.start, "Deleting local variable in strict mode"), E(i, l ? "UpdateExpression" : "UnaryExpression");
|
|
536
536
|
}
|
|
537
537
|
for (l = Te(ze()); x.cc && !Ye(); )
|
|
@@ -539,49 +539,49 @@ var b, Mn = function(e) {
|
|
|
539
539
|
return l;
|
|
540
540
|
}
|
|
541
541
|
function Te(i, l) {
|
|
542
|
-
if (P(
|
|
542
|
+
if (P(Cr)) {
|
|
543
543
|
var u = ce(i);
|
|
544
544
|
return u.object = i, u.Wa = ee(!0), u.bb = !1, Te(E(u, "MemberExpression"), l);
|
|
545
545
|
}
|
|
546
|
-
return P(
|
|
546
|
+
return P(bt) ? (u = ce(i), u.object = i, u.Wa = W(), u.bb = !0, B(Tt), Te(E(u, "MemberExpression"), l)) : !l && P(re) ? (u = ce(i), u.callee = i, u.arguments = yt(z, !1), Te(E(u, "CallExpression"), l)) : i;
|
|
547
547
|
}
|
|
548
548
|
function ze() {
|
|
549
549
|
switch (x) {
|
|
550
|
-
case
|
|
551
|
-
var i =
|
|
550
|
+
case xr:
|
|
551
|
+
var i = L();
|
|
552
552
|
return k(), E(i, "ThisExpression");
|
|
553
553
|
case we:
|
|
554
554
|
return ee();
|
|
555
|
-
case
|
|
555
|
+
case Re:
|
|
556
556
|
case Qe:
|
|
557
|
-
case
|
|
558
|
-
return i =
|
|
557
|
+
case ir:
|
|
558
|
+
return i = L(), i.value = J, i.raw = d.slice(D, me), k(), E(i, "Literal");
|
|
559
|
+
case Sr:
|
|
559
560
|
case kr:
|
|
560
561
|
case Er:
|
|
561
|
-
|
|
562
|
-
return i = F(), i.value = x.$a, i.raw = x.l, k(), E(i, "Literal");
|
|
562
|
+
return i = L(), i.value = x.$a, i.raw = x.l, k(), E(i, "Literal");
|
|
563
563
|
case re:
|
|
564
|
-
i =
|
|
564
|
+
i = mt;
|
|
565
565
|
var l = D;
|
|
566
566
|
k();
|
|
567
567
|
var u = W();
|
|
568
|
-
return u.start = l, u.end = me, j.C && (u.X.start = i, u.X.end =
|
|
569
|
-
case
|
|
570
|
-
return i =
|
|
568
|
+
return u.start = l, u.end = me, j.C && (u.X.start = i, u.X.end = wt), j.Xa && (u.j = [l, me]), B(z), u;
|
|
569
|
+
case bt:
|
|
570
|
+
return i = L(), k(), i.elements = yt(Tt, !0, !0), E(i, "ArrayExpression");
|
|
571
571
|
case Be:
|
|
572
|
-
for (i =
|
|
572
|
+
for (i = L(), l = !0, u = !1, i.h = [], k(); !P(xe); ) {
|
|
573
573
|
if (l)
|
|
574
574
|
l = !1;
|
|
575
575
|
else if (B(pe), j.sb && P(xe))
|
|
576
576
|
break;
|
|
577
577
|
var p = {
|
|
578
|
-
key: x ===
|
|
578
|
+
key: x === Re || x === Qe ? ze() : ee(!0)
|
|
579
579
|
}, S = !1;
|
|
580
580
|
if (P(Me)) {
|
|
581
581
|
p.value = W(!0);
|
|
582
582
|
var U = p.kind = "init";
|
|
583
583
|
} else
|
|
584
|
-
p.key.type !== "Identifier" || p.key.name !== "get" && p.key.name !== "set" ? q() : (S = u = !0, U = p.kind = p.key.name, p.key = x ===
|
|
584
|
+
p.key.type !== "Identifier" || p.key.name !== "get" && p.key.name !== "set" ? q() : (S = u = !0, U = p.kind = p.key.name, p.key = x === Re || x === Qe ? ze() : ee(!0), x !== re && q(), p.value = dt(L(), !1));
|
|
585
585
|
if (p.key.type === "Identifier" && (K || u))
|
|
586
586
|
for (var G = 0; G < i.h.length; ++G) {
|
|
587
587
|
var ke = i.h[G];
|
|
@@ -593,23 +593,23 @@ var b, Mn = function(e) {
|
|
|
593
593
|
i.h.push(p);
|
|
594
594
|
}
|
|
595
595
|
return E(i, "ObjectExpression");
|
|
596
|
-
case
|
|
597
|
-
return i =
|
|
598
|
-
case
|
|
599
|
-
return i =
|
|
596
|
+
case jt:
|
|
597
|
+
return i = L(), k(), dt(i, !1);
|
|
598
|
+
case wr:
|
|
599
|
+
return i = L(), k(), i.callee = Te(ze(), !0), i.arguments = P(re) ? yt(z, !1) : sn, E(i, "NewExpression");
|
|
600
600
|
}
|
|
601
601
|
q();
|
|
602
602
|
}
|
|
603
|
-
function
|
|
603
|
+
function dt(i, l) {
|
|
604
604
|
x === we ? i.id = ee() : l ? q() : i.id = null, i.oa = [];
|
|
605
605
|
var u = !0;
|
|
606
606
|
for (B(re); !P(z); )
|
|
607
607
|
u ? u = !1 : B(pe), i.oa.push(ee());
|
|
608
|
-
u =
|
|
608
|
+
u = Ne;
|
|
609
609
|
var p = M;
|
|
610
|
-
if (
|
|
610
|
+
if (Ne = !0, M = [], i.body = be(!0), Ne = u, M = p, K || i.body.body.length && ct(i.body.body[0])) {
|
|
611
611
|
for (u = i.id ? -1 : 0; u < i.oa.length; ++u)
|
|
612
|
-
if (p = 0 > u ? i.id : i.oa[u], (
|
|
612
|
+
if (p = 0 > u ? i.id : i.oa[u], (Pr(p.name) || et(p.name)) && r(p.start, "Defining '" + p.name + "' in strict mode"), 0 <= u)
|
|
613
613
|
for (var S = 0; S < u; ++S)
|
|
614
614
|
p.name === i.oa[S].name && r(p.start, "Argument name clash in strict mode");
|
|
615
615
|
}
|
|
@@ -626,20 +626,20 @@ var b, Mn = function(e) {
|
|
|
626
626
|
return p;
|
|
627
627
|
}
|
|
628
628
|
function ee(i) {
|
|
629
|
-
var l =
|
|
630
|
-
return i && j.yb === "everywhere" && (i = !1), x === we ? (!i && (j.yb &&
|
|
629
|
+
var l = L();
|
|
630
|
+
return i && j.yb === "everywhere" && (i = !1), x === we ? (!i && (j.yb && vn(J) || K && Pr(J)) && d.slice(D, me).indexOf("\\") === -1 && r(D, "The keyword '" + J + "' is reserved"), l.name = J) : i && x.l ? l.name = x.l : q(), Pe = !1, k(), E(l, "Identifier");
|
|
631
631
|
}
|
|
632
632
|
e.version = "0.5.0";
|
|
633
|
-
var j,
|
|
633
|
+
var j, d = "", ve, vt;
|
|
634
634
|
e.parse = function(i, l) {
|
|
635
|
-
|
|
636
|
-
for (var u in
|
|
637
|
-
Object.prototype.hasOwnProperty.call(j, u) || (j[u] =
|
|
638
|
-
for (
|
|
639
|
-
u = Y(), i.body.push(u), l &&
|
|
635
|
+
d = String(i), ve = d.length, j = l || {};
|
|
636
|
+
for (var u in or)
|
|
637
|
+
Object.prototype.hasOwnProperty.call(j, u) || (j[u] = or[u]);
|
|
638
|
+
for (vt = j.sourceFile, de = 1, c = te = 0, Pe = !0, g(), u = j.dc, xt = fe = c, j.C && (St = new s()), Ne = K = !1, M = [], C(), i = u || L(), l = !0, u || (i.body = []); x !== kt; )
|
|
639
|
+
u = Y(), i.body.push(u), l && ct(u) && Q(!0), l = !1;
|
|
640
640
|
return E(i, "Program");
|
|
641
641
|
};
|
|
642
|
-
var
|
|
642
|
+
var or = {
|
|
643
643
|
fc: !1,
|
|
644
644
|
sb: !0,
|
|
645
645
|
yb: !1,
|
|
@@ -650,110 +650,110 @@ var b, Mn = function(e) {
|
|
|
650
650
|
dc: null,
|
|
651
651
|
sourceFile: null,
|
|
652
652
|
vb: null
|
|
653
|
-
}, c = 0, D = 0, me = 0,
|
|
653
|
+
}, c = 0, D = 0, me = 0, mt, wt, x, J, Pe, de, te, xt = 0, fe = 0, St, Ne, M, K, sn = [], Re = {
|
|
654
654
|
type: "num"
|
|
655
|
-
},
|
|
655
|
+
}, ir = {
|
|
656
656
|
type: "regexp"
|
|
657
657
|
}, Qe = {
|
|
658
658
|
type: "string"
|
|
659
659
|
}, we = {
|
|
660
660
|
type: "name"
|
|
661
|
-
},
|
|
661
|
+
}, kt = {
|
|
662
662
|
type: "eof"
|
|
663
|
-
},
|
|
663
|
+
}, Et = {
|
|
664
664
|
l: "break"
|
|
665
|
-
},
|
|
665
|
+
}, Ct = {
|
|
666
666
|
l: "case",
|
|
667
667
|
m: !0
|
|
668
|
-
},
|
|
668
|
+
}, sr = {
|
|
669
669
|
l: "catch"
|
|
670
|
-
},
|
|
670
|
+
}, ar = {
|
|
671
671
|
l: "continue"
|
|
672
|
-
},
|
|
672
|
+
}, lr = {
|
|
673
673
|
l: "debugger"
|
|
674
|
-
},
|
|
674
|
+
}, ur = {
|
|
675
675
|
l: "default"
|
|
676
|
-
},
|
|
676
|
+
}, cr = {
|
|
677
677
|
l: "do",
|
|
678
678
|
W: !0
|
|
679
|
-
},
|
|
679
|
+
}, fr = {
|
|
680
680
|
l: "else",
|
|
681
681
|
m: !0
|
|
682
|
-
},
|
|
682
|
+
}, pr = {
|
|
683
683
|
l: "finally"
|
|
684
|
-
},
|
|
684
|
+
}, hr = {
|
|
685
685
|
l: "for",
|
|
686
686
|
W: !0
|
|
687
|
-
},
|
|
687
|
+
}, jt = {
|
|
688
688
|
l: "function"
|
|
689
689
|
}, gr = {
|
|
690
690
|
l: "if"
|
|
691
|
-
},
|
|
691
|
+
}, dr = {
|
|
692
692
|
l: "return",
|
|
693
693
|
m: !0
|
|
694
|
-
},
|
|
694
|
+
}, Ot = {
|
|
695
695
|
l: "switch"
|
|
696
696
|
}, yr = {
|
|
697
697
|
l: "throw",
|
|
698
698
|
m: !0
|
|
699
|
-
},
|
|
699
|
+
}, vr = {
|
|
700
700
|
l: "try"
|
|
701
|
-
},
|
|
701
|
+
}, At = {
|
|
702
702
|
l: "var"
|
|
703
703
|
}, It = {
|
|
704
704
|
l: "while",
|
|
705
705
|
W: !0
|
|
706
|
-
},
|
|
706
|
+
}, mr = {
|
|
707
707
|
l: "with"
|
|
708
|
-
},
|
|
708
|
+
}, wr = {
|
|
709
709
|
l: "new",
|
|
710
710
|
m: !0
|
|
711
|
-
},
|
|
711
|
+
}, xr = {
|
|
712
712
|
l: "this"
|
|
713
|
-
},
|
|
713
|
+
}, Sr = {
|
|
714
714
|
l: "null",
|
|
715
715
|
$a: null
|
|
716
|
-
},
|
|
716
|
+
}, kr = {
|
|
717
717
|
l: "true",
|
|
718
718
|
$a: !0
|
|
719
|
-
},
|
|
719
|
+
}, Er = {
|
|
720
720
|
l: "false",
|
|
721
721
|
$a: !1
|
|
722
722
|
}, qe = {
|
|
723
723
|
l: "in",
|
|
724
724
|
L: 7,
|
|
725
725
|
m: !0
|
|
726
|
-
},
|
|
727
|
-
break:
|
|
728
|
-
case:
|
|
729
|
-
catch:
|
|
730
|
-
continue:
|
|
731
|
-
debugger:
|
|
732
|
-
default:
|
|
733
|
-
do:
|
|
734
|
-
else:
|
|
735
|
-
finally:
|
|
736
|
-
for:
|
|
737
|
-
function:
|
|
726
|
+
}, an = {
|
|
727
|
+
break: Et,
|
|
728
|
+
case: Ct,
|
|
729
|
+
catch: sr,
|
|
730
|
+
continue: ar,
|
|
731
|
+
debugger: lr,
|
|
732
|
+
default: ur,
|
|
733
|
+
do: cr,
|
|
734
|
+
else: fr,
|
|
735
|
+
finally: pr,
|
|
736
|
+
for: hr,
|
|
737
|
+
function: jt,
|
|
738
738
|
if: gr,
|
|
739
|
-
return:
|
|
740
|
-
switch:
|
|
739
|
+
return: dr,
|
|
740
|
+
switch: Ot,
|
|
741
741
|
throw: yr,
|
|
742
|
-
try:
|
|
743
|
-
var:
|
|
742
|
+
try: vr,
|
|
743
|
+
var: At,
|
|
744
744
|
while: It,
|
|
745
|
-
with:
|
|
746
|
-
null:
|
|
747
|
-
true:
|
|
748
|
-
false:
|
|
749
|
-
new:
|
|
745
|
+
with: mr,
|
|
746
|
+
null: Sr,
|
|
747
|
+
true: kr,
|
|
748
|
+
false: Er,
|
|
749
|
+
new: wr,
|
|
750
750
|
in: qe,
|
|
751
751
|
instanceof: {
|
|
752
752
|
l: "instanceof",
|
|
753
753
|
L: 7,
|
|
754
754
|
m: !0
|
|
755
755
|
},
|
|
756
|
-
this:
|
|
756
|
+
this: xr,
|
|
757
757
|
typeof: {
|
|
758
758
|
l: "typeof",
|
|
759
759
|
prefix: !0,
|
|
@@ -769,10 +769,10 @@ var b, Mn = function(e) {
|
|
|
769
769
|
prefix: !0,
|
|
770
770
|
m: !0
|
|
771
771
|
}
|
|
772
|
-
},
|
|
772
|
+
}, bt = {
|
|
773
773
|
type: "[",
|
|
774
774
|
m: !0
|
|
775
|
-
},
|
|
775
|
+
}, Tt = {
|
|
776
776
|
type: "]"
|
|
777
777
|
}, Be = {
|
|
778
778
|
type: "{",
|
|
@@ -793,65 +793,65 @@ var b, Mn = function(e) {
|
|
|
793
793
|
}, Me = {
|
|
794
794
|
type: ":",
|
|
795
795
|
m: !0
|
|
796
|
-
},
|
|
796
|
+
}, Cr = {
|
|
797
797
|
type: "."
|
|
798
|
-
},
|
|
798
|
+
}, jr = {
|
|
799
799
|
type: "?",
|
|
800
800
|
m: !0
|
|
801
|
-
},
|
|
801
|
+
}, Or = {
|
|
802
802
|
L: 10,
|
|
803
803
|
m: !0
|
|
804
|
-
},
|
|
804
|
+
}, Ar = {
|
|
805
805
|
Cb: !0,
|
|
806
806
|
m: !0
|
|
807
|
-
},
|
|
807
|
+
}, ye = {
|
|
808
808
|
Cb: !0,
|
|
809
809
|
m: !0
|
|
810
|
-
},
|
|
810
|
+
}, ln = {
|
|
811
811
|
cc: !0,
|
|
812
812
|
prefix: !0,
|
|
813
813
|
$b: !0
|
|
814
814
|
}, Ir = {
|
|
815
815
|
prefix: !0,
|
|
816
816
|
m: !0
|
|
817
|
-
},
|
|
817
|
+
}, br = {
|
|
818
818
|
L: 1,
|
|
819
819
|
m: !0
|
|
820
|
-
},
|
|
820
|
+
}, Tr = {
|
|
821
821
|
L: 2,
|
|
822
822
|
m: !0
|
|
823
|
-
},
|
|
823
|
+
}, un = {
|
|
824
824
|
L: 3,
|
|
825
825
|
m: !0
|
|
826
|
-
},
|
|
826
|
+
}, cn = {
|
|
827
827
|
L: 4,
|
|
828
828
|
m: !0
|
|
829
|
-
},
|
|
829
|
+
}, fn = {
|
|
830
830
|
L: 5,
|
|
831
831
|
m: !0
|
|
832
|
-
},
|
|
832
|
+
}, pn = {
|
|
833
833
|
L: 6,
|
|
834
834
|
m: !0
|
|
835
|
-
},
|
|
835
|
+
}, hn = {
|
|
836
836
|
L: 7,
|
|
837
837
|
m: !0
|
|
838
838
|
}, gn = {
|
|
839
839
|
L: 8,
|
|
840
840
|
m: !0
|
|
841
|
-
},
|
|
841
|
+
}, dn = {
|
|
842
842
|
L: 9,
|
|
843
843
|
prefix: !0,
|
|
844
844
|
m: !0
|
|
845
845
|
}, yn = {
|
|
846
846
|
L: 10,
|
|
847
847
|
m: !0
|
|
848
|
-
},
|
|
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, Pt = {
|
|
849
849
|
kind: "loop"
|
|
850
|
-
},
|
|
850
|
+
}, Sn = {
|
|
851
851
|
kind: "switch"
|
|
852
852
|
};
|
|
853
853
|
}, Ft = Ft = typeof globalThis == "undefined" ? void 0 : globalThis;
|
|
854
|
-
|
|
854
|
+
Bn(Ft.j || (Ft.j = {}));
|
|
855
855
|
function h(e, t) {
|
|
856
856
|
typeof e == "string" && (e = je(e, "code"));
|
|
857
857
|
var n = e.constructor;
|
|
@@ -867,17 +867,17 @@ function h(e, t) {
|
|
|
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, st(this.ra), s = new
|
|
870
|
+
this.N = _t(this, this.ra, null), this.Na = this.N.object, this.ra = je(this.ba.join(`
|
|
871
|
+
`), "polyfills"), this.ba = void 0, st(this.ra), s = new v(this.ra, this.N), s.done = !1, this.o = [s], this.Eb(), this.value = void 0, this.ra = r, s = new v(this.ra, this.N), s.done = !1, this.o.length = 0, this.o[0] = s;
|
|
872
872
|
}
|
|
873
|
-
var
|
|
873
|
+
var Br = {
|
|
874
874
|
C: !0,
|
|
875
875
|
kc: 5
|
|
876
|
-
},
|
|
876
|
+
}, $t = {
|
|
877
877
|
configurable: !0,
|
|
878
878
|
enumerable: !0,
|
|
879
879
|
writable: !1
|
|
880
|
-
},
|
|
880
|
+
}, y = {
|
|
881
881
|
configurable: !0,
|
|
882
882
|
enumerable: !1,
|
|
883
883
|
writable: !0
|
|
@@ -889,11 +889,11 @@ var Mr = {
|
|
|
889
889
|
configurable: !1,
|
|
890
890
|
enumerable: !1,
|
|
891
891
|
writable: !1
|
|
892
|
-
},
|
|
892
|
+
}, Mr = {
|
|
893
893
|
configurable: !1,
|
|
894
894
|
enumerable: !0,
|
|
895
895
|
writable: !0
|
|
896
|
-
},
|
|
896
|
+
}, Yr = {
|
|
897
897
|
STEP_ERROR: !0
|
|
898
898
|
}, Ae = {
|
|
899
899
|
SCOPE_REFERENCE: !0
|
|
@@ -901,8 +901,8 @@ var Mr = {
|
|
|
901
901
|
VALUE_IN_DESCRIPTOR: !0
|
|
902
902
|
}, Ee = {
|
|
903
903
|
REGEXP_TIMEOUT: !0
|
|
904
|
-
},
|
|
905
|
-
function
|
|
904
|
+
}, Dr = [], se = null, We = null, he = typeof globalThis == "undefined" ? void 0 : globalThis, Mn = ["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
|
+
function Gt(e) {
|
|
906
906
|
var t = e >>> 0;
|
|
907
907
|
return t === Number(e) ? t : NaN;
|
|
908
908
|
}
|
|
@@ -921,18 +921,18 @@ function st(e, t, n) {
|
|
|
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
|
+
I = h.prototype;
|
|
925
|
+
I.P = !1;
|
|
926
|
+
I.Ka = !1;
|
|
927
|
+
I.Kb = 0;
|
|
928
|
+
I.ic = 0;
|
|
929
929
|
function je(e, t) {
|
|
930
930
|
var n = {}, r;
|
|
931
|
-
for (r in
|
|
932
|
-
n[r] =
|
|
931
|
+
for (r in Br)
|
|
932
|
+
n[r] = Br[r];
|
|
933
933
|
return n.sourceFile = t, he.j.parse(e, n);
|
|
934
934
|
}
|
|
935
|
-
|
|
935
|
+
I.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,7 +940,7 @@ b.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
|
+
I.lb = function() {
|
|
944
944
|
var e = this.o, t;
|
|
945
945
|
do {
|
|
946
946
|
var n = e[e.length - 1];
|
|
@@ -952,8 +952,8 @@ b.lb = function() {
|
|
|
952
952
|
if (n = this.ca[0], !n || n.time > Date.now())
|
|
953
953
|
n = null;
|
|
954
954
|
else {
|
|
955
|
-
this.ca.shift(), 0 <= n.interval &&
|
|
956
|
-
var r = new
|
|
955
|
+
this.ca.shift(), 0 <= n.interval && Qr(this, n, n.interval);
|
|
956
|
+
var r = new v(n.node, n.scope);
|
|
957
957
|
n.zb && (r.ia = 2, r.B = this.Na, r.U = n.zb, r.Qa = !0, r.F = n.Lb), n = r;
|
|
958
958
|
}
|
|
959
959
|
if (!n)
|
|
@@ -965,7 +965,7 @@ b.lb = function() {
|
|
|
965
965
|
try {
|
|
966
966
|
var s = this.rb[r.type](e, n, r);
|
|
967
967
|
} catch (a) {
|
|
968
|
-
if (a !==
|
|
968
|
+
if (a !== Yr)
|
|
969
969
|
throw this.value !== a && (this.value = void 0), a;
|
|
970
970
|
} finally {
|
|
971
971
|
We = o;
|
|
@@ -978,17 +978,17 @@ b.lb = function() {
|
|
|
978
978
|
} while (!r.end && t > Date.now());
|
|
979
979
|
return !0;
|
|
980
980
|
};
|
|
981
|
-
|
|
981
|
+
I.Eb = function() {
|
|
982
982
|
for (; !this.za && this.lb(); )
|
|
983
983
|
;
|
|
984
984
|
return this.za;
|
|
985
985
|
};
|
|
986
|
-
function
|
|
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,
|
|
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, y), 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
988
|
var n = e.i(function() {
|
|
989
989
|
throw EvalError("Can't happen");
|
|
990
990
|
}, !1);
|
|
991
|
-
n.eval = !0, e.g(t, "eval", n,
|
|
991
|
+
n.eval = !0, e.g(t, "eval", n, y), e.g(t, "parseInt", e.i(parseInt, !1), y), e.g(t, "parseFloat", e.i(parseFloat, !1), y), e.g(t, "isNaN", e.i(isNaN, !1), y), e.g(t, "isFinite", e.i(isFinite, !1), y);
|
|
992
992
|
for (var r = [[escape, "escape"], [unescape, "unescape"], [decodeURI, "decodeURI"], [decodeURIComponent, "decodeURIComponent"], [encodeURI, "encodeURI"], [encodeURIComponent, "encodeURIComponent"]], o = 0; o < r.length; o++)
|
|
993
993
|
n = function(s) {
|
|
994
994
|
return function(a) {
|
|
@@ -998,26 +998,26 @@ function Un(e, t) {
|
|
|
998
998
|
m(e, e.Gb, f.message);
|
|
999
999
|
}
|
|
1000
1000
|
};
|
|
1001
|
-
}(r[o][0]), e.g(t, r[o][1], e.i(n, !1),
|
|
1001
|
+
}(r[o][0]), e.g(t, r[o][1], e.i(n, !1), y);
|
|
1002
1002
|
n = function(s) {
|
|
1003
|
-
return
|
|
1004
|
-
}, e.g(t, "setTimeout", e.i(n, !1),
|
|
1005
|
-
return
|
|
1006
|
-
}, e.g(t, "setInterval", e.i(n, !1),
|
|
1003
|
+
return Ur(e, !1, arguments);
|
|
1004
|
+
}, e.g(t, "setTimeout", e.i(n, !1), y), n = function(s) {
|
|
1005
|
+
return Ur(e, !0, arguments);
|
|
1006
|
+
}, e.g(t, "setInterval", e.i(n, !1), y), n = function(s) {
|
|
1007
1007
|
Fr(e, s);
|
|
1008
|
-
}, e.g(t, "clearTimeout", e.i(n, !1),
|
|
1008
|
+
}, e.g(t, "clearTimeout", e.i(n, !1), y), n = function(s) {
|
|
1009
1009
|
Fr(e, s);
|
|
1010
|
-
}, e.g(t, "clearInterval", e.i(n, !1),
|
|
1010
|
+
}, e.g(t, "clearInterval", e.i(n, !1), y), 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
1011
|
}
|
|
1012
|
-
|
|
1013
|
-
function
|
|
1012
|
+
I.Wb = 0;
|
|
1013
|
+
function Un(e, t) {
|
|
1014
1014
|
var n = /^[A-Za-z_$][\w$]*$/, r = 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
1018
|
for (var f = 0; f < a.length; f++) {
|
|
1019
|
-
var
|
|
1020
|
-
n.test(
|
|
1019
|
+
var g = a[f];
|
|
1020
|
+
n.test(g) || m(e, e.T, "Invalid function argument: " + g);
|
|
1021
1021
|
}
|
|
1022
1022
|
a = a.join(", ");
|
|
1023
1023
|
}
|
|
@@ -1026,23 +1026,23 @@ function Ln(e, t) {
|
|
|
1026
1026
|
} catch (C) {
|
|
1027
1027
|
m(e, e.T, "Invalid code: " + C.message);
|
|
1028
1028
|
}
|
|
1029
|
-
return O.body.length !== 1 && m(e, e.T, "Invalid code in function body"),
|
|
1029
|
+
return O.body.length !== 1 && m(e, e.T, "Invalid code in function body"), Ht(e, O.body[0].la, e.N, "anonymous");
|
|
1030
1030
|
};
|
|
1031
|
-
e.O = e.i(r, !0), e.g(t, "Function", e.O,
|
|
1031
|
+
e.O = e.i(r, !0), e.g(t, "Function", e.O, y), e.g(e.O, "prototype", e.Z, y), e.g(e.Z, "constructor", e.O, y), e.Z.Ta = function() {
|
|
1032
1032
|
}, e.Z.Ta.id = e.Ya++, e.Z.Ab = !0, e.g(e.Z, "length", 0, X), e.Z.H = "Function", r = 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 =
|
|
1035
|
-
},
|
|
1034
|
+
a.U = this, a.B = o, a.F = [], s != null && (s instanceof A ? a.F = Zr(e, s) : m(e, e.j, "CreateListFromArrayLike called on non-object")), a.eb = !1;
|
|
1035
|
+
}, F(e, e.O, "apply", r), r = 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
|
+
}, F(e, e.O, "call", r), 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;", "}", "});", ""), r = function() {
|
|
1042
1042
|
return String(this);
|
|
1043
|
-
},
|
|
1043
|
+
}, F(e, e.O, "toString", r), e.g(e.O, "toString", e.i(r, !1), y), r = function() {
|
|
1044
1044
|
return this.valueOf();
|
|
1045
|
-
},
|
|
1045
|
+
}, F(e, e.O, "valueOf", r), e.g(e.O, "valueOf", e.i(r, !1), y);
|
|
1046
1046
|
}
|
|
1047
1047
|
function Fn(e, t) {
|
|
1048
1048
|
function n(o) {
|
|
@@ -1057,43 +1057,43 @@ function Fn(e, t) {
|
|
|
1057
1057
|
}
|
|
1058
1058
|
return o;
|
|
1059
1059
|
};
|
|
1060
|
-
e.v = e.i(r, !0), e.g(e.v, "prototype", e.M,
|
|
1060
|
+
e.v = e.i(r, !0), e.g(e.v, "prototype", e.M, y), e.g(e.M, "constructor", e.v, y), e.g(t, "Object", e.v, y), r = function(o) {
|
|
1061
1061
|
return n(o), ie(e, Object.getOwnPropertyNames(o instanceof A ? o.h : o));
|
|
1062
|
-
}, e.g(e.v, "getOwnPropertyNames", e.i(r, !1),
|
|
1062
|
+
}, e.g(e.v, "getOwnPropertyNames", e.i(r, !1), y), r = function(o) {
|
|
1063
1063
|
return n(o), o instanceof A && (o = o.h), ie(e, Object.keys(o));
|
|
1064
|
-
}, e.g(e.v, "keys", e.i(r, !1),
|
|
1064
|
+
}, e.g(e.v, "keys", e.i(r, !1), y), r = function(o) {
|
|
1065
1065
|
return o === null ? e.s(null) : (o instanceof A || m(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(r, !1),
|
|
1066
|
+
}, e.g(e.v, "create", e.i(r, !1), y), 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;", "};", "})();", ""), r = function(o, s, a) {
|
|
1067
1067
|
return s = String(s), o instanceof A || m(e, e.j, "Object.defineProperty called on non-object: " + o), a instanceof A || m(e, e.j, "Property description must be an object"), !o.preventExtensions || s in o.h || m(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(r, !1),
|
|
1068
|
+
}, e.g(e.v, "defineProperty", e.i(r, !1), y), 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;", "}", "});", ""), r = function(o, s) {
|
|
1069
1069
|
if (o instanceof A || m(e, e.j, "Object.getOwnPropertyDescriptor called on non-object: " + o), s = String(s), s in o.h) {
|
|
1070
1070
|
var a = Object.getOwnPropertyDescriptor(o.h, s), f = o.V[s];
|
|
1071
1071
|
return o = o.Y[s], s = e.s(e.M), f || o ? (e.g(s, "get", f), 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
1072
|
}
|
|
1073
|
-
}, e.g(e.v, "getOwnPropertyDescriptor", e.i(r, !1),
|
|
1073
|
+
}, e.g(e.v, "getOwnPropertyDescriptor", e.i(r, !1), y), r = function(o) {
|
|
1074
1074
|
return n(o), ae(e, o);
|
|
1075
|
-
}, e.g(e.v, "getPrototypeOf", e.i(r, !1),
|
|
1075
|
+
}, e.g(e.v, "getPrototypeOf", e.i(r, !1), y), r = function(o) {
|
|
1076
1076
|
return !!o && !o.preventExtensions;
|
|
1077
|
-
}, e.g(e.v, "isExtensible", e.i(r, !1),
|
|
1077
|
+
}, e.g(e.v, "isExtensible", e.i(r, !1), y), r = function(o) {
|
|
1078
1078
|
return o instanceof A && (o.preventExtensions = !0), o;
|
|
1079
|
-
}, e.g(e.v, "preventExtensions", e.i(r, !1),
|
|
1079
|
+
}, e.g(e.v, "preventExtensions", e.i(r, !1), y), F(e, e.v, "toString", A.prototype.toString), F(e, e.v, "toLocaleString", A.prototype.toString), F(e, e.v, "valueOf", A.prototype.valueOf), r = function(o) {
|
|
1080
1080
|
return n(this), this instanceof A ? String(o) in this.h : this.hasOwnProperty(o);
|
|
1081
|
-
},
|
|
1081
|
+
}, F(e, e.v, "hasOwnProperty", r), r = function(o) {
|
|
1082
1082
|
return n(this), this instanceof A ? Object.prototype.propertyIsEnumerable.call(this.h, o) : this.propertyIsEnumerable(o);
|
|
1083
|
-
},
|
|
1083
|
+
}, F(e, e.v, "propertyIsEnumerable", r), r = function(o) {
|
|
1084
1084
|
for (; ; ) {
|
|
1085
1085
|
if (o = ae(e, o), !o)
|
|
1086
1086
|
return !1;
|
|
1087
1087
|
if (o === this)
|
|
1088
1088
|
return !0;
|
|
1089
1089
|
}
|
|
1090
|
-
},
|
|
1090
|
+
}, F(e, e.v, "isPrototypeOf", r);
|
|
1091
1091
|
}
|
|
1092
|
-
function
|
|
1092
|
+
function Ln(e, t) {
|
|
1093
1093
|
var n = function(r) {
|
|
1094
1094
|
var o = le(e) ? this : Oe(e), s = arguments[0];
|
|
1095
1095
|
if (arguments.length === 1 && typeof s == "number")
|
|
1096
|
-
isNaN(
|
|
1096
|
+
isNaN(Gt(s)) && m(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,20 +1101,20 @@ function _n(e, t) {
|
|
|
1101
1101
|
}
|
|
1102
1102
|
return o;
|
|
1103
1103
|
};
|
|
1104
|
-
e.qa = e.i(n, !0), e.La = e.qa.h.prototype, e.g(t, "Array", e.qa,
|
|
1104
|
+
e.qa = e.i(n, !0), e.La = e.qa.h.prototype, e.g(t, "Array", e.qa, y), n = function(r) {
|
|
1105
1105
|
return r && r.H === "Array";
|
|
1106
|
-
}, e.g(e.qa, "isArray", e.i(n, !1),
|
|
1106
|
+
}, e.g(e.qa, "isArray", e.i(n, !1), y), 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
|
-
function
|
|
1112
|
+
function _n(e, t) {
|
|
1113
1113
|
var n = function(r) {
|
|
1114
1114
|
return r = arguments.length ? he.String(r) : "", le(e) ? (this.data = r, this) : r;
|
|
1115
1115
|
};
|
|
1116
|
-
for (e.J = e.i(n, !0), e.g(t, "String", e.J,
|
|
1117
|
-
|
|
1116
|
+
for (e.J = e.i(n, !0), e.g(t, "String", e.J, y), e.g(e.J, "fromCharCode", e.i(String.fromCharCode, !1), y), t = "charAt charCodeAt concat indexOf lastIndexOf slice substr substring toLocaleLowerCase toLocaleUpperCase toLowerCase toUpperCase trim".split(" "), n = 0; n < t.length; n++)
|
|
1117
|
+
F(e, e.J, t[n], String.prototype[t[n]]);
|
|
1118
1118
|
n = function(r, o, s) {
|
|
1119
1119
|
o = e.R(o), s = e.R(s);
|
|
1120
1120
|
try {
|
|
@@ -1122,9 +1122,9 @@ function Wn(e, t) {
|
|
|
1122
1122
|
} catch (a) {
|
|
1123
1123
|
m(e, e.D, "localeCompare: " + a.message);
|
|
1124
1124
|
}
|
|
1125
|
-
},
|
|
1125
|
+
}, F(e, e.J, "localeCompare", n), n = function(r, o, s) {
|
|
1126
1126
|
var a = String(this);
|
|
1127
|
-
if (o = o ? Number(o) : void 0, _(e, r, e.I) && (r = r.data,
|
|
1127
|
+
if (o = o ? Number(o) : void 0, _(e, r, e.I) && (r = r.data, Fe(e, r, s), e.REGEXP_MODE === 2)) {
|
|
1128
1128
|
if (se)
|
|
1129
1129
|
r = Ue(e, "string.split(separator, limit)", {
|
|
1130
1130
|
string: a,
|
|
@@ -1132,9 +1132,9 @@ function Wn(e, t) {
|
|
|
1132
1132
|
limit: o
|
|
1133
1133
|
}, r, s), r !== Ee && s(ie(e, r));
|
|
1134
1134
|
else {
|
|
1135
|
-
var f = e.ha(),
|
|
1135
|
+
var f = e.ha(), g = Le(e, r, f, s);
|
|
1136
1136
|
f.onmessage = function(O) {
|
|
1137
|
-
clearTimeout(
|
|
1137
|
+
clearTimeout(g), s(ie(e, O.data));
|
|
1138
1138
|
}, f.postMessage(["split", a, r, o]);
|
|
1139
1139
|
}
|
|
1140
1140
|
return;
|
|
@@ -1142,39 +1142,39 @@ function Wn(e, t) {
|
|
|
1142
1142
|
r = a.split(r, o), s(ie(e, r));
|
|
1143
1143
|
}, _e(e, e.J, "split", n), n = function(r, o) {
|
|
1144
1144
|
var s = String(this);
|
|
1145
|
-
if (r = _(e, r, e.I) ? r.data : new RegExp(r),
|
|
1145
|
+
if (r = _(e, r, e.I) ? r.data : new RegExp(r), Fe(e, r, o), e.REGEXP_MODE === 2)
|
|
1146
1146
|
if (se)
|
|
1147
1147
|
r = Ue(e, "string.match(regexp)", {
|
|
1148
1148
|
string: s,
|
|
1149
1149
|
regexp: r
|
|
1150
1150
|
}, r, o), r !== Ee && o(r && ie(e, r));
|
|
1151
1151
|
else {
|
|
1152
|
-
var a = e.ha(), f =
|
|
1153
|
-
a.onmessage = function(
|
|
1154
|
-
clearTimeout(f), o(
|
|
1152
|
+
var a = e.ha(), f = Le(e, r, a, o);
|
|
1153
|
+
a.onmessage = function(g) {
|
|
1154
|
+
clearTimeout(f), o(g.data && ie(e, g.data));
|
|
1155
1155
|
}, a.postMessage(["match", s, r]);
|
|
1156
1156
|
}
|
|
1157
1157
|
else
|
|
1158
1158
|
r = s.match(r), o(r && ie(e, r));
|
|
1159
1159
|
}, _e(e, e.J, "match", n), n = function(r, o) {
|
|
1160
1160
|
var s = String(this);
|
|
1161
|
-
if (_(e, r, e.I) ? r = r.data : r = new RegExp(r),
|
|
1161
|
+
if (_(e, r, e.I) ? r = r.data : r = new RegExp(r), Fe(e, r, o), e.REGEXP_MODE === 2)
|
|
1162
1162
|
if (se)
|
|
1163
1163
|
r = Ue(e, "string.search(regexp)", {
|
|
1164
1164
|
string: s,
|
|
1165
1165
|
regexp: r
|
|
1166
1166
|
}, r, o), r !== Ee && o(r);
|
|
1167
1167
|
else {
|
|
1168
|
-
var a = e.ha(), f =
|
|
1169
|
-
a.onmessage = function(
|
|
1170
|
-
clearTimeout(f), o(
|
|
1168
|
+
var a = e.ha(), f = Le(e, r, a, o);
|
|
1169
|
+
a.onmessage = function(g) {
|
|
1170
|
+
clearTimeout(f), o(g.data);
|
|
1171
1171
|
}, a.postMessage(["search", s, r]);
|
|
1172
1172
|
}
|
|
1173
1173
|
else
|
|
1174
1174
|
o(s.search(r));
|
|
1175
1175
|
}, _e(e, e.J, "search", n), n = function(r, o, s) {
|
|
1176
1176
|
var a = String(this);
|
|
1177
|
-
if (o = String(o), _(e, r, e.I) && (r = r.data,
|
|
1177
|
+
if (o = String(o), _(e, r, e.I) && (r = r.data, Fe(e, r, s), e.REGEXP_MODE === 2)) {
|
|
1178
1178
|
if (se)
|
|
1179
1179
|
r = Ue(e, "string.replace(substr, newSubstr)", {
|
|
1180
1180
|
string: a,
|
|
@@ -1182,9 +1182,9 @@ function Wn(e, t) {
|
|
|
1182
1182
|
newSubstr: o
|
|
1183
1183
|
}, r, s), r !== Ee && s(r);
|
|
1184
1184
|
else {
|
|
1185
|
-
var f = e.ha(),
|
|
1185
|
+
var f = e.ha(), g = Le(e, r, f, s);
|
|
1186
1186
|
f.onmessage = function(O) {
|
|
1187
|
-
clearTimeout(
|
|
1187
|
+
clearTimeout(g), s(O.data);
|
|
1188
1188
|
}, f.postMessage(["replace", a, r, o]);
|
|
1189
1189
|
}
|
|
1190
1190
|
return;
|
|
@@ -1192,16 +1192,16 @@ function Wn(e, t) {
|
|
|
1192
1192
|
s(a.replace(r, o));
|
|
1193
1193
|
}, _e(e, e.J, "replace", n), e.ba.push("(function() {", "var replace_ = String.prototype.replace;", "String.prototype.replace = function replace(substr, newSubstr) {", "if (typeof newSubstr !== 'function') {", "return replace_.call(this, substr, newSubstr);", "}", "var str = this;", "if (substr instanceof RegExp) {", "var subs = [];", "var m = substr.exec(str);", "while (m) {", "m.push(m.index, str);", "var inject = newSubstr.apply(null, m);", "subs.push([m.index, m[0].length, inject]);", "m = substr.global ? substr.exec(str) : null;", "}", "for (var i = subs.length - 1; i >= 0; i--) {", "str = str.substring(0, subs[i][0]) + subs[i][2] + str.substring(subs[i][0] + subs[i][1]);", "}", "} else {", "var i = str.indexOf(substr);", "if (i !== -1) {", "var inject = newSubstr(str.substr(i, substr.length), i, str);", "str = str.substring(0, i) + inject + str.substring(i + substr.length);", "}", "}", "return str;", "};", "})();", "");
|
|
1194
1194
|
}
|
|
1195
|
-
function
|
|
1195
|
+
function Wn(e, t) {
|
|
1196
1196
|
e.mb = e.i(function(n) {
|
|
1197
1197
|
return n = he.Boolean(n), le(e) ? (this.data = n, this) : n;
|
|
1198
|
-
}, !0), e.g(t, "Boolean", e.mb,
|
|
1198
|
+
}, !0), e.g(t, "Boolean", e.mb, y);
|
|
1199
1199
|
}
|
|
1200
|
-
function
|
|
1200
|
+
function $n(e, t) {
|
|
1201
1201
|
var n = function(r) {
|
|
1202
1202
|
return r = arguments.length ? he.Number(r) : 0, le(e) ? (this.data = r, this) : r;
|
|
1203
1203
|
};
|
|
1204
|
-
for (e.aa = e.i(n, !0), e.g(t, "Number", e.aa,
|
|
1204
|
+
for (e.aa = e.i(n, !0), e.g(t, "Number", e.aa, y), t = ["MAX_VALUE", "MIN_VALUE", "NaN", "NEGATIVE_INFINITY", "POSITIVE_INFINITY"], n = 0; n < t.length; n++)
|
|
1205
1205
|
e.g(e.aa, t[n], Number[t[n]], De);
|
|
1206
1206
|
n = function(r) {
|
|
1207
1207
|
try {
|
|
@@ -1209,53 +1209,53 @@ function Gn(e, t) {
|
|
|
1209
1209
|
} catch (o) {
|
|
1210
1210
|
m(e, e.D, o.message);
|
|
1211
1211
|
}
|
|
1212
|
-
},
|
|
1212
|
+
}, F(e, e.aa, "toExponential", n), n = function(r) {
|
|
1213
1213
|
try {
|
|
1214
1214
|
return Number(this).toFixed(r);
|
|
1215
1215
|
} catch (o) {
|
|
1216
1216
|
m(e, e.D, o.message);
|
|
1217
1217
|
}
|
|
1218
|
-
},
|
|
1218
|
+
}, F(e, e.aa, "toFixed", n), n = function(r) {
|
|
1219
1219
|
try {
|
|
1220
1220
|
return Number(this).toPrecision(r);
|
|
1221
1221
|
} catch (o) {
|
|
1222
1222
|
m(e, e.D, o.message);
|
|
1223
1223
|
}
|
|
1224
|
-
},
|
|
1224
|
+
}, F(e, e.aa, "toPrecision", n), n = function(r) {
|
|
1225
1225
|
try {
|
|
1226
1226
|
return Number(this).toString(r);
|
|
1227
1227
|
} catch (o) {
|
|
1228
1228
|
m(e, e.D, o.message);
|
|
1229
1229
|
}
|
|
1230
|
-
},
|
|
1230
|
+
}, F(e, e.aa, "toString", n), n = function(r, o) {
|
|
1231
1231
|
r = r ? e.R(r) : void 0, o = o ? e.R(o) : void 0;
|
|
1232
1232
|
try {
|
|
1233
1233
|
return Number(this).toLocaleString(r, o);
|
|
1234
1234
|
} catch (s) {
|
|
1235
1235
|
m(e, e.D, "toLocaleString: " + s.message);
|
|
1236
1236
|
}
|
|
1237
|
-
},
|
|
1237
|
+
}, F(e, e.aa, "toLocaleString", n);
|
|
1238
1238
|
}
|
|
1239
|
-
function
|
|
1239
|
+
function Gn(e, t) {
|
|
1240
1240
|
var n = function(o, s) {
|
|
1241
1241
|
if (!le(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(n, !0), e.nb = e.$.h.prototype, e.g(t, "Date", e.$,
|
|
1246
|
+
e.$ = e.i(n, !0), e.nb = e.$.h.prototype, e.g(t, "Date", e.$, y), e.g(e.$, "now", e.i(Date.now, !1), y), e.g(e.$, "parse", e.i(Date.parse, !1), y), e.g(e.$, "UTC", e.i(Date.UTC, !1), y), 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
1247
|
for (var r = 0; r < t.length; r++)
|
|
1248
1248
|
n = function(o) {
|
|
1249
1249
|
return function(s) {
|
|
1250
1250
|
var a = this.data;
|
|
1251
1251
|
a instanceof Date || m(e, e.j, o + " not called on a Date");
|
|
1252
|
-
for (var f = [],
|
|
1253
|
-
f[
|
|
1252
|
+
for (var f = [], g = 0; g < arguments.length; g++)
|
|
1253
|
+
f[g] = e.R(arguments[g]);
|
|
1254
1254
|
return a[o].apply(a, f);
|
|
1255
1255
|
};
|
|
1256
|
-
}(t[r]),
|
|
1256
|
+
}(t[r]), F(e, e.$, t[r], n);
|
|
1257
1257
|
}
|
|
1258
|
-
function
|
|
1258
|
+
function Vn(e, t) {
|
|
1259
1259
|
var n = function(r, o) {
|
|
1260
1260
|
if (le(e))
|
|
1261
1261
|
var s = this;
|
|
@@ -1270,9 +1270,9 @@ function Xn(e, t) {
|
|
|
1270
1270
|
} catch (f) {
|
|
1271
1271
|
m(e, e.T, f.message);
|
|
1272
1272
|
}
|
|
1273
|
-
return
|
|
1273
|
+
return Vt(e, s, a), s;
|
|
1274
1274
|
};
|
|
1275
|
-
e.I = e.i(n, !0), e.Ma = e.I.h.prototype, e.g(t, "RegExp", e.I,
|
|
1275
|
+
e.I = e.i(n, !0), e.Ma = e.I.h.prototype, e.g(t, "RegExp", e.I, y), 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);", "}", "});"), n = function(r, o) {
|
|
1276
1276
|
function s(C) {
|
|
1277
1277
|
if (C) {
|
|
1278
1278
|
var w = ie(e, C);
|
|
@@ -1281,47 +1281,47 @@ function Xn(e, t) {
|
|
|
1281
1281
|
return null;
|
|
1282
1282
|
}
|
|
1283
1283
|
var a = this.data;
|
|
1284
|
-
if (r = String(r), a.lastIndex = Number(e.G(this, "lastIndex")),
|
|
1284
|
+
if (r = String(r), a.lastIndex = Number(e.G(this, "lastIndex")), Fe(e, a, o), e.REGEXP_MODE === 2)
|
|
1285
1285
|
if (se)
|
|
1286
1286
|
r = Ue(e, "regexp.exec(string)", {
|
|
1287
1287
|
string: r,
|
|
1288
1288
|
regexp: a
|
|
1289
1289
|
}, a, o), r !== Ee && (e.g(this, "lastIndex", a.lastIndex), o(s(r)));
|
|
1290
1290
|
else {
|
|
1291
|
-
var f = e.ha(),
|
|
1291
|
+
var f = e.ha(), g = Le(e, a, f, o), O = this;
|
|
1292
1292
|
f.onmessage = function(C) {
|
|
1293
|
-
clearTimeout(
|
|
1293
|
+
clearTimeout(g), e.g(O, "lastIndex", C.data[1]), o(s(C.data[0]));
|
|
1294
1294
|
}, f.postMessage(["exec", a, a.lastIndex, r]);
|
|
1295
1295
|
}
|
|
1296
1296
|
else
|
|
1297
1297
|
r = a.exec(r), e.g(this, "lastIndex", a.lastIndex), o(s(r));
|
|
1298
1298
|
}, _e(e, e.I, "exec", n);
|
|
1299
1299
|
}
|
|
1300
|
-
function
|
|
1300
|
+
function Xn(e, t) {
|
|
1301
1301
|
function n(r) {
|
|
1302
1302
|
var o = e.i(function(s) {
|
|
1303
1303
|
var a = le(e) ? this : e.Aa(o);
|
|
1304
|
-
return
|
|
1304
|
+
return Lt(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), y), e.g(o.h.prototype, "name", r, y), e.g(t, r, o, y), o;
|
|
1307
1307
|
}
|
|
1308
1308
|
e.D = e.i(function(r) {
|
|
1309
1309
|
var o = le(e) ? this : e.Aa(e.D);
|
|
1310
|
-
return
|
|
1311
|
-
}, !0), e.g(t, "Error", e.D,
|
|
1310
|
+
return Lt(e, o, r), o;
|
|
1311
|
+
}, !0), e.g(t, "Error", e.D, y), e.g(e.D.h.prototype, "message", "", y), e.g(e.D.h.prototype, "name", "Error", y), n("EvalError"), e.ob = n("RangeError"), e.pb = n("ReferenceError"), e.T = n("SyntaxError"), e.j = n("TypeError"), e.Gb = n("URIError");
|
|
1312
1312
|
}
|
|
1313
|
-
function
|
|
1313
|
+
function Hn(e, t) {
|
|
1314
1314
|
var n = e.s(e.M);
|
|
1315
|
-
e.g(t, "Math", n,
|
|
1315
|
+
e.g(t, "Math", n, y);
|
|
1316
1316
|
var r = "E LN2 LN10 LOG2E LOG10E PI SQRT1_2 SQRT2".split(" ");
|
|
1317
1317
|
for (t = 0; t < r.length; t++)
|
|
1318
1318
|
e.g(n, r[t], Math[r[t]], X);
|
|
1319
1319
|
for (r = "abs acos asin atan atan2 ceil cos exp floor log max min pow random round sin sqrt tan".split(" "), t = 0; t < r.length; t++)
|
|
1320
|
-
e.g(n, r[t], e.i(Math[r[t]], !1),
|
|
1320
|
+
e.g(n, r[t], e.i(Math[r[t]], !1), y);
|
|
1321
1321
|
}
|
|
1322
|
-
function
|
|
1322
|
+
function Kn(e, t) {
|
|
1323
1323
|
var n = e.s(e.M);
|
|
1324
|
-
e.g(t, "JSON", n,
|
|
1324
|
+
e.g(t, "JSON", n, y), t = function(r) {
|
|
1325
1325
|
try {
|
|
1326
1326
|
var o = JSON.parse(String(r));
|
|
1327
1327
|
} catch (s) {
|
|
@@ -1329,7 +1329,7 @@ function Jn(e, t) {
|
|
|
1329
1329
|
}
|
|
1330
1330
|
return e.Ia(o);
|
|
1331
1331
|
}, e.g(n, "parse", e.i(t, !1)), t = function(r, o, s) {
|
|
1332
|
-
o && o.H === "Function" ? m(e, e.j, "Function replacer on JSON.stringify not supported") : o && o.H === "Array" ? (o =
|
|
1332
|
+
o && o.H === "Function" ? m(e, e.j, "Function replacer on JSON.stringify not supported") : o && o.H === "Array" ? (o = Zr(e, o), o = o.filter(function(f) {
|
|
1333
1333
|
return typeof f == "string" || typeof f == "number";
|
|
1334
1334
|
})) : o = null, typeof s != "string" && typeof s != "number" && (s = void 0), r = e.R(r);
|
|
1335
1335
|
try {
|
|
@@ -1352,11 +1352,11 @@ function _(e, t, n) {
|
|
|
1352
1352
|
}
|
|
1353
1353
|
return !1;
|
|
1354
1354
|
}
|
|
1355
|
-
function
|
|
1356
|
-
t.data = new RegExp(n.source, n.flags), e.g(t, "lastIndex", n.lastIndex,
|
|
1355
|
+
function Vt(e, t, n) {
|
|
1356
|
+
t.data = new RegExp(n.source, n.flags), e.g(t, "lastIndex", n.lastIndex, y), e.g(t, "source", n.source, X), e.g(t, "global", n.global, X), e.g(t, "ignoreCase", n.ignoreCase, X), e.g(t, "multiline", n.multiline, X);
|
|
1357
1357
|
}
|
|
1358
|
-
function
|
|
1359
|
-
n && e.g(t, "message", String(n),
|
|
1358
|
+
function Lt(e, t, n) {
|
|
1359
|
+
n && e.g(t, "message", String(n), y), n = [];
|
|
1360
1360
|
for (var r = e.o.length - 1; 0 <= r; r--) {
|
|
1361
1361
|
var o = e.o[r], s = o.node;
|
|
1362
1362
|
s.type === "CallExpression" && (o = o.U) && n.length && (n[n.length - 1].Ob = e.G(o, "name")), !s.X || n.length && s.type !== "CallExpression" || n.push({
|
|
@@ -1370,11 +1370,11 @@ function _t(e, t, n) {
|
|
|
1370
1370
|
`) : s + (" at " + a + `
|
|
1371
1371
|
`);
|
|
1372
1372
|
}
|
|
1373
|
-
e.g(t, "stack", s.trim(),
|
|
1373
|
+
e.g(t, "stack", s.trim(), y);
|
|
1374
1374
|
}
|
|
1375
|
-
|
|
1375
|
+
I.ha = function() {
|
|
1376
1376
|
var e = this.ha.Mb;
|
|
1377
|
-
return e || (e = new Blob([
|
|
1377
|
+
return e || (e = new Blob([Mn.join(`
|
|
1378
1378
|
`)], {
|
|
1379
1379
|
type: "application/javascript"
|
|
1380
1380
|
}), this.ha.Mb = e), new Worker(URL.createObjectURL(e));
|
|
@@ -1390,7 +1390,7 @@ function Ue(e, t, n, r, o) {
|
|
|
1390
1390
|
}
|
|
1391
1391
|
return Ee;
|
|
1392
1392
|
}
|
|
1393
|
-
function
|
|
1393
|
+
function Fe(e, t, n) {
|
|
1394
1394
|
if (e.REGEXP_MODE === 0)
|
|
1395
1395
|
var r = !1;
|
|
1396
1396
|
else if (e.REGEXP_MODE === 1)
|
|
@@ -1409,7 +1409,7 @@ function Le(e, t, n) {
|
|
|
1409
1409
|
r = !1;
|
|
1410
1410
|
r || (n(null), m(e, e.D, "Regular expressions not supported: " + t));
|
|
1411
1411
|
}
|
|
1412
|
-
function
|
|
1412
|
+
function Le(e, t, n, r) {
|
|
1413
1413
|
return setTimeout(function() {
|
|
1414
1414
|
n.terminate(), r(null);
|
|
1415
1415
|
try {
|
|
@@ -1418,10 +1418,10 @@ function Fe(e, t, n, r) {
|
|
|
1418
1418
|
}
|
|
1419
1419
|
}, e.REGEXP_THREAD_TIMEOUT);
|
|
1420
1420
|
}
|
|
1421
|
-
|
|
1421
|
+
I.Aa = function(e) {
|
|
1422
1422
|
return this.s(e && e.h.prototype);
|
|
1423
1423
|
};
|
|
1424
|
-
|
|
1424
|
+
I.s = function(e) {
|
|
1425
1425
|
if (typeof e != "object")
|
|
1426
1426
|
throw Error("Non object prototype");
|
|
1427
1427
|
return e = new A(e), _(this, e, this.D) && (e.H = "Error"), e;
|
|
@@ -1434,29 +1434,29 @@ function Oe(e) {
|
|
|
1434
1434
|
writable: !0
|
|
1435
1435
|
}), t.H = "Array", t;
|
|
1436
1436
|
}
|
|
1437
|
-
function
|
|
1437
|
+
function Xt(e, t, n) {
|
|
1438
1438
|
var r = e.s(e.Z);
|
|
1439
|
-
return n ? (n = e.s(e.M), e.g(r, "prototype", n,
|
|
1439
|
+
return n ? (n = e.s(e.M), e.g(r, "prototype", n, y), e.g(n, "constructor", r, y)) : r.Ab = !0, e.g(r, "length", t, X), r.H = "Function", r;
|
|
1440
1440
|
}
|
|
1441
|
-
function
|
|
1442
|
-
var o =
|
|
1441
|
+
function Ht(e, t, n, r) {
|
|
1442
|
+
var o = Xt(e, t.oa.length, !0);
|
|
1443
1443
|
return o.Va = n, o.node = t, e.g(o, "name", t.id ? String(t.id.name) : r || "", X), o;
|
|
1444
1444
|
}
|
|
1445
|
-
|
|
1446
|
-
return t =
|
|
1445
|
+
I.i = function(e, t) {
|
|
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
|
-
|
|
1449
|
-
var t =
|
|
1448
|
+
I.ub = function(e) {
|
|
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
|
+
I.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")
|
|
1456
1456
|
return e;
|
|
1457
1457
|
if (e instanceof RegExp) {
|
|
1458
1458
|
var t = this.s(this.Ma);
|
|
1459
|
-
return
|
|
1459
|
+
return Vt(this, t, e), t;
|
|
1460
1460
|
}
|
|
1461
1461
|
if (e instanceof Date)
|
|
1462
1462
|
return t = this.s(this.nb), t.data = new Date(e.valueOf()), t;
|
|
@@ -1480,7 +1480,7 @@ b.Ia = function(e) {
|
|
|
1480
1480
|
this.g(t, r, this.Ia(e[r]));
|
|
1481
1481
|
return t;
|
|
1482
1482
|
};
|
|
1483
|
-
|
|
1483
|
+
I.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))
|
|
@@ -1515,11 +1515,11 @@ function ie(e, t) {
|
|
|
1515
1515
|
e.g(n, r[o], t[r[o]]);
|
|
1516
1516
|
return n;
|
|
1517
1517
|
}
|
|
1518
|
-
function
|
|
1518
|
+
function Zr(e, t) {
|
|
1519
1519
|
var n = [], r;
|
|
1520
1520
|
for (r in t.h)
|
|
1521
1521
|
n[r] = e.G(t, r);
|
|
1522
|
-
return n.length =
|
|
1522
|
+
return n.length = Gt(e.G(t, "length")) || 0, n;
|
|
1523
1523
|
}
|
|
1524
1524
|
function ae(e, t) {
|
|
1525
1525
|
switch (typeof t) {
|
|
@@ -1532,7 +1532,7 @@ function ae(e, t) {
|
|
|
1532
1532
|
}
|
|
1533
1533
|
return t ? t.xa : null;
|
|
1534
1534
|
}
|
|
1535
|
-
|
|
1535
|
+
I.G = function(e, t) {
|
|
1536
1536
|
if (this.P)
|
|
1537
1537
|
throw Error("Getter not supported in that context");
|
|
1538
1538
|
if (t = String(t), e != null || m(this, this.j, "Cannot read property '" + t + "' of " + e), typeof e == "object" && !(e instanceof A))
|
|
@@ -1566,13 +1566,13 @@ function at(e, t, n) {
|
|
|
1566
1566
|
while (t = ae(e, t));
|
|
1567
1567
|
return !1;
|
|
1568
1568
|
}
|
|
1569
|
-
|
|
1569
|
+
I.g = function(e, t, n, r) {
|
|
1570
1570
|
if (this.Ka)
|
|
1571
1571
|
throw Error("Setter not supported in that context");
|
|
1572
1572
|
if (t = String(t), e != null || m(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
|
r && ("get" in r || "set" in r) && ("value" in r || "writable" in r) && m(this, this.j, "Invalid property descriptor. Cannot both specify accessors and a value or writable attribute");
|
|
1575
|
-
var o = !this.o ||
|
|
1575
|
+
var o = !this.o || Kt(this).S;
|
|
1576
1576
|
if (e instanceof A) {
|
|
1577
1577
|
if (_(this, e, this.J)) {
|
|
1578
1578
|
var s = $e(t);
|
|
@@ -1588,7 +1588,7 @@ b.g = function(e, t, n, r) {
|
|
|
1588
1588
|
return;
|
|
1589
1589
|
n = r.value;
|
|
1590
1590
|
}
|
|
1591
|
-
if (n =
|
|
1591
|
+
if (n = Gt(n), isNaN(n) && m(this, this.ob, "Invalid array length"), n < s)
|
|
1592
1592
|
for (a in e.h) {
|
|
1593
1593
|
var a = $e(a);
|
|
1594
1594
|
!isNaN(a) && n <= a && delete e.h[a];
|
|
@@ -1628,24 +1628,24 @@ b.g = function(e, t, n, r) {
|
|
|
1628
1628
|
} else
|
|
1629
1629
|
o && m(this, this.j, "Can't create property '" + t + "' on '" + e + "'");
|
|
1630
1630
|
};
|
|
1631
|
-
|
|
1631
|
+
I.g.ac = function() {
|
|
1632
1632
|
throw Error("Placeholder getter");
|
|
1633
1633
|
};
|
|
1634
|
-
|
|
1634
|
+
I.g.bc = function() {
|
|
1635
1635
|
throw Error("Placeholder setter");
|
|
1636
1636
|
};
|
|
1637
|
-
function
|
|
1638
|
-
e.g(t.h.prototype, n, e.i(r, !1),
|
|
1637
|
+
function F(e, t, n, r) {
|
|
1638
|
+
e.g(t.h.prototype, n, e.i(r, !1), y);
|
|
1639
1639
|
}
|
|
1640
1640
|
function _e(e, t, n, r) {
|
|
1641
|
-
e.g(t.h.prototype, n, e.ub(r),
|
|
1641
|
+
e.g(t.h.prototype, n, e.ub(r), y);
|
|
1642
1642
|
}
|
|
1643
|
-
function
|
|
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
|
|
1648
|
+
function _t(e, t, n) {
|
|
1649
1649
|
var r = !1;
|
|
1650
1650
|
if (n && n.S)
|
|
1651
1651
|
r = !0;
|
|
@@ -1653,15 +1653,15 @@ function Wt(e, t, n) {
|
|
|
1653
1653
|
var o = t.body && t.body[0];
|
|
1654
1654
|
o && o.la && o.la.type === "Literal" && o.la.value === "use strict" && (r = !0);
|
|
1655
1655
|
}
|
|
1656
|
-
return o = e.s(null), r = new
|
|
1656
|
+
return o = e.s(null), r = new qr(n, r, o), n || Dn(e, r.object), Xe(e, t, r), r;
|
|
1657
1657
|
}
|
|
1658
|
-
function
|
|
1658
|
+
function Jt(e, t, n) {
|
|
1659
1659
|
if (!t)
|
|
1660
1660
|
throw Error("parentScope required");
|
|
1661
|
-
return e = n || e.s(null), new
|
|
1661
|
+
return e = n || e.s(null), new qr(t, t.S, e);
|
|
1662
1662
|
}
|
|
1663
|
-
function
|
|
1664
|
-
for (var n =
|
|
1663
|
+
function Yt(e, t) {
|
|
1664
|
+
for (var n = Kt(e); n && n !== e.N; ) {
|
|
1665
1665
|
if (t in n.object.h)
|
|
1666
1666
|
return n.object.h[t];
|
|
1667
1667
|
n = n.Va;
|
|
@@ -1670,8 +1670,8 @@ function Zt(e, t) {
|
|
|
1670
1670
|
return e.G(n.object, t);
|
|
1671
1671
|
n = e.o[e.o.length - 1].node, n.type === "UnaryExpression" && n.operator === "typeof" || m(e, e.pb, t + " is not defined");
|
|
1672
1672
|
}
|
|
1673
|
-
function
|
|
1674
|
-
for (var r =
|
|
1673
|
+
function zr(e, t, n) {
|
|
1674
|
+
for (var r = Kt(e), o = r.S; r && r !== e.N; ) {
|
|
1675
1675
|
if (t in r.object.h) {
|
|
1676
1676
|
try {
|
|
1677
1677
|
r.object.h[t] = n;
|
|
@@ -1719,33 +1719,33 @@ function Xe(e, t, n) {
|
|
|
1719
1719
|
if (Array.isArray(f)) {
|
|
1720
1720
|
for (o = 0; o < f.length; o++)
|
|
1721
1721
|
if (f[o] && f[o].constructor === s) {
|
|
1722
|
-
var
|
|
1723
|
-
for (a in
|
|
1724
|
-
r[a] =
|
|
1722
|
+
var g = Xe(e, f[o], n);
|
|
1723
|
+
for (a in g)
|
|
1724
|
+
r[a] = g[a];
|
|
1725
1725
|
}
|
|
1726
1726
|
} else if (f.constructor === s)
|
|
1727
|
-
for (a in
|
|
1728
|
-
r[a] =
|
|
1727
|
+
for (a in g = Xe(e, f, n), g)
|
|
1728
|
+
r[a] = g[a];
|
|
1729
1729
|
}
|
|
1730
1730
|
}
|
|
1731
1731
|
}
|
|
1732
1732
|
t.jb = r;
|
|
1733
1733
|
}
|
|
1734
1734
|
for (a in r)
|
|
1735
|
-
r[a] === !0 ? e.g(n.object, a, void 0,
|
|
1735
|
+
r[a] === !0 ? e.g(n.object, a, void 0, Mr) : e.g(n.object, a, Ht(e, r[a], n), Mr);
|
|
1736
1736
|
return r;
|
|
1737
1737
|
}
|
|
1738
1738
|
function le(e) {
|
|
1739
1739
|
return e.o[e.o.length - 1].isConstructor;
|
|
1740
1740
|
}
|
|
1741
|
-
function
|
|
1742
|
-
return t[0] === Ae ?
|
|
1741
|
+
function Zt(e, t) {
|
|
1742
|
+
return t[0] === Ae ? Yt(e, t[1]) : e.G(t[0], t[1]);
|
|
1743
1743
|
}
|
|
1744
|
-
function
|
|
1745
|
-
return t[0] === Ae ?
|
|
1744
|
+
function zt(e, t, n) {
|
|
1745
|
+
return t[0] === Ae ? zr(e, t[1], n) : e.g(t[0], t[1], n);
|
|
1746
1746
|
}
|
|
1747
1747
|
function m(e, t, n) {
|
|
1748
|
-
throw e.N ? (n !== void 0 && t instanceof A && (t = e.Aa(t),
|
|
1748
|
+
throw e.N ? (n !== void 0 && t instanceof A && (t = e.Aa(t), Lt(e, t, n)), He(e, 4, t), Yr) : n === void 0 ? t : n;
|
|
1749
1749
|
}
|
|
1750
1750
|
function He(e, t, n, r) {
|
|
1751
1751
|
if (t === 0)
|
|
@@ -1823,7 +1823,7 @@ function V(e, t) {
|
|
|
1823
1823
|
}
|
|
1824
1824
|
return "???";
|
|
1825
1825
|
}
|
|
1826
|
-
function
|
|
1826
|
+
function Ur(e, t, n) {
|
|
1827
1827
|
var r = e.o[e.o.length - 1], o = Array.from(n), s = o.shift();
|
|
1828
1828
|
n = Math.max(Number(o.shift() || 0), 0);
|
|
1829
1829
|
var a = e.ya();
|
|
@@ -1832,15 +1832,15 @@ function Lr(e, t, n) {
|
|
|
1832
1832
|
a.type = "CallExpression", r = r.scope;
|
|
1833
1833
|
} else {
|
|
1834
1834
|
try {
|
|
1835
|
-
var
|
|
1835
|
+
var g = je(String(s), "taskCode" + e.ic++);
|
|
1836
1836
|
} catch (O) {
|
|
1837
1837
|
m(e, e.T, "Invalid code: " + O.message);
|
|
1838
1838
|
}
|
|
1839
|
-
a.type = "EvalProgram_", a.body =
|
|
1839
|
+
a.type = "EvalProgram_", a.body = g.body, r = r.node.arguments[0], st(a, r ? r.start : void 0, r ? r.end : void 0), r = e.N, o.length = 0;
|
|
1840
1840
|
}
|
|
1841
|
-
return t = new
|
|
1841
|
+
return t = new Jn(f, o, r, a, t ? n : -1), Qr(e, t, n), t.Db;
|
|
1842
1842
|
}
|
|
1843
|
-
function
|
|
1843
|
+
function Qr(e, t, n) {
|
|
1844
1844
|
t.time = Date.now() + n, e.ca.push(t), e.ca.sort(function(r, o) {
|
|
1845
1845
|
return r.time - o.time;
|
|
1846
1846
|
});
|
|
@@ -1857,47 +1857,47 @@ function Ke(e, t, n) {
|
|
|
1857
1857
|
throw Error("Unexpected call to createGetter");
|
|
1858
1858
|
e.P = !1, n = Array.isArray(n) ? n[0] : n;
|
|
1859
1859
|
var r = e.ya();
|
|
1860
|
-
return r.type = "CallExpression", e = new
|
|
1860
|
+
return r.type = "CallExpression", e = new v(r, e.o[e.o.length - 1].scope), e.ia = 2, e.B = n, e.U = t, e.Qa = !0, e.F = [], e;
|
|
1861
1861
|
}
|
|
1862
|
-
function
|
|
1862
|
+
function Qt(e, t, n, r) {
|
|
1863
1863
|
if (!e.Ka)
|
|
1864
1864
|
throw Error("Unexpected call to createSetter");
|
|
1865
1865
|
e.Ka = !1, n = Array.isArray(n) ? n[0] : e.Na;
|
|
1866
1866
|
var o = e.ya();
|
|
1867
|
-
return o.type = "CallExpression", e = new
|
|
1867
|
+
return o.type = "CallExpression", e = new v(o, e.o[e.o.length - 1].scope), e.ia = 2, e.B = n, e.U = t, e.Qa = !0, e.F = [r], e;
|
|
1868
1868
|
}
|
|
1869
|
-
function
|
|
1869
|
+
function Bt(e, t) {
|
|
1870
1870
|
return t == null ? e.Na : t instanceof A ? t : (e = e.s(ae(e, t)), e.data = t, e);
|
|
1871
1871
|
}
|
|
1872
|
-
|
|
1872
|
+
I.Xb = function() {
|
|
1873
1873
|
return this.N;
|
|
1874
1874
|
};
|
|
1875
|
-
|
|
1875
|
+
I.Yb = function() {
|
|
1876
1876
|
return this.o;
|
|
1877
1877
|
};
|
|
1878
|
-
|
|
1878
|
+
I.ec = function(e) {
|
|
1879
1879
|
this.o = e;
|
|
1880
1880
|
};
|
|
1881
|
-
function
|
|
1881
|
+
function v(e, t) {
|
|
1882
1882
|
this.node = e, this.scope = t;
|
|
1883
1883
|
}
|
|
1884
|
-
function
|
|
1884
|
+
function qr(e, t, n) {
|
|
1885
1885
|
this.Va = e, this.S = t, this.object = n;
|
|
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
|
+
I = A.prototype;
|
|
1891
|
+
I.xa = null;
|
|
1892
|
+
I.H = "Object";
|
|
1893
|
+
I.data = null;
|
|
1894
|
+
I.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 = Dr;
|
|
1901
1901
|
e.push(this);
|
|
1902
1902
|
try {
|
|
1903
1903
|
var t = [], n = this.h.length, r = !1;
|
|
@@ -1913,7 +1913,7 @@ b.toString = function() {
|
|
|
1913
1913
|
return t.join(",");
|
|
1914
1914
|
}
|
|
1915
1915
|
if (this.H === "Error") {
|
|
1916
|
-
if (e =
|
|
1916
|
+
if (e = Dr, e.indexOf(this) !== -1)
|
|
1917
1917
|
return "[object Error]";
|
|
1918
1918
|
n = this;
|
|
1919
1919
|
do
|
|
@@ -1939,28 +1939,28 @@ b.toString = function() {
|
|
|
1939
1939
|
}
|
|
1940
1940
|
return this.data !== null ? String(this.data) : "[object " + this.H + "]";
|
|
1941
1941
|
};
|
|
1942
|
-
|
|
1942
|
+
I.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
|
|
1946
|
-
this.zb = e, this.Lb = t, this.scope = n, this.node = r, this.interval = o, this.Db = ++
|
|
1945
|
+
function Jn(e, t, n, r, o) {
|
|
1946
|
+
this.zb = e, this.Lb = t, this.scope = n, this.node = r, this.interval = o, this.Db = ++Yn, this.time = 0;
|
|
1947
1947
|
}
|
|
1948
|
-
var
|
|
1948
|
+
var Yn = 0;
|
|
1949
1949
|
h.prototype.stepArrayExpression = function(e, t, n) {
|
|
1950
1950
|
n = n.elements;
|
|
1951
1951
|
var r = t.A || 0;
|
|
1952
1952
|
for (t.Oa ? (this.g(t.Oa, r, t.value), r++) : (t.Oa = Oe(this), t.Oa.h.length = n.length); r < n.length; ) {
|
|
1953
1953
|
if (n[r])
|
|
1954
|
-
return t.A = r, new
|
|
1954
|
+
return t.A = r, new v(n[r], t.scope);
|
|
1955
1955
|
r++;
|
|
1956
1956
|
}
|
|
1957
1957
|
e.pop(), e[e.length - 1].value = t.Oa;
|
|
1958
1958
|
};
|
|
1959
1959
|
h.prototype.stepAssignmentExpression = function(e, t, n) {
|
|
1960
1960
|
if (!t.ja)
|
|
1961
|
-
return t.ja = !0, t = new
|
|
1961
|
+
return t.ja = !0, t = new v(n.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 && n.operator !== "=" && (e =
|
|
1963
|
+
return t.Fa || (t.Fa = t.value), t.Ba && (t.ma = t.value), !t.Ba && n.operator !== "=" && (e = Zt(this, t.Fa), t.ma = e, this.P) ? (t.Ba = !0, Ke(this, e, t.Fa)) : (t.Da = !0, n.operator === "=" && n.left.type === "Identifier" && (t.Pa = n.left.name), new v(n.right, t.scope));
|
|
1964
1964
|
if (t.ta)
|
|
1965
1965
|
e.pop(), e[e.length - 1].value = t.ib;
|
|
1966
1966
|
else {
|
|
@@ -2005,16 +2005,16 @@ h.prototype.stepAssignmentExpression = function(e, t, n) {
|
|
|
2005
2005
|
default:
|
|
2006
2006
|
throw SyntaxError("Unknown assignment expression: " + n.operator);
|
|
2007
2007
|
}
|
|
2008
|
-
if (n =
|
|
2009
|
-
return t.ta = !0, t.ib = r,
|
|
2008
|
+
if (n = zt(this, t.Fa, r))
|
|
2009
|
+
return t.ta = !0, t.ib = r, Qt(this, n, t.Fa, r);
|
|
2010
2010
|
e.pop(), e[e.length - 1].value = r;
|
|
2011
2011
|
}
|
|
2012
2012
|
};
|
|
2013
2013
|
h.prototype.stepBinaryExpression = function(e, t, n) {
|
|
2014
2014
|
if (!t.ja)
|
|
2015
|
-
return t.ja = !0, new
|
|
2015
|
+
return t.ja = !0, new v(n.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 v(n.right, t.scope);
|
|
2018
2018
|
e.pop();
|
|
2019
2019
|
var r = t.ma;
|
|
2020
2020
|
switch (t = t.value, n.operator) {
|
|
@@ -2089,7 +2089,7 @@ h.prototype.stepBinaryExpression = function(e, t, n) {
|
|
|
2089
2089
|
h.prototype.stepBlockStatement = function(e, t, n) {
|
|
2090
2090
|
var r = t.A || 0;
|
|
2091
2091
|
if (n = n.body[r])
|
|
2092
|
-
return t.A = r + 1, new
|
|
2092
|
+
return t.A = r + 1, new v(n, t.scope);
|
|
2093
2093
|
e.pop();
|
|
2094
2094
|
};
|
|
2095
2095
|
h.prototype.stepBreakStatement = function(e, t, n) {
|
|
@@ -2099,14 +2099,14 @@ h.prototype.Hb = 0;
|
|
|
2099
2099
|
h.prototype.stepCallExpression = function(e, t, n) {
|
|
2100
2100
|
if (!t.ia) {
|
|
2101
2101
|
t.ia = 1;
|
|
2102
|
-
var r = new
|
|
2102
|
+
var r = new v(n.callee, t.scope);
|
|
2103
2103
|
return r.sa = !0, r;
|
|
2104
2104
|
}
|
|
2105
2105
|
if (t.ia === 1) {
|
|
2106
2106
|
t.ia = 2;
|
|
2107
2107
|
var o = t.value;
|
|
2108
2108
|
if (Array.isArray(o)) {
|
|
2109
|
-
if (t.U =
|
|
2109
|
+
if (t.U = Zt(this, o), o[0] === Ae ? t.Pb = o[1] === "eval" : t.B = o[0], o = t.U, this.P)
|
|
2110
2110
|
return t.ia = 1, Ke(this, o, t.value);
|
|
2111
2111
|
} else
|
|
2112
2112
|
t.U = o;
|
|
@@ -2114,7 +2114,7 @@ h.prototype.stepCallExpression = function(e, t, n) {
|
|
|
2114
2114
|
}
|
|
2115
2115
|
if (o = t.U, !t.Qa) {
|
|
2116
2116
|
if (t.A !== 0 && t.F.push(t.value), n.arguments[t.A])
|
|
2117
|
-
return new
|
|
2117
|
+
return new v(n.arguments[t.A++], t.scope);
|
|
2118
2118
|
if (n.type === "NewExpression") {
|
|
2119
2119
|
if (o instanceof A && !o.Ab || m(this, this.j, V(this, n.callee) + " is not a constructor"), o === this.qa)
|
|
2120
2120
|
t.B = Oe(this);
|
|
@@ -2130,11 +2130,11 @@ h.prototype.stepCallExpression = function(e, t, n) {
|
|
|
2130
2130
|
e.pop(), e[e.length - 1].value = t.isConstructor && typeof t.value != "object" ? t.B : t.value;
|
|
2131
2131
|
else {
|
|
2132
2132
|
if (t.eb = !0, o instanceof A || m(this, this.j, V(this, n.callee) + " is not a function"), e = o.node) {
|
|
2133
|
-
for (n =
|
|
2133
|
+
for (n = _t(this, e.body, o.Va), r = Oe(this), o = 0; o < t.F.length; o++)
|
|
2134
2134
|
this.g(r, o, t.F[o]);
|
|
2135
2135
|
for (this.g(n.object, "arguments", r), o = 0; o < e.oa.length; o++)
|
|
2136
2136
|
this.g(n.object, e.oa[o].name, t.F.length > o ? t.F[o] : void 0);
|
|
2137
|
-
return n.S || (t.B =
|
|
2137
|
+
return n.S || (t.B = Bt(this, t.B)), this.g(n.object, "this", t.B, $t), t.value = void 0, new v(e.body, n);
|
|
2138
2138
|
}
|
|
2139
2139
|
if (o.eval)
|
|
2140
2140
|
if (o = t.F[0], typeof o != "string")
|
|
@@ -2145,15 +2145,15 @@ h.prototype.stepCallExpression = function(e, t, n) {
|
|
|
2145
2145
|
} catch (f) {
|
|
2146
2146
|
m(this, this.T, "Invalid code: " + f.message);
|
|
2147
2147
|
}
|
|
2148
|
-
return o = this.ya(), o.type = "EvalProgram_", o.body = r.body, st(o, n.start, n.end), n = t.Pb ? t.scope : this.N, n.S ? n =
|
|
2148
|
+
return o = this.ya(), o.type = "EvalProgram_", o.body = r.body, st(o, n.start, n.end), n = t.Pb ? t.scope : this.N, n.S ? n = _t(this, r, n) : Xe(this, r, n), this.value = void 0, new v(o, n);
|
|
2149
2149
|
}
|
|
2150
2150
|
else if (o.Ta)
|
|
2151
|
-
t.scope.S || (t.B =
|
|
2151
|
+
t.scope.S || (t.B = Bt(this, t.B)), t.value = o.Ta.apply(t.B, t.F);
|
|
2152
2152
|
else if (o.Za) {
|
|
2153
2153
|
var a = this;
|
|
2154
2154
|
r = o.Za.length - 1, r = t.F.concat(Array(r)).slice(0, r), r.push(function(f) {
|
|
2155
2155
|
t.value = f, a.za = !1;
|
|
2156
|
-
}), this.za = !0, t.scope.S || (t.B =
|
|
2156
|
+
}), this.za = !0, t.scope.S || (t.B = Bt(this, t.B)), o.Za.apply(t.B, r);
|
|
2157
2157
|
} else
|
|
2158
2158
|
m(this, this.j, V(this, n.callee) + " is not callable");
|
|
2159
2159
|
}
|
|
@@ -2161,12 +2161,12 @@ h.prototype.stepCallExpression = function(e, t, n) {
|
|
|
2161
2161
|
h.prototype.stepConditionalExpression = function(e, t, n) {
|
|
2162
2162
|
var r = t.na || 0;
|
|
2163
2163
|
if (r === 0)
|
|
2164
|
-
return t.na = 1, new
|
|
2164
|
+
return t.na = 1, new v(n.test, t.scope);
|
|
2165
2165
|
if (r === 1) {
|
|
2166
2166
|
if (t.na = 2, (r = !!t.value) && n.da)
|
|
2167
|
-
return new
|
|
2167
|
+
return new v(n.da, t.scope);
|
|
2168
2168
|
if (!r && n.alternate)
|
|
2169
|
-
return new
|
|
2169
|
+
return new v(n.alternate, t.scope);
|
|
2170
2170
|
this.value = void 0;
|
|
2171
2171
|
}
|
|
2172
2172
|
e.pop(), n.type === "ConditionalExpression" && (e[e.length - 1].value = t.value);
|
|
@@ -2179,11 +2179,11 @@ h.prototype.stepDebuggerStatement = function(e) {
|
|
|
2179
2179
|
};
|
|
2180
2180
|
h.prototype.stepDoWhileStatement = function(e, t, n) {
|
|
2181
2181
|
if (n.type === "DoWhileStatement" && t.ga === void 0 && (t.value = !0, t.ga = !0), !t.ga)
|
|
2182
|
-
return t.ga = !0, new
|
|
2182
|
+
return t.ga = !0, new v(n.test, t.scope);
|
|
2183
2183
|
if (!t.value)
|
|
2184
2184
|
e.pop();
|
|
2185
2185
|
else if (n.body)
|
|
2186
|
-
return t.ga = !1, t.W = !0, new
|
|
2186
|
+
return t.ga = !1, t.W = !0, new v(n.body, t.scope);
|
|
2187
2187
|
};
|
|
2188
2188
|
h.prototype.stepEmptyStatement = function(e) {
|
|
2189
2189
|
e.pop();
|
|
@@ -2191,19 +2191,19 @@ h.prototype.stepEmptyStatement = function(e) {
|
|
|
2191
2191
|
h.prototype.stepEvalProgram_ = function(e, t, n) {
|
|
2192
2192
|
var r = t.A || 0;
|
|
2193
2193
|
if (n = n.body[r])
|
|
2194
|
-
return t.A = r + 1, new
|
|
2194
|
+
return t.A = r + 1, new v(n, t.scope);
|
|
2195
2195
|
e.pop(), e[e.length - 1].value = this.value;
|
|
2196
2196
|
};
|
|
2197
2197
|
h.prototype.stepExpressionStatement = function(e, t, n) {
|
|
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 v(n.la, t.scope);
|
|
2200
2200
|
e.pop(), this.value = t.value;
|
|
2201
2201
|
};
|
|
2202
2202
|
h.prototype.stepForInStatement = function(e, t, n) {
|
|
2203
2203
|
if (!t.Ub && (t.Ub = !0, n.left.fa && n.left.fa[0].ua))
|
|
2204
|
-
return t.scope.S && m(this, this.T, "for-in loop variable declaration may not have an initializer"), new
|
|
2204
|
+
return t.scope.S && m(this, this.T, "for-in loop variable declaration may not have an initializer"), new v(n.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 v(n.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 (; ; ) {
|
|
@@ -2233,75 +2233,75 @@ h.prototype.stepForInStatement = function(e, t, n) {
|
|
|
2233
2233
|
if (t.wb = !0, e = n.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, r =
|
|
2238
|
-
return
|
|
2236
|
+
return t.pa = null, t = new v(e, t.scope), t.sa = !0, t;
|
|
2237
|
+
if (t.pa || (t.pa = t.value), !t.ta && (t.ta = !0, e = t.Ra, r = zt(this, t.pa, e)))
|
|
2238
|
+
return Qt(this, r, t.pa, e);
|
|
2239
2239
|
if (t.Ra = void 0, t.wb = !1, t.ta = !1, n.body)
|
|
2240
|
-
return new
|
|
2240
|
+
return new v(n.body, t.scope);
|
|
2241
2241
|
};
|
|
2242
2242
|
h.prototype.stepForStatement = function(e, t, n) {
|
|
2243
2243
|
switch (t.na) {
|
|
2244
2244
|
default:
|
|
2245
2245
|
if (t.na = 1, n.ua)
|
|
2246
|
-
return new
|
|
2246
|
+
return new v(n.ua, t.scope);
|
|
2247
2247
|
break;
|
|
2248
2248
|
case 1:
|
|
2249
2249
|
if (t.na = 2, n.test)
|
|
2250
|
-
return new
|
|
2250
|
+
return new v(n.test, t.scope);
|
|
2251
2251
|
break;
|
|
2252
2252
|
case 2:
|
|
2253
2253
|
if (t.na = 3, n.test && !t.value)
|
|
2254
2254
|
e.pop();
|
|
2255
2255
|
else
|
|
2256
|
-
return t.W = !0, new
|
|
2256
|
+
return t.W = !0, new v(n.body, t.scope);
|
|
2257
2257
|
break;
|
|
2258
2258
|
case 3:
|
|
2259
2259
|
if (t.na = 1, n.update)
|
|
2260
|
-
return new
|
|
2260
|
+
return new v(n.update, t.scope);
|
|
2261
2261
|
}
|
|
2262
2262
|
};
|
|
2263
2263
|
h.prototype.stepFunctionDeclaration = function(e) {
|
|
2264
2264
|
e.pop();
|
|
2265
2265
|
};
|
|
2266
2266
|
h.prototype.stepFunctionExpression = function(e, t, n) {
|
|
2267
|
-
e.pop(), t = e[e.length - 1], e = t.scope, n.id && (e =
|
|
2267
|
+
e.pop(), t = e[e.length - 1], e = t.scope, n.id && (e = Jt(this, e)), t.value = Ht(this, n, e, t.Pa), n.id && this.g(e.object, n.id.name, t.value, $t);
|
|
2268
2268
|
};
|
|
2269
2269
|
h.prototype.stepIdentifier = function(e, t, n) {
|
|
2270
2270
|
if (e.pop(), t.sa)
|
|
2271
2271
|
e[e.length - 1].value = [Ae, n.name];
|
|
2272
2272
|
else {
|
|
2273
|
-
if (t =
|
|
2273
|
+
if (t = Yt(this, n.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
2279
|
h.prototype.stepLabeledStatement = function(e, t, n) {
|
|
2280
|
-
return e.pop(), e = t.labels || [], e.push(n.label.name), t = new
|
|
2280
|
+
return e.pop(), e = t.labels || [], e.push(n.label.name), t = new v(n.body, t.scope), t.labels = e, t;
|
|
2281
2281
|
};
|
|
2282
2282
|
h.prototype.stepLiteral = function(e, t, n) {
|
|
2283
|
-
e.pop(), t = n.value, t instanceof RegExp && (n = this.s(this.Ma),
|
|
2283
|
+
e.pop(), t = n.value, t instanceof RegExp && (n = this.s(this.Ma), Vt(this, n, t), t = n), e[e.length - 1].value = t;
|
|
2284
2284
|
};
|
|
2285
2285
|
h.prototype.stepLogicalExpression = function(e, t, n) {
|
|
2286
2286
|
if (n.operator !== "&&" && n.operator !== "||")
|
|
2287
2287
|
throw SyntaxError("Unknown logical operator: " + n.operator);
|
|
2288
2288
|
if (!t.ja)
|
|
2289
|
-
return t.ja = !0, new
|
|
2289
|
+
return t.ja = !0, new v(n.left, t.scope);
|
|
2290
2290
|
if (t.Da)
|
|
2291
2291
|
e.pop(), e[e.length - 1].value = t.value;
|
|
2292
2292
|
else if (n.operator === "&&" && !t.value || n.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 v(n.right, t.scope);
|
|
2296
2296
|
};
|
|
2297
2297
|
h.prototype.stepMemberExpression = function(e, t, n) {
|
|
2298
2298
|
if (!t.Ca)
|
|
2299
|
-
return t.Ca = !0, new
|
|
2299
|
+
return t.Ca = !0, new v(n.object, t.scope);
|
|
2300
2300
|
if (n.bb)
|
|
2301
2301
|
if (t.Vb)
|
|
2302
2302
|
n = 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 v(n.Wa, t.scope);
|
|
2305
2305
|
else
|
|
2306
2306
|
t.u = t.value, n = n.Wa.name;
|
|
2307
2307
|
if (e.pop(), t.sa)
|
|
@@ -2328,7 +2328,7 @@ 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 v(o.value, t.scope);
|
|
2332
2332
|
}
|
|
2333
2333
|
for (a in t.Ja)
|
|
2334
2334
|
n = t.Ja[a], "get" in n || "set" in n ? this.g(t.u, a, Ve, {
|
|
@@ -2341,35 +2341,35 @@ h.prototype.stepObjectExpression = function(e, t, n) {
|
|
|
2341
2341
|
};
|
|
2342
2342
|
h.prototype.stepProgram = function(e, t, n) {
|
|
2343
2343
|
if (e = n.body.shift())
|
|
2344
|
-
return t.done = !1, new
|
|
2344
|
+
return t.done = !1, new v(e, t.scope);
|
|
2345
2345
|
t.done = !0;
|
|
2346
2346
|
};
|
|
2347
2347
|
h.prototype.stepReturnStatement = function(e, t, n) {
|
|
2348
2348
|
if (n.K && !t.ka)
|
|
2349
|
-
return t.ka = !0, new
|
|
2349
|
+
return t.ka = !0, new v(n.K, t.scope);
|
|
2350
2350
|
He(this, 3, t.value);
|
|
2351
2351
|
};
|
|
2352
2352
|
h.prototype.stepSequenceExpression = function(e, t, n) {
|
|
2353
2353
|
var r = t.A || 0;
|
|
2354
2354
|
if (n = n.xb[r])
|
|
2355
|
-
return t.A = r + 1, new
|
|
2355
|
+
return t.A = r + 1, new v(n, t.scope);
|
|
2356
2356
|
e.pop(), e[e.length - 1].value = t.value;
|
|
2357
2357
|
};
|
|
2358
2358
|
h.prototype.stepSwitchStatement = function(e, t, n) {
|
|
2359
2359
|
if (!t.ga)
|
|
2360
|
-
return t.ga = 1, new
|
|
2360
|
+
return t.ga = 1, new v(n.Qb, t.scope);
|
|
2361
2361
|
for (t.ga === 1 && (t.ga = 2, t.hc = t.value, t.cb = -1); ; ) {
|
|
2362
2362
|
var r = t.gb || 0, o = n.tb[r];
|
|
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 v(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 v(o.da[s], t.scope);
|
|
2373
2373
|
}
|
|
2374
2374
|
t.Fb = !1, t.A = 0, t.gb = r + 1;
|
|
2375
2375
|
} else {
|
|
@@ -2383,26 +2383,26 @@ h.prototype.stepSwitchStatement = function(e, t, n) {
|
|
|
2383
2383
|
}
|
|
2384
2384
|
};
|
|
2385
2385
|
h.prototype.stepThisExpression = function(e) {
|
|
2386
|
-
e.pop(), e[e.length - 1].value =
|
|
2386
|
+
e.pop(), e[e.length - 1].value = Yt(this, "this");
|
|
2387
2387
|
};
|
|
2388
2388
|
h.prototype.stepThrowStatement = function(e, t, n) {
|
|
2389
2389
|
if (t.ka)
|
|
2390
2390
|
m(this, t.value);
|
|
2391
2391
|
else
|
|
2392
|
-
return t.ka = !0, new
|
|
2392
|
+
return t.ka = !0, new v(n.K, t.scope);
|
|
2393
2393
|
};
|
|
2394
2394
|
h.prototype.stepTryStatement = function(e, t, n) {
|
|
2395
2395
|
if (!t.Rb)
|
|
2396
|
-
return t.Rb = !0, new
|
|
2396
|
+
return t.Rb = !0, new v(n.block, t.scope);
|
|
2397
2397
|
if (t.ea && t.ea.type === 4 && !t.Tb && n.Ea)
|
|
2398
|
-
return t.Tb = !0, e =
|
|
2398
|
+
return t.Tb = !0, e = Jt(this, t.scope), this.g(e.object, n.Ea.Ua.name, t.ea.value), t.ea = void 0, new v(n.Ea.body, e);
|
|
2399
2399
|
if (!t.Sb && n.fb)
|
|
2400
|
-
return t.Sb = !0, new
|
|
2400
|
+
return t.Sb = !0, new v(n.fb, t.scope);
|
|
2401
2401
|
e.pop(), t.ea && He(this, t.ea.type, t.ea.value, t.ea.label);
|
|
2402
2402
|
};
|
|
2403
2403
|
h.prototype.stepUnaryExpression = function(e, t, n) {
|
|
2404
2404
|
if (!t.ka)
|
|
2405
|
-
return t.ka = !0, e = new
|
|
2405
|
+
return t.ka = !0, e = new v(n.K, t.scope), e.sa = n.operator === "delete", e;
|
|
2406
2406
|
e.pop();
|
|
2407
2407
|
var r = t.value;
|
|
2408
2408
|
switch (n.operator) {
|
|
@@ -2443,9 +2443,9 @@ h.prototype.stepUnaryExpression = function(e, t, n) {
|
|
|
2443
2443
|
};
|
|
2444
2444
|
h.prototype.stepUpdateExpression = function(e, t, n) {
|
|
2445
2445
|
if (!t.ja)
|
|
2446
|
-
return t.ja = !0, e = new
|
|
2446
|
+
return t.ja = !0, e = new v(n.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 r =
|
|
2448
|
+
var r = Zt(this, t.Ga);
|
|
2449
2449
|
if (t.ma = r, this.P)
|
|
2450
2450
|
return t.Ba = !0, Ke(this, r, t.Ga);
|
|
2451
2451
|
}
|
|
@@ -2458,23 +2458,23 @@ h.prototype.stepUpdateExpression = function(e, t, n) {
|
|
|
2458
2458
|
o = r - 1;
|
|
2459
2459
|
else
|
|
2460
2460
|
throw SyntaxError("Unknown update expression: " + n.operator);
|
|
2461
|
-
if (n = n.prefix ? o : r, r =
|
|
2462
|
-
return t.ta = !0, t.ib = n,
|
|
2461
|
+
if (n = n.prefix ? o : r, r = zt(this, t.Ga, o))
|
|
2462
|
+
return t.ta = !0, t.ib = n, Qt(this, r, t.Ga, o);
|
|
2463
2463
|
e.pop(), e[e.length - 1].value = n;
|
|
2464
2464
|
}
|
|
2465
2465
|
};
|
|
2466
2466
|
h.prototype.stepVariableDeclaration = function(e, t, n) {
|
|
2467
2467
|
n = n.fa;
|
|
2468
2468
|
var r = t.A || 0, o = n[r];
|
|
2469
|
-
for (t.Bb && o && (
|
|
2469
|
+
for (t.Bb && o && (zr(this, o.id.name, t.value), t.Bb = !1, o = n[++r]); o; ) {
|
|
2470
2470
|
if (o.ua)
|
|
2471
|
-
return t.A = r, t.Bb = !0, t.Pa = o.id.name, new
|
|
2471
|
+
return t.A = r, t.Bb = !0, t.Pa = o.id.name, new v(o.ua, t.scope);
|
|
2472
2472
|
o = n[++r];
|
|
2473
2473
|
}
|
|
2474
2474
|
e.pop();
|
|
2475
2475
|
};
|
|
2476
2476
|
h.prototype.stepWithStatement = function(e, t, n) {
|
|
2477
|
-
return t.Ca ? (e.pop(), e =
|
|
2477
|
+
return t.Ca ? (e.pop(), e = Jt(this, t.scope, t.value), new v(n.body, e)) : (t.Ca = !0, new v(n.object, t.scope));
|
|
2478
2478
|
};
|
|
2479
2479
|
h.prototype.stepWhileStatement = h.prototype.stepDoWhileStatement;
|
|
2480
2480
|
he.Interpreter = h;
|
|
@@ -2493,7 +2493,7 @@ h.prototype.getGlobalScope = h.prototype.Xb;
|
|
|
2493
2493
|
h.prototype.getStateStack = h.prototype.Yb;
|
|
2494
2494
|
h.prototype.setStateStack = h.prototype.ec;
|
|
2495
2495
|
h.VALUE_IN_DESCRIPTOR = Ve;
|
|
2496
|
-
const
|
|
2496
|
+
const Zn = (e) => e.split(`
|
|
2497
2497
|
`).map((t) => {
|
|
2498
2498
|
const n = t.trim();
|
|
2499
2499
|
if (t.includes("__awaiter"))
|
|
@@ -2506,7 +2506,7 @@ const zn = (e) => e.split(`
|
|
|
2506
2506
|
${f}
|
|
2507
2507
|
`;
|
|
2508
2508
|
}).filter(Boolean).join(`
|
|
2509
|
-
`),
|
|
2509
|
+
`), Lr = (e) => e + "JSON", zn = ({
|
|
2510
2510
|
builder: e,
|
|
2511
2511
|
context: t,
|
|
2512
2512
|
event: n,
|
|
@@ -2518,18 +2518,18 @@ const zn = (e) => e.split(`
|
|
|
2518
2518
|
const f = {
|
|
2519
2519
|
...r,
|
|
2520
2520
|
...o
|
|
2521
|
-
},
|
|
2521
|
+
}, g = Kr({
|
|
2522
2522
|
builder: e,
|
|
2523
2523
|
context: t,
|
|
2524
2524
|
event: n,
|
|
2525
2525
|
state: f
|
|
2526
|
-
}), O =
|
|
2527
|
-
const H =
|
|
2526
|
+
}), O = g.map(([$]) => {
|
|
2527
|
+
const H = Lr($);
|
|
2528
2528
|
return `var ${$} = ${H} === undefined ? undefined : JSON.parse(${H});`;
|
|
2529
2529
|
}).join(`
|
|
2530
|
-
`), C =
|
|
2530
|
+
`), C = Zn(a);
|
|
2531
2531
|
if (C === "") {
|
|
2532
|
-
|
|
2532
|
+
Wt.warn("Skipping evaluation of empty code block.");
|
|
2533
2533
|
return;
|
|
2534
2534
|
}
|
|
2535
2535
|
const w = `
|
|
@@ -2540,27 +2540,27 @@ function theFunction() {
|
|
|
2540
2540
|
}
|
|
2541
2541
|
theFunction();
|
|
2542
2542
|
`, T = ($, H) => {
|
|
2543
|
-
const k =
|
|
2543
|
+
const k = Hr(f, $, H);
|
|
2544
2544
|
s == null || s(k);
|
|
2545
|
-
},
|
|
2546
|
-
|
|
2545
|
+
}, R = function($, H) {
|
|
2546
|
+
g.forEach(([k, Q]) => {
|
|
2547
2547
|
const Je = JSON.stringify(Q);
|
|
2548
|
-
$.setProperty(H,
|
|
2548
|
+
$.setProperty(H, Lr(k), Je);
|
|
2549
2549
|
}), $.setProperty(H, "setRootState", $.createNativeFunction(T));
|
|
2550
|
-
},
|
|
2551
|
-
return
|
|
2550
|
+
}, N = new h(w, R);
|
|
2551
|
+
return N.run(), N.pseudoToNative(N.value);
|
|
2552
2552
|
};
|
|
2553
|
-
function
|
|
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
|
-
const
|
|
2557
|
+
const qn = () => {
|
|
2558
2558
|
var r;
|
|
2559
|
-
if (!
|
|
2559
|
+
if (!Qn())
|
|
2560
2560
|
return !1;
|
|
2561
2561
|
const e = process.arch === "arm64", t = process.version.startsWith("v20"), n = (r = process.env.NODE_OPTIONS) == null ? void 0 : r.includes("--no-node-snapshot");
|
|
2562
|
-
return e && t && !n ? (
|
|
2563
|
-
},
|
|
2562
|
+
return e && t && !n ? (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) => Ut() || qn() ? Rn(e) : zn(e), oe = class oe {
|
|
2564
2564
|
static getCacheKey(t) {
|
|
2565
2565
|
return JSON.stringify({
|
|
2566
2566
|
...t,
|
|
@@ -2578,9 +2578,9 @@ const eo = () => {
|
|
|
2578
2578
|
});
|
|
2579
2579
|
}
|
|
2580
2580
|
};
|
|
2581
|
-
|
|
2581
|
+
Rt(oe, "cacheLimit", 20), Rt(oe, "cache", /* @__PURE__ */ new Map());
|
|
2582
2582
|
let Ce = oe;
|
|
2583
|
-
function
|
|
2583
|
+
function qt({
|
|
2584
2584
|
code: e,
|
|
2585
2585
|
context: t,
|
|
2586
2586
|
localState: n,
|
|
@@ -2592,11 +2592,11 @@ function er({
|
|
|
2592
2592
|
}) {
|
|
2593
2593
|
if (e === "")
|
|
2594
2594
|
return;
|
|
2595
|
-
const
|
|
2596
|
-
code:
|
|
2595
|
+
const g = {
|
|
2596
|
+
code: Tn(e, {
|
|
2597
2597
|
isExpression: a
|
|
2598
2598
|
}),
|
|
2599
|
-
builder:
|
|
2599
|
+
builder: bn(),
|
|
2600
2600
|
context: t,
|
|
2601
2601
|
event: s,
|
|
2602
2602
|
rootSetState: o,
|
|
@@ -2604,25 +2604,25 @@ function er({
|
|
|
2604
2604
|
localState: n
|
|
2605
2605
|
};
|
|
2606
2606
|
if (f) {
|
|
2607
|
-
const O = Ce.getCacheKey(
|
|
2607
|
+
const O = Ce.getCacheKey(g), C = Ce.getCachedValue(O);
|
|
2608
2608
|
if (C)
|
|
2609
2609
|
return C.value;
|
|
2610
2610
|
}
|
|
2611
2611
|
try {
|
|
2612
|
-
const O =
|
|
2612
|
+
const O = eo(g);
|
|
2613
2613
|
if (f) {
|
|
2614
|
-
const C = Ce.getCacheKey(
|
|
2614
|
+
const C = Ce.getCacheKey(g);
|
|
2615
2615
|
Ce.setCachedValue(C, O);
|
|
2616
2616
|
}
|
|
2617
2617
|
return O;
|
|
2618
2618
|
} catch (O) {
|
|
2619
|
-
|
|
2619
|
+
Wt.error("Failed code evaluation: " + O.message, {
|
|
2620
2620
|
code: e
|
|
2621
2621
|
});
|
|
2622
2622
|
return;
|
|
2623
2623
|
}
|
|
2624
2624
|
}
|
|
2625
|
-
const
|
|
2625
|
+
const to = ({
|
|
2626
2626
|
block: e,
|
|
2627
2627
|
context: t,
|
|
2628
2628
|
localState: n,
|
|
@@ -2631,7 +2631,7 @@ const ro = ({
|
|
|
2631
2631
|
}) => {
|
|
2632
2632
|
if (!e.bindings)
|
|
2633
2633
|
return e;
|
|
2634
|
-
const s =
|
|
2634
|
+
const s = Vr(e), a = {
|
|
2635
2635
|
...s,
|
|
2636
2636
|
properties: {
|
|
2637
2637
|
...s.properties
|
|
@@ -2641,15 +2641,15 @@ const ro = ({
|
|
|
2641
2641
|
}
|
|
2642
2642
|
};
|
|
2643
2643
|
for (const f in e.bindings) {
|
|
2644
|
-
const
|
|
2645
|
-
code:
|
|
2644
|
+
const g = e.bindings[f], O = qt({
|
|
2645
|
+
code: g,
|
|
2646
2646
|
localState: n,
|
|
2647
2647
|
rootState: r,
|
|
2648
2648
|
rootSetState: o,
|
|
2649
2649
|
context: t,
|
|
2650
2650
|
enableCache: !0
|
|
2651
2651
|
});
|
|
2652
|
-
|
|
2652
|
+
Hr(a, f, O);
|
|
2653
2653
|
}
|
|
2654
2654
|
return a;
|
|
2655
2655
|
};
|
|
@@ -2662,7 +2662,7 @@ function it({
|
|
|
2662
2662
|
rootSetState: s
|
|
2663
2663
|
}) {
|
|
2664
2664
|
const a = e;
|
|
2665
|
-
return n ?
|
|
2665
|
+
return n ? to({
|
|
2666
2666
|
block: a,
|
|
2667
2667
|
localState: r,
|
|
2668
2668
|
rootState: o,
|
|
@@ -2671,16 +2671,16 @@ function it({
|
|
|
2671
2671
|
}) : a;
|
|
2672
2672
|
}
|
|
2673
2673
|
const lt = (e) => e ? e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase() : "";
|
|
2674
|
-
function
|
|
2674
|
+
function ro(e, t, n = {}) {
|
|
2675
2675
|
let r, o, s, a = null, f = 0;
|
|
2676
|
-
const
|
|
2676
|
+
const g = function() {
|
|
2677
2677
|
f = n.leading === !1 ? 0 : Date.now(), a = null, s = e.apply(r, o), a || (r = o = null);
|
|
2678
2678
|
};
|
|
2679
2679
|
return function() {
|
|
2680
2680
|
const O = Date.now();
|
|
2681
2681
|
!f && n.leading === !1 && (f = O);
|
|
2682
2682
|
const C = t - (O - f);
|
|
2683
|
-
return r = this, o = arguments, C <= 0 || C > t ? (a && (clearTimeout(a), a = null), f = O, s = e.apply(r, o), a || (r = o = null)) : !a && n.trailing !== !1 && (a = setTimeout(
|
|
2683
|
+
return r = this, o = arguments, C <= 0 || C > t ? (a && (clearTimeout(a), a = null), f = O, s = e.apply(r, o), a || (r = o = null)) : !a && n.trailing !== !1 && (a = setTimeout(g, C)), s;
|
|
2684
2684
|
};
|
|
2685
2685
|
}
|
|
2686
2686
|
function Ge(e, ...t) {
|
|
@@ -2693,55 +2693,55 @@ function Ge(e, ...t) {
|
|
|
2693
2693
|
}
|
|
2694
2694
|
return n;
|
|
2695
2695
|
}
|
|
2696
|
-
function
|
|
2696
|
+
function no(e) {
|
|
2697
2697
|
for (const t of e)
|
|
2698
2698
|
switch (t.trigger) {
|
|
2699
2699
|
case "pageLoad":
|
|
2700
|
-
|
|
2700
|
+
io(t);
|
|
2701
2701
|
break;
|
|
2702
2702
|
case "scrollInView":
|
|
2703
|
-
|
|
2703
|
+
so(t);
|
|
2704
2704
|
break;
|
|
2705
2705
|
}
|
|
2706
2706
|
}
|
|
2707
|
-
function
|
|
2707
|
+
function en(e) {
|
|
2708
2708
|
console.warn(`Cannot animate element: element with ID ${e} not found!`);
|
|
2709
2709
|
}
|
|
2710
|
-
function
|
|
2711
|
-
const n =
|
|
2710
|
+
function tn(e, t) {
|
|
2711
|
+
const n = oo(e), r = getComputedStyle(t), o = e.steps[0].styles, s = e.steps[e.steps.length - 1].styles, a = [o, s];
|
|
2712
2712
|
for (const f of a)
|
|
2713
|
-
for (const
|
|
2714
|
-
|
|
2713
|
+
for (const g of n)
|
|
2714
|
+
g in f || (f[g] = r[g]);
|
|
2715
2715
|
}
|
|
2716
|
-
function
|
|
2716
|
+
function oo(e) {
|
|
2717
2717
|
const t = [];
|
|
2718
2718
|
for (const n of e.steps)
|
|
2719
2719
|
for (const r in n.styles)
|
|
2720
2720
|
t.indexOf(r) === -1 && t.push(r);
|
|
2721
2721
|
return t;
|
|
2722
2722
|
}
|
|
2723
|
-
function
|
|
2723
|
+
function io(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
2729
|
Array.from(t).forEach((n) => {
|
|
2730
|
-
|
|
2730
|
+
tn(e, n), n.style.transition = "none", n.style.transitionDelay = "0", Ge(n.style, e.steps[0].styles), setTimeout(() => {
|
|
2731
2731
|
n.style.transition = `all ${e.duration}s ${lt(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s"), Ge(n.style, e.steps[1].styles), setTimeout(() => {
|
|
2732
2732
|
n.style.transition = "", n.style.transitionDelay = "";
|
|
2733
2733
|
}, (e.delay || 0) * 1e3 + e.duration * 1e3 + 100);
|
|
2734
2734
|
});
|
|
2735
2735
|
});
|
|
2736
2736
|
}
|
|
2737
|
-
function
|
|
2737
|
+
function so(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
2743
|
Array.from(t).forEach((n) => {
|
|
2744
|
-
|
|
2744
|
+
tn(e, n);
|
|
2745
2745
|
let r = !1, o = !1;
|
|
2746
2746
|
function s() {
|
|
2747
2747
|
!r && f(n) ? (r = !0, o = !0, setTimeout(() => {
|
|
@@ -2750,16 +2750,16 @@ function ao(e) {
|
|
|
2750
2750
|
}, (e.duration + (e.delay || 0)) * 1e3 + 100);
|
|
2751
2751
|
})) : e.repeat && r && !o && !f(n) && (r = !1, Ge(n.style, e.steps[0].styles));
|
|
2752
2752
|
}
|
|
2753
|
-
const a =
|
|
2753
|
+
const a = ro(s, 200, {
|
|
2754
2754
|
leading: !1
|
|
2755
2755
|
});
|
|
2756
2756
|
function f(C) {
|
|
2757
|
-
const w = C.getBoundingClientRect(), T = window.innerHeight,
|
|
2758
|
-
return w.bottom >
|
|
2757
|
+
const w = C.getBoundingClientRect(), T = window.innerHeight, N = (e.thresholdPercent || 0) / 100 * T;
|
|
2758
|
+
return w.bottom > N && w.top < T - N;
|
|
2759
2759
|
}
|
|
2760
|
-
const
|
|
2760
|
+
const g = e.steps[0].styles;
|
|
2761
2761
|
function O() {
|
|
2762
|
-
Ge(n.style,
|
|
2762
|
+
Ge(n.style, g);
|
|
2763
2763
|
}
|
|
2764
2764
|
O(), setTimeout(() => {
|
|
2765
2765
|
n.style.transition = `all ${e.duration}s ${lt(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s");
|
|
@@ -2769,42 +2769,42 @@ function ao(e) {
|
|
|
2769
2769
|
}), s();
|
|
2770
2770
|
});
|
|
2771
2771
|
}
|
|
2772
|
-
const
|
|
2772
|
+
const rn = (e) => Object.entries(e).map(([n, r]) => {
|
|
2773
2773
|
if (typeof r == "string")
|
|
2774
2774
|
return `${lt(n)}: ${r};`;
|
|
2775
|
-
}).filter(ot),
|
|
2775
|
+
}).filter(ot), ao = (e) => rn(e).join(`
|
|
2776
2776
|
`), nt = ({
|
|
2777
2777
|
mediaQuery: e,
|
|
2778
2778
|
className: t,
|
|
2779
2779
|
styles: n
|
|
2780
2780
|
}) => {
|
|
2781
2781
|
const r = `.${t} {
|
|
2782
|
-
${
|
|
2782
|
+
${ao(n)}
|
|
2783
2783
|
}`;
|
|
2784
2784
|
return e ? `${e} {
|
|
2785
2785
|
${r}
|
|
2786
2786
|
}` : r;
|
|
2787
2787
|
};
|
|
2788
|
-
function
|
|
2788
|
+
function lo({
|
|
2789
2789
|
style: e
|
|
2790
2790
|
}) {
|
|
2791
2791
|
return e;
|
|
2792
2792
|
}
|
|
2793
|
-
const
|
|
2793
|
+
const uo = ({
|
|
2794
2794
|
block: e,
|
|
2795
2795
|
context: t
|
|
2796
|
-
}) =>
|
|
2796
|
+
}) => co(lo({
|
|
2797
2797
|
style: e.style || {},
|
|
2798
2798
|
context: t,
|
|
2799
2799
|
block: e
|
|
2800
2800
|
}));
|
|
2801
|
-
function
|
|
2802
|
-
switch (
|
|
2801
|
+
function co(e) {
|
|
2802
|
+
switch (Xr) {
|
|
2803
2803
|
case "svelte":
|
|
2804
2804
|
case "vue":
|
|
2805
2805
|
case "solid":
|
|
2806
2806
|
case "angular":
|
|
2807
|
-
return
|
|
2807
|
+
return rn(e).join(" ");
|
|
2808
2808
|
case "qwik":
|
|
2809
2809
|
case "reactNative":
|
|
2810
2810
|
case "react":
|
|
@@ -2812,7 +2812,7 @@ function fo(e) {
|
|
|
2812
2812
|
return e;
|
|
2813
2813
|
}
|
|
2814
2814
|
}
|
|
2815
|
-
const
|
|
2815
|
+
const fo = ({
|
|
2816
2816
|
block: e,
|
|
2817
2817
|
context: t,
|
|
2818
2818
|
registeredComponents: n
|
|
@@ -2834,7 +2834,7 @@ const po = ({
|
|
|
2834
2834
|
console.warn(`
|
|
2835
2835
|
Could not find a registered component named "${r}".
|
|
2836
2836
|
If you registered it, is the file that registered it imported by the file that needs to render it?`);
|
|
2837
|
-
},
|
|
2837
|
+
}, po = ({
|
|
2838
2838
|
block: e,
|
|
2839
2839
|
context: t
|
|
2840
2840
|
}) => {
|
|
@@ -2844,7 +2844,7 @@ const po = ({
|
|
|
2844
2844
|
} = e;
|
|
2845
2845
|
if (!(n != null && n.collection))
|
|
2846
2846
|
return;
|
|
2847
|
-
const o =
|
|
2847
|
+
const o = qt({
|
|
2848
2848
|
code: n.collection,
|
|
2849
2849
|
localState: t.localState,
|
|
2850
2850
|
rootState: t.rootState,
|
|
@@ -2855,36 +2855,40 @@ const po = ({
|
|
|
2855
2855
|
if (!Array.isArray(o))
|
|
2856
2856
|
return;
|
|
2857
2857
|
const s = n.collection.split(".").pop(), a = n.itemName || (s ? s + "Item" : "item");
|
|
2858
|
-
return o.map((
|
|
2858
|
+
return o.map((g, O) => ({
|
|
2859
2859
|
context: {
|
|
2860
2860
|
...t,
|
|
2861
2861
|
localState: {
|
|
2862
2862
|
...t.localState,
|
|
2863
2863
|
$index: O,
|
|
2864
|
-
$item:
|
|
2865
|
-
[a]:
|
|
2864
|
+
$item: g,
|
|
2865
|
+
[a]: g,
|
|
2866
2866
|
[`$${a}Index`]: O
|
|
2867
2867
|
}
|
|
2868
2868
|
},
|
|
2869
2869
|
block: r
|
|
2870
2870
|
}));
|
|
2871
|
-
},
|
|
2872
|
-
|
|
2873
|
-
|
|
2874
|
-
|
|
2875
|
-
|
|
2876
|
-
|
|
2877
|
-
|
|
2878
|
-
|
|
2879
|
-
|
|
2880
|
-
|
|
2881
|
-
}
|
|
2882
|
-
|
|
2883
|
-
|
|
2884
|
-
|
|
2885
|
-
} : {}
|
|
2886
|
-
|
|
2887
|
-
|
|
2871
|
+
}, ho = (e, t) => {
|
|
2872
|
+
var n;
|
|
2873
|
+
return (n = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && n.builderLinkComponent ? {
|
|
2874
|
+
builderLinkComponent: t
|
|
2875
|
+
} : {};
|
|
2876
|
+
}, go = (e, t) => {
|
|
2877
|
+
var n;
|
|
2878
|
+
return (n = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && n.builderComponents ? {
|
|
2879
|
+
builderComponents: t
|
|
2880
|
+
} : {};
|
|
2881
|
+
}, yo = (e, t) => {
|
|
2882
|
+
var n;
|
|
2883
|
+
return (n = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && n.builderBlock ? {
|
|
2884
|
+
builderBlock: t
|
|
2885
|
+
} : {};
|
|
2886
|
+
}, vo = (e, t) => {
|
|
2887
|
+
var n;
|
|
2888
|
+
return (n = e == null ? void 0 : e.shouldReceiveBuilderProps) != null && n.builderContext ? {
|
|
2889
|
+
builderContext: t
|
|
2890
|
+
} : {};
|
|
2891
|
+
}, nn = {
|
|
2888
2892
|
small: {
|
|
2889
2893
|
min: 320,
|
|
2890
2894
|
default: 321,
|
|
@@ -2900,11 +2904,11 @@ const po = ({
|
|
|
2900
2904
|
default: 991,
|
|
2901
2905
|
max: 1200
|
|
2902
2906
|
}
|
|
2903
|
-
},
|
|
2907
|
+
}, _r = (e, t = nn) => `@media (max-width: ${t[e].max}px)`, mo = ({
|
|
2904
2908
|
small: e,
|
|
2905
2909
|
medium: t
|
|
2906
2910
|
}) => {
|
|
2907
|
-
const n =
|
|
2911
|
+
const n = Vr(nn);
|
|
2908
2912
|
if (!e || !t)
|
|
2909
2913
|
return n;
|
|
2910
2914
|
const r = Math.floor(e / 2);
|
|
@@ -2927,8 +2931,8 @@ const po = ({
|
|
|
2927
2931
|
default: s + 1
|
|
2928
2932
|
}, n;
|
|
2929
2933
|
};
|
|
2930
|
-
function
|
|
2931
|
-
return /* @__PURE__ */
|
|
2934
|
+
function wo(e) {
|
|
2935
|
+
return /* @__PURE__ */ b(
|
|
2932
2936
|
"style",
|
|
2933
2937
|
{
|
|
2934
2938
|
dangerouslySetInnerHTML: { __html: e.styles },
|
|
@@ -2936,7 +2940,7 @@ function xo(e) {
|
|
|
2936
2940
|
}
|
|
2937
2941
|
);
|
|
2938
2942
|
}
|
|
2939
|
-
function
|
|
2943
|
+
function xo(e) {
|
|
2940
2944
|
function t() {
|
|
2941
2945
|
const r = it({
|
|
2942
2946
|
block: e.block,
|
|
@@ -2957,56 +2961,56 @@ function So(e) {
|
|
|
2957
2961
|
rootSetState: e.context.rootSetState,
|
|
2958
2962
|
context: e.context.context,
|
|
2959
2963
|
shouldEvaluateBindings: !0
|
|
2960
|
-
}), o = r.responsiveStyles, s = e.context.content, a =
|
|
2964
|
+
}), o = r.responsiveStyles, s = e.context.content, a = mo(
|
|
2961
2965
|
(($ = s == null ? void 0 : s.meta) == null ? void 0 : $.breakpoints) || {}
|
|
2962
|
-
), f = o == null ? void 0 : o.large,
|
|
2966
|
+
), f = o == null ? void 0 : o.large, g = o == null ? void 0 : o.medium, O = o == null ? void 0 : o.small, C = r.id;
|
|
2963
2967
|
if (!C)
|
|
2964
2968
|
return "";
|
|
2965
2969
|
const w = f ? nt({
|
|
2966
2970
|
className: C,
|
|
2967
2971
|
styles: f
|
|
2968
|
-
}) : "", T =
|
|
2972
|
+
}) : "", T = g ? nt({
|
|
2969
2973
|
className: C,
|
|
2970
|
-
styles:
|
|
2971
|
-
mediaQuery:
|
|
2974
|
+
styles: g,
|
|
2975
|
+
mediaQuery: _r(
|
|
2972
2976
|
"medium",
|
|
2973
2977
|
a
|
|
2974
2978
|
)
|
|
2975
|
-
}) : "",
|
|
2979
|
+
}) : "", R = O ? nt({
|
|
2976
2980
|
className: C,
|
|
2977
2981
|
styles: O,
|
|
2978
|
-
mediaQuery:
|
|
2982
|
+
mediaQuery: _r(
|
|
2979
2983
|
"small",
|
|
2980
2984
|
a
|
|
2981
2985
|
)
|
|
2982
|
-
}) : "",
|
|
2986
|
+
}) : "", N = r.animations && r.animations.find((Q) => Q.trigger === "hover");
|
|
2983
2987
|
let ue = "";
|
|
2984
|
-
if (
|
|
2985
|
-
const Q = ((k = (H =
|
|
2988
|
+
if (N) {
|
|
2989
|
+
const Q = ((k = (H = N.steps) == null ? void 0 : H[1]) == null ? void 0 : k.styles) || {};
|
|
2986
2990
|
ue = nt({
|
|
2987
2991
|
className: `${C}:hover`,
|
|
2988
2992
|
styles: {
|
|
2989
2993
|
...Q,
|
|
2990
|
-
transition: `all ${
|
|
2991
|
-
|
|
2994
|
+
transition: `all ${N.duration}s ${lt(
|
|
2995
|
+
N.easing
|
|
2992
2996
|
)}`,
|
|
2993
|
-
transitionDelay:
|
|
2997
|
+
transitionDelay: N.delay ? `${N.delay}s` : "0s"
|
|
2994
2998
|
}
|
|
2995
2999
|
}) || "";
|
|
2996
3000
|
}
|
|
2997
3001
|
return [
|
|
2998
3002
|
w,
|
|
2999
3003
|
T,
|
|
3000
|
-
|
|
3004
|
+
R,
|
|
3001
3005
|
ue
|
|
3002
3006
|
].join(" ");
|
|
3003
3007
|
}
|
|
3004
|
-
return /* @__PURE__ */
|
|
3008
|
+
return /* @__PURE__ */ b(Z, { children: n() && t() ? /* @__PURE__ */ b(Z, { children: /* @__PURE__ */ b(wo, { id: "builderio-block", styles: n() }) }) : null });
|
|
3005
3009
|
}
|
|
3006
|
-
function
|
|
3010
|
+
function So(e) {
|
|
3007
3011
|
return e.charAt(0).toUpperCase() + e.slice(1);
|
|
3008
3012
|
}
|
|
3009
|
-
const
|
|
3013
|
+
const ko = (e) => `on${So(e)}`, Eo = (e, t) => (n) => qt({
|
|
3010
3014
|
code: e,
|
|
3011
3015
|
context: t.context,
|
|
3012
3016
|
localState: t.localState,
|
|
@@ -3016,16 +3020,16 @@ const Eo = (e) => `on${ko(e)}`, Co = (e, t) => (n) => er({
|
|
|
3016
3020
|
isExpression: !1,
|
|
3017
3021
|
enableCache: !0
|
|
3018
3022
|
});
|
|
3019
|
-
function
|
|
3023
|
+
function on(e) {
|
|
3020
3024
|
var r;
|
|
3021
3025
|
const t = {}, n = (r = e.block.actions) != null ? r : {};
|
|
3022
3026
|
for (const o in n) {
|
|
3023
3027
|
if (!n.hasOwnProperty(o))
|
|
3024
3028
|
continue;
|
|
3025
3029
|
const s = n[o];
|
|
3026
|
-
let a =
|
|
3030
|
+
let a = ko(o);
|
|
3027
3031
|
if (e.stripPrefix)
|
|
3028
|
-
switch (
|
|
3032
|
+
switch (Xr) {
|
|
3029
3033
|
case "vue":
|
|
3030
3034
|
a = a.replace("v-on:", "");
|
|
3031
3035
|
break;
|
|
@@ -3033,49 +3037,49 @@ function sn(e) {
|
|
|
3033
3037
|
a = a.replace("on:", "");
|
|
3034
3038
|
break;
|
|
3035
3039
|
}
|
|
3036
|
-
t[a] =
|
|
3040
|
+
t[a] = Eo(s, e);
|
|
3037
3041
|
}
|
|
3038
3042
|
return t;
|
|
3039
3043
|
}
|
|
3040
|
-
function
|
|
3044
|
+
function Co({
|
|
3041
3045
|
properties: e
|
|
3042
3046
|
}) {
|
|
3043
3047
|
return e;
|
|
3044
3048
|
}
|
|
3045
|
-
const
|
|
3049
|
+
const jo = (e) => ({
|
|
3046
3050
|
href: e.href
|
|
3047
3051
|
});
|
|
3048
|
-
function
|
|
3052
|
+
function er({
|
|
3049
3053
|
block: e,
|
|
3050
3054
|
context: t
|
|
3051
3055
|
}) {
|
|
3052
3056
|
var r;
|
|
3053
3057
|
const n = {
|
|
3054
|
-
...
|
|
3058
|
+
...jo(e),
|
|
3055
3059
|
...e.properties,
|
|
3056
3060
|
"builder-id": e.id,
|
|
3057
|
-
style:
|
|
3061
|
+
style: uo({
|
|
3058
3062
|
block: e,
|
|
3059
3063
|
context: t
|
|
3060
3064
|
}),
|
|
3061
|
-
[
|
|
3065
|
+
[An()]: [e.id, "builder-block", e.class, (r = e.properties) == null ? void 0 : r.class].filter(Boolean).join(" ")
|
|
3062
3066
|
};
|
|
3063
|
-
return
|
|
3067
|
+
return Co({
|
|
3064
3068
|
properties: n,
|
|
3065
3069
|
context: t,
|
|
3066
3070
|
block: e
|
|
3067
3071
|
});
|
|
3068
3072
|
}
|
|
3069
|
-
function
|
|
3070
|
-
return /* @__PURE__ */
|
|
3073
|
+
function Oo(e) {
|
|
3074
|
+
return /* @__PURE__ */ b(
|
|
3071
3075
|
In,
|
|
3072
3076
|
{
|
|
3073
3077
|
TagName: e.Wrapper,
|
|
3074
|
-
attributes:
|
|
3078
|
+
attributes: er({
|
|
3075
3079
|
block: e.block,
|
|
3076
3080
|
context: e.context
|
|
3077
3081
|
}),
|
|
3078
|
-
actionAttributes:
|
|
3082
|
+
actionAttributes: on({
|
|
3079
3083
|
block: e.block,
|
|
3080
3084
|
rootState: e.context.rootState,
|
|
3081
3085
|
rootSetState: e.context.rootSetState,
|
|
@@ -3087,14 +3091,14 @@ function Ao(e) {
|
|
|
3087
3091
|
}
|
|
3088
3092
|
);
|
|
3089
3093
|
}
|
|
3090
|
-
function
|
|
3094
|
+
function Ao(e) {
|
|
3091
3095
|
function t() {
|
|
3092
3096
|
return e.includeBlockProps ? {
|
|
3093
|
-
...
|
|
3097
|
+
...er({
|
|
3094
3098
|
block: e.block,
|
|
3095
3099
|
context: e.context
|
|
3096
3100
|
}),
|
|
3097
|
-
...
|
|
3101
|
+
...on({
|
|
3098
3102
|
block: e.block,
|
|
3099
3103
|
rootState: e.context.rootState,
|
|
3100
3104
|
rootSetState: e.context.rootSetState,
|
|
@@ -3103,7 +3107,7 @@ function bo(e) {
|
|
|
3103
3107
|
})
|
|
3104
3108
|
} : {};
|
|
3105
3109
|
}
|
|
3106
|
-
return /* @__PURE__ */
|
|
3110
|
+
return /* @__PURE__ */ b(e.Wrapper, { ...e.wrapperProps, attributes: t(), children: e.children });
|
|
3107
3111
|
}
|
|
3108
3112
|
const Io = ({
|
|
3109
3113
|
componentOptions: e,
|
|
@@ -3121,7 +3125,7 @@ const Io = ({
|
|
|
3121
3125
|
* component itself directly. Otherwise, they are provided to the wrapper element.
|
|
3122
3126
|
*/
|
|
3123
3127
|
...o ? {
|
|
3124
|
-
attributes:
|
|
3128
|
+
attributes: er({
|
|
3125
3129
|
block: t,
|
|
3126
3130
|
context: a
|
|
3127
3131
|
})
|
|
@@ -3135,12 +3139,12 @@ const Io = ({
|
|
|
3135
3139
|
includeBlockProps: o
|
|
3136
3140
|
} : f;
|
|
3137
3141
|
};
|
|
3138
|
-
function
|
|
3142
|
+
function Wr(e) {
|
|
3139
3143
|
var r;
|
|
3140
|
-
const [t, n] =
|
|
3141
|
-
() => e.isInteractive ?
|
|
3144
|
+
const [t, n] = $r(
|
|
3145
|
+
() => e.isInteractive ? Ao : e.componentRef
|
|
3142
3146
|
);
|
|
3143
|
-
return /* @__PURE__ */
|
|
3147
|
+
return /* @__PURE__ */ b(Z, { children: e.componentRef ? /* @__PURE__ */ b(Z, { children: /* @__PURE__ */ b(
|
|
3144
3148
|
t,
|
|
3145
3149
|
{
|
|
3146
3150
|
...Io({
|
|
@@ -3153,8 +3157,8 @@ function $r(e) {
|
|
|
3153
3157
|
isInteractive: e.isInteractive,
|
|
3154
3158
|
contextValue: e.context
|
|
3155
3159
|
}),
|
|
3156
|
-
children: (r = e.blockChildren) == null ? void 0 : r.map((o) => /* @__PURE__ */
|
|
3157
|
-
|
|
3160
|
+
children: (r = e.blockChildren) == null ? void 0 : r.map((o) => /* @__PURE__ */ b(
|
|
3161
|
+
ut,
|
|
3158
3162
|
{
|
|
3159
3163
|
block: o,
|
|
3160
3164
|
context: e.context,
|
|
@@ -3166,10 +3170,10 @@ function $r(e) {
|
|
|
3166
3170
|
}
|
|
3167
3171
|
) }) : null });
|
|
3168
3172
|
}
|
|
3169
|
-
function
|
|
3170
|
-
const [t, n] =
|
|
3171
|
-
return /* @__PURE__ */
|
|
3172
|
-
|
|
3173
|
+
function bo(e) {
|
|
3174
|
+
const [t, n] = $r(() => e.repeatContext);
|
|
3175
|
+
return /* @__PURE__ */ b(Gr.Provider, { value: t, children: /* @__PURE__ */ b(
|
|
3176
|
+
ut,
|
|
3173
3177
|
{
|
|
3174
3178
|
block: e.block,
|
|
3175
3179
|
context: t,
|
|
@@ -3178,17 +3182,17 @@ function To(e) {
|
|
|
3178
3182
|
}
|
|
3179
3183
|
) });
|
|
3180
3184
|
}
|
|
3181
|
-
function
|
|
3182
|
-
var
|
|
3185
|
+
function ut(e) {
|
|
3186
|
+
var g, O, C;
|
|
3183
3187
|
function t() {
|
|
3184
|
-
return
|
|
3188
|
+
return fo({
|
|
3185
3189
|
block: e.block,
|
|
3186
3190
|
context: e.context,
|
|
3187
3191
|
registeredComponents: e.registeredComponents
|
|
3188
3192
|
});
|
|
3189
3193
|
}
|
|
3190
3194
|
function n() {
|
|
3191
|
-
return
|
|
3195
|
+
return po({
|
|
3192
3196
|
block: e.block,
|
|
3193
3197
|
context: e.context
|
|
3194
3198
|
});
|
|
@@ -3209,27 +3213,27 @@ function ct(e) {
|
|
|
3209
3213
|
return e.block.tagName === "a" || ((T = r().properties) == null ? void 0 : T.href) || r().href ? e.linkComponent || "a" : e.block.tagName || "div";
|
|
3210
3214
|
}
|
|
3211
3215
|
function s() {
|
|
3212
|
-
var
|
|
3213
|
-
if ((
|
|
3214
|
-
return !!((
|
|
3216
|
+
var R, N;
|
|
3217
|
+
if ((R = e.block.repeat) != null && R.collection)
|
|
3218
|
+
return !!((N = n == null ? void 0 : n()) != null && N.length);
|
|
3215
3219
|
const w = "hide" in r() ? r().hide : !1;
|
|
3216
3220
|
return ("show" in r() ? r().show : !0) && !w;
|
|
3217
3221
|
}
|
|
3218
3222
|
function a() {
|
|
3219
|
-
var T,
|
|
3220
|
-
return !((T = t == null ? void 0 : t()) != null && T.component) && !n() ? (
|
|
3223
|
+
var T, R;
|
|
3224
|
+
return !((T = t == null ? void 0 : t()) != null && T.component) && !n() ? (R = r().children) != null ? R : [] : [];
|
|
3221
3225
|
}
|
|
3222
3226
|
function f() {
|
|
3223
|
-
var w, T,
|
|
3227
|
+
var w, T, R, N;
|
|
3224
3228
|
return {
|
|
3225
3229
|
blockChildren: (w = r().children) != null ? w : [],
|
|
3226
3230
|
componentRef: (T = t == null ? void 0 : t()) == null ? void 0 : T.component,
|
|
3227
3231
|
componentOptions: {
|
|
3228
3232
|
...Nn(r()),
|
|
3229
3233
|
...yo(t(), r()),
|
|
3230
|
-
...
|
|
3231
|
-
...
|
|
3232
|
-
...
|
|
3234
|
+
...vo(t(), e.context),
|
|
3235
|
+
...ho(t(), e.linkComponent),
|
|
3236
|
+
...go(
|
|
3233
3237
|
t(),
|
|
3234
3238
|
e.registeredComponents
|
|
3235
3239
|
)
|
|
@@ -3238,22 +3242,22 @@ function ct(e) {
|
|
|
3238
3242
|
linkComponent: e.linkComponent,
|
|
3239
3243
|
registeredComponents: e.registeredComponents,
|
|
3240
3244
|
builderBlock: r(),
|
|
3241
|
-
includeBlockProps: ((
|
|
3242
|
-
isInteractive: !((
|
|
3245
|
+
includeBlockProps: ((R = t == null ? void 0 : t()) == null ? void 0 : R.noWrap) === !0,
|
|
3246
|
+
isInteractive: !((N = t == null ? void 0 : t()) != null && N.isRSC)
|
|
3243
3247
|
};
|
|
3244
3248
|
}
|
|
3245
|
-
return
|
|
3249
|
+
return jn(() => {
|
|
3246
3250
|
const w = r().id, T = r().animations;
|
|
3247
|
-
T && w &&
|
|
3248
|
-
T.map((
|
|
3249
|
-
...
|
|
3251
|
+
T && w && no(
|
|
3252
|
+
T.map((R) => ({
|
|
3253
|
+
...R,
|
|
3250
3254
|
elementId: w
|
|
3251
3255
|
}))
|
|
3252
3256
|
);
|
|
3253
|
-
}, []), /* @__PURE__ */
|
|
3254
|
-
/* @__PURE__ */
|
|
3255
|
-
(
|
|
3256
|
-
|
|
3257
|
+
}, []), /* @__PURE__ */ b(Z, { children: s() ? /* @__PURE__ */ Mt(Z, { children: [
|
|
3258
|
+
/* @__PURE__ */ b(xo, { block: e.block, context: e.context }),
|
|
3259
|
+
(g = t == null ? void 0 : t()) != null && g.noWrap ? /* @__PURE__ */ b(Z, { children: /* @__PURE__ */ b(
|
|
3260
|
+
Wr,
|
|
3257
3261
|
{
|
|
3258
3262
|
componentRef: f().componentRef,
|
|
3259
3263
|
componentOptions: f().componentOptions,
|
|
@@ -3265,8 +3269,8 @@ function ct(e) {
|
|
|
3265
3269
|
includeBlockProps: f().includeBlockProps,
|
|
3266
3270
|
isInteractive: f().isInteractive
|
|
3267
3271
|
}
|
|
3268
|
-
) }) : /* @__PURE__ */
|
|
3269
|
-
|
|
3272
|
+
) }) : /* @__PURE__ */ b(Z, { children: n() ? /* @__PURE__ */ b(Z, { children: (C = n()) == null ? void 0 : C.map((w, T) => /* @__PURE__ */ b(
|
|
3273
|
+
bo,
|
|
3270
3274
|
{
|
|
3271
3275
|
repeatContext: w.context,
|
|
3272
3276
|
block: w.block,
|
|
@@ -3274,15 +3278,15 @@ function ct(e) {
|
|
|
3274
3278
|
linkComponent: e.linkComponent
|
|
3275
3279
|
},
|
|
3276
3280
|
T
|
|
3277
|
-
)) }) : /* @__PURE__ */
|
|
3278
|
-
|
|
3281
|
+
)) }) : /* @__PURE__ */ Mt(
|
|
3282
|
+
Oo,
|
|
3279
3283
|
{
|
|
3280
3284
|
Wrapper: o(),
|
|
3281
3285
|
block: r(),
|
|
3282
3286
|
context: e.context,
|
|
3283
3287
|
children: [
|
|
3284
|
-
/* @__PURE__ */
|
|
3285
|
-
|
|
3288
|
+
/* @__PURE__ */ b(
|
|
3289
|
+
Wr,
|
|
3286
3290
|
{
|
|
3287
3291
|
componentRef: f().componentRef,
|
|
3288
3292
|
componentOptions: f().componentOptions,
|
|
@@ -3295,8 +3299,8 @@ function ct(e) {
|
|
|
3295
3299
|
isInteractive: f().isInteractive
|
|
3296
3300
|
}
|
|
3297
3301
|
),
|
|
3298
|
-
(O = a()) == null ? void 0 : O.map((w) => /* @__PURE__ */
|
|
3299
|
-
|
|
3302
|
+
(O = a()) == null ? void 0 : O.map((w) => /* @__PURE__ */ b(
|
|
3303
|
+
ut,
|
|
3300
3304
|
{
|
|
3301
3305
|
block: w,
|
|
3302
3306
|
registeredComponents: e.registeredComponents,
|
|
@@ -3310,14 +3314,14 @@ function ct(e) {
|
|
|
3310
3314
|
) })
|
|
3311
3315
|
] }) : null });
|
|
3312
3316
|
}
|
|
3313
|
-
function
|
|
3317
|
+
function To(e) {
|
|
3314
3318
|
function t() {
|
|
3315
3319
|
var o;
|
|
3316
3320
|
return "builder-blocks" + ((o = e.blocks) != null && o.length ? "" : " no-blocks");
|
|
3317
3321
|
}
|
|
3318
3322
|
function n() {
|
|
3319
3323
|
var o, s;
|
|
3320
|
-
|
|
3324
|
+
Dt() && !((o = e.blocks) != null && o.length) && ((s = window.parent) == null || s.postMessage(
|
|
3321
3325
|
{
|
|
3322
3326
|
type: "builder.clickEmptyBlocks",
|
|
3323
3327
|
data: {
|
|
@@ -3330,7 +3334,7 @@ function Po(e) {
|
|
|
3330
3334
|
}
|
|
3331
3335
|
function r() {
|
|
3332
3336
|
var o, s;
|
|
3333
|
-
|
|
3337
|
+
Dt() && !((o = e.blocks) != null && o.length) && ((s = window.parent) == null || s.postMessage(
|
|
3334
3338
|
{
|
|
3335
3339
|
type: "builder.hoverEmptyBlocks",
|
|
3336
3340
|
data: {
|
|
@@ -3341,8 +3345,8 @@ function Po(e) {
|
|
|
3341
3345
|
"*"
|
|
3342
3346
|
));
|
|
3343
3347
|
}
|
|
3344
|
-
return /* @__PURE__ */
|
|
3345
|
-
/* @__PURE__ */
|
|
3348
|
+
return /* @__PURE__ */ Mt(Z, { children: [
|
|
3349
|
+
/* @__PURE__ */ b(
|
|
3346
3350
|
e.BlocksWrapper,
|
|
3347
3351
|
{
|
|
3348
3352
|
className: t() + " props-blocks-wrapper-7cd1560e",
|
|
@@ -3356,18 +3360,18 @@ function Po(e) {
|
|
|
3356
3360
|
children: e.children
|
|
3357
3361
|
}
|
|
3358
3362
|
),
|
|
3359
|
-
/* @__PURE__ */
|
|
3363
|
+
/* @__PURE__ */ b("style", { children: `.props-blocks-wrapper-7cd1560e {
|
|
3360
3364
|
display: flex;
|
|
3361
3365
|
flex-direction: column;
|
|
3362
3366
|
align-items: stretch;
|
|
3363
3367
|
}` })
|
|
3364
3368
|
] });
|
|
3365
3369
|
}
|
|
3366
|
-
function
|
|
3370
|
+
function Po(e) {
|
|
3367
3371
|
var r, o, s;
|
|
3368
|
-
const t =
|
|
3369
|
-
return /* @__PURE__ */
|
|
3370
|
-
|
|
3372
|
+
const t = Rr(Gr), n = Rr(Pn);
|
|
3373
|
+
return /* @__PURE__ */ b(
|
|
3374
|
+
To,
|
|
3371
3375
|
{
|
|
3372
3376
|
blocks: e.blocks,
|
|
3373
3377
|
parent: e.parent,
|
|
@@ -3375,8 +3379,8 @@ function Ro(e) {
|
|
|
3375
3379
|
styleProp: e.styleProp,
|
|
3376
3380
|
BlocksWrapper: ((r = e.context) == null ? void 0 : r.BlocksWrapper) || t.BlocksWrapper,
|
|
3377
3381
|
BlocksWrapperProps: ((o = e.context) == null ? void 0 : o.BlocksWrapperProps) || t.BlocksWrapperProps,
|
|
3378
|
-
children: e.blocks ? /* @__PURE__ */
|
|
3379
|
-
|
|
3382
|
+
children: e.blocks ? /* @__PURE__ */ b(Z, { children: (s = e.blocks) == null ? void 0 : s.map((a) => /* @__PURE__ */ b(
|
|
3383
|
+
ut,
|
|
3380
3384
|
{
|
|
3381
3385
|
block: a,
|
|
3382
3386
|
linkComponent: e.linkComponent,
|
|
@@ -3388,19 +3392,19 @@ function Ro(e) {
|
|
|
3388
3392
|
}
|
|
3389
3393
|
);
|
|
3390
3394
|
}
|
|
3391
|
-
const
|
|
3395
|
+
const Lo = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3392
3396
|
__proto__: null,
|
|
3393
|
-
default:
|
|
3397
|
+
default: Po
|
|
3394
3398
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
3395
3399
|
export {
|
|
3396
|
-
|
|
3397
|
-
|
|
3398
|
-
|
|
3399
|
-
|
|
3400
|
-
|
|
3401
|
-
|
|
3402
|
-
|
|
3403
|
-
|
|
3404
|
-
|
|
3405
|
-
|
|
3400
|
+
ut as Block,
|
|
3401
|
+
Po as Blocks,
|
|
3402
|
+
Pn as ComponentsContext,
|
|
3403
|
+
wo as InlinedStyles,
|
|
3404
|
+
Lo as blocks,
|
|
3405
|
+
qt as evaluate,
|
|
3406
|
+
mo as getSizesForBreakpoints,
|
|
3407
|
+
co as mapStyleObjToStrIfNeeded,
|
|
3408
|
+
Hr as set,
|
|
3409
|
+
io as triggerAnimation
|
|
3406
3410
|
};
|