@builder.io/sdk-react-nextjs 0.5.9 → 0.6.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/USE_CLIENT_BUNDLE-29f9ac5c.js +23 -0
- package/lib/browser/USE_CLIENT_BUNDLE-dfa97c43.mjs +664 -0
- package/lib/browser/USE_SERVER_BUNDLE-25e181fa.js +1 -0
- package/lib/browser/USE_SERVER_BUNDLE-fcd44ecb.mjs +11 -0
- package/lib/browser/bundle-5cab6113.js +76 -0
- package/lib/browser/bundle-babbd573.mjs +2419 -0
- package/lib/browser/index.cjs +1 -0
- package/lib/browser/index.mjs +34 -0
- package/lib/edge/USE_CLIENT_BUNDLE-3cbb02d5.mjs +664 -0
- package/lib/edge/USE_CLIENT_BUNDLE-d0b99f60.js +23 -0
- package/lib/edge/USE_SERVER_BUNDLE-4eeb4634.mjs +11 -0
- package/lib/edge/USE_SERVER_BUNDLE-bbd89085.js +1 -0
- package/lib/edge/bundle-9ed99f98.mjs +4863 -0
- package/lib/edge/bundle-e4764e2a.js +96 -0
- package/lib/edge/index.cjs +1 -0
- package/lib/edge/index.mjs +34 -0
- package/lib/node/USE_CLIENT_BUNDLE-29f9ac5c.js +23 -0
- package/lib/node/USE_CLIENT_BUNDLE-dfa97c43.mjs +664 -0
- package/lib/node/USE_SERVER_BUNDLE-25e181fa.js +1 -0
- package/lib/node/USE_SERVER_BUNDLE-fcd44ecb.mjs +11 -0
- package/lib/node/bundle-5cab6113.js +76 -0
- package/lib/node/bundle-babbd573.mjs +2419 -0
- package/lib/node/index.cjs +1 -0
- package/lib/node/index.mjs +34 -0
- package/package.json +96 -13
- package/types/constants/sdk-version.d.ts +1 -0
- package/types/functions/deopt.d.ts +4 -0
- package/types/functions/evaluate/browser-runtime/index.d.ts +1 -0
- package/{dist → types}/functions/fetch-builder-props.d.ts +2 -1
- package/{dist → types}/functions/get-content/index.d.ts +4 -5
- package/{dist → types}/index-helpers/blocks-exports.d.ts +2 -2
- package/dist/blocks/button/button.js +0 -12
- package/dist/blocks/button/component-info.js +0 -34
- package/dist/blocks/columns/columns.js +0 -119
- package/dist/blocks/columns/component-info.js +0 -219
- package/dist/blocks/custom-code/component-info.js +0 -23
- package/dist/blocks/custom-code/custom-code.js +0 -51
- package/dist/blocks/embed/component-info.js +0 -39
- package/dist/blocks/embed/embed.js +0 -42
- package/dist/blocks/embed/helpers.js +0 -2
- package/dist/blocks/fragment/component-info.js +0 -7
- package/dist/blocks/fragment/fragment.js +0 -6
- package/dist/blocks/helpers.js +0 -40
- package/dist/blocks/image/component-info.js +0 -122
- package/dist/blocks/image/image.helpers.js +0 -47
- package/dist/blocks/image/image.js +0 -82
- package/dist/blocks/img/component-info.js +0 -15
- package/dist/blocks/img/img.js +0 -10
- package/dist/blocks/section/component-info.js +0 -40
- package/dist/blocks/section/section.js +0 -17
- package/dist/blocks/symbol/component-info.js +0 -34
- package/dist/blocks/symbol/symbol.helpers.js +0 -31
- package/dist/blocks/symbol/symbol.js +0 -29
- package/dist/blocks/text/component-info.js +0 -19
- package/dist/blocks/text/text.js +0 -7
- package/dist/blocks/video/component-info.js +0 -82
- package/dist/blocks/video/video.js +0 -50
- package/dist/components/block/block.helpers.js +0 -69
- package/dist/components/block/block.js +0 -92
- package/dist/components/block/components/block-styles.js +0 -65
- package/dist/components/block/components/block-wrapper.js +0 -36
- package/dist/components/block/components/component-ref/component-ref.helpers.js +0 -22
- package/dist/components/block/components/component-ref/component-ref.js +0 -21
- package/dist/components/block/components/interactive-element.js +0 -20
- package/dist/components/block/components/repeated-block.js +0 -7
- package/dist/components/block/types.js +0 -1
- package/dist/components/blocks/blocks-wrapper.js +0 -38
- package/dist/components/blocks/blocks.js +0 -10
- package/dist/components/content/components/enable-editor.js +0 -250
- package/dist/components/content/components/styles.helpers.js +0 -58
- package/dist/components/content/components/styles.js +0 -30
- package/dist/components/content/content.helpers.js +0 -30
- package/dist/components/content/content.js +0 -74
- package/dist/components/content/content.types.js +0 -1
- package/dist/components/content/wrap-component-ref.js +0 -6
- package/dist/components/content-variants/content-variants.js +0 -45
- package/dist/components/content-variants/content-variants.types.js +0 -1
- package/dist/components/content-variants/helpers.js +0 -189
- package/dist/components/inlined-script.js +0 -5
- package/dist/components/inlined-styles.js +0 -5
- package/dist/constants/builder-registered-components.js +0 -60
- package/dist/constants/device-sizes.js +0 -45
- package/dist/constants/sdk-version.d.ts +0 -1
- package/dist/constants/sdk-version.js +0 -1
- package/dist/constants/target.js +0 -2
- package/dist/context/builder.context.js +0 -12
- package/dist/context/components.context.js +0 -2
- package/dist/context/types.js +0 -1
- package/dist/functions/camel-to-kebab-case.js +0 -1
- package/dist/functions/evaluate/browser-runtime/browser.js +0 -31
- package/dist/functions/evaluate/evaluate.js +0 -47
- package/dist/functions/evaluate/helpers.js +0 -10
- package/dist/functions/evaluate/index.js +0 -1
- package/dist/functions/evaluate/non-node-runtime/acorn-interpreter.d.ts +0 -2
- package/dist/functions/evaluate/non-node-runtime/acorn-interpreter.js +0 -3111
- package/dist/functions/evaluate/non-node-runtime/index.d.ts +0 -1
- package/dist/functions/evaluate/non-node-runtime/index.js +0 -2
- package/dist/functions/evaluate/non-node-runtime/non-node-runtime.d.ts +0 -2
- package/dist/functions/evaluate/non-node-runtime/non-node-runtime.js +0 -83
- package/dist/functions/event-handler-name.js +0 -4
- package/dist/functions/extract-text-styles.js +0 -22
- package/dist/functions/fast-clone.js +0 -4
- package/dist/functions/fetch-builder-props.js +0 -25
- package/dist/functions/get-block-actions-handler.js +0 -10
- package/dist/functions/get-block-actions.js +0 -28
- package/dist/functions/get-block-component-options.js +0 -10
- package/dist/functions/get-block-properties.js +0 -72
- package/dist/functions/get-builder-search-params/index.js +0 -38
- package/dist/functions/get-content/generate-content-url.js +0 -33
- package/dist/functions/get-content/index.js +0 -100
- package/dist/functions/get-content/types.js +0 -1
- package/dist/functions/get-fetch.js +0 -11
- package/dist/functions/get-global-this.js +0 -15
- package/dist/functions/get-processed-block.js +0 -46
- package/dist/functions/get-react-native-block-styles.js +0 -17
- package/dist/functions/is-browser.js +0 -3
- package/dist/functions/is-editing.js +0 -5
- package/dist/functions/is-iframe.js +0 -4
- package/dist/functions/is-non-node-server.d.ts +0 -4
- package/dist/functions/is-non-node-server.js +0 -8
- package/dist/functions/is-previewing.js +0 -11
- package/dist/functions/register-component.js +0 -38
- package/dist/functions/register.js +0 -27
- package/dist/functions/sanitize-react-native-block-styles.js +0 -61
- package/dist/functions/set-editor-settings.js +0 -12
- package/dist/functions/set.js +0 -14
- package/dist/functions/track/helpers.js +0 -51
- package/dist/functions/track/index.js +0 -71
- package/dist/functions/track/interaction.js +0 -53
- package/dist/functions/transform-block-properties.js +0 -5
- package/dist/functions/transform-block.js +0 -4
- package/dist/helpers/ab-tests.js +0 -122
- package/dist/helpers/canTrack.js +0 -2
- package/dist/helpers/cookie.js +0 -55
- package/dist/helpers/css.js +0 -27
- package/dist/helpers/flatten.js +0 -19
- package/dist/helpers/localStorage.js +0 -24
- package/dist/helpers/logger.js +0 -7
- package/dist/helpers/nullable.js +0 -1
- package/dist/helpers/preview-lru-cache/get.js +0 -9
- package/dist/helpers/preview-lru-cache/helpers.js +0 -9
- package/dist/helpers/preview-lru-cache/init.js +0 -15
- package/dist/helpers/preview-lru-cache/set.js +0 -7
- package/dist/helpers/preview-lru-cache/types.js +0 -6
- package/dist/helpers/sessionId.js +0 -30
- package/dist/helpers/url.js +0 -15
- package/dist/helpers/uuid.js +0 -15
- package/dist/helpers/visitorId.js +0 -30
- package/dist/index-helpers/blocks-exports.js +0 -19
- package/dist/index-helpers/top-of-file.js +0 -4
- package/dist/index.js +0 -7
- package/dist/scripts/init-editing.js +0 -110
- package/dist/server-index.js +0 -10
- package/dist/types/api-version.js +0 -1
- package/dist/types/builder-block.js +0 -1
- package/dist/types/builder-content.js +0 -1
- package/dist/types/builder-props.js +0 -1
- package/dist/types/can-track.js +0 -1
- package/dist/types/components.js +0 -1
- package/dist/types/deep-partial.js +0 -1
- package/dist/types/element.js +0 -1
- package/dist/types/enforced-partials.js +0 -1
- package/dist/types/input.js +0 -1
- package/dist/types/targets.js +0 -1
- package/dist/types/typescript.js +0 -1
- /package/{dist → types}/blocks/button/button.d.ts +0 -0
- /package/{dist → types}/blocks/button/component-info.d.ts +0 -0
- /package/{dist → types}/blocks/columns/columns.d.ts +0 -0
- /package/{dist → types}/blocks/columns/component-info.d.ts +0 -0
- /package/{dist → types}/blocks/custom-code/component-info.d.ts +0 -0
- /package/{dist → types}/blocks/custom-code/custom-code.d.ts +0 -0
- /package/{dist → types}/blocks/embed/component-info.d.ts +0 -0
- /package/{dist → types}/blocks/embed/embed.d.ts +0 -0
- /package/{dist → types}/blocks/embed/helpers.d.ts +0 -0
- /package/{dist → types}/blocks/fragment/component-info.d.ts +0 -0
- /package/{dist → types}/blocks/fragment/fragment.d.ts +0 -0
- /package/{dist → types}/blocks/helpers.d.ts +0 -0
- /package/{dist → types}/blocks/image/component-info.d.ts +0 -0
- /package/{dist → types}/blocks/image/image.d.ts +0 -0
- /package/{dist → types}/blocks/image/image.helpers.d.ts +0 -0
- /package/{dist → types}/blocks/img/component-info.d.ts +0 -0
- /package/{dist → types}/blocks/img/img.d.ts +0 -0
- /package/{dist → types}/blocks/section/component-info.d.ts +0 -0
- /package/{dist → types}/blocks/section/section.d.ts +0 -0
- /package/{dist → types}/blocks/symbol/component-info.d.ts +0 -0
- /package/{dist → types}/blocks/symbol/symbol.d.ts +0 -0
- /package/{dist → types}/blocks/symbol/symbol.helpers.d.ts +0 -0
- /package/{dist → types}/blocks/text/component-info.d.ts +0 -0
- /package/{dist → types}/blocks/text/text.d.ts +0 -0
- /package/{dist → types}/blocks/video/component-info.d.ts +0 -0
- /package/{dist → types}/blocks/video/video.d.ts +0 -0
- /package/{dist → types}/components/block/block.d.ts +0 -0
- /package/{dist → types}/components/block/block.helpers.d.ts +0 -0
- /package/{dist → types}/components/block/components/block-styles.d.ts +0 -0
- /package/{dist → types}/components/block/components/block-wrapper.d.ts +0 -0
- /package/{dist → types}/components/block/components/component-ref/component-ref.d.ts +0 -0
- /package/{dist → types}/components/block/components/component-ref/component-ref.helpers.d.ts +0 -0
- /package/{dist → types}/components/block/components/interactive-element.d.ts +0 -0
- /package/{dist → types}/components/block/components/repeated-block.d.ts +0 -0
- /package/{dist → types}/components/block/types.d.ts +0 -0
- /package/{dist → types}/components/blocks/blocks-wrapper.d.ts +0 -0
- /package/{dist → types}/components/blocks/blocks.d.ts +0 -0
- /package/{dist → types}/components/content/components/enable-editor.d.ts +0 -0
- /package/{dist → types}/components/content/components/styles.d.ts +0 -0
- /package/{dist → types}/components/content/components/styles.helpers.d.ts +0 -0
- /package/{dist → types}/components/content/content.d.ts +0 -0
- /package/{dist → types}/components/content/content.helpers.d.ts +0 -0
- /package/{dist → types}/components/content/content.types.d.ts +0 -0
- /package/{dist → types}/components/content/wrap-component-ref.d.ts +0 -0
- /package/{dist → types}/components/content-variants/content-variants.d.ts +0 -0
- /package/{dist → types}/components/content-variants/content-variants.types.d.ts +0 -0
- /package/{dist → types}/components/content-variants/helpers.d.ts +0 -0
- /package/{dist → types}/components/inlined-script.d.ts +0 -0
- /package/{dist → types}/components/inlined-styles.d.ts +0 -0
- /package/{dist → types}/constants/builder-registered-components.d.ts +0 -0
- /package/{dist → types}/constants/device-sizes.d.ts +0 -0
- /package/{dist → types}/constants/target.d.ts +0 -0
- /package/{dist → types}/context/builder.context.d.ts +0 -0
- /package/{dist → types}/context/components.context.d.ts +0 -0
- /package/{dist → types}/context/types.d.ts +0 -0
- /package/{dist → types}/functions/camel-to-kebab-case.d.ts +0 -0
- /package/{dist → types}/functions/evaluate/browser-runtime/browser.d.ts +0 -0
- /package/{dist → types}/functions/evaluate/evaluate.d.ts +0 -0
- /package/{dist → types}/functions/evaluate/helpers.d.ts +0 -0
- /package/{dist → types}/functions/evaluate/index.d.ts +0 -0
- /package/{dist → types}/functions/event-handler-name.d.ts +0 -0
- /package/{dist → types}/functions/extract-text-styles.d.ts +0 -0
- /package/{dist → types}/functions/fast-clone.d.ts +0 -0
- /package/{dist → types}/functions/get-block-actions-handler.d.ts +0 -0
- /package/{dist → types}/functions/get-block-actions.d.ts +0 -0
- /package/{dist → types}/functions/get-block-component-options.d.ts +0 -0
- /package/{dist → types}/functions/get-block-properties.d.ts +0 -0
- /package/{dist → types}/functions/get-builder-search-params/index.d.ts +0 -0
- /package/{dist → types}/functions/get-content/generate-content-url.d.ts +0 -0
- /package/{dist → types}/functions/get-content/types.d.ts +0 -0
- /package/{dist → types}/functions/get-fetch.d.ts +0 -0
- /package/{dist → types}/functions/get-global-this.d.ts +0 -0
- /package/{dist → types}/functions/get-processed-block.d.ts +0 -0
- /package/{dist → types}/functions/get-react-native-block-styles.d.ts +0 -0
- /package/{dist → types}/functions/is-browser.d.ts +0 -0
- /package/{dist → types}/functions/is-editing.d.ts +0 -0
- /package/{dist → types}/functions/is-iframe.d.ts +0 -0
- /package/{dist → types}/functions/is-previewing.d.ts +0 -0
- /package/{dist → types}/functions/register-component.d.ts +0 -0
- /package/{dist → types}/functions/register.d.ts +0 -0
- /package/{dist → types}/functions/sanitize-react-native-block-styles.d.ts +0 -0
- /package/{dist → types}/functions/set-editor-settings.d.ts +0 -0
- /package/{dist → types}/functions/set.d.ts +0 -0
- /package/{dist → types}/functions/track/helpers.d.ts +0 -0
- /package/{dist → types}/functions/track/index.d.ts +0 -0
- /package/{dist → types}/functions/track/interaction.d.ts +0 -0
- /package/{dist → types}/functions/transform-block-properties.d.ts +0 -0
- /package/{dist → types}/functions/transform-block.d.ts +0 -0
- /package/{dist → types}/helpers/ab-tests.d.ts +0 -0
- /package/{dist → types}/helpers/canTrack.d.ts +0 -0
- /package/{dist → types}/helpers/cookie.d.ts +0 -0
- /package/{dist → types}/helpers/css.d.ts +0 -0
- /package/{dist → types}/helpers/flatten.d.ts +0 -0
- /package/{dist → types}/helpers/localStorage.d.ts +0 -0
- /package/{dist → types}/helpers/logger.d.ts +0 -0
- /package/{dist → types}/helpers/nullable.d.ts +0 -0
- /package/{dist → types}/helpers/preview-lru-cache/get.d.ts +0 -0
- /package/{dist → types}/helpers/preview-lru-cache/helpers.d.ts +0 -0
- /package/{dist → types}/helpers/preview-lru-cache/init.d.ts +0 -0
- /package/{dist → types}/helpers/preview-lru-cache/set.d.ts +0 -0
- /package/{dist → types}/helpers/preview-lru-cache/types.d.ts +0 -0
- /package/{dist → types}/helpers/sessionId.d.ts +0 -0
- /package/{dist → types}/helpers/url.d.ts +0 -0
- /package/{dist → types}/helpers/uuid.d.ts +0 -0
- /package/{dist → types}/helpers/visitorId.d.ts +0 -0
- /package/{dist → types}/index-helpers/top-of-file.d.ts +0 -0
- /package/{dist → types}/index.d.ts +0 -0
- /package/{dist → types}/scripts/init-editing.d.ts +0 -0
- /package/{dist → types}/server-index.d.ts +0 -0
- /package/{dist → types}/types/api-version.d.ts +0 -0
- /package/{dist → types}/types/builder-block.d.ts +0 -0
- /package/{dist → types}/types/builder-content.d.ts +0 -0
- /package/{dist → types}/types/builder-props.d.ts +0 -0
- /package/{dist → types}/types/can-track.d.ts +0 -0
- /package/{dist → types}/types/components.d.ts +0 -0
- /package/{dist → types}/types/deep-partial.d.ts +0 -0
- /package/{dist → types}/types/element.d.ts +0 -0
- /package/{dist → types}/types/enforced-partials.d.ts +0 -0
- /package/{dist → types}/types/input.d.ts +0 -0
- /package/{dist → types}/types/targets.d.ts +0 -0
- /package/{dist → types}/types/typescript.d.ts +0 -0
|
@@ -1,3111 +0,0 @@
|
|
|
1
|
-
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
2
|
-
// @ts-nocheck
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
/*
|
|
5
|
-
|
|
6
|
-
Copyright 2012 Marijn Haverbeke
|
|
7
|
-
SPDX-License-Identifier: MIT
|
|
8
|
-
*/
|
|
9
|
-
var p;
|
|
10
|
-
var ca = function (a) {
|
|
11
|
-
function b(f) {
|
|
12
|
-
return 48 > f ? 36 === f : 58 > f ? !0 : 65 > f ? !1 : 91 > f ? !0 : 97 > f ? 95 === f : 123 > f ? !0 : 170 <= f && Jc.test(String.fromCharCode(f));
|
|
13
|
-
}
|
|
14
|
-
function d(f) {
|
|
15
|
-
return 65 > f ? 36 === f : 91 > f ? !0 : 97 > f ? 95 === f : 123 > f ? !0 : 170 <= f && Pb.test(String.fromCharCode(f));
|
|
16
|
-
}
|
|
17
|
-
function c(f, g) {
|
|
18
|
-
var l = r;
|
|
19
|
-
for (var n = 1, w = 0;;) {
|
|
20
|
-
Sa.lastIndex = w;
|
|
21
|
-
var J = Sa.exec(l);
|
|
22
|
-
if (J && J.index < f)
|
|
23
|
-
++n, w = J.index + J[0].length;
|
|
24
|
-
else
|
|
25
|
-
break;
|
|
26
|
-
}
|
|
27
|
-
l = {
|
|
28
|
-
line: n,
|
|
29
|
-
ab: f - w
|
|
30
|
-
};
|
|
31
|
-
g += " (" + l.line + ":" + l.ab + ")";
|
|
32
|
-
g = new SyntaxError(g);
|
|
33
|
-
g.j = f;
|
|
34
|
-
g.X = l;
|
|
35
|
-
g.o = m;
|
|
36
|
-
throw g;
|
|
37
|
-
}
|
|
38
|
-
function e(f) {
|
|
39
|
-
f = f.split(" ");
|
|
40
|
-
for (var g = Object.create(null), l = 0; l < f.length; l++)
|
|
41
|
-
g[f[l]] = !0;
|
|
42
|
-
return function (n) {
|
|
43
|
-
return g[n] || !1;
|
|
44
|
-
};
|
|
45
|
-
}
|
|
46
|
-
function h() {
|
|
47
|
-
this.line = la;
|
|
48
|
-
this.ab = m - X;
|
|
49
|
-
}
|
|
50
|
-
function k(f, g) {
|
|
51
|
-
oa = m;
|
|
52
|
-
z.C && (cb = new h());
|
|
53
|
-
x = f;
|
|
54
|
-
C();
|
|
55
|
-
T = g;
|
|
56
|
-
ya = f.m;
|
|
57
|
-
}
|
|
58
|
-
function q() {
|
|
59
|
-
for (var f = m, g = z.va && z.C && new h(), l = r.charCodeAt(m += 2); m < pa && 10 !== l && 13 !== l && 8232 !== l && 8233 !== l;)
|
|
60
|
-
++m, l = r.charCodeAt(m);
|
|
61
|
-
z.va && z.va(!1, r.slice(f + 2, m), f, m, g, z.C && new h());
|
|
62
|
-
}
|
|
63
|
-
function C() {
|
|
64
|
-
for (; m < pa;) {
|
|
65
|
-
var f = r.charCodeAt(m);
|
|
66
|
-
if (32 === f)
|
|
67
|
-
++m;
|
|
68
|
-
else if (13 === f)
|
|
69
|
-
++m, f = r.charCodeAt(m), 10 === f && ++m, z.C && (++la, X = m);
|
|
70
|
-
else if (10 === f || 8232 === f || 8233 === f)
|
|
71
|
-
++m, z.C && (++la, X = m);
|
|
72
|
-
else if (8 < f && 14 > f)
|
|
73
|
-
++m;
|
|
74
|
-
else if (47 === f) {
|
|
75
|
-
if (f = r.charCodeAt(m + 1), 42 === f) {
|
|
76
|
-
f = void 0;
|
|
77
|
-
var g = z.va && z.C && new h(), l = m, n = r.indexOf("*/", m += 2);
|
|
78
|
-
-1 === n && c(m - 2, "Unterminated comment");
|
|
79
|
-
m = n + 2;
|
|
80
|
-
if (z.C)
|
|
81
|
-
for (Sa.lastIndex = l; (f = Sa.exec(r)) && f.index < m;)
|
|
82
|
-
++la, X = f.index + f[0].length;
|
|
83
|
-
z.va && z.va(!0, r.slice(l + 2, n), l, m, g, z.C && new h());
|
|
84
|
-
}
|
|
85
|
-
else if (47 === f)
|
|
86
|
-
q();
|
|
87
|
-
else
|
|
88
|
-
break;
|
|
89
|
-
}
|
|
90
|
-
else if (160 === f)
|
|
91
|
-
++m;
|
|
92
|
-
else if (5760 <= f && Kc.test(String.fromCharCode(f)))
|
|
93
|
-
++m;
|
|
94
|
-
else
|
|
95
|
-
break;
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
function U(f) {
|
|
99
|
-
switch (f) {
|
|
100
|
-
case 46:
|
|
101
|
-
f = r.charCodeAt(m + 1);
|
|
102
|
-
48 <= f && 57 >= f ? Qb(!0) : (++m, k(Rb));
|
|
103
|
-
return;
|
|
104
|
-
case 40:
|
|
105
|
-
return ++m, k(Y);
|
|
106
|
-
case 41:
|
|
107
|
-
return ++m, k(W);
|
|
108
|
-
case 59:
|
|
109
|
-
return ++m, k(Z);
|
|
110
|
-
case 44:
|
|
111
|
-
return ++m, k(ha);
|
|
112
|
-
case 91:
|
|
113
|
-
return ++m, k(db);
|
|
114
|
-
case 93:
|
|
115
|
-
return ++m, k(eb);
|
|
116
|
-
case 123:
|
|
117
|
-
return ++m, k(za);
|
|
118
|
-
case 125:
|
|
119
|
-
return ++m, k(qa);
|
|
120
|
-
case 58:
|
|
121
|
-
return ++m, k(Aa);
|
|
122
|
-
case 63:
|
|
123
|
-
return ++m, k(Sb);
|
|
124
|
-
case 48:
|
|
125
|
-
if (f = r.charCodeAt(m + 1), 120 === f || 88 === f) {
|
|
126
|
-
m += 2;
|
|
127
|
-
f = Ba(16);
|
|
128
|
-
null === f && c(I + 2, "Expected hexadecimal number");
|
|
129
|
-
d(r.charCodeAt(m)) && c(m, "Identifier directly after number");
|
|
130
|
-
k(Ca, f);
|
|
131
|
-
return;
|
|
132
|
-
}
|
|
133
|
-
case 49:
|
|
134
|
-
case 50:
|
|
135
|
-
case 51:
|
|
136
|
-
case 52:
|
|
137
|
-
case 53:
|
|
138
|
-
case 54:
|
|
139
|
-
case 55:
|
|
140
|
-
case 56:
|
|
141
|
-
case 57:
|
|
142
|
-
return Qb(!1);
|
|
143
|
-
case 34:
|
|
144
|
-
case 39:
|
|
145
|
-
m++;
|
|
146
|
-
for (var g = "";;) {
|
|
147
|
-
m >= pa && c(I, "Unterminated string constant");
|
|
148
|
-
var l = r.charCodeAt(m);
|
|
149
|
-
if (l === f) {
|
|
150
|
-
++m;
|
|
151
|
-
k(Ta, g);
|
|
152
|
-
break;
|
|
153
|
-
}
|
|
154
|
-
if (92 === l) {
|
|
155
|
-
l = r.charCodeAt(++m);
|
|
156
|
-
var n = /^[0-7]+/.exec(r.slice(m, m + 3));
|
|
157
|
-
for (n && (n = n[0]); n && 255 < parseInt(n, 8);)
|
|
158
|
-
n = n.slice(0, -1);
|
|
159
|
-
"0" === n && (n = null);
|
|
160
|
-
++m;
|
|
161
|
-
if (n)
|
|
162
|
-
S && c(m - 2, "Octal literal in strict mode"), g += String.fromCharCode(parseInt(n, 8)), m += n.length - 1;
|
|
163
|
-
else
|
|
164
|
-
switch (l) {
|
|
165
|
-
case 110:
|
|
166
|
-
g += "\n";
|
|
167
|
-
break;
|
|
168
|
-
case 114:
|
|
169
|
-
g += "\r";
|
|
170
|
-
break;
|
|
171
|
-
case 120:
|
|
172
|
-
g += String.fromCharCode(Ua(2));
|
|
173
|
-
break;
|
|
174
|
-
case 117:
|
|
175
|
-
g += String.fromCharCode(Ua(4));
|
|
176
|
-
break;
|
|
177
|
-
case 85:
|
|
178
|
-
g += String.fromCharCode(Ua(8));
|
|
179
|
-
break;
|
|
180
|
-
case 116:
|
|
181
|
-
g += "\t";
|
|
182
|
-
break;
|
|
183
|
-
case 98:
|
|
184
|
-
g += "\b";
|
|
185
|
-
break;
|
|
186
|
-
case 118:
|
|
187
|
-
g += "\v";
|
|
188
|
-
break;
|
|
189
|
-
case 102:
|
|
190
|
-
g += "\f";
|
|
191
|
-
break;
|
|
192
|
-
case 48:
|
|
193
|
-
g += "\x00";
|
|
194
|
-
break;
|
|
195
|
-
case 13:
|
|
196
|
-
10 === r.charCodeAt(m) && ++m;
|
|
197
|
-
case 10:
|
|
198
|
-
z.C && (X = m, ++la);
|
|
199
|
-
break;
|
|
200
|
-
default:
|
|
201
|
-
g += String.fromCharCode(l);
|
|
202
|
-
}
|
|
203
|
-
}
|
|
204
|
-
else
|
|
205
|
-
13 !== l && 10 !== l && 8232 !== l && 8233 !== l || c(I, "Unterminated string constant"), g += String.fromCharCode(l), ++m;
|
|
206
|
-
}
|
|
207
|
-
return;
|
|
208
|
-
case 47:
|
|
209
|
-
f = r.charCodeAt(m + 1);
|
|
210
|
-
ya ? (++m, Tb()) : 61 === f ? F(ma, 2) : F(Ub, 1);
|
|
211
|
-
return;
|
|
212
|
-
case 37:
|
|
213
|
-
case 42:
|
|
214
|
-
61 === r.charCodeAt(m + 1) ? F(ma, 2) : F(Lc, 1);
|
|
215
|
-
return;
|
|
216
|
-
case 124:
|
|
217
|
-
case 38:
|
|
218
|
-
g = r.charCodeAt(m + 1);
|
|
219
|
-
g === f ? F(124 === f ? Vb : Wb, 2) : 61 === g ? F(ma, 2) : F(124 === f ? Mc : Nc, 1);
|
|
220
|
-
return;
|
|
221
|
-
case 94:
|
|
222
|
-
61 === r.charCodeAt(m + 1) ? F(ma, 2) : F(Oc, 1);
|
|
223
|
-
return;
|
|
224
|
-
case 43:
|
|
225
|
-
case 45:
|
|
226
|
-
g = r.charCodeAt(m + 1);
|
|
227
|
-
g === f ? 45 === g && 62 === r.charCodeAt(m + 2) && Va.test(r.slice(ia, m)) ? (m += 3, q(), C(), N()) : F(Pc, 2) : 61 === g ? F(ma, 2) : F(Qc, 1);
|
|
228
|
-
return;
|
|
229
|
-
case 60:
|
|
230
|
-
case 62:
|
|
231
|
-
g = r.charCodeAt(m + 1);
|
|
232
|
-
l = 1;
|
|
233
|
-
g === f ? (l = 62 === f && 62 === r.charCodeAt(m + 2) ? 3 : 2, 61 === r.charCodeAt(m + l) ? F(ma, l + 1) : F(Rc, l)) : 33 === g && 60 === f && 45 === r.charCodeAt(m + 2) && 45 === r.charCodeAt(m + 3) ? (m += 4, q(), C(), N()) : (61 === g && (l = 61 === r.charCodeAt(m + 2) ? 3 : 2), F(Sc, l));
|
|
234
|
-
return;
|
|
235
|
-
case 61:
|
|
236
|
-
case 33:
|
|
237
|
-
61 === r.charCodeAt(m + 1) ? F(Tc, 61 === r.charCodeAt(m + 2) ? 3 : 2) : F(61 === f ? Xb : Yb, 1);
|
|
238
|
-
return;
|
|
239
|
-
case 126:
|
|
240
|
-
return F(Yb, 1);
|
|
241
|
-
}
|
|
242
|
-
return !1;
|
|
243
|
-
}
|
|
244
|
-
function N(f) {
|
|
245
|
-
f ? m = I + 1 : I = m;
|
|
246
|
-
z.C && (fb = new h());
|
|
247
|
-
if (f)
|
|
248
|
-
return Tb();
|
|
249
|
-
if (m >= pa)
|
|
250
|
-
return k(gb);
|
|
251
|
-
f = r.charCodeAt(m);
|
|
252
|
-
if (d(f) || 92 === f)
|
|
253
|
-
return Zb();
|
|
254
|
-
if (!1 === U(f)) {
|
|
255
|
-
f = String.fromCharCode(f);
|
|
256
|
-
if ("\\" === f || Pb.test(f))
|
|
257
|
-
return Zb();
|
|
258
|
-
c(m, "Unexpected character '" + f + "'");
|
|
259
|
-
}
|
|
260
|
-
}
|
|
261
|
-
function F(f, g) {
|
|
262
|
-
var l = r.slice(m, m + g);
|
|
263
|
-
m += g;
|
|
264
|
-
k(f, l);
|
|
265
|
-
}
|
|
266
|
-
function Tb() {
|
|
267
|
-
for (var f, g, l = m;;) {
|
|
268
|
-
m >= pa && c(l, "Unterminated regexp");
|
|
269
|
-
var n = r.charAt(m);
|
|
270
|
-
Va.test(n) && c(l, "Unterminated regexp");
|
|
271
|
-
if (f)
|
|
272
|
-
f = !1;
|
|
273
|
-
else {
|
|
274
|
-
if ("[" === n)
|
|
275
|
-
g = !0;
|
|
276
|
-
else if ("]" === n && g)
|
|
277
|
-
g = !1;
|
|
278
|
-
else if ("/" === n && !g)
|
|
279
|
-
break;
|
|
280
|
-
f = "\\" === n;
|
|
281
|
-
}
|
|
282
|
-
++m;
|
|
283
|
-
}
|
|
284
|
-
f = r.slice(l, m);
|
|
285
|
-
++m;
|
|
286
|
-
(g = $b()) && !/^[gmi]*$/.test(g) && c(l, "Invalid regexp flag");
|
|
287
|
-
try {
|
|
288
|
-
var w = new RegExp(f, g);
|
|
289
|
-
}
|
|
290
|
-
catch (J) {
|
|
291
|
-
throw J instanceof SyntaxError && c(l, J.message), J;
|
|
292
|
-
}
|
|
293
|
-
k(ac, w);
|
|
294
|
-
}
|
|
295
|
-
function Ba(f, g) {
|
|
296
|
-
for (var l = m, n = 0, w = void 0 === g ? Infinity : g, J = 0; J < w; ++J) {
|
|
297
|
-
var P = r.charCodeAt(m);
|
|
298
|
-
P = 97 <= P ? P - 97 + 10 : 65 <= P ? P - 65 + 10 : 48 <= P && 57 >= P ? P - 48 : Infinity;
|
|
299
|
-
if (P >= f)
|
|
300
|
-
break;
|
|
301
|
-
++m;
|
|
302
|
-
n = n * f + P;
|
|
303
|
-
}
|
|
304
|
-
return m === l || void 0 !== g && m - l !== g ? null : n;
|
|
305
|
-
}
|
|
306
|
-
function Qb(f) {
|
|
307
|
-
var g = m, l = !1, n = 48 === r.charCodeAt(m);
|
|
308
|
-
f || null !== Ba(10) || c(g, "Invalid number");
|
|
309
|
-
46 === r.charCodeAt(m) && (++m, Ba(10), l = !0);
|
|
310
|
-
f = r.charCodeAt(m);
|
|
311
|
-
if (69 === f || 101 === f)
|
|
312
|
-
f = r.charCodeAt(++m), 43 !== f && 45 !== f || ++m, null === Ba(10) && c(g, "Invalid number"), l = !0;
|
|
313
|
-
d(r.charCodeAt(m)) && c(m, "Identifier directly after number");
|
|
314
|
-
f = r.slice(g, m);
|
|
315
|
-
var w;
|
|
316
|
-
l ? w = parseFloat(f) : n && 1 !== f.length ? /[89]/.test(f) || S ? c(g, "Invalid number") : w = parseInt(f, 8) : w = parseInt(f, 10);
|
|
317
|
-
k(Ca, w);
|
|
318
|
-
}
|
|
319
|
-
function Ua(f) {
|
|
320
|
-
f = Ba(16, f);
|
|
321
|
-
null === f && c(I, "Bad character escape sequence");
|
|
322
|
-
return f;
|
|
323
|
-
}
|
|
324
|
-
function $b() {
|
|
325
|
-
ra = !1;
|
|
326
|
-
for (var f, g = !0, l = m;;) {
|
|
327
|
-
var n = r.charCodeAt(m);
|
|
328
|
-
if (b(n))
|
|
329
|
-
ra && (f += r.charAt(m)), ++m;
|
|
330
|
-
else if (92 === n) {
|
|
331
|
-
ra || (f = r.slice(l, m));
|
|
332
|
-
ra = !0;
|
|
333
|
-
117 !== r.charCodeAt(++m) && c(m, "Expecting Unicode escape sequence \\uXXXX");
|
|
334
|
-
++m;
|
|
335
|
-
n = Ua(4);
|
|
336
|
-
var w = String.fromCharCode(n);
|
|
337
|
-
w || c(m - 1, "Invalid Unicode escape");
|
|
338
|
-
(g ? d(n) : b(n)) || c(m - 4, "Invalid Unicode escape");
|
|
339
|
-
f += w;
|
|
340
|
-
}
|
|
341
|
-
else
|
|
342
|
-
break;
|
|
343
|
-
g = !1;
|
|
344
|
-
}
|
|
345
|
-
return ra ? f : r.slice(l, m);
|
|
346
|
-
}
|
|
347
|
-
function Zb() {
|
|
348
|
-
var f = $b(), g = sa;
|
|
349
|
-
!ra && Uc(f) && (g = Vc[f]);
|
|
350
|
-
k(g, f);
|
|
351
|
-
}
|
|
352
|
-
function B() {
|
|
353
|
-
hb = I;
|
|
354
|
-
ia = oa;
|
|
355
|
-
ib = cb;
|
|
356
|
-
N();
|
|
357
|
-
}
|
|
358
|
-
function jb(f) {
|
|
359
|
-
S = f;
|
|
360
|
-
m = I;
|
|
361
|
-
if (z.C)
|
|
362
|
-
for (; m < X;)
|
|
363
|
-
X = r.lastIndexOf("\n", X - 2) + 1, --la;
|
|
364
|
-
C();
|
|
365
|
-
N();
|
|
366
|
-
}
|
|
367
|
-
function bc() {
|
|
368
|
-
this.type = null;
|
|
369
|
-
this.start = I;
|
|
370
|
-
this.end = null;
|
|
371
|
-
}
|
|
372
|
-
function cc() {
|
|
373
|
-
this.start = fb;
|
|
374
|
-
this.end = null;
|
|
375
|
-
kb && (this.source = kb);
|
|
376
|
-
}
|
|
377
|
-
function L() {
|
|
378
|
-
var f = new bc();
|
|
379
|
-
z.C && (f.X = new cc());
|
|
380
|
-
z.vb && (f.sourceFile = z.vb);
|
|
381
|
-
z.Xa && (f.j = [I, 0]);
|
|
382
|
-
return f;
|
|
383
|
-
}
|
|
384
|
-
function ja(f) {
|
|
385
|
-
var g = new bc();
|
|
386
|
-
g.start = f.start;
|
|
387
|
-
z.C && (g.X = new cc(), g.X.start = f.X.start);
|
|
388
|
-
z.Xa && (g.j = [f.j[0], 0]);
|
|
389
|
-
return g;
|
|
390
|
-
}
|
|
391
|
-
function y(f, g) {
|
|
392
|
-
f.type = g;
|
|
393
|
-
f.end = ia;
|
|
394
|
-
z.C && (f.X.end = ib);
|
|
395
|
-
z.Xa && (f.j[1] = ia);
|
|
396
|
-
return f;
|
|
397
|
-
}
|
|
398
|
-
function lb(f) {
|
|
399
|
-
return "ExpressionStatement" === f.type && "Literal" === f.la.type && "use strict" === f.la.value;
|
|
400
|
-
}
|
|
401
|
-
function E(f) {
|
|
402
|
-
return x === f ? (B(), !0) : !1;
|
|
403
|
-
}
|
|
404
|
-
function Wa() {
|
|
405
|
-
return !z.fc && (x === gb || x === qa || Va.test(r.slice(ia, I)));
|
|
406
|
-
}
|
|
407
|
-
function na() {
|
|
408
|
-
E(Z) || Wa() || aa();
|
|
409
|
-
}
|
|
410
|
-
function G(f) {
|
|
411
|
-
x === f ? B() : aa();
|
|
412
|
-
}
|
|
413
|
-
function aa() {
|
|
414
|
-
c(I, "Unexpected token");
|
|
415
|
-
}
|
|
416
|
-
function Xa(f) {
|
|
417
|
-
"Identifier" !== f.type && "MemberExpression" !== f.type && c(f.start, "Assigning to rvalue");
|
|
418
|
-
S && "Identifier" === f.type && Ya(f.name) && c(f.start, "Assigning to " + f.name + " in strict mode");
|
|
419
|
-
}
|
|
420
|
-
function V() {
|
|
421
|
-
(x === Ub || x === ma && "/=" === T) && N(!0);
|
|
422
|
-
var f = x, g = L();
|
|
423
|
-
switch (f) {
|
|
424
|
-
case mb:
|
|
425
|
-
case dc:
|
|
426
|
-
B();
|
|
427
|
-
var l = f === mb;
|
|
428
|
-
E(Z) || Wa() ? g.label = null : x !== sa ? aa() : (g.label = ba(), na());
|
|
429
|
-
for (var n = 0; n < H.length; ++n) {
|
|
430
|
-
var w = H[n];
|
|
431
|
-
if (null === g.label || w.name === g.label.name) {
|
|
432
|
-
if (null !== w.kind && (l || "loop" === w.kind))
|
|
433
|
-
break;
|
|
434
|
-
if (g.label && l)
|
|
435
|
-
break;
|
|
436
|
-
}
|
|
437
|
-
}
|
|
438
|
-
n === H.length && c(g.start, "Unsyntactic " + f.l);
|
|
439
|
-
return y(g, l ? "BreakStatement" : "ContinueStatement");
|
|
440
|
-
case ec:
|
|
441
|
-
return B(), na(), y(g, "DebuggerStatement");
|
|
442
|
-
case fc:
|
|
443
|
-
return B(), H.push(nb), g.body = V(), H.pop(), G(ob), g.test = Da(), na(), y(g, "DoWhileStatement");
|
|
444
|
-
case gc:
|
|
445
|
-
B();
|
|
446
|
-
H.push(nb);
|
|
447
|
-
G(Y);
|
|
448
|
-
if (x === Z)
|
|
449
|
-
return pb(g, null);
|
|
450
|
-
if (x === qb)
|
|
451
|
-
return f = L(), B(), hc(f, !0), y(f, "VariableDeclaration"), 1 === f.fa.length && E(Za) ? ic(g, f) : pb(g, f);
|
|
452
|
-
f = O(!1, !0);
|
|
453
|
-
return E(Za) ? (Xa(f), ic(g, f)) : pb(g, f);
|
|
454
|
-
case rb:
|
|
455
|
-
return B(), sb(g, !0);
|
|
456
|
-
case jc:
|
|
457
|
-
return B(), g.test = Da(), g.da = V(), g.alternate = E(kc) ? V() : null, y(g, "IfStatement");
|
|
458
|
-
case lc:
|
|
459
|
-
return Ea || z.Ib || c(I, "'return' outside of function"), B(), E(Z) || Wa() ? g.K = null : (g.K = O(), na()), y(g, "ReturnStatement");
|
|
460
|
-
case tb:
|
|
461
|
-
B();
|
|
462
|
-
g.Qb = Da();
|
|
463
|
-
g.tb = [];
|
|
464
|
-
G(za);
|
|
465
|
-
for (H.push(Wc); x !== qa;)
|
|
466
|
-
x === ub || x === mc ? (f = x === ub, n && y(n, "SwitchCase"), g.tb.push(n = L()), n.da = [], B(), f ? n.test = O() : (l && c(hb, "Multiple default clauses"), l = !0, n.test = null), G(Aa)) : (n || aa(), n.da.push(V()));
|
|
467
|
-
n && y(n, "SwitchCase");
|
|
468
|
-
B();
|
|
469
|
-
H.pop();
|
|
470
|
-
return y(g, "SwitchStatement");
|
|
471
|
-
case nc:
|
|
472
|
-
return B(), Va.test(r.slice(ia, I)) && c(ia, "Illegal newline after throw"), g.K = O(), na(), y(g, "ThrowStatement");
|
|
473
|
-
case oc:
|
|
474
|
-
return B(), g.block = Fa(), g.Ea = null, x === pc && (f = L(), B(), G(Y), f.Ua = ba(), S && Ya(f.Ua.name) && c(f.Ua.start, "Binding " + f.Ua.name + " in strict mode"), G(W), f.body = Fa(), g.Ea = y(f, "CatchClause")), g.fb = E(qc) ? Fa() : null, g.Ea || g.fb || c(g.start, "Missing catch or finally clause"), y(g, "TryStatement");
|
|
475
|
-
case qb:
|
|
476
|
-
return B(), hc(g), na(), y(g, "VariableDeclaration");
|
|
477
|
-
case ob:
|
|
478
|
-
return B(), g.test = Da(), H.push(nb), g.body = V(), H.pop(), y(g, "WhileStatement");
|
|
479
|
-
case rc:
|
|
480
|
-
return S && c(I, "'with' in strict mode"), B(), g.object = Da(), g.body = V(), y(g, "WithStatement");
|
|
481
|
-
case za:
|
|
482
|
-
return Fa();
|
|
483
|
-
case Z:
|
|
484
|
-
return B(), y(g, "EmptyStatement");
|
|
485
|
-
default:
|
|
486
|
-
l = T;
|
|
487
|
-
w = O();
|
|
488
|
-
if (f === sa && "Identifier" === w.type && E(Aa)) {
|
|
489
|
-
for (n = 0; n < H.length; ++n)
|
|
490
|
-
H[n].name === l && c(w.start, "Label '" + l + "' is already declared");
|
|
491
|
-
H.push({
|
|
492
|
-
name: l,
|
|
493
|
-
kind: x.W ? "loop" : x === tb ? "switch" : null
|
|
494
|
-
});
|
|
495
|
-
g.body = V();
|
|
496
|
-
H.pop();
|
|
497
|
-
g.label = w;
|
|
498
|
-
return y(g, "LabeledStatement");
|
|
499
|
-
}
|
|
500
|
-
g.la = w;
|
|
501
|
-
na();
|
|
502
|
-
return y(g, "ExpressionStatement");
|
|
503
|
-
}
|
|
504
|
-
}
|
|
505
|
-
function Da() {
|
|
506
|
-
G(Y);
|
|
507
|
-
var f = O();
|
|
508
|
-
G(W);
|
|
509
|
-
return f;
|
|
510
|
-
}
|
|
511
|
-
function Fa(f) {
|
|
512
|
-
var g = L(), l = !0, n = !1;
|
|
513
|
-
g.body = [];
|
|
514
|
-
for (G(za); !E(qa);) {
|
|
515
|
-
var w = V();
|
|
516
|
-
g.body.push(w);
|
|
517
|
-
if (l && f && lb(w)) {
|
|
518
|
-
var J = n;
|
|
519
|
-
jb(n = !0);
|
|
520
|
-
}
|
|
521
|
-
l = !1;
|
|
522
|
-
}
|
|
523
|
-
n && !J && jb(!1);
|
|
524
|
-
return y(g, "BlockStatement");
|
|
525
|
-
}
|
|
526
|
-
function pb(f, g) {
|
|
527
|
-
f.ua = g;
|
|
528
|
-
G(Z);
|
|
529
|
-
f.test = x === Z ? null : O();
|
|
530
|
-
G(Z);
|
|
531
|
-
f.update = x === W ? null : O();
|
|
532
|
-
G(W);
|
|
533
|
-
f.body = V();
|
|
534
|
-
H.pop();
|
|
535
|
-
return y(f, "ForStatement");
|
|
536
|
-
}
|
|
537
|
-
function ic(f, g) {
|
|
538
|
-
f.left = g;
|
|
539
|
-
f.right = O();
|
|
540
|
-
G(W);
|
|
541
|
-
f.body = V();
|
|
542
|
-
H.pop();
|
|
543
|
-
return y(f, "ForInStatement");
|
|
544
|
-
}
|
|
545
|
-
function hc(f, g) {
|
|
546
|
-
f.fa = [];
|
|
547
|
-
for (f.kind = "var";;) {
|
|
548
|
-
var l = L();
|
|
549
|
-
l.id = ba();
|
|
550
|
-
S && Ya(l.id.name) && c(l.id.start, "Binding " + l.id.name + " in strict mode");
|
|
551
|
-
l.ua = E(Xb) ? O(!0, g) : null;
|
|
552
|
-
f.fa.push(y(l, "VariableDeclarator"));
|
|
553
|
-
if (!E(ha))
|
|
554
|
-
break;
|
|
555
|
-
}
|
|
556
|
-
}
|
|
557
|
-
function O(f, g) {
|
|
558
|
-
var l = vb(g);
|
|
559
|
-
if (!f && x === ha) {
|
|
560
|
-
f = ja(l);
|
|
561
|
-
for (f.xb = [l]; E(ha);)
|
|
562
|
-
f.xb.push(vb(g));
|
|
563
|
-
return y(f, "SequenceExpression");
|
|
564
|
-
}
|
|
565
|
-
return l;
|
|
566
|
-
}
|
|
567
|
-
function vb(f) {
|
|
568
|
-
var g = wb(xb(), -1, f);
|
|
569
|
-
if (E(Sb)) {
|
|
570
|
-
var l = ja(g);
|
|
571
|
-
l.test = g;
|
|
572
|
-
l.da = O(!0);
|
|
573
|
-
G(Aa);
|
|
574
|
-
l.alternate = O(!0, f);
|
|
575
|
-
g = y(l, "ConditionalExpression");
|
|
576
|
-
}
|
|
577
|
-
return x.Cb ? (l = ja(g), l.operator = T, l.left = g, B(), l.right = vb(f), Xa(g), y(l, "AssignmentExpression")) : g;
|
|
578
|
-
}
|
|
579
|
-
function wb(f, g, l) {
|
|
580
|
-
var n = x.L;
|
|
581
|
-
if (null !== n && (!l || x !== Za) && n > g) {
|
|
582
|
-
var w = ja(f);
|
|
583
|
-
w.left = f;
|
|
584
|
-
w.operator = T;
|
|
585
|
-
f = x;
|
|
586
|
-
B();
|
|
587
|
-
w.right = wb(xb(), n, l);
|
|
588
|
-
n = y(w, f === Vb || f === Wb ? "LogicalExpression" : "BinaryExpression");
|
|
589
|
-
return wb(n, g, l);
|
|
590
|
-
}
|
|
591
|
-
return f;
|
|
592
|
-
}
|
|
593
|
-
function xb() {
|
|
594
|
-
if (x.prefix) {
|
|
595
|
-
var f = L(), g = x.$b;
|
|
596
|
-
f.operator = T;
|
|
597
|
-
ya = f.prefix = !0;
|
|
598
|
-
B();
|
|
599
|
-
f.K = xb();
|
|
600
|
-
g ? Xa(f.K) : S && "delete" === f.operator && "Identifier" === f.K.type && c(f.start, "Deleting local variable in strict mode");
|
|
601
|
-
return y(f, g ? "UpdateExpression" : "UnaryExpression");
|
|
602
|
-
}
|
|
603
|
-
for (g = Ga($a()); x.cc && !Wa();)
|
|
604
|
-
f = ja(g), f.operator = T, f.prefix = !1, f.K = g, Xa(g), B(), g = y(f, "UpdateExpression");
|
|
605
|
-
return g;
|
|
606
|
-
}
|
|
607
|
-
function Ga(f, g) {
|
|
608
|
-
if (E(Rb)) {
|
|
609
|
-
var l = ja(f);
|
|
610
|
-
l.object = f;
|
|
611
|
-
l.Wa = ba(!0);
|
|
612
|
-
l.bb = !1;
|
|
613
|
-
return Ga(y(l, "MemberExpression"), g);
|
|
614
|
-
}
|
|
615
|
-
return E(db) ? (l = ja(f), l.object = f, l.Wa = O(), l.bb = !0, G(eb), Ga(y(l, "MemberExpression"), g)) : !g && E(Y) ? (l = ja(f), l.callee = f, l.arguments = yb(W, !1), Ga(y(l, "CallExpression"), g)) : f;
|
|
616
|
-
}
|
|
617
|
-
function $a() {
|
|
618
|
-
switch (x) {
|
|
619
|
-
case sc:
|
|
620
|
-
var f = L();
|
|
621
|
-
B();
|
|
622
|
-
return y(f, "ThisExpression");
|
|
623
|
-
case sa:
|
|
624
|
-
return ba();
|
|
625
|
-
case Ca:
|
|
626
|
-
case Ta:
|
|
627
|
-
case ac:
|
|
628
|
-
return f = L(), f.value = T, f.raw = r.slice(I, oa), B(), y(f, "Literal");
|
|
629
|
-
case tc:
|
|
630
|
-
case uc:
|
|
631
|
-
case vc:
|
|
632
|
-
return f = L(), f.value = x.$a, f.raw = x.l, B(), y(f, "Literal");
|
|
633
|
-
case Y:
|
|
634
|
-
f = fb;
|
|
635
|
-
var g = I;
|
|
636
|
-
B();
|
|
637
|
-
var l = O();
|
|
638
|
-
l.start = g;
|
|
639
|
-
l.end = oa;
|
|
640
|
-
z.C && (l.X.start = f, l.X.end = cb);
|
|
641
|
-
z.Xa && (l.j = [g, oa]);
|
|
642
|
-
G(W);
|
|
643
|
-
return l;
|
|
644
|
-
case db:
|
|
645
|
-
return f = L(), B(), f.elements = yb(eb, !0, !0), y(f, "ArrayExpression");
|
|
646
|
-
case za:
|
|
647
|
-
f = L();
|
|
648
|
-
g = !0;
|
|
649
|
-
l = !1;
|
|
650
|
-
f.h = [];
|
|
651
|
-
for (B(); !E(qa);) {
|
|
652
|
-
if (g)
|
|
653
|
-
g = !1;
|
|
654
|
-
else if (G(ha), z.sb && E(qa))
|
|
655
|
-
break;
|
|
656
|
-
var n = {
|
|
657
|
-
key: x === Ca || x === Ta ? $a() : ba(!0)
|
|
658
|
-
}, w = !1;
|
|
659
|
-
if (E(Aa)) {
|
|
660
|
-
n.value = O(!0);
|
|
661
|
-
var J = n.kind = "init";
|
|
662
|
-
}
|
|
663
|
-
else
|
|
664
|
-
"Identifier" !== n.key.type || "get" !== n.key.name && "set" !== n.key.name ? aa() : (w = l = !0, J = n.kind = n.key.name, n.key = x === Ca || x === Ta ? $a() : ba(!0), x !== Y && aa(), n.value = sb(L(), !1));
|
|
665
|
-
if ("Identifier" === n.key.type && (S || l))
|
|
666
|
-
for (var P = 0; P < f.h.length; ++P) {
|
|
667
|
-
var ta = f.h[P];
|
|
668
|
-
if (ta.key.name === n.key.name) {
|
|
669
|
-
var zb = J === ta.kind || w && "init" === ta.kind || "init" === J && ("get" === ta.kind || "set" === ta.kind);
|
|
670
|
-
zb && !S && "init" === J && "init" === ta.kind && (zb = !1);
|
|
671
|
-
zb && c(n.key.start, "Redefinition of property");
|
|
672
|
-
}
|
|
673
|
-
}
|
|
674
|
-
f.h.push(n);
|
|
675
|
-
}
|
|
676
|
-
return y(f, "ObjectExpression");
|
|
677
|
-
case rb:
|
|
678
|
-
return f = L(), B(), sb(f, !1);
|
|
679
|
-
case wc:
|
|
680
|
-
return f = L(), B(), f.callee = Ga($a(), !0), f.arguments = E(Y) ? yb(W, !1) : Xc, y(f, "NewExpression");
|
|
681
|
-
}
|
|
682
|
-
aa();
|
|
683
|
-
}
|
|
684
|
-
function sb(f, g) {
|
|
685
|
-
x === sa ? f.id = ba() : g ? aa() : f.id = null;
|
|
686
|
-
f.oa = [];
|
|
687
|
-
var l = !0;
|
|
688
|
-
for (G(Y); !E(W);)
|
|
689
|
-
l ? l = !1 : G(ha), f.oa.push(ba());
|
|
690
|
-
l = Ea;
|
|
691
|
-
var n = H;
|
|
692
|
-
Ea = !0;
|
|
693
|
-
H = [];
|
|
694
|
-
f.body = Fa(!0);
|
|
695
|
-
Ea = l;
|
|
696
|
-
H = n;
|
|
697
|
-
if (S || f.body.body.length && lb(f.body.body[0]))
|
|
698
|
-
for (l = f.id ? -1 : 0; l < f.oa.length; ++l)
|
|
699
|
-
if (n = 0 > l ? f.id : f.oa[l], (xc(n.name) || Ya(n.name)) && c(n.start, "Defining '" + n.name + "' in strict mode"), 0 <= l)
|
|
700
|
-
for (var w = 0; w < l; ++w)
|
|
701
|
-
n.name === f.oa[w].name && c(n.start, "Argument name clash in strict mode");
|
|
702
|
-
return y(f, g ? "FunctionDeclaration" : "FunctionExpression");
|
|
703
|
-
}
|
|
704
|
-
function yb(f, g, l) {
|
|
705
|
-
for (var n = [], w = !0; !E(f);) {
|
|
706
|
-
if (w)
|
|
707
|
-
w = !1;
|
|
708
|
-
else if (G(ha), g && z.sb && E(f))
|
|
709
|
-
break;
|
|
710
|
-
n.push(l && x === ha ? null : O(!0));
|
|
711
|
-
}
|
|
712
|
-
return n;
|
|
713
|
-
}
|
|
714
|
-
function ba(f) {
|
|
715
|
-
var g = L();
|
|
716
|
-
f && "everywhere" === z.yb && (f = !1);
|
|
717
|
-
x === sa ? (!f && (z.yb && Yc(T) || S && xc(T)) && -1 === r.slice(I, oa).indexOf("\\") && c(I, "The keyword '" + T + "' is reserved"), g.name = T) : f && x.l ? g.name = x.l : aa();
|
|
718
|
-
ya = !1;
|
|
719
|
-
B();
|
|
720
|
-
return y(g, "Identifier");
|
|
721
|
-
}
|
|
722
|
-
a.version = "0.5.0";
|
|
723
|
-
var z, r = "", pa, kb;
|
|
724
|
-
a.parse = function (f, g) {
|
|
725
|
-
r = String(f);
|
|
726
|
-
pa = r.length;
|
|
727
|
-
z = g || {};
|
|
728
|
-
for (var l in yc)
|
|
729
|
-
Object.prototype.hasOwnProperty.call(z, l) || (z[l] = yc[l]);
|
|
730
|
-
kb = z.sourceFile;
|
|
731
|
-
la = 1;
|
|
732
|
-
m = X = 0;
|
|
733
|
-
ya = !0;
|
|
734
|
-
C();
|
|
735
|
-
l = z.dc;
|
|
736
|
-
hb = ia = m;
|
|
737
|
-
z.C && (ib = new h());
|
|
738
|
-
Ea = S = !1;
|
|
739
|
-
H = [];
|
|
740
|
-
N();
|
|
741
|
-
f = l || L();
|
|
742
|
-
g = !0;
|
|
743
|
-
l || (f.body = []);
|
|
744
|
-
for (; x !== gb;)
|
|
745
|
-
l = V(), f.body.push(l), g && lb(l) && jb(!0), g = !1;
|
|
746
|
-
return y(f, "Program");
|
|
747
|
-
};
|
|
748
|
-
var yc = {
|
|
749
|
-
fc: !1,
|
|
750
|
-
sb: !0,
|
|
751
|
-
yb: !1,
|
|
752
|
-
Ib: !1,
|
|
753
|
-
C: !1,
|
|
754
|
-
va: null,
|
|
755
|
-
Xa: !1,
|
|
756
|
-
dc: null,
|
|
757
|
-
sourceFile: null,
|
|
758
|
-
vb: null
|
|
759
|
-
}, m = 0, I = 0, oa = 0, fb, cb, x, T, ya, la, X, hb = 0, ia = 0, ib, Ea, H, S, Xc = [], Ca = {
|
|
760
|
-
type: "num"
|
|
761
|
-
}, ac = {
|
|
762
|
-
type: "regexp"
|
|
763
|
-
}, Ta = {
|
|
764
|
-
type: "string"
|
|
765
|
-
}, sa = {
|
|
766
|
-
type: "name"
|
|
767
|
-
}, gb = {
|
|
768
|
-
type: "eof"
|
|
769
|
-
}, mb = {
|
|
770
|
-
l: "break"
|
|
771
|
-
}, ub = {
|
|
772
|
-
l: "case",
|
|
773
|
-
m: !0
|
|
774
|
-
}, pc = {
|
|
775
|
-
l: "catch"
|
|
776
|
-
}, dc = {
|
|
777
|
-
l: "continue"
|
|
778
|
-
}, ec = {
|
|
779
|
-
l: "debugger"
|
|
780
|
-
}, mc = {
|
|
781
|
-
l: "default"
|
|
782
|
-
}, fc = {
|
|
783
|
-
l: "do",
|
|
784
|
-
W: !0
|
|
785
|
-
}, kc = {
|
|
786
|
-
l: "else",
|
|
787
|
-
m: !0
|
|
788
|
-
}, qc = {
|
|
789
|
-
l: "finally"
|
|
790
|
-
}, gc = {
|
|
791
|
-
l: "for",
|
|
792
|
-
W: !0
|
|
793
|
-
}, rb = {
|
|
794
|
-
l: "function"
|
|
795
|
-
}, jc = {
|
|
796
|
-
l: "if"
|
|
797
|
-
}, lc = {
|
|
798
|
-
l: "return",
|
|
799
|
-
m: !0
|
|
800
|
-
}, tb = {
|
|
801
|
-
l: "switch"
|
|
802
|
-
}, nc = {
|
|
803
|
-
l: "throw",
|
|
804
|
-
m: !0
|
|
805
|
-
}, oc = {
|
|
806
|
-
l: "try"
|
|
807
|
-
}, qb = {
|
|
808
|
-
l: "var"
|
|
809
|
-
}, ob = {
|
|
810
|
-
l: "while",
|
|
811
|
-
W: !0
|
|
812
|
-
}, rc = {
|
|
813
|
-
l: "with"
|
|
814
|
-
}, wc = {
|
|
815
|
-
l: "new",
|
|
816
|
-
m: !0
|
|
817
|
-
}, sc = {
|
|
818
|
-
l: "this"
|
|
819
|
-
}, tc = {
|
|
820
|
-
l: "null",
|
|
821
|
-
$a: null
|
|
822
|
-
}, uc = {
|
|
823
|
-
l: "true",
|
|
824
|
-
$a: !0
|
|
825
|
-
}, vc = {
|
|
826
|
-
l: "false",
|
|
827
|
-
$a: !1
|
|
828
|
-
}, Za = {
|
|
829
|
-
l: "in",
|
|
830
|
-
L: 7,
|
|
831
|
-
m: !0
|
|
832
|
-
}, Vc = {
|
|
833
|
-
"break": mb,
|
|
834
|
-
"case": ub,
|
|
835
|
-
"catch": pc,
|
|
836
|
-
"continue": dc,
|
|
837
|
-
"debugger": ec,
|
|
838
|
-
"default": mc,
|
|
839
|
-
"do": fc,
|
|
840
|
-
"else": kc,
|
|
841
|
-
"finally": qc,
|
|
842
|
-
"for": gc,
|
|
843
|
-
"function": rb,
|
|
844
|
-
"if": jc,
|
|
845
|
-
"return": lc,
|
|
846
|
-
"switch": tb,
|
|
847
|
-
"throw": nc,
|
|
848
|
-
"try": oc,
|
|
849
|
-
"var": qb,
|
|
850
|
-
"while": ob,
|
|
851
|
-
"with": rc,
|
|
852
|
-
"null": tc,
|
|
853
|
-
"true": uc,
|
|
854
|
-
"false": vc,
|
|
855
|
-
"new": wc,
|
|
856
|
-
"in": Za,
|
|
857
|
-
"instanceof": {
|
|
858
|
-
l: "instanceof",
|
|
859
|
-
L: 7,
|
|
860
|
-
m: !0
|
|
861
|
-
},
|
|
862
|
-
"this": sc,
|
|
863
|
-
"typeof": {
|
|
864
|
-
l: "typeof",
|
|
865
|
-
prefix: !0,
|
|
866
|
-
m: !0
|
|
867
|
-
},
|
|
868
|
-
"void": {
|
|
869
|
-
l: "void",
|
|
870
|
-
prefix: !0,
|
|
871
|
-
m: !0
|
|
872
|
-
},
|
|
873
|
-
"delete": {
|
|
874
|
-
l: "delete",
|
|
875
|
-
prefix: !0,
|
|
876
|
-
m: !0
|
|
877
|
-
}
|
|
878
|
-
}, db = {
|
|
879
|
-
type: "[",
|
|
880
|
-
m: !0
|
|
881
|
-
}, eb = {
|
|
882
|
-
type: "]"
|
|
883
|
-
}, za = {
|
|
884
|
-
type: "{",
|
|
885
|
-
m: !0
|
|
886
|
-
}, qa = {
|
|
887
|
-
type: "}"
|
|
888
|
-
}, Y = {
|
|
889
|
-
type: "(",
|
|
890
|
-
m: !0
|
|
891
|
-
}, W = {
|
|
892
|
-
type: ")"
|
|
893
|
-
}, ha = {
|
|
894
|
-
type: ",",
|
|
895
|
-
m: !0
|
|
896
|
-
}, Z = {
|
|
897
|
-
type: ";",
|
|
898
|
-
m: !0
|
|
899
|
-
}, Aa = {
|
|
900
|
-
type: ":",
|
|
901
|
-
m: !0
|
|
902
|
-
}, Rb = {
|
|
903
|
-
type: "."
|
|
904
|
-
}, Sb = {
|
|
905
|
-
type: "?",
|
|
906
|
-
m: !0
|
|
907
|
-
}, Ub = {
|
|
908
|
-
L: 10,
|
|
909
|
-
m: !0
|
|
910
|
-
}, Xb = {
|
|
911
|
-
Cb: !0,
|
|
912
|
-
m: !0
|
|
913
|
-
}, ma = {
|
|
914
|
-
Cb: !0,
|
|
915
|
-
m: !0
|
|
916
|
-
}, Pc = {
|
|
917
|
-
cc: !0,
|
|
918
|
-
prefix: !0,
|
|
919
|
-
$b: !0
|
|
920
|
-
}, Yb = {
|
|
921
|
-
prefix: !0,
|
|
922
|
-
m: !0
|
|
923
|
-
}, Vb = {
|
|
924
|
-
L: 1,
|
|
925
|
-
m: !0
|
|
926
|
-
}, Wb = {
|
|
927
|
-
L: 2,
|
|
928
|
-
m: !0
|
|
929
|
-
}, Mc = {
|
|
930
|
-
L: 3,
|
|
931
|
-
m: !0
|
|
932
|
-
}, Oc = {
|
|
933
|
-
L: 4,
|
|
934
|
-
m: !0
|
|
935
|
-
}, Nc = {
|
|
936
|
-
L: 5,
|
|
937
|
-
m: !0
|
|
938
|
-
}, Tc = {
|
|
939
|
-
L: 6,
|
|
940
|
-
m: !0
|
|
941
|
-
}, Sc = {
|
|
942
|
-
L: 7,
|
|
943
|
-
m: !0
|
|
944
|
-
}, Rc = {
|
|
945
|
-
L: 8,
|
|
946
|
-
m: !0
|
|
947
|
-
}, Qc = {
|
|
948
|
-
L: 9,
|
|
949
|
-
prefix: !0,
|
|
950
|
-
m: !0
|
|
951
|
-
}, Lc = {
|
|
952
|
-
L: 10,
|
|
953
|
-
m: !0
|
|
954
|
-
}, Yc = e("class enum extends super const export import"), xc = e("implements interface let package private protected public static yield"), Ya = e("eval arguments"), Uc = e("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"), Kc = /[\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff]/, Pb = RegExp("[\u00aa\u00b5\u00ba\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02c1\u02c6-\u02d1\u02e0-\u02e4\u02ec\u02ee\u0370-\u0374\u0376\u0377\u037a-\u037d\u0386\u0388-\u038a\u038c\u038e-\u03a1\u03a3-\u03f5\u03f7-\u0481\u048a-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05d0-\u05ea\u05f0-\u05f2\u0620-\u064a\u066e\u066f\u0671-\u06d3\u06d5\u06e5\u06e6\u06ee\u06ef\u06fa-\u06fc\u06ff\u0710\u0712-\u072f\u074d-\u07a5\u07b1\u07ca-\u07ea\u07f4\u07f5\u07fa\u0800-\u0815\u081a\u0824\u0828\u0840-\u0858\u08a0\u08a2-\u08ac\u0904-\u0939\u093d\u0950\u0958-\u0961\u0971-\u0977\u0979-\u097f\u0985-\u098c\u098f\u0990\u0993-\u09a8\u09aa-\u09b0\u09b2\u09b6-\u09b9\u09bd\u09ce\u09dc\u09dd\u09df-\u09e1\u09f0\u09f1\u0a05-\u0a0a\u0a0f\u0a10\u0a13-\u0a28\u0a2a-\u0a30\u0a32\u0a33\u0a35\u0a36\u0a38\u0a39\u0a59-\u0a5c\u0a5e\u0a72-\u0a74\u0a85-\u0a8d\u0a8f-\u0a91\u0a93-\u0aa8\u0aaa-\u0ab0\u0ab2\u0ab3\u0ab5-\u0ab9\u0abd\u0ad0\u0ae0\u0ae1\u0b05-\u0b0c\u0b0f\u0b10\u0b13-\u0b28\u0b2a-\u0b30\u0b32\u0b33\u0b35-\u0b39\u0b3d\u0b5c\u0b5d\u0b5f-\u0b61\u0b71\u0b83\u0b85-\u0b8a\u0b8e-\u0b90\u0b92-\u0b95\u0b99\u0b9a\u0b9c\u0b9e\u0b9f\u0ba3\u0ba4\u0ba8-\u0baa\u0bae-\u0bb9\u0bd0\u0c05-\u0c0c\u0c0e-\u0c10\u0c12-\u0c28\u0c2a-\u0c33\u0c35-\u0c39\u0c3d\u0c58\u0c59\u0c60\u0c61\u0c85-\u0c8c\u0c8e-\u0c90\u0c92-\u0ca8\u0caa-\u0cb3\u0cb5-\u0cb9\u0cbd\u0cde\u0ce0\u0ce1\u0cf1\u0cf2\u0d05-\u0d0c\u0d0e-\u0d10\u0d12-\u0d3a\u0d3d\u0d4e\u0d60\u0d61\u0d7a-\u0d7f\u0d85-\u0d96\u0d9a-\u0db1\u0db3-\u0dbb\u0dbd\u0dc0-\u0dc6\u0e01-\u0e30\u0e32\u0e33\u0e40-\u0e46\u0e81\u0e82\u0e84\u0e87\u0e88\u0e8a\u0e8d\u0e94-\u0e97\u0e99-\u0e9f\u0ea1-\u0ea3\u0ea5\u0ea7\u0eaa\u0eab\u0ead-\u0eb0\u0eb2\u0eb3\u0ebd\u0ec0-\u0ec4\u0ec6\u0edc-\u0edf\u0f00\u0f40-\u0f47\u0f49-\u0f6c\u0f88-\u0f8c\u1000-\u102a\u103f\u1050-\u1055\u105a-\u105d\u1061\u1065\u1066\u106e-\u1070\u1075-\u1081\u108e\u10a0-\u10c5\u10c7\u10cd\u10d0-\u10fa\u10fc-\u1248\u124a-\u124d\u1250-\u1256\u1258\u125a-\u125d\u1260-\u1288\u128a-\u128d\u1290-\u12b0\u12b2-\u12b5\u12b8-\u12be\u12c0\u12c2-\u12c5\u12c8-\u12d6\u12d8-\u1310\u1312-\u1315\u1318-\u135a\u1380-\u138f\u13a0-\u13f4\u1401-\u166c\u166f-\u167f\u1681-\u169a\u16a0-\u16ea\u16ee-\u16f0\u1700-\u170c\u170e-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176c\u176e-\u1770\u1780-\u17b3\u17d7\u17dc\u1820-\u1877\u1880-\u18a8\u18aa\u18b0-\u18f5\u1900-\u191c\u1950-\u196d\u1970-\u1974\u1980-\u19ab\u19c1-\u19c7\u1a00-\u1a16\u1a20-\u1a54\u1aa7\u1b05-\u1b33\u1b45-\u1b4b\u1b83-\u1ba0\u1bae\u1baf\u1bba-\u1be5\u1c00-\u1c23\u1c4d-\u1c4f\u1c5a-\u1c7d\u1ce9-\u1cec\u1cee-\u1cf1\u1cf5\u1cf6\u1d00-\u1dbf\u1e00-\u1f15\u1f18-\u1f1d\u1f20-\u1f45\u1f48-\u1f4d\u1f50-\u1f57\u1f59\u1f5b\u1f5d\u1f5f-\u1f7d\u1f80-\u1fb4\u1fb6-\u1fbc\u1fbe\u1fc2-\u1fc4\u1fc6-\u1fcc\u1fd0-\u1fd3\u1fd6-\u1fdb\u1fe0-\u1fec\u1ff2-\u1ff4\u1ff6-\u1ffc\u2071\u207f\u2090-\u209c\u2102\u2107\u210a-\u2113\u2115\u2119-\u211d\u2124\u2126\u2128\u212a-\u212d\u212f-\u2139\u213c-\u213f\u2145-\u2149\u214e\u2160-\u2188\u2c00-\u2c2e\u2c30-\u2c5e\u2c60-\u2ce4\u2ceb-\u2cee\u2cf2\u2cf3\u2d00-\u2d25\u2d27\u2d2d\u2d30-\u2d67\u2d6f\u2d80-\u2d96\u2da0-\u2da6\u2da8-\u2dae\u2db0-\u2db6\u2db8-\u2dbe\u2dc0-\u2dc6\u2dc8-\u2dce\u2dd0-\u2dd6\u2dd8-\u2dde\u2e2f\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303c\u3041-\u3096\u309d-\u309f\u30a1-\u30fa\u30fc-\u30ff\u3105-\u312d\u3131-\u318e\u31a0-\u31ba\u31f0-\u31ff\u3400-\u4db5\u4e00-\u9fcc\ua000-\ua48c\ua4d0-\ua4fd\ua500-\ua60c\ua610-\ua61f\ua62a\ua62b\ua640-\ua66e\ua67f-\ua697\ua6a0-\ua6ef\ua717-\ua71f\ua722-\ua788\ua78b-\ua78e\ua790-\ua793\ua7a0-\ua7aa\ua7f8-\ua801\ua803-\ua805\ua807-\ua80a\ua80c-\ua822\ua840-\ua873\ua882-\ua8b3\ua8f2-\ua8f7\ua8fb\ua90a-\ua925\ua930-\ua946\ua960-\ua97c\ua984-\ua9b2\ua9cf\uaa00-\uaa28\uaa40-\uaa42\uaa44-\uaa4b\uaa60-\uaa76\uaa7a\uaa80-\uaaaf\uaab1\uaab5\uaab6\uaab9-\uaabd\uaac0\uaac2\uaadb-\uaadd\uaae0-\uaaea\uaaf2-\uaaf4\uab01-\uab06\uab09-\uab0e\uab11-\uab16\uab20-\uab26\uab28-\uab2e\uabc0-\uabe2\uac00-\ud7a3\ud7b0-\ud7c6\ud7cb-\ud7fb\uf900-\ufa6d\ufa70-\ufad9\ufb00-\ufb06\ufb13-\ufb17\ufb1d\ufb1f-\ufb28\ufb2a-\ufb36\ufb38-\ufb3c\ufb3e\ufb40\ufb41\ufb43\ufb44\ufb46-\ufbb1\ufbd3-\ufd3d\ufd50-\ufd8f\ufd92-\ufdc7\ufdf0-\ufdfb\ufe70-\ufe74\ufe76-\ufefc\uff21-\uff3a\uff41-\uff5a\uff66-\uffbe\uffc2-\uffc7\uffca-\uffcf\uffd2-\uffd7\uffda-\uffdc]"), Jc = RegExp("[\u00aa\u00b5\u00ba\u00c0-\u00d6\u00d8-\u00f6\u00f8-\u02c1\u02c6-\u02d1\u02e0-\u02e4\u02ec\u02ee\u0370-\u0374\u0376\u0377\u037a-\u037d\u0386\u0388-\u038a\u038c\u038e-\u03a1\u03a3-\u03f5\u03f7-\u0481\u048a-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05d0-\u05ea\u05f0-\u05f2\u0620-\u064a\u066e\u066f\u0671-\u06d3\u06d5\u06e5\u06e6\u06ee\u06ef\u06fa-\u06fc\u06ff\u0710\u0712-\u072f\u074d-\u07a5\u07b1\u07ca-\u07ea\u07f4\u07f5\u07fa\u0800-\u0815\u081a\u0824\u0828\u0840-\u0858\u08a0\u08a2-\u08ac\u0904-\u0939\u093d\u0950\u0958-\u0961\u0971-\u0977\u0979-\u097f\u0985-\u098c\u098f\u0990\u0993-\u09a8\u09aa-\u09b0\u09b2\u09b6-\u09b9\u09bd\u09ce\u09dc\u09dd\u09df-\u09e1\u09f0\u09f1\u0a05-\u0a0a\u0a0f\u0a10\u0a13-\u0a28\u0a2a-\u0a30\u0a32\u0a33\u0a35\u0a36\u0a38\u0a39\u0a59-\u0a5c\u0a5e\u0a72-\u0a74\u0a85-\u0a8d\u0a8f-\u0a91\u0a93-\u0aa8\u0aaa-\u0ab0\u0ab2\u0ab3\u0ab5-\u0ab9\u0abd\u0ad0\u0ae0\u0ae1\u0b05-\u0b0c\u0b0f\u0b10\u0b13-\u0b28\u0b2a-\u0b30\u0b32\u0b33\u0b35-\u0b39\u0b3d\u0b5c\u0b5d\u0b5f-\u0b61\u0b71\u0b83\u0b85-\u0b8a\u0b8e-\u0b90\u0b92-\u0b95\u0b99\u0b9a\u0b9c\u0b9e\u0b9f\u0ba3\u0ba4\u0ba8-\u0baa\u0bae-\u0bb9\u0bd0\u0c05-\u0c0c\u0c0e-\u0c10\u0c12-\u0c28\u0c2a-\u0c33\u0c35-\u0c39\u0c3d\u0c58\u0c59\u0c60\u0c61\u0c85-\u0c8c\u0c8e-\u0c90\u0c92-\u0ca8\u0caa-\u0cb3\u0cb5-\u0cb9\u0cbd\u0cde\u0ce0\u0ce1\u0cf1\u0cf2\u0d05-\u0d0c\u0d0e-\u0d10\u0d12-\u0d3a\u0d3d\u0d4e\u0d60\u0d61\u0d7a-\u0d7f\u0d85-\u0d96\u0d9a-\u0db1\u0db3-\u0dbb\u0dbd\u0dc0-\u0dc6\u0e01-\u0e30\u0e32\u0e33\u0e40-\u0e46\u0e81\u0e82\u0e84\u0e87\u0e88\u0e8a\u0e8d\u0e94-\u0e97\u0e99-\u0e9f\u0ea1-\u0ea3\u0ea5\u0ea7\u0eaa\u0eab\u0ead-\u0eb0\u0eb2\u0eb3\u0ebd\u0ec0-\u0ec4\u0ec6\u0edc-\u0edf\u0f00\u0f40-\u0f47\u0f49-\u0f6c\u0f88-\u0f8c\u1000-\u102a\u103f\u1050-\u1055\u105a-\u105d\u1061\u1065\u1066\u106e-\u1070\u1075-\u1081\u108e\u10a0-\u10c5\u10c7\u10cd\u10d0-\u10fa\u10fc-\u1248\u124a-\u124d\u1250-\u1256\u1258\u125a-\u125d\u1260-\u1288\u128a-\u128d\u1290-\u12b0\u12b2-\u12b5\u12b8-\u12be\u12c0\u12c2-\u12c5\u12c8-\u12d6\u12d8-\u1310\u1312-\u1315\u1318-\u135a\u1380-\u138f\u13a0-\u13f4\u1401-\u166c\u166f-\u167f\u1681-\u169a\u16a0-\u16ea\u16ee-\u16f0\u1700-\u170c\u170e-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176c\u176e-\u1770\u1780-\u17b3\u17d7\u17dc\u1820-\u1877\u1880-\u18a8\u18aa\u18b0-\u18f5\u1900-\u191c\u1950-\u196d\u1970-\u1974\u1980-\u19ab\u19c1-\u19c7\u1a00-\u1a16\u1a20-\u1a54\u1aa7\u1b05-\u1b33\u1b45-\u1b4b\u1b83-\u1ba0\u1bae\u1baf\u1bba-\u1be5\u1c00-\u1c23\u1c4d-\u1c4f\u1c5a-\u1c7d\u1ce9-\u1cec\u1cee-\u1cf1\u1cf5\u1cf6\u1d00-\u1dbf\u1e00-\u1f15\u1f18-\u1f1d\u1f20-\u1f45\u1f48-\u1f4d\u1f50-\u1f57\u1f59\u1f5b\u1f5d\u1f5f-\u1f7d\u1f80-\u1fb4\u1fb6-\u1fbc\u1fbe\u1fc2-\u1fc4\u1fc6-\u1fcc\u1fd0-\u1fd3\u1fd6-\u1fdb\u1fe0-\u1fec\u1ff2-\u1ff4\u1ff6-\u1ffc\u2071\u207f\u2090-\u209c\u2102\u2107\u210a-\u2113\u2115\u2119-\u211d\u2124\u2126\u2128\u212a-\u212d\u212f-\u2139\u213c-\u213f\u2145-\u2149\u214e\u2160-\u2188\u2c00-\u2c2e\u2c30-\u2c5e\u2c60-\u2ce4\u2ceb-\u2cee\u2cf2\u2cf3\u2d00-\u2d25\u2d27\u2d2d\u2d30-\u2d67\u2d6f\u2d80-\u2d96\u2da0-\u2da6\u2da8-\u2dae\u2db0-\u2db6\u2db8-\u2dbe\u2dc0-\u2dc6\u2dc8-\u2dce\u2dd0-\u2dd6\u2dd8-\u2dde\u2e2f\u3005-\u3007\u3021-\u3029\u3031-\u3035\u3038-\u303c\u3041-\u3096\u309d-\u309f\u30a1-\u30fa\u30fc-\u30ff\u3105-\u312d\u3131-\u318e\u31a0-\u31ba\u31f0-\u31ff\u3400-\u4db5\u4e00-\u9fcc\ua000-\ua48c\ua4d0-\ua4fd\ua500-\ua60c\ua610-\ua61f\ua62a\ua62b\ua640-\ua66e\ua67f-\ua697\ua6a0-\ua6ef\ua717-\ua71f\ua722-\ua788\ua78b-\ua78e\ua790-\ua793\ua7a0-\ua7aa\ua7f8-\ua801\ua803-\ua805\ua807-\ua80a\ua80c-\ua822\ua840-\ua873\ua882-\ua8b3\ua8f2-\ua8f7\ua8fb\ua90a-\ua925\ua930-\ua946\ua960-\ua97c\ua984-\ua9b2\ua9cf\uaa00-\uaa28\uaa40-\uaa42\uaa44-\uaa4b\uaa60-\uaa76\uaa7a\uaa80-\uaaaf\uaab1\uaab5\uaab6\uaab9-\uaabd\uaac0\uaac2\uaadb-\uaadd\uaae0-\uaaea\uaaf2-\uaaf4\uab01-\uab06\uab09-\uab0e\uab11-\uab16\uab20-\uab26\uab28-\uab2e\uabc0-\uabe2\uac00-\ud7a3\ud7b0-\ud7c6\ud7cb-\ud7fb\uf900-\ufa6d\ufa70-\ufad9\ufb00-\ufb06\ufb13-\ufb17\ufb1d\ufb1f-\ufb28\ufb2a-\ufb36\ufb38-\ufb3c\ufb3e\ufb40\ufb41\ufb43\ufb44\ufb46-\ufbb1\ufbd3-\ufd3d\ufd50-\ufd8f\ufd92-\ufdc7\ufdf0-\ufdfb\ufe70-\ufe74\ufe76-\ufefc\uff21-\uff3a\uff41-\uff5a\uff66-\uffbe\uffc2-\uffc7\uffca-\uffcf\uffd2-\uffd7\uffda-\uffdc\u0300-\u036f\u0483-\u0487\u0591-\u05bd\u05bf\u05c1\u05c2\u05c4\u05c5\u05c7\u0610-\u061a\u0620-\u0649\u0672-\u06d3\u06e7-\u06e8\u06fb-\u06fc\u0730-\u074a\u0800-\u0814\u081b-\u0823\u0825-\u0827\u0829-\u082d\u0840-\u0857\u08e4-\u08fe\u0900-\u0903\u093a-\u093c\u093e-\u094f\u0951-\u0957\u0962-\u0963\u0966-\u096f\u0981-\u0983\u09bc\u09be-\u09c4\u09c7\u09c8\u09d7\u09df-\u09e0\u0a01-\u0a03\u0a3c\u0a3e-\u0a42\u0a47\u0a48\u0a4b-\u0a4d\u0a51\u0a66-\u0a71\u0a75\u0a81-\u0a83\u0abc\u0abe-\u0ac5\u0ac7-\u0ac9\u0acb-\u0acd\u0ae2-\u0ae3\u0ae6-\u0aef\u0b01-\u0b03\u0b3c\u0b3e-\u0b44\u0b47\u0b48\u0b4b-\u0b4d\u0b56\u0b57\u0b5f-\u0b60\u0b66-\u0b6f\u0b82\u0bbe-\u0bc2\u0bc6-\u0bc8\u0bca-\u0bcd\u0bd7\u0be6-\u0bef\u0c01-\u0c03\u0c46-\u0c48\u0c4a-\u0c4d\u0c55\u0c56\u0c62-\u0c63\u0c66-\u0c6f\u0c82\u0c83\u0cbc\u0cbe-\u0cc4\u0cc6-\u0cc8\u0cca-\u0ccd\u0cd5\u0cd6\u0ce2-\u0ce3\u0ce6-\u0cef\u0d02\u0d03\u0d46-\u0d48\u0d57\u0d62-\u0d63\u0d66-\u0d6f\u0d82\u0d83\u0dca\u0dcf-\u0dd4\u0dd6\u0dd8-\u0ddf\u0df2\u0df3\u0e34-\u0e3a\u0e40-\u0e45\u0e50-\u0e59\u0eb4-\u0eb9\u0ec8-\u0ecd\u0ed0-\u0ed9\u0f18\u0f19\u0f20-\u0f29\u0f35\u0f37\u0f39\u0f41-\u0f47\u0f71-\u0f84\u0f86-\u0f87\u0f8d-\u0f97\u0f99-\u0fbc\u0fc6\u1000-\u1029\u1040-\u1049\u1067-\u106d\u1071-\u1074\u1082-\u108d\u108f-\u109d\u135d-\u135f\u170e-\u1710\u1720-\u1730\u1740-\u1750\u1772\u1773\u1780-\u17b2\u17dd\u17e0-\u17e9\u180b-\u180d\u1810-\u1819\u1920-\u192b\u1930-\u193b\u1951-\u196d\u19b0-\u19c0\u19c8-\u19c9\u19d0-\u19d9\u1a00-\u1a15\u1a20-\u1a53\u1a60-\u1a7c\u1a7f-\u1a89\u1a90-\u1a99\u1b46-\u1b4b\u1b50-\u1b59\u1b6b-\u1b73\u1bb0-\u1bb9\u1be6-\u1bf3\u1c00-\u1c22\u1c40-\u1c49\u1c5b-\u1c7d\u1cd0-\u1cd2\u1d00-\u1dbe\u1e01-\u1f15\u200c\u200d\u203f\u2040\u2054\u20d0-\u20dc\u20e1\u20e5-\u20f0\u2d81-\u2d96\u2de0-\u2dff\u3021-\u3028\u3099\u309a\ua640-\ua66d\ua674-\ua67d\ua69f\ua6f0-\ua6f1\ua7f8-\ua800\ua806\ua80b\ua823-\ua827\ua880-\ua881\ua8b4-\ua8c4\ua8d0-\ua8d9\ua8f3-\ua8f7\ua900-\ua909\ua926-\ua92d\ua930-\ua945\ua980-\ua983\ua9b3-\ua9c0\uaa00-\uaa27\uaa40-\uaa41\uaa4c-\uaa4d\uaa50-\uaa59\uaa7b\uaae0-\uaae9\uaaf2-\uaaf3\uabc0-\uabe1\uabec\uabed\uabf0-\uabf9\ufb20-\ufb28\ufe00-\ufe0f\ufe20-\ufe26\ufe33\ufe34\ufe4d-\ufe4f\uff10-\uff19\uff3f]"), Va = /[\n\r\u2028\u2029]/, Sa = /\r\n|[\n\r\u2028\u2029]/g, ra, nb = {
|
|
955
|
-
kind: "loop"
|
|
956
|
-
}, Wc = {
|
|
957
|
-
kind: "switch"
|
|
958
|
-
};
|
|
959
|
-
};
|
|
960
|
-
// BUILDER.IO: replace below line:
|
|
961
|
-
// "object"===typeof exports&&"object"===typeof module?ca(exports):"function"===typeof define&&define.jc?define(["exports"],ca):ca(this.j||(this.j={}));
|
|
962
|
-
// with this:
|
|
963
|
-
var __this = __this = "undefined" === typeof globalThis ? this : globalThis;
|
|
964
|
-
ca(__this.j || (__this.j = {}));
|
|
965
|
-
/*
|
|
966
|
-
Copyright 2013 Google LLC
|
|
967
|
-
SPDX-License-Identifier: Apache-2.0
|
|
968
|
-
*/
|
|
969
|
-
function t(a, b) {
|
|
970
|
-
"string" === typeof a && (a = da(a, "code"));
|
|
971
|
-
var d = a.constructor;
|
|
972
|
-
this.ya = function () {
|
|
973
|
-
return new d({
|
|
974
|
-
options: {}
|
|
975
|
-
});
|
|
976
|
-
};
|
|
977
|
-
var c = this.ya(), e;
|
|
978
|
-
for (e in a)
|
|
979
|
-
c[e] = "body" === e ? a[e].slice() : a[e];
|
|
980
|
-
this.ra = c;
|
|
981
|
-
this.ca = [];
|
|
982
|
-
this.qb = b;
|
|
983
|
-
this.za = !1;
|
|
984
|
-
this.ba = [];
|
|
985
|
-
this.Ya = 0;
|
|
986
|
-
this.rb = Object.create(null);
|
|
987
|
-
a = /^step([A-Z]\w*)$/;
|
|
988
|
-
var h, k;
|
|
989
|
-
for (k in this)
|
|
990
|
-
"function" === typeof this[k] && (h = k.match(a)) && (this.rb[h[1]] = this[k].bind(this));
|
|
991
|
-
this.N = ea(this, this.ra, null);
|
|
992
|
-
this.Na = this.N.object;
|
|
993
|
-
this.ra = da(this.ba.join("\n"), "polyfills");
|
|
994
|
-
this.ba = void 0;
|
|
995
|
-
fa(this.ra);
|
|
996
|
-
h = new u(this.ra, this.N);
|
|
997
|
-
h.done = !1;
|
|
998
|
-
this.o = [h];
|
|
999
|
-
this.Eb();
|
|
1000
|
-
this.value = void 0;
|
|
1001
|
-
this.ra = c;
|
|
1002
|
-
h = new u(this.ra, this.N);
|
|
1003
|
-
h.done = !1;
|
|
1004
|
-
this.o.length = 0;
|
|
1005
|
-
this.o[0] = h;
|
|
1006
|
-
}
|
|
1007
|
-
var ka = {
|
|
1008
|
-
C: !0,
|
|
1009
|
-
kc: 5
|
|
1010
|
-
}, ua = {
|
|
1011
|
-
configurable: !0,
|
|
1012
|
-
enumerable: !0,
|
|
1013
|
-
writable: !1
|
|
1014
|
-
}, v = {
|
|
1015
|
-
configurable: !0,
|
|
1016
|
-
enumerable: !1,
|
|
1017
|
-
writable: !0
|
|
1018
|
-
}, A = {
|
|
1019
|
-
configurable: !0,
|
|
1020
|
-
enumerable: !1,
|
|
1021
|
-
writable: !1
|
|
1022
|
-
}, va = {
|
|
1023
|
-
configurable: !1,
|
|
1024
|
-
enumerable: !1,
|
|
1025
|
-
writable: !1
|
|
1026
|
-
}, wa = {
|
|
1027
|
-
configurable: !1,
|
|
1028
|
-
enumerable: !0,
|
|
1029
|
-
writable: !0
|
|
1030
|
-
}, xa = {
|
|
1031
|
-
STEP_ERROR: !0
|
|
1032
|
-
}, Ha = {
|
|
1033
|
-
SCOPE_REFERENCE: !0
|
|
1034
|
-
}, Ia = {
|
|
1035
|
-
VALUE_IN_DESCRIPTOR: !0
|
|
1036
|
-
}, Ja = {
|
|
1037
|
-
REGEXP_TIMEOUT: !0
|
|
1038
|
-
}, Ka = [], La = null, Ma = null, Na = "undefined" === typeof globalThis ? this : globalThis, Oa = ["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();", "};"];
|
|
1039
|
-
function Pa(a) {
|
|
1040
|
-
var b = a >>> 0;
|
|
1041
|
-
return b === Number(a) ? b : NaN;
|
|
1042
|
-
}
|
|
1043
|
-
function Qa(a) {
|
|
1044
|
-
var b = a >>> 0;
|
|
1045
|
-
return String(b) === String(a) && 4294967295 !== b ? b : NaN;
|
|
1046
|
-
}
|
|
1047
|
-
function fa(a, b, d) {
|
|
1048
|
-
b ? a.start = b : delete a.start;
|
|
1049
|
-
d ? a.end = d : delete a.end;
|
|
1050
|
-
for (var c in a)
|
|
1051
|
-
if ("loc" !== c && a.hasOwnProperty(c)) {
|
|
1052
|
-
var e = a[c];
|
|
1053
|
-
e && "object" === typeof e && fa(e, b, d);
|
|
1054
|
-
}
|
|
1055
|
-
}
|
|
1056
|
-
t.prototype.REGEXP_MODE = 2;
|
|
1057
|
-
t.prototype.REGEXP_THREAD_TIMEOUT = 1E3;
|
|
1058
|
-
t.prototype.POLYFILL_TIMEOUT = 1E3;
|
|
1059
|
-
p = t.prototype;
|
|
1060
|
-
p.P = !1;
|
|
1061
|
-
p.Ka = !1;
|
|
1062
|
-
p.Kb = 0;
|
|
1063
|
-
p.ic = 0;
|
|
1064
|
-
function da(a, b) {
|
|
1065
|
-
var d = {}, c;
|
|
1066
|
-
for (c in ka)
|
|
1067
|
-
d[c] = ka[c];
|
|
1068
|
-
d.sourceFile = b;
|
|
1069
|
-
return Na.j.parse(a, d);
|
|
1070
|
-
}
|
|
1071
|
-
p.Jb = function (a) {
|
|
1072
|
-
var b = this.o[0];
|
|
1073
|
-
if (!b || "Program" !== b.node.type)
|
|
1074
|
-
throw Error("Expecting original AST to start with a Program node");
|
|
1075
|
-
"string" === typeof a && (a = da(a, "appendCode" + this.Kb++));
|
|
1076
|
-
if (!a || "Program" !== a.type)
|
|
1077
|
-
throw Error("Expecting new AST to start with a Program node");
|
|
1078
|
-
Ra(this, a, b.scope);
|
|
1079
|
-
Array.prototype.push.apply(b.node.body, a.body);
|
|
1080
|
-
b.node.body.jb = null;
|
|
1081
|
-
b.done = !1;
|
|
1082
|
-
};
|
|
1083
|
-
p.lb = function () {
|
|
1084
|
-
var a = this.o, b;
|
|
1085
|
-
do {
|
|
1086
|
-
var d = a[a.length - 1];
|
|
1087
|
-
if (this.za)
|
|
1088
|
-
break;
|
|
1089
|
-
else if (!d || "Program" === d.node.type && d.done) {
|
|
1090
|
-
if (!this.ca.length)
|
|
1091
|
-
return !1;
|
|
1092
|
-
d = this.ca[0];
|
|
1093
|
-
if (!d || d.time > Date.now())
|
|
1094
|
-
d = null;
|
|
1095
|
-
else {
|
|
1096
|
-
this.ca.shift();
|
|
1097
|
-
0 <= d.interval && ab(this, d, d.interval);
|
|
1098
|
-
var c = new u(d.node, d.scope);
|
|
1099
|
-
d.zb && (c.ia = 2, c.B = this.Na, c.U = d.zb, c.Qa = !0, c.F = d.Lb);
|
|
1100
|
-
d = c;
|
|
1101
|
-
}
|
|
1102
|
-
if (!d)
|
|
1103
|
-
break;
|
|
1104
|
-
}
|
|
1105
|
-
c = d.node;
|
|
1106
|
-
var e = Ma;
|
|
1107
|
-
Ma = this;
|
|
1108
|
-
try {
|
|
1109
|
-
var h = this.rb[c.type](a, d, c);
|
|
1110
|
-
}
|
|
1111
|
-
catch (k) {
|
|
1112
|
-
if (k !== xa)
|
|
1113
|
-
throw this.value !== k && (this.value = void 0), k;
|
|
1114
|
-
}
|
|
1115
|
-
finally {
|
|
1116
|
-
Ma = e;
|
|
1117
|
-
}
|
|
1118
|
-
h && a.push(h);
|
|
1119
|
-
if (this.P)
|
|
1120
|
-
throw this.value = void 0, Error("Getter not supported in this context");
|
|
1121
|
-
if (this.Ka)
|
|
1122
|
-
throw this.value = void 0, Error("Setter not supported in this context");
|
|
1123
|
-
b || c.end || (b = Date.now() + this.POLYFILL_TIMEOUT);
|
|
1124
|
-
} while (!c.end && b > Date.now());
|
|
1125
|
-
return !0;
|
|
1126
|
-
};
|
|
1127
|
-
p.Eb = function () {
|
|
1128
|
-
for (; !this.za && this.lb();)
|
|
1129
|
-
;
|
|
1130
|
-
return this.za;
|
|
1131
|
-
};
|
|
1132
|
-
function bb(a, b) {
|
|
1133
|
-
a.g(b, "NaN", NaN, va);
|
|
1134
|
-
a.g(b, "Infinity", Infinity, va);
|
|
1135
|
-
a.g(b, "undefined", void 0, va);
|
|
1136
|
-
a.g(b, "window", b, ua);
|
|
1137
|
-
a.g(b, "this", b, va);
|
|
1138
|
-
a.g(b, "self", b);
|
|
1139
|
-
a.M = new D(null);
|
|
1140
|
-
a.Z = new D(a.M);
|
|
1141
|
-
Ab(a, b);
|
|
1142
|
-
Bb(a, b);
|
|
1143
|
-
b.xa = a.M;
|
|
1144
|
-
a.g(b, "constructor", a.v, v);
|
|
1145
|
-
Cb(a, b);
|
|
1146
|
-
Db(a, b);
|
|
1147
|
-
Eb(a, b);
|
|
1148
|
-
Fb(a, b);
|
|
1149
|
-
Gb(a, b);
|
|
1150
|
-
Hb(a, b);
|
|
1151
|
-
Ib(a, b);
|
|
1152
|
-
Jb(a, b);
|
|
1153
|
-
Kb(a, b);
|
|
1154
|
-
var d = a.i(function () {
|
|
1155
|
-
throw EvalError("Can't happen");
|
|
1156
|
-
}, !1);
|
|
1157
|
-
d.eval = !0;
|
|
1158
|
-
a.g(b, "eval", d, v);
|
|
1159
|
-
a.g(b, "parseInt", a.i(parseInt, !1), v);
|
|
1160
|
-
a.g(b, "parseFloat", a.i(parseFloat, !1), v);
|
|
1161
|
-
a.g(b, "isNaN", a.i(isNaN, !1), v);
|
|
1162
|
-
a.g(b, "isFinite", a.i(isFinite, !1), v);
|
|
1163
|
-
for (var c = [[escape, "escape"], [unescape, "unescape"], [decodeURI, "decodeURI"], [decodeURIComponent, "decodeURIComponent"], [encodeURI, "encodeURI"], [encodeURIComponent, "encodeURIComponent"]], e = 0; e < c.length; e++)
|
|
1164
|
-
d = function (h) {
|
|
1165
|
-
return function (k) {
|
|
1166
|
-
try {
|
|
1167
|
-
return h(k);
|
|
1168
|
-
}
|
|
1169
|
-
catch (q) {
|
|
1170
|
-
K(a, a.Gb, q.message);
|
|
1171
|
-
}
|
|
1172
|
-
};
|
|
1173
|
-
}(c[e][0]), a.g(b, c[e][1], a.i(d, !1), v);
|
|
1174
|
-
d = function (h) {
|
|
1175
|
-
return Lb(a, !1, arguments);
|
|
1176
|
-
};
|
|
1177
|
-
a.g(b, "setTimeout", a.i(d, !1), v);
|
|
1178
|
-
d = function (h) {
|
|
1179
|
-
return Lb(a, !0, arguments);
|
|
1180
|
-
};
|
|
1181
|
-
a.g(b, "setInterval", a.i(d, !1), v);
|
|
1182
|
-
d = function (h) {
|
|
1183
|
-
Mb(a, h);
|
|
1184
|
-
};
|
|
1185
|
-
a.g(b, "clearTimeout", a.i(d, !1), v);
|
|
1186
|
-
d = function (h) {
|
|
1187
|
-
Mb(a, h);
|
|
1188
|
-
};
|
|
1189
|
-
a.g(b, "clearInterval", a.i(d, !1), v);
|
|
1190
|
-
a.OBJECT = a.v;
|
|
1191
|
-
a.OBJECT_PROTO = a.M;
|
|
1192
|
-
a.FUNCTION = a.O;
|
|
1193
|
-
a.FUNCTION_PROTO = a.Z;
|
|
1194
|
-
a.ARRAY = a.qa;
|
|
1195
|
-
a.ARRAY_PROTO = a.La;
|
|
1196
|
-
a.REGEXP = a.I;
|
|
1197
|
-
a.REGEXP_PROTO = a.Ma;
|
|
1198
|
-
a.DATE = a.$;
|
|
1199
|
-
a.DATE_PROTO = a.nb;
|
|
1200
|
-
a.qb && a.qb(a, b);
|
|
1201
|
-
}
|
|
1202
|
-
p.Wb = 0;
|
|
1203
|
-
function Ab(a, b) {
|
|
1204
|
-
var d = /^[A-Za-z_$][\w$]*$/;
|
|
1205
|
-
var c = function (e) {
|
|
1206
|
-
var h = arguments.length ? String(arguments[arguments.length - 1]) : "", k = Array.prototype.slice.call(arguments, 0, -1).join(",").trim();
|
|
1207
|
-
if (k) {
|
|
1208
|
-
k = k.split(/\s*,\s*/);
|
|
1209
|
-
for (var q = 0; q < k.length; q++) {
|
|
1210
|
-
var C = k[q];
|
|
1211
|
-
d.test(C) || K(a, a.T, "Invalid function argument: " + C);
|
|
1212
|
-
}
|
|
1213
|
-
k = k.join(", ");
|
|
1214
|
-
}
|
|
1215
|
-
try {
|
|
1216
|
-
var U = da("(function(" + k + ") {" + h + "})", "function" + a.Wb++);
|
|
1217
|
-
}
|
|
1218
|
-
catch (N) {
|
|
1219
|
-
K(a, a.T, "Invalid code: " + N.message);
|
|
1220
|
-
}
|
|
1221
|
-
1 !== U.body.length && K(a, a.T, "Invalid code in function body");
|
|
1222
|
-
return Nb(a, U.body[0].la, a.N, "anonymous");
|
|
1223
|
-
};
|
|
1224
|
-
a.O = a.i(c, !0);
|
|
1225
|
-
a.g(b, "Function", a.O, v);
|
|
1226
|
-
a.g(a.O, "prototype", a.Z, v);
|
|
1227
|
-
a.g(a.Z, "constructor", a.O, v);
|
|
1228
|
-
a.Z.Ta = function () { };
|
|
1229
|
-
a.Z.Ta.id = a.Ya++;
|
|
1230
|
-
a.Z.Ab = !0;
|
|
1231
|
-
a.g(a.Z, "length", 0, A);
|
|
1232
|
-
a.Z.H = "Function";
|
|
1233
|
-
c = function (e, h) {
|
|
1234
|
-
var k = a.o[a.o.length - 1];
|
|
1235
|
-
k.U = this;
|
|
1236
|
-
k.B = e;
|
|
1237
|
-
k.F = [];
|
|
1238
|
-
null !== h && void 0 !== h && (h instanceof D ? k.F = Ob(a, h) : K(a, a.j, "CreateListFromArrayLike called on non-object"));
|
|
1239
|
-
k.eb = !1;
|
|
1240
|
-
};
|
|
1241
|
-
M(a, a.O, "apply", c);
|
|
1242
|
-
c = function (e) {
|
|
1243
|
-
var h = a.o[a.o.length - 1];
|
|
1244
|
-
h.U = this;
|
|
1245
|
-
h.B = e;
|
|
1246
|
-
h.F = [];
|
|
1247
|
-
for (var k = 1; k < arguments.length; k++)
|
|
1248
|
-
h.F.push(arguments[k]);
|
|
1249
|
-
h.eb = !1;
|
|
1250
|
-
};
|
|
1251
|
-
M(a, a.O, "call", c);
|
|
1252
|
-
a.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;", "}", "});", "");
|
|
1253
|
-
c = function () {
|
|
1254
|
-
return String(this);
|
|
1255
|
-
};
|
|
1256
|
-
M(a, a.O, "toString", c);
|
|
1257
|
-
a.g(a.O, "toString", a.i(c, !1), v);
|
|
1258
|
-
c = function () {
|
|
1259
|
-
return this.valueOf();
|
|
1260
|
-
};
|
|
1261
|
-
M(a, a.O, "valueOf", c);
|
|
1262
|
-
a.g(a.O, "valueOf", a.i(c, !1), v);
|
|
1263
|
-
}
|
|
1264
|
-
function Bb(a, b) {
|
|
1265
|
-
function d(e) {
|
|
1266
|
-
void 0 !== e && null !== e || K(a, a.j, "Cannot convert '" + e + "' to object");
|
|
1267
|
-
}
|
|
1268
|
-
var c = function (e) {
|
|
1269
|
-
if (void 0 === e || null === e)
|
|
1270
|
-
return zc(a) ? this : a.s(a.M);
|
|
1271
|
-
if (!(e instanceof D)) {
|
|
1272
|
-
var h = a.s(Ac(a, e));
|
|
1273
|
-
h.data = e;
|
|
1274
|
-
return h;
|
|
1275
|
-
}
|
|
1276
|
-
return e;
|
|
1277
|
-
};
|
|
1278
|
-
a.v = a.i(c, !0);
|
|
1279
|
-
a.g(a.v, "prototype", a.M, v);
|
|
1280
|
-
a.g(a.M, "constructor", a.v, v);
|
|
1281
|
-
a.g(b, "Object", a.v, v);
|
|
1282
|
-
c = function (e) {
|
|
1283
|
-
d(e);
|
|
1284
|
-
return Bc(a, Object.getOwnPropertyNames(e instanceof D ? e.h : e));
|
|
1285
|
-
};
|
|
1286
|
-
a.g(a.v, "getOwnPropertyNames", a.i(c, !1), v);
|
|
1287
|
-
c = function (e) {
|
|
1288
|
-
d(e);
|
|
1289
|
-
e instanceof D && (e = e.h);
|
|
1290
|
-
return Bc(a, Object.keys(e));
|
|
1291
|
-
};
|
|
1292
|
-
a.g(a.v, "keys", a.i(c, !1), v);
|
|
1293
|
-
c = function (e) {
|
|
1294
|
-
if (null === e)
|
|
1295
|
-
return a.s(null);
|
|
1296
|
-
e instanceof D || K(a, a.j, "Object prototype may only be an Object or null, not " + e);
|
|
1297
|
-
return a.s(e);
|
|
1298
|
-
};
|
|
1299
|
-
a.g(a.v, "create", a.i(c, !1), v);
|
|
1300
|
-
a.ba.push("(function() {", "var create_ = Object.create;", "Object.create = function create(proto, props) {", "var obj = create_(proto);", "props && Object.defineProperties(obj, props);", "return obj;", "};", "})();", "");
|
|
1301
|
-
c = function (e, h, k) {
|
|
1302
|
-
h = String(h);
|
|
1303
|
-
e instanceof D || K(a, a.j, "Object.defineProperty called on non-object: " + e);
|
|
1304
|
-
k instanceof D || K(a, a.j, "Property description must be an object");
|
|
1305
|
-
!e.preventExtensions || h in e.h || K(a, a.j, "Can't define property '" + h + "', object is not extensible");
|
|
1306
|
-
a.g(e, h, Ia, k.h);
|
|
1307
|
-
return e;
|
|
1308
|
-
};
|
|
1309
|
-
a.g(a.v, "defineProperty", a.i(c, !1), v);
|
|
1310
|
-
a.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;", "}", "});", "");
|
|
1311
|
-
c = function (e, h) {
|
|
1312
|
-
e instanceof D || K(a, a.j, "Object.getOwnPropertyDescriptor called on non-object: " + e);
|
|
1313
|
-
h = String(h);
|
|
1314
|
-
if (h in e.h) {
|
|
1315
|
-
var k = Object.getOwnPropertyDescriptor(e.h, h), q = e.V[h];
|
|
1316
|
-
e = e.Y[h];
|
|
1317
|
-
h = a.s(a.M);
|
|
1318
|
-
q || e ? (a.g(h, "get", q), a.g(h, "set", e)) : (a.g(h, "value", k.value), a.g(h, "writable", k.writable));
|
|
1319
|
-
a.g(h, "configurable", k.configurable);
|
|
1320
|
-
a.g(h, "enumerable", k.enumerable);
|
|
1321
|
-
return h;
|
|
1322
|
-
}
|
|
1323
|
-
};
|
|
1324
|
-
a.g(a.v, "getOwnPropertyDescriptor", a.i(c, !1), v);
|
|
1325
|
-
c = function (e) {
|
|
1326
|
-
d(e);
|
|
1327
|
-
return Ac(a, e);
|
|
1328
|
-
};
|
|
1329
|
-
a.g(a.v, "getPrototypeOf", a.i(c, !1), v);
|
|
1330
|
-
c = function (e) {
|
|
1331
|
-
return !!e && !e.preventExtensions;
|
|
1332
|
-
};
|
|
1333
|
-
a.g(a.v, "isExtensible", a.i(c, !1), v);
|
|
1334
|
-
c = function (e) {
|
|
1335
|
-
e instanceof D && (e.preventExtensions = !0);
|
|
1336
|
-
return e;
|
|
1337
|
-
};
|
|
1338
|
-
a.g(a.v, "preventExtensions", a.i(c, !1), v);
|
|
1339
|
-
M(a, a.v, "toString", D.prototype.toString);
|
|
1340
|
-
M(a, a.v, "toLocaleString", D.prototype.toString);
|
|
1341
|
-
M(a, a.v, "valueOf", D.prototype.valueOf);
|
|
1342
|
-
c = function (e) {
|
|
1343
|
-
d(this);
|
|
1344
|
-
return this instanceof D ? String(e) in this.h : this.hasOwnProperty(e);
|
|
1345
|
-
};
|
|
1346
|
-
M(a, a.v, "hasOwnProperty", c);
|
|
1347
|
-
c = function (e) {
|
|
1348
|
-
d(this);
|
|
1349
|
-
return this instanceof D ? Object.prototype.propertyIsEnumerable.call(this.h, e) : this.propertyIsEnumerable(e);
|
|
1350
|
-
};
|
|
1351
|
-
M(a, a.v, "propertyIsEnumerable", c);
|
|
1352
|
-
c = function (e) {
|
|
1353
|
-
for (;;) {
|
|
1354
|
-
e = Ac(a, e);
|
|
1355
|
-
if (!e)
|
|
1356
|
-
return !1;
|
|
1357
|
-
if (e === this)
|
|
1358
|
-
return !0;
|
|
1359
|
-
}
|
|
1360
|
-
};
|
|
1361
|
-
M(a, a.v, "isPrototypeOf", c);
|
|
1362
|
-
}
|
|
1363
|
-
function Cb(a, b) {
|
|
1364
|
-
var d = function (c) {
|
|
1365
|
-
var e = zc(a) ? this : Cc(a), h = arguments[0];
|
|
1366
|
-
if (1 === arguments.length && "number" === typeof h)
|
|
1367
|
-
isNaN(Pa(h)) && K(a, a.ob, "Invalid array length: " + h), e.h.length = h;
|
|
1368
|
-
else {
|
|
1369
|
-
for (h = 0; h < arguments.length; h++)
|
|
1370
|
-
e.h[h] = arguments[h];
|
|
1371
|
-
e.h.length = h;
|
|
1372
|
-
}
|
|
1373
|
-
return e;
|
|
1374
|
-
};
|
|
1375
|
-
a.qa = a.i(d, !0);
|
|
1376
|
-
a.La = a.qa.h.prototype;
|
|
1377
|
-
a.g(b, "Array", a.qa, v);
|
|
1378
|
-
d = function (c) {
|
|
1379
|
-
return c && "Array" === c.H;
|
|
1380
|
-
};
|
|
1381
|
-
a.g(a.qa, "isArray", a.i(d, !1), v);
|
|
1382
|
-
a.g(a.La, "length", 0, {
|
|
1383
|
-
configurable: !1,
|
|
1384
|
-
enumerable: !1,
|
|
1385
|
-
writable: !0
|
|
1386
|
-
});
|
|
1387
|
-
a.La.H = "Array";
|
|
1388
|
-
a.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(',');", "}", ");", "})();", "");
|
|
1389
|
-
}
|
|
1390
|
-
function Db(a, b) {
|
|
1391
|
-
var d = function (c) {
|
|
1392
|
-
c = arguments.length ? Na.String(c) : "";
|
|
1393
|
-
return zc(a) ? (this.data = c, this) : c;
|
|
1394
|
-
};
|
|
1395
|
-
a.J = a.i(d, !0);
|
|
1396
|
-
a.g(b, "String", a.J, v);
|
|
1397
|
-
a.g(a.J, "fromCharCode", a.i(String.fromCharCode, !1), v);
|
|
1398
|
-
b = "charAt charCodeAt concat indexOf lastIndexOf slice substr substring toLocaleLowerCase toLocaleUpperCase toLowerCase toUpperCase trim".split(" ");
|
|
1399
|
-
for (d = 0; d < b.length; d++)
|
|
1400
|
-
M(a, a.J, b[d], String.prototype[b[d]]);
|
|
1401
|
-
d = function (c, e, h) {
|
|
1402
|
-
e = a.R(e);
|
|
1403
|
-
h = a.R(h);
|
|
1404
|
-
try {
|
|
1405
|
-
return String(this).localeCompare(c, e, h);
|
|
1406
|
-
}
|
|
1407
|
-
catch (k) {
|
|
1408
|
-
K(a, a.D, "localeCompare: " + k.message);
|
|
1409
|
-
}
|
|
1410
|
-
};
|
|
1411
|
-
M(a, a.J, "localeCompare", d);
|
|
1412
|
-
d = function (c, e, h) {
|
|
1413
|
-
var k = String(this);
|
|
1414
|
-
e = e ? Number(e) : void 0;
|
|
1415
|
-
if (Q(a, c, a.I) && (c = c.data, Dc(a, c, h), 2 === a.REGEXP_MODE)) {
|
|
1416
|
-
if (La)
|
|
1417
|
-
c = Ec(a, "string.split(separator, limit)", {
|
|
1418
|
-
string: k,
|
|
1419
|
-
separator: c,
|
|
1420
|
-
limit: e
|
|
1421
|
-
}, c, h), c !== Ja && h(Bc(a, c));
|
|
1422
|
-
else {
|
|
1423
|
-
var q = a.ha(), C = Fc(a, c, q, h);
|
|
1424
|
-
q.onmessage = function (U) {
|
|
1425
|
-
clearTimeout(C);
|
|
1426
|
-
h(Bc(a, U.data));
|
|
1427
|
-
};
|
|
1428
|
-
q.postMessage(["split", k, c, e]);
|
|
1429
|
-
}
|
|
1430
|
-
return;
|
|
1431
|
-
}
|
|
1432
|
-
c = k.split(c, e);
|
|
1433
|
-
h(Bc(a, c));
|
|
1434
|
-
};
|
|
1435
|
-
Gc(a, a.J, "split", d);
|
|
1436
|
-
d = function (c, e) {
|
|
1437
|
-
var h = String(this);
|
|
1438
|
-
c = Q(a, c, a.I) ? c.data : new RegExp(c);
|
|
1439
|
-
Dc(a, c, e);
|
|
1440
|
-
if (2 === a.REGEXP_MODE) {
|
|
1441
|
-
if (La)
|
|
1442
|
-
c = Ec(a, "string.match(regexp)", {
|
|
1443
|
-
string: h,
|
|
1444
|
-
regexp: c
|
|
1445
|
-
}, c, e), c !== Ja && e(c && Bc(a, c));
|
|
1446
|
-
else {
|
|
1447
|
-
var k = a.ha(), q = Fc(a, c, k, e);
|
|
1448
|
-
k.onmessage = function (C) {
|
|
1449
|
-
clearTimeout(q);
|
|
1450
|
-
e(C.data && Bc(a, C.data));
|
|
1451
|
-
};
|
|
1452
|
-
k.postMessage(["match", h, c]);
|
|
1453
|
-
}
|
|
1454
|
-
}
|
|
1455
|
-
else
|
|
1456
|
-
c = h.match(c), e(c && Bc(a, c));
|
|
1457
|
-
};
|
|
1458
|
-
Gc(a, a.J, "match", d);
|
|
1459
|
-
d = function (c, e) {
|
|
1460
|
-
var h = String(this);
|
|
1461
|
-
Q(a, c, a.I) ? c = c.data : c = new RegExp(c);
|
|
1462
|
-
Dc(a, c, e);
|
|
1463
|
-
if (2 === a.REGEXP_MODE) {
|
|
1464
|
-
if (La)
|
|
1465
|
-
c = Ec(a, "string.search(regexp)", {
|
|
1466
|
-
string: h,
|
|
1467
|
-
regexp: c
|
|
1468
|
-
}, c, e), c !== Ja && e(c);
|
|
1469
|
-
else {
|
|
1470
|
-
var k = a.ha(), q = Fc(a, c, k, e);
|
|
1471
|
-
k.onmessage = function (C) {
|
|
1472
|
-
clearTimeout(q);
|
|
1473
|
-
e(C.data);
|
|
1474
|
-
};
|
|
1475
|
-
k.postMessage(["search", h, c]);
|
|
1476
|
-
}
|
|
1477
|
-
}
|
|
1478
|
-
else
|
|
1479
|
-
e(h.search(c));
|
|
1480
|
-
};
|
|
1481
|
-
Gc(a, a.J, "search", d);
|
|
1482
|
-
d = function (c, e, h) {
|
|
1483
|
-
var k = String(this);
|
|
1484
|
-
e = String(e);
|
|
1485
|
-
if (Q(a, c, a.I) && (c = c.data, Dc(a, c, h), 2 === a.REGEXP_MODE)) {
|
|
1486
|
-
if (La)
|
|
1487
|
-
c = Ec(a, "string.replace(substr, newSubstr)", {
|
|
1488
|
-
string: k,
|
|
1489
|
-
substr: c,
|
|
1490
|
-
newSubstr: e
|
|
1491
|
-
}, c, h), c !== Ja && h(c);
|
|
1492
|
-
else {
|
|
1493
|
-
var q = a.ha(), C = Fc(a, c, q, h);
|
|
1494
|
-
q.onmessage = function (U) {
|
|
1495
|
-
clearTimeout(C);
|
|
1496
|
-
h(U.data);
|
|
1497
|
-
};
|
|
1498
|
-
q.postMessage(["replace", k, c, e]);
|
|
1499
|
-
}
|
|
1500
|
-
return;
|
|
1501
|
-
}
|
|
1502
|
-
h(k.replace(c, e));
|
|
1503
|
-
};
|
|
1504
|
-
Gc(a, a.J, "replace", d);
|
|
1505
|
-
a.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;", "};", "})();", "");
|
|
1506
|
-
}
|
|
1507
|
-
function Eb(a, b) {
|
|
1508
|
-
a.mb = a.i(function (d) {
|
|
1509
|
-
d = Na.Boolean(d);
|
|
1510
|
-
return zc(a) ? (this.data = d, this) : d;
|
|
1511
|
-
}, !0);
|
|
1512
|
-
a.g(b, "Boolean", a.mb, v);
|
|
1513
|
-
}
|
|
1514
|
-
function Fb(a, b) {
|
|
1515
|
-
var d = function (c) {
|
|
1516
|
-
c = arguments.length ? Na.Number(c) : 0;
|
|
1517
|
-
return zc(a) ? (this.data = c, this) : c;
|
|
1518
|
-
};
|
|
1519
|
-
a.aa = a.i(d, !0);
|
|
1520
|
-
a.g(b, "Number", a.aa, v);
|
|
1521
|
-
b = ["MAX_VALUE", "MIN_VALUE", "NaN", "NEGATIVE_INFINITY", "POSITIVE_INFINITY"];
|
|
1522
|
-
for (d = 0; d < b.length; d++)
|
|
1523
|
-
a.g(a.aa, b[d], Number[b[d]], va);
|
|
1524
|
-
d = function (c) {
|
|
1525
|
-
try {
|
|
1526
|
-
return Number(this).toExponential(c);
|
|
1527
|
-
}
|
|
1528
|
-
catch (e) {
|
|
1529
|
-
K(a, a.D, e.message);
|
|
1530
|
-
}
|
|
1531
|
-
};
|
|
1532
|
-
M(a, a.aa, "toExponential", d);
|
|
1533
|
-
d = function (c) {
|
|
1534
|
-
try {
|
|
1535
|
-
return Number(this).toFixed(c);
|
|
1536
|
-
}
|
|
1537
|
-
catch (e) {
|
|
1538
|
-
K(a, a.D, e.message);
|
|
1539
|
-
}
|
|
1540
|
-
};
|
|
1541
|
-
M(a, a.aa, "toFixed", d);
|
|
1542
|
-
d = function (c) {
|
|
1543
|
-
try {
|
|
1544
|
-
return Number(this).toPrecision(c);
|
|
1545
|
-
}
|
|
1546
|
-
catch (e) {
|
|
1547
|
-
K(a, a.D, e.message);
|
|
1548
|
-
}
|
|
1549
|
-
};
|
|
1550
|
-
M(a, a.aa, "toPrecision", d);
|
|
1551
|
-
d = function (c) {
|
|
1552
|
-
try {
|
|
1553
|
-
return Number(this).toString(c);
|
|
1554
|
-
}
|
|
1555
|
-
catch (e) {
|
|
1556
|
-
K(a, a.D, e.message);
|
|
1557
|
-
}
|
|
1558
|
-
};
|
|
1559
|
-
M(a, a.aa, "toString", d);
|
|
1560
|
-
d = function (c, e) {
|
|
1561
|
-
c = c ? a.R(c) : void 0;
|
|
1562
|
-
e = e ? a.R(e) : void 0;
|
|
1563
|
-
try {
|
|
1564
|
-
return Number(this).toLocaleString(c, e);
|
|
1565
|
-
}
|
|
1566
|
-
catch (h) {
|
|
1567
|
-
K(a, a.D, "toLocaleString: " + h.message);
|
|
1568
|
-
}
|
|
1569
|
-
};
|
|
1570
|
-
M(a, a.aa, "toLocaleString", d);
|
|
1571
|
-
}
|
|
1572
|
-
function Gb(a, b) {
|
|
1573
|
-
var d = function (e, h) {
|
|
1574
|
-
if (!zc(a))
|
|
1575
|
-
return Na.Date();
|
|
1576
|
-
var k = [null].concat(Array.from(arguments));
|
|
1577
|
-
this.data = new (Function.prototype.bind.apply(Na.Date, k))();
|
|
1578
|
-
return this;
|
|
1579
|
-
};
|
|
1580
|
-
a.$ = a.i(d, !0);
|
|
1581
|
-
a.nb = a.$.h.prototype;
|
|
1582
|
-
a.g(b, "Date", a.$, v);
|
|
1583
|
-
a.g(a.$, "now", a.i(Date.now, !1), v);
|
|
1584
|
-
a.g(a.$, "parse", a.i(Date.parse, !1), v);
|
|
1585
|
-
a.g(a.$, "UTC", a.i(Date.UTC, !1), v);
|
|
1586
|
-
b = "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(" ");
|
|
1587
|
-
for (var c = 0; c < b.length; c++)
|
|
1588
|
-
d = function (e) {
|
|
1589
|
-
return function (h) {
|
|
1590
|
-
var k = this.data;
|
|
1591
|
-
k instanceof Date || K(a, a.j, e + " not called on a Date");
|
|
1592
|
-
for (var q = [], C = 0; C < arguments.length; C++)
|
|
1593
|
-
q[C] = a.R(arguments[C]);
|
|
1594
|
-
return k[e].apply(k, q);
|
|
1595
|
-
};
|
|
1596
|
-
}(b[c]), M(a, a.$, b[c], d);
|
|
1597
|
-
}
|
|
1598
|
-
function Hb(a, b) {
|
|
1599
|
-
var d = function (c, e) {
|
|
1600
|
-
if (zc(a))
|
|
1601
|
-
var h = this;
|
|
1602
|
-
else {
|
|
1603
|
-
if (void 0 === e && Q(a, c, a.I))
|
|
1604
|
-
return c;
|
|
1605
|
-
h = a.s(a.Ma);
|
|
1606
|
-
}
|
|
1607
|
-
c = void 0 === c ? "" : String(c);
|
|
1608
|
-
e = e ? String(e) : "";
|
|
1609
|
-
/^[gmi]*$/.test(e) || K(a, a.T, "Invalid regexp flag: " + e);
|
|
1610
|
-
try {
|
|
1611
|
-
var k = new Na.RegExp(c, e);
|
|
1612
|
-
}
|
|
1613
|
-
catch (q) {
|
|
1614
|
-
K(a, a.T, q.message);
|
|
1615
|
-
}
|
|
1616
|
-
Hc(a, h, k);
|
|
1617
|
-
return h;
|
|
1618
|
-
};
|
|
1619
|
-
a.I = a.i(d, !0);
|
|
1620
|
-
a.Ma = a.I.h.prototype;
|
|
1621
|
-
a.g(b, "RegExp", a.I, v);
|
|
1622
|
-
a.g(a.I.h.prototype, "global", void 0, A);
|
|
1623
|
-
a.g(a.I.h.prototype, "ignoreCase", void 0, A);
|
|
1624
|
-
a.g(a.I.h.prototype, "multiline", void 0, A);
|
|
1625
|
-
a.g(a.I.h.prototype, "source", "(?:)", A);
|
|
1626
|
-
a.ba.push("Object.defineProperty(RegExp.prototype, 'test',", "{configurable: true, writable: true, value:", "function test(str) {", "return !!this.exec(str);", "}", "});");
|
|
1627
|
-
d = function (c, e) {
|
|
1628
|
-
function h(N) {
|
|
1629
|
-
if (N) {
|
|
1630
|
-
var F = Bc(a, N);
|
|
1631
|
-
a.g(F, "index", N.index);
|
|
1632
|
-
a.g(F, "input", N.input);
|
|
1633
|
-
return F;
|
|
1634
|
-
}
|
|
1635
|
-
return null;
|
|
1636
|
-
}
|
|
1637
|
-
var k = this.data;
|
|
1638
|
-
c = String(c);
|
|
1639
|
-
k.lastIndex = Number(a.G(this, "lastIndex"));
|
|
1640
|
-
Dc(a, k, e);
|
|
1641
|
-
if (2 === a.REGEXP_MODE) {
|
|
1642
|
-
if (La)
|
|
1643
|
-
c = Ec(a, "regexp.exec(string)", {
|
|
1644
|
-
string: c,
|
|
1645
|
-
regexp: k
|
|
1646
|
-
}, k, e), c !== Ja && (a.g(this, "lastIndex", k.lastIndex), e(h(c)));
|
|
1647
|
-
else {
|
|
1648
|
-
var q = a.ha(), C = Fc(a, k, q, e), U = this;
|
|
1649
|
-
q.onmessage = function (N) {
|
|
1650
|
-
clearTimeout(C);
|
|
1651
|
-
a.g(U, "lastIndex", N.data[1]);
|
|
1652
|
-
e(h(N.data[0]));
|
|
1653
|
-
};
|
|
1654
|
-
q.postMessage(["exec", k, k.lastIndex, c]);
|
|
1655
|
-
}
|
|
1656
|
-
}
|
|
1657
|
-
else
|
|
1658
|
-
c = k.exec(c), a.g(this, "lastIndex", k.lastIndex), e(h(c));
|
|
1659
|
-
};
|
|
1660
|
-
Gc(a, a.I, "exec", d);
|
|
1661
|
-
}
|
|
1662
|
-
function Ib(a, b) {
|
|
1663
|
-
function d(c) {
|
|
1664
|
-
var e = a.i(function (h) {
|
|
1665
|
-
var k = zc(a) ? this : a.Aa(e);
|
|
1666
|
-
Ic(a, k, h);
|
|
1667
|
-
return k;
|
|
1668
|
-
}, !0);
|
|
1669
|
-
a.g(e, "prototype", a.Aa(a.D), v);
|
|
1670
|
-
a.g(e.h.prototype, "name", c, v);
|
|
1671
|
-
a.g(b, c, e, v);
|
|
1672
|
-
return e;
|
|
1673
|
-
}
|
|
1674
|
-
a.D = a.i(function (c) {
|
|
1675
|
-
var e = zc(a) ? this : a.Aa(a.D);
|
|
1676
|
-
Ic(a, e, c);
|
|
1677
|
-
return e;
|
|
1678
|
-
}, !0);
|
|
1679
|
-
a.g(b, "Error", a.D, v);
|
|
1680
|
-
a.g(a.D.h.prototype, "message", "", v);
|
|
1681
|
-
a.g(a.D.h.prototype, "name", "Error", v);
|
|
1682
|
-
d("EvalError");
|
|
1683
|
-
a.ob = d("RangeError");
|
|
1684
|
-
a.pb = d("ReferenceError");
|
|
1685
|
-
a.T = d("SyntaxError");
|
|
1686
|
-
a.j = d("TypeError");
|
|
1687
|
-
a.Gb = d("URIError");
|
|
1688
|
-
}
|
|
1689
|
-
function Jb(a, b) {
|
|
1690
|
-
var d = a.s(a.M);
|
|
1691
|
-
a.g(b, "Math", d, v);
|
|
1692
|
-
var c = "E LN2 LN10 LOG2E LOG10E PI SQRT1_2 SQRT2".split(" ");
|
|
1693
|
-
for (b = 0; b < c.length; b++)
|
|
1694
|
-
a.g(d, c[b], Math[c[b]], A);
|
|
1695
|
-
c = "abs acos asin atan atan2 ceil cos exp floor log max min pow random round sin sqrt tan".split(" ");
|
|
1696
|
-
for (b = 0; b < c.length; b++)
|
|
1697
|
-
a.g(d, c[b], a.i(Math[c[b]], !1), v);
|
|
1698
|
-
}
|
|
1699
|
-
function Kb(a, b) {
|
|
1700
|
-
var d = a.s(a.M);
|
|
1701
|
-
a.g(b, "JSON", d, v);
|
|
1702
|
-
b = function (c) {
|
|
1703
|
-
try {
|
|
1704
|
-
var e = JSON.parse(String(c));
|
|
1705
|
-
}
|
|
1706
|
-
catch (h) {
|
|
1707
|
-
K(a, a.T, h.message);
|
|
1708
|
-
}
|
|
1709
|
-
return a.Ia(e);
|
|
1710
|
-
};
|
|
1711
|
-
a.g(d, "parse", a.i(b, !1));
|
|
1712
|
-
b = function (c, e, h) {
|
|
1713
|
-
e && "Function" === e.H ? K(a, a.j, "Function replacer on JSON.stringify not supported") : e && "Array" === e.H ? (e = Ob(a, e), e = e.filter(function (q) {
|
|
1714
|
-
return "string" === typeof q || "number" === typeof q;
|
|
1715
|
-
})) : e = null;
|
|
1716
|
-
"string" !== typeof h && "number" !== typeof h && (h = void 0);
|
|
1717
|
-
c = a.R(c);
|
|
1718
|
-
try {
|
|
1719
|
-
var k = JSON.stringify(c, e, h);
|
|
1720
|
-
}
|
|
1721
|
-
catch (q) {
|
|
1722
|
-
K(a, a.j, q.message);
|
|
1723
|
-
}
|
|
1724
|
-
return k;
|
|
1725
|
-
};
|
|
1726
|
-
a.g(d, "stringify", a.i(b, !1));
|
|
1727
|
-
}
|
|
1728
|
-
function Q(a, b, d) {
|
|
1729
|
-
if (null === b || void 0 === b || !d)
|
|
1730
|
-
return !1;
|
|
1731
|
-
d = d.h.prototype;
|
|
1732
|
-
if (b === d)
|
|
1733
|
-
return !0;
|
|
1734
|
-
for (b = Ac(a, b); b;) {
|
|
1735
|
-
if (b === d)
|
|
1736
|
-
return !0;
|
|
1737
|
-
b = b.xa;
|
|
1738
|
-
}
|
|
1739
|
-
return !1;
|
|
1740
|
-
}
|
|
1741
|
-
function Hc(a, b, d) {
|
|
1742
|
-
b.data = new RegExp(d.source, d.flags);
|
|
1743
|
-
a.g(b, "lastIndex", d.lastIndex, v);
|
|
1744
|
-
a.g(b, "source", d.source, A);
|
|
1745
|
-
a.g(b, "global", d.global, A);
|
|
1746
|
-
a.g(b, "ignoreCase", d.ignoreCase, A);
|
|
1747
|
-
a.g(b, "multiline", d.multiline, A);
|
|
1748
|
-
}
|
|
1749
|
-
function Ic(a, b, d) {
|
|
1750
|
-
d && a.g(b, "message", String(d), v);
|
|
1751
|
-
d = [];
|
|
1752
|
-
for (var c = a.o.length - 1; 0 <= c; c--) {
|
|
1753
|
-
var e = a.o[c], h = e.node;
|
|
1754
|
-
"CallExpression" === h.type && (e = e.U) && d.length && (d[d.length - 1].Ob = a.G(e, "name"));
|
|
1755
|
-
!h.X || d.length && "CallExpression" !== h.type || d.push({
|
|
1756
|
-
Nb: h.X
|
|
1757
|
-
});
|
|
1758
|
-
}
|
|
1759
|
-
c = String(a.G(b, "name"));
|
|
1760
|
-
h = String(a.G(b, "message"));
|
|
1761
|
-
h = c + ": " + h + "\n";
|
|
1762
|
-
for (c = 0; c < d.length; c++) {
|
|
1763
|
-
var k = d[c].Nb;
|
|
1764
|
-
e = d[c].Ob;
|
|
1765
|
-
k = k.source + ":" + k.start.line + ":" + k.start.ab;
|
|
1766
|
-
h = e ? h + (" at " + e + " (" + k + ")\n") : h + (" at " + k + "\n");
|
|
1767
|
-
}
|
|
1768
|
-
a.g(b, "stack", h.trim(), v);
|
|
1769
|
-
}
|
|
1770
|
-
p.ha = function () {
|
|
1771
|
-
var a = this.ha.Mb;
|
|
1772
|
-
a || (a = new Blob([Oa.join("\n")], {
|
|
1773
|
-
type: "application/javascript"
|
|
1774
|
-
}), this.ha.Mb = a);
|
|
1775
|
-
return new Worker(URL.createObjectURL(a));
|
|
1776
|
-
};
|
|
1777
|
-
function Ec(a, b, d, c, e) {
|
|
1778
|
-
var h = {
|
|
1779
|
-
timeout: a.REGEXP_THREAD_TIMEOUT
|
|
1780
|
-
};
|
|
1781
|
-
try {
|
|
1782
|
-
return La.runInNewContext(b, d, h);
|
|
1783
|
-
}
|
|
1784
|
-
catch (k) {
|
|
1785
|
-
e(null), K(a, a.D, "RegExp Timeout: " + c);
|
|
1786
|
-
}
|
|
1787
|
-
return Ja;
|
|
1788
|
-
}
|
|
1789
|
-
function Dc(a, b, d) {
|
|
1790
|
-
if (0 === a.REGEXP_MODE)
|
|
1791
|
-
var c = !1;
|
|
1792
|
-
else if (1 === a.REGEXP_MODE)
|
|
1793
|
-
c = !0;
|
|
1794
|
-
else if (La)
|
|
1795
|
-
c = !0;
|
|
1796
|
-
else if ("function" === typeof Worker && "function" === typeof URL)
|
|
1797
|
-
c = !0;
|
|
1798
|
-
else if ("function" === typeof require) {
|
|
1799
|
-
try {
|
|
1800
|
-
La = require("vm");
|
|
1801
|
-
}
|
|
1802
|
-
catch (e) { }
|
|
1803
|
-
c = !!La;
|
|
1804
|
-
}
|
|
1805
|
-
else
|
|
1806
|
-
c = !1;
|
|
1807
|
-
c || (d(null), K(a, a.D, "Regular expressions not supported: " + b));
|
|
1808
|
-
}
|
|
1809
|
-
function Fc(a, b, d, c) {
|
|
1810
|
-
return setTimeout(function () {
|
|
1811
|
-
d.terminate();
|
|
1812
|
-
c(null);
|
|
1813
|
-
try {
|
|
1814
|
-
K(a, a.D, "RegExp Timeout: " + b);
|
|
1815
|
-
}
|
|
1816
|
-
catch (e) { }
|
|
1817
|
-
}, a.REGEXP_THREAD_TIMEOUT);
|
|
1818
|
-
}
|
|
1819
|
-
p.Aa = function (a) {
|
|
1820
|
-
return this.s(a && a.h.prototype);
|
|
1821
|
-
};
|
|
1822
|
-
p.s = function (a) {
|
|
1823
|
-
if ("object" !== typeof a)
|
|
1824
|
-
throw Error("Non object prototype");
|
|
1825
|
-
a = new D(a);
|
|
1826
|
-
Q(this, a, this.D) && (a.H = "Error");
|
|
1827
|
-
return a;
|
|
1828
|
-
};
|
|
1829
|
-
function Cc(a) {
|
|
1830
|
-
var b = a.s(a.La);
|
|
1831
|
-
a.g(b, "length", 0, {
|
|
1832
|
-
configurable: !1,
|
|
1833
|
-
enumerable: !1,
|
|
1834
|
-
writable: !0
|
|
1835
|
-
});
|
|
1836
|
-
b.H = "Array";
|
|
1837
|
-
return b;
|
|
1838
|
-
}
|
|
1839
|
-
function Zc(a, b, d) {
|
|
1840
|
-
var c = a.s(a.Z);
|
|
1841
|
-
d ? (d = a.s(a.M), a.g(c, "prototype", d, v), a.g(d, "constructor", c, v)) : c.Ab = !0;
|
|
1842
|
-
a.g(c, "length", b, A);
|
|
1843
|
-
c.H = "Function";
|
|
1844
|
-
return c;
|
|
1845
|
-
}
|
|
1846
|
-
function Nb(a, b, d, c) {
|
|
1847
|
-
var e = Zc(a, b.oa.length, !0);
|
|
1848
|
-
e.Va = d;
|
|
1849
|
-
e.node = b;
|
|
1850
|
-
a.g(e, "name", b.id ? String(b.id.name) : c || "", A);
|
|
1851
|
-
return e;
|
|
1852
|
-
}
|
|
1853
|
-
p.i = function (a, b) {
|
|
1854
|
-
b = Zc(this, a.length, b);
|
|
1855
|
-
b.Ta = a;
|
|
1856
|
-
a.id = this.Ya++;
|
|
1857
|
-
this.g(b, "name", a.name, A);
|
|
1858
|
-
return b;
|
|
1859
|
-
};
|
|
1860
|
-
p.ub = function (a) {
|
|
1861
|
-
var b = Zc(this, a.length, !0);
|
|
1862
|
-
b.Za = a;
|
|
1863
|
-
a.id = this.Ya++;
|
|
1864
|
-
this.g(b, "name", a.name, A);
|
|
1865
|
-
return b;
|
|
1866
|
-
};
|
|
1867
|
-
p.Ia = function (a) {
|
|
1868
|
-
if (a instanceof D)
|
|
1869
|
-
throw Error("Object is already pseudo");
|
|
1870
|
-
if (null === a || void 0 === a || !0 === a || !1 === a || "string" === typeof a || "number" === typeof a)
|
|
1871
|
-
return a;
|
|
1872
|
-
if (a instanceof RegExp) {
|
|
1873
|
-
var b = this.s(this.Ma);
|
|
1874
|
-
Hc(this, b, a);
|
|
1875
|
-
return b;
|
|
1876
|
-
}
|
|
1877
|
-
if (a instanceof Date)
|
|
1878
|
-
return b = this.s(this.nb), b.data = new Date(a.valueOf()), b;
|
|
1879
|
-
if ("function" === typeof a) {
|
|
1880
|
-
var d = this;
|
|
1881
|
-
b = Object.getOwnPropertyDescriptor(a, "prototype");
|
|
1882
|
-
return this.i(function () {
|
|
1883
|
-
var e = Array.prototype.slice.call(arguments).map(function (h) {
|
|
1884
|
-
return d.R(h);
|
|
1885
|
-
});
|
|
1886
|
-
e = a.apply(d, e);
|
|
1887
|
-
return d.Ia(e);
|
|
1888
|
-
}, !!b);
|
|
1889
|
-
}
|
|
1890
|
-
if (Array.isArray(a)) {
|
|
1891
|
-
b = Cc(this);
|
|
1892
|
-
for (var c = 0; c < a.length; c++)
|
|
1893
|
-
c in a && this.g(b, c, this.Ia(a[c]));
|
|
1894
|
-
return b;
|
|
1895
|
-
}
|
|
1896
|
-
b = this.s(this.M);
|
|
1897
|
-
for (c in a)
|
|
1898
|
-
this.g(b, c, this.Ia(a[c]));
|
|
1899
|
-
return b;
|
|
1900
|
-
};
|
|
1901
|
-
p.R = function (a, b) {
|
|
1902
|
-
if ("object" !== typeof a && "function" !== typeof a || null === a)
|
|
1903
|
-
return a;
|
|
1904
|
-
if (!(a instanceof D))
|
|
1905
|
-
throw Error("Object is not pseudo");
|
|
1906
|
-
if (Q(this, a, this.I))
|
|
1907
|
-
return b = new RegExp(a.data.source, a.data.flags), b.lastIndex = a.data.lastIndex, b;
|
|
1908
|
-
if (Q(this, a, this.$))
|
|
1909
|
-
return new Date(a.data.valueOf());
|
|
1910
|
-
b = b || {
|
|
1911
|
-
hb: [],
|
|
1912
|
-
Sa: []
|
|
1913
|
-
};
|
|
1914
|
-
var d = b.hb.indexOf(a);
|
|
1915
|
-
if (-1 !== d)
|
|
1916
|
-
return b.Sa[d];
|
|
1917
|
-
b.hb.push(a);
|
|
1918
|
-
if (Q(this, a, this.qa)) {
|
|
1919
|
-
d = [];
|
|
1920
|
-
b.Sa.push(d);
|
|
1921
|
-
for (var c = this.G(a, "length"), e = 0; e < c; e++)
|
|
1922
|
-
$c(this, a, e) && (d[e] = this.R(this.G(a, e), b));
|
|
1923
|
-
}
|
|
1924
|
-
else
|
|
1925
|
-
for (c in d = {}, b.Sa.push(d), a.h)
|
|
1926
|
-
e = this.R(a.h[c], b), Object.defineProperty(d, c, {
|
|
1927
|
-
value: e,
|
|
1928
|
-
writable: !0,
|
|
1929
|
-
enumerable: !0,
|
|
1930
|
-
configurable: !0
|
|
1931
|
-
});
|
|
1932
|
-
b.hb.pop();
|
|
1933
|
-
b.Sa.pop();
|
|
1934
|
-
return d;
|
|
1935
|
-
};
|
|
1936
|
-
function Bc(a, b) {
|
|
1937
|
-
for (var d = Cc(a), c = Object.getOwnPropertyNames(b), e = 0; e < c.length; e++)
|
|
1938
|
-
a.g(d, c[e], b[c[e]]);
|
|
1939
|
-
return d;
|
|
1940
|
-
}
|
|
1941
|
-
function Ob(a, b) {
|
|
1942
|
-
var d = [], c;
|
|
1943
|
-
for (c in b.h)
|
|
1944
|
-
d[c] = a.G(b, c);
|
|
1945
|
-
d.length = Pa(a.G(b, "length")) || 0;
|
|
1946
|
-
return d;
|
|
1947
|
-
}
|
|
1948
|
-
function Ac(a, b) {
|
|
1949
|
-
switch (typeof b) {
|
|
1950
|
-
case "number":
|
|
1951
|
-
return a.aa.h.prototype;
|
|
1952
|
-
case "boolean":
|
|
1953
|
-
return a.mb.h.prototype;
|
|
1954
|
-
case "string":
|
|
1955
|
-
return a.J.h.prototype;
|
|
1956
|
-
}
|
|
1957
|
-
return b ? b.xa : null;
|
|
1958
|
-
}
|
|
1959
|
-
p.G = function (a, b) {
|
|
1960
|
-
if (this.P)
|
|
1961
|
-
throw Error("Getter not supported in that context");
|
|
1962
|
-
b = String(b);
|
|
1963
|
-
void 0 !== a && null !== a || K(this, this.j, "Cannot read property '" + b + "' of " + a);
|
|
1964
|
-
if ("object" === typeof a && !(a instanceof D))
|
|
1965
|
-
throw TypeError("Expecting native value or pseudo object");
|
|
1966
|
-
if ("length" === b) {
|
|
1967
|
-
if (Q(this, a, this.J))
|
|
1968
|
-
return String(a).length;
|
|
1969
|
-
}
|
|
1970
|
-
else if (64 > b.charCodeAt(0) && Q(this, a, this.J)) {
|
|
1971
|
-
var d = Qa(b);
|
|
1972
|
-
if (!isNaN(d) && d < String(a).length)
|
|
1973
|
-
return String(a)[d];
|
|
1974
|
-
}
|
|
1975
|
-
do
|
|
1976
|
-
if (a.h && b in a.h)
|
|
1977
|
-
return (d = a.V[b]) ? (this.P = !0, d) : a.h[b];
|
|
1978
|
-
while (a = Ac(this, a));
|
|
1979
|
-
};
|
|
1980
|
-
function $c(a, b, d) {
|
|
1981
|
-
if (!(b instanceof D))
|
|
1982
|
-
throw TypeError("Primitive data type has no properties");
|
|
1983
|
-
d = String(d);
|
|
1984
|
-
if ("length" === d && Q(a, b, a.J))
|
|
1985
|
-
return !0;
|
|
1986
|
-
if (Q(a, b, a.J)) {
|
|
1987
|
-
var c = Qa(d);
|
|
1988
|
-
if (!isNaN(c) && c < String(b).length)
|
|
1989
|
-
return !0;
|
|
1990
|
-
}
|
|
1991
|
-
do
|
|
1992
|
-
if (b.h && d in b.h)
|
|
1993
|
-
return !0;
|
|
1994
|
-
while (b = Ac(a, b));
|
|
1995
|
-
return !1;
|
|
1996
|
-
}
|
|
1997
|
-
p.g = function (a, b, d, c) {
|
|
1998
|
-
if (this.Ka)
|
|
1999
|
-
throw Error("Setter not supported in that context");
|
|
2000
|
-
b = String(b);
|
|
2001
|
-
void 0 !== a && null !== a || K(this, this.j, "Cannot set property '" + b + "' of " + a);
|
|
2002
|
-
if ("object" === typeof a && !(a instanceof D))
|
|
2003
|
-
throw TypeError("Expecting native value or pseudo object");
|
|
2004
|
-
c && ("get" in c || "set" in c) && ("value" in c || "writable" in c) && K(this, this.j, "Invalid property descriptor. Cannot both specify accessors and a value or writable attribute");
|
|
2005
|
-
var e = !this.o || ad(this).S;
|
|
2006
|
-
if (a instanceof D) {
|
|
2007
|
-
if (Q(this, a, this.J)) {
|
|
2008
|
-
var h = Qa(b);
|
|
2009
|
-
if ("length" === b || !isNaN(h) && h < String(a).length) {
|
|
2010
|
-
e && K(this, this.j, "Cannot assign to read only property '" + b + "' of String '" + a.data + "'");
|
|
2011
|
-
return;
|
|
2012
|
-
}
|
|
2013
|
-
}
|
|
2014
|
-
if ("Array" === a.H)
|
|
2015
|
-
if (h = a.h.length, "length" === b) {
|
|
2016
|
-
if (c) {
|
|
2017
|
-
if (!("value" in c))
|
|
2018
|
-
return;
|
|
2019
|
-
d = c.value;
|
|
2020
|
-
}
|
|
2021
|
-
d = Pa(d);
|
|
2022
|
-
isNaN(d) && K(this, this.ob, "Invalid array length");
|
|
2023
|
-
if (d < h)
|
|
2024
|
-
for (k in a.h) {
|
|
2025
|
-
var k = Qa(k);
|
|
2026
|
-
!isNaN(k) && d <= k && delete a.h[k];
|
|
2027
|
-
}
|
|
2028
|
-
}
|
|
2029
|
-
else
|
|
2030
|
-
isNaN(k = Qa(b)) || (a.h.length = Math.max(h, k + 1));
|
|
2031
|
-
if (!a.preventExtensions || b in a.h) {
|
|
2032
|
-
if (c) {
|
|
2033
|
-
e = {};
|
|
2034
|
-
"get" in c && c.get && (a.V[b] = c.get, e.get = this.g.ac);
|
|
2035
|
-
"set" in c && c.set && (a.Y[b] = c.set, e.set = this.g.bc);
|
|
2036
|
-
"configurable" in c && (e.configurable = c.configurable);
|
|
2037
|
-
"enumerable" in c && (e.enumerable = c.enumerable);
|
|
2038
|
-
"writable" in c && (e.writable = c.writable, delete a.V[b], delete a.Y[b]);
|
|
2039
|
-
"value" in c ? (e.value = c.value, delete a.V[b], delete a.Y[b]) : d !== Ia && (e.value = d, delete a.V[b], delete a.Y[b]);
|
|
2040
|
-
try {
|
|
2041
|
-
Object.defineProperty(a.h, b, e);
|
|
2042
|
-
}
|
|
2043
|
-
catch (q) {
|
|
2044
|
-
K(this, this.j, "Cannot redefine property: " + b);
|
|
2045
|
-
}
|
|
2046
|
-
"get" in c && !c.get && delete a.V[b];
|
|
2047
|
-
"set" in c && !c.set && delete a.Y[b];
|
|
2048
|
-
}
|
|
2049
|
-
else {
|
|
2050
|
-
if (d === Ia)
|
|
2051
|
-
throw ReferenceError("Value not specified");
|
|
2052
|
-
for (c = a; !(b in c.h);)
|
|
2053
|
-
if (c = Ac(this, c), !c) {
|
|
2054
|
-
c = a;
|
|
2055
|
-
break;
|
|
2056
|
-
}
|
|
2057
|
-
if (c.Y && c.Y[b])
|
|
2058
|
-
return this.Ka = !0, c.Y[b];
|
|
2059
|
-
if (c.V && c.V[b])
|
|
2060
|
-
e && K(this, this.j, "Cannot set property '" + b + "' of object '" + a + "' which only has a getter");
|
|
2061
|
-
else
|
|
2062
|
-
try {
|
|
2063
|
-
a.h[b] = d;
|
|
2064
|
-
}
|
|
2065
|
-
catch (q) {
|
|
2066
|
-
e && K(this, this.j, "Cannot assign to read only property '" + b + "' of object '" + a + "'");
|
|
2067
|
-
}
|
|
2068
|
-
}
|
|
2069
|
-
}
|
|
2070
|
-
else
|
|
2071
|
-
e && K(this, this.j, "Can't add property '" + b + "', object is not extensible");
|
|
2072
|
-
}
|
|
2073
|
-
else
|
|
2074
|
-
e && K(this, this.j, "Can't create property '" + b + "' on '" + a + "'");
|
|
2075
|
-
};
|
|
2076
|
-
p.g.ac = function () {
|
|
2077
|
-
throw Error("Placeholder getter");
|
|
2078
|
-
};
|
|
2079
|
-
p.g.bc = function () {
|
|
2080
|
-
throw Error("Placeholder setter");
|
|
2081
|
-
};
|
|
2082
|
-
function M(a, b, d, c) {
|
|
2083
|
-
a.g(b.h.prototype, d, a.i(c, !1), v);
|
|
2084
|
-
}
|
|
2085
|
-
function Gc(a, b, d, c) {
|
|
2086
|
-
a.g(b.h.prototype, d, a.ub(c), v);
|
|
2087
|
-
}
|
|
2088
|
-
function ad(a) {
|
|
2089
|
-
a = a.o[a.o.length - 1].scope;
|
|
2090
|
-
if (!a)
|
|
2091
|
-
throw Error("No scope found");
|
|
2092
|
-
return a;
|
|
2093
|
-
}
|
|
2094
|
-
function ea(a, b, d) {
|
|
2095
|
-
var c = !1;
|
|
2096
|
-
if (d && d.S)
|
|
2097
|
-
c = !0;
|
|
2098
|
-
else {
|
|
2099
|
-
var e = b.body && b.body[0];
|
|
2100
|
-
e && e.la && "Literal" === e.la.type && "use strict" === e.la.value && (c = !0);
|
|
2101
|
-
}
|
|
2102
|
-
e = a.s(null);
|
|
2103
|
-
c = new bd(d, c, e);
|
|
2104
|
-
d || bb(a, c.object);
|
|
2105
|
-
Ra(a, b, c);
|
|
2106
|
-
return c;
|
|
2107
|
-
}
|
|
2108
|
-
function cd(a, b, d) {
|
|
2109
|
-
if (!b)
|
|
2110
|
-
throw Error("parentScope required");
|
|
2111
|
-
a = d || a.s(null);
|
|
2112
|
-
return new bd(b, b.S, a);
|
|
2113
|
-
}
|
|
2114
|
-
function dd(a, b) {
|
|
2115
|
-
for (var d = ad(a); d && d !== a.N;) {
|
|
2116
|
-
if (b in d.object.h)
|
|
2117
|
-
return d.object.h[b];
|
|
2118
|
-
d = d.Va;
|
|
2119
|
-
}
|
|
2120
|
-
if (d === a.N && $c(a, d.object, b))
|
|
2121
|
-
return a.G(d.object, b);
|
|
2122
|
-
d = a.o[a.o.length - 1].node;
|
|
2123
|
-
"UnaryExpression" === d.type && "typeof" === d.operator || K(a, a.pb, b + " is not defined");
|
|
2124
|
-
}
|
|
2125
|
-
function ed(a, b, d) {
|
|
2126
|
-
for (var c = ad(a), e = c.S; c && c !== a.N;) {
|
|
2127
|
-
if (b in c.object.h) {
|
|
2128
|
-
try {
|
|
2129
|
-
c.object.h[b] = d;
|
|
2130
|
-
}
|
|
2131
|
-
catch (h) {
|
|
2132
|
-
e && K(a, a.j, "Cannot assign to read only variable '" + b + "'");
|
|
2133
|
-
}
|
|
2134
|
-
return;
|
|
2135
|
-
}
|
|
2136
|
-
c = c.Va;
|
|
2137
|
-
}
|
|
2138
|
-
if (c === a.N && (!e || $c(a, c.object, b)))
|
|
2139
|
-
return a.g(c.object, b, d);
|
|
2140
|
-
K(a, a.pb, b + " is not defined");
|
|
2141
|
-
}
|
|
2142
|
-
function Ra(a, b, d) {
|
|
2143
|
-
if (b.jb)
|
|
2144
|
-
var c = b.jb;
|
|
2145
|
-
else {
|
|
2146
|
-
c = Object.create(null);
|
|
2147
|
-
switch (b.type) {
|
|
2148
|
-
case "VariableDeclaration":
|
|
2149
|
-
for (var e = 0; e < b.fa.length; e++)
|
|
2150
|
-
c[b.fa[e].id.name] = !0;
|
|
2151
|
-
break;
|
|
2152
|
-
case "FunctionDeclaration":
|
|
2153
|
-
c[b.id.name] = b;
|
|
2154
|
-
break;
|
|
2155
|
-
case "BlockStatement":
|
|
2156
|
-
case "CatchClause":
|
|
2157
|
-
case "DoWhileStatement":
|
|
2158
|
-
case "ForInStatement":
|
|
2159
|
-
case "ForStatement":
|
|
2160
|
-
case "IfStatement":
|
|
2161
|
-
case "LabeledStatement":
|
|
2162
|
-
case "Program":
|
|
2163
|
-
case "SwitchCase":
|
|
2164
|
-
case "SwitchStatement":
|
|
2165
|
-
case "TryStatement":
|
|
2166
|
-
case "WithStatement":
|
|
2167
|
-
case "WhileStatement":
|
|
2168
|
-
var h = b.constructor, k;
|
|
2169
|
-
for (k in b)
|
|
2170
|
-
if ("loc" !== k) {
|
|
2171
|
-
var q = b[k];
|
|
2172
|
-
if (q && "object" === typeof q)
|
|
2173
|
-
if (Array.isArray(q))
|
|
2174
|
-
for (e = 0; e < q.length; e++) {
|
|
2175
|
-
if (q[e] && q[e].constructor === h) {
|
|
2176
|
-
var C = Ra(a, q[e], d);
|
|
2177
|
-
for (k in C)
|
|
2178
|
-
c[k] = C[k];
|
|
2179
|
-
}
|
|
2180
|
-
}
|
|
2181
|
-
else if (q.constructor === h)
|
|
2182
|
-
for (k in C = Ra(a, q, d), C)
|
|
2183
|
-
c[k] = C[k];
|
|
2184
|
-
}
|
|
2185
|
-
}
|
|
2186
|
-
b.jb = c;
|
|
2187
|
-
}
|
|
2188
|
-
for (k in c)
|
|
2189
|
-
!0 === c[k] ? a.g(d.object, k, void 0, wa) : a.g(d.object, k, Nb(a, c[k], d), wa);
|
|
2190
|
-
return c;
|
|
2191
|
-
}
|
|
2192
|
-
function zc(a) {
|
|
2193
|
-
return a.o[a.o.length - 1].isConstructor;
|
|
2194
|
-
}
|
|
2195
|
-
function fd(a, b) {
|
|
2196
|
-
return b[0] === Ha ? dd(a, b[1]) : a.G(b[0], b[1]);
|
|
2197
|
-
}
|
|
2198
|
-
function gd(a, b, d) {
|
|
2199
|
-
return b[0] === Ha ? ed(a, b[1], d) : a.g(b[0], b[1], d);
|
|
2200
|
-
}
|
|
2201
|
-
function K(a, b, d) {
|
|
2202
|
-
if (!a.N)
|
|
2203
|
-
throw void 0 === d ? b : d;
|
|
2204
|
-
void 0 !== d && b instanceof D && (b = a.Aa(b), Ic(a, b, d));
|
|
2205
|
-
hd(a, 4, b);
|
|
2206
|
-
throw xa;
|
|
2207
|
-
}
|
|
2208
|
-
function hd(a, b, d, c) {
|
|
2209
|
-
if (0 === b)
|
|
2210
|
-
throw TypeError("Should not unwind for NORMAL completions");
|
|
2211
|
-
var e = a.o;
|
|
2212
|
-
a: for (; 0 < e.length; e.pop()) {
|
|
2213
|
-
var h = e[e.length - 1];
|
|
2214
|
-
switch (h.node.type) {
|
|
2215
|
-
case "TryStatement":
|
|
2216
|
-
h.ea = {
|
|
2217
|
-
type: b,
|
|
2218
|
-
value: d,
|
|
2219
|
-
label: c
|
|
2220
|
-
};
|
|
2221
|
-
return;
|
|
2222
|
-
case "CallExpression":
|
|
2223
|
-
case "NewExpression":
|
|
2224
|
-
if (3 === b) {
|
|
2225
|
-
h.value = d;
|
|
2226
|
-
return;
|
|
2227
|
-
}
|
|
2228
|
-
if (4 !== b)
|
|
2229
|
-
throw Error("Unsynatctic break/continue not rejected by Acorn");
|
|
2230
|
-
break;
|
|
2231
|
-
case "Program":
|
|
2232
|
-
h.done = !0;
|
|
2233
|
-
break a;
|
|
2234
|
-
}
|
|
2235
|
-
if (1 === b) {
|
|
2236
|
-
if (c ? h.labels && -1 !== h.labels.indexOf(c) : h.W || h.Zb) {
|
|
2237
|
-
e.pop();
|
|
2238
|
-
return;
|
|
2239
|
-
}
|
|
2240
|
-
}
|
|
2241
|
-
else if (2 === b && (c ? h.labels && -1 !== h.labels.indexOf(c) : h.W))
|
|
2242
|
-
return;
|
|
2243
|
-
}
|
|
2244
|
-
Q(a, d, a.D) ? (b = {
|
|
2245
|
-
EvalError: EvalError,
|
|
2246
|
-
RangeError: RangeError,
|
|
2247
|
-
ReferenceError: ReferenceError,
|
|
2248
|
-
SyntaxError: SyntaxError,
|
|
2249
|
-
TypeError: TypeError,
|
|
2250
|
-
URIError: URIError
|
|
2251
|
-
}, c = String(a.G(d, "name")), e = a.G(d, "message").valueOf(), b = (b[c] || Error)(e), b.stack = String(a.G(d, "stack"))) : b = String(d);
|
|
2252
|
-
a.value = b;
|
|
2253
|
-
throw b;
|
|
2254
|
-
}
|
|
2255
|
-
function R(a, b) {
|
|
2256
|
-
switch (b.type) {
|
|
2257
|
-
case "ArrayExpression":
|
|
2258
|
-
return "[...]";
|
|
2259
|
-
case "BinaryExpression":
|
|
2260
|
-
case "LogicalExpression":
|
|
2261
|
-
return R(a, b.left) + " " + b.operator + " " + R(a, b.right);
|
|
2262
|
-
case "CallExpression":
|
|
2263
|
-
return R(a, b.callee) + "(...)";
|
|
2264
|
-
case "ConditionalExpression":
|
|
2265
|
-
return R(a, b.test) + " ? " + R(a, b.da) + " : " + R(a, b.alternate);
|
|
2266
|
-
case "Identifier":
|
|
2267
|
-
return b.name;
|
|
2268
|
-
case "Literal":
|
|
2269
|
-
return b.raw;
|
|
2270
|
-
case "MemberExpression":
|
|
2271
|
-
var d = R(a, b.object);
|
|
2272
|
-
a = R(a, b.Wa);
|
|
2273
|
-
return b.bb ? d + "[" + a + "]" : d + "." + a;
|
|
2274
|
-
case "NewExpression":
|
|
2275
|
-
return "new " + R(a, b.callee) + "(...)";
|
|
2276
|
-
case "ObjectExpression":
|
|
2277
|
-
return "{...}";
|
|
2278
|
-
case "ThisExpression":
|
|
2279
|
-
return "this";
|
|
2280
|
-
case "UnaryExpression":
|
|
2281
|
-
return b.operator + " " + R(a, b.K);
|
|
2282
|
-
case "UpdateExpression":
|
|
2283
|
-
return d = R(a, b.K), b.prefix ? b.operator + d : d + b.operator;
|
|
2284
|
-
}
|
|
2285
|
-
return "???";
|
|
2286
|
-
}
|
|
2287
|
-
function Lb(a, b, d) {
|
|
2288
|
-
var c = a.o[a.o.length - 1], e = Array.from(d), h = e.shift();
|
|
2289
|
-
d = Math.max(Number(e.shift() || 0), 0);
|
|
2290
|
-
var k = a.ya();
|
|
2291
|
-
if (h instanceof D && "Function" === h.H) {
|
|
2292
|
-
var q = h;
|
|
2293
|
-
k.type = "CallExpression";
|
|
2294
|
-
c = c.scope;
|
|
2295
|
-
}
|
|
2296
|
-
else {
|
|
2297
|
-
try {
|
|
2298
|
-
var C = da(String(h), "taskCode" + a.ic++);
|
|
2299
|
-
}
|
|
2300
|
-
catch (U) {
|
|
2301
|
-
K(a, a.T, "Invalid code: " + U.message);
|
|
2302
|
-
}
|
|
2303
|
-
k.type = "EvalProgram_";
|
|
2304
|
-
k.body = C.body;
|
|
2305
|
-
c = c.node.arguments[0];
|
|
2306
|
-
fa(k, c ? c.start : void 0, c ? c.end : void 0);
|
|
2307
|
-
c = a.N;
|
|
2308
|
-
e.length = 0;
|
|
2309
|
-
}
|
|
2310
|
-
b = new id(q, e, c, k, b ? d : -1);
|
|
2311
|
-
ab(a, b, d);
|
|
2312
|
-
return b.Db;
|
|
2313
|
-
}
|
|
2314
|
-
function ab(a, b, d) {
|
|
2315
|
-
b.time = Date.now() + d;
|
|
2316
|
-
a.ca.push(b);
|
|
2317
|
-
a.ca.sort(function (c, e) {
|
|
2318
|
-
return c.time - e.time;
|
|
2319
|
-
});
|
|
2320
|
-
}
|
|
2321
|
-
function Mb(a, b) {
|
|
2322
|
-
for (var d = 0; d < a.ca.length; d++)
|
|
2323
|
-
if (a.ca[d].Db == b) {
|
|
2324
|
-
a.ca.splice(d, 1);
|
|
2325
|
-
break;
|
|
2326
|
-
}
|
|
2327
|
-
}
|
|
2328
|
-
function jd(a, b, d) {
|
|
2329
|
-
if (!a.P)
|
|
2330
|
-
throw Error("Unexpected call to createGetter");
|
|
2331
|
-
a.P = !1;
|
|
2332
|
-
d = Array.isArray(d) ? d[0] : d;
|
|
2333
|
-
var c = a.ya();
|
|
2334
|
-
c.type = "CallExpression";
|
|
2335
|
-
a = new u(c, a.o[a.o.length - 1].scope);
|
|
2336
|
-
a.ia = 2;
|
|
2337
|
-
a.B = d;
|
|
2338
|
-
a.U = b;
|
|
2339
|
-
a.Qa = !0;
|
|
2340
|
-
a.F = [];
|
|
2341
|
-
return a;
|
|
2342
|
-
}
|
|
2343
|
-
function kd(a, b, d, c) {
|
|
2344
|
-
if (!a.Ka)
|
|
2345
|
-
throw Error("Unexpected call to createSetter");
|
|
2346
|
-
a.Ka = !1;
|
|
2347
|
-
d = Array.isArray(d) ? d[0] : a.Na;
|
|
2348
|
-
var e = a.ya();
|
|
2349
|
-
e.type = "CallExpression";
|
|
2350
|
-
a = new u(e, a.o[a.o.length - 1].scope);
|
|
2351
|
-
a.ia = 2;
|
|
2352
|
-
a.B = d;
|
|
2353
|
-
a.U = b;
|
|
2354
|
-
a.Qa = !0;
|
|
2355
|
-
a.F = [c];
|
|
2356
|
-
return a;
|
|
2357
|
-
}
|
|
2358
|
-
function ld(a, b) {
|
|
2359
|
-
return void 0 === b || null === b ? a.Na : b instanceof D ? b : (a = a.s(Ac(a, b)), a.data = b, a);
|
|
2360
|
-
}
|
|
2361
|
-
p.Xb = function () {
|
|
2362
|
-
return this.N;
|
|
2363
|
-
};
|
|
2364
|
-
p.Yb = function () {
|
|
2365
|
-
return this.o;
|
|
2366
|
-
};
|
|
2367
|
-
p.ec = function (a) {
|
|
2368
|
-
this.o = a;
|
|
2369
|
-
};
|
|
2370
|
-
function u(a, b) {
|
|
2371
|
-
this.node = a;
|
|
2372
|
-
this.scope = b;
|
|
2373
|
-
}
|
|
2374
|
-
function bd(a, b, d) {
|
|
2375
|
-
this.Va = a;
|
|
2376
|
-
this.S = b;
|
|
2377
|
-
this.object = d;
|
|
2378
|
-
}
|
|
2379
|
-
function D(a) {
|
|
2380
|
-
this.V = Object.create(null);
|
|
2381
|
-
this.Y = Object.create(null);
|
|
2382
|
-
this.h = Object.create(null);
|
|
2383
|
-
this.xa = a;
|
|
2384
|
-
}
|
|
2385
|
-
p = D.prototype;
|
|
2386
|
-
p.xa = null;
|
|
2387
|
-
p.H = "Object";
|
|
2388
|
-
p.data = null;
|
|
2389
|
-
p.toString = function () {
|
|
2390
|
-
if (!Ma)
|
|
2391
|
-
return "[object Interpreter.Object]";
|
|
2392
|
-
if (!(this instanceof D))
|
|
2393
|
-
return String(this);
|
|
2394
|
-
if ("Array" === this.H) {
|
|
2395
|
-
var a = Ka;
|
|
2396
|
-
a.push(this);
|
|
2397
|
-
try {
|
|
2398
|
-
var b = [], d = this.h.length, c = !1;
|
|
2399
|
-
1024 < d && (d = 1E3, c = !0);
|
|
2400
|
-
for (var e = 0; e < d; e++) {
|
|
2401
|
-
var h = this.h[e];
|
|
2402
|
-
b[e] = h instanceof D && -1 !== a.indexOf(h) ? "..." : h;
|
|
2403
|
-
}
|
|
2404
|
-
c && b.push("...");
|
|
2405
|
-
}
|
|
2406
|
-
finally {
|
|
2407
|
-
a.pop();
|
|
2408
|
-
}
|
|
2409
|
-
return b.join(",");
|
|
2410
|
-
}
|
|
2411
|
-
if ("Error" === this.H) {
|
|
2412
|
-
a = Ka;
|
|
2413
|
-
if (-1 !== a.indexOf(this))
|
|
2414
|
-
return "[object Error]";
|
|
2415
|
-
d = this;
|
|
2416
|
-
do
|
|
2417
|
-
if ("name" in d.h) {
|
|
2418
|
-
b = d.h.name;
|
|
2419
|
-
break;
|
|
2420
|
-
}
|
|
2421
|
-
while (d = d.xa);
|
|
2422
|
-
d = this;
|
|
2423
|
-
do
|
|
2424
|
-
if ("message" in d.h) {
|
|
2425
|
-
c = d.h.message;
|
|
2426
|
-
break;
|
|
2427
|
-
}
|
|
2428
|
-
while (d = d.xa);
|
|
2429
|
-
a.push(this);
|
|
2430
|
-
try {
|
|
2431
|
-
b = b && String(b), c = c && String(c);
|
|
2432
|
-
}
|
|
2433
|
-
finally {
|
|
2434
|
-
a.pop();
|
|
2435
|
-
}
|
|
2436
|
-
return c ? b + ": " + c : String(b);
|
|
2437
|
-
}
|
|
2438
|
-
return null !== this.data ? String(this.data) : "[object " + this.H + "]";
|
|
2439
|
-
};
|
|
2440
|
-
p.valueOf = function () {
|
|
2441
|
-
return !Ma || void 0 === this.data || null === this.data || this.data instanceof RegExp ? this : this.data instanceof Date ? this.data.valueOf() : this.data;
|
|
2442
|
-
};
|
|
2443
|
-
function id(a, b, d, c, e) {
|
|
2444
|
-
this.zb = a;
|
|
2445
|
-
this.Lb = b;
|
|
2446
|
-
this.scope = d;
|
|
2447
|
-
this.node = c;
|
|
2448
|
-
this.interval = e;
|
|
2449
|
-
this.Db = ++md;
|
|
2450
|
-
this.time = 0;
|
|
2451
|
-
}
|
|
2452
|
-
var md = 0;
|
|
2453
|
-
t.prototype.stepArrayExpression = function (a, b, d) {
|
|
2454
|
-
d = d.elements;
|
|
2455
|
-
var c = b.A || 0;
|
|
2456
|
-
b.Oa ? (this.g(b.Oa, c, b.value), c++) : (b.Oa = Cc(this), b.Oa.h.length = d.length);
|
|
2457
|
-
for (; c < d.length;) {
|
|
2458
|
-
if (d[c])
|
|
2459
|
-
return b.A = c, new u(d[c], b.scope);
|
|
2460
|
-
c++;
|
|
2461
|
-
}
|
|
2462
|
-
a.pop();
|
|
2463
|
-
a[a.length - 1].value = b.Oa;
|
|
2464
|
-
};
|
|
2465
|
-
t.prototype.stepAssignmentExpression = function (a, b, d) {
|
|
2466
|
-
if (!b.ja)
|
|
2467
|
-
return b.ja = !0, b = new u(d.left, b.scope), b.sa = !0, b;
|
|
2468
|
-
if (!b.Da) {
|
|
2469
|
-
b.Fa || (b.Fa = b.value);
|
|
2470
|
-
b.Ba && (b.ma = b.value);
|
|
2471
|
-
if (!b.Ba && "=" !== d.operator && (a = fd(this, b.Fa), b.ma = a, this.P))
|
|
2472
|
-
return b.Ba = !0, jd(this, a, b.Fa);
|
|
2473
|
-
b.Da = !0;
|
|
2474
|
-
"=" === d.operator && "Identifier" === d.left.type && (b.Pa = d.left.name);
|
|
2475
|
-
return new u(d.right, b.scope);
|
|
2476
|
-
}
|
|
2477
|
-
if (b.ta)
|
|
2478
|
-
a.pop(), a[a.length - 1].value = b.ib;
|
|
2479
|
-
else {
|
|
2480
|
-
var c = b.ma, e = b.value;
|
|
2481
|
-
switch (d.operator) {
|
|
2482
|
-
case "=":
|
|
2483
|
-
c = e;
|
|
2484
|
-
break;
|
|
2485
|
-
case "+=":
|
|
2486
|
-
c += e;
|
|
2487
|
-
break;
|
|
2488
|
-
case "-=":
|
|
2489
|
-
c -= e;
|
|
2490
|
-
break;
|
|
2491
|
-
case "*=":
|
|
2492
|
-
c *= e;
|
|
2493
|
-
break;
|
|
2494
|
-
case "/=":
|
|
2495
|
-
c /= e;
|
|
2496
|
-
break;
|
|
2497
|
-
case "%=":
|
|
2498
|
-
c %= e;
|
|
2499
|
-
break;
|
|
2500
|
-
case "<<=":
|
|
2501
|
-
c <<= e;
|
|
2502
|
-
break;
|
|
2503
|
-
case ">>=":
|
|
2504
|
-
c >>= e;
|
|
2505
|
-
break;
|
|
2506
|
-
case ">>>=":
|
|
2507
|
-
c >>>= e;
|
|
2508
|
-
break;
|
|
2509
|
-
case "&=":
|
|
2510
|
-
c &= e;
|
|
2511
|
-
break;
|
|
2512
|
-
case "^=":
|
|
2513
|
-
c ^= e;
|
|
2514
|
-
break;
|
|
2515
|
-
case "|=":
|
|
2516
|
-
c |= e;
|
|
2517
|
-
break;
|
|
2518
|
-
default:
|
|
2519
|
-
throw SyntaxError("Unknown assignment expression: " + d.operator);
|
|
2520
|
-
}
|
|
2521
|
-
if (d = gd(this, b.Fa, c))
|
|
2522
|
-
return b.ta = !0, b.ib = c, kd(this, d, b.Fa, c);
|
|
2523
|
-
a.pop();
|
|
2524
|
-
a[a.length - 1].value = c;
|
|
2525
|
-
}
|
|
2526
|
-
};
|
|
2527
|
-
t.prototype.stepBinaryExpression = function (a, b, d) {
|
|
2528
|
-
if (!b.ja)
|
|
2529
|
-
return b.ja = !0, new u(d.left, b.scope);
|
|
2530
|
-
if (!b.Da)
|
|
2531
|
-
return b.Da = !0, b.ma = b.value, new u(d.right, b.scope);
|
|
2532
|
-
a.pop();
|
|
2533
|
-
var c = b.ma;
|
|
2534
|
-
b = b.value;
|
|
2535
|
-
switch (d.operator) {
|
|
2536
|
-
case "==":
|
|
2537
|
-
d = c == b;
|
|
2538
|
-
break;
|
|
2539
|
-
case "!=":
|
|
2540
|
-
d = c != b;
|
|
2541
|
-
break;
|
|
2542
|
-
case "===":
|
|
2543
|
-
d = c === b;
|
|
2544
|
-
break;
|
|
2545
|
-
case "!==":
|
|
2546
|
-
d = c !== b;
|
|
2547
|
-
break;
|
|
2548
|
-
case ">":
|
|
2549
|
-
d = c > b;
|
|
2550
|
-
break;
|
|
2551
|
-
case ">=":
|
|
2552
|
-
d = c >= b;
|
|
2553
|
-
break;
|
|
2554
|
-
case "<":
|
|
2555
|
-
d = c < b;
|
|
2556
|
-
break;
|
|
2557
|
-
case "<=":
|
|
2558
|
-
d = c <= b;
|
|
2559
|
-
break;
|
|
2560
|
-
case "+":
|
|
2561
|
-
d = c + b;
|
|
2562
|
-
break;
|
|
2563
|
-
case "-":
|
|
2564
|
-
d = c - b;
|
|
2565
|
-
break;
|
|
2566
|
-
case "*":
|
|
2567
|
-
d = c * b;
|
|
2568
|
-
break;
|
|
2569
|
-
case "/":
|
|
2570
|
-
d = c / b;
|
|
2571
|
-
break;
|
|
2572
|
-
case "%":
|
|
2573
|
-
d = c % b;
|
|
2574
|
-
break;
|
|
2575
|
-
case "&":
|
|
2576
|
-
d = c & b;
|
|
2577
|
-
break;
|
|
2578
|
-
case "|":
|
|
2579
|
-
d = c | b;
|
|
2580
|
-
break;
|
|
2581
|
-
case "^":
|
|
2582
|
-
d = c ^ b;
|
|
2583
|
-
break;
|
|
2584
|
-
case "<<":
|
|
2585
|
-
d = c << b;
|
|
2586
|
-
break;
|
|
2587
|
-
case ">>":
|
|
2588
|
-
d = c >> b;
|
|
2589
|
-
break;
|
|
2590
|
-
case ">>>":
|
|
2591
|
-
d = c >>> b;
|
|
2592
|
-
break;
|
|
2593
|
-
case "in":
|
|
2594
|
-
b instanceof D || K(this, this.j, "'in' expects an object, not '" + b + "'");
|
|
2595
|
-
d = $c(this, b, c);
|
|
2596
|
-
break;
|
|
2597
|
-
case "instanceof":
|
|
2598
|
-
Q(this, b, this.O) || K(this, this.j, "'instanceof' expects an object, not '" + b + "'");
|
|
2599
|
-
d = c instanceof D ? Q(this, c, b) : !1;
|
|
2600
|
-
break;
|
|
2601
|
-
default:
|
|
2602
|
-
throw SyntaxError("Unknown binary operator: " + d.operator);
|
|
2603
|
-
}
|
|
2604
|
-
a[a.length - 1].value = d;
|
|
2605
|
-
};
|
|
2606
|
-
t.prototype.stepBlockStatement = function (a, b, d) {
|
|
2607
|
-
var c = b.A || 0;
|
|
2608
|
-
if (d = d.body[c])
|
|
2609
|
-
return b.A = c + 1, new u(d, b.scope);
|
|
2610
|
-
a.pop();
|
|
2611
|
-
};
|
|
2612
|
-
t.prototype.stepBreakStatement = function (a, b, d) {
|
|
2613
|
-
hd(this, 1, void 0, d.label && d.label.name);
|
|
2614
|
-
};
|
|
2615
|
-
t.prototype.Hb = 0;
|
|
2616
|
-
t.prototype.stepCallExpression = function (a, b, d) {
|
|
2617
|
-
if (!b.ia) {
|
|
2618
|
-
b.ia = 1;
|
|
2619
|
-
var c = new u(d.callee, b.scope);
|
|
2620
|
-
c.sa = !0;
|
|
2621
|
-
return c;
|
|
2622
|
-
}
|
|
2623
|
-
if (1 === b.ia) {
|
|
2624
|
-
b.ia = 2;
|
|
2625
|
-
var e = b.value;
|
|
2626
|
-
if (Array.isArray(e)) {
|
|
2627
|
-
if (b.U = fd(this, e), e[0] === Ha ? b.Pb = "eval" === e[1] : b.B = e[0], e = b.U, this.P)
|
|
2628
|
-
return b.ia = 1, jd(this, e, b.value);
|
|
2629
|
-
}
|
|
2630
|
-
else
|
|
2631
|
-
b.U = e;
|
|
2632
|
-
b.F = [];
|
|
2633
|
-
b.A = 0;
|
|
2634
|
-
}
|
|
2635
|
-
e = b.U;
|
|
2636
|
-
if (!b.Qa) {
|
|
2637
|
-
0 !== b.A && b.F.push(b.value);
|
|
2638
|
-
if (d.arguments[b.A])
|
|
2639
|
-
return new u(d.arguments[b.A++], b.scope);
|
|
2640
|
-
if ("NewExpression" === d.type) {
|
|
2641
|
-
e instanceof D && !e.Ab || K(this, this.j, R(this, d.callee) + " is not a constructor");
|
|
2642
|
-
if (e === this.qa)
|
|
2643
|
-
b.B = Cc(this);
|
|
2644
|
-
else {
|
|
2645
|
-
var h = e.h.prototype;
|
|
2646
|
-
if ("object" !== typeof h || null === h)
|
|
2647
|
-
h = this.M;
|
|
2648
|
-
b.B = this.s(h);
|
|
2649
|
-
}
|
|
2650
|
-
b.isConstructor = !0;
|
|
2651
|
-
}
|
|
2652
|
-
b.Qa = !0;
|
|
2653
|
-
}
|
|
2654
|
-
if (b.eb)
|
|
2655
|
-
a.pop(), a[a.length - 1].value = b.isConstructor && "object" !== typeof b.value ? b.B : b.value;
|
|
2656
|
-
else {
|
|
2657
|
-
b.eb = !0;
|
|
2658
|
-
e instanceof D || K(this, this.j, R(this, d.callee) + " is not a function");
|
|
2659
|
-
if (a = e.node) {
|
|
2660
|
-
d = ea(this, a.body, e.Va);
|
|
2661
|
-
c = Cc(this);
|
|
2662
|
-
for (e = 0; e < b.F.length; e++)
|
|
2663
|
-
this.g(c, e, b.F[e]);
|
|
2664
|
-
this.g(d.object, "arguments", c);
|
|
2665
|
-
for (e = 0; e < a.oa.length; e++)
|
|
2666
|
-
this.g(d.object, a.oa[e].name, b.F.length > e ? b.F[e] : void 0);
|
|
2667
|
-
d.S || (b.B = ld(this, b.B));
|
|
2668
|
-
this.g(d.object, "this", b.B, ua);
|
|
2669
|
-
b.value = void 0;
|
|
2670
|
-
return new u(a.body, d);
|
|
2671
|
-
}
|
|
2672
|
-
if (e.eval) {
|
|
2673
|
-
if (e = b.F[0], "string" !== typeof e)
|
|
2674
|
-
b.value = e;
|
|
2675
|
-
else {
|
|
2676
|
-
try {
|
|
2677
|
-
c = da(String(e), "eval" + this.Hb++);
|
|
2678
|
-
}
|
|
2679
|
-
catch (q) {
|
|
2680
|
-
K(this, this.T, "Invalid code: " + q.message);
|
|
2681
|
-
}
|
|
2682
|
-
e = this.ya();
|
|
2683
|
-
e.type = "EvalProgram_";
|
|
2684
|
-
e.body = c.body;
|
|
2685
|
-
fa(e, d.start, d.end);
|
|
2686
|
-
d = b.Pb ? b.scope : this.N;
|
|
2687
|
-
d.S ? d = ea(this, c, d) : Ra(this, c, d);
|
|
2688
|
-
this.value = void 0;
|
|
2689
|
-
return new u(e, d);
|
|
2690
|
-
}
|
|
2691
|
-
}
|
|
2692
|
-
else if (e.Ta)
|
|
2693
|
-
b.scope.S || (b.B = ld(this, b.B)), b.value = e.Ta.apply(b.B, b.F);
|
|
2694
|
-
else if (e.Za) {
|
|
2695
|
-
var k = this;
|
|
2696
|
-
c = e.Za.length - 1;
|
|
2697
|
-
c = b.F.concat(Array(c)).slice(0, c);
|
|
2698
|
-
c.push(function (q) {
|
|
2699
|
-
b.value = q;
|
|
2700
|
-
k.za = !1;
|
|
2701
|
-
});
|
|
2702
|
-
this.za = !0;
|
|
2703
|
-
b.scope.S || (b.B = ld(this, b.B));
|
|
2704
|
-
e.Za.apply(b.B, c);
|
|
2705
|
-
}
|
|
2706
|
-
else
|
|
2707
|
-
K(this, this.j, R(this, d.callee) + " is not callable");
|
|
2708
|
-
}
|
|
2709
|
-
};
|
|
2710
|
-
t.prototype.stepConditionalExpression = function (a, b, d) {
|
|
2711
|
-
var c = b.na || 0;
|
|
2712
|
-
if (0 === c)
|
|
2713
|
-
return b.na = 1, new u(d.test, b.scope);
|
|
2714
|
-
if (1 === c) {
|
|
2715
|
-
b.na = 2;
|
|
2716
|
-
if ((c = !!b.value) && d.da)
|
|
2717
|
-
return new u(d.da, b.scope);
|
|
2718
|
-
if (!c && d.alternate)
|
|
2719
|
-
return new u(d.alternate, b.scope);
|
|
2720
|
-
this.value = void 0;
|
|
2721
|
-
}
|
|
2722
|
-
a.pop();
|
|
2723
|
-
"ConditionalExpression" === d.type && (a[a.length - 1].value = b.value);
|
|
2724
|
-
};
|
|
2725
|
-
t.prototype.stepContinueStatement = function (a, b, d) {
|
|
2726
|
-
hd(this, 2, void 0, d.label && d.label.name);
|
|
2727
|
-
};
|
|
2728
|
-
t.prototype.stepDebuggerStatement = function (a) {
|
|
2729
|
-
a.pop();
|
|
2730
|
-
};
|
|
2731
|
-
t.prototype.stepDoWhileStatement = function (a, b, d) {
|
|
2732
|
-
"DoWhileStatement" === d.type && void 0 === b.ga && (b.value = !0, b.ga = !0);
|
|
2733
|
-
if (!b.ga)
|
|
2734
|
-
return b.ga = !0, new u(d.test, b.scope);
|
|
2735
|
-
if (!b.value)
|
|
2736
|
-
a.pop();
|
|
2737
|
-
else if (d.body)
|
|
2738
|
-
return b.ga = !1, b.W = !0, new u(d.body, b.scope);
|
|
2739
|
-
};
|
|
2740
|
-
t.prototype.stepEmptyStatement = function (a) {
|
|
2741
|
-
a.pop();
|
|
2742
|
-
};
|
|
2743
|
-
t.prototype.stepEvalProgram_ = function (a, b, d) {
|
|
2744
|
-
var c = b.A || 0;
|
|
2745
|
-
if (d = d.body[c])
|
|
2746
|
-
return b.A = c + 1, new u(d, b.scope);
|
|
2747
|
-
a.pop();
|
|
2748
|
-
a[a.length - 1].value = this.value;
|
|
2749
|
-
};
|
|
2750
|
-
t.prototype.stepExpressionStatement = function (a, b, d) {
|
|
2751
|
-
if (!b.ka)
|
|
2752
|
-
return this.value = void 0, b.ka = !0, new u(d.la, b.scope);
|
|
2753
|
-
a.pop();
|
|
2754
|
-
this.value = b.value;
|
|
2755
|
-
};
|
|
2756
|
-
t.prototype.stepForInStatement = function (a, b, d) {
|
|
2757
|
-
if (!b.Ub && (b.Ub = !0, d.left.fa && d.left.fa[0].ua))
|
|
2758
|
-
return b.scope.S && K(this, this.T, "for-in loop variable declaration may not have an initializer"), new u(d.left, b.scope);
|
|
2759
|
-
if (!b.Ca)
|
|
2760
|
-
return b.Ca = !0, b.pa || (b.pa = b.value), new u(d.right, b.scope);
|
|
2761
|
-
b.W || (b.W = !0, b.u = b.value, b.kb = Object.create(null));
|
|
2762
|
-
if (void 0 === b.Ra)
|
|
2763
|
-
a: for (;;) {
|
|
2764
|
-
if (b.u instanceof D)
|
|
2765
|
-
for (b.wa || (b.wa = Object.getOwnPropertyNames(b.u.h));;) {
|
|
2766
|
-
var c = b.wa.shift();
|
|
2767
|
-
if (void 0 === c)
|
|
2768
|
-
break;
|
|
2769
|
-
if (Object.prototype.hasOwnProperty.call(b.u.h, c) && !b.kb[c] && (b.kb[c] = !0, Object.prototype.propertyIsEnumerable.call(b.u.h, c))) {
|
|
2770
|
-
b.Ra = c;
|
|
2771
|
-
break a;
|
|
2772
|
-
}
|
|
2773
|
-
}
|
|
2774
|
-
else if (null !== b.u && void 0 !== b.u)
|
|
2775
|
-
for (b.wa || (b.wa = Object.getOwnPropertyNames(b.u));;) {
|
|
2776
|
-
c = b.wa.shift();
|
|
2777
|
-
if (void 0 === c)
|
|
2778
|
-
break;
|
|
2779
|
-
b.kb[c] = !0;
|
|
2780
|
-
if (Object.prototype.propertyIsEnumerable.call(b.u, c)) {
|
|
2781
|
-
b.Ra = c;
|
|
2782
|
-
break a;
|
|
2783
|
-
}
|
|
2784
|
-
}
|
|
2785
|
-
b.u = Ac(this, b.u);
|
|
2786
|
-
b.wa = null;
|
|
2787
|
-
if (null === b.u) {
|
|
2788
|
-
a.pop();
|
|
2789
|
-
return;
|
|
2790
|
-
}
|
|
2791
|
-
}
|
|
2792
|
-
if (!b.wb)
|
|
2793
|
-
if (b.wb = !0, a = d.left, "VariableDeclaration" === a.type)
|
|
2794
|
-
b.pa = [Ha, a.fa[0].id.name];
|
|
2795
|
-
else
|
|
2796
|
-
return b.pa = null, b = new u(a, b.scope), b.sa = !0, b;
|
|
2797
|
-
b.pa || (b.pa = b.value);
|
|
2798
|
-
if (!b.ta && (b.ta = !0, a = b.Ra, c = gd(this, b.pa, a)))
|
|
2799
|
-
return kd(this, c, b.pa, a);
|
|
2800
|
-
b.Ra = void 0;
|
|
2801
|
-
b.wb = !1;
|
|
2802
|
-
b.ta = !1;
|
|
2803
|
-
if (d.body)
|
|
2804
|
-
return new u(d.body, b.scope);
|
|
2805
|
-
};
|
|
2806
|
-
t.prototype.stepForStatement = function (a, b, d) {
|
|
2807
|
-
switch (b.na) {
|
|
2808
|
-
default:
|
|
2809
|
-
b.na = 1;
|
|
2810
|
-
if (d.ua)
|
|
2811
|
-
return new u(d.ua, b.scope);
|
|
2812
|
-
break;
|
|
2813
|
-
case 1:
|
|
2814
|
-
b.na = 2;
|
|
2815
|
-
if (d.test)
|
|
2816
|
-
return new u(d.test, b.scope);
|
|
2817
|
-
break;
|
|
2818
|
-
case 2:
|
|
2819
|
-
b.na = 3;
|
|
2820
|
-
if (d.test && !b.value)
|
|
2821
|
-
a.pop();
|
|
2822
|
-
else
|
|
2823
|
-
return b.W = !0, new u(d.body, b.scope);
|
|
2824
|
-
break;
|
|
2825
|
-
case 3:
|
|
2826
|
-
if (b.na = 1, d.update)
|
|
2827
|
-
return new u(d.update, b.scope);
|
|
2828
|
-
}
|
|
2829
|
-
};
|
|
2830
|
-
t.prototype.stepFunctionDeclaration = function (a) {
|
|
2831
|
-
a.pop();
|
|
2832
|
-
};
|
|
2833
|
-
t.prototype.stepFunctionExpression = function (a, b, d) {
|
|
2834
|
-
a.pop();
|
|
2835
|
-
b = a[a.length - 1];
|
|
2836
|
-
a = b.scope;
|
|
2837
|
-
d.id && (a = cd(this, a));
|
|
2838
|
-
b.value = Nb(this, d, a, b.Pa);
|
|
2839
|
-
d.id && this.g(a.object, d.id.name, b.value, ua);
|
|
2840
|
-
};
|
|
2841
|
-
t.prototype.stepIdentifier = function (a, b, d) {
|
|
2842
|
-
a.pop();
|
|
2843
|
-
if (b.sa)
|
|
2844
|
-
a[a.length - 1].value = [Ha, d.name];
|
|
2845
|
-
else {
|
|
2846
|
-
b = dd(this, d.name);
|
|
2847
|
-
if (this.P)
|
|
2848
|
-
return jd(this, b, this.Na);
|
|
2849
|
-
a[a.length - 1].value = b;
|
|
2850
|
-
}
|
|
2851
|
-
};
|
|
2852
|
-
t.prototype.stepIfStatement = t.prototype.stepConditionalExpression;
|
|
2853
|
-
t.prototype.stepLabeledStatement = function (a, b, d) {
|
|
2854
|
-
a.pop();
|
|
2855
|
-
a = b.labels || [];
|
|
2856
|
-
a.push(d.label.name);
|
|
2857
|
-
b = new u(d.body, b.scope);
|
|
2858
|
-
b.labels = a;
|
|
2859
|
-
return b;
|
|
2860
|
-
};
|
|
2861
|
-
t.prototype.stepLiteral = function (a, b, d) {
|
|
2862
|
-
a.pop();
|
|
2863
|
-
b = d.value;
|
|
2864
|
-
b instanceof RegExp && (d = this.s(this.Ma), Hc(this, d, b), b = d);
|
|
2865
|
-
a[a.length - 1].value = b;
|
|
2866
|
-
};
|
|
2867
|
-
t.prototype.stepLogicalExpression = function (a, b, d) {
|
|
2868
|
-
if ("&&" !== d.operator && "||" !== d.operator)
|
|
2869
|
-
throw SyntaxError("Unknown logical operator: " + d.operator);
|
|
2870
|
-
if (!b.ja)
|
|
2871
|
-
return b.ja = !0, new u(d.left, b.scope);
|
|
2872
|
-
if (b.Da)
|
|
2873
|
-
a.pop(), a[a.length - 1].value = b.value;
|
|
2874
|
-
else if ("&&" === d.operator && !b.value || "||" === d.operator && b.value)
|
|
2875
|
-
a.pop(), a[a.length - 1].value = b.value;
|
|
2876
|
-
else
|
|
2877
|
-
return b.Da = !0, new u(d.right, b.scope);
|
|
2878
|
-
};
|
|
2879
|
-
t.prototype.stepMemberExpression = function (a, b, d) {
|
|
2880
|
-
if (!b.Ca)
|
|
2881
|
-
return b.Ca = !0, new u(d.object, b.scope);
|
|
2882
|
-
if (d.bb) {
|
|
2883
|
-
if (b.Vb)
|
|
2884
|
-
d = b.value;
|
|
2885
|
-
else
|
|
2886
|
-
return b.u = b.value, b.Vb = !0, new u(d.Wa, b.scope);
|
|
2887
|
-
}
|
|
2888
|
-
else
|
|
2889
|
-
b.u = b.value, d = d.Wa.name;
|
|
2890
|
-
a.pop();
|
|
2891
|
-
if (b.sa)
|
|
2892
|
-
a[a.length - 1].value = [b.u, d];
|
|
2893
|
-
else {
|
|
2894
|
-
d = this.G(b.u, d);
|
|
2895
|
-
if (this.P)
|
|
2896
|
-
return jd(this, d, b.u);
|
|
2897
|
-
a[a.length - 1].value = d;
|
|
2898
|
-
}
|
|
2899
|
-
};
|
|
2900
|
-
t.prototype.stepNewExpression = t.prototype.stepCallExpression;
|
|
2901
|
-
t.prototype.stepObjectExpression = function (a, b, d) {
|
|
2902
|
-
var c = b.A || 0, e = d.h[c];
|
|
2903
|
-
if (b.u) {
|
|
2904
|
-
var h = b.Pa;
|
|
2905
|
-
b.Ja[h] || (b.Ja[h] = {});
|
|
2906
|
-
b.Ja[h][e.kind] = b.value;
|
|
2907
|
-
b.A = ++c;
|
|
2908
|
-
e = d.h[c];
|
|
2909
|
-
}
|
|
2910
|
-
else
|
|
2911
|
-
b.u = this.s(this.M), b.Ja = Object.create(null);
|
|
2912
|
-
if (e) {
|
|
2913
|
-
var k = e.key;
|
|
2914
|
-
if ("Identifier" === k.type)
|
|
2915
|
-
h = k.name;
|
|
2916
|
-
else if ("Literal" === k.type)
|
|
2917
|
-
h = k.value;
|
|
2918
|
-
else
|
|
2919
|
-
throw SyntaxError("Unknown object structure: " + k.type);
|
|
2920
|
-
b.Pa = h;
|
|
2921
|
-
return new u(e.value, b.scope);
|
|
2922
|
-
}
|
|
2923
|
-
for (k in b.Ja)
|
|
2924
|
-
d = b.Ja[k], "get" in d || "set" in d ? this.g(b.u, k, Ia, {
|
|
2925
|
-
configurable: !0,
|
|
2926
|
-
enumerable: !0,
|
|
2927
|
-
get: d.get,
|
|
2928
|
-
set: d.set
|
|
2929
|
-
}) : this.g(b.u, k, d.init);
|
|
2930
|
-
a.pop();
|
|
2931
|
-
a[a.length - 1].value = b.u;
|
|
2932
|
-
};
|
|
2933
|
-
t.prototype.stepProgram = function (a, b, d) {
|
|
2934
|
-
if (a = d.body.shift())
|
|
2935
|
-
return b.done = !1, new u(a, b.scope);
|
|
2936
|
-
b.done = !0;
|
|
2937
|
-
};
|
|
2938
|
-
t.prototype.stepReturnStatement = function (a, b, d) {
|
|
2939
|
-
if (d.K && !b.ka)
|
|
2940
|
-
return b.ka = !0, new u(d.K, b.scope);
|
|
2941
|
-
hd(this, 3, b.value);
|
|
2942
|
-
};
|
|
2943
|
-
t.prototype.stepSequenceExpression = function (a, b, d) {
|
|
2944
|
-
var c = b.A || 0;
|
|
2945
|
-
if (d = d.xb[c])
|
|
2946
|
-
return b.A = c + 1, new u(d, b.scope);
|
|
2947
|
-
a.pop();
|
|
2948
|
-
a[a.length - 1].value = b.value;
|
|
2949
|
-
};
|
|
2950
|
-
t.prototype.stepSwitchStatement = function (a, b, d) {
|
|
2951
|
-
if (!b.ga)
|
|
2952
|
-
return b.ga = 1, new u(d.Qb, b.scope);
|
|
2953
|
-
1 === b.ga && (b.ga = 2, b.hc = b.value, b.cb = -1);
|
|
2954
|
-
for (;;) {
|
|
2955
|
-
var c = b.gb || 0, e = d.tb[c];
|
|
2956
|
-
if (b.Ha || !e || e.test) {
|
|
2957
|
-
if (e || b.Ha || -1 === b.cb) {
|
|
2958
|
-
if (e) {
|
|
2959
|
-
if (!b.Ha && !b.Fb && e.test)
|
|
2960
|
-
return b.Fb = !0, new u(e.test, b.scope);
|
|
2961
|
-
if (b.Ha || b.value === b.hc) {
|
|
2962
|
-
b.Ha = !0;
|
|
2963
|
-
var h = b.A || 0;
|
|
2964
|
-
if (e.da[h])
|
|
2965
|
-
return b.Zb = !0, b.A = h + 1, new u(e.da[h], b.scope);
|
|
2966
|
-
}
|
|
2967
|
-
b.Fb = !1;
|
|
2968
|
-
b.A = 0;
|
|
2969
|
-
b.gb = c + 1;
|
|
2970
|
-
}
|
|
2971
|
-
else {
|
|
2972
|
-
a.pop();
|
|
2973
|
-
break;
|
|
2974
|
-
}
|
|
2975
|
-
}
|
|
2976
|
-
else
|
|
2977
|
-
b.Ha = !0, b.gb = b.cb;
|
|
2978
|
-
}
|
|
2979
|
-
else
|
|
2980
|
-
b.cb = c, b.gb = c + 1;
|
|
2981
|
-
}
|
|
2982
|
-
};
|
|
2983
|
-
t.prototype.stepThisExpression = function (a) {
|
|
2984
|
-
a.pop();
|
|
2985
|
-
a[a.length - 1].value = dd(this, "this");
|
|
2986
|
-
};
|
|
2987
|
-
t.prototype.stepThrowStatement = function (a, b, d) {
|
|
2988
|
-
if (b.ka)
|
|
2989
|
-
K(this, b.value);
|
|
2990
|
-
else
|
|
2991
|
-
return b.ka = !0, new u(d.K, b.scope);
|
|
2992
|
-
};
|
|
2993
|
-
t.prototype.stepTryStatement = function (a, b, d) {
|
|
2994
|
-
if (!b.Rb)
|
|
2995
|
-
return b.Rb = !0, new u(d.block, b.scope);
|
|
2996
|
-
if (b.ea && 4 === b.ea.type && !b.Tb && d.Ea)
|
|
2997
|
-
return b.Tb = !0, a = cd(this, b.scope), this.g(a.object, d.Ea.Ua.name, b.ea.value), b.ea = void 0, new u(d.Ea.body, a);
|
|
2998
|
-
if (!b.Sb && d.fb)
|
|
2999
|
-
return b.Sb = !0, new u(d.fb, b.scope);
|
|
3000
|
-
a.pop();
|
|
3001
|
-
b.ea && hd(this, b.ea.type, b.ea.value, b.ea.label);
|
|
3002
|
-
};
|
|
3003
|
-
t.prototype.stepUnaryExpression = function (a, b, d) {
|
|
3004
|
-
if (!b.ka)
|
|
3005
|
-
return b.ka = !0, a = new u(d.K, b.scope), a.sa = "delete" === d.operator, a;
|
|
3006
|
-
a.pop();
|
|
3007
|
-
var c = b.value;
|
|
3008
|
-
switch (d.operator) {
|
|
3009
|
-
case "-":
|
|
3010
|
-
c = -c;
|
|
3011
|
-
break;
|
|
3012
|
-
case "+":
|
|
3013
|
-
c = +c;
|
|
3014
|
-
break;
|
|
3015
|
-
case "!":
|
|
3016
|
-
c = !c;
|
|
3017
|
-
break;
|
|
3018
|
-
case "~":
|
|
3019
|
-
c = ~c;
|
|
3020
|
-
break;
|
|
3021
|
-
case "delete":
|
|
3022
|
-
d = !0;
|
|
3023
|
-
if (Array.isArray(c)) {
|
|
3024
|
-
var e = c[0];
|
|
3025
|
-
e === Ha && (e = b.scope);
|
|
3026
|
-
c = String(c[1]);
|
|
3027
|
-
try {
|
|
3028
|
-
delete e.h[c];
|
|
3029
|
-
}
|
|
3030
|
-
catch (h) {
|
|
3031
|
-
b.scope.S ? K(this, this.j, "Cannot delete property '" + c + "' of '" + e + "'") : d = !1;
|
|
3032
|
-
}
|
|
3033
|
-
}
|
|
3034
|
-
c = d;
|
|
3035
|
-
break;
|
|
3036
|
-
case "typeof":
|
|
3037
|
-
c = c && "Function" === c.H ? "function" : typeof c;
|
|
3038
|
-
break;
|
|
3039
|
-
case "void":
|
|
3040
|
-
c = void 0;
|
|
3041
|
-
break;
|
|
3042
|
-
default:
|
|
3043
|
-
throw SyntaxError("Unknown unary operator: " + d.operator);
|
|
3044
|
-
}
|
|
3045
|
-
a[a.length - 1].value = c;
|
|
3046
|
-
};
|
|
3047
|
-
t.prototype.stepUpdateExpression = function (a, b, d) {
|
|
3048
|
-
if (!b.ja)
|
|
3049
|
-
return b.ja = !0, a = new u(d.K, b.scope), a.sa = !0, a;
|
|
3050
|
-
b.Ga || (b.Ga = b.value);
|
|
3051
|
-
b.Ba && (b.ma = b.value);
|
|
3052
|
-
if (!b.Ba) {
|
|
3053
|
-
var c = fd(this, b.Ga);
|
|
3054
|
-
b.ma = c;
|
|
3055
|
-
if (this.P)
|
|
3056
|
-
return b.Ba = !0, jd(this, c, b.Ga);
|
|
3057
|
-
}
|
|
3058
|
-
if (b.ta)
|
|
3059
|
-
a.pop(), a[a.length - 1].value = b.ib;
|
|
3060
|
-
else {
|
|
3061
|
-
c = Number(b.ma);
|
|
3062
|
-
if ("++" === d.operator)
|
|
3063
|
-
var e = c + 1;
|
|
3064
|
-
else if ("--" === d.operator)
|
|
3065
|
-
e = c - 1;
|
|
3066
|
-
else
|
|
3067
|
-
throw SyntaxError("Unknown update expression: " + d.operator);
|
|
3068
|
-
d = d.prefix ? e : c;
|
|
3069
|
-
if (c = gd(this, b.Ga, e))
|
|
3070
|
-
return b.ta = !0, b.ib = d, kd(this, c, b.Ga, e);
|
|
3071
|
-
a.pop();
|
|
3072
|
-
a[a.length - 1].value = d;
|
|
3073
|
-
}
|
|
3074
|
-
};
|
|
3075
|
-
t.prototype.stepVariableDeclaration = function (a, b, d) {
|
|
3076
|
-
d = d.fa;
|
|
3077
|
-
var c = b.A || 0, e = d[c];
|
|
3078
|
-
b.Bb && e && (ed(this, e.id.name, b.value), b.Bb = !1, e = d[++c]);
|
|
3079
|
-
for (; e;) {
|
|
3080
|
-
if (e.ua)
|
|
3081
|
-
return b.A = c, b.Bb = !0, b.Pa = e.id.name, new u(e.ua, b.scope);
|
|
3082
|
-
e = d[++c];
|
|
3083
|
-
}
|
|
3084
|
-
a.pop();
|
|
3085
|
-
};
|
|
3086
|
-
t.prototype.stepWithStatement = function (a, b, d) {
|
|
3087
|
-
if (!b.Ca)
|
|
3088
|
-
return b.Ca = !0, new u(d.object, b.scope);
|
|
3089
|
-
a.pop();
|
|
3090
|
-
a = cd(this, b.scope, b.value);
|
|
3091
|
-
return new u(d.body, a);
|
|
3092
|
-
};
|
|
3093
|
-
t.prototype.stepWhileStatement = t.prototype.stepDoWhileStatement;
|
|
3094
|
-
Na.Interpreter = t;
|
|
3095
|
-
t.prototype.step = t.prototype.lb;
|
|
3096
|
-
t.prototype.run = t.prototype.Eb;
|
|
3097
|
-
t.prototype.appendCode = t.prototype.Jb;
|
|
3098
|
-
t.prototype.createObject = t.prototype.Aa;
|
|
3099
|
-
t.prototype.createObjectProto = t.prototype.s;
|
|
3100
|
-
t.prototype.createAsyncFunction = t.prototype.ub;
|
|
3101
|
-
t.prototype.createNativeFunction = t.prototype.i;
|
|
3102
|
-
t.prototype.getProperty = t.prototype.G;
|
|
3103
|
-
t.prototype.setProperty = t.prototype.g;
|
|
3104
|
-
t.prototype.nativeToPseudo = t.prototype.Ia;
|
|
3105
|
-
t.prototype.pseudoToNative = t.prototype.R;
|
|
3106
|
-
t.prototype.getGlobalScope = t.prototype.Xb;
|
|
3107
|
-
t.prototype.getStateStack = t.prototype.Yb;
|
|
3108
|
-
t.prototype.setStateStack = t.prototype.ec;
|
|
3109
|
-
t.VALUE_IN_DESCRIPTOR = Ia;
|
|
3110
|
-
// BUILDER.IO: export Interpreter
|
|
3111
|
-
export default t;
|