UNPKG

awv3

Version:
1,996 lines (1,995 loc) 238 kB
{ "type": "Program", "body": [ { "type": "ExpressionStatement", "expression": { "type": "Literal", "value": "use strict", "raw": "'use strict'", "range": [ 0, 12 ], "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 12 } } }, "range": [ 0, 13 ], "loc": { "start": { "line": 1, "column": 0 }, "end": { "line": 1, "column": 13 } } }, { "type": "ExpressionStatement", "expression": { "type": "CallExpression", "callee": { "type": "MemberExpression", "computed": false, "object": { "type": "Identifier", "name": "Object", "range": [ 13, 19 ], "loc": { "start": { "line": 1, "column": 13 }, "end": { "line": 1, "column": 19 } } }, "property": { "type": "Identifier", "name": "defineProperty", "range": [ 20, 34 ], "loc": { "start": { "line": 1, "column": 20 }, "end": { "line": 1, "column": 34 } } }, "range": [ 13, 34 ], "loc": { "start": { "line": 1, "column": 13 }, "end": { "line": 1, "column": 34 } } }, "arguments": [ { "type": "Identifier", "name": "exports", "range": [ 35, 42 ], "loc": { "start": { "line": 1, "column": 35 }, "end": { "line": 1, "column": 42 } } }, { "type": "Literal", "value": "__esModule", "raw": "'__esModule'", "range": [ 43, 55 ], "loc": { "start": { "line": 1, "column": 43 }, "end": { "line": 1, "column": 55 } } }, { "type": "ObjectExpression", "properties": [ { "type": "Property", "key": { "type": "Identifier", "name": "value", "range": [ 57, 62 ], "loc": { "start": { "line": 1, "column": 57 }, "end": { "line": 1, "column": 62 } } }, "value": { "type": "UnaryExpression", "operator": "!", "argument": { "type": "Literal", "value": 0, "raw": "0", "range": [ 64, 65 ], "loc": { "start": { "line": 1, "column": 64 }, "end": { "line": 1, "column": 65 } } }, "prefix": true, "range": [ 63, 65 ], "loc": { "start": { "line": 1, "column": 63 }, "end": { "line": 1, "column": 65 } } }, "kind": "init", "method": false, "shorthand": false, "computed": false, "range": [ 57, 65 ], "loc": { "start": { "line": 1, "column": 57 }, "end": { "line": 1, "column": 65 } } } ], "range": [ 56, 66 ], "loc": { "start": { "line": 1, "column": 56 }, "end": { "line": 1, "column": 66 } } } ], "range": [ 13, 67 ], "loc": { "start": { "line": 1, "column": 13 }, "end": { "line": 1, "column": 67 } } }, "range": [ 13, 68 ], "loc": { "start": { "line": 1, "column": 13 }, "end": { "line": 1, "column": 68 } } }, { "type": "VariableDeclaration", "declarations": [ { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_extends2", "range": [ 72, 81 ], "loc": { "start": { "line": 1, "column": 72 }, "end": { "line": 1, "column": 81 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "require", "range": [ 82, 89 ], "loc": { "start": { "line": 1, "column": 82 }, "end": { "line": 1, "column": 89 } } }, "arguments": [ { "type": "Literal", "value": "babel-runtime/helpers/extends", "raw": "'babel-runtime/helpers/extends'", "range": [ 90, 121 ], "loc": { "start": { "line": 1, "column": 90 }, "end": { "line": 1, "column": 121 } } } ], "range": [ 82, 122 ], "loc": { "start": { "line": 1, "column": 82 }, "end": { "line": 1, "column": 122 } } }, "range": [ 72, 122 ], "loc": { "start": { "line": 1, "column": 72 }, "end": { "line": 1, "column": 122 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_extends3", "range": [ 123, 132 ], "loc": { "start": { "line": 1, "column": 123 }, "end": { "line": 1, "column": 132 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "_interopRequireDefault", "range": [ 133, 155 ], "loc": { "start": { "line": 1, "column": 133 }, "end": { "line": 1, "column": 155 } } }, "arguments": [ { "type": "Identifier", "name": "_extends2", "range": [ 156, 165 ], "loc": { "start": { "line": 1, "column": 156 }, "end": { "line": 1, "column": 165 } } } ], "range": [ 133, 166 ], "loc": { "start": { "line": 1, "column": 133 }, "end": { "line": 1, "column": 166 } } }, "range": [ 123, 166 ], "loc": { "start": { "line": 1, "column": 123 }, "end": { "line": 1, "column": 166 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_getPrototypeOf", "range": [ 167, 182 ], "loc": { "start": { "line": 1, "column": 167 }, "end": { "line": 1, "column": 182 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "require", "range": [ 183, 190 ], "loc": { "start": { "line": 1, "column": 183 }, "end": { "line": 1, "column": 190 } } }, "arguments": [ { "type": "Literal", "value": "babel-runtime/core-js/object/get-prototype-of", "raw": "'babel-runtime/core-js/object/get-prototype-of'", "range": [ 191, 238 ], "loc": { "start": { "line": 1, "column": 191 }, "end": { "line": 1, "column": 238 } } } ], "range": [ 183, 239 ], "loc": { "start": { "line": 1, "column": 183 }, "end": { "line": 1, "column": 239 } } }, "range": [ 167, 239 ], "loc": { "start": { "line": 1, "column": 167 }, "end": { "line": 1, "column": 239 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_getPrototypeOf2", "range": [ 240, 256 ], "loc": { "start": { "line": 1, "column": 240 }, "end": { "line": 1, "column": 256 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "_interopRequireDefault", "range": [ 257, 279 ], "loc": { "start": { "line": 1, "column": 257 }, "end": { "line": 1, "column": 279 } } }, "arguments": [ { "type": "Identifier", "name": "_getPrototypeOf", "range": [ 280, 295 ], "loc": { "start": { "line": 1, "column": 280 }, "end": { "line": 1, "column": 295 } } } ], "range": [ 257, 296 ], "loc": { "start": { "line": 1, "column": 257 }, "end": { "line": 1, "column": 296 } } }, "range": [ 240, 296 ], "loc": { "start": { "line": 1, "column": 240 }, "end": { "line": 1, "column": 296 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_classCallCheck2", "range": [ 297, 313 ], "loc": { "start": { "line": 1, "column": 297 }, "end": { "line": 1, "column": 313 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "require", "range": [ 314, 321 ], "loc": { "start": { "line": 1, "column": 314 }, "end": { "line": 1, "column": 321 } } }, "arguments": [ { "type": "Literal", "value": "babel-runtime/helpers/classCallCheck", "raw": "'babel-runtime/helpers/classCallCheck'", "range": [ 322, 360 ], "loc": { "start": { "line": 1, "column": 322 }, "end": { "line": 1, "column": 360 } } } ], "range": [ 314, 361 ], "loc": { "start": { "line": 1, "column": 314 }, "end": { "line": 1, "column": 361 } } }, "range": [ 297, 361 ], "loc": { "start": { "line": 1, "column": 297 }, "end": { "line": 1, "column": 361 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_classCallCheck3", "range": [ 362, 378 ], "loc": { "start": { "line": 1, "column": 362 }, "end": { "line": 1, "column": 378 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "_interopRequireDefault", "range": [ 379, 401 ], "loc": { "start": { "line": 1, "column": 379 }, "end": { "line": 1, "column": 401 } } }, "arguments": [ { "type": "Identifier", "name": "_classCallCheck2", "range": [ 402, 418 ], "loc": { "start": { "line": 1, "column": 402 }, "end": { "line": 1, "column": 418 } } } ], "range": [ 379, 419 ], "loc": { "start": { "line": 1, "column": 379 }, "end": { "line": 1, "column": 419 } } }, "range": [ 362, 419 ], "loc": { "start": { "line": 1, "column": 362 }, "end": { "line": 1, "column": 419 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_possibleConstructorReturn2", "range": [ 420, 447 ], "loc": { "start": { "line": 1, "column": 420 }, "end": { "line": 1, "column": 447 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "require", "range": [ 448, 455 ], "loc": { "start": { "line": 1, "column": 448 }, "end": { "line": 1, "column": 455 } } }, "arguments": [ { "type": "Literal", "value": "babel-runtime/helpers/possibleConstructorReturn", "raw": "'babel-runtime/helpers/possibleConstructorReturn'", "range": [ 456, 505 ], "loc": { "start": { "line": 1, "column": 456 }, "end": { "line": 1, "column": 505 } } } ], "range": [ 448, 506 ], "loc": { "start": { "line": 1, "column": 448 }, "end": { "line": 1, "column": 506 } } }, "range": [ 420, 506 ], "loc": { "start": { "line": 1, "column": 420 }, "end": { "line": 1, "column": 506 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_possibleConstructorReturn3", "range": [ 507, 534 ], "loc": { "start": { "line": 1, "column": 507 }, "end": { "line": 1, "column": 534 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "_interopRequireDefault", "range": [ 535, 557 ], "loc": { "start": { "line": 1, "column": 535 }, "end": { "line": 1, "column": 557 } } }, "arguments": [ { "type": "Identifier", "name": "_possibleConstructorReturn2", "range": [ 558, 585 ], "loc": { "start": { "line": 1, "column": 558 }, "end": { "line": 1, "column": 585 } } } ], "range": [ 535, 586 ], "loc": { "start": { "line": 1, "column": 535 }, "end": { "line": 1, "column": 586 } } }, "range": [ 507, 586 ], "loc": { "start": { "line": 1, "column": 507 }, "end": { "line": 1, "column": 586 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_inherits2", "range": [ 587, 597 ], "loc": { "start": { "line": 1, "column": 587 }, "end": { "line": 1, "column": 597 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "require", "range": [ 598, 605 ], "loc": { "start": { "line": 1, "column": 598 }, "end": { "line": 1, "column": 605 } } }, "arguments": [ { "type": "Literal", "value": "babel-runtime/helpers/inherits", "raw": "'babel-runtime/helpers/inherits'", "range": [ 606, 638 ], "loc": { "start": { "line": 1, "column": 606 }, "end": { "line": 1, "column": 638 } } } ], "range": [ 598, 639 ], "loc": { "start": { "line": 1, "column": 598 }, "end": { "line": 1, "column": 639 } } }, "range": [ 587, 639 ], "loc": { "start": { "line": 1, "column": 587 }, "end": { "line": 1, "column": 639 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_inherits3", "range": [ 640, 650 ], "loc": { "start": { "line": 1, "column": 640 }, "end": { "line": 1, "column": 650 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "_interopRequireDefault", "range": [ 651, 673 ], "loc": { "start": { "line": 1, "column": 651 }, "end": { "line": 1, "column": 673 } } }, "arguments": [ { "type": "Identifier", "name": "_inherits2", "range": [ 674, 684 ], "loc": { "start": { "line": 1, "column": 674 }, "end": { "line": 1, "column": 684 } } } ], "range": [ 651, 685 ], "loc": { "start": { "line": 1, "column": 651 }, "end": { "line": 1, "column": 685 } } }, "range": [ 640, 685 ], "loc": { "start": { "line": 1, "column": 640 }, "end": { "line": 1, "column": 685 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_three", "range": [ 686, 692 ], "loc": { "start": { "line": 1, "column": 686 }, "end": { "line": 1, "column": 692 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "require", "range": [ 693, 700 ], "loc": { "start": { "line": 1, "column": 693 }, "end": { "line": 1, "column": 700 } } }, "arguments": [ { "type": "Literal", "value": "three", "raw": "'three'", "range": [ 701, 708 ], "loc": { "start": { "line": 1, "column": 701 }, "end": { "line": 1, "column": 708 } } } ], "range": [ 693, 709 ], "loc": { "start": { "line": 1, "column": 693 }, "end": { "line": 1, "column": 709 } } }, "range": [ 686, 709 ], "loc": { "start": { "line": 1, "column": 686 }, "end": { "line": 1, "column": 709 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "THREE", "range": [ 710, 715 ], "loc": { "start": { "line": 1, "column": 710 }, "end": { "line": 1, "column": 715 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "_interopRequireWildcard", "range": [ 716, 739 ], "loc": { "start": { "line": 1, "column": 716 }, "end": { "line": 1, "column": 739 } } }, "arguments": [ { "type": "Identifier", "name": "_three", "range": [ 740, 746 ], "loc": { "start": { "line": 1, "column": 740 }, "end": { "line": 1, "column": 746 } } } ], "range": [ 716, 747 ], "loc": { "start": { "line": 1, "column": 716 }, "end": { "line": 1, "column": 747 } } }, "range": [ 710, 747 ], "loc": { "start": { "line": 1, "column": 710 }, "end": { "line": 1, "column": 747 } } } ], "kind": "var", "range": [ 68, 748 ], "loc": { "start": { "line": 1, "column": 68 }, "end": { "line": 1, "column": 748 } } }, { "type": "FunctionDeclaration", "id": { "type": "Identifier", "name": "_interopRequireWildcard", "range": [ 757, 780 ], "loc": { "start": { "line": 1, "column": 757 }, "end": { "line": 1, "column": 780 } } }, "params": [ { "type": "Identifier", "name": "obj", "range": [ 781, 784 ], "loc": { "start": { "line": 1, "column": 781 }, "end": { "line": 1, "column": 784 } } } ], "body": { "type": "BlockStatement", "body": [ { "type": "IfStatement", "test": { "type": "LogicalExpression", "operator": "&&", "left": { "type": "Identifier", "name": "obj", "range": [ 789, 792 ], "loc": { "start": { "line": 1, "column": 789 }, "end": { "line": 1, "column": 792 } } }, "right": { "type": "MemberExpression", "computed": false, "object": { "type": "Identifier", "name": "obj", "range": [ 794, 797 ], "loc": { "start": { "line": 1, "column": 794 }, "end": { "line": 1, "column": 797 } } }, "property": { "type": "Identifier", "name": "__esModule", "range": [ 798, 808 ], "loc": { "start": { "line": 1, "column": 798 }, "end": { "line": 1, "column": 808 } } }, "range": [ 794, 808 ], "loc": { "start": { "line": 1, "column": 794 }, "end": { "line": 1, "column": 808 } } }, "range": [ 789, 808 ], "loc": { "start": { "line": 1, "column": 789 }, "end": { "line": 1, "column": 808 } } }, "consequent": { "type": "ReturnStatement", "argument": { "type": "Identifier", "name": "obj", "range": [ 816, 819 ], "loc": { "start": { "line": 1, "column": 816 }, "end": { "line": 1, "column": 819 } } }, "range": [ 809, 820 ], "loc": { "start": { "line": 1, "column": 809 }, "end": { "line": 1, "column": 820 } } }, "alternate": null, "range": [ 786, 820 ], "loc": { "start": { "line": 1, "column": 786 }, "end": { "line": 1, "column": 820 } } }, { "type": "VariableDeclaration", "declarations": [ { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "newObj", "range": [ 824, 830 ], "loc": { "start": { "line": 1, "column": 824 }, "end": { "line": 1, "column": 830 } } }, "init": { "type": "ObjectExpression", "properties": [], "range": [ 831, 833 ], "loc": { "start": { "line": 1, "column": 831 }, "end": { "line": 1, "column": 833 } } }, "range": [ 824, 833 ], "loc": { "start": { "line": 1, "column": 824 }, "end": { "line": 1, "column": 833 } } } ], "kind": "var", "range": [ 820, 834 ], "loc": { "start": { "line": 1, "column": 820 }, "end": { "line": 1, "column": 834 } } }, { "type": "IfStatement", "test": { "type": "BinaryExpression", "operator": "!=", "left": { "type": "Literal", "value": null, "raw": "null", "range": [ 837, 841 ], "loc": { "start": { "line": 1, "column": 837 }, "end": { "line": 1, "column": 841 } } }, "right": { "type": "Identifier", "name": "obj", "range": [ 843, 846 ], "loc": { "start": { "line": 1, "column": 843 }, "end": { "line": 1, "column": 846 } } }, "range": [ 837, 846 ], "loc": { "start": { "line": 1, "column": 837 }, "end": { "line": 1, "column": 846 } } }, "consequent": { "type": "ForInStatement", "left": { "type": "VariableDeclaration", "declarations": [ { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "key", "range": [ 855, 858 ], "loc": { "start": { "line": 1, "column": 855 }, "end": { "line": 1, "column": 858 } } }, "init": null, "range": [ 855, 858 ], "loc": { "start": { "line": 1, "column": 855 }, "end": { "line": 1, "column": 858 } } } ], "kind": "var", "range": [ 851, 858 ], "loc": { "start": { "line": 1, "column": 851 }, "end": { "line": 1, "column": 858 } } }, "right": { "type": "Identifier", "name": "obj", "range": [ 862, 865 ], "loc": { "start": { "line": 1, "column": 862 }, "end": { "line": 1, "column": 865 } } }, "body": { "type": "ExpressionStatement", "expression": { "type": "LogicalExpression", "operator": "&&", "left": { "type": "CallExpression", "callee": { "type": "MemberExpression", "computed": false, "object": { "type": "MemberExpression", "computed": false, "object": { "type": "MemberExpression", "computed": false, "object": { "type": "Identifier", "name": "Object", "range": [ 866, 872 ], "loc": { "start": { "line": 1, "column": 866 }, "end": { "line": 1, "column": 872 } } }, "property": { "type": "Identifier", "name": "prototype", "range": [ 873, 882 ], "loc": { "start": { "line": 1, "column": 873 }, "end": { "line": 1, "column": 882 } } }, "range": [ 866, 882 ], "loc": { "start": { "line": 1, "column": 866 }, "end": { "line": 1, "column": 882 } } }, "property": { "type": "Identifier", "name": "hasOwnProperty", "range": [ 883, 897 ], "loc": { "start": { "line": 1, "column": 883 }, "end": { "line": 1, "column": 897 } } }, "range": [ 866, 897 ], "loc": { "start": { "line": 1, "column": 866 }, "end": { "line": 1, "column": 897 } } }, "property": { "type": "Identifier", "name": "call", "range": [ 898, 902 ], "loc": { "start": { "line": 1, "column": 898 }, "end": { "line": 1, "column": 902 } } }, "range": [ 866, 902 ], "loc": { "start": { "line": 1, "column": 866 }, "end": { "line": 1, "column": 902 } } }, "arguments": [ { "type": "Identifier", "name": "obj", "range": [ 903, 906 ], "loc": { "start": { "line": 1, "column": 903 }, "end": { "line": 1, "column": 906 } } }, { "type": "Identifier", "name": "key", "range": [ 907, 910 ], "loc": { "start": { "line": 1, "column": 907 }, "end": { "line": 1, "column": 910 } } } ], "range": [ 866, 911 ], "loc": { "start": { "line": 1, "column": 866 }, "end": { "line": 1, "column": 911 } } }, "right": { "type": "AssignmentExpression", "operator": "=", "left": { "type": "MemberExpression", "computed": true, "object": { "type": "Identifier", "name": "newObj", "range": [ 914, 920 ], "loc": { "start": { "line": 1, "column": 914 }, "end": { "line": 1, "column": 920 } } }, "property": { "type": "Identifier", "name": "key", "range": [ 921, 924 ], "loc": { "start": { "line": 1, "column": 921 }, "end": { "line": 1, "column": 924 } } }, "range": [ 914, 925 ], "loc": { "start": { "line": 1,