UNPKG

awv3

Version:
2,119 lines (2,118 loc) 335 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": "_getPrototypeOf", "range": [ 72, 87 ], "loc": { "start": { "line": 1, "column": 72 }, "end": { "line": 1, "column": 87 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "require", "range": [ 88, 95 ], "loc": { "start": { "line": 1, "column": 88 }, "end": { "line": 1, "column": 95 } } }, "arguments": [ { "type": "Literal", "value": "babel-runtime/core-js/object/get-prototype-of", "raw": "'babel-runtime/core-js/object/get-prototype-of'", "range": [ 96, 143 ], "loc": { "start": { "line": 1, "column": 96 }, "end": { "line": 1, "column": 143 } } } ], "range": [ 88, 144 ], "loc": { "start": { "line": 1, "column": 88 }, "end": { "line": 1, "column": 144 } } }, "range": [ 72, 144 ], "loc": { "start": { "line": 1, "column": 72 }, "end": { "line": 1, "column": 144 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_getPrototypeOf2", "range": [ 145, 161 ], "loc": { "start": { "line": 1, "column": 145 }, "end": { "line": 1, "column": 161 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "_interopRequireDefault", "range": [ 162, 184 ], "loc": { "start": { "line": 1, "column": 162 }, "end": { "line": 1, "column": 184 } } }, "arguments": [ { "type": "Identifier", "name": "_getPrototypeOf", "range": [ 185, 200 ], "loc": { "start": { "line": 1, "column": 185 }, "end": { "line": 1, "column": 200 } } } ], "range": [ 162, 201 ], "loc": { "start": { "line": 1, "column": 162 }, "end": { "line": 1, "column": 201 } } }, "range": [ 145, 201 ], "loc": { "start": { "line": 1, "column": 145 }, "end": { "line": 1, "column": 201 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_classCallCheck2", "range": [ 202, 218 ], "loc": { "start": { "line": 1, "column": 202 }, "end": { "line": 1, "column": 218 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "require", "range": [ 219, 226 ], "loc": { "start": { "line": 1, "column": 219 }, "end": { "line": 1, "column": 226 } } }, "arguments": [ { "type": "Literal", "value": "babel-runtime/helpers/classCallCheck", "raw": "'babel-runtime/helpers/classCallCheck'", "range": [ 227, 265 ], "loc": { "start": { "line": 1, "column": 227 }, "end": { "line": 1, "column": 265 } } } ], "range": [ 219, 266 ], "loc": { "start": { "line": 1, "column": 219 }, "end": { "line": 1, "column": 266 } } }, "range": [ 202, 266 ], "loc": { "start": { "line": 1, "column": 202 }, "end": { "line": 1, "column": 266 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_classCallCheck3", "range": [ 267, 283 ], "loc": { "start": { "line": 1, "column": 267 }, "end": { "line": 1, "column": 283 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "_interopRequireDefault", "range": [ 284, 306 ], "loc": { "start": { "line": 1, "column": 284 }, "end": { "line": 1, "column": 306 } } }, "arguments": [ { "type": "Identifier", "name": "_classCallCheck2", "range": [ 307, 323 ], "loc": { "start": { "line": 1, "column": 307 }, "end": { "line": 1, "column": 323 } } } ], "range": [ 284, 324 ], "loc": { "start": { "line": 1, "column": 284 }, "end": { "line": 1, "column": 324 } } }, "range": [ 267, 324 ], "loc": { "start": { "line": 1, "column": 267 }, "end": { "line": 1, "column": 324 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_possibleConstructorReturn2", "range": [ 325, 352 ], "loc": { "start": { "line": 1, "column": 325 }, "end": { "line": 1, "column": 352 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "require", "range": [ 353, 360 ], "loc": { "start": { "line": 1, "column": 353 }, "end": { "line": 1, "column": 360 } } }, "arguments": [ { "type": "Literal", "value": "babel-runtime/helpers/possibleConstructorReturn", "raw": "'babel-runtime/helpers/possibleConstructorReturn'", "range": [ 361, 410 ], "loc": { "start": { "line": 1, "column": 361 }, "end": { "line": 1, "column": 410 } } } ], "range": [ 353, 411 ], "loc": { "start": { "line": 1, "column": 353 }, "end": { "line": 1, "column": 411 } } }, "range": [ 325, 411 ], "loc": { "start": { "line": 1, "column": 325 }, "end": { "line": 1, "column": 411 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_possibleConstructorReturn3", "range": [ 412, 439 ], "loc": { "start": { "line": 1, "column": 412 }, "end": { "line": 1, "column": 439 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "_interopRequireDefault", "range": [ 440, 462 ], "loc": { "start": { "line": 1, "column": 440 }, "end": { "line": 1, "column": 462 } } }, "arguments": [ { "type": "Identifier", "name": "_possibleConstructorReturn2", "range": [ 463, 490 ], "loc": { "start": { "line": 1, "column": 463 }, "end": { "line": 1, "column": 490 } } } ], "range": [ 440, 491 ], "loc": { "start": { "line": 1, "column": 440 }, "end": { "line": 1, "column": 491 } } }, "range": [ 412, 491 ], "loc": { "start": { "line": 1, "column": 412 }, "end": { "line": 1, "column": 491 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_inherits2", "range": [ 492, 502 ], "loc": { "start": { "line": 1, "column": 492 }, "end": { "line": 1, "column": 502 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "require", "range": [ 503, 510 ], "loc": { "start": { "line": 1, "column": 503 }, "end": { "line": 1, "column": 510 } } }, "arguments": [ { "type": "Literal", "value": "babel-runtime/helpers/inherits", "raw": "'babel-runtime/helpers/inherits'", "range": [ 511, 543 ], "loc": { "start": { "line": 1, "column": 511 }, "end": { "line": 1, "column": 543 } } } ], "range": [ 503, 544 ], "loc": { "start": { "line": 1, "column": 503 }, "end": { "line": 1, "column": 544 } } }, "range": [ 492, 544 ], "loc": { "start": { "line": 1, "column": 492 }, "end": { "line": 1, "column": 544 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_inherits3", "range": [ 545, 555 ], "loc": { "start": { "line": 1, "column": 545 }, "end": { "line": 1, "column": 555 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "_interopRequireDefault", "range": [ 556, 578 ], "loc": { "start": { "line": 1, "column": 556 }, "end": { "line": 1, "column": 578 } } }, "arguments": [ { "type": "Identifier", "name": "_inherits2", "range": [ 579, 589 ], "loc": { "start": { "line": 1, "column": 579 }, "end": { "line": 1, "column": 589 } } } ], "range": [ 556, 590 ], "loc": { "start": { "line": 1, "column": 556 }, "end": { "line": 1, "column": 590 } } }, "range": [ 545, 590 ], "loc": { "start": { "line": 1, "column": 545 }, "end": { "line": 1, "column": 590 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_defineProperty2", "range": [ 591, 607 ], "loc": { "start": { "line": 1, "column": 591 }, "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": "babel-runtime/helpers/defineProperty", "raw": "'babel-runtime/helpers/defineProperty'", "range": [ 616, 654 ], "loc": { "start": { "line": 1, "column": 616 }, "end": { "line": 1, "column": 654 } } } ], "range": [ 608, 655 ], "loc": { "start": { "line": 1, "column": 608 }, "end": { "line": 1, "column": 655 } } }, "range": [ 591, 655 ], "loc": { "start": { "line": 1, "column": 591 }, "end": { "line": 1, "column": 655 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_defineProperty3", "range": [ 656, 672 ], "loc": { "start": { "line": 1, "column": 656 }, "end": { "line": 1, "column": 672 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "_interopRequireDefault", "range": [ 673, 695 ], "loc": { "start": { "line": 1, "column": 673 }, "end": { "line": 1, "column": 695 } } }, "arguments": [ { "type": "Identifier", "name": "_defineProperty2", "range": [ 696, 712 ], "loc": { "start": { "line": 1, "column": 696 }, "end": { "line": 1, "column": 712 } } } ], "range": [ 673, 713 ], "loc": { "start": { "line": 1, "column": 673 }, "end": { "line": 1, "column": 713 } } }, "range": [ 656, 713 ], "loc": { "start": { "line": 1, "column": 656 }, "end": { "line": 1, "column": 713 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_extends3", "range": [ 714, 723 ], "loc": { "start": { "line": 1, "column": 714 }, "end": { "line": 1, "column": 723 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "require", "range": [ 724, 731 ], "loc": { "start": { "line": 1, "column": 724 }, "end": { "line": 1, "column": 731 } } }, "arguments": [ { "type": "Literal", "value": "babel-runtime/helpers/extends", "raw": "'babel-runtime/helpers/extends'", "range": [ 732, 763 ], "loc": { "start": { "line": 1, "column": 732 }, "end": { "line": 1, "column": 763 } } } ], "range": [ 724, 764 ], "loc": { "start": { "line": 1, "column": 724 }, "end": { "line": 1, "column": 764 } } }, "range": [ 714, 764 ], "loc": { "start": { "line": 1, "column": 714 }, "end": { "line": 1, "column": 764 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_extends4", "range": [ 765, 774 ], "loc": { "start": { "line": 1, "column": 765 }, "end": { "line": 1, "column": 774 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "_interopRequireDefault", "range": [ 775, 797 ], "loc": { "start": { "line": 1, "column": 775 }, "end": { "line": 1, "column": 797 } } }, "arguments": [ { "type": "Identifier", "name": "_extends3", "range": [ 798, 807 ], "loc": { "start": { "line": 1, "column": 798 }, "end": { "line": 1, "column": 807 } } } ], "range": [ 775, 808 ], "loc": { "start": { "line": 1, "column": 775 }, "end": { "line": 1, "column": 808 } } }, "range": [ 765, 808 ], "loc": { "start": { "line": 1, "column": 765 }, "end": { "line": 1, "column": 808 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_plugin", "range": [ 809, 816 ], "loc": { "start": { "line": 1, "column": 809 }, "end": { "line": 1, "column": 816 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "require", "range": [ 817, 824 ], "loc": { "start": { "line": 1, "column": 817 }, "end": { "line": 1, "column": 824 } } }, "arguments": [ { "type": "Literal", "value": "../../session/plugin", "raw": "'../../session/plugin'", "range": [ 825, 847 ], "loc": { "start": { "line": 1, "column": 825 }, "end": { "line": 1, "column": 847 } } } ], "range": [ 817, 848 ], "loc": { "start": { "line": 1, "column": 817 }, "end": { "line": 1, "column": 848 } } }, "range": [ 809, 848 ], "loc": { "start": { "line": 1, "column": 809 }, "end": { "line": 1, "column": 848 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_plugin2", "range": [ 849, 857 ], "loc": { "start": { "line": 1, "column": 849 }, "end": { "line": 1, "column": 857 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "_interopRequireDefault", "range": [ 858, 880 ], "loc": { "start": { "line": 1, "column": 858 }, "end": { "line": 1, "column": 880 } } }, "arguments": [ { "type": "Identifier", "name": "_plugin", "range": [ 881, 888 ], "loc": { "start": { "line": 1, "column": 881 }, "end": { "line": 1, "column": 888 } } } ], "range": [ 858, 889 ], "loc": { "start": { "line": 1, "column": 858 }, "end": { "line": 1, "column": 889 } } }, "range": [ 849, 889 ], "loc": { "start": { "line": 1, "column": 849 }, "end": { "line": 1, "column": 889 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_helpers", "range": [ 890, 898 ], "loc": { "start": { "line": 1, "column": 890 }, "end": { "line": 1, "column": 898 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "require", "range": [ 899, 906 ], "loc": { "start": { "line": 1, "column": 899 }, "end": { "line": 1, "column": 906 } } }, "arguments": [ { "type": "Literal", "value": "../../session/helpers", "raw": "'../../session/helpers'", "range": [ 907, 930 ], "loc": { "start": { "line": 1, "column": 907 }, "end": { "line": 1, "column": 930 } } } ], "range": [ 899, 931 ], "loc": { "start": { "line": 1, "column": 899 }, "end": { "line": 1, "column": 931 } } }, "range": [ 890, 931 ], "loc": { "start": { "line": 1, "column": 890 }, "end": { "line": 1, "column": 931 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_elements", "range": [ 932, 941 ], "loc": { "start": { "line": 1, "column": 932 }, "end": { "line": 1, "column": 941 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "require", "range": [ 942, 949 ], "loc": { "start": { "line": 1, "column": 942 }, "end": { "line": 1, "column": 949 } } }, "arguments": [ { "type": "Literal", "value": "../../session/elements", "raw": "'../../session/elements'", "range": [ 950, 974 ], "loc": { "start": { "line": 1, "column": 950 }, "end": { "line": 1, "column": 974 } } } ], "range": [ 942, 975 ], "loc": { "start": { "line": 1, "column": 942 }, "end": { "line": 1, "column": 975 } } }, "range": [ 932, 975 ], "loc": { "start": { "line": 1, "column": 932 }, "end": { "line": 1, "column": 975 } } } ], "kind": "var", "range": [ 68, 976 ], "loc": { "start": { "line": 1, "column": 68 }, "end": { "line": 1, "column": 976 } } }, { "type": "FunctionDeclaration", "id": { "type": "Identifier", "name": "_interopRequireDefault", "range": [ 985, 1007 ], "loc": { "start": { "line": 1, "column": 985 }, "end": { "line": 1, "column": 1007 } } }, "params": [ { "type": "Identifier", "name": "obj", "range": [ 1008, 1011 ], "loc": { "start": { "line": 1, "column": 1008 }, "end": { "line": 1, "column": 1011 } } } ], "body": { "type": "BlockStatement", "body": [ { "type": "ReturnStatement", "argument": { "type": "ConditionalExpression", "test": { "type": "LogicalExpression", "operator": "&&", "left": { "type": "Identifier", "name": "obj", "range": [ 1020, 1023 ], "loc": { "start": { "line": 1, "column": 1020 }, "end": { "line": 1, "column": 1023 } } }, "right": { "type": "MemberExpression", "computed": false, "object": { "type": "Identifier", "name": "obj", "range": [ 1025, 1028 ], "loc": { "start": { "line": 1, "column": 1025 }, "end": { "line": 1, "column": 1028 } } }, "property": { "type": "Identifier", "name": "__esModule", "range": [ 1029, 1039 ], "loc": { "start": { "line": 1, "column": 1029 }, "end": { "line": 1, "column": 1039 } } }, "range": [ 1025, 1039 ], "loc": { "start": { "line": 1, "column": 1025 }, "end": { "line": 1, "column": 1039 } } }, "range": [ 1020, 1039 ], "loc": { "start": { "line": 1, "column": 1020 }, "end": { "line": 1, "column": 1039 } } }, "consequent": { "type": "Identifier", "name": "obj", "range": [ 1040, 1043 ], "loc": { "start": { "line": 1, "column": 1040 }, "end": { "line": 1, "column": 1043 } } }, "alternate": { "type": "ObjectExpression", "properties": [ { "type": "Property", "key": { "type": "Identifier", "name": "default", "range": [ 1045, 1052 ], "loc": { "start": { "line": 1, "column": 1045 }, "end": { "line": 1, "column": 1052 } } }, "value": { "type": "Identifier", "name": "obj", "range": [ 1053, 1056 ], "loc": { "start": { "line": 1, "column": 1053 }, "end": { "line": 1, "column": 1056 } } }, "kind": "init", "method": false, "shorthand": false, "computed": false, "range": [ 1045, 1056 ], "loc": { "start": { "line": 1, "column": 1045 }, "end": { "line": 1, "column": 1056 } } } ], "range": [ 1044, 1057 ], "loc": { "start": { "line": 1, "column": 1044 }, "end": { "line": 1, "column": 1057 } } }, "range": [ 1020, 1057 ], "loc": { "start": { "line": 1, "column": 1020 }, "end": { "line": 1, "column": 1057 } } }, "range": [ 1013, 1057 ], "loc": { "start": { "line": 1, "column": 1013 }, "end": { "line": 1, "column": 1057 } } } ], "range": [ 1012, 1058 ], "loc": { "start": { "line": 1, "column": 1012 }, "end": { "line": 1, "column": 1058 } } }, "generator": false, "expression": false, "range": [ 976, 1058 ], "loc": { "start": { "line": 1, "column": 976 }, "end": { "line": 1, "column": 1058 } } }, { "type": "VariableDeclaration", "declarations": [ { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "keys", "range": [ 1062, 1066 ], "loc": { "start": { "line": 1, "column": 1062 }, "end": { "line": 1, "column": 1066 } } }, "init": { "type": "ArrayExpression", "elements": [ { "type": "Literal", "value": "isometric", "raw": "'isometric'", "range": [ 1068, 1079 ], "loc": { "start": { "line": 1, "column": 1068 }, "end": { "line": 1, "column": 1079 } } } ], "range": [ 1067, 1080 ], "loc": { "start": { "line": 1, "column": 1067 }, "end": { "line": 1, "column": 1080 } } }, "range": [ 1062, 1080 ], "loc": { "start": { "line": 1, "column": 1062 }, "end": { "line": 1, "column": 1080 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "resources", "range": [ 1081, 1090 ], "loc": { "start": { "line": 1, "column": 1081 }, "end": { "line": 1, "column": 1090