@builder.io/sdk-react 1.0.35 → 1.1.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/lib/browser/blocks-exports.cjs +24 -24
- package/lib/browser/blocks-exports.mjs +687 -510
- package/lib/browser/index.cjs +1 -1
- package/lib/browser/index.mjs +1 -1
- package/lib/browser/init.cjs +6 -6
- package/lib/browser/init.mjs +29 -19
- package/lib/browser/{server-entry-6bbf0d8e.cjs → server-entry-4fb4a8b5.cjs} +1 -1
- package/lib/browser/{server-entry-b3ba0c65.js → server-entry-a2fe3a55.js} +1 -1
- package/lib/browser/server-entry.cjs +1 -1
- package/lib/browser/server-entry.mjs +1 -1
- package/lib/edge/{accordion-5b4a3309.js → accordion-a25dee70.js} +1 -1
- package/lib/edge/{accordion-5cca8f06.cjs → accordion-d5929c1e.cjs} +1 -1
- package/lib/edge/{blocks-30dbe829.js → blocks-317ff1a5.js} +679 -671
- package/lib/edge/{blocks-7855e195.cjs → blocks-5cb24de4.cjs} +13 -13
- package/lib/edge/blocks-exports.cjs +1 -1
- package/lib/edge/blocks-exports.mjs +2 -2
- package/lib/edge/{button-94d3cdf8.js → button-2f5bf5cf.js} +2 -2
- package/lib/edge/{button-1e80769d.cjs → button-b06330e4.cjs} +1 -1
- package/lib/edge/{columns-e5074ad9.js → columns-69453374.js} +3 -3
- package/lib/edge/{columns-18e70134.cjs → columns-ef105550.cjs} +1 -1
- package/lib/edge/{content-variants-4450b25f.js → content-variants-336e3b7f.js} +382 -228
- package/lib/edge/content-variants-f2620a07.cjs +134 -0
- package/lib/edge/{form-9ddabd0e.js → form-30431d39.js} +3 -3
- package/lib/edge/{form-a08b5177.cjs → form-55ba7324.cjs} +1 -1
- package/lib/edge/{get-class-prop-name-3a85a54d.cjs → get-class-prop-name-5da28706.cjs} +1 -1
- package/lib/edge/{get-class-prop-name-d5155434.js → get-class-prop-name-8d9f271c.js} +1 -1
- package/lib/edge/{img-256419c6.js → img-02bb6d39.js} +1 -1
- package/lib/edge/{img-a38d9d0b.cjs → img-a85aa1f8.cjs} +1 -1
- package/lib/edge/index.cjs +1 -1
- package/lib/edge/index.mjs +1 -1
- package/lib/edge/init.cjs +6 -6
- package/lib/edge/init.mjs +29 -19
- package/lib/edge/{input-76252038.cjs → input-448b664a.cjs} +1 -1
- package/lib/edge/{input-e030821e.js → input-d7e84d5c.js} +1 -1
- package/lib/edge/{select-92af3038.js → select-744ccf82.js} +5 -4
- package/lib/edge/select-7e98c1fc.cjs +1 -0
- package/lib/edge/{server-entry-b8d1a7db.js → server-entry-7003c754.js} +1 -1
- package/lib/edge/{server-entry-5b4426a1.cjs → server-entry-f52f597d.cjs} +1 -1
- package/lib/edge/server-entry.cjs +1 -1
- package/lib/edge/server-entry.mjs +1 -1
- package/lib/edge/{slot-27c3a577.js → slot-6ddfa828.js} +3 -3
- package/lib/edge/{slot-27ff859a.cjs → slot-fb11eb23.cjs} +1 -1
- package/lib/edge/{symbol-6c0f8a5c.js → symbol-ced9c879.js} +2 -2
- package/lib/edge/{symbol-3c1f8827.cjs → symbol-d82ac04c.cjs} +1 -1
- package/lib/edge/{tabs-770b1029.cjs → tabs-93843650.cjs} +1 -1
- package/lib/edge/{tabs-5b4535f0.js → tabs-ffcc16e4.js} +3 -3
- package/lib/edge/textarea-56a875bc.cjs +1 -0
- package/lib/edge/textarea-d29025e9.js +17 -0
- package/lib/node/blocks-exports.cjs +27 -27
- package/lib/node/blocks-exports.mjs +687 -510
- 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-79df5f59.js → node-runtime-13876a87.js} +51 -41
- package/lib/node/node-runtime-b5d88fa0.cjs +48 -0
- package/lib/node/{server-entry-ea775ab5.js → server-entry-9942a35a.js} +1 -1
- package/lib/node/{server-entry-11bc96ae.cjs → server-entry-d0ae23af.cjs} +1 -1
- package/lib/node/server-entry.cjs +1 -1
- package/lib/node/server-entry.mjs +1 -1
- package/package.json +1 -2
- package/types/blocks/form/select/select.d.ts +1 -0
- package/types/blocks/form/textarea/component-info.d.ts +2 -0
- package/types/blocks/{textarea → form/textarea}/textarea.d.ts +1 -0
- package/types/components/block/block.helpers.d.ts +8 -8
- package/types/components/content-variants/inlined-fns.d.ts +1 -1
- package/types/constants/sdk-name.d.ts +1 -0
- package/types/constants/sdk-version.d.ts +1 -1
- package/types/types/components.d.ts +31 -0
- package/lib/edge/content-variants-d6dca201.cjs +0 -134
- package/lib/edge/select-98849dc7.cjs +0 -1
- package/lib/node/node-runtime-80dbd8f2.cjs +0 -48
- package/types/blocks/textarea/component-info.d.ts +0 -2
- /package/types/blocks/{textarea → form/textarea}/index.d.ts +0 -0
|
@@ -1,18 +1,18 @@
|
|
|
1
|
-
var
|
|
2
|
-
var
|
|
3
|
-
var Bt = (e, t, n) => (
|
|
1
|
+
var En = Object.defineProperty;
|
|
2
|
+
var Cn = (e, t, n) => t in e ? En(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
|
|
3
|
+
var Bt = (e, t, n) => (Cn(e, typeof t != "symbol" ? t + "" : t, n), n);
|
|
4
4
|
import { jsx as I, Fragment as Z, jsxs as Dt } from "react/jsx-runtime";
|
|
5
|
-
import { createContext as
|
|
5
|
+
import { createContext as jn, useState as Gr, useEffect as On, useContext as Br } from "react";
|
|
6
6
|
import { BuilderContext as Vr } from "./blocks-exports.mjs";
|
|
7
|
-
import { isEditing as Ut, isBrowser as
|
|
8
|
-
import { getClassPropName as
|
|
9
|
-
import { DynamicRenderer as
|
|
10
|
-
const
|
|
7
|
+
import { isEditing as Ut, isBrowser as Lt, getUserAttributes as An, logger as $t, checkIsDefined as ot, fastClone as Xr, TARGET as Hr } from "./server-entry-7003c754.js";
|
|
8
|
+
import { getClassPropName as bn } from "./get-class-prop-name-8d9f271c.js";
|
|
9
|
+
import { DynamicRenderer as In } from "./dynamic-renderer-8b343325.js";
|
|
10
|
+
const Kr = (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
|
+
}, Jr = ({
|
|
16
16
|
builder: e,
|
|
17
17
|
context: t,
|
|
18
18
|
event: n,
|
|
@@ -24,22 +24,22 @@ const Hr = (e, t, n) => {
|
|
|
24
24
|
builder: e,
|
|
25
25
|
context: t,
|
|
26
26
|
event: n
|
|
27
|
-
}),
|
|
27
|
+
}), Tn = () => ({
|
|
28
28
|
isEditing: Ut(),
|
|
29
|
-
isBrowser:
|
|
30
|
-
isServer: !
|
|
31
|
-
getUserAttributes: () =>
|
|
32
|
-
}),
|
|
29
|
+
isBrowser: Lt(),
|
|
30
|
+
isServer: !Lt(),
|
|
31
|
+
getUserAttributes: () => An()
|
|
32
|
+
}), Pn = (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,
|
|
35
|
-
function
|
|
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, Rn = jn({ registeredComponents: {} });
|
|
35
|
+
function Nn(e) {
|
|
36
36
|
var t;
|
|
37
37
|
return {
|
|
38
38
|
...(t = e.component) == null ? void 0 : t.options,
|
|
39
39
|
...e.options
|
|
40
40
|
};
|
|
41
41
|
}
|
|
42
|
-
const
|
|
42
|
+
const Bn = ({
|
|
43
43
|
code: e,
|
|
44
44
|
builder: t,
|
|
45
45
|
context: n,
|
|
@@ -48,19 +48,19 @@ const Rn = ({
|
|
|
48
48
|
rootSetState: s,
|
|
49
49
|
rootState: a
|
|
50
50
|
}) => {
|
|
51
|
-
const f =
|
|
51
|
+
const f = Jr({
|
|
52
52
|
builder: t,
|
|
53
53
|
context: n,
|
|
54
54
|
event: r,
|
|
55
|
-
state:
|
|
55
|
+
state: Yr({
|
|
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(([d]) => d), e)(...f.map(([, d]) => d));
|
|
62
62
|
};
|
|
63
|
-
function
|
|
63
|
+
function Yr({
|
|
64
64
|
rootState: e,
|
|
65
65
|
localState: t,
|
|
66
66
|
rootSetState: n
|
|
@@ -70,7 +70,7 @@ function Jr({
|
|
|
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 ? Yr({
|
|
74
74
|
rootState: s,
|
|
75
75
|
localState: void 0,
|
|
76
76
|
rootSetState: n ? (a) => {
|
|
@@ -85,25 +85,25 @@ function Jr({
|
|
|
85
85
|
}
|
|
86
86
|
});
|
|
87
87
|
}
|
|
88
|
-
var b,
|
|
88
|
+
var b, Mn = 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 && Sn.test(String.fromCharCode(i));
|
|
91
91
|
}
|
|
92
92
|
function n(i) {
|
|
93
|
-
return 65 > i ? i === 36 : 91 > i ? !0 : 97 > i ? i === 95 : 123 > i ? !0 : 170 <= i &&
|
|
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 =
|
|
97
|
-
|
|
98
|
-
var U =
|
|
96
|
+
for (var u = g, p = 1, S = 0; ; ) {
|
|
97
|
+
rt.lastIndex = S;
|
|
98
|
+
var U = rt.exec(u);
|
|
99
99
|
if (U && U.index < i)
|
|
100
|
-
++p,
|
|
100
|
+
++p, S = U.index + U[0].length;
|
|
101
101
|
else
|
|
102
102
|
break;
|
|
103
103
|
}
|
|
104
104
|
throw u = {
|
|
105
105
|
line: p,
|
|
106
|
-
ab: i -
|
|
106
|
+
ab: i - S
|
|
107
107
|
}, l += " (" + u.line + ":" + u.ab + ")", l = new SyntaxError(l), l.j = i, l.X = u, l.o = c, l;
|
|
108
108
|
}
|
|
109
109
|
function o(i) {
|
|
@@ -115,42 +115,42 @@ var b, Bn = function(e) {
|
|
|
115
115
|
};
|
|
116
116
|
}
|
|
117
117
|
function s() {
|
|
118
|
-
this.line =
|
|
118
|
+
this.line = ge, this.ab = c - te;
|
|
119
119
|
}
|
|
120
120
|
function a(i, l) {
|
|
121
|
-
|
|
121
|
+
me = c, j.C && (xt = new s()), x = i, d(), 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 = g.charCodeAt(c += 2); c < ye && u !== 10 && u !== 13 && u !== 8232 && u !== 8233; )
|
|
125
|
+
++c, u = g.charCodeAt(c);
|
|
126
|
+
j.va && j.va(!1, g.slice(i + 2, c), i, c, l, j.C && new s());
|
|
127
127
|
}
|
|
128
|
-
function
|
|
129
|
-
for (; c <
|
|
130
|
-
var i =
|
|
128
|
+
function d() {
|
|
129
|
+
for (; c < ye; ) {
|
|
130
|
+
var i = g.charCodeAt(c);
|
|
131
131
|
if (i === 32)
|
|
132
132
|
++c;
|
|
133
133
|
else if (i === 13)
|
|
134
|
-
++c, i =
|
|
134
|
+
++c, i = g.charCodeAt(c), i === 10 && ++c, j.C && (++ge, te = c);
|
|
135
135
|
else if (i === 10 || i === 8232 || i === 8233)
|
|
136
|
-
++c, j.C && (++
|
|
136
|
+
++c, j.C && (++ge, 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 = g.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 = g.indexOf("*/", c += 2);
|
|
143
143
|
if (p === -1 && r(c - 2, "Unterminated comment"), c = p + 2, j.C)
|
|
144
|
-
for (
|
|
145
|
-
++
|
|
146
|
-
j.va && j.va(!0,
|
|
144
|
+
for (rt.lastIndex = u; (i = rt.exec(g)) && i.index < c; )
|
|
145
|
+
++ge, te = i.index + i[0].length;
|
|
146
|
+
j.va && j.va(!0, g.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 && xn.test(String.fromCharCode(i)))
|
|
154
154
|
++c;
|
|
155
155
|
else
|
|
156
156
|
break;
|
|
@@ -159,7 +159,7 @@ var b, Bn = function(e) {
|
|
|
159
159
|
function O(i) {
|
|
160
160
|
switch (i) {
|
|
161
161
|
case 46:
|
|
162
|
-
i =
|
|
162
|
+
i = g.charCodeAt(c + 1), 48 <= i && 57 >= i ? R(!0) : (++c, a(jr));
|
|
163
163
|
return;
|
|
164
164
|
case 40:
|
|
165
165
|
return ++c, a(re);
|
|
@@ -172,18 +172,18 @@ var b, Bn = function(e) {
|
|
|
172
172
|
case 91:
|
|
173
173
|
return ++c, a(Tt);
|
|
174
174
|
case 93:
|
|
175
|
-
return ++c, a(
|
|
175
|
+
return ++c, a(Pt);
|
|
176
176
|
case 123:
|
|
177
|
-
return ++c, a(
|
|
177
|
+
return ++c, a(Be);
|
|
178
178
|
case 125:
|
|
179
179
|
return ++c, a(xe);
|
|
180
180
|
case 58:
|
|
181
|
-
return ++c, a(
|
|
181
|
+
return ++c, a(Me);
|
|
182
182
|
case 63:
|
|
183
183
|
return ++c, a(Or);
|
|
184
184
|
case 48:
|
|
185
|
-
if (i =
|
|
186
|
-
c += 2, i =
|
|
185
|
+
if (i = g.charCodeAt(c + 1), i === 120 || i === 88) {
|
|
186
|
+
c += 2, i = N(16), i === null && r(D + 2, "Expected hexadecimal number"), n(g.charCodeAt(c)) && r(c, "Identifier directly after number"), a(Ne, i);
|
|
187
187
|
return;
|
|
188
188
|
}
|
|
189
189
|
case 49:
|
|
@@ -195,20 +195,20 @@ var b, Bn = function(e) {
|
|
|
195
195
|
case 55:
|
|
196
196
|
case 56:
|
|
197
197
|
case 57:
|
|
198
|
-
return
|
|
198
|
+
return R(!1);
|
|
199
199
|
case 34:
|
|
200
200
|
case 39:
|
|
201
201
|
c++;
|
|
202
202
|
for (var l = ""; ; ) {
|
|
203
|
-
c >=
|
|
204
|
-
var u =
|
|
203
|
+
c >= ye && r(D, "Unterminated string constant");
|
|
204
|
+
var u = g.charCodeAt(c);
|
|
205
205
|
if (u === i) {
|
|
206
|
-
++c, a(
|
|
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 = g.charCodeAt(++c);
|
|
211
|
+
var p = /^[0-7]+/.exec(g.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, Bn = function(e) {
|
|
|
247
247
|
l += "\0";
|
|
248
248
|
break;
|
|
249
249
|
case 13:
|
|
250
|
-
|
|
250
|
+
g.charCodeAt(c) === 10 && ++c;
|
|
251
251
|
case 10:
|
|
252
|
-
j.C && (te = c, ++
|
|
252
|
+
j.C && (te = c, ++ge);
|
|
253
253
|
break;
|
|
254
254
|
default:
|
|
255
255
|
l += String.fromCharCode(u);
|
|
@@ -259,58 +259,58 @@ var b, Bn = function(e) {
|
|
|
259
259
|
}
|
|
260
260
|
return;
|
|
261
261
|
case 47:
|
|
262
|
-
i =
|
|
262
|
+
i = g.charCodeAt(c + 1), Pe ? (++c, T()) : i === 61 ? w(ve, 2) : w(Ar, 1);
|
|
263
263
|
return;
|
|
264
264
|
case 37:
|
|
265
265
|
case 42:
|
|
266
|
-
|
|
266
|
+
g.charCodeAt(c + 1) === 61 ? w(ve, 2) : w(yn, 1);
|
|
267
267
|
return;
|
|
268
268
|
case 124:
|
|
269
269
|
case 38:
|
|
270
|
-
l =
|
|
270
|
+
l = g.charCodeAt(c + 1), l === i ? w(i === 124 ? Tr : Pr, 2) : l === 61 ? w(ve, 2) : w(i === 124 ? cn : pn, 1);
|
|
271
271
|
return;
|
|
272
272
|
case 94:
|
|
273
|
-
|
|
273
|
+
g.charCodeAt(c + 1) === 61 ? w(ve, 2) : w(fn, 1);
|
|
274
274
|
return;
|
|
275
275
|
case 43:
|
|
276
276
|
case 45:
|
|
277
|
-
l =
|
|
277
|
+
l = g.charCodeAt(c + 1), l === i ? l === 45 && g.charCodeAt(c + 2) === 62 && tt.test(g.slice(fe, c)) ? (c += 3, f(), d(), C()) : w(un, 2) : l === 61 ? w(ve, 2) : w(vn, 1);
|
|
278
278
|
return;
|
|
279
279
|
case 60:
|
|
280
280
|
case 62:
|
|
281
|
-
l =
|
|
281
|
+
l = g.charCodeAt(c + 1), u = 1, l === i ? (u = i === 62 && g.charCodeAt(c + 2) === 62 ? 3 : 2, g.charCodeAt(c + u) === 61 ? w(ve, u + 1) : w(gn, u)) : l === 33 && i === 60 && g.charCodeAt(c + 2) === 45 && g.charCodeAt(c + 3) === 45 ? (c += 4, f(), d(), C()) : (l === 61 && (u = g.charCodeAt(c + 2) === 61 ? 3 : 2), w(dn, u));
|
|
282
282
|
return;
|
|
283
283
|
case 61:
|
|
284
284
|
case 33:
|
|
285
|
-
|
|
285
|
+
g.charCodeAt(c + 1) === 61 ? w(hn, g.charCodeAt(c + 2) === 61 ? 3 : 2) : w(i === 61 ? br : Ir, 1);
|
|
286
286
|
return;
|
|
287
287
|
case 126:
|
|
288
|
-
return
|
|
288
|
+
return w(Ir, 1);
|
|
289
289
|
}
|
|
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 && (wt = new s()), i)
|
|
294
294
|
return T();
|
|
295
|
-
if (c >=
|
|
295
|
+
if (c >= ye)
|
|
296
296
|
return a(Et);
|
|
297
|
-
if (i =
|
|
297
|
+
if (i = g.charCodeAt(c), n(i) || i === 92)
|
|
298
298
|
return H();
|
|
299
299
|
if (O(i) === !1) {
|
|
300
|
-
if (i = String.fromCharCode(i), i === "\\" ||
|
|
300
|
+
if (i = String.fromCharCode(i), i === "\\" || Nr.test(i))
|
|
301
301
|
return H();
|
|
302
302
|
r(c, "Unexpected character '" + i + "'");
|
|
303
303
|
}
|
|
304
304
|
}
|
|
305
|
-
function
|
|
306
|
-
var u =
|
|
305
|
+
function w(i, l) {
|
|
306
|
+
var u = g.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 =
|
|
313
|
-
if (
|
|
311
|
+
c >= ye && r(u, "Unterminated regexp");
|
|
312
|
+
var p = g.charAt(c);
|
|
313
|
+
if (tt.test(p) && r(u, "Unterminated regexp"), i)
|
|
314
314
|
i = !1;
|
|
315
315
|
else {
|
|
316
316
|
if (p === "[")
|
|
@@ -323,74 +323,74 @@ var b, Bn = function(e) {
|
|
|
323
323
|
}
|
|
324
324
|
++c;
|
|
325
325
|
}
|
|
326
|
-
i =
|
|
326
|
+
i = g.slice(u, c), ++c, (l = $()) && !/^[gmi]*$/.test(l) && r(u, "Invalid regexp flag");
|
|
327
327
|
try {
|
|
328
|
-
var
|
|
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(sr,
|
|
332
|
+
a(sr, S);
|
|
333
333
|
}
|
|
334
|
-
function
|
|
335
|
-
for (var u = c, p = 0,
|
|
336
|
-
var G =
|
|
334
|
+
function N(i, l) {
|
|
335
|
+
for (var u = c, p = 0, S = l === void 0 ? 1 / 0 : l, U = 0; U < S; ++U) {
|
|
336
|
+
var G = g.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 ||
|
|
346
|
-
var
|
|
347
|
-
u ?
|
|
343
|
+
function R(i) {
|
|
344
|
+
var l = c, u = !1, p = g.charCodeAt(c) === 48;
|
|
345
|
+
i || N(10) !== null || r(l, "Invalid number"), g.charCodeAt(c) === 46 && (++c, N(10), u = !0), i = g.charCodeAt(c), (i === 69 || i === 101) && (i = g.charCodeAt(++c), i !== 43 && i !== 45 || ++c, N(10) === null && r(l, "Invalid number"), u = !0), n(g.charCodeAt(c)) && r(c, "Identifier directly after number"), i = g.slice(l, c);
|
|
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(Ne, S);
|
|
348
348
|
}
|
|
349
349
|
function ue(i) {
|
|
350
|
-
return i =
|
|
350
|
+
return i = N(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 = g.charCodeAt(c);
|
|
356
356
|
if (t(p))
|
|
357
|
-
|
|
357
|
+
Se && (i += g.charAt(c)), ++c;
|
|
358
358
|
else if (p === 92) {
|
|
359
|
-
|
|
360
|
-
var
|
|
361
|
-
|
|
359
|
+
Se || (i = g.slice(u, c)), Se = !0, g.charCodeAt(++c) !== 117 && r(c, "Expecting Unicode escape sequence \\uXXXX"), ++c, p = ue(4);
|
|
360
|
+
var S = String.fromCharCode(p);
|
|
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
|
|
366
|
+
return Se ? i : g.slice(u, c);
|
|
367
367
|
}
|
|
368
368
|
function H() {
|
|
369
369
|
var i = $(), l = we;
|
|
370
|
-
!
|
|
370
|
+
!Se && wn(i) && (l = ln[i]), a(l, i);
|
|
371
371
|
}
|
|
372
372
|
function k() {
|
|
373
|
-
|
|
373
|
+
St = D, fe = me, kt = xt, 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 = g.lastIndexOf(`
|
|
379
|
+
`, te - 2) + 1, --ge;
|
|
380
|
+
d(), C();
|
|
381
381
|
}
|
|
382
|
-
function
|
|
382
|
+
function Je() {
|
|
383
383
|
this.type = null, this.start = D, this.end = null;
|
|
384
384
|
}
|
|
385
385
|
function rr() {
|
|
386
|
-
this.start =
|
|
386
|
+
this.start = wt, this.end = null, mt && (this.source = mt);
|
|
387
387
|
}
|
|
388
|
-
function
|
|
389
|
-
var i = new
|
|
388
|
+
function F() {
|
|
389
|
+
var i = new Je();
|
|
390
390
|
return j.C && (i.X = new rr()), j.vb && (i.sourceFile = j.vb), j.Xa && (i.j = [D, 0]), i;
|
|
391
391
|
}
|
|
392
392
|
function ce(i) {
|
|
393
|
-
var l = new
|
|
393
|
+
var l = new Je();
|
|
394
394
|
return l.start = i.start, j.C && (l.X = new rr(), l.X.start = i.X.start), j.Xa && (l.j = [i.j[0], 0]), l;
|
|
395
395
|
}
|
|
396
396
|
function E(i, l) {
|
|
@@ -399,91 +399,91 @@ var b, Bn = function(e) {
|
|
|
399
399
|
function ft(i) {
|
|
400
400
|
return i.type === "ExpressionStatement" && i.la.type === "Literal" && i.la.value === "use strict";
|
|
401
401
|
}
|
|
402
|
-
function
|
|
403
|
-
return
|
|
402
|
+
function P(i) {
|
|
403
|
+
return x === i ? (k(), !0) : !1;
|
|
404
404
|
}
|
|
405
|
-
function
|
|
406
|
-
return !j.fc && (
|
|
405
|
+
function Ye() {
|
|
406
|
+
return !j.fc && (x === Et || x === xe || tt.test(g.slice(fe, D)));
|
|
407
407
|
}
|
|
408
|
-
function
|
|
409
|
-
|
|
408
|
+
function de() {
|
|
409
|
+
P(ne) || Ye() || q();
|
|
410
410
|
}
|
|
411
411
|
function B(i) {
|
|
412
|
-
|
|
412
|
+
x === i ? k() : q();
|
|
413
413
|
}
|
|
414
414
|
function q() {
|
|
415
415
|
r(D, "Unexpected token");
|
|
416
416
|
}
|
|
417
|
-
function
|
|
418
|
-
i.type !== "Identifier" && i.type !== "MemberExpression" && r(i.start, "Assigning to rvalue"), K && i.type === "Identifier" &&
|
|
417
|
+
function Ze(i) {
|
|
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
|
-
(
|
|
422
|
-
var i =
|
|
421
|
+
(x === Ar || x === ve && J === "/=") && C(!0);
|
|
422
|
+
var i = x, l = F();
|
|
423
423
|
switch (i) {
|
|
424
424
|
case Ct:
|
|
425
425
|
case lr:
|
|
426
426
|
k();
|
|
427
427
|
var u = i === Ct;
|
|
428
|
-
|
|
428
|
+
P(ne) || Ye() ? l.label = null : x !== we ? q() : (l.label = ee(), de());
|
|
429
429
|
for (var p = 0; p < M.length; ++p) {
|
|
430
|
-
var
|
|
431
|
-
if ((l.label === null ||
|
|
430
|
+
var S = M[p];
|
|
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
435
|
case ur:
|
|
436
|
-
return k(),
|
|
436
|
+
return k(), de(), E(l, "DebuggerStatement");
|
|
437
437
|
case fr:
|
|
438
|
-
return k(), M.push(
|
|
439
|
-
case gr:
|
|
440
|
-
return k(), M.push(Pt), B(re), w === ne ? pt(l, null) : w === bt ? (i = L(), k(), or(i, !0), E(i, "VariableDeclaration"), i.fa.length === 1 && N(et) ? nr(l, i) : pt(l, i)) : (i = W(!1, !0), N(et) ? (ze(i), nr(l, i)) : pt(l, i));
|
|
441
|
-
case Ot:
|
|
442
|
-
return k(), yt(l, !0);
|
|
438
|
+
return k(), M.push(Rt), l.body = Y(), M.pop(), B(It), l.test = be(), de(), E(l, "DoWhileStatement");
|
|
443
439
|
case dr:
|
|
444
|
-
return k(),
|
|
445
|
-
case
|
|
446
|
-
return
|
|
440
|
+
return k(), M.push(Rt), B(re), x === ne ? pt(l, null) : x === bt ? (i = F(), k(), or(i, !0), E(i, "VariableDeclaration"), i.fa.length === 1 && P(qe) ? nr(l, i) : pt(l, i)) : (i = W(!1, !0), P(qe) ? (Ze(i), nr(l, i)) : pt(l, i));
|
|
441
|
+
case Ot:
|
|
442
|
+
return k(), vt(l, !0);
|
|
443
|
+
case gr:
|
|
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
447
|
case At:
|
|
448
|
-
for (k(), l.Qb =
|
|
449
|
-
|
|
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()));
|
|
450
450
|
return p && E(p, "SwitchCase"), k(), M.pop(), E(l, "SwitchStatement");
|
|
451
|
-
case
|
|
452
|
-
return k(),
|
|
451
|
+
case yr:
|
|
452
|
+
return k(), tt.test(g.slice(fe, D)) && r(fe, "Illegal newline after throw"), l.K = W(), de(), E(l, "ThrowStatement");
|
|
453
453
|
case mr:
|
|
454
|
-
return k(), l.block =
|
|
454
|
+
return k(), l.block = Ie(), l.Ea = null, x === ar && (i = F(), 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 = Ie(), l.Ea = E(i, "CatchClause")), l.fb = P(hr) ? Ie() : null, l.Ea || l.fb || r(l.start, "Missing catch or finally clause"), E(l, "TryStatement");
|
|
455
455
|
case bt:
|
|
456
|
-
return k(), or(l),
|
|
456
|
+
return k(), or(l), de(), 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 =
|
|
461
|
-
case
|
|
462
|
-
return
|
|
458
|
+
return k(), l.test = be(), M.push(Rt), l.body = Y(), M.pop(), E(l, "WhileStatement");
|
|
459
|
+
case wr:
|
|
460
|
+
return K && r(D, "'with' in strict mode"), k(), l.object = be(), l.body = Y(), E(l, "WithStatement");
|
|
461
|
+
case Be:
|
|
462
|
+
return Ie();
|
|
463
463
|
case ne:
|
|
464
464
|
return k(), E(l, "EmptyStatement");
|
|
465
465
|
default:
|
|
466
|
-
if (u = J,
|
|
466
|
+
if (u = J, S = W(), i === we && S.type === "Identifier" && P(Me)) {
|
|
467
467
|
for (p = 0; p < M.length; ++p)
|
|
468
|
-
M[p].name === u && r(
|
|
468
|
+
M[p].name === u && r(S.start, "Label '" + u + "' is already declared");
|
|
469
469
|
return M.push({
|
|
470
470
|
name: u,
|
|
471
|
-
kind:
|
|
472
|
-
}), l.body = Y(), M.pop(), l.label =
|
|
471
|
+
kind: x.W ? "loop" : x === At ? "switch" : null
|
|
472
|
+
}), l.body = Y(), M.pop(), l.label = S, E(l, "LabeledStatement");
|
|
473
473
|
}
|
|
474
|
-
return l.la =
|
|
474
|
+
return l.la = S, de(), E(l, "ExpressionStatement");
|
|
475
475
|
}
|
|
476
476
|
}
|
|
477
|
-
function
|
|
477
|
+
function be() {
|
|
478
478
|
B(re);
|
|
479
479
|
var i = W();
|
|
480
480
|
return B(z), i;
|
|
481
481
|
}
|
|
482
|
-
function
|
|
483
|
-
var l =
|
|
484
|
-
for (l.body = [], B(
|
|
485
|
-
var
|
|
486
|
-
if (l.body.push(
|
|
482
|
+
function Ie(i) {
|
|
483
|
+
var l = F(), u = !0, p = !1;
|
|
484
|
+
for (l.body = [], B(Be); !P(xe); ) {
|
|
485
|
+
var S = Y();
|
|
486
|
+
if (l.body.push(S), u && i && ft(S)) {
|
|
487
487
|
var U = p;
|
|
488
488
|
Q(p = !0);
|
|
489
489
|
}
|
|
@@ -492,150 +492,150 @@ var b, Bn = function(e) {
|
|
|
492
492
|
return p && !U && Q(!1), E(l, "BlockStatement");
|
|
493
493
|
}
|
|
494
494
|
function pt(i, l) {
|
|
495
|
-
return i.ua = l, B(ne), i.test =
|
|
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
497
|
function nr(i, l) {
|
|
498
498
|
return i.left = l, i.right = W(), B(z), i.body = Y(), M.pop(), E(i, "ForInStatement");
|
|
499
499
|
}
|
|
500
500
|
function or(i, l) {
|
|
501
501
|
for (i.fa = [], i.kind = "var"; ; ) {
|
|
502
|
-
var u =
|
|
503
|
-
if (u.id = ee(), K &&
|
|
502
|
+
var u = F();
|
|
503
|
+
if (u.id = ee(), K && et(u.id.name) && r(u.id.start, "Binding " + u.id.name + " in strict mode"), u.ua = P(br) ? 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
508
|
var u = ht(l);
|
|
509
|
-
if (!i &&
|
|
510
|
-
for (i = ce(u), i.xb = [u];
|
|
509
|
+
if (!i && x === pe) {
|
|
510
|
+
for (i = ce(u), i.xb = [u]; P(pe); )
|
|
511
511
|
i.xb.push(ht(l));
|
|
512
512
|
return E(i, "SequenceExpression");
|
|
513
513
|
}
|
|
514
514
|
return u;
|
|
515
515
|
}
|
|
516
516
|
function ht(i) {
|
|
517
|
-
var l = gt(
|
|
518
|
-
if (
|
|
517
|
+
var l = dt(gt(), -1, i);
|
|
518
|
+
if (P(Or)) {
|
|
519
519
|
var u = ce(l);
|
|
520
|
-
u.test = l, u.da = W(!0), B(
|
|
520
|
+
u.test = l, u.da = W(!0), B(Me), u.alternate = W(!0, i), l = E(u, "ConditionalExpression");
|
|
521
521
|
}
|
|
522
|
-
return
|
|
522
|
+
return x.Cb ? (u = ce(l), u.operator = J, u.left = l, k(), u.right = ht(i), Ze(l), E(u, "AssignmentExpression")) : l;
|
|
523
523
|
}
|
|
524
|
-
function
|
|
525
|
-
var p =
|
|
526
|
-
if (p !== null && (!u ||
|
|
527
|
-
var
|
|
528
|
-
return
|
|
524
|
+
function dt(i, l, u) {
|
|
525
|
+
var p = x.L;
|
|
526
|
+
if (p !== null && (!u || x !== qe) && p > l) {
|
|
527
|
+
var S = ce(i);
|
|
528
|
+
return S.left = i, S.operator = J, i = x, k(), S.right = dt(gt(), p, u), p = E(S, i === Tr || i === Pr ? "LogicalExpression" : "BinaryExpression"), dt(p, l, u);
|
|
529
529
|
}
|
|
530
530
|
return i;
|
|
531
531
|
}
|
|
532
|
-
function
|
|
533
|
-
if (
|
|
534
|
-
var i =
|
|
535
|
-
return i.operator = J, Pe = i.prefix = !0, k(), i.K =
|
|
532
|
+
function gt() {
|
|
533
|
+
if (x.prefix) {
|
|
534
|
+
var i = F(), l = x.$b;
|
|
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
|
-
for (l =
|
|
538
|
-
i = ce(l), i.operator = J, i.prefix = !1, i.K = l,
|
|
537
|
+
for (l = Te(ze()); x.cc && !Ye(); )
|
|
538
|
+
i = ce(l), i.operator = J, i.prefix = !1, i.K = l, Ze(l), k(), l = E(i, "UpdateExpression");
|
|
539
539
|
return l;
|
|
540
540
|
}
|
|
541
|
-
function
|
|
542
|
-
if (
|
|
541
|
+
function Te(i, l) {
|
|
542
|
+
if (P(jr)) {
|
|
543
543
|
var u = ce(i);
|
|
544
|
-
return u.object = i, u.Wa = ee(!0), u.bb = !1,
|
|
544
|
+
return u.object = i, u.Wa = ee(!0), u.bb = !1, Te(E(u, "MemberExpression"), l);
|
|
545
545
|
}
|
|
546
|
-
return
|
|
546
|
+
return P(Tt) ? (u = ce(i), u.object = i, u.Wa = W(), u.bb = !0, B(Pt), 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
|
-
function
|
|
549
|
-
switch (
|
|
550
|
-
case
|
|
551
|
-
var i =
|
|
548
|
+
function ze() {
|
|
549
|
+
switch (x) {
|
|
550
|
+
case Sr:
|
|
551
|
+
var i = F();
|
|
552
552
|
return k(), E(i, "ThisExpression");
|
|
553
553
|
case we:
|
|
554
554
|
return ee();
|
|
555
|
-
case
|
|
556
|
-
case
|
|
555
|
+
case Ne:
|
|
556
|
+
case Qe:
|
|
557
557
|
case sr:
|
|
558
|
-
return i =
|
|
558
|
+
return i = F(), i.value = J, i.raw = g.slice(D, me), k(), E(i, "Literal");
|
|
559
559
|
case kr:
|
|
560
560
|
case Er:
|
|
561
561
|
case Cr:
|
|
562
|
-
return i =
|
|
562
|
+
return i = F(), i.value = x.$a, i.raw = x.l, k(), E(i, "Literal");
|
|
563
563
|
case re:
|
|
564
|
-
i =
|
|
564
|
+
i = wt;
|
|
565
565
|
var l = D;
|
|
566
566
|
k();
|
|
567
567
|
var u = W();
|
|
568
|
-
return u.start = l, u.end =
|
|
568
|
+
return u.start = l, u.end = me, j.C && (u.X.start = i, u.X.end = xt), j.Xa && (u.j = [l, me]), B(z), u;
|
|
569
569
|
case Tt:
|
|
570
|
-
return i =
|
|
571
|
-
case
|
|
572
|
-
for (i =
|
|
570
|
+
return i = F(), k(), i.elements = yt(Pt, !0, !0), E(i, "ArrayExpression");
|
|
571
|
+
case Be:
|
|
572
|
+
for (i = F(), l = !0, u = !1, i.h = [], k(); !P(xe); ) {
|
|
573
573
|
if (l)
|
|
574
574
|
l = !1;
|
|
575
|
-
else if (B(pe), j.sb &&
|
|
575
|
+
else if (B(pe), j.sb && P(xe))
|
|
576
576
|
break;
|
|
577
577
|
var p = {
|
|
578
|
-
key:
|
|
579
|
-
},
|
|
580
|
-
if (
|
|
578
|
+
key: x === Ne || x === Qe ? ze() : ee(!0)
|
|
579
|
+
}, S = !1;
|
|
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() : (
|
|
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 === Ne || x === Qe ? ze() : ee(!0), x !== re && q(), p.value = vt(F(), !1));
|
|
585
585
|
if (p.key.type === "Identifier" && (K || u))
|
|
586
586
|
for (var G = 0; G < i.h.length; ++G) {
|
|
587
|
-
var
|
|
588
|
-
if (
|
|
589
|
-
var
|
|
590
|
-
|
|
587
|
+
var ke = i.h[G];
|
|
588
|
+
if (ke.key.name === p.key.name) {
|
|
589
|
+
var Nt = U === ke.kind || S && ke.kind === "init" || U === "init" && (ke.kind === "get" || ke.kind === "set");
|
|
590
|
+
Nt && !K && U === "init" && ke.kind === "init" && (Nt = !1), Nt && r(p.key.start, "Redefinition of property");
|
|
591
591
|
}
|
|
592
592
|
}
|
|
593
593
|
i.h.push(p);
|
|
594
594
|
}
|
|
595
595
|
return E(i, "ObjectExpression");
|
|
596
596
|
case Ot:
|
|
597
|
-
return i =
|
|
598
|
-
case
|
|
599
|
-
return i =
|
|
597
|
+
return i = F(), k(), vt(i, !1);
|
|
598
|
+
case xr:
|
|
599
|
+
return i = F(), k(), i.callee = Te(ze(), !0), i.arguments = P(re) ? yt(z, !1) : an, E(i, "NewExpression");
|
|
600
600
|
}
|
|
601
601
|
q();
|
|
602
602
|
}
|
|
603
|
-
function
|
|
604
|
-
|
|
603
|
+
function vt(i, l) {
|
|
604
|
+
x === we ? i.id = ee() : l ? q() : i.id = null, i.oa = [];
|
|
605
605
|
var u = !0;
|
|
606
|
-
for (B(re); !
|
|
606
|
+
for (B(re); !P(z); )
|
|
607
607
|
u ? u = !1 : B(pe), i.oa.push(ee());
|
|
608
608
|
u = Re;
|
|
609
609
|
var p = M;
|
|
610
|
-
if (Re = !0, M = [], i.body =
|
|
610
|
+
if (Re = !0, M = [], i.body = Ie(!0), Re = u, M = p, K || i.body.body.length && ft(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], (
|
|
613
|
-
for (var
|
|
614
|
-
p.name === i.oa[
|
|
612
|
+
if (p = 0 > u ? i.id : i.oa[u], (Rr(p.name) || et(p.name)) && r(p.start, "Defining '" + p.name + "' in strict mode"), 0 <= u)
|
|
613
|
+
for (var S = 0; S < u; ++S)
|
|
614
|
+
p.name === i.oa[S].name && r(p.start, "Argument name clash in strict mode");
|
|
615
615
|
}
|
|
616
616
|
return E(i, l ? "FunctionDeclaration" : "FunctionExpression");
|
|
617
617
|
}
|
|
618
|
-
function
|
|
619
|
-
for (var p = [],
|
|
620
|
-
if (
|
|
621
|
-
|
|
622
|
-
else if (B(pe), l && j.sb &&
|
|
618
|
+
function yt(i, l, u) {
|
|
619
|
+
for (var p = [], S = !0; !P(i); ) {
|
|
620
|
+
if (S)
|
|
621
|
+
S = !1;
|
|
622
|
+
else if (B(pe), l && j.sb && P(i))
|
|
623
623
|
break;
|
|
624
|
-
p.push(u &&
|
|
624
|
+
p.push(u && x === pe ? null : W(!0));
|
|
625
625
|
}
|
|
626
626
|
return p;
|
|
627
627
|
}
|
|
628
628
|
function ee(i) {
|
|
629
|
-
var l =
|
|
630
|
-
return i && j.yb === "everywhere" && (i = !1),
|
|
629
|
+
var l = F();
|
|
630
|
+
return i && j.yb === "everywhere" && (i = !1), x === we ? (!i && (j.yb && mn(J) || K && Rr(J)) && g.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, g = "", ye, mt;
|
|
634
634
|
e.parse = function(i, l) {
|
|
635
|
-
|
|
635
|
+
g = String(i), ye = g.length, j = l || {};
|
|
636
636
|
for (var u in ir)
|
|
637
637
|
Object.prototype.hasOwnProperty.call(j, u) || (j[u] = ir[u]);
|
|
638
|
-
for (mt = j.sourceFile,
|
|
638
|
+
for (mt = j.sourceFile, ge = 1, c = te = 0, Pe = !0, d(), u = j.dc, St = fe = c, j.C && (kt = new s()), Re = K = !1, M = [], C(), i = u || F(), l = !0, u || (i.body = []); x !== Et; )
|
|
639
639
|
u = Y(), i.body.push(u), l && ft(u) && Q(!0), l = !1;
|
|
640
640
|
return E(i, "Program");
|
|
641
641
|
};
|
|
@@ -650,11 +650,11 @@ var b, Bn = function(e) {
|
|
|
650
650
|
dc: null,
|
|
651
651
|
sourceFile: null,
|
|
652
652
|
vb: null
|
|
653
|
-
}, c = 0, D = 0,
|
|
653
|
+
}, c = 0, D = 0, me = 0, wt, xt, x, J, Pe, ge, te, St = 0, fe = 0, kt, Re, M, K, an = [], Ne = {
|
|
654
654
|
type: "num"
|
|
655
655
|
}, sr = {
|
|
656
656
|
type: "regexp"
|
|
657
|
-
},
|
|
657
|
+
}, Qe = {
|
|
658
658
|
type: "string"
|
|
659
659
|
}, we = {
|
|
660
660
|
type: "name"
|
|
@@ -681,19 +681,19 @@ var b, Bn = function(e) {
|
|
|
681
681
|
m: !0
|
|
682
682
|
}, hr = {
|
|
683
683
|
l: "finally"
|
|
684
|
-
},
|
|
684
|
+
}, dr = {
|
|
685
685
|
l: "for",
|
|
686
686
|
W: !0
|
|
687
687
|
}, Ot = {
|
|
688
688
|
l: "function"
|
|
689
|
-
},
|
|
689
|
+
}, gr = {
|
|
690
690
|
l: "if"
|
|
691
|
-
},
|
|
691
|
+
}, vr = {
|
|
692
692
|
l: "return",
|
|
693
693
|
m: !0
|
|
694
694
|
}, At = {
|
|
695
695
|
l: "switch"
|
|
696
|
-
},
|
|
696
|
+
}, yr = {
|
|
697
697
|
l: "throw",
|
|
698
698
|
m: !0
|
|
699
699
|
}, mr = {
|
|
@@ -703,12 +703,12 @@ var b, Bn = function(e) {
|
|
|
703
703
|
}, It = {
|
|
704
704
|
l: "while",
|
|
705
705
|
W: !0
|
|
706
|
-
}, Sr = {
|
|
707
|
-
l: "with"
|
|
708
706
|
}, wr = {
|
|
707
|
+
l: "with"
|
|
708
|
+
}, xr = {
|
|
709
709
|
l: "new",
|
|
710
710
|
m: !0
|
|
711
|
-
},
|
|
711
|
+
}, Sr = {
|
|
712
712
|
l: "this"
|
|
713
713
|
}, kr = {
|
|
714
714
|
l: "null",
|
|
@@ -719,11 +719,11 @@ var b, Bn = function(e) {
|
|
|
719
719
|
}, Cr = {
|
|
720
720
|
l: "false",
|
|
721
721
|
$a: !1
|
|
722
|
-
},
|
|
722
|
+
}, qe = {
|
|
723
723
|
l: "in",
|
|
724
724
|
L: 7,
|
|
725
725
|
m: !0
|
|
726
|
-
},
|
|
726
|
+
}, ln = {
|
|
727
727
|
break: Ct,
|
|
728
728
|
case: jt,
|
|
729
729
|
catch: ar,
|
|
@@ -733,27 +733,27 @@ var b, Bn = function(e) {
|
|
|
733
733
|
do: fr,
|
|
734
734
|
else: pr,
|
|
735
735
|
finally: hr,
|
|
736
|
-
for:
|
|
736
|
+
for: dr,
|
|
737
737
|
function: Ot,
|
|
738
|
-
if:
|
|
739
|
-
return:
|
|
738
|
+
if: gr,
|
|
739
|
+
return: vr,
|
|
740
740
|
switch: At,
|
|
741
|
-
throw:
|
|
741
|
+
throw: yr,
|
|
742
742
|
try: mr,
|
|
743
743
|
var: bt,
|
|
744
744
|
while: It,
|
|
745
|
-
with:
|
|
745
|
+
with: wr,
|
|
746
746
|
null: kr,
|
|
747
747
|
true: Er,
|
|
748
748
|
false: Cr,
|
|
749
|
-
new:
|
|
750
|
-
in:
|
|
749
|
+
new: xr,
|
|
750
|
+
in: qe,
|
|
751
751
|
instanceof: {
|
|
752
752
|
l: "instanceof",
|
|
753
753
|
L: 7,
|
|
754
754
|
m: !0
|
|
755
755
|
},
|
|
756
|
-
this:
|
|
756
|
+
this: Sr,
|
|
757
757
|
typeof: {
|
|
758
758
|
l: "typeof",
|
|
759
759
|
prefix: !0,
|
|
@@ -772,9 +772,9 @@ var b, Bn = function(e) {
|
|
|
772
772
|
}, Tt = {
|
|
773
773
|
type: "[",
|
|
774
774
|
m: !0
|
|
775
|
-
},
|
|
775
|
+
}, Pt = {
|
|
776
776
|
type: "]"
|
|
777
|
-
},
|
|
777
|
+
}, Be = {
|
|
778
778
|
type: "{",
|
|
779
779
|
m: !0
|
|
780
780
|
}, xe = {
|
|
@@ -790,7 +790,7 @@ var b, Bn = function(e) {
|
|
|
790
790
|
}, ne = {
|
|
791
791
|
type: ";",
|
|
792
792
|
m: !0
|
|
793
|
-
},
|
|
793
|
+
}, Me = {
|
|
794
794
|
type: ":",
|
|
795
795
|
m: !0
|
|
796
796
|
}, jr = {
|
|
@@ -804,10 +804,10 @@ var b, Bn = function(e) {
|
|
|
804
804
|
}, br = {
|
|
805
805
|
Cb: !0,
|
|
806
806
|
m: !0
|
|
807
|
-
},
|
|
807
|
+
}, ve = {
|
|
808
808
|
Cb: !0,
|
|
809
809
|
m: !0
|
|
810
|
-
},
|
|
810
|
+
}, un = {
|
|
811
811
|
cc: !0,
|
|
812
812
|
prefix: !0,
|
|
813
813
|
$b: !0
|
|
@@ -817,43 +817,43 @@ var b, Bn = function(e) {
|
|
|
817
817
|
}, Tr = {
|
|
818
818
|
L: 1,
|
|
819
819
|
m: !0
|
|
820
|
-
},
|
|
820
|
+
}, Pr = {
|
|
821
821
|
L: 2,
|
|
822
822
|
m: !0
|
|
823
|
-
},
|
|
823
|
+
}, cn = {
|
|
824
824
|
L: 3,
|
|
825
825
|
m: !0
|
|
826
|
-
},
|
|
826
|
+
}, fn = {
|
|
827
827
|
L: 4,
|
|
828
828
|
m: !0
|
|
829
|
-
},
|
|
829
|
+
}, pn = {
|
|
830
830
|
L: 5,
|
|
831
831
|
m: !0
|
|
832
|
-
},
|
|
832
|
+
}, hn = {
|
|
833
833
|
L: 6,
|
|
834
834
|
m: !0
|
|
835
|
-
},
|
|
835
|
+
}, dn = {
|
|
836
836
|
L: 7,
|
|
837
837
|
m: !0
|
|
838
838
|
}, gn = {
|
|
839
839
|
L: 8,
|
|
840
840
|
m: !0
|
|
841
|
-
},
|
|
841
|
+
}, vn = {
|
|
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
|
+
}, mn = o("class enum extends super const export import"), Rr = o("implements interface let package private protected public static yield"), et = o("eval arguments"), wn = 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"), xn = /[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/, Nr = RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ]"), Sn = RegExp("[ªµºÀ-ÖØ-öø-ˁˆ-ˑˠ-ˤˬˮͰ-ʹͶͷͺ-ͽΆΈ-ΊΌΎ-ΡΣ-ϵϷ-ҁҊ-ԧԱ-Ֆՙա-ևא-תװ-ײؠ-يٮٯٱ-ۓەۥۦۮۯۺ-ۼۿܐܒ-ܯݍ-ޥޱߊ-ߪߴߵߺࠀ-ࠕࠚࠤࠨࡀ-ࡘࢠࢢ-ࢬऄ-हऽॐक़-ॡॱ-ॷॹ-ॿঅ-ঌএঐও-নপ-রলশ-হঽৎড়ঢ়য়-ৡৰৱਅ-ਊਏਐਓ-ਨਪ-ਰਲਲ਼ਵਸ਼ਸਹਖ਼-ੜਫ਼ੲ-ੴઅ-ઍએ-ઑઓ-નપ-રલળવ-હઽૐૠૡଅ-ଌଏଐଓ-ନପ-ରଲଳଵ-ହଽଡ଼ଢ଼ୟ-ୡୱஃஅ-ஊஎ-ஐஒ-கஙசஜஞடணதந-பம-ஹௐఅ-ఌఎ-ఐఒ-నప-ళవ-హఽౘౙౠౡಅ-ಌಎ-ಐಒ-ನಪ-ಳವ-ಹಽೞೠೡೱೲഅ-ഌഎ-ഐഒ-ഺഽൎൠൡൺ-ൿඅ-ඖක-නඳ-රලව-ෆก-ะาำเ-ๆກຂຄງຈຊຍດ-ທນ-ຟມ-ຣລວສຫອ-ະາຳຽເ-ໄໆໜ-ໟༀཀ-ཇཉ-ཬྈ-ྌက-ဪဿၐ-ၕၚ-ၝၡၥၦၮ-ၰၵ-ႁႎႠ-ჅჇჍა-ჺჼ-ቈቊ-ቍቐ-ቖቘቚ-ቝበ-ኈኊ-ኍነ-ኰኲ-ኵኸ-ኾዀዂ-ዅወ-ዖዘ-ጐጒ-ጕጘ-ፚᎀ-ᎏᎠ-Ᏼᐁ-ᙬᙯ-ᙿᚁ-ᚚᚠ-ᛪᛮ-ᛰᜀ-ᜌᜎ-ᜑᜠ-ᜱᝀ-ᝑᝠ-ᝬᝮ-ᝰក-ឳៗៜᠠ-ᡷᢀ-ᢨᢪᢰ-ᣵᤀ-ᤜᥐ-ᥭᥰ-ᥴᦀ-ᦫᧁ-ᧇᨀ-ᨖᨠ-ᩔᪧᬅ-ᬳᭅ-ᭋᮃ-ᮠᮮᮯᮺ-ᯥᰀ-ᰣᱍ-ᱏᱚ-ᱽᳩ-ᳬᳮ-ᳱᳵᳶᴀ-ᶿḀ-ἕἘ-Ἕἠ-ὅὈ-Ὅὐ-ὗὙὛὝὟ-ώᾀ-ᾴᾶ-ᾼιῂ-ῄῆ-ῌῐ-ΐῖ-Ίῠ-Ῥῲ-ῴῶ-ῼⁱⁿₐ-ₜℂℇℊ-ℓℕℙ-ℝℤΩℨK-ℭℯ-ℹℼ-ℿⅅ-ⅉⅎⅠ-ↈⰀ-Ⱞⰰ-ⱞⱠ-ⳤⳫ-ⳮⳲⳳⴀ-ⴥⴧⴭⴰ-ⵧⵯⶀ-ⶖⶠ-ⶦⶨ-ⶮⶰ-ⶶⶸ-ⶾⷀ-ⷆⷈ-ⷎⷐ-ⷖⷘ-ⷞⸯ々-〇〡-〩〱-〵〸-〼ぁ-ゖゝ-ゟァ-ヺー-ヿㄅ-ㄭㄱ-ㆎㆠ-ㆺㇰ-ㇿ㐀-䶵一-鿌ꀀ-ꒌꓐ-ꓽꔀ-ꘌꘐ-ꘟꘪꘫꙀ-ꙮꙿ-ꚗꚠ-ꛯꜗ-ꜟꜢ-ꞈꞋ-ꞎꞐ-ꞓꞠ-Ɦꟸ-ꠁꠃ-ꠅꠇ-ꠊꠌ-ꠢꡀ-ꡳꢂ-ꢳꣲ-ꣷꣻꤊ-ꤥꤰ-ꥆꥠ-ꥼꦄ-ꦲꧏꨀ-ꨨꩀ-ꩂꩄ-ꩋꩠ-ꩶꩺꪀ-ꪯꪱꪵꪶꪹ-ꪽꫀꫂꫛ-ꫝꫠ-ꫪꫲ-ꫴꬁ-ꬆꬉ-ꬎꬑ-ꬖꬠ-ꬦꬨ-ꬮꯀ-ꯢ가-힣ힰ-ퟆퟋ-ퟻ豈-舘並-龎ff-stﬓ-ﬗיִײַ-ﬨשׁ-זּטּ-לּמּנּסּףּפּצּ-ﮱﯓ-ﴽﵐ-ﶏﶒ-ﷇﷰ-ﷻﹰ-ﹴﹶ-ﻼA-Za-zヲ-하-ᅦᅧ-ᅬᅭ-ᅲᅳ-ᅵ̀-ͯ҃-֑҇-ׇֽֿׁׂׅׄؐ-ؚؠ-ىٲ-ۓۧ-ۨۻ-ۼܰ-݊ࠀ-ࠔࠛ-ࠣࠥ-ࠧࠩ-࠭ࡀ-ࡗࣤ-ࣾऀ-ःऺ-़ा-ॏ॑-ॗॢ-ॣ०-९ঁ-ঃ়া-ৄেৈৗয়-ৠਁ-ਃ਼ਾ-ੂੇੈੋ-੍ੑ੦-ੱੵઁ-ઃ઼ા-ૅે-ૉો-્ૢ-ૣ૦-૯ଁ-ଃ଼ା-ୄେୈୋ-୍ୖୗୟ-ୠ୦-୯ஂா-ூெ-ைொ-்ௗ௦-௯ఁ-ఃె-ైొ-్ౕౖౢ-ౣ౦-౯ಂಃ಼ಾ-ೄೆ-ೈೊ-್ೕೖೢ-ೣ೦-೯ംഃെ-ൈൗൢ-ൣ൦-൯ංඃ්ා-ුූෘ-ෟෲෳิ-ฺเ-ๅ๐-๙ິ-ູ່-ໍ໐-໙༘༙༠-༩༹༵༷ཁ-ཇཱ-྄྆-྇ྍ-ྗྙ-ྼ࿆က-ဩ၀-၉ၧ-ၭၱ-ၴႂ-ႍႏ-ႝ፝-፟ᜎ-ᜐᜠ-ᜰᝀ-ᝐᝲᝳក-ឲ៝០-៩᠋-᠍᠐-᠙ᤠ-ᤫᤰ-᤻ᥑ-ᥭᦰ-ᧀᧈ-ᧉ᧐-᧙ᨀ-ᨕᨠ-ᩓ᩠-᩿᩼-᪉᪐-᪙ᭆ-ᭋ᭐-᭙᭫-᭳᮰-᮹᯦-᯳ᰀ-ᰢ᱀-᱉ᱛ-ᱽ᳐-᳒ᴀ-ᶾḁ-ἕ‿⁀⁔⃐-⃥⃜⃡-⃰ⶁ-ⶖⷠ-ⷿ〡-〨゙゚Ꙁ-ꙭꙴ-꙽ꚟ꛰-꛱ꟸ-ꠀ꠆ꠋꠣ-ꠧꢀ-ꢁꢴ-꣄꣐-꣙ꣳ-ꣷ꤀-꤉ꤦ-꤭ꤰ-ꥅꦀ-ꦃ꦳-꧀ꨀ-ꨧꩀ-ꩁꩌ-ꩍ꩐-꩙ꩻꫠ-ꫩꫲ-ꫳꯀ-ꯡ꯬꯭꯰-꯹ﬠ-ﬨ︀-️︠-︦︳︴﹍-﹏0-9_]"), tt = /[\n\r\u2028\u2029]/, rt = /\r\n|[\n\r\u2028\u2029]/g, Se, Rt = {
|
|
849
849
|
kind: "loop"
|
|
850
|
-
},
|
|
850
|
+
}, kn = {
|
|
851
851
|
kind: "switch"
|
|
852
852
|
};
|
|
853
|
-
},
|
|
854
|
-
|
|
853
|
+
}, Ft = Ft = typeof globalThis == "undefined" ? void 0 : globalThis;
|
|
854
|
+
Mn(Ft.j || (Ft.j = {}));
|
|
855
855
|
function h(e, t) {
|
|
856
|
-
typeof e == "string" && (e =
|
|
856
|
+
typeof e == "string" && (e = je(e, "code"));
|
|
857
857
|
var n = e.constructor;
|
|
858
858
|
this.ya = function() {
|
|
859
859
|
return new n({
|
|
@@ -867,8 +867,8 @@ 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 = Wt(this, this.ra, null), this.Na = this.N.object, this.ra =
|
|
871
|
-
`), "polyfills"), this.ba = void 0,
|
|
870
|
+
this.N = Wt(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 y(this.ra, this.N), s.done = !1, this.o = [s], this.Eb(), this.value = void 0, this.ra = r, s = new y(this.ra, this.N), s.done = !1, this.o.length = 0, this.o[0] = s;
|
|
872
872
|
}
|
|
873
873
|
var Mr = {
|
|
874
874
|
C: !0,
|
|
@@ -877,7 +877,7 @@ var Mr = {
|
|
|
877
877
|
configurable: !0,
|
|
878
878
|
enumerable: !0,
|
|
879
879
|
writable: !1
|
|
880
|
-
},
|
|
880
|
+
}, v = {
|
|
881
881
|
configurable: !0,
|
|
882
882
|
enumerable: !1,
|
|
883
883
|
writable: !0
|
|
@@ -885,7 +885,7 @@ var Mr = {
|
|
|
885
885
|
configurable: !0,
|
|
886
886
|
enumerable: !1,
|
|
887
887
|
writable: !1
|
|
888
|
-
},
|
|
888
|
+
}, De = {
|
|
889
889
|
configurable: !1,
|
|
890
890
|
enumerable: !1,
|
|
891
891
|
writable: !1
|
|
@@ -893,29 +893,29 @@ var Mr = {
|
|
|
893
893
|
configurable: !1,
|
|
894
894
|
enumerable: !0,
|
|
895
895
|
writable: !0
|
|
896
|
-
},
|
|
896
|
+
}, Zr = {
|
|
897
897
|
STEP_ERROR: !0
|
|
898
|
-
},
|
|
898
|
+
}, Ae = {
|
|
899
899
|
SCOPE_REFERENCE: !0
|
|
900
|
-
},
|
|
900
|
+
}, Ve = {
|
|
901
901
|
VALUE_IN_DESCRIPTOR: !0
|
|
902
|
-
},
|
|
902
|
+
}, Ee = {
|
|
903
903
|
REGEXP_TIMEOUT: !0
|
|
904
|
-
}, Ur = [], se = null,
|
|
904
|
+
}, Ur = [], se = null, We = null, he = typeof globalThis == "undefined" ? void 0 : globalThis, Dn = ["onmessage = function(e) {", "var result;", "var data = e.data;", "switch (data[0]) {", "case 'split':", "result = data[1].split(data[2], data[3]);", "break;", "case 'match':", "result = data[1].match(data[2]);", "break;", "case 'search':", "result = data[1].search(data[2]);", "break;", "case 'replace':", "result = data[1].replace(data[2], data[3]);", "break;", "case 'exec':", "var regexp = data[1];", "regexp.lastIndex = data[2];", "result = [regexp.exec(data[3]), data[1].lastIndex];", "break;", "default:", "throw Error('Unknown RegExp operation: ' + data[0]);", "}", "postMessage(result);", "close();", "};"];
|
|
905
905
|
function Vt(e) {
|
|
906
906
|
var t = e >>> 0;
|
|
907
907
|
return t === Number(e) ? t : NaN;
|
|
908
908
|
}
|
|
909
|
-
function
|
|
909
|
+
function $e(e) {
|
|
910
910
|
var t = e >>> 0;
|
|
911
911
|
return String(t) === String(e) && t !== 4294967295 ? t : NaN;
|
|
912
912
|
}
|
|
913
|
-
function
|
|
913
|
+
function st(e, t, n) {
|
|
914
914
|
t ? e.start = t : delete e.start, n ? e.end = n : delete e.end;
|
|
915
915
|
for (var r in e)
|
|
916
916
|
if (r !== "loc" && e.hasOwnProperty(r)) {
|
|
917
917
|
var o = e[r];
|
|
918
|
-
o && typeof o == "object" &&
|
|
918
|
+
o && typeof o == "object" && st(o, t, n);
|
|
919
919
|
}
|
|
920
920
|
}
|
|
921
921
|
h.prototype.REGEXP_MODE = 2;
|
|
@@ -926,7 +926,7 @@ b.P = !1;
|
|
|
926
926
|
b.Ka = !1;
|
|
927
927
|
b.Kb = 0;
|
|
928
928
|
b.ic = 0;
|
|
929
|
-
function
|
|
929
|
+
function je(e, t) {
|
|
930
930
|
var n = {}, r;
|
|
931
931
|
for (r in Mr)
|
|
932
932
|
n[r] = Mr[r];
|
|
@@ -936,9 +936,9 @@ b.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");
|
|
939
|
-
if (typeof e == "string" && (e =
|
|
939
|
+
if (typeof e == "string" && (e = je(e, "appendCode" + this.Kb++)), !e || e.type !== "Program")
|
|
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
|
b.lb = function() {
|
|
944
944
|
var e = this.o, t;
|
|
@@ -952,23 +952,23 @@ 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 y(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)
|
|
960
960
|
break;
|
|
961
961
|
}
|
|
962
962
|
r = n.node;
|
|
963
|
-
var o =
|
|
964
|
-
|
|
963
|
+
var o = We;
|
|
964
|
+
We = this;
|
|
965
965
|
try {
|
|
966
966
|
var s = this.rb[r.type](e, n, r);
|
|
967
967
|
} catch (a) {
|
|
968
|
-
if (a !==
|
|
968
|
+
if (a !== Zr)
|
|
969
969
|
throw this.value !== a && (this.value = void 0), a;
|
|
970
970
|
} finally {
|
|
971
|
-
|
|
971
|
+
We = o;
|
|
972
972
|
}
|
|
973
973
|
if (s && e.push(s), this.P)
|
|
974
974
|
throw this.value = void 0, Error("Getter not supported in this context");
|
|
@@ -983,12 +983,12 @@ b.Eb = function() {
|
|
|
983
983
|
;
|
|
984
984
|
return this.za;
|
|
985
985
|
};
|
|
986
|
-
function
|
|
987
|
-
e.g(t, "NaN", NaN,
|
|
986
|
+
function Un(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, Gt), e.g(t, "this", t, De), e.g(t, "self", t), e.M = new A(null), e.Z = new A(e.M), Ln(e, t), Fn(e, t), t.xa = e.M, e.g(t, "constructor", e.v, v), _n(e, t), Wn(e, t), $n(e, t), Gn(e, t), Vn(e, t), Xn(e, t), Hn(e, t), Kn(e, t), Jn(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, v), e.g(t, "parseInt", e.i(parseInt, !1), v), e.g(t, "parseFloat", e.i(parseFloat, !1), v), e.g(t, "isNaN", e.i(isNaN, !1), v), e.g(t, "isFinite", e.i(isFinite, !1), v);
|
|
992
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,51 +998,51 @@ function Dn(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), v);
|
|
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),
|
|
1007
|
-
|
|
1008
|
-
}, e.g(t, "clearTimeout", e.i(n, !1),
|
|
1009
|
-
|
|
1010
|
-
}, e.g(t, "clearInterval", e.i(n, !1),
|
|
1003
|
+
return Lr(e, !1, arguments);
|
|
1004
|
+
}, e.g(t, "setTimeout", e.i(n, !1), v), n = function(s) {
|
|
1005
|
+
return Lr(e, !0, arguments);
|
|
1006
|
+
}, e.g(t, "setInterval", e.i(n, !1), v), n = function(s) {
|
|
1007
|
+
Fr(e, s);
|
|
1008
|
+
}, e.g(t, "clearTimeout", e.i(n, !1), v), n = function(s) {
|
|
1009
|
+
Fr(e, s);
|
|
1010
|
+
}, e.g(t, "clearInterval", e.i(n, !1), v), e.OBJECT = e.v, e.OBJECT_PROTO = e.M, e.FUNCTION = e.O, e.FUNCTION_PROTO = e.Z, e.ARRAY = e.qa, e.ARRAY_PROTO = e.La, e.REGEXP = e.I, e.REGEXP_PROTO = e.Ma, e.DATE = e.$, e.DATE_PROTO = e.nb, e.qb && e.qb(e, t);
|
|
1011
1011
|
}
|
|
1012
1012
|
b.Wb = 0;
|
|
1013
|
-
function
|
|
1013
|
+
function Ln(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 d = a[f];
|
|
1020
|
+
n.test(d) || m(e, e.T, "Invalid function argument: " + d);
|
|
1021
1021
|
}
|
|
1022
1022
|
a = a.join(", ");
|
|
1023
1023
|
}
|
|
1024
1024
|
try {
|
|
1025
|
-
var O =
|
|
1025
|
+
var O = je("(function(" + a + ") {" + s + "})", "function" + e.Wb++);
|
|
1026
1026
|
} catch (C) {
|
|
1027
1027
|
m(e, e.T, "Invalid code: " + C.message);
|
|
1028
1028
|
}
|
|
1029
1029
|
return O.body.length !== 1 && m(e, e.T, "Invalid code in function body"), Kt(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, v), e.g(e.O, "prototype", e.Z, v), e.g(e.Z, "constructor", e.O, v), 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
|
+
}, L(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
|
+
}, L(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
|
+
}, L(e, e.O, "toString", r), e.g(e.O, "toString", e.i(r, !1), v), r = function() {
|
|
1044
1044
|
return this.valueOf();
|
|
1045
|
-
},
|
|
1045
|
+
}, L(e, e.O, "valueOf", r), e.g(e.O, "valueOf", e.i(r, !1), v);
|
|
1046
1046
|
}
|
|
1047
1047
|
function Fn(e, t) {
|
|
1048
1048
|
function n(o) {
|
|
@@ -1057,41 +1057,41 @@ 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, v), e.g(e.M, "constructor", e.v, v), e.g(t, "Object", e.v, v), 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), v), 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), v), 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),
|
|
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,
|
|
1068
|
-
}, e.g(e.v, "defineProperty", e.i(r, !1),
|
|
1066
|
+
}, e.g(e.v, "create", e.i(r, !1), v), e.ba.push("(function() {", "var create_ = Object.create;", "Object.create = function create(proto, props) {", "var obj = create_(proto);", "props && Object.defineProperties(obj, props);", "return obj;", "};", "})();", ""), r = function(o, s, a) {
|
|
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), v), e.ba.push("(function() {", "var defineProperty_ = Object.defineProperty;", "Object.defineProperty = function defineProperty(obj, prop, d1) {", "var d2 = {};", "if ('configurable' in d1) d2.configurable = d1.configurable;", "if ('enumerable' in d1) d2.enumerable = d1.enumerable;", "if ('writable' in d1) d2.writable = d1.writable;", "if ('value' in d1) d2.value = d1.value;", "if ('get' in d1) d2.get = d1.get;", "if ('set' in d1) d2.set = d1.set;", "return defineProperty_(obj, prop, d2);", "};", "})();", "Object.defineProperty(Object, 'defineProperties',", "{configurable: true, writable: true, value:", "function defineProperties(obj, props) {", "var keys = Object.keys(props);", "for (var i = 0; i < keys.length; i++) {", "Object.defineProperty(obj, keys[i], props[keys[i]]);", "}", "return obj;", "}", "});", ""), 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), v), 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), v), 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), v), 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), v), L(e, e.v, "toString", A.prototype.toString), L(e, e.v, "toLocaleString", A.prototype.toString), L(e, e.v, "valueOf", A.prototype.valueOf), r = function(o) {
|
|
1080
1080
|
return n(this), this instanceof A ? String(o) in this.h : this.hasOwnProperty(o);
|
|
1081
|
-
},
|
|
1081
|
+
}, L(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
|
+
}, L(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
|
+
}, L(e, e.v, "isPrototypeOf", r);
|
|
1091
1091
|
}
|
|
1092
|
-
function
|
|
1092
|
+
function _n(e, t) {
|
|
1093
1093
|
var n = function(r) {
|
|
1094
|
-
var o = le(e) ? this :
|
|
1094
|
+
var o = le(e) ? this : Oe(e), s = arguments[0];
|
|
1095
1095
|
if (arguments.length === 1 && typeof s == "number")
|
|
1096
1096
|
isNaN(Vt(s)) && m(e, e.ob, "Invalid array length: " + s), o.h.length = s;
|
|
1097
1097
|
else {
|
|
@@ -1101,20 +1101,20 @@ function Ln(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, v), 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), v), e.g(e.La, "length", 0, {
|
|
1107
1107
|
configurable: !1,
|
|
1108
1108
|
enumerable: !1,
|
|
1109
1109
|
writable: !0
|
|
1110
1110
|
}), e.La.H = "Array", e.ba.push("(function() {", "function createArrayMethod_(f) {", "Object.defineProperty(Array.prototype, f.name,", "{configurable: true, writable: true, value: f});", "}", "createArrayMethod_(", "function pop() {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "if (!len || len < 0) {", "o.length = 0;", "return undefined;", "}", "len--;", "var x = o[len];", "delete o[len];", "o.length = len;", "return x;", "}", ");", "createArrayMethod_(", "function push(var_args) {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "for (var i = 0; i < arguments.length; i++) {", "o[len] = arguments[i];", "len++;", "}", "o.length = len;", "return len;", "}", ");", "createArrayMethod_(", "function shift() {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "if (!len || len < 0) {", "o.length = 0;", "return undefined;", "}", "var value = o[0];", "for (var i = 0; i < len - 1; i++) {", "if ((i + 1) in o) {", "o[i] = o[i + 1];", "} else {", "delete o[i];", "}", "}", "delete o[i];", "o.length = len - 1;", "return value;", "}", ");", "createArrayMethod_(", "function unshift(var_args) {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "if (!len || len < 0) {", "len = 0;", "}", "for (var i = len - 1; i >= 0; i--) {", "if (i in o) {", "o[i + arguments.length] = o[i];", "} else {", "delete o[i + arguments.length];", "}", "}", "for (var i = 0; i < arguments.length; i++) {", "o[i] = arguments[i];", "}", "return (o.length = len + arguments.length);", "}", ");", "createArrayMethod_(", "function reverse() {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "if (!len || len < 2) {", "return o;", "}", "for (var i = 0; i < len / 2 - 0.5; i++) {", "var x = o[i];", "var hasX = i in o;", "if ((len - i - 1) in o) {", "o[i] = o[len - i - 1];", "} else {", "delete o[i];", "}", "if (hasX) {", "o[len - i - 1] = x;", "} else {", "delete o[len - i - 1];", "}", "}", "return o;", "}", ");", "createArrayMethod_(", "function indexOf(searchElement, fromIndex) {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "var n = fromIndex | 0;", "if (!len || n >= len) {", "return -1;", "}", "var i = Math.max(n >= 0 ? n : len - Math.abs(n), 0);", "while (i < len) {", "if (i in o && o[i] === searchElement) {", "return i;", "}", "i++;", "}", "return -1;", "}", ");", "createArrayMethod_(", "function lastIndexOf(searchElement, fromIndex) {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "if (!len) {", "return -1;", "}", "var n = len - 1;", "if (arguments.length > 1) {", "n = fromIndex | 0;", "if (n) {", "n = (n > 0 || -1) * Math.floor(Math.abs(n));", "}", "}", "var i = n >= 0 ? Math.min(n, len - 1) : len - Math.abs(n);", "while (i >= 0) {", "if (i in o && o[i] === searchElement) {", "return i;", "}", "i--;", "}", "return -1;", "}", ");", "createArrayMethod_(", "function slice(start, end) {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "start |= 0;", "start = (start >= 0) ? start : Math.max(0, len + start);", "if (typeof end !== 'undefined') {", "if (end !== Infinity) {", "end |= 0;", "}", "if (end < 0) {", "end = len + end;", "} else {", "end = Math.min(end, len);", "}", "} else {", "end = len;", "}", "var size = end - start;", "var cloned = new Array(size);", "for (var i = 0; i < size; i++) {", "if ((start + i) in o) {", "cloned[i] = o[start + i];", "}", "}", "return cloned;", "}", ");", "createArrayMethod_(", "function splice(start, deleteCount, var_args) {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "start |= 0;", "if (start < 0) {", "start = Math.max(len + start, 0);", "} else {", "start = Math.min(start, len);", "}", "if (arguments.length < 1) {", "deleteCount = len - start;", "} else {", "deleteCount |= 0;", "deleteCount = Math.max(0, Math.min(deleteCount, len - start));", "}", "var removed = [];", "for (var i = start; i < start + deleteCount; i++) {", "if (i in o) {", "removed.push(o[i]);", "} else {", "removed.length++;", "}", "if ((i + deleteCount) in o) {", "o[i] = o[i + deleteCount];", "} else {", "delete o[i];", "}", "}", "for (var i = start + deleteCount; i < len - deleteCount; i++) {", "if ((i + deleteCount) in o) {", "o[i] = o[i + deleteCount];", "} else {", "delete o[i];", "}", "}", "for (var i = len - deleteCount; i < len; i++) {", "delete o[i];", "}", "len -= deleteCount;", "var arl = arguments.length - 2;", "for (var i = len - 1; i >= start; i--) {", "if (i in o) {", "o[i + arl] = o[i];", "} else {", "delete o[i + arl];", "}", "}", "len += arl;", "for (var i = 2; i < arguments.length; i++) {", "o[start + i - 2] = arguments[i];", "}", "o.length = len;", "return removed;", "}", ");", "createArrayMethod_(", "function concat(var_args) {", "if (!this) throw TypeError();", "var o = Object(this);", "var cloned = [];", "for (var i = -1; i < arguments.length; i++) {", "var value = (i === -1) ? o : arguments[i];", "if (Array.isArray(value)) {", "for (var j = 0, l = value.length; j < l; j++) {", "if (j in value) {", "cloned.push(value[j]);", "} else {", "cloned.length++;", "}", "}", "} else {", "cloned.push(value);", "}", "}", "return cloned;", "}", ");", "createArrayMethod_(", "function join(opt_separator) {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "var sep = typeof opt_separator === 'undefined' ?", "',' : ('' + opt_separator);", "var str = '';", "for (var i = 0; i < len; i++) {", "if (i && sep) str += sep;", "str += (o[i] === null || o[i] === undefined) ? '' : o[i];", "}", "return str;", "}", ");", "createArrayMethod_(", "function every(callbackfn, thisArg) {", "if (!this || typeof callbackfn !== 'function') throw TypeError();", "var t, k = 0;", "var o = Object(this), len = o.length >>> 0;", "if (arguments.length > 1) t = thisArg;", "while (k < len) {", "if (k in o && !callbackfn.call(t, o[k], k, o)) return false;", "k++;", "}", "return true;", "}", ");", "createArrayMethod_(", "function filter(fun, var_args) {", "if (this === void 0 || this === null || typeof fun !== 'function') throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "var res = [];", "var thisArg = arguments.length >= 2 ? arguments[1] : void 0;", "for (var i = 0; i < len; i++) {", "if (i in o) {", "var val = o[i];", "if (fun.call(thisArg, val, i, o)) res.push(val);", "}", "}", "return res;", "}", ");", "createArrayMethod_(", "function forEach(callback, thisArg) {", "if (!this || typeof callback !== 'function') throw TypeError();", "var t, k = 0;", "var o = Object(this), len = o.length >>> 0;", "if (arguments.length > 1) t = thisArg;", "while (k < len) {", "if (k in o) callback.call(t, o[k], k, o);", "k++;", "}", "}", ");", "createArrayMethod_(", "function map(callback, thisArg) {", "if (!this || typeof callback !== 'function') throw TypeError();", "var t, k = 0;", "var o = Object(this), len = o.length >>> 0;", "if (arguments.length > 1) t = thisArg;", "var a = new Array(len);", "while (k < len) {", "if (k in o) a[k] = callback.call(t, o[k], k, o);", "k++;", "}", "return a;", "}", ");", "createArrayMethod_(", "function reduce(callback /*, initialValue*/) {", "if (!this || typeof callback !== 'function') throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "var k = 0, value;", "if (arguments.length === 2) {", "value = arguments[1];", "} else {", "while (k < len && !(k in o)) k++;", "if (k >= len) {", "throw TypeError('Reduce of empty array with no initial value');", "}", "value = o[k++];", "}", "for (; k < len; k++) {", "if (k in o) value = callback(value, o[k], k, o);", "}", "return value;", "}", ");", "createArrayMethod_(", "function reduceRight(callback /*, initialValue*/) {", "if (null === this || 'undefined' === typeof this || 'function' !== typeof callback) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "var k = len - 1, value;", "if (arguments.length >= 2) {", "value = arguments[1];", "} else {", "while (k >= 0 && !(k in o)) k--;", "if (k < 0) {", "throw TypeError('Reduce of empty array with no initial value');", "}", "value = o[k--];", "}", "for (; k >= 0; k--) {", "if (k in o) value = callback(value, o[k], k, o);", "}", "return value;", "}", ");", "createArrayMethod_(", "function some(fun/*, thisArg*/) {", "if (!this || typeof fun !== 'function') throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "var thisArg = arguments.length >= 2 ? arguments[1] : void 0;", "for (var i = 0; i < len; i++) {", "if (i in o && fun.call(thisArg, o[i], i, o)) return true;", "}", "return false;", "}", ");", "createArrayMethod_(", "function sort(opt_comp) {", "if (!this) throw TypeError();", "if (typeof opt_comp !== 'function') {", "opt_comp = undefined;", "}", "for (var i = 0; i < this.length; i++) {", "var changes = 0;", "for (var j = 0; j < this.length - i - 1; j++) {", "if (opt_comp ? (opt_comp(this[j], this[j + 1]) > 0) :", "(String(this[j]) > String(this[j + 1]))) {", "var swap = this[j];", "var hasSwap = j in this;", "if ((j + 1) in this) {", "this[j] = this[j + 1];", "} else {", "delete this[j];", "}", "if (hasSwap) {", "this[j + 1] = swap;", "} else {", "delete this[j + 1];", "}", "changes++;", "}", "}", "if (!changes) break;", "}", "return this;", "}", ");", "createArrayMethod_(", "function toLocaleString() {", "if (!this) throw TypeError();", "var o = Object(this), len = o.length >>> 0;", "var out = [];", "for (var i = 0; i < len; i++) {", "out[i] = (o[i] === null || o[i] === undefined) ? '' : o[i].toLocaleString();", "}", "return out.join(',');", "}", ");", "})();", "");
|
|
1111
1111
|
}
|
|
1112
|
-
function
|
|
1112
|
+
function Wn(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, v), e.g(e.J, "fromCharCode", e.i(String.fromCharCode, !1), v), t = "charAt charCodeAt concat indexOf lastIndexOf slice substr substring toLocaleLowerCase toLocaleUpperCase toLowerCase toUpperCase trim".split(" "), n = 0; n < t.length; n++)
|
|
1117
|
+
L(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,140 +1122,140 @@ function _n(e, t) {
|
|
|
1122
1122
|
} catch (a) {
|
|
1123
1123
|
m(e, e.D, "localeCompare: " + a.message);
|
|
1124
1124
|
}
|
|
1125
|
-
},
|
|
1125
|
+
}, L(e, e.J, "localeCompare", n), n = function(r, o, s) {
|
|
1126
1126
|
var a = String(this);
|
|
1127
1127
|
if (o = o ? Number(o) : void 0, _(e, r, e.I) && (r = r.data, Le(e, r, s), e.REGEXP_MODE === 2)) {
|
|
1128
1128
|
if (se)
|
|
1129
|
-
r =
|
|
1129
|
+
r = Ue(e, "string.split(separator, limit)", {
|
|
1130
1130
|
string: a,
|
|
1131
1131
|
separator: r,
|
|
1132
1132
|
limit: o
|
|
1133
|
-
}, r, s), r !==
|
|
1133
|
+
}, r, s), r !== Ee && s(ie(e, r));
|
|
1134
1134
|
else {
|
|
1135
|
-
var f = e.ha(),
|
|
1135
|
+
var f = e.ha(), d = Fe(e, r, f, s);
|
|
1136
1136
|
f.onmessage = function(O) {
|
|
1137
|
-
clearTimeout(
|
|
1137
|
+
clearTimeout(d), s(ie(e, O.data));
|
|
1138
1138
|
}, f.postMessage(["split", a, r, o]);
|
|
1139
1139
|
}
|
|
1140
1140
|
return;
|
|
1141
1141
|
}
|
|
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
1145
|
if (r = _(e, r, e.I) ? r.data : new RegExp(r), Le(e, r, o), e.REGEXP_MODE === 2)
|
|
1146
1146
|
if (se)
|
|
1147
|
-
r =
|
|
1147
|
+
r = Ue(e, "string.match(regexp)", {
|
|
1148
1148
|
string: s,
|
|
1149
1149
|
regexp: r
|
|
1150
|
-
}, r, o), r !==
|
|
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 = Fe(e, r, a, o);
|
|
1153
|
+
a.onmessage = function(d) {
|
|
1154
|
+
clearTimeout(f), o(d.data && ie(e, d.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
1161
|
if (_(e, r, e.I) ? r = r.data : r = new RegExp(r), Le(e, r, o), e.REGEXP_MODE === 2)
|
|
1162
1162
|
if (se)
|
|
1163
|
-
r =
|
|
1163
|
+
r = Ue(e, "string.search(regexp)", {
|
|
1164
1164
|
string: s,
|
|
1165
1165
|
regexp: r
|
|
1166
|
-
}, r, o), r !==
|
|
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 = Fe(e, r, a, o);
|
|
1169
|
+
a.onmessage = function(d) {
|
|
1170
|
+
clearTimeout(f), o(d.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
1177
|
if (o = String(o), _(e, r, e.I) && (r = r.data, Le(e, r, s), e.REGEXP_MODE === 2)) {
|
|
1178
1178
|
if (se)
|
|
1179
|
-
r =
|
|
1179
|
+
r = Ue(e, "string.replace(substr, newSubstr)", {
|
|
1180
1180
|
string: a,
|
|
1181
1181
|
substr: r,
|
|
1182
1182
|
newSubstr: o
|
|
1183
|
-
}, r, s), r !==
|
|
1183
|
+
}, r, s), r !== Ee && s(r);
|
|
1184
1184
|
else {
|
|
1185
|
-
var f = e.ha(),
|
|
1185
|
+
var f = e.ha(), d = Fe(e, r, f, s);
|
|
1186
1186
|
f.onmessage = function(O) {
|
|
1187
|
-
clearTimeout(
|
|
1187
|
+
clearTimeout(d), s(O.data);
|
|
1188
1188
|
}, f.postMessage(["replace", a, r, o]);
|
|
1189
1189
|
}
|
|
1190
1190
|
return;
|
|
1191
1191
|
}
|
|
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 $n(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, v);
|
|
1199
1199
|
}
|
|
1200
|
-
function
|
|
1200
|
+
function Gn(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,
|
|
1205
|
-
e.g(e.aa, t[n], Number[t[n]],
|
|
1204
|
+
for (e.aa = e.i(n, !0), e.g(t, "Number", e.aa, v), t = ["MAX_VALUE", "MIN_VALUE", "NaN", "NEGATIVE_INFINITY", "POSITIVE_INFINITY"], n = 0; n < t.length; n++)
|
|
1205
|
+
e.g(e.aa, t[n], Number[t[n]], De);
|
|
1206
1206
|
n = function(r) {
|
|
1207
1207
|
try {
|
|
1208
1208
|
return Number(this).toExponential(r);
|
|
1209
1209
|
} catch (o) {
|
|
1210
1210
|
m(e, e.D, o.message);
|
|
1211
1211
|
}
|
|
1212
|
-
},
|
|
1212
|
+
}, L(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
|
+
}, L(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
|
+
}, L(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
|
+
}, L(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
|
+
}, L(e, e.aa, "toLocaleString", n);
|
|
1238
1238
|
}
|
|
1239
|
-
function
|
|
1239
|
+
function Vn(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.$, v), e.g(e.$, "now", e.i(Date.now, !1), v), e.g(e.$, "parse", e.i(Date.parse, !1), v), e.g(e.$, "UTC", e.i(Date.UTC, !1), v), t = "getDate getDay getFullYear getHours getMilliseconds getMinutes getMonth getSeconds getTime getTimezoneOffset getUTCDate getUTCDay getUTCFullYear getUTCHours getUTCMilliseconds getUTCMinutes getUTCMonth getUTCSeconds getYear setDate setFullYear setHours setMilliseconds setMinutes setMonth setSeconds setTime setUTCDate setUTCFullYear setUTCHours setUTCMilliseconds setUTCMinutes setUTCMonth setUTCSeconds setYear toDateString toISOString toJSON toGMTString toLocaleDateString toLocaleString toLocaleTimeString toTimeString toUTCString".split(" ");
|
|
1247
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 = [], d = 0; d < arguments.length; d++)
|
|
1253
|
+
f[d] = e.R(arguments[d]);
|
|
1254
1254
|
return a[o].apply(a, f);
|
|
1255
1255
|
};
|
|
1256
|
-
}(t[r]),
|
|
1256
|
+
}(t[r]), L(e, e.$, t[r], n);
|
|
1257
1257
|
}
|
|
1258
|
-
function
|
|
1258
|
+
function Xn(e, t) {
|
|
1259
1259
|
var n = function(r, o) {
|
|
1260
1260
|
if (le(e))
|
|
1261
1261
|
var s = this;
|
|
@@ -1272,56 +1272,56 @@ function Vn(e, t) {
|
|
|
1272
1272
|
}
|
|
1273
1273
|
return Xt(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, v), e.g(e.I.h.prototype, "global", void 0, X), e.g(e.I.h.prototype, "ignoreCase", void 0, X), e.g(e.I.h.prototype, "multiline", void 0, X), e.g(e.I.h.prototype, "source", "(?:)", X), e.ba.push("Object.defineProperty(RegExp.prototype, 'test',", "{configurable: true, writable: true, value:", "function test(str) {", "return !!this.exec(str);", "}", "});"), n = function(r, o) {
|
|
1276
1276
|
function s(C) {
|
|
1277
1277
|
if (C) {
|
|
1278
|
-
var
|
|
1279
|
-
return e.g(
|
|
1278
|
+
var w = ie(e, C);
|
|
1279
|
+
return e.g(w, "index", C.index), e.g(w, "input", C.input), w;
|
|
1280
1280
|
}
|
|
1281
1281
|
return null;
|
|
1282
1282
|
}
|
|
1283
1283
|
var a = this.data;
|
|
1284
1284
|
if (r = String(r), a.lastIndex = Number(e.G(this, "lastIndex")), Le(e, a, o), e.REGEXP_MODE === 2)
|
|
1285
1285
|
if (se)
|
|
1286
|
-
r =
|
|
1286
|
+
r = Ue(e, "regexp.exec(string)", {
|
|
1287
1287
|
string: r,
|
|
1288
1288
|
regexp: a
|
|
1289
|
-
}, a, o), r !==
|
|
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(), d = Fe(e, a, f, o), O = this;
|
|
1292
1292
|
f.onmessage = function(C) {
|
|
1293
|
-
clearTimeout(
|
|
1293
|
+
clearTimeout(d), 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 Hn(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
1304
|
return _t(e, a, s), a;
|
|
1305
1305
|
}, !0);
|
|
1306
|
-
return e.g(o, "prototype", e.Aa(e.D),
|
|
1306
|
+
return e.g(o, "prototype", e.Aa(e.D), v), e.g(o.h.prototype, "name", r, v), e.g(t, r, o, v), o;
|
|
1307
1307
|
}
|
|
1308
1308
|
e.D = e.i(function(r) {
|
|
1309
1309
|
var o = le(e) ? this : e.Aa(e.D);
|
|
1310
1310
|
return _t(e, o, r), o;
|
|
1311
|
-
}, !0), e.g(t, "Error", e.D,
|
|
1311
|
+
}, !0), e.g(t, "Error", e.D, v), e.g(e.D.h.prototype, "message", "", v), e.g(e.D.h.prototype, "name", "Error", v), 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 Kn(e, t) {
|
|
1314
1314
|
var n = e.s(e.M);
|
|
1315
|
-
e.g(t, "Math", n,
|
|
1315
|
+
e.g(t, "Math", n, v);
|
|
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), v);
|
|
1321
1321
|
}
|
|
1322
|
-
function
|
|
1322
|
+
function Jn(e, t) {
|
|
1323
1323
|
var n = e.s(e.M);
|
|
1324
|
-
e.g(t, "JSON", n,
|
|
1324
|
+
e.g(t, "JSON", n, v), t = function(r) {
|
|
1325
1325
|
try {
|
|
1326
1326
|
var o = JSON.parse(String(r));
|
|
1327
1327
|
} catch (s) {
|
|
@@ -1329,7 +1329,7 @@ function Kn(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 {
|
|
@@ -1353,10 +1353,10 @@ function _(e, t, n) {
|
|
|
1353
1353
|
return !1;
|
|
1354
1354
|
}
|
|
1355
1355
|
function Xt(e, t, n) {
|
|
1356
|
-
t.data = new RegExp(n.source, n.flags), e.g(t, "lastIndex", n.lastIndex,
|
|
1356
|
+
t.data = new RegExp(n.source, n.flags), e.g(t, "lastIndex", n.lastIndex, v), 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
1358
|
function _t(e, t, n) {
|
|
1359
|
-
n && e.g(t, "message", String(n),
|
|
1359
|
+
n && e.g(t, "message", String(n), v), 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,16 +1370,16 @@ 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(), v);
|
|
1374
1374
|
}
|
|
1375
1375
|
b.ha = function() {
|
|
1376
1376
|
var e = this.ha.Mb;
|
|
1377
|
-
return e || (e = new Blob([
|
|
1377
|
+
return e || (e = new Blob([Dn.join(`
|
|
1378
1378
|
`)], {
|
|
1379
1379
|
type: "application/javascript"
|
|
1380
1380
|
}), this.ha.Mb = e), new Worker(URL.createObjectURL(e));
|
|
1381
1381
|
};
|
|
1382
|
-
function
|
|
1382
|
+
function Ue(e, t, n, r, o) {
|
|
1383
1383
|
var s = {
|
|
1384
1384
|
timeout: e.REGEXP_THREAD_TIMEOUT
|
|
1385
1385
|
};
|
|
@@ -1388,7 +1388,7 @@ function Fe(e, t, n, r, o) {
|
|
|
1388
1388
|
} catch {
|
|
1389
1389
|
o(null), m(e, e.D, "RegExp Timeout: " + r);
|
|
1390
1390
|
}
|
|
1391
|
-
return
|
|
1391
|
+
return Ee;
|
|
1392
1392
|
}
|
|
1393
1393
|
function Le(e, t, n) {
|
|
1394
1394
|
if (e.REGEXP_MODE === 0)
|
|
@@ -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 Fe(e, t, n, r) {
|
|
1413
1413
|
return setTimeout(function() {
|
|
1414
1414
|
n.terminate(), r(null);
|
|
1415
1415
|
try {
|
|
@@ -1426,7 +1426,7 @@ b.s = function(e) {
|
|
|
1426
1426
|
throw Error("Non object prototype");
|
|
1427
1427
|
return e = new A(e), _(this, e, this.D) && (e.H = "Error"), e;
|
|
1428
1428
|
};
|
|
1429
|
-
function
|
|
1429
|
+
function Oe(e) {
|
|
1430
1430
|
var t = e.s(e.La);
|
|
1431
1431
|
return e.g(t, "length", 0, {
|
|
1432
1432
|
configurable: !1,
|
|
@@ -1436,7 +1436,7 @@ function Ae(e) {
|
|
|
1436
1436
|
}
|
|
1437
1437
|
function Ht(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, v), e.g(n, "constructor", r, v)) : r.Ab = !0, e.g(r, "length", t, X), r.H = "Function", r;
|
|
1440
1440
|
}
|
|
1441
1441
|
function Kt(e, t, n, r) {
|
|
1442
1442
|
var o = Ht(e, t.oa.length, !0);
|
|
@@ -1470,7 +1470,7 @@ b.Ia = function(e) {
|
|
|
1470
1470
|
}, !!t);
|
|
1471
1471
|
}
|
|
1472
1472
|
if (Array.isArray(e)) {
|
|
1473
|
-
t =
|
|
1473
|
+
t = Oe(this);
|
|
1474
1474
|
for (var r = 0; r < e.length; r++)
|
|
1475
1475
|
r in e && this.g(t, r, this.Ia(e[r]));
|
|
1476
1476
|
return t;
|
|
@@ -1499,7 +1499,7 @@ b.R = function(e, t) {
|
|
|
1499
1499
|
if (t.hb.push(e), _(this, e, this.qa)) {
|
|
1500
1500
|
n = [], t.Sa.push(n);
|
|
1501
1501
|
for (var r = this.G(e, "length"), o = 0; o < r; o++)
|
|
1502
|
-
|
|
1502
|
+
at(this, e, o) && (n[o] = this.R(this.G(e, o), t));
|
|
1503
1503
|
} else
|
|
1504
1504
|
for (r in n = {}, t.Sa.push(n), e.h)
|
|
1505
1505
|
o = this.R(e.h[r], t), Object.defineProperty(n, r, {
|
|
@@ -1511,11 +1511,11 @@ b.R = function(e, t) {
|
|
|
1511
1511
|
return t.hb.pop(), t.Sa.pop(), n;
|
|
1512
1512
|
};
|
|
1513
1513
|
function ie(e, t) {
|
|
1514
|
-
for (var n =
|
|
1514
|
+
for (var n = Oe(e), r = Object.getOwnPropertyNames(t), o = 0; o < r.length; o++)
|
|
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);
|
|
@@ -1541,7 +1541,7 @@ b.G = function(e, t) {
|
|
|
1541
1541
|
if (_(this, e, this.J))
|
|
1542
1542
|
return String(e).length;
|
|
1543
1543
|
} else if (64 > t.charCodeAt(0) && _(this, e, this.J)) {
|
|
1544
|
-
var n =
|
|
1544
|
+
var n = $e(t);
|
|
1545
1545
|
if (!isNaN(n) && n < String(e).length)
|
|
1546
1546
|
return String(e)[n];
|
|
1547
1547
|
}
|
|
@@ -1550,13 +1550,13 @@ b.G = function(e, t) {
|
|
|
1550
1550
|
return (n = e.V[t]) ? (this.P = !0, n) : e.h[t];
|
|
1551
1551
|
while (e = ae(this, e));
|
|
1552
1552
|
};
|
|
1553
|
-
function
|
|
1553
|
+
function at(e, t, n) {
|
|
1554
1554
|
if (!(t instanceof A))
|
|
1555
1555
|
throw TypeError("Primitive data type has no properties");
|
|
1556
1556
|
if (n = String(n), n === "length" && _(e, t, e.J))
|
|
1557
1557
|
return !0;
|
|
1558
1558
|
if (_(e, t, e.J)) {
|
|
1559
|
-
var r =
|
|
1559
|
+
var r = $e(n);
|
|
1560
1560
|
if (!isNaN(r) && r < String(t).length)
|
|
1561
1561
|
return !0;
|
|
1562
1562
|
}
|
|
@@ -1575,7 +1575,7 @@ b.g = function(e, t, n, r) {
|
|
|
1575
1575
|
var o = !this.o || Jt(this).S;
|
|
1576
1576
|
if (e instanceof A) {
|
|
1577
1577
|
if (_(this, e, this.J)) {
|
|
1578
|
-
var s =
|
|
1578
|
+
var s = $e(t);
|
|
1579
1579
|
if (t === "length" || !isNaN(s) && s < String(e).length) {
|
|
1580
1580
|
o && m(this, this.j, "Cannot assign to read only property '" + t + "' of String '" + e.data + "'");
|
|
1581
1581
|
return;
|
|
@@ -1590,14 +1590,14 @@ b.g = function(e, t, n, r) {
|
|
|
1590
1590
|
}
|
|
1591
1591
|
if (n = Vt(n), isNaN(n) && m(this, this.ob, "Invalid array length"), n < s)
|
|
1592
1592
|
for (a in e.h) {
|
|
1593
|
-
var a =
|
|
1593
|
+
var a = $e(a);
|
|
1594
1594
|
!isNaN(a) && n <= a && delete e.h[a];
|
|
1595
1595
|
}
|
|
1596
1596
|
} else
|
|
1597
|
-
isNaN(a =
|
|
1597
|
+
isNaN(a = $e(t)) || (e.h.length = Math.max(s, a + 1));
|
|
1598
1598
|
if (!e.preventExtensions || t in e.h)
|
|
1599
1599
|
if (r) {
|
|
1600
|
-
o = {}, "get" in r && r.get && (e.V[t] = r.get, o.get = this.g.ac), "set" in r && r.set && (e.Y[t] = r.set, o.set = this.g.bc), "configurable" in r && (o.configurable = r.configurable), "enumerable" in r && (o.enumerable = r.enumerable), "writable" in r && (o.writable = r.writable, delete e.V[t], delete e.Y[t]), "value" in r ? (o.value = r.value, delete e.V[t], delete e.Y[t]) : n !==
|
|
1600
|
+
o = {}, "get" in r && r.get && (e.V[t] = r.get, o.get = this.g.ac), "set" in r && r.set && (e.Y[t] = r.set, o.set = this.g.bc), "configurable" in r && (o.configurable = r.configurable), "enumerable" in r && (o.enumerable = r.enumerable), "writable" in r && (o.writable = r.writable, delete e.V[t], delete e.Y[t]), "value" in r ? (o.value = r.value, delete e.V[t], delete e.Y[t]) : n !== Ve && (o.value = n, delete e.V[t], delete e.Y[t]);
|
|
1601
1601
|
try {
|
|
1602
1602
|
Object.defineProperty(e.h, t, o);
|
|
1603
1603
|
} catch {
|
|
@@ -1605,7 +1605,7 @@ b.g = function(e, t, n, r) {
|
|
|
1605
1605
|
}
|
|
1606
1606
|
"get" in r && !r.get && delete e.V[t], "set" in r && !r.set && delete e.Y[t];
|
|
1607
1607
|
} else {
|
|
1608
|
-
if (n ===
|
|
1608
|
+
if (n === Ve)
|
|
1609
1609
|
throw ReferenceError("Value not specified");
|
|
1610
1610
|
for (r = e; !(t in r.h); )
|
|
1611
1611
|
if (r = ae(this, r), !r) {
|
|
@@ -1634,11 +1634,11 @@ b.g.ac = function() {
|
|
|
1634
1634
|
b.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 L(e, t, n, r) {
|
|
1638
|
+
e.g(t.h.prototype, n, e.i(r, !1), v);
|
|
1639
1639
|
}
|
|
1640
|
-
function
|
|
1641
|
-
e.g(t.h.prototype, n, e.ub(r),
|
|
1640
|
+
function _e(e, t, n, r) {
|
|
1641
|
+
e.g(t.h.prototype, n, e.ub(r), v);
|
|
1642
1642
|
}
|
|
1643
1643
|
function Jt(e) {
|
|
1644
1644
|
if (e = e.o[e.o.length - 1].scope, !e)
|
|
@@ -1653,12 +1653,12 @@ 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 en(n, r, o), n || Un(e, r.object), Xe(e, t, r), r;
|
|
1657
1657
|
}
|
|
1658
1658
|
function Yt(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 en(t, t.S, e);
|
|
1662
1662
|
}
|
|
1663
1663
|
function Zt(e, t) {
|
|
1664
1664
|
for (var n = Jt(e); n && n !== e.N; ) {
|
|
@@ -1666,11 +1666,11 @@ function Zt(e, t) {
|
|
|
1666
1666
|
return n.object.h[t];
|
|
1667
1667
|
n = n.Va;
|
|
1668
1668
|
}
|
|
1669
|
-
if (n === e.N &&
|
|
1669
|
+
if (n === e.N && at(e, n.object, 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
|
|
1673
|
+
function Qr(e, t, n) {
|
|
1674
1674
|
for (var r = Jt(e), o = r.S; r && r !== e.N; ) {
|
|
1675
1675
|
if (t in r.object.h) {
|
|
1676
1676
|
try {
|
|
@@ -1682,11 +1682,11 @@ function zr(e, t, n) {
|
|
|
1682
1682
|
}
|
|
1683
1683
|
r = r.Va;
|
|
1684
1684
|
}
|
|
1685
|
-
if (r === e.N && (!o ||
|
|
1685
|
+
if (r === e.N && (!o || at(e, r.object, t)))
|
|
1686
1686
|
return e.g(r.object, t, n);
|
|
1687
1687
|
m(e, e.pb, t + " is not defined");
|
|
1688
1688
|
}
|
|
1689
|
-
function
|
|
1689
|
+
function Xe(e, t, n) {
|
|
1690
1690
|
if (t.jb)
|
|
1691
1691
|
var r = t.jb;
|
|
1692
1692
|
else {
|
|
@@ -1719,13 +1719,13 @@ function He(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 d = Xe(e, f[o], n);
|
|
1723
|
+
for (a in d)
|
|
1724
|
+
r[a] = d[a];
|
|
1725
1725
|
}
|
|
1726
1726
|
} else if (f.constructor === s)
|
|
1727
|
-
for (a in
|
|
1728
|
-
r[a] =
|
|
1727
|
+
for (a in d = Xe(e, f, n), d)
|
|
1728
|
+
r[a] = d[a];
|
|
1729
1729
|
}
|
|
1730
1730
|
}
|
|
1731
1731
|
}
|
|
@@ -1739,15 +1739,15 @@ function le(e) {
|
|
|
1739
1739
|
return e.o[e.o.length - 1].isConstructor;
|
|
1740
1740
|
}
|
|
1741
1741
|
function zt(e, t) {
|
|
1742
|
-
return t[0] ===
|
|
1742
|
+
return t[0] === Ae ? Zt(e, t[1]) : e.G(t[0], t[1]);
|
|
1743
1743
|
}
|
|
1744
1744
|
function Qt(e, t, n) {
|
|
1745
|
-
return t[0] ===
|
|
1745
|
+
return t[0] === Ae ? Qr(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), _t(e, t, n)),
|
|
1748
|
+
throw e.N ? (n !== void 0 && t instanceof A && (t = e.Aa(t), _t(e, t, n)), He(e, 4, t), Zr) : n === void 0 ? t : n;
|
|
1749
1749
|
}
|
|
1750
|
-
function
|
|
1750
|
+
function He(e, t, n, r) {
|
|
1751
1751
|
if (t === 0)
|
|
1752
1752
|
throw TypeError("Should not unwind for NORMAL completions");
|
|
1753
1753
|
var o = e.o;
|
|
@@ -1823,7 +1823,7 @@ function V(e, t) {
|
|
|
1823
1823
|
}
|
|
1824
1824
|
return "???";
|
|
1825
1825
|
}
|
|
1826
|
-
function
|
|
1826
|
+
function Lr(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,39 +1832,39 @@ function Fr(e, t, n) {
|
|
|
1832
1832
|
a.type = "CallExpression", r = r.scope;
|
|
1833
1833
|
} else {
|
|
1834
1834
|
try {
|
|
1835
|
-
var
|
|
1835
|
+
var d = 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 = d.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 Yn(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
|
});
|
|
1847
1847
|
}
|
|
1848
|
-
function
|
|
1848
|
+
function Fr(e, t) {
|
|
1849
1849
|
for (var n = 0; n < e.ca.length; n++)
|
|
1850
1850
|
if (e.ca[n].Db == t) {
|
|
1851
1851
|
e.ca.splice(n, 1);
|
|
1852
1852
|
break;
|
|
1853
1853
|
}
|
|
1854
1854
|
}
|
|
1855
|
-
function
|
|
1855
|
+
function Ke(e, t, n) {
|
|
1856
1856
|
if (!e.P)
|
|
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 y(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
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 y(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
1869
|
function Mt(e, t) {
|
|
1870
1870
|
return t == null ? e.Na : t instanceof A ? t : (e = e.s(ae(e, t)), e.data = t, e);
|
|
@@ -1878,10 +1878,10 @@ b.Yb = function() {
|
|
|
1878
1878
|
b.ec = function(e) {
|
|
1879
1879
|
this.o = e;
|
|
1880
1880
|
};
|
|
1881
|
-
function
|
|
1881
|
+
function y(e, t) {
|
|
1882
1882
|
this.node = e, this.scope = t;
|
|
1883
1883
|
}
|
|
1884
|
-
function
|
|
1884
|
+
function en(e, t, n) {
|
|
1885
1885
|
this.Va = e, this.S = t, this.object = n;
|
|
1886
1886
|
}
|
|
1887
1887
|
function A(e) {
|
|
@@ -1892,7 +1892,7 @@ b.xa = null;
|
|
|
1892
1892
|
b.H = "Object";
|
|
1893
1893
|
b.data = null;
|
|
1894
1894
|
b.toString = function() {
|
|
1895
|
-
if (
|
|
1895
|
+
if (!We)
|
|
1896
1896
|
return "[object Interpreter.Object]";
|
|
1897
1897
|
if (!(this instanceof A))
|
|
1898
1898
|
return String(this);
|
|
@@ -1940,27 +1940,27 @@ b.toString = function() {
|
|
|
1940
1940
|
return this.data !== null ? String(this.data) : "[object " + this.H + "]";
|
|
1941
1941
|
};
|
|
1942
1942
|
b.valueOf = function() {
|
|
1943
|
-
return
|
|
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 Yn(e, t, n, r, o) {
|
|
1946
|
+
this.zb = e, this.Lb = t, this.scope = n, this.node = r, this.interval = o, this.Db = ++Zn, this.time = 0;
|
|
1947
1947
|
}
|
|
1948
|
-
var
|
|
1948
|
+
var Zn = 0;
|
|
1949
1949
|
h.prototype.stepArrayExpression = function(e, t, n) {
|
|
1950
1950
|
n = n.elements;
|
|
1951
1951
|
var r = t.A || 0;
|
|
1952
|
-
for (t.Oa ? (this.g(t.Oa, r, t.value), r++) : (t.Oa =
|
|
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 y(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 y(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 = zt(this, t.Fa), t.ma = e, this.P) ? (t.Ba = !0,
|
|
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 y(n.right, t.scope));
|
|
1964
1964
|
if (t.ta)
|
|
1965
1965
|
e.pop(), e[e.length - 1].value = t.ib;
|
|
1966
1966
|
else {
|
|
@@ -2012,9 +2012,9 @@ h.prototype.stepAssignmentExpression = function(e, t, n) {
|
|
|
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 y(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 y(n.right, t.scope);
|
|
2018
2018
|
e.pop();
|
|
2019
2019
|
var r = t.ma;
|
|
2020
2020
|
switch (t = t.value, n.operator) {
|
|
@@ -2076,7 +2076,7 @@ h.prototype.stepBinaryExpression = function(e, t, n) {
|
|
|
2076
2076
|
n = r >>> t;
|
|
2077
2077
|
break;
|
|
2078
2078
|
case "in":
|
|
2079
|
-
t instanceof A || m(this, this.j, "'in' expects an object, not '" + t + "'"), n =
|
|
2079
|
+
t instanceof A || m(this, this.j, "'in' expects an object, not '" + t + "'"), n = at(this, t, r);
|
|
2080
2080
|
break;
|
|
2081
2081
|
case "instanceof":
|
|
2082
2082
|
_(this, t, this.O) || m(this, this.j, "'instanceof' expects an object, not '" + t + "'"), n = r instanceof A ? _(this, r, t) : !1;
|
|
@@ -2089,35 +2089,35 @@ 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 y(n, t.scope);
|
|
2093
2093
|
e.pop();
|
|
2094
2094
|
};
|
|
2095
2095
|
h.prototype.stepBreakStatement = function(e, t, n) {
|
|
2096
|
-
|
|
2096
|
+
He(this, 1, void 0, n.label && n.label.name);
|
|
2097
2097
|
};
|
|
2098
2098
|
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 y(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 = zt(this, o), o[0] ===
|
|
2110
|
-
return t.ia = 1,
|
|
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
|
+
return t.ia = 1, Ke(this, o, t.value);
|
|
2111
2111
|
} else
|
|
2112
2112
|
t.U = o;
|
|
2113
2113
|
t.F = [], t.A = 0;
|
|
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 y(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
|
-
t.B =
|
|
2120
|
+
t.B = Oe(this);
|
|
2121
2121
|
else {
|
|
2122
2122
|
var s = o.h.prototype;
|
|
2123
2123
|
(typeof s != "object" || s === null) && (s = this.M), t.B = this.s(s);
|
|
@@ -2130,22 +2130,22 @@ 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 = Wt(this, e.body, o.Va), r =
|
|
2133
|
+
for (n = Wt(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 = Mt(this, t.B)), this.g(n.object, "this", t.B, Gt), t.value = void 0, new
|
|
2137
|
+
return n.S || (t.B = Mt(this, t.B)), this.g(n.object, "this", t.B, Gt), t.value = void 0, new y(e.body, n);
|
|
2138
2138
|
}
|
|
2139
2139
|
if (o.eval)
|
|
2140
2140
|
if (o = t.F[0], typeof o != "string")
|
|
2141
2141
|
t.value = o;
|
|
2142
2142
|
else {
|
|
2143
2143
|
try {
|
|
2144
|
-
r =
|
|
2144
|
+
r = je(String(o), "eval" + this.Hb++);
|
|
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,
|
|
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 = Wt(this, r, n) : Xe(this, r, n), this.value = void 0, new y(o, n);
|
|
2149
2149
|
}
|
|
2150
2150
|
else if (o.Ta)
|
|
2151
2151
|
t.scope.S || (t.B = Mt(this, t.B)), t.value = o.Ta.apply(t.B, t.F);
|
|
@@ -2161,29 +2161,29 @@ 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 y(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 y(n.da, t.scope);
|
|
2168
2168
|
if (!r && n.alternate)
|
|
2169
|
-
return new
|
|
2169
|
+
return new y(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);
|
|
2173
2173
|
};
|
|
2174
2174
|
h.prototype.stepContinueStatement = function(e, t, n) {
|
|
2175
|
-
|
|
2175
|
+
He(this, 2, void 0, n.label && n.label.name);
|
|
2176
2176
|
};
|
|
2177
2177
|
h.prototype.stepDebuggerStatement = function(e) {
|
|
2178
2178
|
e.pop();
|
|
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 y(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 y(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 y(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 y(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 y(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 y(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 (; ; ) {
|
|
@@ -2231,33 +2231,33 @@ h.prototype.stepForInStatement = function(e, t, n) {
|
|
|
2231
2231
|
}
|
|
2232
2232
|
if (!t.wb)
|
|
2233
2233
|
if (t.wb = !0, e = n.left, e.type === "VariableDeclaration")
|
|
2234
|
-
t.pa = [
|
|
2234
|
+
t.pa = [Ae, e.fa[0].id.name];
|
|
2235
2235
|
else
|
|
2236
|
-
return t.pa = null, t = new
|
|
2236
|
+
return t.pa = null, t = new y(e, t.scope), t.sa = !0, t;
|
|
2237
2237
|
if (t.pa || (t.pa = t.value), !t.ta && (t.ta = !0, e = t.Ra, r = Qt(this, t.pa, e)))
|
|
2238
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 y(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 y(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 y(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 y(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 y(n.update, t.scope);
|
|
2261
2261
|
}
|
|
2262
2262
|
};
|
|
2263
2263
|
h.prototype.stepFunctionDeclaration = function(e) {
|
|
@@ -2268,16 +2268,16 @@ h.prototype.stepFunctionExpression = function(e, t, n) {
|
|
|
2268
2268
|
};
|
|
2269
2269
|
h.prototype.stepIdentifier = function(e, t, n) {
|
|
2270
2270
|
if (e.pop(), t.sa)
|
|
2271
|
-
e[e.length - 1].value = [
|
|
2271
|
+
e[e.length - 1].value = [Ae, n.name];
|
|
2272
2272
|
else {
|
|
2273
2273
|
if (t = Zt(this, n.name), this.P)
|
|
2274
|
-
return
|
|
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 y(n.body, t.scope), t.labels = e, t;
|
|
2281
2281
|
};
|
|
2282
2282
|
h.prototype.stepLiteral = function(e, t, n) {
|
|
2283
2283
|
e.pop(), t = n.value, t instanceof RegExp && (n = this.s(this.Ma), Xt(this, n, t), t = n), e[e.length - 1].value = t;
|
|
@@ -2286,29 +2286,29 @@ 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 y(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 y(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 y(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 y(n.Wa, t.scope);
|
|
2305
2305
|
else
|
|
2306
2306
|
t.u = t.value, n = n.Wa.name;
|
|
2307
2307
|
if (e.pop(), t.sa)
|
|
2308
2308
|
e[e.length - 1].value = [t.u, n];
|
|
2309
2309
|
else {
|
|
2310
2310
|
if (n = this.G(t.u, n), this.P)
|
|
2311
|
-
return
|
|
2311
|
+
return Ke(this, n, t.u);
|
|
2312
2312
|
e[e.length - 1].value = n;
|
|
2313
2313
|
}
|
|
2314
2314
|
};
|
|
@@ -2328,10 +2328,10 @@ 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 y(o.value, t.scope);
|
|
2332
2332
|
}
|
|
2333
2333
|
for (a in t.Ja)
|
|
2334
|
-
n = t.Ja[a], "get" in n || "set" in n ? this.g(t.u, a,
|
|
2334
|
+
n = t.Ja[a], "get" in n || "set" in n ? this.g(t.u, a, Ve, {
|
|
2335
2335
|
configurable: !0,
|
|
2336
2336
|
enumerable: !0,
|
|
2337
2337
|
get: n.get,
|
|
@@ -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 y(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
|
|
2350
|
-
|
|
2349
|
+
return t.ka = !0, new y(n.K, t.scope);
|
|
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 y(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 y(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 y(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 y(o.da[s], t.scope);
|
|
2373
2373
|
}
|
|
2374
2374
|
t.Fb = !1, t.A = 0, t.gb = r + 1;
|
|
2375
2375
|
} else {
|
|
@@ -2389,20 +2389,20 @@ 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 y(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 y(n.block, t.scope);
|
|
2397
2397
|
if (t.ea && t.ea.type === 4 && !t.Tb && n.Ea)
|
|
2398
|
-
return t.Tb = !0, e = Yt(this, t.scope), this.g(e.object, n.Ea.Ua.name, t.ea.value), t.ea = void 0, new
|
|
2398
|
+
return t.Tb = !0, e = Yt(this, t.scope), this.g(e.object, n.Ea.Ua.name, t.ea.value), t.ea = void 0, new y(n.Ea.body, e);
|
|
2399
2399
|
if (!t.Sb && n.fb)
|
|
2400
|
-
return t.Sb = !0, new
|
|
2401
|
-
e.pop(), t.ea &&
|
|
2400
|
+
return t.Sb = !0, new y(n.fb, t.scope);
|
|
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 y(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) {
|
|
@@ -2421,7 +2421,7 @@ h.prototype.stepUnaryExpression = function(e, t, n) {
|
|
|
2421
2421
|
case "delete":
|
|
2422
2422
|
if (n = !0, Array.isArray(r)) {
|
|
2423
2423
|
var o = r[0];
|
|
2424
|
-
o ===
|
|
2424
|
+
o === Ae && (o = t.scope), r = String(r[1]);
|
|
2425
2425
|
try {
|
|
2426
2426
|
delete o.h[r];
|
|
2427
2427
|
} catch {
|
|
@@ -2443,11 +2443,11 @@ 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 y(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
2448
|
var r = zt(this, t.Ga);
|
|
2449
2449
|
if (t.ma = r, this.P)
|
|
2450
|
-
return t.Ba = !0,
|
|
2450
|
+
return t.Ba = !0, Ke(this, r, t.Ga);
|
|
2451
2451
|
}
|
|
2452
2452
|
if (t.ta)
|
|
2453
2453
|
e.pop(), e[e.length - 1].value = t.ib;
|
|
@@ -2466,15 +2466,15 @@ h.prototype.stepUpdateExpression = function(e, t, n) {
|
|
|
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 && (Qr(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 y(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 = Yt(this, t.scope, t.value), new
|
|
2477
|
+
return t.Ca ? (e.pop(), e = Yt(this, t.scope, t.value), new y(n.body, e)) : (t.Ca = !0, new y(n.object, t.scope));
|
|
2478
2478
|
};
|
|
2479
2479
|
h.prototype.stepWhileStatement = h.prototype.stepDoWhileStatement;
|
|
2480
2480
|
he.Interpreter = h;
|
|
@@ -2492,8 +2492,8 @@ h.prototype.pseudoToNative = h.prototype.R;
|
|
|
2492
2492
|
h.prototype.getGlobalScope = h.prototype.Xb;
|
|
2493
2493
|
h.prototype.getStateStack = h.prototype.Yb;
|
|
2494
2494
|
h.prototype.setStateStack = h.prototype.ec;
|
|
2495
|
-
h.VALUE_IN_DESCRIPTOR =
|
|
2496
|
-
const
|
|
2495
|
+
h.VALUE_IN_DESCRIPTOR = Ve;
|
|
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
|
-
`), _r = (e) => e + "JSON",
|
|
2509
|
+
`), _r = (e) => e + "JSON", Qn = ({
|
|
2510
2510
|
builder: e,
|
|
2511
2511
|
context: t,
|
|
2512
2512
|
event: n,
|
|
@@ -2518,21 +2518,21 @@ const Zn = (e) => e.split(`
|
|
|
2518
2518
|
const f = {
|
|
2519
2519
|
...r,
|
|
2520
2520
|
...o
|
|
2521
|
-
},
|
|
2521
|
+
}, d = Jr({
|
|
2522
2522
|
builder: e,
|
|
2523
2523
|
context: t,
|
|
2524
2524
|
event: n,
|
|
2525
2525
|
state: f
|
|
2526
|
-
}), O =
|
|
2526
|
+
}), O = d.map(([$]) => {
|
|
2527
2527
|
const H = _r($);
|
|
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
|
$t.warn("Skipping evaluation of empty code block.");
|
|
2533
2533
|
return;
|
|
2534
2534
|
}
|
|
2535
|
-
const
|
|
2535
|
+
const w = `
|
|
2536
2536
|
function theFunction() {
|
|
2537
2537
|
${O}
|
|
2538
2538
|
|
|
@@ -2540,27 +2540,27 @@ function theFunction() {
|
|
|
2540
2540
|
}
|
|
2541
2541
|
theFunction();
|
|
2542
2542
|
`, T = ($, H) => {
|
|
2543
|
-
const k =
|
|
2543
|
+
const k = Kr(f, $, H);
|
|
2544
2544
|
s == null || s(k);
|
|
2545
|
-
},
|
|
2546
|
-
|
|
2547
|
-
const
|
|
2548
|
-
$.setProperty(H, _r(k),
|
|
2545
|
+
}, N = function($, H) {
|
|
2546
|
+
d.forEach(([k, Q]) => {
|
|
2547
|
+
const Je = JSON.stringify(Q);
|
|
2548
|
+
$.setProperty(H, _r(k), Je);
|
|
2549
2549
|
}), $.setProperty(H, "setRootState", $.createNativeFunction(T));
|
|
2550
|
-
},
|
|
2551
|
-
return
|
|
2550
|
+
}, R = new h(w, N);
|
|
2551
|
+
return R.run(), R.pseudoToNative(R.value);
|
|
2552
2552
|
};
|
|
2553
|
-
function
|
|
2553
|
+
function qn() {
|
|
2554
2554
|
var e;
|
|
2555
|
-
return typeof process != "undefined" &&
|
|
2555
|
+
return typeof process != "undefined" && ot((e = process == null ? void 0 : process.versions) == null ? void 0 : e.node);
|
|
2556
2556
|
}
|
|
2557
|
-
const
|
|
2557
|
+
const eo = () => {
|
|
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
2562
|
return e && t && !n ? ($t.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
|
-
},
|
|
2563
|
+
}, to = (e) => Lt() || eo() ? Bn(e) : Qn(e), oe = class oe {
|
|
2564
2564
|
static getCacheKey(t) {
|
|
2565
2565
|
return JSON.stringify({
|
|
2566
2566
|
...t,
|
|
@@ -2579,7 +2579,7 @@ const qn = () => {
|
|
|
2579
2579
|
}
|
|
2580
2580
|
};
|
|
2581
2581
|
Bt(oe, "cacheLimit", 20), Bt(oe, "cache", /* @__PURE__ */ new Map());
|
|
2582
|
-
let
|
|
2582
|
+
let Ce = oe;
|
|
2583
2583
|
function er({
|
|
2584
2584
|
code: e,
|
|
2585
2585
|
context: t,
|
|
@@ -2592,11 +2592,11 @@ function er({
|
|
|
2592
2592
|
}) {
|
|
2593
2593
|
if (e === "")
|
|
2594
2594
|
return;
|
|
2595
|
-
const
|
|
2596
|
-
code:
|
|
2595
|
+
const d = {
|
|
2596
|
+
code: Pn(e, {
|
|
2597
2597
|
isExpression: a
|
|
2598
2598
|
}),
|
|
2599
|
-
builder:
|
|
2599
|
+
builder: Tn(),
|
|
2600
2600
|
context: t,
|
|
2601
2601
|
event: s,
|
|
2602
2602
|
rootSetState: o,
|
|
@@ -2604,15 +2604,15 @@ function er({
|
|
|
2604
2604
|
localState: n
|
|
2605
2605
|
};
|
|
2606
2606
|
if (f) {
|
|
2607
|
-
const O =
|
|
2607
|
+
const O = Ce.getCacheKey(d), C = Ce.getCachedValue(O);
|
|
2608
2608
|
if (C)
|
|
2609
2609
|
return C.value;
|
|
2610
2610
|
}
|
|
2611
2611
|
try {
|
|
2612
|
-
const O =
|
|
2612
|
+
const O = to(d);
|
|
2613
2613
|
if (f) {
|
|
2614
|
-
const C =
|
|
2615
|
-
|
|
2614
|
+
const C = Ce.getCacheKey(d);
|
|
2615
|
+
Ce.setCachedValue(C, O);
|
|
2616
2616
|
}
|
|
2617
2617
|
return O;
|
|
2618
2618
|
} catch (O) {
|
|
@@ -2622,7 +2622,7 @@ function er({
|
|
|
2622
2622
|
return;
|
|
2623
2623
|
}
|
|
2624
2624
|
}
|
|
2625
|
-
const
|
|
2625
|
+
const ro = ({
|
|
2626
2626
|
block: e,
|
|
2627
2627
|
context: t,
|
|
2628
2628
|
localState: n,
|
|
@@ -2641,19 +2641,19 @@ const to = ({
|
|
|
2641
2641
|
}
|
|
2642
2642
|
};
|
|
2643
2643
|
for (const f in e.bindings) {
|
|
2644
|
-
const
|
|
2645
|
-
code:
|
|
2644
|
+
const d = e.bindings[f], O = er({
|
|
2645
|
+
code: d,
|
|
2646
2646
|
localState: n,
|
|
2647
2647
|
rootState: r,
|
|
2648
2648
|
rootSetState: o,
|
|
2649
2649
|
context: t,
|
|
2650
2650
|
enableCache: !0
|
|
2651
2651
|
});
|
|
2652
|
-
|
|
2652
|
+
Kr(a, f, O);
|
|
2653
2653
|
}
|
|
2654
2654
|
return a;
|
|
2655
2655
|
};
|
|
2656
|
-
function
|
|
2656
|
+
function it({
|
|
2657
2657
|
block: e,
|
|
2658
2658
|
context: t,
|
|
2659
2659
|
shouldEvaluateBindings: n,
|
|
@@ -2662,7 +2662,7 @@ function st({
|
|
|
2662
2662
|
rootSetState: s
|
|
2663
2663
|
}) {
|
|
2664
2664
|
const a = e;
|
|
2665
|
-
return n ?
|
|
2665
|
+
return n ? ro({
|
|
2666
2666
|
block: a,
|
|
2667
2667
|
localState: r,
|
|
2668
2668
|
rootState: o,
|
|
@@ -2670,20 +2670,20 @@ function st({
|
|
|
2670
2670
|
context: t
|
|
2671
2671
|
}) : a;
|
|
2672
2672
|
}
|
|
2673
|
-
const
|
|
2674
|
-
function
|
|
2673
|
+
const lt = (e) => e ? e.replace(/([a-z0-9]|(?=[A-Z]))([A-Z])/g, "$1-$2").toLowerCase() : "";
|
|
2674
|
+
function no(e, t, n = {}) {
|
|
2675
2675
|
let r, o, s, a = null, f = 0;
|
|
2676
|
-
const
|
|
2676
|
+
const d = 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(d, C)), s;
|
|
2684
2684
|
};
|
|
2685
2685
|
}
|
|
2686
|
-
function
|
|
2686
|
+
function Ge(e, ...t) {
|
|
2687
2687
|
const n = Object(e);
|
|
2688
2688
|
for (let r = 1; r < arguments.length; r++) {
|
|
2689
2689
|
const o = arguments[r];
|
|
@@ -2693,118 +2693,118 @@ function Ve(e, ...t) {
|
|
|
2693
2693
|
}
|
|
2694
2694
|
return n;
|
|
2695
2695
|
}
|
|
2696
|
-
function
|
|
2696
|
+
function oo(e) {
|
|
2697
2697
|
for (const t of e)
|
|
2698
2698
|
switch (t.trigger) {
|
|
2699
2699
|
case "pageLoad":
|
|
2700
|
-
|
|
2700
|
+
so(t);
|
|
2701
2701
|
break;
|
|
2702
2702
|
case "scrollInView":
|
|
2703
|
-
|
|
2703
|
+
ao(t);
|
|
2704
2704
|
break;
|
|
2705
2705
|
}
|
|
2706
2706
|
}
|
|
2707
|
-
function
|
|
2707
|
+
function tn(e) {
|
|
2708
2708
|
console.warn(`Cannot animate element: element with ID ${e} not found!`);
|
|
2709
2709
|
}
|
|
2710
|
-
function
|
|
2711
|
-
const n =
|
|
2710
|
+
function rn(e, t) {
|
|
2711
|
+
const n = io(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 d of n)
|
|
2714
|
+
d in f || (f[d] = r[d]);
|
|
2715
2715
|
}
|
|
2716
|
-
function
|
|
2716
|
+
function io(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 so(e) {
|
|
2724
2724
|
const t = Array.prototype.slice.call(document.getElementsByClassName(e.elementId || e.id || ""));
|
|
2725
2725
|
if (!t.length) {
|
|
2726
|
-
|
|
2726
|
+
tn(e.elementId || e.id || "");
|
|
2727
2727
|
return;
|
|
2728
2728
|
}
|
|
2729
2729
|
Array.from(t).forEach((n) => {
|
|
2730
|
-
|
|
2731
|
-
n.style.transition = `all ${e.duration}s ${
|
|
2730
|
+
rn(e, n), n.style.transition = "none", n.style.transitionDelay = "0", Ge(n.style, e.steps[0].styles), setTimeout(() => {
|
|
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 ao(e) {
|
|
2738
2738
|
const t = Array.prototype.slice.call(document.getElementsByClassName(e.elementId || e.id || ""));
|
|
2739
2739
|
if (!t.length) {
|
|
2740
|
-
|
|
2740
|
+
tn(e.elementId || e.id || "");
|
|
2741
2741
|
return;
|
|
2742
2742
|
}
|
|
2743
2743
|
Array.from(t).forEach((n) => {
|
|
2744
|
-
|
|
2744
|
+
rn(e, n);
|
|
2745
2745
|
let r = !1, o = !1;
|
|
2746
2746
|
function s() {
|
|
2747
2747
|
!r && f(n) ? (r = !0, o = !0, setTimeout(() => {
|
|
2748
|
-
|
|
2748
|
+
Ge(n.style, e.steps[1].styles), e.repeat || document.removeEventListener("scroll", a), setTimeout(() => {
|
|
2749
2749
|
o = !1, e.repeat || (n.style.transition = "", n.style.transitionDelay = "");
|
|
2750
2750
|
}, (e.duration + (e.delay || 0)) * 1e3 + 100);
|
|
2751
|
-
})) : e.repeat && r && !o && !f(n) && (r = !1,
|
|
2751
|
+
})) : e.repeat && r && !o && !f(n) && (r = !1, Ge(n.style, e.steps[0].styles));
|
|
2752
2752
|
}
|
|
2753
|
-
const a =
|
|
2753
|
+
const a = no(s, 200, {
|
|
2754
2754
|
leading: !1
|
|
2755
2755
|
});
|
|
2756
2756
|
function f(C) {
|
|
2757
|
-
const
|
|
2758
|
-
return
|
|
2757
|
+
const w = C.getBoundingClientRect(), T = window.innerHeight, R = (e.thresholdPercent || 0) / 100 * T;
|
|
2758
|
+
return w.bottom > R && w.top < T - R;
|
|
2759
2759
|
}
|
|
2760
|
-
const
|
|
2760
|
+
const d = e.steps[0].styles;
|
|
2761
2761
|
function O() {
|
|
2762
|
-
|
|
2762
|
+
Ge(n.style, d);
|
|
2763
2763
|
}
|
|
2764
2764
|
O(), setTimeout(() => {
|
|
2765
|
-
n.style.transition = `all ${e.duration}s ${
|
|
2765
|
+
n.style.transition = `all ${e.duration}s ${lt(e.easing)}`, e.delay && (n.style.transitionDelay = e.delay + "s");
|
|
2766
2766
|
}), document.addEventListener("scroll", a, {
|
|
2767
2767
|
capture: !0,
|
|
2768
2768
|
passive: !0
|
|
2769
2769
|
}), s();
|
|
2770
2770
|
});
|
|
2771
2771
|
}
|
|
2772
|
-
const
|
|
2772
|
+
const nn = (e) => Object.entries(e).map(([n, r]) => {
|
|
2773
2773
|
if (typeof r == "string")
|
|
2774
|
-
return `${
|
|
2775
|
-
}).filter(
|
|
2776
|
-
`),
|
|
2774
|
+
return `${lt(n)}: ${r};`;
|
|
2775
|
+
}).filter(ot), lo = (e) => nn(e).join(`
|
|
2776
|
+
`), nt = ({
|
|
2777
2777
|
mediaQuery: e,
|
|
2778
2778
|
className: t,
|
|
2779
2779
|
styles: n
|
|
2780
2780
|
}) => {
|
|
2781
2781
|
const r = `.${t} {
|
|
2782
|
-
${
|
|
2782
|
+
${lo(n)}
|
|
2783
2783
|
}`;
|
|
2784
2784
|
return e ? `${e} {
|
|
2785
2785
|
${r}
|
|
2786
2786
|
}` : r;
|
|
2787
2787
|
};
|
|
2788
|
-
function
|
|
2788
|
+
function uo({
|
|
2789
2789
|
style: e
|
|
2790
2790
|
}) {
|
|
2791
2791
|
return e;
|
|
2792
2792
|
}
|
|
2793
|
-
const
|
|
2793
|
+
const co = ({
|
|
2794
2794
|
block: e,
|
|
2795
2795
|
context: t
|
|
2796
|
-
}) =>
|
|
2796
|
+
}) => fo(uo({
|
|
2797
2797
|
style: e.style || {},
|
|
2798
2798
|
context: t,
|
|
2799
2799
|
block: e
|
|
2800
2800
|
}));
|
|
2801
|
-
function
|
|
2802
|
-
switch (
|
|
2801
|
+
function fo(e) {
|
|
2802
|
+
switch (Hr) {
|
|
2803
2803
|
case "svelte":
|
|
2804
2804
|
case "vue":
|
|
2805
2805
|
case "solid":
|
|
2806
2806
|
case "angular":
|
|
2807
|
-
return
|
|
2807
|
+
return nn(e).join(" ");
|
|
2808
2808
|
case "qwik":
|
|
2809
2809
|
case "reactNative":
|
|
2810
2810
|
case "react":
|
|
@@ -2812,13 +2812,13 @@ function co(e) {
|
|
|
2812
2812
|
return e;
|
|
2813
2813
|
}
|
|
2814
2814
|
}
|
|
2815
|
-
const
|
|
2815
|
+
const po = ({
|
|
2816
2816
|
block: e,
|
|
2817
2817
|
context: t,
|
|
2818
2818
|
registeredComponents: n
|
|
2819
2819
|
}) => {
|
|
2820
2820
|
var s;
|
|
2821
|
-
const r = (s =
|
|
2821
|
+
const r = (s = it({
|
|
2822
2822
|
block: e,
|
|
2823
2823
|
localState: t.localState,
|
|
2824
2824
|
rootState: t.rootState,
|
|
@@ -2834,7 +2834,7 @@ const fo = ({
|
|
|
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
|
+
}, ho = ({
|
|
2838
2838
|
block: e,
|
|
2839
2839
|
context: t
|
|
2840
2840
|
}) => {
|
|
@@ -2855,28 +2855,36 @@ const fo = ({
|
|
|
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((d, O) => ({
|
|
2859
2859
|
context: {
|
|
2860
2860
|
...t,
|
|
2861
2861
|
localState: {
|
|
2862
2862
|
...t.localState,
|
|
2863
2863
|
$index: O,
|
|
2864
|
-
$item:
|
|
2865
|
-
[a]:
|
|
2864
|
+
$item: d,
|
|
2865
|
+
[a]: d,
|
|
2866
2866
|
[`$${a}Index`]: O
|
|
2867
2867
|
}
|
|
2868
2868
|
},
|
|
2869
2869
|
block: r
|
|
2870
2870
|
}));
|
|
2871
|
-
},
|
|
2871
|
+
}, ut = (e) => ({
|
|
2872
|
+
// once we bump to a major version, toggle this to `false`.
|
|
2873
|
+
builderBlock: !0,
|
|
2874
|
+
// once we bump to a major version, toggle this to `false`.
|
|
2875
|
+
builderContext: !0,
|
|
2876
|
+
builderComponents: !1,
|
|
2877
|
+
builderLinkComponent: !1,
|
|
2878
|
+
...e
|
|
2879
|
+
}), go = (e, t) => e ? ut(e.shouldReceiveBuilderProps).builderLinkComponent ? {
|
|
2872
2880
|
builderLinkComponent: t
|
|
2873
|
-
} : {},
|
|
2881
|
+
} : {} : {}, vo = (e, t) => e ? ut(e.shouldReceiveBuilderProps).builderComponents ? {
|
|
2874
2882
|
builderComponents: t
|
|
2875
|
-
} : {}, yo = (e, t) => e
|
|
2883
|
+
} : {} : {}, yo = (e, t) => e ? ut(e.shouldReceiveBuilderProps).builderBlock ? {
|
|
2876
2884
|
builderBlock: t
|
|
2877
|
-
} : {},
|
|
2885
|
+
} : {} : {}, mo = (e, t) => e ? ut(e.shouldReceiveBuilderProps).builderContext ? {
|
|
2878
2886
|
builderContext: t
|
|
2879
|
-
} : {},
|
|
2887
|
+
} : {} : {}, on = {
|
|
2880
2888
|
small: {
|
|
2881
2889
|
min: 320,
|
|
2882
2890
|
default: 321,
|
|
@@ -2892,11 +2900,11 @@ const fo = ({
|
|
|
2892
2900
|
default: 991,
|
|
2893
2901
|
max: 1200
|
|
2894
2902
|
}
|
|
2895
|
-
}, Wr = (e, t =
|
|
2903
|
+
}, Wr = (e, t = on) => `@media (max-width: ${t[e].max}px)`, wo = ({
|
|
2896
2904
|
small: e,
|
|
2897
2905
|
medium: t
|
|
2898
2906
|
}) => {
|
|
2899
|
-
const n = Xr(
|
|
2907
|
+
const n = Xr(on);
|
|
2900
2908
|
if (!e || !t)
|
|
2901
2909
|
return n;
|
|
2902
2910
|
const r = Math.floor(e / 2);
|
|
@@ -2919,7 +2927,7 @@ const fo = ({
|
|
|
2919
2927
|
default: s + 1
|
|
2920
2928
|
}, n;
|
|
2921
2929
|
};
|
|
2922
|
-
function
|
|
2930
|
+
function xo(e) {
|
|
2923
2931
|
return /* @__PURE__ */ I(
|
|
2924
2932
|
"style",
|
|
2925
2933
|
{
|
|
@@ -2928,9 +2936,9 @@ function So(e) {
|
|
|
2928
2936
|
}
|
|
2929
2937
|
);
|
|
2930
2938
|
}
|
|
2931
|
-
function
|
|
2939
|
+
function So(e) {
|
|
2932
2940
|
function t() {
|
|
2933
|
-
const r =
|
|
2941
|
+
const r = it({
|
|
2934
2942
|
block: e.block,
|
|
2935
2943
|
localState: e.context.localState,
|
|
2936
2944
|
rootState: e.context.rootState,
|
|
@@ -2938,67 +2946,67 @@ function wo(e) {
|
|
|
2938
2946
|
context: e.context.context,
|
|
2939
2947
|
shouldEvaluateBindings: !0
|
|
2940
2948
|
});
|
|
2941
|
-
return
|
|
2949
|
+
return ot(r.hide) ? !r.hide : ot(r.show) ? r.show : !0;
|
|
2942
2950
|
}
|
|
2943
2951
|
function n() {
|
|
2944
2952
|
var $, H, k;
|
|
2945
|
-
const r =
|
|
2953
|
+
const r = it({
|
|
2946
2954
|
block: e.block,
|
|
2947
2955
|
localState: e.context.localState,
|
|
2948
2956
|
rootState: e.context.rootState,
|
|
2949
2957
|
rootSetState: e.context.rootSetState,
|
|
2950
2958
|
context: e.context.context,
|
|
2951
2959
|
shouldEvaluateBindings: !0
|
|
2952
|
-
}), o = r.responsiveStyles, s = e.context.content, a =
|
|
2960
|
+
}), o = r.responsiveStyles, s = e.context.content, a = wo(
|
|
2953
2961
|
(($ = s == null ? void 0 : s.meta) == null ? void 0 : $.breakpoints) || {}
|
|
2954
|
-
), f = o == null ? void 0 : o.large,
|
|
2962
|
+
), f = o == null ? void 0 : o.large, d = o == null ? void 0 : o.medium, O = o == null ? void 0 : o.small, C = r.id;
|
|
2955
2963
|
if (!C)
|
|
2956
2964
|
return "";
|
|
2957
|
-
const
|
|
2965
|
+
const w = f ? nt({
|
|
2958
2966
|
className: C,
|
|
2959
2967
|
styles: f
|
|
2960
|
-
}) : "", T =
|
|
2968
|
+
}) : "", T = d ? nt({
|
|
2961
2969
|
className: C,
|
|
2962
|
-
styles:
|
|
2970
|
+
styles: d,
|
|
2963
2971
|
mediaQuery: Wr(
|
|
2964
2972
|
"medium",
|
|
2965
2973
|
a
|
|
2966
2974
|
)
|
|
2967
|
-
}) : "",
|
|
2975
|
+
}) : "", N = O ? nt({
|
|
2968
2976
|
className: C,
|
|
2969
2977
|
styles: O,
|
|
2970
2978
|
mediaQuery: Wr(
|
|
2971
2979
|
"small",
|
|
2972
2980
|
a
|
|
2973
2981
|
)
|
|
2974
|
-
}) : "",
|
|
2982
|
+
}) : "", R = r.animations && r.animations.find((Q) => Q.trigger === "hover");
|
|
2975
2983
|
let ue = "";
|
|
2976
|
-
if (
|
|
2977
|
-
const Q = ((k = (H =
|
|
2978
|
-
ue =
|
|
2984
|
+
if (R) {
|
|
2985
|
+
const Q = ((k = (H = R.steps) == null ? void 0 : H[1]) == null ? void 0 : k.styles) || {};
|
|
2986
|
+
ue = nt({
|
|
2979
2987
|
className: `${C}:hover`,
|
|
2980
2988
|
styles: {
|
|
2981
2989
|
...Q,
|
|
2982
|
-
transition: `all ${
|
|
2983
|
-
|
|
2990
|
+
transition: `all ${R.duration}s ${lt(
|
|
2991
|
+
R.easing
|
|
2984
2992
|
)}`,
|
|
2985
|
-
transitionDelay:
|
|
2993
|
+
transitionDelay: R.delay ? `${R.delay}s` : "0s"
|
|
2986
2994
|
}
|
|
2987
2995
|
}) || "";
|
|
2988
2996
|
}
|
|
2989
2997
|
return [
|
|
2990
|
-
|
|
2998
|
+
w,
|
|
2991
2999
|
T,
|
|
2992
|
-
|
|
3000
|
+
N,
|
|
2993
3001
|
ue
|
|
2994
3002
|
].join(" ");
|
|
2995
3003
|
}
|
|
2996
|
-
return /* @__PURE__ */ I(Z, { children: n() && t() ? /* @__PURE__ */ I(Z, { children: /* @__PURE__ */ I(
|
|
3004
|
+
return /* @__PURE__ */ I(Z, { children: n() && t() ? /* @__PURE__ */ I(Z, { children: /* @__PURE__ */ I(xo, { id: "builderio-block", styles: n() }) }) : null });
|
|
2997
3005
|
}
|
|
2998
|
-
function
|
|
3006
|
+
function ko(e) {
|
|
2999
3007
|
return e.charAt(0).toUpperCase() + e.slice(1);
|
|
3000
3008
|
}
|
|
3001
|
-
const
|
|
3009
|
+
const Eo = (e) => `on${ko(e)}`, Co = (e, t) => (n) => er({
|
|
3002
3010
|
code: e,
|
|
3003
3011
|
context: t.context,
|
|
3004
3012
|
localState: t.localState,
|
|
@@ -3008,16 +3016,16 @@ const ko = (e) => `on${xo(e)}`, Eo = (e, t) => (n) => er({
|
|
|
3008
3016
|
isExpression: !1,
|
|
3009
3017
|
enableCache: !0
|
|
3010
3018
|
});
|
|
3011
|
-
function
|
|
3019
|
+
function sn(e) {
|
|
3012
3020
|
var r;
|
|
3013
3021
|
const t = {}, n = (r = e.block.actions) != null ? r : {};
|
|
3014
3022
|
for (const o in n) {
|
|
3015
3023
|
if (!n.hasOwnProperty(o))
|
|
3016
3024
|
continue;
|
|
3017
3025
|
const s = n[o];
|
|
3018
|
-
let a =
|
|
3026
|
+
let a = Eo(o);
|
|
3019
3027
|
if (e.stripPrefix)
|
|
3020
|
-
switch (
|
|
3028
|
+
switch (Hr) {
|
|
3021
3029
|
case "vue":
|
|
3022
3030
|
a = a.replace("v-on:", "");
|
|
3023
3031
|
break;
|
|
@@ -3025,16 +3033,16 @@ function on(e) {
|
|
|
3025
3033
|
a = a.replace("on:", "");
|
|
3026
3034
|
break;
|
|
3027
3035
|
}
|
|
3028
|
-
t[a] =
|
|
3036
|
+
t[a] = Co(s, e);
|
|
3029
3037
|
}
|
|
3030
3038
|
return t;
|
|
3031
3039
|
}
|
|
3032
|
-
function
|
|
3040
|
+
function jo({
|
|
3033
3041
|
properties: e
|
|
3034
3042
|
}) {
|
|
3035
3043
|
return e;
|
|
3036
3044
|
}
|
|
3037
|
-
const
|
|
3045
|
+
const Oo = (e) => ({
|
|
3038
3046
|
href: e.href
|
|
3039
3047
|
});
|
|
3040
3048
|
function tr({
|
|
@@ -3043,31 +3051,31 @@ function tr({
|
|
|
3043
3051
|
}) {
|
|
3044
3052
|
var r;
|
|
3045
3053
|
const n = {
|
|
3046
|
-
...
|
|
3054
|
+
...Oo(e),
|
|
3047
3055
|
...e.properties,
|
|
3048
3056
|
"builder-id": e.id,
|
|
3049
|
-
style:
|
|
3057
|
+
style: co({
|
|
3050
3058
|
block: e,
|
|
3051
3059
|
context: t
|
|
3052
3060
|
}),
|
|
3053
|
-
[
|
|
3061
|
+
[bn()]: [e.id, "builder-block", e.class, (r = e.properties) == null ? void 0 : r.class].filter(Boolean).join(" ")
|
|
3054
3062
|
};
|
|
3055
|
-
return
|
|
3063
|
+
return jo({
|
|
3056
3064
|
properties: n,
|
|
3057
3065
|
context: t,
|
|
3058
3066
|
block: e
|
|
3059
3067
|
});
|
|
3060
3068
|
}
|
|
3061
|
-
function
|
|
3069
|
+
function Ao(e) {
|
|
3062
3070
|
return /* @__PURE__ */ I(
|
|
3063
|
-
|
|
3071
|
+
In,
|
|
3064
3072
|
{
|
|
3065
3073
|
TagName: e.Wrapper,
|
|
3066
3074
|
attributes: tr({
|
|
3067
3075
|
block: e.block,
|
|
3068
3076
|
context: e.context
|
|
3069
3077
|
}),
|
|
3070
|
-
actionAttributes:
|
|
3078
|
+
actionAttributes: sn({
|
|
3071
3079
|
block: e.block,
|
|
3072
3080
|
rootState: e.context.rootState,
|
|
3073
3081
|
rootSetState: e.context.rootSetState,
|
|
@@ -3079,14 +3087,14 @@ function Oo(e) {
|
|
|
3079
3087
|
}
|
|
3080
3088
|
);
|
|
3081
3089
|
}
|
|
3082
|
-
function
|
|
3090
|
+
function bo(e) {
|
|
3083
3091
|
function t() {
|
|
3084
3092
|
return e.includeBlockProps ? {
|
|
3085
3093
|
...tr({
|
|
3086
3094
|
block: e.block,
|
|
3087
3095
|
context: e.context
|
|
3088
3096
|
}),
|
|
3089
|
-
...
|
|
3097
|
+
...sn({
|
|
3090
3098
|
block: e.block,
|
|
3091
3099
|
rootState: e.context.rootState,
|
|
3092
3100
|
rootSetState: e.context.rootSetState,
|
|
@@ -3097,7 +3105,7 @@ function Ao(e) {
|
|
|
3097
3105
|
}
|
|
3098
3106
|
return /* @__PURE__ */ I(e.Wrapper, { ...e.wrapperProps, attributes: t(), children: e.children });
|
|
3099
3107
|
}
|
|
3100
|
-
const
|
|
3108
|
+
const Io = ({
|
|
3101
3109
|
componentOptions: e,
|
|
3102
3110
|
builderBlock: t,
|
|
3103
3111
|
context: n,
|
|
@@ -3130,12 +3138,12 @@ const bo = ({
|
|
|
3130
3138
|
function $r(e) {
|
|
3131
3139
|
var r;
|
|
3132
3140
|
const [t, n] = Gr(
|
|
3133
|
-
() => e.isInteractive ?
|
|
3141
|
+
() => e.isInteractive ? bo : e.componentRef
|
|
3134
3142
|
);
|
|
3135
3143
|
return /* @__PURE__ */ I(Z, { children: e.componentRef ? /* @__PURE__ */ I(Z, { children: /* @__PURE__ */ I(
|
|
3136
3144
|
t,
|
|
3137
3145
|
{
|
|
3138
|
-
...
|
|
3146
|
+
...Io({
|
|
3139
3147
|
componentOptions: e.componentOptions,
|
|
3140
3148
|
builderBlock: e.builderBlock,
|
|
3141
3149
|
context: e.context,
|
|
@@ -3158,7 +3166,7 @@ function $r(e) {
|
|
|
3158
3166
|
}
|
|
3159
3167
|
) }) : null });
|
|
3160
3168
|
}
|
|
3161
|
-
function
|
|
3169
|
+
function To(e) {
|
|
3162
3170
|
const [t, n] = Gr(() => e.repeatContext);
|
|
3163
3171
|
return /* @__PURE__ */ I(Vr.Provider, { value: t, children: /* @__PURE__ */ I(
|
|
3164
3172
|
ct,
|
|
@@ -3171,23 +3179,23 @@ function Io(e) {
|
|
|
3171
3179
|
) });
|
|
3172
3180
|
}
|
|
3173
3181
|
function ct(e) {
|
|
3174
|
-
var
|
|
3182
|
+
var d, O, C;
|
|
3175
3183
|
function t() {
|
|
3176
|
-
return
|
|
3184
|
+
return po({
|
|
3177
3185
|
block: e.block,
|
|
3178
3186
|
context: e.context,
|
|
3179
3187
|
registeredComponents: e.registeredComponents
|
|
3180
3188
|
});
|
|
3181
3189
|
}
|
|
3182
3190
|
function n() {
|
|
3183
|
-
return
|
|
3191
|
+
return ho({
|
|
3184
3192
|
block: e.block,
|
|
3185
3193
|
context: e.context
|
|
3186
3194
|
});
|
|
3187
3195
|
}
|
|
3188
3196
|
function r() {
|
|
3189
|
-
var
|
|
3190
|
-
return (
|
|
3197
|
+
var w;
|
|
3198
|
+
return (w = e.block.repeat) != null && w.collection ? e.block : it({
|
|
3191
3199
|
block: e.block,
|
|
3192
3200
|
localState: e.context.localState,
|
|
3193
3201
|
rootState: e.context.rootState,
|
|
@@ -3201,27 +3209,27 @@ function ct(e) {
|
|
|
3201
3209
|
return e.block.tagName === "a" || ((T = r().properties) == null ? void 0 : T.href) || r().href ? e.linkComponent || "a" : e.block.tagName || "div";
|
|
3202
3210
|
}
|
|
3203
3211
|
function s() {
|
|
3204
|
-
var
|
|
3205
|
-
if ((
|
|
3206
|
-
return !!((
|
|
3207
|
-
const
|
|
3208
|
-
return ("show" in r() ? r().show : !0) && !
|
|
3212
|
+
var N, R;
|
|
3213
|
+
if ((N = e.block.repeat) != null && N.collection)
|
|
3214
|
+
return !!((R = n == null ? void 0 : n()) != null && R.length);
|
|
3215
|
+
const w = "hide" in r() ? r().hide : !1;
|
|
3216
|
+
return ("show" in r() ? r().show : !0) && !w;
|
|
3209
3217
|
}
|
|
3210
3218
|
function a() {
|
|
3211
|
-
var T,
|
|
3212
|
-
return !((T = t == null ? void 0 : t()) != null && T.component) && !n() ? (
|
|
3219
|
+
var T, N;
|
|
3220
|
+
return !((T = t == null ? void 0 : t()) != null && T.component) && !n() ? (N = r().children) != null ? N : [] : [];
|
|
3213
3221
|
}
|
|
3214
3222
|
function f() {
|
|
3215
|
-
var
|
|
3223
|
+
var w, T, N, R;
|
|
3216
3224
|
return {
|
|
3217
|
-
blockChildren: (
|
|
3225
|
+
blockChildren: (w = r().children) != null ? w : [],
|
|
3218
3226
|
componentRef: (T = t == null ? void 0 : t()) == null ? void 0 : T.component,
|
|
3219
3227
|
componentOptions: {
|
|
3220
|
-
...
|
|
3228
|
+
...Nn(r()),
|
|
3221
3229
|
...yo(t(), r()),
|
|
3222
|
-
...
|
|
3223
|
-
...
|
|
3224
|
-
...
|
|
3230
|
+
...mo(t(), e.context),
|
|
3231
|
+
...go(t(), e.linkComponent),
|
|
3232
|
+
...vo(
|
|
3225
3233
|
t(),
|
|
3226
3234
|
e.registeredComponents
|
|
3227
3235
|
)
|
|
@@ -3230,21 +3238,21 @@ function ct(e) {
|
|
|
3230
3238
|
linkComponent: e.linkComponent,
|
|
3231
3239
|
registeredComponents: e.registeredComponents,
|
|
3232
3240
|
builderBlock: r(),
|
|
3233
|
-
includeBlockProps: ((
|
|
3234
|
-
isInteractive: !((
|
|
3241
|
+
includeBlockProps: ((N = t == null ? void 0 : t()) == null ? void 0 : N.noWrap) === !0,
|
|
3242
|
+
isInteractive: !((R = t == null ? void 0 : t()) != null && R.isRSC)
|
|
3235
3243
|
};
|
|
3236
3244
|
}
|
|
3237
|
-
return
|
|
3238
|
-
const
|
|
3239
|
-
T &&
|
|
3240
|
-
T.map((
|
|
3241
|
-
...
|
|
3242
|
-
elementId:
|
|
3245
|
+
return On(() => {
|
|
3246
|
+
const w = r().id, T = r().animations;
|
|
3247
|
+
T && w && oo(
|
|
3248
|
+
T.map((N) => ({
|
|
3249
|
+
...N,
|
|
3250
|
+
elementId: w
|
|
3243
3251
|
}))
|
|
3244
3252
|
);
|
|
3245
3253
|
}, []), /* @__PURE__ */ I(Z, { children: s() ? /* @__PURE__ */ Dt(Z, { children: [
|
|
3246
|
-
/* @__PURE__ */ I(
|
|
3247
|
-
(
|
|
3254
|
+
/* @__PURE__ */ I(So, { block: e.block, context: e.context }),
|
|
3255
|
+
(d = t == null ? void 0 : t()) != null && d.noWrap ? /* @__PURE__ */ I(Z, { children: /* @__PURE__ */ I(
|
|
3248
3256
|
$r,
|
|
3249
3257
|
{
|
|
3250
3258
|
componentRef: f().componentRef,
|
|
@@ -3257,17 +3265,17 @@ function ct(e) {
|
|
|
3257
3265
|
includeBlockProps: f().includeBlockProps,
|
|
3258
3266
|
isInteractive: f().isInteractive
|
|
3259
3267
|
}
|
|
3260
|
-
) }) : /* @__PURE__ */ I(Z, { children: n() ? /* @__PURE__ */ I(Z, { children: (C = n()) == null ? void 0 : C.map((
|
|
3261
|
-
|
|
3268
|
+
) }) : /* @__PURE__ */ I(Z, { children: n() ? /* @__PURE__ */ I(Z, { children: (C = n()) == null ? void 0 : C.map((w, T) => /* @__PURE__ */ I(
|
|
3269
|
+
To,
|
|
3262
3270
|
{
|
|
3263
|
-
repeatContext:
|
|
3264
|
-
block:
|
|
3271
|
+
repeatContext: w.context,
|
|
3272
|
+
block: w.block,
|
|
3265
3273
|
registeredComponents: e.registeredComponents,
|
|
3266
3274
|
linkComponent: e.linkComponent
|
|
3267
3275
|
},
|
|
3268
3276
|
T
|
|
3269
3277
|
)) }) : /* @__PURE__ */ Dt(
|
|
3270
|
-
|
|
3278
|
+
Ao,
|
|
3271
3279
|
{
|
|
3272
3280
|
Wrapper: o(),
|
|
3273
3281
|
block: r(),
|
|
@@ -3287,22 +3295,22 @@ function ct(e) {
|
|
|
3287
3295
|
isInteractive: f().isInteractive
|
|
3288
3296
|
}
|
|
3289
3297
|
),
|
|
3290
|
-
(O = a()) == null ? void 0 : O.map((
|
|
3298
|
+
(O = a()) == null ? void 0 : O.map((w) => /* @__PURE__ */ I(
|
|
3291
3299
|
ct,
|
|
3292
3300
|
{
|
|
3293
|
-
block:
|
|
3301
|
+
block: w,
|
|
3294
3302
|
registeredComponents: e.registeredComponents,
|
|
3295
3303
|
linkComponent: e.linkComponent,
|
|
3296
3304
|
context: e.context
|
|
3297
3305
|
},
|
|
3298
|
-
|
|
3306
|
+
w.id
|
|
3299
3307
|
))
|
|
3300
3308
|
]
|
|
3301
3309
|
}
|
|
3302
3310
|
) })
|
|
3303
3311
|
] }) : null });
|
|
3304
3312
|
}
|
|
3305
|
-
function
|
|
3313
|
+
function Po(e) {
|
|
3306
3314
|
function t() {
|
|
3307
3315
|
var o;
|
|
3308
3316
|
return "builder-blocks" + ((o = e.blocks) != null && o.length ? "" : " no-blocks");
|
|
@@ -3355,11 +3363,11 @@ function To(e) {
|
|
|
3355
3363
|
}` })
|
|
3356
3364
|
] });
|
|
3357
3365
|
}
|
|
3358
|
-
function
|
|
3366
|
+
function Ro(e) {
|
|
3359
3367
|
var r, o, s;
|
|
3360
|
-
const t = Br(Vr), n = Br(
|
|
3368
|
+
const t = Br(Vr), n = Br(Rn);
|
|
3361
3369
|
return /* @__PURE__ */ I(
|
|
3362
|
-
|
|
3370
|
+
Po,
|
|
3363
3371
|
{
|
|
3364
3372
|
blocks: e.blocks,
|
|
3365
3373
|
parent: e.parent,
|
|
@@ -3380,19 +3388,19 @@ function No(e) {
|
|
|
3380
3388
|
}
|
|
3381
3389
|
);
|
|
3382
3390
|
}
|
|
3383
|
-
const
|
|
3391
|
+
const _o = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
3384
3392
|
__proto__: null,
|
|
3385
|
-
default:
|
|
3393
|
+
default: Ro
|
|
3386
3394
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
3387
3395
|
export {
|
|
3388
3396
|
ct as Block,
|
|
3389
|
-
|
|
3390
|
-
|
|
3391
|
-
|
|
3392
|
-
|
|
3397
|
+
Ro as Blocks,
|
|
3398
|
+
Rn as ComponentsContext,
|
|
3399
|
+
xo as InlinedStyles,
|
|
3400
|
+
_o as blocks,
|
|
3393
3401
|
er as evaluate,
|
|
3394
|
-
|
|
3395
|
-
|
|
3396
|
-
|
|
3397
|
-
|
|
3402
|
+
wo as getSizesForBreakpoints,
|
|
3403
|
+
fo as mapStyleObjToStrIfNeeded,
|
|
3404
|
+
Kr as set,
|
|
3405
|
+
so as triggerAnimation
|
|
3398
3406
|
};
|