UNPKG

awv3

Version:
2,083 lines (2,082 loc) 1.44 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": "_getIterator2", "range": [ 72, 85 ], "loc": { "start": { "line": 1, "column": 72 }, "end": { "line": 1, "column": 85 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "require", "range": [ 86, 93 ], "loc": { "start": { "line": 1, "column": 86 }, "end": { "line": 1, "column": 93 } } }, "arguments": [ { "type": "Literal", "value": "babel-runtime/core-js/get-iterator", "raw": "'babel-runtime/core-js/get-iterator'", "range": [ 94, 130 ], "loc": { "start": { "line": 1, "column": 94 }, "end": { "line": 1, "column": 130 } } } ], "range": [ 86, 131 ], "loc": { "start": { "line": 1, "column": 86 }, "end": { "line": 1, "column": 131 } } }, "range": [ 72, 131 ], "loc": { "start": { "line": 1, "column": 72 }, "end": { "line": 1, "column": 131 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_getIterator3", "range": [ 132, 145 ], "loc": { "start": { "line": 1, "column": 132 }, "end": { "line": 1, "column": 145 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "_interopRequireDefault", "range": [ 146, 168 ], "loc": { "start": { "line": 1, "column": 146 }, "end": { "line": 1, "column": 168 } } }, "arguments": [ { "type": "Identifier", "name": "_getIterator2", "range": [ 169, 182 ], "loc": { "start": { "line": 1, "column": 169 }, "end": { "line": 1, "column": 182 } } } ], "range": [ 146, 183 ], "loc": { "start": { "line": 1, "column": 146 }, "end": { "line": 1, "column": 183 } } }, "range": [ 132, 183 ], "loc": { "start": { "line": 1, "column": 132 }, "end": { "line": 1, "column": 183 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_classCallCheck2", "range": [ 184, 200 ], "loc": { "start": { "line": 1, "column": 184 }, "end": { "line": 1, "column": 200 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "require", "range": [ 201, 208 ], "loc": { "start": { "line": 1, "column": 201 }, "end": { "line": 1, "column": 208 } } }, "arguments": [ { "type": "Literal", "value": "babel-runtime/helpers/classCallCheck", "raw": "'babel-runtime/helpers/classCallCheck'", "range": [ 209, 247 ], "loc": { "start": { "line": 1, "column": 209 }, "end": { "line": 1, "column": 247 } } } ], "range": [ 201, 248 ], "loc": { "start": { "line": 1, "column": 201 }, "end": { "line": 1, "column": 248 } } }, "range": [ 184, 248 ], "loc": { "start": { "line": 1, "column": 184 }, "end": { "line": 1, "column": 248 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_classCallCheck3", "range": [ 249, 265 ], "loc": { "start": { "line": 1, "column": 249 }, "end": { "line": 1, "column": 265 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "_interopRequireDefault", "range": [ 266, 288 ], "loc": { "start": { "line": 1, "column": 266 }, "end": { "line": 1, "column": 288 } } }, "arguments": [ { "type": "Identifier", "name": "_classCallCheck2", "range": [ 289, 305 ], "loc": { "start": { "line": 1, "column": 289 }, "end": { "line": 1, "column": 305 } } } ], "range": [ 266, 306 ], "loc": { "start": { "line": 1, "column": 266 }, "end": { "line": 1, "column": 306 } } }, "range": [ 249, 306 ], "loc": { "start": { "line": 1, "column": 249 }, "end": { "line": 1, "column": 306 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_createClass2", "range": [ 307, 320 ], "loc": { "start": { "line": 1, "column": 307 }, "end": { "line": 1, "column": 320 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "require", "range": [ 321, 328 ], "loc": { "start": { "line": 1, "column": 321 }, "end": { "line": 1, "column": 328 } } }, "arguments": [ { "type": "Literal", "value": "babel-runtime/helpers/createClass", "raw": "'babel-runtime/helpers/createClass'", "range": [ 329, 364 ], "loc": { "start": { "line": 1, "column": 329 }, "end": { "line": 1, "column": 364 } } } ], "range": [ 321, 365 ], "loc": { "start": { "line": 1, "column": 321 }, "end": { "line": 1, "column": 365 } } }, "range": [ 307, 365 ], "loc": { "start": { "line": 1, "column": 307 }, "end": { "line": 1, "column": 365 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_createClass3", "range": [ 366, 379 ], "loc": { "start": { "line": 1, "column": 366 }, "end": { "line": 1, "column": 379 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "_interopRequireDefault", "range": [ 380, 402 ], "loc": { "start": { "line": 1, "column": 380 }, "end": { "line": 1, "column": 402 } } }, "arguments": [ { "type": "Identifier", "name": "_createClass2", "range": [ 403, 416 ], "loc": { "start": { "line": 1, "column": 403 }, "end": { "line": 1, "column": 416 } } } ], "range": [ 380, 417 ], "loc": { "start": { "line": 1, "column": 380 }, "end": { "line": 1, "column": 417 } } }, "range": [ 366, 417 ], "loc": { "start": { "line": 1, "column": 366 }, "end": { "line": 1, "column": 417 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_defineProperty2", "range": [ 418, 434 ], "loc": { "start": { "line": 1, "column": 418 }, "end": { "line": 1, "column": 434 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "require", "range": [ 435, 442 ], "loc": { "start": { "line": 1, "column": 435 }, "end": { "line": 1, "column": 442 } } }, "arguments": [ { "type": "Literal", "value": "babel-runtime/helpers/defineProperty", "raw": "'babel-runtime/helpers/defineProperty'", "range": [ 443, 481 ], "loc": { "start": { "line": 1, "column": 443 }, "end": { "line": 1, "column": 481 } } } ], "range": [ 435, 482 ], "loc": { "start": { "line": 1, "column": 435 }, "end": { "line": 1, "column": 482 } } }, "range": [ 418, 482 ], "loc": { "start": { "line": 1, "column": 418 }, "end": { "line": 1, "column": 482 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_defineProperty3", "range": [ 483, 499 ], "loc": { "start": { "line": 1, "column": 483 }, "end": { "line": 1, "column": 499 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "_interopRequireDefault", "range": [ 500, 522 ], "loc": { "start": { "line": 1, "column": 500 }, "end": { "line": 1, "column": 522 } } }, "arguments": [ { "type": "Identifier", "name": "_defineProperty2", "range": [ 523, 539 ], "loc": { "start": { "line": 1, "column": 523 }, "end": { "line": 1, "column": 539 } } } ], "range": [ 500, 540 ], "loc": { "start": { "line": 1, "column": 500 }, "end": { "line": 1, "column": 540 } } }, "range": [ 483, 540 ], "loc": { "start": { "line": 1, "column": 483 }, "end": { "line": 1, "column": 540 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_extends3", "range": [ 541, 550 ], "loc": { "start": { "line": 1, "column": 541 }, "end": { "line": 1, "column": 550 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "require", "range": [ 551, 558 ], "loc": { "start": { "line": 1, "column": 551 }, "end": { "line": 1, "column": 558 } } }, "arguments": [ { "type": "Literal", "value": "babel-runtime/helpers/extends", "raw": "'babel-runtime/helpers/extends'", "range": [ 559, 590 ], "loc": { "start": { "line": 1, "column": 559 }, "end": { "line": 1, "column": 590 } } } ], "range": [ 551, 591 ], "loc": { "start": { "line": 1, "column": 551 }, "end": { "line": 1, "column": 591 } } }, "range": [ 541, 591 ], "loc": { "start": { "line": 1, "column": 541 }, "end": { "line": 1, "column": 591 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_extends4", "range": [ 592, 601 ], "loc": { "start": { "line": 1, "column": 592 }, "end": { "line": 1, "column": 601 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "_interopRequireDefault", "range": [ 602, 624 ], "loc": { "start": { "line": 1, "column": 602 }, "end": { "line": 1, "column": 624 } } }, "arguments": [ { "type": "Identifier", "name": "_extends3", "range": [ 625, 634 ], "loc": { "start": { "line": 1, "column": 625 }, "end": { "line": 1, "column": 634 } } } ], "range": [ 602, 635 ], "loc": { "start": { "line": 1, "column": 602 }, "end": { "line": 1, "column": 635 } } }, "range": [ 592, 635 ], "loc": { "start": { "line": 1, "column": 592 }, "end": { "line": 1, "column": 635 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_error", "range": [ 636, 642 ], "loc": { "start": { "line": 1, "column": 636 }, "end": { "line": 1, "column": 642 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "require", "range": [ 643, 650 ], "loc": { "start": { "line": 1, "column": 643 }, "end": { "line": 1, "column": 650 } } }, "arguments": [ { "type": "Literal", "value": "../core/error", "raw": "'../core/error'", "range": [ 651, 666 ], "loc": { "start": { "line": 1, "column": 651 }, "end": { "line": 1, "column": 666 } } } ], "range": [ 643, 667 ], "loc": { "start": { "line": 1, "column": 643 }, "end": { "line": 1, "column": 667 } } }, "range": [ 636, 667 ], "loc": { "start": { "line": 1, "column": 636 }, "end": { "line": 1, "column": 667 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "Error", "range": [ 668, 673 ], "loc": { "start": { "line": 1, "column": 668 }, "end": { "line": 1, "column": 673 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "_interopRequireWildcard", "range": [ 674, 697 ], "loc": { "start": { "line": 1, "column": 674 }, "end": { "line": 1, "column": 697 } } }, "arguments": [ { "type": "Identifier", "name": "_error", "range": [ 698, 704 ], "loc": { "start": { "line": 1, "column": 698 }, "end": { "line": 1, "column": 704 } } } ], "range": [ 674, 705 ], "loc": { "start": { "line": 1, "column": 674 }, "end": { "line": 1, "column": 705 } } }, "range": [ 668, 705 ], "loc": { "start": { "line": 1, "column": 668 }, "end": { "line": 1, "column": 705 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_events", "range": [ 706, 713 ], "loc": { "start": { "line": 1, "column": 706 }, "end": { "line": 1, "column": 713 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "require", "range": [ 714, 721 ], "loc": { "start": { "line": 1, "column": 714 }, "end": { "line": 1, "column": 721 } } }, "arguments": [ { "type": "Literal", "value": "../core/events", "raw": "'../core/events'", "range": [ 722, 738 ], "loc": { "start": { "line": 1, "column": 722 }, "end": { "line": 1, "column": 738 } } } ], "range": [ 714, 739 ], "loc": { "start": { "line": 1, "column": 714 }, "end": { "line": 1, "column": 739 } } }, "range": [ 706, 739 ], "loc": { "start": { "line": 1, "column": 706 }, "end": { "line": 1, "column": 739 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_events2", "range": [ 740, 748 ], "loc": { "start": { "line": 1, "column": 740 }, "end": { "line": 1, "column": 748 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "_interopRequireDefault", "range": [ 749, 771 ], "loc": { "start": { "line": 1, "column": 749 }, "end": { "line": 1, "column": 771 } } }, "arguments": [ { "type": "Identifier", "name": "_events", "range": [ 772, 779 ], "loc": { "start": { "line": 1, "column": 772 }, "end": { "line": 1, "column": 779 } } } ], "range": [ 749, 780 ], "loc": { "start": { "line": 1, "column": 749 }, "end": { "line": 1, "column": 780 } } }, "range": [ 740, 780 ], "loc": { "start": { "line": 1, "column": 740 }, "end": { "line": 1, "column": 780 } } } ], "kind": "var", "range": [ 68, 781 ], "loc": { "start": { "line": 1, "column": 68 }, "end": { "line": 1, "column": 781 } } }, { "type": "ExpressionStatement", "expression": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "require", "range": [ 781, 788 ], "loc": { "start": { "line": 1, "column": 781 }, "end": { "line": 1, "column": 788 } } }, "arguments": [ { "type": "Literal", "value": "event-listener-with-options/js/polyfill", "raw": "'event-listener-with-options/js/polyfill'", "range": [ 789, 830 ], "loc": { "start": { "line": 1, "column": 789 }, "end": { "line": 1, "column": 830 } } } ], "range": [ 781, 831 ], "loc": { "start": { "line": 1, "column": 781 }, "end": { "line": 1, "column": 831 } } }, "range": [ 781, 832 ], "loc": { "start": { "line": 1, "column": 781 }, "end": { "line": 1, "column": 832 } } }, { "type": "FunctionDeclaration", "id": { "type": "Identifier", "name": "_interopRequireWildcard", "range": [ 841, 864 ], "loc": { "start": { "line": 1, "column": 841 }, "end": { "line": 1, "column": 864 } } }, "params": [ { "type": "Identifier", "name": "obj", "range": [ 865, 868 ], "loc": { "start": { "line": 1, "column": 865 }, "end": { "line": 1, "column": 868 } } } ], "body": { "type": "BlockStatement", "body": [ { "type": "IfStatement", "test": { "type": "LogicalExpression", "operator": "&&", "left": { "type": "Identifier", "name": "obj", "range": [ 873, 876 ], "loc": { "start": { "line": 1, "column": 873 }, "end": { "line": 1, "column": 876 } } }, "right": { "type": "MemberExpression", "computed": false, "object": { "type": "Identifier", "name": "obj", "range": [ 878, 881 ], "loc": { "start": { "line": 1, "column": 878 }, "end": { "line": 1, "column": 881 } } }, "property": { "type": "Identifier", "name": "__esModule", "range": [ 882, 892 ], "loc": { "start": { "line": 1, "column": 882 }, "end": { "line": 1, "column": 892 } } }, "range": [ 878, 892 ], "loc": { "start": { "line": 1, "column": 878 }, "end": { "line": 1, "column": 892 } } }, "range": [ 873, 892 ], "loc": { "start": { "line": 1, "column": 873 }, "end": { "line": 1, "column": 892 } } }, "consequent": { "type": "ReturnStatement", "argument": { "type": "Identifier", "name": "obj", "range": [ 900, 903 ], "loc": { "start": { "line": 1, "column": 900 }, "end": { "line": 1, "column": 903 } } }, "range": [ 893, 904 ], "loc": { "start": { "line": 1, "column": 893 }, "end": { "line": 1, "column": 904 } } }, "alternate": null, "range": [ 870, 904 ], "loc": { "start": { "line": 1, "column": 870 }, "end": { "line": 1, "column": 904 } } }, { "type": "VariableDeclaration", "declarations": [ { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "newObj", "range": [ 908, 914 ], "loc": { "start": { "line": 1, "column": 908 }, "end": { "line": 1, "column": 914 } } }, "init": { "type": "ObjectExpression", "properties": [], "range": [ 915, 917 ], "loc": { "start": { "line": 1, "column": 915 }, "end": { "line": 1, "column": 917 } } }, "range": [ 908, 917 ], "loc": { "start": { "line": 1, "column": 908 }, "end": { "line": 1, "column": 917 } } } ], "kind": "var", "range": [ 904, 918 ], "loc": { "start": { "line": 1, "column": 904 }, "end": { "line": 1, "column": 918 } } }, { "type": "IfStatement", "test": { "type": "BinaryExpression", "operator": "!=", "left": { "type": "Literal", "value": null, "raw": "null", "range": [ 921, 925 ], "loc": { "start": { "line": 1, "column": 921 }, "end": { "line": 1, "column": 925 } } }, "right": { "type": "Identifier", "name": "obj", "range": [ 927, 930 ], "loc": { "start": { "line": 1, "column": 927 }, "end": { "line": 1, "column": 930 } } }, "range": [ 921, 930 ], "loc": { "start": { "line": 1, "column": 921 }, "end": { "line": 1, "column": 930 } } }, "consequent": { "type": "ForInStatement", "left": { "type": "VariableDeclaration", "declarations": [ { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "key", "range": [ 939, 942 ], "loc": { "start": { "line": 1, "column": 939 }, "end": { "line": 1, "column": 942 } } }, "init": null, "range": [ 939, 942 ], "loc": { "start": { "line": 1, "column": 939 }, "end": { "line": 1, "column": 942 } } } ], "kind": "var", "range": [ 935, 942 ], "loc": { "start": { "line": 1, "column": 935 }, "end": { "line": 1, "column": 942 } } }, "right": { "type": "Identifier", "name": "obj", "range": [ 946, 949 ], "loc": { "start": { "line": 1, "column": 946 }, "end": { "line": 1, "column": 949 } } }, "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": [ 950, 956 ], "loc": { "start": { "line": 1, "column": 950 }, "end": { "line": 1, "column": 956 } } }, "property": { "type": "Identifier", "name": "prototype", "range": [ 957, 966 ], "loc": { "start": { "line": 1, "column": 957 }, "end": { "line": 1, "column": 966 } } }, "range": [ 950, 966 ], "loc": { "start": { "line": 1, "column": 950 }, "end": { "line": 1, "column": 966 } } }, "property": {