UNPKG

awv3

Version:
2,134 lines (2,133 loc) 749 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": "_defineProperty2", "range": [ 72, 88 ], "loc": { "start": { "line": 1, "column": 72 }, "end": { "line": 1, "column": 88 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "require", "range": [ 89, 96 ], "loc": { "start": { "line": 1, "column": 89 }, "end": { "line": 1, "column": 96 } } }, "arguments": [ { "type": "Literal", "value": "babel-runtime/helpers/defineProperty", "raw": "'babel-runtime/helpers/defineProperty'", "range": [ 97, 135 ], "loc": { "start": { "line": 1, "column": 97 }, "end": { "line": 1, "column": 135 } } } ], "range": [ 89, 136 ], "loc": { "start": { "line": 1, "column": 89 }, "end": { "line": 1, "column": 136 } } }, "range": [ 72, 136 ], "loc": { "start": { "line": 1, "column": 72 }, "end": { "line": 1, "column": 136 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_defineProperty3", "range": [ 137, 153 ], "loc": { "start": { "line": 1, "column": 137 }, "end": { "line": 1, "column": 153 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "_interopRequireDefault", "range": [ 154, 176 ], "loc": { "start": { "line": 1, "column": 154 }, "end": { "line": 1, "column": 176 } } }, "arguments": [ { "type": "Identifier", "name": "_defineProperty2", "range": [ 177, 193 ], "loc": { "start": { "line": 1, "column": 177 }, "end": { "line": 1, "column": 193 } } } ], "range": [ 154, 194 ], "loc": { "start": { "line": 1, "column": 154 }, "end": { "line": 1, "column": 194 } } }, "range": [ 137, 194 ], "loc": { "start": { "line": 1, "column": 137 }, "end": { "line": 1, "column": 194 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_defineProperty4", "range": [ 195, 211 ], "loc": { "start": { "line": 1, "column": 195 }, "end": { "line": 1, "column": 211 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "require", "range": [ 212, 219 ], "loc": { "start": { "line": 1, "column": 212 }, "end": { "line": 1, "column": 219 } } }, "arguments": [ { "type": "Literal", "value": "babel-runtime/core-js/object/define-property", "raw": "'babel-runtime/core-js/object/define-property'", "range": [ 220, 266 ], "loc": { "start": { "line": 1, "column": 220 }, "end": { "line": 1, "column": 266 } } } ], "range": [ 212, 267 ], "loc": { "start": { "line": 1, "column": 212 }, "end": { "line": 1, "column": 267 } } }, "range": [ 195, 267 ], "loc": { "start": { "line": 1, "column": 195 }, "end": { "line": 1, "column": 267 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_defineProperty5", "range": [ 268, 284 ], "loc": { "start": { "line": 1, "column": 268 }, "end": { "line": 1, "column": 284 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "_interopRequireDefault", "range": [ 285, 307 ], "loc": { "start": { "line": 1, "column": 285 }, "end": { "line": 1, "column": 307 } } }, "arguments": [ { "type": "Identifier", "name": "_defineProperty4", "range": [ 308, 324 ], "loc": { "start": { "line": 1, "column": 308 }, "end": { "line": 1, "column": 324 } } } ], "range": [ 285, 325 ], "loc": { "start": { "line": 1, "column": 285 }, "end": { "line": 1, "column": 325 } } }, "range": [ 268, 325 ], "loc": { "start": { "line": 1, "column": 268 }, "end": { "line": 1, "column": 325 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_extends2", "range": [ 326, 335 ], "loc": { "start": { "line": 1, "column": 326 }, "end": { "line": 1, "column": 335 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "require", "range": [ 336, 343 ], "loc": { "start": { "line": 1, "column": 336 }, "end": { "line": 1, "column": 343 } } }, "arguments": [ { "type": "Literal", "value": "babel-runtime/helpers/extends", "raw": "'babel-runtime/helpers/extends'", "range": [ 344, 375 ], "loc": { "start": { "line": 1, "column": 344 }, "end": { "line": 1, "column": 375 } } } ], "range": [ 336, 376 ], "loc": { "start": { "line": 1, "column": 336 }, "end": { "line": 1, "column": 376 } } }, "range": [ 326, 376 ], "loc": { "start": { "line": 1, "column": 326 }, "end": { "line": 1, "column": 376 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_extends3", "range": [ 377, 386 ], "loc": { "start": { "line": 1, "column": 377 }, "end": { "line": 1, "column": 386 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "_interopRequireDefault", "range": [ 387, 409 ], "loc": { "start": { "line": 1, "column": 387 }, "end": { "line": 1, "column": 409 } } }, "arguments": [ { "type": "Identifier", "name": "_extends2", "range": [ 410, 419 ], "loc": { "start": { "line": 1, "column": 410 }, "end": { "line": 1, "column": 419 } } } ], "range": [ 387, 420 ], "loc": { "start": { "line": 1, "column": 387 }, "end": { "line": 1, "column": 420 } } }, "range": [ 377, 420 ], "loc": { "start": { "line": 1, "column": 377 }, "end": { "line": 1, "column": 420 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_objectWithoutProperties2", "range": [ 421, 446 ], "loc": { "start": { "line": 1, "column": 421 }, "end": { "line": 1, "column": 446 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "require", "range": [ 447, 454 ], "loc": { "start": { "line": 1, "column": 447 }, "end": { "line": 1, "column": 454 } } }, "arguments": [ { "type": "Literal", "value": "babel-runtime/helpers/objectWithoutProperties", "raw": "'babel-runtime/helpers/objectWithoutProperties'", "range": [ 455, 502 ], "loc": { "start": { "line": 1, "column": 455 }, "end": { "line": 1, "column": 502 } } } ], "range": [ 447, 503 ], "loc": { "start": { "line": 1, "column": 447 }, "end": { "line": 1, "column": 503 } } }, "range": [ 421, 503 ], "loc": { "start": { "line": 1, "column": 421 }, "end": { "line": 1, "column": 503 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_objectWithoutProperties3", "range": [ 504, 529 ], "loc": { "start": { "line": 1, "column": 504 }, "end": { "line": 1, "column": 529 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "_interopRequireDefault", "range": [ 530, 552 ], "loc": { "start": { "line": 1, "column": 530 }, "end": { "line": 1, "column": 552 } } }, "arguments": [ { "type": "Identifier", "name": "_objectWithoutProperties2", "range": [ 553, 578 ], "loc": { "start": { "line": 1, "column": 553 }, "end": { "line": 1, "column": 578 } } } ], "range": [ 530, 579 ], "loc": { "start": { "line": 1, "column": 530 }, "end": { "line": 1, "column": 579 } } }, "range": [ 504, 579 ], "loc": { "start": { "line": 1, "column": 504 }, "end": { "line": 1, "column": 579 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_classCallCheck2", "range": [ 580, 596 ], "loc": { "start": { "line": 1, "column": 580 }, "end": { "line": 1, "column": 596 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "require", "range": [ 597, 604 ], "loc": { "start": { "line": 1, "column": 597 }, "end": { "line": 1, "column": 604 } } }, "arguments": [ { "type": "Literal", "value": "babel-runtime/helpers/classCallCheck", "raw": "'babel-runtime/helpers/classCallCheck'", "range": [ 605, 643 ], "loc": { "start": { "line": 1, "column": 605 }, "end": { "line": 1, "column": 643 } } } ], "range": [ 597, 644 ], "loc": { "start": { "line": 1, "column": 597 }, "end": { "line": 1, "column": 644 } } }, "range": [ 580, 644 ], "loc": { "start": { "line": 1, "column": 580 }, "end": { "line": 1, "column": 644 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_classCallCheck3", "range": [ 645, 661 ], "loc": { "start": { "line": 1, "column": 645 }, "end": { "line": 1, "column": 661 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "_interopRequireDefault", "range": [ 662, 684 ], "loc": { "start": { "line": 1, "column": 662 }, "end": { "line": 1, "column": 684 } } }, "arguments": [ { "type": "Identifier", "name": "_classCallCheck2", "range": [ 685, 701 ], "loc": { "start": { "line": 1, "column": 685 }, "end": { "line": 1, "column": 701 } } } ], "range": [ 662, 702 ], "loc": { "start": { "line": 1, "column": 662 }, "end": { "line": 1, "column": 702 } } }, "range": [ 645, 702 ], "loc": { "start": { "line": 1, "column": 645 }, "end": { "line": 1, "column": 702 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_createClass2", "range": [ 703, 716 ], "loc": { "start": { "line": 1, "column": 703 }, "end": { "line": 1, "column": 716 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "require", "range": [ 717, 724 ], "loc": { "start": { "line": 1, "column": 717 }, "end": { "line": 1, "column": 724 } } }, "arguments": [ { "type": "Literal", "value": "babel-runtime/helpers/createClass", "raw": "'babel-runtime/helpers/createClass'", "range": [ 725, 760 ], "loc": { "start": { "line": 1, "column": 725 }, "end": { "line": 1, "column": 760 } } } ], "range": [ 717, 761 ], "loc": { "start": { "line": 1, "column": 717 }, "end": { "line": 1, "column": 761 } } }, "range": [ 703, 761 ], "loc": { "start": { "line": 1, "column": 703 }, "end": { "line": 1, "column": 761 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_createClass3", "range": [ 762, 775 ], "loc": { "start": { "line": 1, "column": 762 }, "end": { "line": 1, "column": 775 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "_interopRequireDefault", "range": [ 776, 798 ], "loc": { "start": { "line": 1, "column": 776 }, "end": { "line": 1, "column": 798 } } }, "arguments": [ { "type": "Identifier", "name": "_createClass2", "range": [ 799, 812 ], "loc": { "start": { "line": 1, "column": 799 }, "end": { "line": 1, "column": 812 } } } ], "range": [ 776, 813 ], "loc": { "start": { "line": 1, "column": 776 }, "end": { "line": 1, "column": 813 } } }, "range": [ 762, 813 ], "loc": { "start": { "line": 1, "column": 762 }, "end": { "line": 1, "column": 813 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_uuidV", "range": [ 814, 820 ], "loc": { "start": { "line": 1, "column": 814 }, "end": { "line": 1, "column": 820 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "require", "range": [ 821, 828 ], "loc": { "start": { "line": 1, "column": 821 }, "end": { "line": 1, "column": 828 } } }, "arguments": [ { "type": "Literal", "value": "uuid-v4", "raw": "'uuid-v4'", "range": [ 829, 838 ], "loc": { "start": { "line": 1, "column": 829 }, "end": { "line": 1, "column": 838 } } } ], "range": [ 821, 839 ], "loc": { "start": { "line": 1, "column": 821 }, "end": { "line": 1, "column": 839 } } }, "range": [ 814, 839 ], "loc": { "start": { "line": 1, "column": 814 }, "end": { "line": 1, "column": 839 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_uuidV2", "range": [ 840, 847 ], "loc": { "start": { "line": 1, "column": 840 }, "end": { "line": 1, "column": 847 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "_interopRequireDefault", "range": [ 848, 870 ], "loc": { "start": { "line": 1, "column": 848 }, "end": { "line": 1, "column": 870 } } }, "arguments": [ { "type": "Identifier", "name": "_uuidV", "range": [ 871, 877 ], "loc": { "start": { "line": 1, "column": 871 }, "end": { "line": 1, "column": 877 } } } ], "range": [ 848, 878 ], "loc": { "start": { "line": 1, "column": 848 }, "end": { "line": 1, "column": 878 } } }, "range": [ 840, 878 ], "loc": { "start": { "line": 1, "column": 840 }, "end": { "line": 1, "column": 878 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_cloneDeep", "range": [ 879, 889 ], "loc": { "start": { "line": 1, "column": 879 }, "end": { "line": 1, "column": 889 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "require", "range": [ 890, 897 ], "loc": { "start": { "line": 1, "column": 890 }, "end": { "line": 1, "column": 897 } } }, "arguments": [ { "type": "Literal", "value": "lodash/cloneDeep", "raw": "'lodash/cloneDeep'", "range": [ 898, 916 ], "loc": { "start": { "line": 1, "column": 898 }, "end": { "line": 1, "column": 916 } } } ], "range": [ 890, 917 ], "loc": { "start": { "line": 1, "column": 890 }, "end": { "line": 1, "column": 917 } } }, "range": [ 879, 917 ], "loc": { "start": { "line": 1, "column": 879 }, "end": { "line": 1, "column": 917 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_cloneDeep2", "range": [ 918, 929 ], "loc": { "start": { "line": 1, "column": 918 }, "end": { "line": 1, "column": 929 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "_interopRequireDefault", "range": [ 930, 952 ], "loc": { "start": { "line": 1, "column": 930 }, "end": { "line": 1, "column": 952 } } }, "arguments": [ { "type": "Identifier", "name": "_cloneDeep", "range": [ 953, 963 ], "loc": { "start": { "line": 1, "column": 953 }, "end": { "line": 1, "column": 963 } } } ], "range": [ 930, 964 ], "loc": { "start": { "line": 1, "column": 930 }, "end": { "line": 1, "column": 964 } } }, "range": [ 918, 964 ], "loc": { "start": { "line": 1, "column": 918 }, "end": { "line": 1, "column": 964 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_elements", "range": [ 965, 974 ], "loc": { "start": { "line": 1, "column": 965 }, "end": { "line": 1, "column": 974 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "require", "range": [ 975, 982 ], "loc": { "start": { "line": 1, "column": 975 }, "end": { "line": 1, "column": 982 } } }, "arguments": [ { "type": "Literal", "value": "../session/store/elements", "raw": "'../session/store/elements'", "range": [ 983, 1010 ], "loc": { "start": { "line": 1, "column": 983 }, "end": { "line": 1, "column": 1010 } } } ], "range": [ 975, 1011 ], "loc": { "start": { "line": 1, "column": 975 }, "end": { "line": 1, "column": 1011 } } }, "range": [ 965, 1011 ], "loc": { "start": { "line": 1, "column": 965 }, "end": { "line": 1, "column": 1011 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_plugins", "range": [ 1012, 1020 ], "loc": { "start": { "line": 1, "column": 1012 }, "end": { "line": 1, "column": 1020 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "require", "range": [ 1021, 1028 ], "loc": { "start": { "line": 1, "column": 1021 }, "end": { "line": 1, "column": 1028 } } }, "arguments": [ { "type": "Literal", "value": "../session/store/plugins", "raw": "'../session/store/plugins'", "range": [ 1029, 1055 ], "loc": { "start": { "line": 1, "column": 1029 }, "end": { "line": 1, "column": 1055 } } } ], "range": [ 1021, 1056 ], "loc": { "start": { "line": 1, "column": 1021 }, "end": { "line": 1, "column": 1056 } } }, "range": [ 1012, 1056 ], "loc": { "start": { "line": 1, "column": 1012 }, "end": { "line": 1, "column": 1056 } } }, { "type": "VariableDeclarator", "id": { "type": "Identifier", "name": "_helpers", "range": [ 1057, 1065 ], "loc": { "start": { "line": 1, "column": 1057 }, "end": { "line": 1, "column": 1065 } } }, "init": { "type": "CallExpression", "callee": { "type": "Identifier", "name": "require", "range": [ 1066, 1073 ], "loc": { "start": { "line": 1, "column": 1066 }, "end": { "line": 1, "column": 1073 } } }, "arguments": [ { "type": "Literal", "value": "../session/helpers", "raw": "'../session/helpers'", "range": [ 1074, 1094 ], "loc": { "start": { "line": 1, "column": 1074 }, "end": { "line": 1, "column": 1094 } } } ], "range": [ 1066, 1095 ], "loc": { "start": { "line": 1, "column": 1066 }, "end": { "line": 1, "column": 1095 } } }, "range": [ 1057, 1095 ], "loc": { "start": { "line": 1, "column": 1057 }, "end": { "line": 1, "column": 1095 } } } ], "kind": "var", "range": [ 68, 1096 ], "loc": { "start": { "line": 1, "column": 68 }, "end": { "line": 1, "column": 1096 } } }, { "type": "FunctionDeclaration", "id": { "type": "Identifier", "name": "_interopRequireDefault", "range": [ 1105, 1127 ], "loc": { "start": { "line": 1, "column": 1105 }, "end": { "line": 1, "column": 1127 } } }, "params": [ { "type": "Identifier", "name": "obj", "range": [ 1128, 1131 ], "loc": { "start": { "line": 1, "column": 1128 }, "end": { "line": 1, "column": 1131 } } } ], "body": { "type": "BlockStatement", "body": [ { "type": "ReturnStatement", "argument": { "type": "ConditionalExpression", "test": { "type": "LogicalExpression", "operator": "&&", "left": { "type": "Identifier", "name": "obj", "range": [ 1140, 1143 ], "loc": { "start": { "line": 1, "column": 1140 }, "end": { "line": 1, "column": 1143 } } }, "right": { "type": "MemberExpression", "computed": false, "object": { "type": "Identifier", "name": "obj", "range": [ 1145, 1148 ], "loc": { "start": { "line": 1, "column": 1145 }, "end": { "line": 1, "column": 1148 } } }, "property": { "type": "Identifier", "name": "__esModule", "range": [ 1149, 1159 ], "loc": { "start": { "line": 1, "column": 1149 }, "end": { "line": 1, "column": 1159 } } }, "range": [ 1145, 1159 ], "loc": { "start": { "line": 1, "column": 1145 }, "end": { "line": 1, "column": 1159 } } }, "range": [ 1140, 1159 ], "loc": { "start": { "line": 1, "column": 1140