UNPKG

awv3

Version:
2,119 lines 4 MB
{ "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": "_keys", "range": [ 167, 172 ], "loc": { "start": { "line": 1, "column": 167 }, "end": { "line": 1, "column": 172 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "require", "range": [ 173, 180 ], "loc": { "start": { "line": 1, "column": 173 }, "end": { "line": 1, "column": 180 } } }, "arguments": [ { "type": "Literal", "value": "babel-runtime/core-js/object/keys", "raw": "'babel-runtime/core-js/object/keys'", "range": [ 181, 216 ], "loc": { "start": { "line": 1, "column": 181 }, "end": { "line": 1, "column": 216 } } } ], "range": [ 173, 217 ], "loc": { "start": { "line": 1, "column": 173 }, "end": { "line": 1, "column": 217 } } }, "range": [ 167, 217 ], "loc": { "start": { "line": 1, "column": 167 }, "end": { "line": 1, "column": 217 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_keys2", "range": [ 218, 224 ], "loc": { "start": { "line": 1, "column": 218 }, "end": { "line": 1, "column": 224 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "_interopRequireDefault", "range": [ 225, 247 ], "loc": { "start": { "line": 1, "column": 225 }, "end": { "line": 1, "column": 247 } } }, "arguments": [ { "type": "Identifier", "name": "_keys", "range": [ 248, 253 ], "loc": { "start": { "line": 1, "column": 248 }, "end": { "line": 1, "column": 253 } } } ], "range": [ 225, 254 ], "loc": { "start": { "line": 1, "column": 225 }, "end": { "line": 1, "column": 254 } } }, "range": [ 218, 254 ], "loc": { "start": { "line": 1, "column": 218 }, "end": { "line": 1, "column": 254 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_getIterator2", "range": [ 255, 268 ], "loc": { "start": { "line": 1, "column": 255 }, "end": { "line": 1, "column": 268 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "require", "range": [ 269, 276 ], "loc": { "start": { "line": 1, "column": 269 }, "end": { "line": 1, "column": 276 } } }, "arguments": [ { "type": "Literal", "value": "babel-runtime/core-js/get-iterator", "raw": "'babel-runtime/core-js/get-iterator'", "range": [ 277, 313 ], "loc": { "start": { "line": 1, "column": 277 }, "end": { "line": 1, "column": 313 } } } ], "range": [ 269, 314 ], "loc": { "start": { "line": 1, "column": 269 }, "end": { "line": 1, "column": 314 } } }, "range": [ 255, 314 ], "loc": { "start": { "line": 1, "column": 255 }, "end": { "line": 1, "column": 314 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_getIterator3", "range": [ 315, 328 ], "loc": { "start": { "line": 1, "column": 315 }, "end": { "line": 1, "column": 328 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "_interopRequireDefault", "range": [ 329, 351 ], "loc": { "start": { "line": 1, "column": 329 }, "end": { "line": 1, "column": 351 } } }, "arguments": [ { "type": "Identifier", "name": "_getIterator2", "range": [ 352, 365 ], "loc": { "start": { "line": 1, "column": 352 }, "end": { "line": 1, "column": 365 } } } ], "range": [ 329, 366 ], "loc": { "start": { "line": 1, "column": 329 }, "end": { "line": 1, "column": 366 } } }, "range": [ 315, 366 ], "loc": { "start": { "line": 1, "column": 315 }, "end": { "line": 1, "column": 366 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_classCallCheck2", "range": [ 367, 383 ], "loc": { "start": { "line": 1, "column": 367 }, "end": { "line": 1, "column": 383 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "require", "range": [ 384, 391 ], "loc": { "start": { "line": 1, "column": 384 }, "end": { "line": 1, "column": 391 } } }, "arguments": [ { "type": "Literal", "value": "babel-runtime/helpers/classCallCheck", "raw": "'babel-runtime/helpers/classCallCheck'", "range": [ 392, 430 ], "loc": { "start": { "line": 1, "column": 392 }, "end": { "line": 1, "column": 430 } } } ], "range": [ 384, 431 ], "loc": { "start": { "line": 1, "column": 384 }, "end": { "line": 1, "column": 431 } } }, "range": [ 367, 431 ], "loc": { "start": { "line": 1, "column": 367 }, "end": { "line": 1, "column": 431 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_classCallCheck3", "range": [ 432, 448 ], "loc": { "start": { "line": 1, "column": 432 }, "end": { "line": 1, "column": 448 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "_interopRequireDefault", "range": [ 449, 471 ], "loc": { "start": { "line": 1, "column": 449 }, "end": { "line": 1, "column": 471 } } }, "arguments": [ { "type": "Identifier", "name": "_classCallCheck2", "range": [ 472, 488 ], "loc": { "start": { "line": 1, "column": 472 }, "end": { "line": 1, "column": 488 } } } ], "range": [ 449, 489 ], "loc": { "start": { "line": 1, "column": 449 }, "end": { "line": 1, "column": 489 } } }, "range": [ 432, 489 ], "loc": { "start": { "line": 1, "column": 432 }, "end": { "line": 1, "column": 489 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_createClass2", "range": [ 490, 503 ], "loc": { "start": { "line": 1, "column": 490 }, "end": { "line": 1, "column": 503 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "require", "range": [ 504, 511 ], "loc": { "start": { "line": 1, "column": 504 }, "end": { "line": 1, "column": 511 } } }, "arguments": [ { "type": "Literal", "value": "babel-runtime/helpers/createClass", "raw": "'babel-runtime/helpers/createClass'", "range": [ 512, 547 ], "loc": { "start": { "line": 1, "column": 512 }, "end": { "line": 1, "column": 547 } } } ], "range": [ 504, 548 ], "loc": { "start": { "line": 1, "column": 504 }, "end": { "line": 1, "column": 548 } } }, "range": [ 490, 548 ], "loc": { "start": { "line": 1, "column": 490 }, "end": { "line": 1, "column": 548 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_createClass3", "range": [ 549, 562 ], "loc": { "start": { "line": 1, "column": 549 }, "end": { "line": 1, "column": 562 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "_interopRequireDefault", "range": [ 563, 585 ], "loc": { "start": { "line": 1, "column": 563 }, "end": { "line": 1, "column": 585 } } }, "arguments": [ { "type": "Identifier", "name": "_createClass2", "range": [ 586, 599 ], "loc": { "start": { "line": 1, "column": 586 }, "end": { "line": 1, "column": 599 } } } ], "range": [ 563, 600 ], "loc": { "start": { "line": 1, "column": 563 }, "end": { "line": 1, "column": 600 } } }, "range": [ 549, 600 ], "loc": { "start": { "line": 1, "column": 549 }, "end": { "line": 1, "column": 600 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_three", "range": [ 601, 607 ], "loc": { "start": { "line": 1, "column": 601 }, "end": { "line": 1, "column": 607 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "require", "range": [ 608, 615 ], "loc": { "start": { "line": 1, "column": 608 }, "end": { "line": 1, "column": 615 } } }, "arguments": [ { "type": "Literal", "value": "three", "raw": "'three'", "range": [ 616, 623 ], "loc": { "start": { "line": 1, "column": 616 }, "end": { "line": 1, "column": 623 } } } ], "range": [ 608, 624 ], "loc": { "start": { "line": 1, "column": 608 }, "end": { "line": 1, "column": 624 } } }, "range": [ 601, 624 ], "loc": { "start": { "line": 1, "column": 601 }, "end": { "line": 1, "column": 624 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "THREE", "range": [ 625, 630 ], "loc": { "start": { "line": 1, "column": 625 }, "end": { "line": 1, "column": 630 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "_interopRequireWildcard", "range": [ 631, 654 ], "loc": { "start": { "line": 1, "column": 631 }, "end": { "line": 1, "column": 654 } } }, "arguments": [ { "type": "Identifier", "name": "_three", "range": [ 655, 661 ], "loc": { "start": { "line": 1, "column": 655 }, "end": { "line": 1, "column": 661 } } } ], "range": [ 631, 662 ], "loc": { "start": { "line": 1, "column": 631 }, "end": { "line": 1, "column": 662 } } }, "range": [ 625, 662 ], "loc": { "start": { "line": 1, "column": 625 }, "end": { "line": 1, "column": 662 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_raycaster", "range": [ 663, 673 ], "loc": { "start": { "line": 1, "column": 663 }, "end": { "line": 1, "column": 673 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "require", "range": [ 674, 681 ], "loc": { "start": { "line": 1, "column": 674 }, "end": { "line": 1, "column": 681 } } }, "arguments": [ { "type": "Literal", "value": "../three/raycaster", "raw": "'../three/raycaster'", "range": [ 682, 702 ], "loc": { "start": { "line": 1, "column": 682 }, "end": { "line": 1, "column": 702 } } } ], "range": [ 674, 703 ], "loc": { "start": { "line": 1, "column": 674 }, "end": { "line": 1, "column": 703 } } }, "range": [ 663, 703 ], "loc": { "start": { "line": 1, "column": 663 }, "end": { "line": 1, "column": 703 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_raycaster2", "range": [ 704, 715 ], "loc": { "start": { "line": 1, "column": 704 }, "end": { "line": 1, "column": 715 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "_interopRequireDefault", "range": [ 716, 738 ], "loc": { "start": { "line": 1, "column": 716 }, "end": { "line": 1, "column": 738 } } }, "arguments": [ { "type": "Identifier", "name": "_raycaster", "range": [ 739, 749 ], "loc": { "start": { "line": 1, "column": 739 }, "end": { "line": 1, "column": 749 } } } ], "range": [ 716, 750 ], "loc": { "start": { "line": 1, "column": 716 }, "end": { "line": 1, "column": 750 } } }, "range": [ 704, 750 ], "loc": { "start": { "line": 1, "column": 704 }, "end": { "line": 1, "column": 750 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_object", "range": [ 751, 758 ], "loc": { "start": { "line": 1, "column": 751 }, "end": { "line": 1, "column": 758 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "require", "range": [ 759, 766 ], "loc": { "start": { "line": 1, "column": 759 }, "end": { "line": 1, "column": 766 } } }, "arguments": [ { "type": "Literal", "value": "../three/object3", "raw": "'../three/object3'", "range": [ 767, 785 ], "loc": { "start": { "line": 1, "column": 767 }, "end": { "line": 1, "column": 785 } } } ], "range": [ 759, 786 ], "loc": { "start": { "line": 1, "column": 759 }, "end": { "line": 1, "column": 786 } } }, "range": [ 751, 786 ], "loc": { "start": { "line": 1, "column": 751 }, "end": { "line": 1, "column": 786 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_object2", "range": [ 787, 795 ], "loc": { "start": { "line": 1, "column": 787 }, "end": { "line": 1, "column": 795 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "_interopRequireDefault", "range": [ 796, 818 ], "loc": { "start": { "line": 1, "column": 796 }, "end": { "line": 1, "column": 818 } } }, "arguments": [ { "type": "Identifier", "name": "_object", "range": [ 819, 826 ], "loc": { "start": { "line": 1, "column": 819 }, "end": { "line": 1, "column": 826 } } } ], "range": [ 796, 827 ], "loc": { "start": { "line": 1, "column": 796 }, "end": { "line": 1, "column": 827 } } }, "range": [ 787, 827 ], "loc": { "start": { "line": 1, "column": 787 }, "end": { "line": 1, "column": 827 } } } ], "kind": "var", "range": [ 68, 828 ], "loc": { "start": { "line": 1, "column": 68 }, "end": { "line": 1, "column": 828 } } }, { "type": "FunctionDeclaration", "id": { "type": "Identifier", "name": "_interopRequireWildcard", "range": [ 837, 860 ], "loc": { "start": { "line": 1, "column": 837 }, "end": { "line": 1, "column": 860 } } }, "params": [ { "type": "Identifier", "name": "obj", "range": [ 861, 864 ], "loc": { "start": { "line": 1, "column": 861 }, "end": { "line": 1, "column": 864 } } } ], "body": { "type": "BlockStatement", "body": [ { "type": "IfStatement", "test": { "type": "LogicalExpression", "operator": "&&", "left": { "type": "Identifier", "name": "obj", "range": [ 869, 872 ], "loc": { "start": { "line": 1, "column": 869 }, "end": { "line": 1, "column": 872 } } }, "right": { "type": "MemberExpression", "computed": false, "object": { "type": "Identifier", "name": "obj", "range": [ 874, 877 ], "loc": { "start": { "line": 1, "column": 874 }, "end": { "line": 1, "column": 877 } } }, "property": { "type": "Identifier", "name": "__esModule", "range": [ 878, 888 ], "loc": { "start": { "line": 1, "column": 878 }, "end": { "line": 1, "column": 888 } } }, "range": [ 874, 888 ], "loc": { "start": { "line": 1, "column": 874 }, "end": { "line": 1, "column": 888 } } }, "range": [ 869, 888 ], "loc": { "start": { "line": 1, "column": 869 }, "end": { "line": 1, "column": 888 } } }, "consequent": { "type": "ReturnStatement", "argument": { "type": "Identifier", "name": "obj", "range": [ 896, 899 ], "loc": { "start": { "line": 1, "column": 896 }, "end": { "line": 1, "column": 899 } } }, "range": [ 889, 900 ], "loc": { "start": { "line": 1, "column": 889 }, "end": { "line": 1, "column": 900 } } }, "alternate": null, "range": [ 866, 900 ], "loc": { "start": { "line": 1, "column": 866 }, "end": { "line": 1, "column": 900 } } }, { "type": "VariableDeclaration", "declarations": [ { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "newObj", "range": [ 904, 910 ], "loc": { "start": { "line": 1, "column": 904 }, "end": { "line": 1, "column": 910 } } }, "init": { "type": "ObjectExpression", "properties": [], "range": [ 911, 913 ], "loc": { "start": { "line": 1, "column": 911 }, "end": { "line": 1, "column": 913 } } }, "range": [ 904, 913 ], "loc": { "start": { "line": 1, "column": 904 }, "end": { "line": 1, "column": 913 } } } ], "kind": "var", "range": [ 900, 914 ], "loc": { "start": { "line": 1, "column": 900 }, "end": { "line": 1, "column": 914 } } }, { "type": "IfStatement", "test": { "type": "BinaryExpression", "operator": "!=", "left": { "type": "Literal", "value": null, "raw": "null", "range": [ 917, 921 ], "loc": { "start": { "line": 1, "column": 917 }, "end": { "line": 1, "column": 921 } } }, "right": { "type": "Identifier", "name": "obj", "range": [ 923, 926 ], "loc": { "start": { "line": 1, "column": 923 }, "end": { "line": 1, "column": 926 } } }, "range": [ 917, 926 ], "loc": { "start": { "line": 1, "column": 917 }, "end": { "line": 1, "column": 926 } } }, "consequent": { "type": "ForInStatement", "left": { "type": "VariableDeclaration", "declarations": [ { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "key", "range": [ 935, 938 ], "loc": { "start": { "line": 1, "column": 935 }, "end": { "line": 1, "column": 938 } } }, "init": null, "range": [ 935, 938 ], "loc": { "start": { "line": 1, "column": 935 }, "end": { "line": 1, "column": 938 } } } ], "kind": "var", "range": [ 931, 938 ], "loc": { "start": { "line": 1, "column": 931 }, "end": { "line": 1, "column": 938 } } }, "right": { "type": "Identifier", "name": "obj", "range": [ 942, 945 ], "loc": { "start": { "line": 1, "column": 942 }, "end": { "line": 1, "colum