14321 lines
444 KiB
JSON
14321 lines
444 KiB
JSON
{
|
|
"type": "File",
|
|
"start": 0,
|
|
"end": 1706,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 0
|
|
},
|
|
"end": {
|
|
"line": 61,
|
|
"column": 25
|
|
}
|
|
},
|
|
"program": {
|
|
"type": "Program",
|
|
"start": 0,
|
|
"end": 1706,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 0
|
|
},
|
|
"end": {
|
|
"line": 61,
|
|
"column": 25
|
|
}
|
|
},
|
|
"sourceType": "module",
|
|
"body": [
|
|
{
|
|
"type": "ImportDeclaration",
|
|
"start": 0,
|
|
"end": 44,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 0
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 44
|
|
}
|
|
},
|
|
"specifiers": [
|
|
{
|
|
"type": "ImportSpecifier",
|
|
"start": 8,
|
|
"end": 18,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 18
|
|
}
|
|
},
|
|
"imported": {
|
|
"type": "Identifier",
|
|
"start": 8,
|
|
"end": 18,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 18
|
|
},
|
|
"identifierName": "Controller"
|
|
},
|
|
"name": "Controller"
|
|
},
|
|
"local": {
|
|
"type": "Identifier",
|
|
"start": 8,
|
|
"end": 18,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 18
|
|
},
|
|
"identifierName": "Controller"
|
|
},
|
|
"name": "Controller"
|
|
}
|
|
}
|
|
],
|
|
"source": {
|
|
"type": "StringLiteral",
|
|
"start": 25,
|
|
"end": 43,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 25
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 43
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "../Controller.js",
|
|
"raw": "\"../Controller.js\""
|
|
},
|
|
"value": "../Controller.js"
|
|
},
|
|
"trailingComments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "* @private ",
|
|
"start": 46,
|
|
"end": 61,
|
|
"loc": {
|
|
"start": {
|
|
"line": 3,
|
|
"column": 0
|
|
},
|
|
"end": {
|
|
"line": 3,
|
|
"column": 15
|
|
}
|
|
}
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"type": "Identifier",
|
|
"start": 62,
|
|
"end": 1679,
|
|
"loc": {
|
|
"start": {
|
|
"line": 4,
|
|
"column": 0
|
|
},
|
|
"end": {
|
|
"line": 59,
|
|
"column": 1
|
|
}
|
|
},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start": 68,
|
|
"end": 83,
|
|
"loc": {
|
|
"start": {
|
|
"line": 4,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 4,
|
|
"column": 21
|
|
},
|
|
"identifierName": "FirstPersonMode"
|
|
},
|
|
"name": "FirstPersonMode",
|
|
"leadingComments": null
|
|
},
|
|
"superClass": {
|
|
"type": "Identifier",
|
|
"start": 92,
|
|
"end": 102,
|
|
"loc": {
|
|
"start": {
|
|
"line": 4,
|
|
"column": 30
|
|
},
|
|
"end": {
|
|
"line": 4,
|
|
"column": 40
|
|
},
|
|
"identifierName": "Controller"
|
|
},
|
|
"name": "Controller"
|
|
},
|
|
"body": {
|
|
"type": "ClassBody",
|
|
"start": 103,
|
|
"end": 1679,
|
|
"loc": {
|
|
"start": {
|
|
"line": 4,
|
|
"column": 41
|
|
},
|
|
"end": {
|
|
"line": 59,
|
|
"column": 1
|
|
}
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "ClassMethod",
|
|
"start": 110,
|
|
"end": 1677,
|
|
"loc": {
|
|
"start": {
|
|
"line": 6,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 58,
|
|
"column": 5
|
|
}
|
|
},
|
|
"static": false,
|
|
"computed": false,
|
|
"key": {
|
|
"type": "Identifier",
|
|
"start": 110,
|
|
"end": 121,
|
|
"loc": {
|
|
"start": {
|
|
"line": 6,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 6,
|
|
"column": 15
|
|
},
|
|
"identifierName": "constructor"
|
|
},
|
|
"name": "constructor"
|
|
},
|
|
"kind": "constructor",
|
|
"id": null,
|
|
"generator": false,
|
|
"expression": false,
|
|
"async": false,
|
|
"params": [
|
|
{
|
|
"type": "Identifier",
|
|
"start": 122,
|
|
"end": 128,
|
|
"loc": {
|
|
"start": {
|
|
"line": 6,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 6,
|
|
"column": 22
|
|
},
|
|
"identifierName": "parent"
|
|
},
|
|
"name": "parent"
|
|
},
|
|
{
|
|
"type": "Identifier",
|
|
"start": 130,
|
|
"end": 133,
|
|
"loc": {
|
|
"start": {
|
|
"line": 6,
|
|
"column": 24
|
|
},
|
|
"end": {
|
|
"line": 6,
|
|
"column": 27
|
|
},
|
|
"identifierName": "cfg"
|
|
},
|
|
"name": "cfg"
|
|
}
|
|
],
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"start": 135,
|
|
"end": 1677,
|
|
"loc": {
|
|
"start": {
|
|
"line": 6,
|
|
"column": 29
|
|
},
|
|
"end": {
|
|
"line": 58,
|
|
"column": 5
|
|
}
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start": 146,
|
|
"end": 165,
|
|
"loc": {
|
|
"start": {
|
|
"line": 8,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 8,
|
|
"column": 27
|
|
}
|
|
},
|
|
"expression": {
|
|
"type": "CallExpression",
|
|
"start": 146,
|
|
"end": 164,
|
|
"loc": {
|
|
"start": {
|
|
"line": 8,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 8,
|
|
"column": 26
|
|
}
|
|
},
|
|
"callee": {
|
|
"type": "Super",
|
|
"start": 146,
|
|
"end": 151,
|
|
"loc": {
|
|
"start": {
|
|
"line": 8,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 8,
|
|
"column": 13
|
|
}
|
|
}
|
|
},
|
|
"arguments": [
|
|
{
|
|
"type": "Identifier",
|
|
"start": 152,
|
|
"end": 158,
|
|
"loc": {
|
|
"start": {
|
|
"line": 8,
|
|
"column": 14
|
|
},
|
|
"end": {
|
|
"line": 8,
|
|
"column": 20
|
|
},
|
|
"identifierName": "parent"
|
|
},
|
|
"name": "parent"
|
|
},
|
|
{
|
|
"type": "Identifier",
|
|
"start": 160,
|
|
"end": 163,
|
|
"loc": {
|
|
"start": {
|
|
"line": 8,
|
|
"column": 22
|
|
},
|
|
"end": {
|
|
"line": 8,
|
|
"column": 25
|
|
},
|
|
"identifierName": "cfg"
|
|
},
|
|
"name": "cfg"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "IfStatement",
|
|
"start": 175,
|
|
"end": 261,
|
|
"loc": {
|
|
"start": {
|
|
"line": 10,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 12,
|
|
"column": 9
|
|
}
|
|
},
|
|
"test": {
|
|
"type": "UnaryExpression",
|
|
"start": 179,
|
|
"end": 197,
|
|
"loc": {
|
|
"start": {
|
|
"line": 10,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 10,
|
|
"column": 30
|
|
}
|
|
},
|
|
"operator": "!",
|
|
"prefix": true,
|
|
"argument": {
|
|
"type": "MemberExpression",
|
|
"start": 180,
|
|
"end": 197,
|
|
"loc": {
|
|
"start": {
|
|
"line": 10,
|
|
"column": 13
|
|
},
|
|
"end": {
|
|
"line": 10,
|
|
"column": 30
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"start": 180,
|
|
"end": 183,
|
|
"loc": {
|
|
"start": {
|
|
"line": 10,
|
|
"column": 13
|
|
},
|
|
"end": {
|
|
"line": 10,
|
|
"column": 16
|
|
},
|
|
"identifierName": "cfg"
|
|
},
|
|
"name": "cfg"
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 184,
|
|
"end": 197,
|
|
"loc": {
|
|
"start": {
|
|
"line": 10,
|
|
"column": 17
|
|
},
|
|
"end": {
|
|
"line": 10,
|
|
"column": 30
|
|
},
|
|
"identifierName": "buttonElement"
|
|
},
|
|
"name": "buttonElement"
|
|
},
|
|
"computed": false
|
|
},
|
|
"extra": {
|
|
"parenthesizedArgument": false
|
|
}
|
|
},
|
|
"consequent": {
|
|
"type": "BlockStatement",
|
|
"start": 199,
|
|
"end": 261,
|
|
"loc": {
|
|
"start": {
|
|
"line": 10,
|
|
"column": 32
|
|
},
|
|
"end": {
|
|
"line": 12,
|
|
"column": 9
|
|
}
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "ThrowStatement",
|
|
"start": 213,
|
|
"end": 251,
|
|
"loc": {
|
|
"start": {
|
|
"line": 11,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 11,
|
|
"column": 50
|
|
}
|
|
},
|
|
"argument": {
|
|
"type": "StringLiteral",
|
|
"start": 219,
|
|
"end": 250,
|
|
"loc": {
|
|
"start": {
|
|
"line": 11,
|
|
"column": 18
|
|
},
|
|
"end": {
|
|
"line": 11,
|
|
"column": 49
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "Missing config: buttonElement",
|
|
"raw": "\"Missing config: buttonElement\""
|
|
},
|
|
"value": "Missing config: buttonElement"
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
},
|
|
"alternate": null
|
|
},
|
|
{
|
|
"type": "VariableDeclaration",
|
|
"start": 271,
|
|
"end": 311,
|
|
"loc": {
|
|
"start": {
|
|
"line": 14,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 14,
|
|
"column": 48
|
|
}
|
|
},
|
|
"declarations": [
|
|
{
|
|
"type": "VariableDeclarator",
|
|
"start": 277,
|
|
"end": 310,
|
|
"loc": {
|
|
"start": {
|
|
"line": 14,
|
|
"column": 14
|
|
},
|
|
"end": {
|
|
"line": 14,
|
|
"column": 47
|
|
}
|
|
},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start": 277,
|
|
"end": 290,
|
|
"loc": {
|
|
"start": {
|
|
"line": 14,
|
|
"column": 14
|
|
},
|
|
"end": {
|
|
"line": 14,
|
|
"column": 27
|
|
},
|
|
"identifierName": "buttonElement"
|
|
},
|
|
"name": "buttonElement"
|
|
},
|
|
"init": {
|
|
"type": "MemberExpression",
|
|
"start": 293,
|
|
"end": 310,
|
|
"loc": {
|
|
"start": {
|
|
"line": 14,
|
|
"column": 30
|
|
},
|
|
"end": {
|
|
"line": 14,
|
|
"column": 47
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"start": 293,
|
|
"end": 296,
|
|
"loc": {
|
|
"start": {
|
|
"line": 14,
|
|
"column": 30
|
|
},
|
|
"end": {
|
|
"line": 14,
|
|
"column": 33
|
|
},
|
|
"identifierName": "cfg"
|
|
},
|
|
"name": "cfg"
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 297,
|
|
"end": 310,
|
|
"loc": {
|
|
"start": {
|
|
"line": 14,
|
|
"column": 34
|
|
},
|
|
"end": {
|
|
"line": 14,
|
|
"column": 47
|
|
},
|
|
"identifierName": "buttonElement"
|
|
},
|
|
"name": "buttonElement"
|
|
},
|
|
"computed": false
|
|
}
|
|
}
|
|
],
|
|
"kind": "const"
|
|
},
|
|
{
|
|
"type": "VariableDeclaration",
|
|
"start": 320,
|
|
"end": 368,
|
|
"loc": {
|
|
"start": {
|
|
"line": 15,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 15,
|
|
"column": 56
|
|
}
|
|
},
|
|
"declarations": [
|
|
{
|
|
"type": "VariableDeclarator",
|
|
"start": 326,
|
|
"end": 367,
|
|
"loc": {
|
|
"start": {
|
|
"line": 15,
|
|
"column": 14
|
|
},
|
|
"end": {
|
|
"line": 15,
|
|
"column": 55
|
|
}
|
|
},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start": 326,
|
|
"end": 339,
|
|
"loc": {
|
|
"start": {
|
|
"line": 15,
|
|
"column": 14
|
|
},
|
|
"end": {
|
|
"line": 15,
|
|
"column": 27
|
|
},
|
|
"identifierName": "cameraControl"
|
|
},
|
|
"name": "cameraControl"
|
|
},
|
|
"init": {
|
|
"type": "MemberExpression",
|
|
"start": 342,
|
|
"end": 367,
|
|
"loc": {
|
|
"start": {
|
|
"line": 15,
|
|
"column": 30
|
|
},
|
|
"end": {
|
|
"line": 15,
|
|
"column": 55
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"start": 342,
|
|
"end": 353,
|
|
"loc": {
|
|
"start": {
|
|
"line": 15,
|
|
"column": 30
|
|
},
|
|
"end": {
|
|
"line": 15,
|
|
"column": 41
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"start": 342,
|
|
"end": 346,
|
|
"loc": {
|
|
"start": {
|
|
"line": 15,
|
|
"column": 30
|
|
},
|
|
"end": {
|
|
"line": 15,
|
|
"column": 34
|
|
}
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 347,
|
|
"end": 353,
|
|
"loc": {
|
|
"start": {
|
|
"line": 15,
|
|
"column": 35
|
|
},
|
|
"end": {
|
|
"line": 15,
|
|
"column": 41
|
|
},
|
|
"identifierName": "viewer"
|
|
},
|
|
"name": "viewer"
|
|
},
|
|
"computed": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 354,
|
|
"end": 367,
|
|
"loc": {
|
|
"start": {
|
|
"line": 15,
|
|
"column": 42
|
|
},
|
|
"end": {
|
|
"line": 15,
|
|
"column": 55
|
|
},
|
|
"identifierName": "cameraControl"
|
|
},
|
|
"name": "cameraControl"
|
|
},
|
|
"computed": false
|
|
}
|
|
}
|
|
],
|
|
"kind": "const"
|
|
},
|
|
{
|
|
"type": "VariableDeclaration",
|
|
"start": 377,
|
|
"end": 447,
|
|
"loc": {
|
|
"start": {
|
|
"line": 16,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 16,
|
|
"column": 78
|
|
}
|
|
},
|
|
"declarations": [
|
|
{
|
|
"type": "VariableDeclarator",
|
|
"start": 383,
|
|
"end": 446,
|
|
"loc": {
|
|
"start": {
|
|
"line": 16,
|
|
"column": 14
|
|
},
|
|
"end": {
|
|
"line": 16,
|
|
"column": 77
|
|
}
|
|
},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start": 383,
|
|
"end": 411,
|
|
"loc": {
|
|
"start": {
|
|
"line": 16,
|
|
"column": 14
|
|
},
|
|
"end": {
|
|
"line": 16,
|
|
"column": 42
|
|
},
|
|
"identifierName": "cameraControlNavModeMediator"
|
|
},
|
|
"name": "cameraControlNavModeMediator"
|
|
},
|
|
"init": {
|
|
"type": "MemberExpression",
|
|
"start": 414,
|
|
"end": 446,
|
|
"loc": {
|
|
"start": {
|
|
"line": 16,
|
|
"column": 45
|
|
},
|
|
"end": {
|
|
"line": 16,
|
|
"column": 77
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"start": 414,
|
|
"end": 417,
|
|
"loc": {
|
|
"start": {
|
|
"line": 16,
|
|
"column": 45
|
|
},
|
|
"end": {
|
|
"line": 16,
|
|
"column": 48
|
|
},
|
|
"identifierName": "cfg"
|
|
},
|
|
"name": "cfg"
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 418,
|
|
"end": 446,
|
|
"loc": {
|
|
"start": {
|
|
"line": 16,
|
|
"column": 49
|
|
},
|
|
"end": {
|
|
"line": 16,
|
|
"column": 77
|
|
},
|
|
"identifierName": "cameraControlNavModeMediator"
|
|
},
|
|
"name": "cameraControlNavModeMediator"
|
|
},
|
|
"computed": false
|
|
}
|
|
}
|
|
],
|
|
"kind": "const"
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start": 457,
|
|
"end": 489,
|
|
"loc": {
|
|
"start": {
|
|
"line": 18,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 18,
|
|
"column": 40
|
|
}
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"start": 457,
|
|
"end": 488,
|
|
"loc": {
|
|
"start": {
|
|
"line": 18,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 18,
|
|
"column": 39
|
|
}
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"start": 457,
|
|
"end": 478,
|
|
"loc": {
|
|
"start": {
|
|
"line": 18,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 18,
|
|
"column": 29
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"start": 457,
|
|
"end": 470,
|
|
"loc": {
|
|
"start": {
|
|
"line": 18,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 18,
|
|
"column": 21
|
|
},
|
|
"identifierName": "cameraControl"
|
|
},
|
|
"name": "cameraControl"
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 471,
|
|
"end": 478,
|
|
"loc": {
|
|
"start": {
|
|
"line": 18,
|
|
"column": 22
|
|
},
|
|
"end": {
|
|
"line": 18,
|
|
"column": 29
|
|
},
|
|
"identifierName": "navMode"
|
|
},
|
|
"name": "navMode"
|
|
},
|
|
"computed": false
|
|
},
|
|
"right": {
|
|
"type": "StringLiteral",
|
|
"start": 481,
|
|
"end": 488,
|
|
"loc": {
|
|
"start": {
|
|
"line": 18,
|
|
"column": 32
|
|
},
|
|
"end": {
|
|
"line": 18,
|
|
"column": 39
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "orbit",
|
|
"raw": "\"orbit\""
|
|
},
|
|
"value": "orbit"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start": 498,
|
|
"end": 533,
|
|
"loc": {
|
|
"start": {
|
|
"line": 19,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 19,
|
|
"column": 43
|
|
}
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"start": 498,
|
|
"end": 532,
|
|
"loc": {
|
|
"start": {
|
|
"line": 19,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 19,
|
|
"column": 42
|
|
}
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"start": 498,
|
|
"end": 525,
|
|
"loc": {
|
|
"start": {
|
|
"line": 19,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 19,
|
|
"column": 35
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"start": 498,
|
|
"end": 511,
|
|
"loc": {
|
|
"start": {
|
|
"line": 19,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 19,
|
|
"column": 21
|
|
},
|
|
"identifierName": "cameraControl"
|
|
},
|
|
"name": "cameraControl"
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 512,
|
|
"end": 525,
|
|
"loc": {
|
|
"start": {
|
|
"line": 19,
|
|
"column": 22
|
|
},
|
|
"end": {
|
|
"line": 19,
|
|
"column": 35
|
|
},
|
|
"identifierName": "followPointer"
|
|
},
|
|
"name": "followPointer"
|
|
},
|
|
"computed": false
|
|
},
|
|
"right": {
|
|
"type": "BooleanLiteral",
|
|
"start": 528,
|
|
"end": 532,
|
|
"loc": {
|
|
"start": {
|
|
"line": 19,
|
|
"column": 38
|
|
},
|
|
"end": {
|
|
"line": 19,
|
|
"column": 42
|
|
}
|
|
},
|
|
"value": true
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start": 543,
|
|
"end": 768,
|
|
"loc": {
|
|
"start": {
|
|
"line": 21,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 27,
|
|
"column": 11
|
|
}
|
|
},
|
|
"expression": {
|
|
"type": "CallExpression",
|
|
"start": 543,
|
|
"end": 767,
|
|
"loc": {
|
|
"start": {
|
|
"line": 21,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 27,
|
|
"column": 10
|
|
}
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"start": 543,
|
|
"end": 550,
|
|
"loc": {
|
|
"start": {
|
|
"line": 21,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 21,
|
|
"column": 15
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"start": 543,
|
|
"end": 547,
|
|
"loc": {
|
|
"start": {
|
|
"line": 21,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 21,
|
|
"column": 12
|
|
}
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 548,
|
|
"end": 550,
|
|
"loc": {
|
|
"start": {
|
|
"line": 21,
|
|
"column": 13
|
|
},
|
|
"end": {
|
|
"line": 21,
|
|
"column": 15
|
|
},
|
|
"identifierName": "on"
|
|
},
|
|
"name": "on"
|
|
},
|
|
"computed": false
|
|
},
|
|
"arguments": [
|
|
{
|
|
"type": "StringLiteral",
|
|
"start": 551,
|
|
"end": 560,
|
|
"loc": {
|
|
"start": {
|
|
"line": 21,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 21,
|
|
"column": 25
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "enabled",
|
|
"raw": "\"enabled\""
|
|
},
|
|
"value": "enabled"
|
|
},
|
|
{
|
|
"type": "ArrowFunctionExpression",
|
|
"start": 562,
|
|
"end": 766,
|
|
"loc": {
|
|
"start": {
|
|
"line": 21,
|
|
"column": 27
|
|
},
|
|
"end": {
|
|
"line": 27,
|
|
"column": 9
|
|
}
|
|
},
|
|
"id": null,
|
|
"generator": false,
|
|
"expression": false,
|
|
"async": false,
|
|
"params": [
|
|
{
|
|
"type": "Identifier",
|
|
"start": 563,
|
|
"end": 570,
|
|
"loc": {
|
|
"start": {
|
|
"line": 21,
|
|
"column": 28
|
|
},
|
|
"end": {
|
|
"line": 21,
|
|
"column": 35
|
|
},
|
|
"identifierName": "enabled"
|
|
},
|
|
"name": "enabled"
|
|
}
|
|
],
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"start": 575,
|
|
"end": 766,
|
|
"loc": {
|
|
"start": {
|
|
"line": 21,
|
|
"column": 40
|
|
},
|
|
"end": {
|
|
"line": 27,
|
|
"column": 9
|
|
}
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "IfStatement",
|
|
"start": 589,
|
|
"end": 756,
|
|
"loc": {
|
|
"start": {
|
|
"line": 22,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 26,
|
|
"column": 13
|
|
}
|
|
},
|
|
"test": {
|
|
"type": "UnaryExpression",
|
|
"start": 593,
|
|
"end": 601,
|
|
"loc": {
|
|
"start": {
|
|
"line": 22,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 22,
|
|
"column": 24
|
|
}
|
|
},
|
|
"operator": "!",
|
|
"prefix": true,
|
|
"argument": {
|
|
"type": "Identifier",
|
|
"start": 594,
|
|
"end": 601,
|
|
"loc": {
|
|
"start": {
|
|
"line": 22,
|
|
"column": 17
|
|
},
|
|
"end": {
|
|
"line": 22,
|
|
"column": 24
|
|
},
|
|
"identifierName": "enabled"
|
|
},
|
|
"name": "enabled"
|
|
},
|
|
"extra": {
|
|
"parenthesizedArgument": false
|
|
}
|
|
},
|
|
"consequent": {
|
|
"type": "BlockStatement",
|
|
"start": 603,
|
|
"end": 675,
|
|
"loc": {
|
|
"start": {
|
|
"line": 22,
|
|
"column": 26
|
|
},
|
|
"end": {
|
|
"line": 24,
|
|
"column": 13
|
|
}
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start": 621,
|
|
"end": 661,
|
|
"loc": {
|
|
"start": {
|
|
"line": 23,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 23,
|
|
"column": 56
|
|
}
|
|
},
|
|
"expression": {
|
|
"type": "CallExpression",
|
|
"start": 621,
|
|
"end": 660,
|
|
"loc": {
|
|
"start": {
|
|
"line": 23,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 23,
|
|
"column": 55
|
|
}
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"start": 621,
|
|
"end": 648,
|
|
"loc": {
|
|
"start": {
|
|
"line": 23,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 23,
|
|
"column": 43
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"start": 621,
|
|
"end": 644,
|
|
"loc": {
|
|
"start": {
|
|
"line": 23,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 23,
|
|
"column": 39
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"start": 621,
|
|
"end": 634,
|
|
"loc": {
|
|
"start": {
|
|
"line": 23,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 23,
|
|
"column": 29
|
|
},
|
|
"identifierName": "buttonElement"
|
|
},
|
|
"name": "buttonElement"
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 635,
|
|
"end": 644,
|
|
"loc": {
|
|
"start": {
|
|
"line": 23,
|
|
"column": 30
|
|
},
|
|
"end": {
|
|
"line": 23,
|
|
"column": 39
|
|
},
|
|
"identifierName": "classList"
|
|
},
|
|
"name": "classList"
|
|
},
|
|
"computed": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 645,
|
|
"end": 648,
|
|
"loc": {
|
|
"start": {
|
|
"line": 23,
|
|
"column": 40
|
|
},
|
|
"end": {
|
|
"line": 23,
|
|
"column": 43
|
|
},
|
|
"identifierName": "add"
|
|
},
|
|
"name": "add"
|
|
},
|
|
"computed": false
|
|
},
|
|
"arguments": [
|
|
{
|
|
"type": "StringLiteral",
|
|
"start": 649,
|
|
"end": 659,
|
|
"loc": {
|
|
"start": {
|
|
"line": 23,
|
|
"column": 44
|
|
},
|
|
"end": {
|
|
"line": 23,
|
|
"column": 54
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "disabled",
|
|
"raw": "\"disabled\""
|
|
},
|
|
"value": "disabled"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
},
|
|
"alternate": {
|
|
"type": "BlockStatement",
|
|
"start": 681,
|
|
"end": 756,
|
|
"loc": {
|
|
"start": {
|
|
"line": 24,
|
|
"column": 19
|
|
},
|
|
"end": {
|
|
"line": 26,
|
|
"column": 13
|
|
}
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start": 699,
|
|
"end": 742,
|
|
"loc": {
|
|
"start": {
|
|
"line": 25,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 25,
|
|
"column": 59
|
|
}
|
|
},
|
|
"expression": {
|
|
"type": "CallExpression",
|
|
"start": 699,
|
|
"end": 741,
|
|
"loc": {
|
|
"start": {
|
|
"line": 25,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 25,
|
|
"column": 58
|
|
}
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"start": 699,
|
|
"end": 729,
|
|
"loc": {
|
|
"start": {
|
|
"line": 25,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 25,
|
|
"column": 46
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"start": 699,
|
|
"end": 722,
|
|
"loc": {
|
|
"start": {
|
|
"line": 25,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 25,
|
|
"column": 39
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"start": 699,
|
|
"end": 712,
|
|
"loc": {
|
|
"start": {
|
|
"line": 25,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 25,
|
|
"column": 29
|
|
},
|
|
"identifierName": "buttonElement"
|
|
},
|
|
"name": "buttonElement"
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 713,
|
|
"end": 722,
|
|
"loc": {
|
|
"start": {
|
|
"line": 25,
|
|
"column": 30
|
|
},
|
|
"end": {
|
|
"line": 25,
|
|
"column": 39
|
|
},
|
|
"identifierName": "classList"
|
|
},
|
|
"name": "classList"
|
|
},
|
|
"computed": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 723,
|
|
"end": 729,
|
|
"loc": {
|
|
"start": {
|
|
"line": 25,
|
|
"column": 40
|
|
},
|
|
"end": {
|
|
"line": 25,
|
|
"column": 46
|
|
},
|
|
"identifierName": "remove"
|
|
},
|
|
"name": "remove"
|
|
},
|
|
"computed": false
|
|
},
|
|
"arguments": [
|
|
{
|
|
"type": "StringLiteral",
|
|
"start": 730,
|
|
"end": 740,
|
|
"loc": {
|
|
"start": {
|
|
"line": 25,
|
|
"column": 47
|
|
},
|
|
"end": {
|
|
"line": 25,
|
|
"column": 57
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "disabled",
|
|
"raw": "\"disabled\""
|
|
},
|
|
"value": "disabled"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start": 778,
|
|
"end": 995,
|
|
"loc": {
|
|
"start": {
|
|
"line": 29,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 35,
|
|
"column": 11
|
|
}
|
|
},
|
|
"expression": {
|
|
"type": "CallExpression",
|
|
"start": 778,
|
|
"end": 994,
|
|
"loc": {
|
|
"start": {
|
|
"line": 29,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 35,
|
|
"column": 10
|
|
}
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"start": 778,
|
|
"end": 785,
|
|
"loc": {
|
|
"start": {
|
|
"line": 29,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 29,
|
|
"column": 15
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"start": 778,
|
|
"end": 782,
|
|
"loc": {
|
|
"start": {
|
|
"line": 29,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 29,
|
|
"column": 12
|
|
}
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 783,
|
|
"end": 785,
|
|
"loc": {
|
|
"start": {
|
|
"line": 29,
|
|
"column": 13
|
|
},
|
|
"end": {
|
|
"line": 29,
|
|
"column": 15
|
|
},
|
|
"identifierName": "on"
|
|
},
|
|
"name": "on"
|
|
},
|
|
"computed": false
|
|
},
|
|
"arguments": [
|
|
{
|
|
"type": "StringLiteral",
|
|
"start": 786,
|
|
"end": 794,
|
|
"loc": {
|
|
"start": {
|
|
"line": 29,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 29,
|
|
"column": 24
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "active",
|
|
"raw": "\"active\""
|
|
},
|
|
"value": "active"
|
|
},
|
|
{
|
|
"type": "ArrowFunctionExpression",
|
|
"start": 796,
|
|
"end": 993,
|
|
"loc": {
|
|
"start": {
|
|
"line": 29,
|
|
"column": 26
|
|
},
|
|
"end": {
|
|
"line": 35,
|
|
"column": 9
|
|
}
|
|
},
|
|
"id": null,
|
|
"generator": false,
|
|
"expression": false,
|
|
"async": false,
|
|
"params": [
|
|
{
|
|
"type": "Identifier",
|
|
"start": 797,
|
|
"end": 803,
|
|
"loc": {
|
|
"start": {
|
|
"line": 29,
|
|
"column": 27
|
|
},
|
|
"end": {
|
|
"line": 29,
|
|
"column": 33
|
|
},
|
|
"identifierName": "active"
|
|
},
|
|
"name": "active"
|
|
}
|
|
],
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"start": 808,
|
|
"end": 993,
|
|
"loc": {
|
|
"start": {
|
|
"line": 29,
|
|
"column": 38
|
|
},
|
|
"end": {
|
|
"line": 35,
|
|
"column": 9
|
|
}
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "IfStatement",
|
|
"start": 822,
|
|
"end": 983,
|
|
"loc": {
|
|
"start": {
|
|
"line": 30,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 34,
|
|
"column": 13
|
|
}
|
|
},
|
|
"test": {
|
|
"type": "Identifier",
|
|
"start": 826,
|
|
"end": 832,
|
|
"loc": {
|
|
"start": {
|
|
"line": 30,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 30,
|
|
"column": 22
|
|
},
|
|
"identifierName": "active"
|
|
},
|
|
"name": "active"
|
|
},
|
|
"consequent": {
|
|
"type": "BlockStatement",
|
|
"start": 834,
|
|
"end": 904,
|
|
"loc": {
|
|
"start": {
|
|
"line": 30,
|
|
"column": 24
|
|
},
|
|
"end": {
|
|
"line": 32,
|
|
"column": 13
|
|
}
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start": 852,
|
|
"end": 890,
|
|
"loc": {
|
|
"start": {
|
|
"line": 31,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 31,
|
|
"column": 54
|
|
}
|
|
},
|
|
"expression": {
|
|
"type": "CallExpression",
|
|
"start": 852,
|
|
"end": 889,
|
|
"loc": {
|
|
"start": {
|
|
"line": 31,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 31,
|
|
"column": 53
|
|
}
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"start": 852,
|
|
"end": 879,
|
|
"loc": {
|
|
"start": {
|
|
"line": 31,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 31,
|
|
"column": 43
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"start": 852,
|
|
"end": 875,
|
|
"loc": {
|
|
"start": {
|
|
"line": 31,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 31,
|
|
"column": 39
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"start": 852,
|
|
"end": 865,
|
|
"loc": {
|
|
"start": {
|
|
"line": 31,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 31,
|
|
"column": 29
|
|
},
|
|
"identifierName": "buttonElement"
|
|
},
|
|
"name": "buttonElement"
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 866,
|
|
"end": 875,
|
|
"loc": {
|
|
"start": {
|
|
"line": 31,
|
|
"column": 30
|
|
},
|
|
"end": {
|
|
"line": 31,
|
|
"column": 39
|
|
},
|
|
"identifierName": "classList"
|
|
},
|
|
"name": "classList"
|
|
},
|
|
"computed": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 876,
|
|
"end": 879,
|
|
"loc": {
|
|
"start": {
|
|
"line": 31,
|
|
"column": 40
|
|
},
|
|
"end": {
|
|
"line": 31,
|
|
"column": 43
|
|
},
|
|
"identifierName": "add"
|
|
},
|
|
"name": "add"
|
|
},
|
|
"computed": false
|
|
},
|
|
"arguments": [
|
|
{
|
|
"type": "StringLiteral",
|
|
"start": 880,
|
|
"end": 888,
|
|
"loc": {
|
|
"start": {
|
|
"line": 31,
|
|
"column": 44
|
|
},
|
|
"end": {
|
|
"line": 31,
|
|
"column": 52
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "active",
|
|
"raw": "\"active\""
|
|
},
|
|
"value": "active"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
},
|
|
"alternate": {
|
|
"type": "BlockStatement",
|
|
"start": 910,
|
|
"end": 983,
|
|
"loc": {
|
|
"start": {
|
|
"line": 32,
|
|
"column": 19
|
|
},
|
|
"end": {
|
|
"line": 34,
|
|
"column": 13
|
|
}
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start": 928,
|
|
"end": 969,
|
|
"loc": {
|
|
"start": {
|
|
"line": 33,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 33,
|
|
"column": 57
|
|
}
|
|
},
|
|
"expression": {
|
|
"type": "CallExpression",
|
|
"start": 928,
|
|
"end": 968,
|
|
"loc": {
|
|
"start": {
|
|
"line": 33,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 33,
|
|
"column": 56
|
|
}
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"start": 928,
|
|
"end": 958,
|
|
"loc": {
|
|
"start": {
|
|
"line": 33,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 33,
|
|
"column": 46
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"start": 928,
|
|
"end": 951,
|
|
"loc": {
|
|
"start": {
|
|
"line": 33,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 33,
|
|
"column": 39
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"start": 928,
|
|
"end": 941,
|
|
"loc": {
|
|
"start": {
|
|
"line": 33,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 33,
|
|
"column": 29
|
|
},
|
|
"identifierName": "buttonElement"
|
|
},
|
|
"name": "buttonElement"
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 942,
|
|
"end": 951,
|
|
"loc": {
|
|
"start": {
|
|
"line": 33,
|
|
"column": 30
|
|
},
|
|
"end": {
|
|
"line": 33,
|
|
"column": 39
|
|
},
|
|
"identifierName": "classList"
|
|
},
|
|
"name": "classList"
|
|
},
|
|
"computed": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 952,
|
|
"end": 958,
|
|
"loc": {
|
|
"start": {
|
|
"line": 33,
|
|
"column": 40
|
|
},
|
|
"end": {
|
|
"line": 33,
|
|
"column": 46
|
|
},
|
|
"identifierName": "remove"
|
|
},
|
|
"name": "remove"
|
|
},
|
|
"computed": false
|
|
},
|
|
"arguments": [
|
|
{
|
|
"type": "StringLiteral",
|
|
"start": 959,
|
|
"end": 967,
|
|
"loc": {
|
|
"start": {
|
|
"line": 33,
|
|
"column": 47
|
|
},
|
|
"end": {
|
|
"line": 33,
|
|
"column": 55
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "active",
|
|
"raw": "\"active\""
|
|
},
|
|
"value": "active"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start": 1005,
|
|
"end": 1331,
|
|
"loc": {
|
|
"start": {
|
|
"line": 37,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 45,
|
|
"column": 11
|
|
}
|
|
},
|
|
"expression": {
|
|
"type": "CallExpression",
|
|
"start": 1005,
|
|
"end": 1330,
|
|
"loc": {
|
|
"start": {
|
|
"line": 37,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 45,
|
|
"column": 10
|
|
}
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"start": 1005,
|
|
"end": 1012,
|
|
"loc": {
|
|
"start": {
|
|
"line": 37,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 37,
|
|
"column": 15
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"start": 1005,
|
|
"end": 1009,
|
|
"loc": {
|
|
"start": {
|
|
"line": 37,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 37,
|
|
"column": 12
|
|
}
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 1010,
|
|
"end": 1012,
|
|
"loc": {
|
|
"start": {
|
|
"line": 37,
|
|
"column": 13
|
|
},
|
|
"end": {
|
|
"line": 37,
|
|
"column": 15
|
|
},
|
|
"identifierName": "on"
|
|
},
|
|
"name": "on"
|
|
},
|
|
"computed": false
|
|
},
|
|
"arguments": [
|
|
{
|
|
"type": "StringLiteral",
|
|
"start": 1013,
|
|
"end": 1021,
|
|
"loc": {
|
|
"start": {
|
|
"line": 37,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 37,
|
|
"column": 24
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "active",
|
|
"raw": "\"active\""
|
|
},
|
|
"value": "active"
|
|
},
|
|
{
|
|
"type": "ArrowFunctionExpression",
|
|
"start": 1023,
|
|
"end": 1329,
|
|
"loc": {
|
|
"start": {
|
|
"line": 37,
|
|
"column": 26
|
|
},
|
|
"end": {
|
|
"line": 45,
|
|
"column": 9
|
|
}
|
|
},
|
|
"id": null,
|
|
"generator": false,
|
|
"expression": false,
|
|
"async": false,
|
|
"params": [
|
|
{
|
|
"type": "Identifier",
|
|
"start": 1024,
|
|
"end": 1030,
|
|
"loc": {
|
|
"start": {
|
|
"line": 37,
|
|
"column": 27
|
|
},
|
|
"end": {
|
|
"line": 37,
|
|
"column": 33
|
|
},
|
|
"identifierName": "active"
|
|
},
|
|
"name": "active"
|
|
}
|
|
],
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"start": 1035,
|
|
"end": 1329,
|
|
"loc": {
|
|
"start": {
|
|
"line": 37,
|
|
"column": 38
|
|
},
|
|
"end": {
|
|
"line": 45,
|
|
"column": 9
|
|
}
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start": 1049,
|
|
"end": 1111,
|
|
"loc": {
|
|
"start": {
|
|
"line": 38,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 38,
|
|
"column": 74
|
|
}
|
|
},
|
|
"expression": {
|
|
"type": "CallExpression",
|
|
"start": 1049,
|
|
"end": 1110,
|
|
"loc": {
|
|
"start": {
|
|
"line": 38,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 38,
|
|
"column": 73
|
|
}
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"start": 1049,
|
|
"end": 1102,
|
|
"loc": {
|
|
"start": {
|
|
"line": 38,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 38,
|
|
"column": 65
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"start": 1049,
|
|
"end": 1077,
|
|
"loc": {
|
|
"start": {
|
|
"line": 38,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 38,
|
|
"column": 40
|
|
},
|
|
"identifierName": "cameraControlNavModeMediator"
|
|
},
|
|
"name": "cameraControlNavModeMediator"
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 1078,
|
|
"end": 1102,
|
|
"loc": {
|
|
"start": {
|
|
"line": 38,
|
|
"column": 41
|
|
},
|
|
"end": {
|
|
"line": 38,
|
|
"column": 65
|
|
},
|
|
"identifierName": "setFirstPersonModeActive"
|
|
},
|
|
"name": "setFirstPersonModeActive"
|
|
},
|
|
"computed": false
|
|
},
|
|
"arguments": [
|
|
{
|
|
"type": "Identifier",
|
|
"start": 1103,
|
|
"end": 1109,
|
|
"loc": {
|
|
"start": {
|
|
"line": 38,
|
|
"column": 66
|
|
},
|
|
"end": {
|
|
"line": 38,
|
|
"column": 72
|
|
},
|
|
"identifierName": "active"
|
|
},
|
|
"name": "active"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "IfStatement",
|
|
"start": 1124,
|
|
"end": 1319,
|
|
"loc": {
|
|
"start": {
|
|
"line": 39,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 44,
|
|
"column": 13
|
|
}
|
|
},
|
|
"test": {
|
|
"type": "Identifier",
|
|
"start": 1128,
|
|
"end": 1134,
|
|
"loc": {
|
|
"start": {
|
|
"line": 39,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 39,
|
|
"column": 22
|
|
},
|
|
"identifierName": "active"
|
|
},
|
|
"name": "active"
|
|
},
|
|
"consequent": {
|
|
"type": "BlockStatement",
|
|
"start": 1136,
|
|
"end": 1251,
|
|
"loc": {
|
|
"start": {
|
|
"line": 39,
|
|
"column": 24
|
|
},
|
|
"end": {
|
|
"line": 42,
|
|
"column": 13
|
|
}
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start": 1154,
|
|
"end": 1189,
|
|
"loc": {
|
|
"start": {
|
|
"line": 40,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 40,
|
|
"column": 51
|
|
}
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"start": 1154,
|
|
"end": 1188,
|
|
"loc": {
|
|
"start": {
|
|
"line": 40,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 40,
|
|
"column": 50
|
|
}
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"start": 1154,
|
|
"end": 1181,
|
|
"loc": {
|
|
"start": {
|
|
"line": 40,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 40,
|
|
"column": 43
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"start": 1154,
|
|
"end": 1167,
|
|
"loc": {
|
|
"start": {
|
|
"line": 40,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 40,
|
|
"column": 29
|
|
},
|
|
"identifierName": "cameraControl"
|
|
},
|
|
"name": "cameraControl"
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 1168,
|
|
"end": 1181,
|
|
"loc": {
|
|
"start": {
|
|
"line": 40,
|
|
"column": 30
|
|
},
|
|
"end": {
|
|
"line": 40,
|
|
"column": 43
|
|
},
|
|
"identifierName": "followPointer"
|
|
},
|
|
"name": "followPointer"
|
|
},
|
|
"computed": false
|
|
},
|
|
"right": {
|
|
"type": "BooleanLiteral",
|
|
"start": 1184,
|
|
"end": 1188,
|
|
"loc": {
|
|
"start": {
|
|
"line": 40,
|
|
"column": 46
|
|
},
|
|
"end": {
|
|
"line": 40,
|
|
"column": 50
|
|
}
|
|
},
|
|
"value": true
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start": 1206,
|
|
"end": 1237,
|
|
"loc": {
|
|
"start": {
|
|
"line": 41,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 41,
|
|
"column": 47
|
|
}
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"start": 1206,
|
|
"end": 1236,
|
|
"loc": {
|
|
"start": {
|
|
"line": 41,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 41,
|
|
"column": 46
|
|
}
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"start": 1206,
|
|
"end": 1228,
|
|
"loc": {
|
|
"start": {
|
|
"line": 41,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 41,
|
|
"column": 38
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"start": 1206,
|
|
"end": 1219,
|
|
"loc": {
|
|
"start": {
|
|
"line": 41,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 41,
|
|
"column": 29
|
|
},
|
|
"identifierName": "cameraControl"
|
|
},
|
|
"name": "cameraControl"
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 1220,
|
|
"end": 1228,
|
|
"loc": {
|
|
"start": {
|
|
"line": 41,
|
|
"column": 30
|
|
},
|
|
"end": {
|
|
"line": 41,
|
|
"column": 38
|
|
},
|
|
"identifierName": "pivoting"
|
|
},
|
|
"name": "pivoting"
|
|
},
|
|
"computed": false
|
|
},
|
|
"right": {
|
|
"type": "BooleanLiteral",
|
|
"start": 1231,
|
|
"end": 1236,
|
|
"loc": {
|
|
"start": {
|
|
"line": 41,
|
|
"column": 41
|
|
},
|
|
"end": {
|
|
"line": 41,
|
|
"column": 46
|
|
}
|
|
},
|
|
"value": false
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
},
|
|
"alternate": {
|
|
"type": "BlockStatement",
|
|
"start": 1257,
|
|
"end": 1319,
|
|
"loc": {
|
|
"start": {
|
|
"line": 42,
|
|
"column": 19
|
|
},
|
|
"end": {
|
|
"line": 44,
|
|
"column": 13
|
|
}
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start": 1275,
|
|
"end": 1305,
|
|
"loc": {
|
|
"start": {
|
|
"line": 43,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 43,
|
|
"column": 46
|
|
}
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"start": 1275,
|
|
"end": 1304,
|
|
"loc": {
|
|
"start": {
|
|
"line": 43,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 43,
|
|
"column": 45
|
|
}
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"start": 1275,
|
|
"end": 1297,
|
|
"loc": {
|
|
"start": {
|
|
"line": 43,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 43,
|
|
"column": 38
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"start": 1275,
|
|
"end": 1288,
|
|
"loc": {
|
|
"start": {
|
|
"line": 43,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 43,
|
|
"column": 29
|
|
},
|
|
"identifierName": "cameraControl"
|
|
},
|
|
"name": "cameraControl"
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 1289,
|
|
"end": 1297,
|
|
"loc": {
|
|
"start": {
|
|
"line": 43,
|
|
"column": 30
|
|
},
|
|
"end": {
|
|
"line": 43,
|
|
"column": 38
|
|
},
|
|
"identifierName": "pivoting"
|
|
},
|
|
"name": "pivoting"
|
|
},
|
|
"computed": false
|
|
},
|
|
"right": {
|
|
"type": "BooleanLiteral",
|
|
"start": 1300,
|
|
"end": 1304,
|
|
"loc": {
|
|
"start": {
|
|
"line": 43,
|
|
"column": 41
|
|
},
|
|
"end": {
|
|
"line": 43,
|
|
"column": 45
|
|
}
|
|
},
|
|
"value": true
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start": 1341,
|
|
"end": 1582,
|
|
"loc": {
|
|
"start": {
|
|
"line": 47,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 53,
|
|
"column": 11
|
|
}
|
|
},
|
|
"expression": {
|
|
"type": "CallExpression",
|
|
"start": 1341,
|
|
"end": 1581,
|
|
"loc": {
|
|
"start": {
|
|
"line": 47,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 53,
|
|
"column": 10
|
|
}
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"start": 1341,
|
|
"end": 1371,
|
|
"loc": {
|
|
"start": {
|
|
"line": 47,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 47,
|
|
"column": 38
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"start": 1341,
|
|
"end": 1354,
|
|
"loc": {
|
|
"start": {
|
|
"line": 47,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 47,
|
|
"column": 21
|
|
},
|
|
"identifierName": "buttonElement"
|
|
},
|
|
"name": "buttonElement"
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 1355,
|
|
"end": 1371,
|
|
"loc": {
|
|
"start": {
|
|
"line": 47,
|
|
"column": 22
|
|
},
|
|
"end": {
|
|
"line": 47,
|
|
"column": 38
|
|
},
|
|
"identifierName": "addEventListener"
|
|
},
|
|
"name": "addEventListener"
|
|
},
|
|
"computed": false
|
|
},
|
|
"arguments": [
|
|
{
|
|
"type": "StringLiteral",
|
|
"start": 1372,
|
|
"end": 1379,
|
|
"loc": {
|
|
"start": {
|
|
"line": 47,
|
|
"column": 39
|
|
},
|
|
"end": {
|
|
"line": 47,
|
|
"column": 46
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "click",
|
|
"raw": "\"click\""
|
|
},
|
|
"value": "click"
|
|
},
|
|
{
|
|
"type": "ArrowFunctionExpression",
|
|
"start": 1381,
|
|
"end": 1580,
|
|
"loc": {
|
|
"start": {
|
|
"line": 47,
|
|
"column": 48
|
|
},
|
|
"end": {
|
|
"line": 53,
|
|
"column": 9
|
|
}
|
|
},
|
|
"id": null,
|
|
"generator": false,
|
|
"expression": false,
|
|
"async": false,
|
|
"params": [
|
|
{
|
|
"type": "Identifier",
|
|
"start": 1382,
|
|
"end": 1387,
|
|
"loc": {
|
|
"start": {
|
|
"line": 47,
|
|
"column": 49
|
|
},
|
|
"end": {
|
|
"line": 47,
|
|
"column": 54
|
|
},
|
|
"identifierName": "event"
|
|
},
|
|
"name": "event"
|
|
}
|
|
],
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"start": 1392,
|
|
"end": 1580,
|
|
"loc": {
|
|
"start": {
|
|
"line": 47,
|
|
"column": 59
|
|
},
|
|
"end": {
|
|
"line": 53,
|
|
"column": 9
|
|
}
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "IfStatement",
|
|
"start": 1406,
|
|
"end": 1534,
|
|
"loc": {
|
|
"start": {
|
|
"line": 48,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 51,
|
|
"column": 13
|
|
}
|
|
},
|
|
"test": {
|
|
"type": "CallExpression",
|
|
"start": 1410,
|
|
"end": 1427,
|
|
"loc": {
|
|
"start": {
|
|
"line": 48,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 48,
|
|
"column": 33
|
|
}
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"start": 1410,
|
|
"end": 1425,
|
|
"loc": {
|
|
"start": {
|
|
"line": 48,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 48,
|
|
"column": 31
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"start": 1410,
|
|
"end": 1414,
|
|
"loc": {
|
|
"start": {
|
|
"line": 48,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 48,
|
|
"column": 20
|
|
}
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 1415,
|
|
"end": 1425,
|
|
"loc": {
|
|
"start": {
|
|
"line": 48,
|
|
"column": 21
|
|
},
|
|
"end": {
|
|
"line": 48,
|
|
"column": 31
|
|
},
|
|
"identifierName": "getEnabled"
|
|
},
|
|
"name": "getEnabled"
|
|
},
|
|
"computed": false
|
|
},
|
|
"arguments": []
|
|
},
|
|
"consequent": {
|
|
"type": "BlockStatement",
|
|
"start": 1429,
|
|
"end": 1534,
|
|
"loc": {
|
|
"start": {
|
|
"line": 48,
|
|
"column": 35
|
|
},
|
|
"end": {
|
|
"line": 51,
|
|
"column": 13
|
|
}
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "VariableDeclaration",
|
|
"start": 1447,
|
|
"end": 1479,
|
|
"loc": {
|
|
"start": {
|
|
"line": 49,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 49,
|
|
"column": 48
|
|
}
|
|
},
|
|
"declarations": [
|
|
{
|
|
"type": "VariableDeclarator",
|
|
"start": 1453,
|
|
"end": 1478,
|
|
"loc": {
|
|
"start": {
|
|
"line": 49,
|
|
"column": 22
|
|
},
|
|
"end": {
|
|
"line": 49,
|
|
"column": 47
|
|
}
|
|
},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start": 1453,
|
|
"end": 1459,
|
|
"loc": {
|
|
"start": {
|
|
"line": 49,
|
|
"column": 22
|
|
},
|
|
"end": {
|
|
"line": 49,
|
|
"column": 28
|
|
},
|
|
"identifierName": "active"
|
|
},
|
|
"name": "active"
|
|
},
|
|
"init": {
|
|
"type": "CallExpression",
|
|
"start": 1462,
|
|
"end": 1478,
|
|
"loc": {
|
|
"start": {
|
|
"line": 49,
|
|
"column": 31
|
|
},
|
|
"end": {
|
|
"line": 49,
|
|
"column": 47
|
|
}
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"start": 1462,
|
|
"end": 1476,
|
|
"loc": {
|
|
"start": {
|
|
"line": 49,
|
|
"column": 31
|
|
},
|
|
"end": {
|
|
"line": 49,
|
|
"column": 45
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"start": 1462,
|
|
"end": 1466,
|
|
"loc": {
|
|
"start": {
|
|
"line": 49,
|
|
"column": 31
|
|
},
|
|
"end": {
|
|
"line": 49,
|
|
"column": 35
|
|
}
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 1467,
|
|
"end": 1476,
|
|
"loc": {
|
|
"start": {
|
|
"line": 49,
|
|
"column": 36
|
|
},
|
|
"end": {
|
|
"line": 49,
|
|
"column": 45
|
|
},
|
|
"identifierName": "getActive"
|
|
},
|
|
"name": "getActive"
|
|
},
|
|
"computed": false
|
|
},
|
|
"arguments": []
|
|
}
|
|
}
|
|
],
|
|
"kind": "const"
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start": 1496,
|
|
"end": 1520,
|
|
"loc": {
|
|
"start": {
|
|
"line": 50,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 50,
|
|
"column": 40
|
|
}
|
|
},
|
|
"expression": {
|
|
"type": "CallExpression",
|
|
"start": 1496,
|
|
"end": 1519,
|
|
"loc": {
|
|
"start": {
|
|
"line": 50,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 50,
|
|
"column": 39
|
|
}
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"start": 1496,
|
|
"end": 1510,
|
|
"loc": {
|
|
"start": {
|
|
"line": 50,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 50,
|
|
"column": 30
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"start": 1496,
|
|
"end": 1500,
|
|
"loc": {
|
|
"start": {
|
|
"line": 50,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 50,
|
|
"column": 20
|
|
}
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 1501,
|
|
"end": 1510,
|
|
"loc": {
|
|
"start": {
|
|
"line": 50,
|
|
"column": 21
|
|
},
|
|
"end": {
|
|
"line": 50,
|
|
"column": 30
|
|
},
|
|
"identifierName": "setActive"
|
|
},
|
|
"name": "setActive"
|
|
},
|
|
"computed": false
|
|
},
|
|
"arguments": [
|
|
{
|
|
"type": "UnaryExpression",
|
|
"start": 1511,
|
|
"end": 1518,
|
|
"loc": {
|
|
"start": {
|
|
"line": 50,
|
|
"column": 31
|
|
},
|
|
"end": {
|
|
"line": 50,
|
|
"column": 38
|
|
}
|
|
},
|
|
"operator": "!",
|
|
"prefix": true,
|
|
"argument": {
|
|
"type": "Identifier",
|
|
"start": 1512,
|
|
"end": 1518,
|
|
"loc": {
|
|
"start": {
|
|
"line": 50,
|
|
"column": 32
|
|
},
|
|
"end": {
|
|
"line": 50,
|
|
"column": 38
|
|
},
|
|
"identifierName": "active"
|
|
},
|
|
"name": "active"
|
|
},
|
|
"extra": {
|
|
"parenthesizedArgument": false
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
},
|
|
"alternate": null
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start": 1547,
|
|
"end": 1570,
|
|
"loc": {
|
|
"start": {
|
|
"line": 52,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 52,
|
|
"column": 35
|
|
}
|
|
},
|
|
"expression": {
|
|
"type": "CallExpression",
|
|
"start": 1547,
|
|
"end": 1569,
|
|
"loc": {
|
|
"start": {
|
|
"line": 52,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 52,
|
|
"column": 34
|
|
}
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"start": 1547,
|
|
"end": 1567,
|
|
"loc": {
|
|
"start": {
|
|
"line": 52,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 52,
|
|
"column": 32
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"start": 1547,
|
|
"end": 1552,
|
|
"loc": {
|
|
"start": {
|
|
"line": 52,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 52,
|
|
"column": 17
|
|
},
|
|
"identifierName": "event"
|
|
},
|
|
"name": "event"
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 1553,
|
|
"end": 1567,
|
|
"loc": {
|
|
"start": {
|
|
"line": 52,
|
|
"column": 18
|
|
},
|
|
"end": {
|
|
"line": 52,
|
|
"column": 32
|
|
},
|
|
"identifierName": "preventDefault"
|
|
},
|
|
"name": "preventDefault"
|
|
},
|
|
"computed": false
|
|
},
|
|
"arguments": []
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start": 1592,
|
|
"end": 1671,
|
|
"loc": {
|
|
"start": {
|
|
"line": 55,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 57,
|
|
"column": 11
|
|
}
|
|
},
|
|
"expression": {
|
|
"type": "CallExpression",
|
|
"start": 1592,
|
|
"end": 1670,
|
|
"loc": {
|
|
"start": {
|
|
"line": 55,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 57,
|
|
"column": 10
|
|
}
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"start": 1592,
|
|
"end": 1609,
|
|
"loc": {
|
|
"start": {
|
|
"line": 55,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 55,
|
|
"column": 25
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"start": 1592,
|
|
"end": 1606,
|
|
"loc": {
|
|
"start": {
|
|
"line": 55,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 55,
|
|
"column": 22
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"start": 1592,
|
|
"end": 1596,
|
|
"loc": {
|
|
"start": {
|
|
"line": 55,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 55,
|
|
"column": 12
|
|
}
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 1597,
|
|
"end": 1606,
|
|
"loc": {
|
|
"start": {
|
|
"line": 55,
|
|
"column": 13
|
|
},
|
|
"end": {
|
|
"line": 55,
|
|
"column": 22
|
|
},
|
|
"identifierName": "bimViewer"
|
|
},
|
|
"name": "bimViewer"
|
|
},
|
|
"computed": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 1607,
|
|
"end": 1609,
|
|
"loc": {
|
|
"start": {
|
|
"line": 55,
|
|
"column": 23
|
|
},
|
|
"end": {
|
|
"line": 55,
|
|
"column": 25
|
|
},
|
|
"identifierName": "on"
|
|
},
|
|
"name": "on"
|
|
},
|
|
"computed": false
|
|
},
|
|
"arguments": [
|
|
{
|
|
"type": "StringLiteral",
|
|
"start": 1610,
|
|
"end": 1617,
|
|
"loc": {
|
|
"start": {
|
|
"line": 55,
|
|
"column": 26
|
|
},
|
|
"end": {
|
|
"line": 55,
|
|
"column": 33
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "reset",
|
|
"raw": "\"reset\""
|
|
},
|
|
"value": "reset"
|
|
},
|
|
{
|
|
"type": "ArrowFunctionExpression",
|
|
"start": 1619,
|
|
"end": 1669,
|
|
"loc": {
|
|
"start": {
|
|
"line": 55,
|
|
"column": 35
|
|
},
|
|
"end": {
|
|
"line": 57,
|
|
"column": 9
|
|
}
|
|
},
|
|
"id": null,
|
|
"generator": false,
|
|
"expression": false,
|
|
"async": false,
|
|
"params": [],
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"start": 1623,
|
|
"end": 1669,
|
|
"loc": {
|
|
"start": {
|
|
"line": 55,
|
|
"column": 39
|
|
},
|
|
"end": {
|
|
"line": 57,
|
|
"column": 9
|
|
}
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start": 1637,
|
|
"end": 1659,
|
|
"loc": {
|
|
"start": {
|
|
"line": 56,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 56,
|
|
"column": 34
|
|
}
|
|
},
|
|
"expression": {
|
|
"type": "CallExpression",
|
|
"start": 1637,
|
|
"end": 1658,
|
|
"loc": {
|
|
"start": {
|
|
"line": 56,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 56,
|
|
"column": 33
|
|
}
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"start": 1637,
|
|
"end": 1651,
|
|
"loc": {
|
|
"start": {
|
|
"line": 56,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 56,
|
|
"column": 26
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"start": 1637,
|
|
"end": 1641,
|
|
"loc": {
|
|
"start": {
|
|
"line": 56,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 56,
|
|
"column": 16
|
|
}
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 1642,
|
|
"end": 1651,
|
|
"loc": {
|
|
"start": {
|
|
"line": 56,
|
|
"column": 17
|
|
},
|
|
"end": {
|
|
"line": 56,
|
|
"column": 26
|
|
},
|
|
"identifierName": "setActive"
|
|
},
|
|
"name": "setActive"
|
|
},
|
|
"computed": false
|
|
},
|
|
"arguments": [
|
|
{
|
|
"type": "BooleanLiteral",
|
|
"start": 1652,
|
|
"end": 1657,
|
|
"loc": {
|
|
"start": {
|
|
"line": 56,
|
|
"column": 27
|
|
},
|
|
"end": {
|
|
"line": 56,
|
|
"column": 32
|
|
}
|
|
},
|
|
"value": false
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"leadingComments": [],
|
|
"name": "_",
|
|
"trailingComments": []
|
|
},
|
|
{
|
|
"type": "ExportNamedDeclaration",
|
|
"start": 1681,
|
|
"end": 1706,
|
|
"loc": {
|
|
"start": {
|
|
"line": 61,
|
|
"column": 0
|
|
},
|
|
"end": {
|
|
"line": 61,
|
|
"column": 25
|
|
}
|
|
},
|
|
"declaration": null,
|
|
"specifiers": [
|
|
{
|
|
"type": "ExportSpecifier",
|
|
"start": 1689,
|
|
"end": 1704,
|
|
"loc": {
|
|
"start": {
|
|
"line": 61,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 61,
|
|
"column": 23
|
|
}
|
|
},
|
|
"local": {
|
|
"type": "Identifier",
|
|
"start": 1689,
|
|
"end": 1704,
|
|
"loc": {
|
|
"start": {
|
|
"line": 61,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 61,
|
|
"column": 23
|
|
},
|
|
"identifierName": "FirstPersonMode"
|
|
},
|
|
"name": "FirstPersonMode"
|
|
},
|
|
"exported": {
|
|
"type": "Identifier",
|
|
"start": 1689,
|
|
"end": 1704,
|
|
"loc": {
|
|
"start": {
|
|
"line": 61,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 61,
|
|
"column": 23
|
|
},
|
|
"identifierName": "FirstPersonMode"
|
|
},
|
|
"name": "FirstPersonMode"
|
|
}
|
|
}
|
|
],
|
|
"source": null
|
|
},
|
|
{
|
|
"type": "ExportNamedDeclaration",
|
|
"start": 1681,
|
|
"end": 1706,
|
|
"loc": {
|
|
"start": {
|
|
"line": 61,
|
|
"column": 0
|
|
},
|
|
"end": {
|
|
"line": 61,
|
|
"column": 25
|
|
}
|
|
},
|
|
"declaration": {
|
|
"type": "ClassDeclaration",
|
|
"start": 62,
|
|
"end": 1679,
|
|
"loc": {
|
|
"start": {
|
|
"line": 4,
|
|
"column": 0
|
|
},
|
|
"end": {
|
|
"line": 59,
|
|
"column": 1
|
|
}
|
|
},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start": 68,
|
|
"end": 83,
|
|
"loc": {
|
|
"start": {
|
|
"line": 4,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 4,
|
|
"column": 21
|
|
},
|
|
"identifierName": "FirstPersonMode"
|
|
},
|
|
"name": "FirstPersonMode",
|
|
"leadingComments": null
|
|
},
|
|
"superClass": {
|
|
"type": "Identifier",
|
|
"start": 92,
|
|
"end": 102,
|
|
"loc": {
|
|
"start": {
|
|
"line": 4,
|
|
"column": 30
|
|
},
|
|
"end": {
|
|
"line": 4,
|
|
"column": 40
|
|
},
|
|
"identifierName": "Controller"
|
|
},
|
|
"name": "Controller"
|
|
},
|
|
"body": {
|
|
"type": "ClassBody",
|
|
"start": 103,
|
|
"end": 1679,
|
|
"loc": {
|
|
"start": {
|
|
"line": 4,
|
|
"column": 41
|
|
},
|
|
"end": {
|
|
"line": 59,
|
|
"column": 1
|
|
}
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "ClassMethod",
|
|
"start": 110,
|
|
"end": 1677,
|
|
"loc": {
|
|
"start": {
|
|
"line": 6,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 58,
|
|
"column": 5
|
|
}
|
|
},
|
|
"static": false,
|
|
"computed": false,
|
|
"key": {
|
|
"type": "Identifier",
|
|
"start": 110,
|
|
"end": 121,
|
|
"loc": {
|
|
"start": {
|
|
"line": 6,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 6,
|
|
"column": 15
|
|
},
|
|
"identifierName": "constructor"
|
|
},
|
|
"name": "constructor"
|
|
},
|
|
"kind": "constructor",
|
|
"id": null,
|
|
"generator": false,
|
|
"expression": false,
|
|
"async": false,
|
|
"params": [
|
|
{
|
|
"type": "Identifier",
|
|
"start": 122,
|
|
"end": 128,
|
|
"loc": {
|
|
"start": {
|
|
"line": 6,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 6,
|
|
"column": 22
|
|
},
|
|
"identifierName": "parent"
|
|
},
|
|
"name": "parent"
|
|
},
|
|
{
|
|
"type": "Identifier",
|
|
"start": 130,
|
|
"end": 133,
|
|
"loc": {
|
|
"start": {
|
|
"line": 6,
|
|
"column": 24
|
|
},
|
|
"end": {
|
|
"line": 6,
|
|
"column": 27
|
|
},
|
|
"identifierName": "cfg"
|
|
},
|
|
"name": "cfg"
|
|
}
|
|
],
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"start": 135,
|
|
"end": 1677,
|
|
"loc": {
|
|
"start": {
|
|
"line": 6,
|
|
"column": 29
|
|
},
|
|
"end": {
|
|
"line": 58,
|
|
"column": 5
|
|
}
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start": 146,
|
|
"end": 165,
|
|
"loc": {
|
|
"start": {
|
|
"line": 8,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 8,
|
|
"column": 27
|
|
}
|
|
},
|
|
"expression": {
|
|
"type": "CallExpression",
|
|
"start": 146,
|
|
"end": 164,
|
|
"loc": {
|
|
"start": {
|
|
"line": 8,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 8,
|
|
"column": 26
|
|
}
|
|
},
|
|
"callee": {
|
|
"type": "Super",
|
|
"start": 146,
|
|
"end": 151,
|
|
"loc": {
|
|
"start": {
|
|
"line": 8,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 8,
|
|
"column": 13
|
|
}
|
|
}
|
|
},
|
|
"arguments": [
|
|
{
|
|
"type": "Identifier",
|
|
"start": 152,
|
|
"end": 158,
|
|
"loc": {
|
|
"start": {
|
|
"line": 8,
|
|
"column": 14
|
|
},
|
|
"end": {
|
|
"line": 8,
|
|
"column": 20
|
|
},
|
|
"identifierName": "parent"
|
|
},
|
|
"name": "parent"
|
|
},
|
|
{
|
|
"type": "Identifier",
|
|
"start": 160,
|
|
"end": 163,
|
|
"loc": {
|
|
"start": {
|
|
"line": 8,
|
|
"column": 22
|
|
},
|
|
"end": {
|
|
"line": 8,
|
|
"column": 25
|
|
},
|
|
"identifierName": "cfg"
|
|
},
|
|
"name": "cfg"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "IfStatement",
|
|
"start": 175,
|
|
"end": 261,
|
|
"loc": {
|
|
"start": {
|
|
"line": 10,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 12,
|
|
"column": 9
|
|
}
|
|
},
|
|
"test": {
|
|
"type": "UnaryExpression",
|
|
"start": 179,
|
|
"end": 197,
|
|
"loc": {
|
|
"start": {
|
|
"line": 10,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 10,
|
|
"column": 30
|
|
}
|
|
},
|
|
"operator": "!",
|
|
"prefix": true,
|
|
"argument": {
|
|
"type": "MemberExpression",
|
|
"start": 180,
|
|
"end": 197,
|
|
"loc": {
|
|
"start": {
|
|
"line": 10,
|
|
"column": 13
|
|
},
|
|
"end": {
|
|
"line": 10,
|
|
"column": 30
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"start": 180,
|
|
"end": 183,
|
|
"loc": {
|
|
"start": {
|
|
"line": 10,
|
|
"column": 13
|
|
},
|
|
"end": {
|
|
"line": 10,
|
|
"column": 16
|
|
},
|
|
"identifierName": "cfg"
|
|
},
|
|
"name": "cfg"
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 184,
|
|
"end": 197,
|
|
"loc": {
|
|
"start": {
|
|
"line": 10,
|
|
"column": 17
|
|
},
|
|
"end": {
|
|
"line": 10,
|
|
"column": 30
|
|
},
|
|
"identifierName": "buttonElement"
|
|
},
|
|
"name": "buttonElement"
|
|
},
|
|
"computed": false
|
|
},
|
|
"extra": {
|
|
"parenthesizedArgument": false
|
|
}
|
|
},
|
|
"consequent": {
|
|
"type": "BlockStatement",
|
|
"start": 199,
|
|
"end": 261,
|
|
"loc": {
|
|
"start": {
|
|
"line": 10,
|
|
"column": 32
|
|
},
|
|
"end": {
|
|
"line": 12,
|
|
"column": 9
|
|
}
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "ThrowStatement",
|
|
"start": 213,
|
|
"end": 251,
|
|
"loc": {
|
|
"start": {
|
|
"line": 11,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 11,
|
|
"column": 50
|
|
}
|
|
},
|
|
"argument": {
|
|
"type": "StringLiteral",
|
|
"start": 219,
|
|
"end": 250,
|
|
"loc": {
|
|
"start": {
|
|
"line": 11,
|
|
"column": 18
|
|
},
|
|
"end": {
|
|
"line": 11,
|
|
"column": 49
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "Missing config: buttonElement",
|
|
"raw": "\"Missing config: buttonElement\""
|
|
},
|
|
"value": "Missing config: buttonElement"
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
},
|
|
"alternate": null
|
|
},
|
|
{
|
|
"type": "VariableDeclaration",
|
|
"start": 271,
|
|
"end": 311,
|
|
"loc": {
|
|
"start": {
|
|
"line": 14,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 14,
|
|
"column": 48
|
|
}
|
|
},
|
|
"declarations": [
|
|
{
|
|
"type": "VariableDeclarator",
|
|
"start": 277,
|
|
"end": 310,
|
|
"loc": {
|
|
"start": {
|
|
"line": 14,
|
|
"column": 14
|
|
},
|
|
"end": {
|
|
"line": 14,
|
|
"column": 47
|
|
}
|
|
},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start": 277,
|
|
"end": 290,
|
|
"loc": {
|
|
"start": {
|
|
"line": 14,
|
|
"column": 14
|
|
},
|
|
"end": {
|
|
"line": 14,
|
|
"column": 27
|
|
},
|
|
"identifierName": "buttonElement"
|
|
},
|
|
"name": "buttonElement"
|
|
},
|
|
"init": {
|
|
"type": "MemberExpression",
|
|
"start": 293,
|
|
"end": 310,
|
|
"loc": {
|
|
"start": {
|
|
"line": 14,
|
|
"column": 30
|
|
},
|
|
"end": {
|
|
"line": 14,
|
|
"column": 47
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"start": 293,
|
|
"end": 296,
|
|
"loc": {
|
|
"start": {
|
|
"line": 14,
|
|
"column": 30
|
|
},
|
|
"end": {
|
|
"line": 14,
|
|
"column": 33
|
|
},
|
|
"identifierName": "cfg"
|
|
},
|
|
"name": "cfg"
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 297,
|
|
"end": 310,
|
|
"loc": {
|
|
"start": {
|
|
"line": 14,
|
|
"column": 34
|
|
},
|
|
"end": {
|
|
"line": 14,
|
|
"column": 47
|
|
},
|
|
"identifierName": "buttonElement"
|
|
},
|
|
"name": "buttonElement"
|
|
},
|
|
"computed": false
|
|
}
|
|
}
|
|
],
|
|
"kind": "const"
|
|
},
|
|
{
|
|
"type": "VariableDeclaration",
|
|
"start": 320,
|
|
"end": 368,
|
|
"loc": {
|
|
"start": {
|
|
"line": 15,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 15,
|
|
"column": 56
|
|
}
|
|
},
|
|
"declarations": [
|
|
{
|
|
"type": "VariableDeclarator",
|
|
"start": 326,
|
|
"end": 367,
|
|
"loc": {
|
|
"start": {
|
|
"line": 15,
|
|
"column": 14
|
|
},
|
|
"end": {
|
|
"line": 15,
|
|
"column": 55
|
|
}
|
|
},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start": 326,
|
|
"end": 339,
|
|
"loc": {
|
|
"start": {
|
|
"line": 15,
|
|
"column": 14
|
|
},
|
|
"end": {
|
|
"line": 15,
|
|
"column": 27
|
|
},
|
|
"identifierName": "cameraControl"
|
|
},
|
|
"name": "cameraControl"
|
|
},
|
|
"init": {
|
|
"type": "MemberExpression",
|
|
"start": 342,
|
|
"end": 367,
|
|
"loc": {
|
|
"start": {
|
|
"line": 15,
|
|
"column": 30
|
|
},
|
|
"end": {
|
|
"line": 15,
|
|
"column": 55
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"start": 342,
|
|
"end": 353,
|
|
"loc": {
|
|
"start": {
|
|
"line": 15,
|
|
"column": 30
|
|
},
|
|
"end": {
|
|
"line": 15,
|
|
"column": 41
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"start": 342,
|
|
"end": 346,
|
|
"loc": {
|
|
"start": {
|
|
"line": 15,
|
|
"column": 30
|
|
},
|
|
"end": {
|
|
"line": 15,
|
|
"column": 34
|
|
}
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 347,
|
|
"end": 353,
|
|
"loc": {
|
|
"start": {
|
|
"line": 15,
|
|
"column": 35
|
|
},
|
|
"end": {
|
|
"line": 15,
|
|
"column": 41
|
|
},
|
|
"identifierName": "viewer"
|
|
},
|
|
"name": "viewer"
|
|
},
|
|
"computed": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 354,
|
|
"end": 367,
|
|
"loc": {
|
|
"start": {
|
|
"line": 15,
|
|
"column": 42
|
|
},
|
|
"end": {
|
|
"line": 15,
|
|
"column": 55
|
|
},
|
|
"identifierName": "cameraControl"
|
|
},
|
|
"name": "cameraControl"
|
|
},
|
|
"computed": false
|
|
}
|
|
}
|
|
],
|
|
"kind": "const"
|
|
},
|
|
{
|
|
"type": "VariableDeclaration",
|
|
"start": 377,
|
|
"end": 447,
|
|
"loc": {
|
|
"start": {
|
|
"line": 16,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 16,
|
|
"column": 78
|
|
}
|
|
},
|
|
"declarations": [
|
|
{
|
|
"type": "VariableDeclarator",
|
|
"start": 383,
|
|
"end": 446,
|
|
"loc": {
|
|
"start": {
|
|
"line": 16,
|
|
"column": 14
|
|
},
|
|
"end": {
|
|
"line": 16,
|
|
"column": 77
|
|
}
|
|
},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start": 383,
|
|
"end": 411,
|
|
"loc": {
|
|
"start": {
|
|
"line": 16,
|
|
"column": 14
|
|
},
|
|
"end": {
|
|
"line": 16,
|
|
"column": 42
|
|
},
|
|
"identifierName": "cameraControlNavModeMediator"
|
|
},
|
|
"name": "cameraControlNavModeMediator"
|
|
},
|
|
"init": {
|
|
"type": "MemberExpression",
|
|
"start": 414,
|
|
"end": 446,
|
|
"loc": {
|
|
"start": {
|
|
"line": 16,
|
|
"column": 45
|
|
},
|
|
"end": {
|
|
"line": 16,
|
|
"column": 77
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"start": 414,
|
|
"end": 417,
|
|
"loc": {
|
|
"start": {
|
|
"line": 16,
|
|
"column": 45
|
|
},
|
|
"end": {
|
|
"line": 16,
|
|
"column": 48
|
|
},
|
|
"identifierName": "cfg"
|
|
},
|
|
"name": "cfg"
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 418,
|
|
"end": 446,
|
|
"loc": {
|
|
"start": {
|
|
"line": 16,
|
|
"column": 49
|
|
},
|
|
"end": {
|
|
"line": 16,
|
|
"column": 77
|
|
},
|
|
"identifierName": "cameraControlNavModeMediator"
|
|
},
|
|
"name": "cameraControlNavModeMediator"
|
|
},
|
|
"computed": false
|
|
}
|
|
}
|
|
],
|
|
"kind": "const"
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start": 457,
|
|
"end": 489,
|
|
"loc": {
|
|
"start": {
|
|
"line": 18,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 18,
|
|
"column": 40
|
|
}
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"start": 457,
|
|
"end": 488,
|
|
"loc": {
|
|
"start": {
|
|
"line": 18,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 18,
|
|
"column": 39
|
|
}
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"start": 457,
|
|
"end": 478,
|
|
"loc": {
|
|
"start": {
|
|
"line": 18,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 18,
|
|
"column": 29
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"start": 457,
|
|
"end": 470,
|
|
"loc": {
|
|
"start": {
|
|
"line": 18,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 18,
|
|
"column": 21
|
|
},
|
|
"identifierName": "cameraControl"
|
|
},
|
|
"name": "cameraControl"
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 471,
|
|
"end": 478,
|
|
"loc": {
|
|
"start": {
|
|
"line": 18,
|
|
"column": 22
|
|
},
|
|
"end": {
|
|
"line": 18,
|
|
"column": 29
|
|
},
|
|
"identifierName": "navMode"
|
|
},
|
|
"name": "navMode"
|
|
},
|
|
"computed": false
|
|
},
|
|
"right": {
|
|
"type": "StringLiteral",
|
|
"start": 481,
|
|
"end": 488,
|
|
"loc": {
|
|
"start": {
|
|
"line": 18,
|
|
"column": 32
|
|
},
|
|
"end": {
|
|
"line": 18,
|
|
"column": 39
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "orbit",
|
|
"raw": "\"orbit\""
|
|
},
|
|
"value": "orbit"
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start": 498,
|
|
"end": 533,
|
|
"loc": {
|
|
"start": {
|
|
"line": 19,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 19,
|
|
"column": 43
|
|
}
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"start": 498,
|
|
"end": 532,
|
|
"loc": {
|
|
"start": {
|
|
"line": 19,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 19,
|
|
"column": 42
|
|
}
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"start": 498,
|
|
"end": 525,
|
|
"loc": {
|
|
"start": {
|
|
"line": 19,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 19,
|
|
"column": 35
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"start": 498,
|
|
"end": 511,
|
|
"loc": {
|
|
"start": {
|
|
"line": 19,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 19,
|
|
"column": 21
|
|
},
|
|
"identifierName": "cameraControl"
|
|
},
|
|
"name": "cameraControl"
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 512,
|
|
"end": 525,
|
|
"loc": {
|
|
"start": {
|
|
"line": 19,
|
|
"column": 22
|
|
},
|
|
"end": {
|
|
"line": 19,
|
|
"column": 35
|
|
},
|
|
"identifierName": "followPointer"
|
|
},
|
|
"name": "followPointer"
|
|
},
|
|
"computed": false
|
|
},
|
|
"right": {
|
|
"type": "BooleanLiteral",
|
|
"start": 528,
|
|
"end": 532,
|
|
"loc": {
|
|
"start": {
|
|
"line": 19,
|
|
"column": 38
|
|
},
|
|
"end": {
|
|
"line": 19,
|
|
"column": 42
|
|
}
|
|
},
|
|
"value": true
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start": 543,
|
|
"end": 768,
|
|
"loc": {
|
|
"start": {
|
|
"line": 21,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 27,
|
|
"column": 11
|
|
}
|
|
},
|
|
"expression": {
|
|
"type": "CallExpression",
|
|
"start": 543,
|
|
"end": 767,
|
|
"loc": {
|
|
"start": {
|
|
"line": 21,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 27,
|
|
"column": 10
|
|
}
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"start": 543,
|
|
"end": 550,
|
|
"loc": {
|
|
"start": {
|
|
"line": 21,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 21,
|
|
"column": 15
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"start": 543,
|
|
"end": 547,
|
|
"loc": {
|
|
"start": {
|
|
"line": 21,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 21,
|
|
"column": 12
|
|
}
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 548,
|
|
"end": 550,
|
|
"loc": {
|
|
"start": {
|
|
"line": 21,
|
|
"column": 13
|
|
},
|
|
"end": {
|
|
"line": 21,
|
|
"column": 15
|
|
},
|
|
"identifierName": "on"
|
|
},
|
|
"name": "on"
|
|
},
|
|
"computed": false
|
|
},
|
|
"arguments": [
|
|
{
|
|
"type": "StringLiteral",
|
|
"start": 551,
|
|
"end": 560,
|
|
"loc": {
|
|
"start": {
|
|
"line": 21,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 21,
|
|
"column": 25
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "enabled",
|
|
"raw": "\"enabled\""
|
|
},
|
|
"value": "enabled"
|
|
},
|
|
{
|
|
"type": "ArrowFunctionExpression",
|
|
"start": 562,
|
|
"end": 766,
|
|
"loc": {
|
|
"start": {
|
|
"line": 21,
|
|
"column": 27
|
|
},
|
|
"end": {
|
|
"line": 27,
|
|
"column": 9
|
|
}
|
|
},
|
|
"id": null,
|
|
"generator": false,
|
|
"expression": false,
|
|
"async": false,
|
|
"params": [
|
|
{
|
|
"type": "Identifier",
|
|
"start": 563,
|
|
"end": 570,
|
|
"loc": {
|
|
"start": {
|
|
"line": 21,
|
|
"column": 28
|
|
},
|
|
"end": {
|
|
"line": 21,
|
|
"column": 35
|
|
},
|
|
"identifierName": "enabled"
|
|
},
|
|
"name": "enabled"
|
|
}
|
|
],
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"start": 575,
|
|
"end": 766,
|
|
"loc": {
|
|
"start": {
|
|
"line": 21,
|
|
"column": 40
|
|
},
|
|
"end": {
|
|
"line": 27,
|
|
"column": 9
|
|
}
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "IfStatement",
|
|
"start": 589,
|
|
"end": 756,
|
|
"loc": {
|
|
"start": {
|
|
"line": 22,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 26,
|
|
"column": 13
|
|
}
|
|
},
|
|
"test": {
|
|
"type": "UnaryExpression",
|
|
"start": 593,
|
|
"end": 601,
|
|
"loc": {
|
|
"start": {
|
|
"line": 22,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 22,
|
|
"column": 24
|
|
}
|
|
},
|
|
"operator": "!",
|
|
"prefix": true,
|
|
"argument": {
|
|
"type": "Identifier",
|
|
"start": 594,
|
|
"end": 601,
|
|
"loc": {
|
|
"start": {
|
|
"line": 22,
|
|
"column": 17
|
|
},
|
|
"end": {
|
|
"line": 22,
|
|
"column": 24
|
|
},
|
|
"identifierName": "enabled"
|
|
},
|
|
"name": "enabled"
|
|
},
|
|
"extra": {
|
|
"parenthesizedArgument": false
|
|
}
|
|
},
|
|
"consequent": {
|
|
"type": "BlockStatement",
|
|
"start": 603,
|
|
"end": 675,
|
|
"loc": {
|
|
"start": {
|
|
"line": 22,
|
|
"column": 26
|
|
},
|
|
"end": {
|
|
"line": 24,
|
|
"column": 13
|
|
}
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start": 621,
|
|
"end": 661,
|
|
"loc": {
|
|
"start": {
|
|
"line": 23,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 23,
|
|
"column": 56
|
|
}
|
|
},
|
|
"expression": {
|
|
"type": "CallExpression",
|
|
"start": 621,
|
|
"end": 660,
|
|
"loc": {
|
|
"start": {
|
|
"line": 23,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 23,
|
|
"column": 55
|
|
}
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"start": 621,
|
|
"end": 648,
|
|
"loc": {
|
|
"start": {
|
|
"line": 23,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 23,
|
|
"column": 43
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"start": 621,
|
|
"end": 644,
|
|
"loc": {
|
|
"start": {
|
|
"line": 23,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 23,
|
|
"column": 39
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"start": 621,
|
|
"end": 634,
|
|
"loc": {
|
|
"start": {
|
|
"line": 23,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 23,
|
|
"column": 29
|
|
},
|
|
"identifierName": "buttonElement"
|
|
},
|
|
"name": "buttonElement"
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 635,
|
|
"end": 644,
|
|
"loc": {
|
|
"start": {
|
|
"line": 23,
|
|
"column": 30
|
|
},
|
|
"end": {
|
|
"line": 23,
|
|
"column": 39
|
|
},
|
|
"identifierName": "classList"
|
|
},
|
|
"name": "classList"
|
|
},
|
|
"computed": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 645,
|
|
"end": 648,
|
|
"loc": {
|
|
"start": {
|
|
"line": 23,
|
|
"column": 40
|
|
},
|
|
"end": {
|
|
"line": 23,
|
|
"column": 43
|
|
},
|
|
"identifierName": "add"
|
|
},
|
|
"name": "add"
|
|
},
|
|
"computed": false
|
|
},
|
|
"arguments": [
|
|
{
|
|
"type": "StringLiteral",
|
|
"start": 649,
|
|
"end": 659,
|
|
"loc": {
|
|
"start": {
|
|
"line": 23,
|
|
"column": 44
|
|
},
|
|
"end": {
|
|
"line": 23,
|
|
"column": 54
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "disabled",
|
|
"raw": "\"disabled\""
|
|
},
|
|
"value": "disabled"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
},
|
|
"alternate": {
|
|
"type": "BlockStatement",
|
|
"start": 681,
|
|
"end": 756,
|
|
"loc": {
|
|
"start": {
|
|
"line": 24,
|
|
"column": 19
|
|
},
|
|
"end": {
|
|
"line": 26,
|
|
"column": 13
|
|
}
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start": 699,
|
|
"end": 742,
|
|
"loc": {
|
|
"start": {
|
|
"line": 25,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 25,
|
|
"column": 59
|
|
}
|
|
},
|
|
"expression": {
|
|
"type": "CallExpression",
|
|
"start": 699,
|
|
"end": 741,
|
|
"loc": {
|
|
"start": {
|
|
"line": 25,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 25,
|
|
"column": 58
|
|
}
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"start": 699,
|
|
"end": 729,
|
|
"loc": {
|
|
"start": {
|
|
"line": 25,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 25,
|
|
"column": 46
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"start": 699,
|
|
"end": 722,
|
|
"loc": {
|
|
"start": {
|
|
"line": 25,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 25,
|
|
"column": 39
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"start": 699,
|
|
"end": 712,
|
|
"loc": {
|
|
"start": {
|
|
"line": 25,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 25,
|
|
"column": 29
|
|
},
|
|
"identifierName": "buttonElement"
|
|
},
|
|
"name": "buttonElement"
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 713,
|
|
"end": 722,
|
|
"loc": {
|
|
"start": {
|
|
"line": 25,
|
|
"column": 30
|
|
},
|
|
"end": {
|
|
"line": 25,
|
|
"column": 39
|
|
},
|
|
"identifierName": "classList"
|
|
},
|
|
"name": "classList"
|
|
},
|
|
"computed": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 723,
|
|
"end": 729,
|
|
"loc": {
|
|
"start": {
|
|
"line": 25,
|
|
"column": 40
|
|
},
|
|
"end": {
|
|
"line": 25,
|
|
"column": 46
|
|
},
|
|
"identifierName": "remove"
|
|
},
|
|
"name": "remove"
|
|
},
|
|
"computed": false
|
|
},
|
|
"arguments": [
|
|
{
|
|
"type": "StringLiteral",
|
|
"start": 730,
|
|
"end": 740,
|
|
"loc": {
|
|
"start": {
|
|
"line": 25,
|
|
"column": 47
|
|
},
|
|
"end": {
|
|
"line": 25,
|
|
"column": 57
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "disabled",
|
|
"raw": "\"disabled\""
|
|
},
|
|
"value": "disabled"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start": 778,
|
|
"end": 995,
|
|
"loc": {
|
|
"start": {
|
|
"line": 29,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 35,
|
|
"column": 11
|
|
}
|
|
},
|
|
"expression": {
|
|
"type": "CallExpression",
|
|
"start": 778,
|
|
"end": 994,
|
|
"loc": {
|
|
"start": {
|
|
"line": 29,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 35,
|
|
"column": 10
|
|
}
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"start": 778,
|
|
"end": 785,
|
|
"loc": {
|
|
"start": {
|
|
"line": 29,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 29,
|
|
"column": 15
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"start": 778,
|
|
"end": 782,
|
|
"loc": {
|
|
"start": {
|
|
"line": 29,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 29,
|
|
"column": 12
|
|
}
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 783,
|
|
"end": 785,
|
|
"loc": {
|
|
"start": {
|
|
"line": 29,
|
|
"column": 13
|
|
},
|
|
"end": {
|
|
"line": 29,
|
|
"column": 15
|
|
},
|
|
"identifierName": "on"
|
|
},
|
|
"name": "on"
|
|
},
|
|
"computed": false
|
|
},
|
|
"arguments": [
|
|
{
|
|
"type": "StringLiteral",
|
|
"start": 786,
|
|
"end": 794,
|
|
"loc": {
|
|
"start": {
|
|
"line": 29,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 29,
|
|
"column": 24
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "active",
|
|
"raw": "\"active\""
|
|
},
|
|
"value": "active"
|
|
},
|
|
{
|
|
"type": "ArrowFunctionExpression",
|
|
"start": 796,
|
|
"end": 993,
|
|
"loc": {
|
|
"start": {
|
|
"line": 29,
|
|
"column": 26
|
|
},
|
|
"end": {
|
|
"line": 35,
|
|
"column": 9
|
|
}
|
|
},
|
|
"id": null,
|
|
"generator": false,
|
|
"expression": false,
|
|
"async": false,
|
|
"params": [
|
|
{
|
|
"type": "Identifier",
|
|
"start": 797,
|
|
"end": 803,
|
|
"loc": {
|
|
"start": {
|
|
"line": 29,
|
|
"column": 27
|
|
},
|
|
"end": {
|
|
"line": 29,
|
|
"column": 33
|
|
},
|
|
"identifierName": "active"
|
|
},
|
|
"name": "active"
|
|
}
|
|
],
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"start": 808,
|
|
"end": 993,
|
|
"loc": {
|
|
"start": {
|
|
"line": 29,
|
|
"column": 38
|
|
},
|
|
"end": {
|
|
"line": 35,
|
|
"column": 9
|
|
}
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "IfStatement",
|
|
"start": 822,
|
|
"end": 983,
|
|
"loc": {
|
|
"start": {
|
|
"line": 30,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 34,
|
|
"column": 13
|
|
}
|
|
},
|
|
"test": {
|
|
"type": "Identifier",
|
|
"start": 826,
|
|
"end": 832,
|
|
"loc": {
|
|
"start": {
|
|
"line": 30,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 30,
|
|
"column": 22
|
|
},
|
|
"identifierName": "active"
|
|
},
|
|
"name": "active"
|
|
},
|
|
"consequent": {
|
|
"type": "BlockStatement",
|
|
"start": 834,
|
|
"end": 904,
|
|
"loc": {
|
|
"start": {
|
|
"line": 30,
|
|
"column": 24
|
|
},
|
|
"end": {
|
|
"line": 32,
|
|
"column": 13
|
|
}
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start": 852,
|
|
"end": 890,
|
|
"loc": {
|
|
"start": {
|
|
"line": 31,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 31,
|
|
"column": 54
|
|
}
|
|
},
|
|
"expression": {
|
|
"type": "CallExpression",
|
|
"start": 852,
|
|
"end": 889,
|
|
"loc": {
|
|
"start": {
|
|
"line": 31,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 31,
|
|
"column": 53
|
|
}
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"start": 852,
|
|
"end": 879,
|
|
"loc": {
|
|
"start": {
|
|
"line": 31,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 31,
|
|
"column": 43
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"start": 852,
|
|
"end": 875,
|
|
"loc": {
|
|
"start": {
|
|
"line": 31,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 31,
|
|
"column": 39
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"start": 852,
|
|
"end": 865,
|
|
"loc": {
|
|
"start": {
|
|
"line": 31,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 31,
|
|
"column": 29
|
|
},
|
|
"identifierName": "buttonElement"
|
|
},
|
|
"name": "buttonElement"
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 866,
|
|
"end": 875,
|
|
"loc": {
|
|
"start": {
|
|
"line": 31,
|
|
"column": 30
|
|
},
|
|
"end": {
|
|
"line": 31,
|
|
"column": 39
|
|
},
|
|
"identifierName": "classList"
|
|
},
|
|
"name": "classList"
|
|
},
|
|
"computed": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 876,
|
|
"end": 879,
|
|
"loc": {
|
|
"start": {
|
|
"line": 31,
|
|
"column": 40
|
|
},
|
|
"end": {
|
|
"line": 31,
|
|
"column": 43
|
|
},
|
|
"identifierName": "add"
|
|
},
|
|
"name": "add"
|
|
},
|
|
"computed": false
|
|
},
|
|
"arguments": [
|
|
{
|
|
"type": "StringLiteral",
|
|
"start": 880,
|
|
"end": 888,
|
|
"loc": {
|
|
"start": {
|
|
"line": 31,
|
|
"column": 44
|
|
},
|
|
"end": {
|
|
"line": 31,
|
|
"column": 52
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "active",
|
|
"raw": "\"active\""
|
|
},
|
|
"value": "active"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
},
|
|
"alternate": {
|
|
"type": "BlockStatement",
|
|
"start": 910,
|
|
"end": 983,
|
|
"loc": {
|
|
"start": {
|
|
"line": 32,
|
|
"column": 19
|
|
},
|
|
"end": {
|
|
"line": 34,
|
|
"column": 13
|
|
}
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start": 928,
|
|
"end": 969,
|
|
"loc": {
|
|
"start": {
|
|
"line": 33,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 33,
|
|
"column": 57
|
|
}
|
|
},
|
|
"expression": {
|
|
"type": "CallExpression",
|
|
"start": 928,
|
|
"end": 968,
|
|
"loc": {
|
|
"start": {
|
|
"line": 33,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 33,
|
|
"column": 56
|
|
}
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"start": 928,
|
|
"end": 958,
|
|
"loc": {
|
|
"start": {
|
|
"line": 33,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 33,
|
|
"column": 46
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"start": 928,
|
|
"end": 951,
|
|
"loc": {
|
|
"start": {
|
|
"line": 33,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 33,
|
|
"column": 39
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"start": 928,
|
|
"end": 941,
|
|
"loc": {
|
|
"start": {
|
|
"line": 33,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 33,
|
|
"column": 29
|
|
},
|
|
"identifierName": "buttonElement"
|
|
},
|
|
"name": "buttonElement"
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 942,
|
|
"end": 951,
|
|
"loc": {
|
|
"start": {
|
|
"line": 33,
|
|
"column": 30
|
|
},
|
|
"end": {
|
|
"line": 33,
|
|
"column": 39
|
|
},
|
|
"identifierName": "classList"
|
|
},
|
|
"name": "classList"
|
|
},
|
|
"computed": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 952,
|
|
"end": 958,
|
|
"loc": {
|
|
"start": {
|
|
"line": 33,
|
|
"column": 40
|
|
},
|
|
"end": {
|
|
"line": 33,
|
|
"column": 46
|
|
},
|
|
"identifierName": "remove"
|
|
},
|
|
"name": "remove"
|
|
},
|
|
"computed": false
|
|
},
|
|
"arguments": [
|
|
{
|
|
"type": "StringLiteral",
|
|
"start": 959,
|
|
"end": 967,
|
|
"loc": {
|
|
"start": {
|
|
"line": 33,
|
|
"column": 47
|
|
},
|
|
"end": {
|
|
"line": 33,
|
|
"column": 55
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "active",
|
|
"raw": "\"active\""
|
|
},
|
|
"value": "active"
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start": 1005,
|
|
"end": 1331,
|
|
"loc": {
|
|
"start": {
|
|
"line": 37,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 45,
|
|
"column": 11
|
|
}
|
|
},
|
|
"expression": {
|
|
"type": "CallExpression",
|
|
"start": 1005,
|
|
"end": 1330,
|
|
"loc": {
|
|
"start": {
|
|
"line": 37,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 45,
|
|
"column": 10
|
|
}
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"start": 1005,
|
|
"end": 1012,
|
|
"loc": {
|
|
"start": {
|
|
"line": 37,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 37,
|
|
"column": 15
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"start": 1005,
|
|
"end": 1009,
|
|
"loc": {
|
|
"start": {
|
|
"line": 37,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 37,
|
|
"column": 12
|
|
}
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 1010,
|
|
"end": 1012,
|
|
"loc": {
|
|
"start": {
|
|
"line": 37,
|
|
"column": 13
|
|
},
|
|
"end": {
|
|
"line": 37,
|
|
"column": 15
|
|
},
|
|
"identifierName": "on"
|
|
},
|
|
"name": "on"
|
|
},
|
|
"computed": false
|
|
},
|
|
"arguments": [
|
|
{
|
|
"type": "StringLiteral",
|
|
"start": 1013,
|
|
"end": 1021,
|
|
"loc": {
|
|
"start": {
|
|
"line": 37,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 37,
|
|
"column": 24
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "active",
|
|
"raw": "\"active\""
|
|
},
|
|
"value": "active"
|
|
},
|
|
{
|
|
"type": "ArrowFunctionExpression",
|
|
"start": 1023,
|
|
"end": 1329,
|
|
"loc": {
|
|
"start": {
|
|
"line": 37,
|
|
"column": 26
|
|
},
|
|
"end": {
|
|
"line": 45,
|
|
"column": 9
|
|
}
|
|
},
|
|
"id": null,
|
|
"generator": false,
|
|
"expression": false,
|
|
"async": false,
|
|
"params": [
|
|
{
|
|
"type": "Identifier",
|
|
"start": 1024,
|
|
"end": 1030,
|
|
"loc": {
|
|
"start": {
|
|
"line": 37,
|
|
"column": 27
|
|
},
|
|
"end": {
|
|
"line": 37,
|
|
"column": 33
|
|
},
|
|
"identifierName": "active"
|
|
},
|
|
"name": "active"
|
|
}
|
|
],
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"start": 1035,
|
|
"end": 1329,
|
|
"loc": {
|
|
"start": {
|
|
"line": 37,
|
|
"column": 38
|
|
},
|
|
"end": {
|
|
"line": 45,
|
|
"column": 9
|
|
}
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start": 1049,
|
|
"end": 1111,
|
|
"loc": {
|
|
"start": {
|
|
"line": 38,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 38,
|
|
"column": 74
|
|
}
|
|
},
|
|
"expression": {
|
|
"type": "CallExpression",
|
|
"start": 1049,
|
|
"end": 1110,
|
|
"loc": {
|
|
"start": {
|
|
"line": 38,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 38,
|
|
"column": 73
|
|
}
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"start": 1049,
|
|
"end": 1102,
|
|
"loc": {
|
|
"start": {
|
|
"line": 38,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 38,
|
|
"column": 65
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"start": 1049,
|
|
"end": 1077,
|
|
"loc": {
|
|
"start": {
|
|
"line": 38,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 38,
|
|
"column": 40
|
|
},
|
|
"identifierName": "cameraControlNavModeMediator"
|
|
},
|
|
"name": "cameraControlNavModeMediator"
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 1078,
|
|
"end": 1102,
|
|
"loc": {
|
|
"start": {
|
|
"line": 38,
|
|
"column": 41
|
|
},
|
|
"end": {
|
|
"line": 38,
|
|
"column": 65
|
|
},
|
|
"identifierName": "setFirstPersonModeActive"
|
|
},
|
|
"name": "setFirstPersonModeActive"
|
|
},
|
|
"computed": false
|
|
},
|
|
"arguments": [
|
|
{
|
|
"type": "Identifier",
|
|
"start": 1103,
|
|
"end": 1109,
|
|
"loc": {
|
|
"start": {
|
|
"line": 38,
|
|
"column": 66
|
|
},
|
|
"end": {
|
|
"line": 38,
|
|
"column": 72
|
|
},
|
|
"identifierName": "active"
|
|
},
|
|
"name": "active"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "IfStatement",
|
|
"start": 1124,
|
|
"end": 1319,
|
|
"loc": {
|
|
"start": {
|
|
"line": 39,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 44,
|
|
"column": 13
|
|
}
|
|
},
|
|
"test": {
|
|
"type": "Identifier",
|
|
"start": 1128,
|
|
"end": 1134,
|
|
"loc": {
|
|
"start": {
|
|
"line": 39,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 39,
|
|
"column": 22
|
|
},
|
|
"identifierName": "active"
|
|
},
|
|
"name": "active"
|
|
},
|
|
"consequent": {
|
|
"type": "BlockStatement",
|
|
"start": 1136,
|
|
"end": 1251,
|
|
"loc": {
|
|
"start": {
|
|
"line": 39,
|
|
"column": 24
|
|
},
|
|
"end": {
|
|
"line": 42,
|
|
"column": 13
|
|
}
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start": 1154,
|
|
"end": 1189,
|
|
"loc": {
|
|
"start": {
|
|
"line": 40,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 40,
|
|
"column": 51
|
|
}
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"start": 1154,
|
|
"end": 1188,
|
|
"loc": {
|
|
"start": {
|
|
"line": 40,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 40,
|
|
"column": 50
|
|
}
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"start": 1154,
|
|
"end": 1181,
|
|
"loc": {
|
|
"start": {
|
|
"line": 40,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 40,
|
|
"column": 43
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"start": 1154,
|
|
"end": 1167,
|
|
"loc": {
|
|
"start": {
|
|
"line": 40,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 40,
|
|
"column": 29
|
|
},
|
|
"identifierName": "cameraControl"
|
|
},
|
|
"name": "cameraControl"
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 1168,
|
|
"end": 1181,
|
|
"loc": {
|
|
"start": {
|
|
"line": 40,
|
|
"column": 30
|
|
},
|
|
"end": {
|
|
"line": 40,
|
|
"column": 43
|
|
},
|
|
"identifierName": "followPointer"
|
|
},
|
|
"name": "followPointer"
|
|
},
|
|
"computed": false
|
|
},
|
|
"right": {
|
|
"type": "BooleanLiteral",
|
|
"start": 1184,
|
|
"end": 1188,
|
|
"loc": {
|
|
"start": {
|
|
"line": 40,
|
|
"column": 46
|
|
},
|
|
"end": {
|
|
"line": 40,
|
|
"column": 50
|
|
}
|
|
},
|
|
"value": true
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start": 1206,
|
|
"end": 1237,
|
|
"loc": {
|
|
"start": {
|
|
"line": 41,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 41,
|
|
"column": 47
|
|
}
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"start": 1206,
|
|
"end": 1236,
|
|
"loc": {
|
|
"start": {
|
|
"line": 41,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 41,
|
|
"column": 46
|
|
}
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"start": 1206,
|
|
"end": 1228,
|
|
"loc": {
|
|
"start": {
|
|
"line": 41,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 41,
|
|
"column": 38
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"start": 1206,
|
|
"end": 1219,
|
|
"loc": {
|
|
"start": {
|
|
"line": 41,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 41,
|
|
"column": 29
|
|
},
|
|
"identifierName": "cameraControl"
|
|
},
|
|
"name": "cameraControl"
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 1220,
|
|
"end": 1228,
|
|
"loc": {
|
|
"start": {
|
|
"line": 41,
|
|
"column": 30
|
|
},
|
|
"end": {
|
|
"line": 41,
|
|
"column": 38
|
|
},
|
|
"identifierName": "pivoting"
|
|
},
|
|
"name": "pivoting"
|
|
},
|
|
"computed": false
|
|
},
|
|
"right": {
|
|
"type": "BooleanLiteral",
|
|
"start": 1231,
|
|
"end": 1236,
|
|
"loc": {
|
|
"start": {
|
|
"line": 41,
|
|
"column": 41
|
|
},
|
|
"end": {
|
|
"line": 41,
|
|
"column": 46
|
|
}
|
|
},
|
|
"value": false
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
},
|
|
"alternate": {
|
|
"type": "BlockStatement",
|
|
"start": 1257,
|
|
"end": 1319,
|
|
"loc": {
|
|
"start": {
|
|
"line": 42,
|
|
"column": 19
|
|
},
|
|
"end": {
|
|
"line": 44,
|
|
"column": 13
|
|
}
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start": 1275,
|
|
"end": 1305,
|
|
"loc": {
|
|
"start": {
|
|
"line": 43,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 43,
|
|
"column": 46
|
|
}
|
|
},
|
|
"expression": {
|
|
"type": "AssignmentExpression",
|
|
"start": 1275,
|
|
"end": 1304,
|
|
"loc": {
|
|
"start": {
|
|
"line": 43,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 43,
|
|
"column": 45
|
|
}
|
|
},
|
|
"operator": "=",
|
|
"left": {
|
|
"type": "MemberExpression",
|
|
"start": 1275,
|
|
"end": 1297,
|
|
"loc": {
|
|
"start": {
|
|
"line": 43,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 43,
|
|
"column": 38
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"start": 1275,
|
|
"end": 1288,
|
|
"loc": {
|
|
"start": {
|
|
"line": 43,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 43,
|
|
"column": 29
|
|
},
|
|
"identifierName": "cameraControl"
|
|
},
|
|
"name": "cameraControl"
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 1289,
|
|
"end": 1297,
|
|
"loc": {
|
|
"start": {
|
|
"line": 43,
|
|
"column": 30
|
|
},
|
|
"end": {
|
|
"line": 43,
|
|
"column": 38
|
|
},
|
|
"identifierName": "pivoting"
|
|
},
|
|
"name": "pivoting"
|
|
},
|
|
"computed": false
|
|
},
|
|
"right": {
|
|
"type": "BooleanLiteral",
|
|
"start": 1300,
|
|
"end": 1304,
|
|
"loc": {
|
|
"start": {
|
|
"line": 43,
|
|
"column": 41
|
|
},
|
|
"end": {
|
|
"line": 43,
|
|
"column": 45
|
|
}
|
|
},
|
|
"value": true
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start": 1341,
|
|
"end": 1582,
|
|
"loc": {
|
|
"start": {
|
|
"line": 47,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 53,
|
|
"column": 11
|
|
}
|
|
},
|
|
"expression": {
|
|
"type": "CallExpression",
|
|
"start": 1341,
|
|
"end": 1581,
|
|
"loc": {
|
|
"start": {
|
|
"line": 47,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 53,
|
|
"column": 10
|
|
}
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"start": 1341,
|
|
"end": 1371,
|
|
"loc": {
|
|
"start": {
|
|
"line": 47,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 47,
|
|
"column": 38
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"start": 1341,
|
|
"end": 1354,
|
|
"loc": {
|
|
"start": {
|
|
"line": 47,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 47,
|
|
"column": 21
|
|
},
|
|
"identifierName": "buttonElement"
|
|
},
|
|
"name": "buttonElement"
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 1355,
|
|
"end": 1371,
|
|
"loc": {
|
|
"start": {
|
|
"line": 47,
|
|
"column": 22
|
|
},
|
|
"end": {
|
|
"line": 47,
|
|
"column": 38
|
|
},
|
|
"identifierName": "addEventListener"
|
|
},
|
|
"name": "addEventListener"
|
|
},
|
|
"computed": false
|
|
},
|
|
"arguments": [
|
|
{
|
|
"type": "StringLiteral",
|
|
"start": 1372,
|
|
"end": 1379,
|
|
"loc": {
|
|
"start": {
|
|
"line": 47,
|
|
"column": 39
|
|
},
|
|
"end": {
|
|
"line": 47,
|
|
"column": 46
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "click",
|
|
"raw": "\"click\""
|
|
},
|
|
"value": "click"
|
|
},
|
|
{
|
|
"type": "ArrowFunctionExpression",
|
|
"start": 1381,
|
|
"end": 1580,
|
|
"loc": {
|
|
"start": {
|
|
"line": 47,
|
|
"column": 48
|
|
},
|
|
"end": {
|
|
"line": 53,
|
|
"column": 9
|
|
}
|
|
},
|
|
"id": null,
|
|
"generator": false,
|
|
"expression": false,
|
|
"async": false,
|
|
"params": [
|
|
{
|
|
"type": "Identifier",
|
|
"start": 1382,
|
|
"end": 1387,
|
|
"loc": {
|
|
"start": {
|
|
"line": 47,
|
|
"column": 49
|
|
},
|
|
"end": {
|
|
"line": 47,
|
|
"column": 54
|
|
},
|
|
"identifierName": "event"
|
|
},
|
|
"name": "event"
|
|
}
|
|
],
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"start": 1392,
|
|
"end": 1580,
|
|
"loc": {
|
|
"start": {
|
|
"line": 47,
|
|
"column": 59
|
|
},
|
|
"end": {
|
|
"line": 53,
|
|
"column": 9
|
|
}
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "IfStatement",
|
|
"start": 1406,
|
|
"end": 1534,
|
|
"loc": {
|
|
"start": {
|
|
"line": 48,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 51,
|
|
"column": 13
|
|
}
|
|
},
|
|
"test": {
|
|
"type": "CallExpression",
|
|
"start": 1410,
|
|
"end": 1427,
|
|
"loc": {
|
|
"start": {
|
|
"line": 48,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 48,
|
|
"column": 33
|
|
}
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"start": 1410,
|
|
"end": 1425,
|
|
"loc": {
|
|
"start": {
|
|
"line": 48,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 48,
|
|
"column": 31
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"start": 1410,
|
|
"end": 1414,
|
|
"loc": {
|
|
"start": {
|
|
"line": 48,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 48,
|
|
"column": 20
|
|
}
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 1415,
|
|
"end": 1425,
|
|
"loc": {
|
|
"start": {
|
|
"line": 48,
|
|
"column": 21
|
|
},
|
|
"end": {
|
|
"line": 48,
|
|
"column": 31
|
|
},
|
|
"identifierName": "getEnabled"
|
|
},
|
|
"name": "getEnabled"
|
|
},
|
|
"computed": false
|
|
},
|
|
"arguments": []
|
|
},
|
|
"consequent": {
|
|
"type": "BlockStatement",
|
|
"start": 1429,
|
|
"end": 1534,
|
|
"loc": {
|
|
"start": {
|
|
"line": 48,
|
|
"column": 35
|
|
},
|
|
"end": {
|
|
"line": 51,
|
|
"column": 13
|
|
}
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "VariableDeclaration",
|
|
"start": 1447,
|
|
"end": 1479,
|
|
"loc": {
|
|
"start": {
|
|
"line": 49,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 49,
|
|
"column": 48
|
|
}
|
|
},
|
|
"declarations": [
|
|
{
|
|
"type": "VariableDeclarator",
|
|
"start": 1453,
|
|
"end": 1478,
|
|
"loc": {
|
|
"start": {
|
|
"line": 49,
|
|
"column": 22
|
|
},
|
|
"end": {
|
|
"line": 49,
|
|
"column": 47
|
|
}
|
|
},
|
|
"id": {
|
|
"type": "Identifier",
|
|
"start": 1453,
|
|
"end": 1459,
|
|
"loc": {
|
|
"start": {
|
|
"line": 49,
|
|
"column": 22
|
|
},
|
|
"end": {
|
|
"line": 49,
|
|
"column": 28
|
|
},
|
|
"identifierName": "active"
|
|
},
|
|
"name": "active"
|
|
},
|
|
"init": {
|
|
"type": "CallExpression",
|
|
"start": 1462,
|
|
"end": 1478,
|
|
"loc": {
|
|
"start": {
|
|
"line": 49,
|
|
"column": 31
|
|
},
|
|
"end": {
|
|
"line": 49,
|
|
"column": 47
|
|
}
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"start": 1462,
|
|
"end": 1476,
|
|
"loc": {
|
|
"start": {
|
|
"line": 49,
|
|
"column": 31
|
|
},
|
|
"end": {
|
|
"line": 49,
|
|
"column": 45
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"start": 1462,
|
|
"end": 1466,
|
|
"loc": {
|
|
"start": {
|
|
"line": 49,
|
|
"column": 31
|
|
},
|
|
"end": {
|
|
"line": 49,
|
|
"column": 35
|
|
}
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 1467,
|
|
"end": 1476,
|
|
"loc": {
|
|
"start": {
|
|
"line": 49,
|
|
"column": 36
|
|
},
|
|
"end": {
|
|
"line": 49,
|
|
"column": 45
|
|
},
|
|
"identifierName": "getActive"
|
|
},
|
|
"name": "getActive"
|
|
},
|
|
"computed": false
|
|
},
|
|
"arguments": []
|
|
}
|
|
}
|
|
],
|
|
"kind": "const"
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start": 1496,
|
|
"end": 1520,
|
|
"loc": {
|
|
"start": {
|
|
"line": 50,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 50,
|
|
"column": 40
|
|
}
|
|
},
|
|
"expression": {
|
|
"type": "CallExpression",
|
|
"start": 1496,
|
|
"end": 1519,
|
|
"loc": {
|
|
"start": {
|
|
"line": 50,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 50,
|
|
"column": 39
|
|
}
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"start": 1496,
|
|
"end": 1510,
|
|
"loc": {
|
|
"start": {
|
|
"line": 50,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 50,
|
|
"column": 30
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"start": 1496,
|
|
"end": 1500,
|
|
"loc": {
|
|
"start": {
|
|
"line": 50,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 50,
|
|
"column": 20
|
|
}
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 1501,
|
|
"end": 1510,
|
|
"loc": {
|
|
"start": {
|
|
"line": 50,
|
|
"column": 21
|
|
},
|
|
"end": {
|
|
"line": 50,
|
|
"column": 30
|
|
},
|
|
"identifierName": "setActive"
|
|
},
|
|
"name": "setActive"
|
|
},
|
|
"computed": false
|
|
},
|
|
"arguments": [
|
|
{
|
|
"type": "UnaryExpression",
|
|
"start": 1511,
|
|
"end": 1518,
|
|
"loc": {
|
|
"start": {
|
|
"line": 50,
|
|
"column": 31
|
|
},
|
|
"end": {
|
|
"line": 50,
|
|
"column": 38
|
|
}
|
|
},
|
|
"operator": "!",
|
|
"prefix": true,
|
|
"argument": {
|
|
"type": "Identifier",
|
|
"start": 1512,
|
|
"end": 1518,
|
|
"loc": {
|
|
"start": {
|
|
"line": 50,
|
|
"column": 32
|
|
},
|
|
"end": {
|
|
"line": 50,
|
|
"column": 38
|
|
},
|
|
"identifierName": "active"
|
|
},
|
|
"name": "active"
|
|
},
|
|
"extra": {
|
|
"parenthesizedArgument": false
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
},
|
|
"alternate": null
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start": 1547,
|
|
"end": 1570,
|
|
"loc": {
|
|
"start": {
|
|
"line": 52,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 52,
|
|
"column": 35
|
|
}
|
|
},
|
|
"expression": {
|
|
"type": "CallExpression",
|
|
"start": 1547,
|
|
"end": 1569,
|
|
"loc": {
|
|
"start": {
|
|
"line": 52,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 52,
|
|
"column": 34
|
|
}
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"start": 1547,
|
|
"end": 1567,
|
|
"loc": {
|
|
"start": {
|
|
"line": 52,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 52,
|
|
"column": 32
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "Identifier",
|
|
"start": 1547,
|
|
"end": 1552,
|
|
"loc": {
|
|
"start": {
|
|
"line": 52,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 52,
|
|
"column": 17
|
|
},
|
|
"identifierName": "event"
|
|
},
|
|
"name": "event"
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 1553,
|
|
"end": 1567,
|
|
"loc": {
|
|
"start": {
|
|
"line": 52,
|
|
"column": 18
|
|
},
|
|
"end": {
|
|
"line": 52,
|
|
"column": 32
|
|
},
|
|
"identifierName": "preventDefault"
|
|
},
|
|
"name": "preventDefault"
|
|
},
|
|
"computed": false
|
|
},
|
|
"arguments": []
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
}
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start": 1592,
|
|
"end": 1671,
|
|
"loc": {
|
|
"start": {
|
|
"line": 55,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 57,
|
|
"column": 11
|
|
}
|
|
},
|
|
"expression": {
|
|
"type": "CallExpression",
|
|
"start": 1592,
|
|
"end": 1670,
|
|
"loc": {
|
|
"start": {
|
|
"line": 55,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 57,
|
|
"column": 10
|
|
}
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"start": 1592,
|
|
"end": 1609,
|
|
"loc": {
|
|
"start": {
|
|
"line": 55,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 55,
|
|
"column": 25
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "MemberExpression",
|
|
"start": 1592,
|
|
"end": 1606,
|
|
"loc": {
|
|
"start": {
|
|
"line": 55,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 55,
|
|
"column": 22
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"start": 1592,
|
|
"end": 1596,
|
|
"loc": {
|
|
"start": {
|
|
"line": 55,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 55,
|
|
"column": 12
|
|
}
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 1597,
|
|
"end": 1606,
|
|
"loc": {
|
|
"start": {
|
|
"line": 55,
|
|
"column": 13
|
|
},
|
|
"end": {
|
|
"line": 55,
|
|
"column": 22
|
|
},
|
|
"identifierName": "bimViewer"
|
|
},
|
|
"name": "bimViewer"
|
|
},
|
|
"computed": false
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 1607,
|
|
"end": 1609,
|
|
"loc": {
|
|
"start": {
|
|
"line": 55,
|
|
"column": 23
|
|
},
|
|
"end": {
|
|
"line": 55,
|
|
"column": 25
|
|
},
|
|
"identifierName": "on"
|
|
},
|
|
"name": "on"
|
|
},
|
|
"computed": false
|
|
},
|
|
"arguments": [
|
|
{
|
|
"type": "StringLiteral",
|
|
"start": 1610,
|
|
"end": 1617,
|
|
"loc": {
|
|
"start": {
|
|
"line": 55,
|
|
"column": 26
|
|
},
|
|
"end": {
|
|
"line": 55,
|
|
"column": 33
|
|
}
|
|
},
|
|
"extra": {
|
|
"rawValue": "reset",
|
|
"raw": "\"reset\""
|
|
},
|
|
"value": "reset"
|
|
},
|
|
{
|
|
"type": "ArrowFunctionExpression",
|
|
"start": 1619,
|
|
"end": 1669,
|
|
"loc": {
|
|
"start": {
|
|
"line": 55,
|
|
"column": 35
|
|
},
|
|
"end": {
|
|
"line": 57,
|
|
"column": 9
|
|
}
|
|
},
|
|
"id": null,
|
|
"generator": false,
|
|
"expression": false,
|
|
"async": false,
|
|
"params": [],
|
|
"body": {
|
|
"type": "BlockStatement",
|
|
"start": 1623,
|
|
"end": 1669,
|
|
"loc": {
|
|
"start": {
|
|
"line": 55,
|
|
"column": 39
|
|
},
|
|
"end": {
|
|
"line": 57,
|
|
"column": 9
|
|
}
|
|
},
|
|
"body": [
|
|
{
|
|
"type": "ExpressionStatement",
|
|
"start": 1637,
|
|
"end": 1659,
|
|
"loc": {
|
|
"start": {
|
|
"line": 56,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 56,
|
|
"column": 34
|
|
}
|
|
},
|
|
"expression": {
|
|
"type": "CallExpression",
|
|
"start": 1637,
|
|
"end": 1658,
|
|
"loc": {
|
|
"start": {
|
|
"line": 56,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 56,
|
|
"column": 33
|
|
}
|
|
},
|
|
"callee": {
|
|
"type": "MemberExpression",
|
|
"start": 1637,
|
|
"end": 1651,
|
|
"loc": {
|
|
"start": {
|
|
"line": 56,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 56,
|
|
"column": 26
|
|
}
|
|
},
|
|
"object": {
|
|
"type": "ThisExpression",
|
|
"start": 1637,
|
|
"end": 1641,
|
|
"loc": {
|
|
"start": {
|
|
"line": 56,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 56,
|
|
"column": 16
|
|
}
|
|
}
|
|
},
|
|
"property": {
|
|
"type": "Identifier",
|
|
"start": 1642,
|
|
"end": 1651,
|
|
"loc": {
|
|
"start": {
|
|
"line": 56,
|
|
"column": 17
|
|
},
|
|
"end": {
|
|
"line": 56,
|
|
"column": 26
|
|
},
|
|
"identifierName": "setActive"
|
|
},
|
|
"name": "setActive"
|
|
},
|
|
"computed": false
|
|
},
|
|
"arguments": [
|
|
{
|
|
"type": "BooleanLiteral",
|
|
"start": 1652,
|
|
"end": 1657,
|
|
"loc": {
|
|
"start": {
|
|
"line": 56,
|
|
"column": 27
|
|
},
|
|
"end": {
|
|
"line": 56,
|
|
"column": 32
|
|
}
|
|
},
|
|
"value": false
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|
|
],
|
|
"directives": []
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"leadingComments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "* @private ",
|
|
"start": 46,
|
|
"end": 61,
|
|
"loc": {
|
|
"start": {
|
|
"line": 3,
|
|
"column": 0
|
|
},
|
|
"end": {
|
|
"line": 3,
|
|
"column": 15
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"__PseudoExport__": false,
|
|
"trailingComments": []
|
|
},
|
|
"specifiers": null,
|
|
"source": null,
|
|
"leadingComments": null
|
|
}
|
|
],
|
|
"directives": []
|
|
},
|
|
"comments": [
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "* @private ",
|
|
"start": 46,
|
|
"end": 61,
|
|
"loc": {
|
|
"start": {
|
|
"line": 3,
|
|
"column": 0
|
|
},
|
|
"end": {
|
|
"line": 3,
|
|
"column": 15
|
|
}
|
|
}
|
|
}
|
|
],
|
|
"tokens": [
|
|
{
|
|
"type": {
|
|
"label": "import",
|
|
"keyword": "import",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "import",
|
|
"start": 0,
|
|
"end": 6,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 0
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 6
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "{",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 7,
|
|
"end": 8,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 7
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 8
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "Controller",
|
|
"start": 8,
|
|
"end": 18,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 18
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "}",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 18,
|
|
"end": 19,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 18
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 19
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "from",
|
|
"start": 20,
|
|
"end": 24,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 24
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "string",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "../Controller.js",
|
|
"start": 25,
|
|
"end": 43,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 25
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 43
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ";",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 43,
|
|
"end": 44,
|
|
"loc": {
|
|
"start": {
|
|
"line": 1,
|
|
"column": 43
|
|
},
|
|
"end": {
|
|
"line": 1,
|
|
"column": 44
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": "CommentBlock",
|
|
"value": "* @private ",
|
|
"start": 46,
|
|
"end": 61,
|
|
"loc": {
|
|
"start": {
|
|
"line": 3,
|
|
"column": 0
|
|
},
|
|
"end": {
|
|
"line": 3,
|
|
"column": 15
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "class",
|
|
"keyword": "class",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "class",
|
|
"start": 62,
|
|
"end": 67,
|
|
"loc": {
|
|
"start": {
|
|
"line": 4,
|
|
"column": 0
|
|
},
|
|
"end": {
|
|
"line": 4,
|
|
"column": 5
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "FirstPersonMode",
|
|
"start": 68,
|
|
"end": 83,
|
|
"loc": {
|
|
"start": {
|
|
"line": 4,
|
|
"column": 6
|
|
},
|
|
"end": {
|
|
"line": 4,
|
|
"column": 21
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "extends",
|
|
"keyword": "extends",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "extends",
|
|
"start": 84,
|
|
"end": 91,
|
|
"loc": {
|
|
"start": {
|
|
"line": 4,
|
|
"column": 22
|
|
},
|
|
"end": {
|
|
"line": 4,
|
|
"column": 29
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "Controller",
|
|
"start": 92,
|
|
"end": 102,
|
|
"loc": {
|
|
"start": {
|
|
"line": 4,
|
|
"column": 30
|
|
},
|
|
"end": {
|
|
"line": 4,
|
|
"column": 40
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "{",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 103,
|
|
"end": 104,
|
|
"loc": {
|
|
"start": {
|
|
"line": 4,
|
|
"column": 41
|
|
},
|
|
"end": {
|
|
"line": 4,
|
|
"column": 42
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "constructor",
|
|
"start": 110,
|
|
"end": 121,
|
|
"loc": {
|
|
"start": {
|
|
"line": 6,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 6,
|
|
"column": 15
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "(",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 121,
|
|
"end": 122,
|
|
"loc": {
|
|
"start": {
|
|
"line": 6,
|
|
"column": 15
|
|
},
|
|
"end": {
|
|
"line": 6,
|
|
"column": 16
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "parent",
|
|
"start": 122,
|
|
"end": 128,
|
|
"loc": {
|
|
"start": {
|
|
"line": 6,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 6,
|
|
"column": 22
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ",",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 128,
|
|
"end": 129,
|
|
"loc": {
|
|
"start": {
|
|
"line": 6,
|
|
"column": 22
|
|
},
|
|
"end": {
|
|
"line": 6,
|
|
"column": 23
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "cfg",
|
|
"start": 130,
|
|
"end": 133,
|
|
"loc": {
|
|
"start": {
|
|
"line": 6,
|
|
"column": 24
|
|
},
|
|
"end": {
|
|
"line": 6,
|
|
"column": 27
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ")",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 133,
|
|
"end": 134,
|
|
"loc": {
|
|
"start": {
|
|
"line": 6,
|
|
"column": 27
|
|
},
|
|
"end": {
|
|
"line": 6,
|
|
"column": 28
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "{",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 135,
|
|
"end": 136,
|
|
"loc": {
|
|
"start": {
|
|
"line": 6,
|
|
"column": 29
|
|
},
|
|
"end": {
|
|
"line": 6,
|
|
"column": 30
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "super",
|
|
"keyword": "super",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "super",
|
|
"start": 146,
|
|
"end": 151,
|
|
"loc": {
|
|
"start": {
|
|
"line": 8,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 8,
|
|
"column": 13
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "(",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 151,
|
|
"end": 152,
|
|
"loc": {
|
|
"start": {
|
|
"line": 8,
|
|
"column": 13
|
|
},
|
|
"end": {
|
|
"line": 8,
|
|
"column": 14
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "parent",
|
|
"start": 152,
|
|
"end": 158,
|
|
"loc": {
|
|
"start": {
|
|
"line": 8,
|
|
"column": 14
|
|
},
|
|
"end": {
|
|
"line": 8,
|
|
"column": 20
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ",",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 158,
|
|
"end": 159,
|
|
"loc": {
|
|
"start": {
|
|
"line": 8,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 8,
|
|
"column": 21
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "cfg",
|
|
"start": 160,
|
|
"end": 163,
|
|
"loc": {
|
|
"start": {
|
|
"line": 8,
|
|
"column": 22
|
|
},
|
|
"end": {
|
|
"line": 8,
|
|
"column": 25
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ")",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 163,
|
|
"end": 164,
|
|
"loc": {
|
|
"start": {
|
|
"line": 8,
|
|
"column": 25
|
|
},
|
|
"end": {
|
|
"line": 8,
|
|
"column": 26
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ";",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 164,
|
|
"end": 165,
|
|
"loc": {
|
|
"start": {
|
|
"line": 8,
|
|
"column": 26
|
|
},
|
|
"end": {
|
|
"line": 8,
|
|
"column": 27
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "if",
|
|
"keyword": "if",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "if",
|
|
"start": 175,
|
|
"end": 177,
|
|
"loc": {
|
|
"start": {
|
|
"line": 10,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 10,
|
|
"column": 10
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "(",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 178,
|
|
"end": 179,
|
|
"loc": {
|
|
"start": {
|
|
"line": 10,
|
|
"column": 11
|
|
},
|
|
"end": {
|
|
"line": 10,
|
|
"column": 12
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "prefix",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": true,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "!",
|
|
"start": 179,
|
|
"end": 180,
|
|
"loc": {
|
|
"start": {
|
|
"line": 10,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 10,
|
|
"column": 13
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "cfg",
|
|
"start": 180,
|
|
"end": 183,
|
|
"loc": {
|
|
"start": {
|
|
"line": 10,
|
|
"column": 13
|
|
},
|
|
"end": {
|
|
"line": 10,
|
|
"column": 16
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 183,
|
|
"end": 184,
|
|
"loc": {
|
|
"start": {
|
|
"line": 10,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 10,
|
|
"column": 17
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "buttonElement",
|
|
"start": 184,
|
|
"end": 197,
|
|
"loc": {
|
|
"start": {
|
|
"line": 10,
|
|
"column": 17
|
|
},
|
|
"end": {
|
|
"line": 10,
|
|
"column": 30
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ")",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 197,
|
|
"end": 198,
|
|
"loc": {
|
|
"start": {
|
|
"line": 10,
|
|
"column": 30
|
|
},
|
|
"end": {
|
|
"line": 10,
|
|
"column": 31
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "{",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 199,
|
|
"end": 200,
|
|
"loc": {
|
|
"start": {
|
|
"line": 10,
|
|
"column": 32
|
|
},
|
|
"end": {
|
|
"line": 10,
|
|
"column": 33
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "throw",
|
|
"keyword": "throw",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "throw",
|
|
"start": 213,
|
|
"end": 218,
|
|
"loc": {
|
|
"start": {
|
|
"line": 11,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 11,
|
|
"column": 17
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "string",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "Missing config: buttonElement",
|
|
"start": 219,
|
|
"end": 250,
|
|
"loc": {
|
|
"start": {
|
|
"line": 11,
|
|
"column": 18
|
|
},
|
|
"end": {
|
|
"line": 11,
|
|
"column": 49
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ";",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 250,
|
|
"end": 251,
|
|
"loc": {
|
|
"start": {
|
|
"line": 11,
|
|
"column": 49
|
|
},
|
|
"end": {
|
|
"line": 11,
|
|
"column": 50
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "}",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 260,
|
|
"end": 261,
|
|
"loc": {
|
|
"start": {
|
|
"line": 12,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 12,
|
|
"column": 9
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "const",
|
|
"keyword": "const",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "const",
|
|
"start": 271,
|
|
"end": 276,
|
|
"loc": {
|
|
"start": {
|
|
"line": 14,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 14,
|
|
"column": 13
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "buttonElement",
|
|
"start": 277,
|
|
"end": 290,
|
|
"loc": {
|
|
"start": {
|
|
"line": 14,
|
|
"column": 14
|
|
},
|
|
"end": {
|
|
"line": 14,
|
|
"column": 27
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "=",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": true,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "=",
|
|
"start": 291,
|
|
"end": 292,
|
|
"loc": {
|
|
"start": {
|
|
"line": 14,
|
|
"column": 28
|
|
},
|
|
"end": {
|
|
"line": 14,
|
|
"column": 29
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "cfg",
|
|
"start": 293,
|
|
"end": 296,
|
|
"loc": {
|
|
"start": {
|
|
"line": 14,
|
|
"column": 30
|
|
},
|
|
"end": {
|
|
"line": 14,
|
|
"column": 33
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 296,
|
|
"end": 297,
|
|
"loc": {
|
|
"start": {
|
|
"line": 14,
|
|
"column": 33
|
|
},
|
|
"end": {
|
|
"line": 14,
|
|
"column": 34
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "buttonElement",
|
|
"start": 297,
|
|
"end": 310,
|
|
"loc": {
|
|
"start": {
|
|
"line": 14,
|
|
"column": 34
|
|
},
|
|
"end": {
|
|
"line": 14,
|
|
"column": 47
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ";",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 310,
|
|
"end": 311,
|
|
"loc": {
|
|
"start": {
|
|
"line": 14,
|
|
"column": 47
|
|
},
|
|
"end": {
|
|
"line": 14,
|
|
"column": 48
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "const",
|
|
"keyword": "const",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "const",
|
|
"start": 320,
|
|
"end": 325,
|
|
"loc": {
|
|
"start": {
|
|
"line": 15,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 15,
|
|
"column": 13
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "cameraControl",
|
|
"start": 326,
|
|
"end": 339,
|
|
"loc": {
|
|
"start": {
|
|
"line": 15,
|
|
"column": 14
|
|
},
|
|
"end": {
|
|
"line": 15,
|
|
"column": 27
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "=",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": true,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "=",
|
|
"start": 340,
|
|
"end": 341,
|
|
"loc": {
|
|
"start": {
|
|
"line": 15,
|
|
"column": 28
|
|
},
|
|
"end": {
|
|
"line": 15,
|
|
"column": 29
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "this",
|
|
"keyword": "this",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "this",
|
|
"start": 342,
|
|
"end": 346,
|
|
"loc": {
|
|
"start": {
|
|
"line": 15,
|
|
"column": 30
|
|
},
|
|
"end": {
|
|
"line": 15,
|
|
"column": 34
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 346,
|
|
"end": 347,
|
|
"loc": {
|
|
"start": {
|
|
"line": 15,
|
|
"column": 34
|
|
},
|
|
"end": {
|
|
"line": 15,
|
|
"column": 35
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "viewer",
|
|
"start": 347,
|
|
"end": 353,
|
|
"loc": {
|
|
"start": {
|
|
"line": 15,
|
|
"column": 35
|
|
},
|
|
"end": {
|
|
"line": 15,
|
|
"column": 41
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 353,
|
|
"end": 354,
|
|
"loc": {
|
|
"start": {
|
|
"line": 15,
|
|
"column": 41
|
|
},
|
|
"end": {
|
|
"line": 15,
|
|
"column": 42
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "cameraControl",
|
|
"start": 354,
|
|
"end": 367,
|
|
"loc": {
|
|
"start": {
|
|
"line": 15,
|
|
"column": 42
|
|
},
|
|
"end": {
|
|
"line": 15,
|
|
"column": 55
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ";",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 367,
|
|
"end": 368,
|
|
"loc": {
|
|
"start": {
|
|
"line": 15,
|
|
"column": 55
|
|
},
|
|
"end": {
|
|
"line": 15,
|
|
"column": 56
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "const",
|
|
"keyword": "const",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "const",
|
|
"start": 377,
|
|
"end": 382,
|
|
"loc": {
|
|
"start": {
|
|
"line": 16,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 16,
|
|
"column": 13
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "cameraControlNavModeMediator",
|
|
"start": 383,
|
|
"end": 411,
|
|
"loc": {
|
|
"start": {
|
|
"line": 16,
|
|
"column": 14
|
|
},
|
|
"end": {
|
|
"line": 16,
|
|
"column": 42
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "=",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": true,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "=",
|
|
"start": 412,
|
|
"end": 413,
|
|
"loc": {
|
|
"start": {
|
|
"line": 16,
|
|
"column": 43
|
|
},
|
|
"end": {
|
|
"line": 16,
|
|
"column": 44
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "cfg",
|
|
"start": 414,
|
|
"end": 417,
|
|
"loc": {
|
|
"start": {
|
|
"line": 16,
|
|
"column": 45
|
|
},
|
|
"end": {
|
|
"line": 16,
|
|
"column": 48
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 417,
|
|
"end": 418,
|
|
"loc": {
|
|
"start": {
|
|
"line": 16,
|
|
"column": 48
|
|
},
|
|
"end": {
|
|
"line": 16,
|
|
"column": 49
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "cameraControlNavModeMediator",
|
|
"start": 418,
|
|
"end": 446,
|
|
"loc": {
|
|
"start": {
|
|
"line": 16,
|
|
"column": 49
|
|
},
|
|
"end": {
|
|
"line": 16,
|
|
"column": 77
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ";",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 446,
|
|
"end": 447,
|
|
"loc": {
|
|
"start": {
|
|
"line": 16,
|
|
"column": 77
|
|
},
|
|
"end": {
|
|
"line": 16,
|
|
"column": 78
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "cameraControl",
|
|
"start": 457,
|
|
"end": 470,
|
|
"loc": {
|
|
"start": {
|
|
"line": 18,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 18,
|
|
"column": 21
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 470,
|
|
"end": 471,
|
|
"loc": {
|
|
"start": {
|
|
"line": 18,
|
|
"column": 21
|
|
},
|
|
"end": {
|
|
"line": 18,
|
|
"column": 22
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "navMode",
|
|
"start": 471,
|
|
"end": 478,
|
|
"loc": {
|
|
"start": {
|
|
"line": 18,
|
|
"column": 22
|
|
},
|
|
"end": {
|
|
"line": 18,
|
|
"column": 29
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "=",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": true,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "=",
|
|
"start": 479,
|
|
"end": 480,
|
|
"loc": {
|
|
"start": {
|
|
"line": 18,
|
|
"column": 30
|
|
},
|
|
"end": {
|
|
"line": 18,
|
|
"column": 31
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "string",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "orbit",
|
|
"start": 481,
|
|
"end": 488,
|
|
"loc": {
|
|
"start": {
|
|
"line": 18,
|
|
"column": 32
|
|
},
|
|
"end": {
|
|
"line": 18,
|
|
"column": 39
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ";",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 488,
|
|
"end": 489,
|
|
"loc": {
|
|
"start": {
|
|
"line": 18,
|
|
"column": 39
|
|
},
|
|
"end": {
|
|
"line": 18,
|
|
"column": 40
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "cameraControl",
|
|
"start": 498,
|
|
"end": 511,
|
|
"loc": {
|
|
"start": {
|
|
"line": 19,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 19,
|
|
"column": 21
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 511,
|
|
"end": 512,
|
|
"loc": {
|
|
"start": {
|
|
"line": 19,
|
|
"column": 21
|
|
},
|
|
"end": {
|
|
"line": 19,
|
|
"column": 22
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "followPointer",
|
|
"start": 512,
|
|
"end": 525,
|
|
"loc": {
|
|
"start": {
|
|
"line": 19,
|
|
"column": 22
|
|
},
|
|
"end": {
|
|
"line": 19,
|
|
"column": 35
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "=",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": true,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "=",
|
|
"start": 526,
|
|
"end": 527,
|
|
"loc": {
|
|
"start": {
|
|
"line": 19,
|
|
"column": 36
|
|
},
|
|
"end": {
|
|
"line": 19,
|
|
"column": 37
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "true",
|
|
"keyword": "true",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "true",
|
|
"start": 528,
|
|
"end": 532,
|
|
"loc": {
|
|
"start": {
|
|
"line": 19,
|
|
"column": 38
|
|
},
|
|
"end": {
|
|
"line": 19,
|
|
"column": 42
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ";",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 532,
|
|
"end": 533,
|
|
"loc": {
|
|
"start": {
|
|
"line": 19,
|
|
"column": 42
|
|
},
|
|
"end": {
|
|
"line": 19,
|
|
"column": 43
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "this",
|
|
"keyword": "this",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "this",
|
|
"start": 543,
|
|
"end": 547,
|
|
"loc": {
|
|
"start": {
|
|
"line": 21,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 21,
|
|
"column": 12
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 547,
|
|
"end": 548,
|
|
"loc": {
|
|
"start": {
|
|
"line": 21,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 21,
|
|
"column": 13
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "on",
|
|
"start": 548,
|
|
"end": 550,
|
|
"loc": {
|
|
"start": {
|
|
"line": 21,
|
|
"column": 13
|
|
},
|
|
"end": {
|
|
"line": 21,
|
|
"column": 15
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "(",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 550,
|
|
"end": 551,
|
|
"loc": {
|
|
"start": {
|
|
"line": 21,
|
|
"column": 15
|
|
},
|
|
"end": {
|
|
"line": 21,
|
|
"column": 16
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "string",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "enabled",
|
|
"start": 551,
|
|
"end": 560,
|
|
"loc": {
|
|
"start": {
|
|
"line": 21,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 21,
|
|
"column": 25
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ",",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 560,
|
|
"end": 561,
|
|
"loc": {
|
|
"start": {
|
|
"line": 21,
|
|
"column": 25
|
|
},
|
|
"end": {
|
|
"line": 21,
|
|
"column": 26
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "(",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 562,
|
|
"end": 563,
|
|
"loc": {
|
|
"start": {
|
|
"line": 21,
|
|
"column": 27
|
|
},
|
|
"end": {
|
|
"line": 21,
|
|
"column": 28
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "enabled",
|
|
"start": 563,
|
|
"end": 570,
|
|
"loc": {
|
|
"start": {
|
|
"line": 21,
|
|
"column": 28
|
|
},
|
|
"end": {
|
|
"line": 21,
|
|
"column": 35
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ")",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 570,
|
|
"end": 571,
|
|
"loc": {
|
|
"start": {
|
|
"line": 21,
|
|
"column": 35
|
|
},
|
|
"end": {
|
|
"line": 21,
|
|
"column": 36
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "=>",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 572,
|
|
"end": 574,
|
|
"loc": {
|
|
"start": {
|
|
"line": 21,
|
|
"column": 37
|
|
},
|
|
"end": {
|
|
"line": 21,
|
|
"column": 39
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "{",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 575,
|
|
"end": 576,
|
|
"loc": {
|
|
"start": {
|
|
"line": 21,
|
|
"column": 40
|
|
},
|
|
"end": {
|
|
"line": 21,
|
|
"column": 41
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "if",
|
|
"keyword": "if",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "if",
|
|
"start": 589,
|
|
"end": 591,
|
|
"loc": {
|
|
"start": {
|
|
"line": 22,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 22,
|
|
"column": 14
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "(",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 592,
|
|
"end": 593,
|
|
"loc": {
|
|
"start": {
|
|
"line": 22,
|
|
"column": 15
|
|
},
|
|
"end": {
|
|
"line": 22,
|
|
"column": 16
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "prefix",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": true,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "!",
|
|
"start": 593,
|
|
"end": 594,
|
|
"loc": {
|
|
"start": {
|
|
"line": 22,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 22,
|
|
"column": 17
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "enabled",
|
|
"start": 594,
|
|
"end": 601,
|
|
"loc": {
|
|
"start": {
|
|
"line": 22,
|
|
"column": 17
|
|
},
|
|
"end": {
|
|
"line": 22,
|
|
"column": 24
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ")",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 601,
|
|
"end": 602,
|
|
"loc": {
|
|
"start": {
|
|
"line": 22,
|
|
"column": 24
|
|
},
|
|
"end": {
|
|
"line": 22,
|
|
"column": 25
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "{",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 603,
|
|
"end": 604,
|
|
"loc": {
|
|
"start": {
|
|
"line": 22,
|
|
"column": 26
|
|
},
|
|
"end": {
|
|
"line": 22,
|
|
"column": 27
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "buttonElement",
|
|
"start": 621,
|
|
"end": 634,
|
|
"loc": {
|
|
"start": {
|
|
"line": 23,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 23,
|
|
"column": 29
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 634,
|
|
"end": 635,
|
|
"loc": {
|
|
"start": {
|
|
"line": 23,
|
|
"column": 29
|
|
},
|
|
"end": {
|
|
"line": 23,
|
|
"column": 30
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "classList",
|
|
"start": 635,
|
|
"end": 644,
|
|
"loc": {
|
|
"start": {
|
|
"line": 23,
|
|
"column": 30
|
|
},
|
|
"end": {
|
|
"line": 23,
|
|
"column": 39
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 644,
|
|
"end": 645,
|
|
"loc": {
|
|
"start": {
|
|
"line": 23,
|
|
"column": 39
|
|
},
|
|
"end": {
|
|
"line": 23,
|
|
"column": 40
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "add",
|
|
"start": 645,
|
|
"end": 648,
|
|
"loc": {
|
|
"start": {
|
|
"line": 23,
|
|
"column": 40
|
|
},
|
|
"end": {
|
|
"line": 23,
|
|
"column": 43
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "(",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 648,
|
|
"end": 649,
|
|
"loc": {
|
|
"start": {
|
|
"line": 23,
|
|
"column": 43
|
|
},
|
|
"end": {
|
|
"line": 23,
|
|
"column": 44
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "string",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "disabled",
|
|
"start": 649,
|
|
"end": 659,
|
|
"loc": {
|
|
"start": {
|
|
"line": 23,
|
|
"column": 44
|
|
},
|
|
"end": {
|
|
"line": 23,
|
|
"column": 54
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ")",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 659,
|
|
"end": 660,
|
|
"loc": {
|
|
"start": {
|
|
"line": 23,
|
|
"column": 54
|
|
},
|
|
"end": {
|
|
"line": 23,
|
|
"column": 55
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ";",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 660,
|
|
"end": 661,
|
|
"loc": {
|
|
"start": {
|
|
"line": 23,
|
|
"column": 55
|
|
},
|
|
"end": {
|
|
"line": 23,
|
|
"column": 56
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "}",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 674,
|
|
"end": 675,
|
|
"loc": {
|
|
"start": {
|
|
"line": 24,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 24,
|
|
"column": 13
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "else",
|
|
"keyword": "else",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "else",
|
|
"start": 676,
|
|
"end": 680,
|
|
"loc": {
|
|
"start": {
|
|
"line": 24,
|
|
"column": 14
|
|
},
|
|
"end": {
|
|
"line": 24,
|
|
"column": 18
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "{",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 681,
|
|
"end": 682,
|
|
"loc": {
|
|
"start": {
|
|
"line": 24,
|
|
"column": 19
|
|
},
|
|
"end": {
|
|
"line": 24,
|
|
"column": 20
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "buttonElement",
|
|
"start": 699,
|
|
"end": 712,
|
|
"loc": {
|
|
"start": {
|
|
"line": 25,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 25,
|
|
"column": 29
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 712,
|
|
"end": 713,
|
|
"loc": {
|
|
"start": {
|
|
"line": 25,
|
|
"column": 29
|
|
},
|
|
"end": {
|
|
"line": 25,
|
|
"column": 30
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "classList",
|
|
"start": 713,
|
|
"end": 722,
|
|
"loc": {
|
|
"start": {
|
|
"line": 25,
|
|
"column": 30
|
|
},
|
|
"end": {
|
|
"line": 25,
|
|
"column": 39
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 722,
|
|
"end": 723,
|
|
"loc": {
|
|
"start": {
|
|
"line": 25,
|
|
"column": 39
|
|
},
|
|
"end": {
|
|
"line": 25,
|
|
"column": 40
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "remove",
|
|
"start": 723,
|
|
"end": 729,
|
|
"loc": {
|
|
"start": {
|
|
"line": 25,
|
|
"column": 40
|
|
},
|
|
"end": {
|
|
"line": 25,
|
|
"column": 46
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "(",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 729,
|
|
"end": 730,
|
|
"loc": {
|
|
"start": {
|
|
"line": 25,
|
|
"column": 46
|
|
},
|
|
"end": {
|
|
"line": 25,
|
|
"column": 47
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "string",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "disabled",
|
|
"start": 730,
|
|
"end": 740,
|
|
"loc": {
|
|
"start": {
|
|
"line": 25,
|
|
"column": 47
|
|
},
|
|
"end": {
|
|
"line": 25,
|
|
"column": 57
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ")",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 740,
|
|
"end": 741,
|
|
"loc": {
|
|
"start": {
|
|
"line": 25,
|
|
"column": 57
|
|
},
|
|
"end": {
|
|
"line": 25,
|
|
"column": 58
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ";",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 741,
|
|
"end": 742,
|
|
"loc": {
|
|
"start": {
|
|
"line": 25,
|
|
"column": 58
|
|
},
|
|
"end": {
|
|
"line": 25,
|
|
"column": 59
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "}",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 755,
|
|
"end": 756,
|
|
"loc": {
|
|
"start": {
|
|
"line": 26,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 26,
|
|
"column": 13
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "}",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 765,
|
|
"end": 766,
|
|
"loc": {
|
|
"start": {
|
|
"line": 27,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 27,
|
|
"column": 9
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ")",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 766,
|
|
"end": 767,
|
|
"loc": {
|
|
"start": {
|
|
"line": 27,
|
|
"column": 9
|
|
},
|
|
"end": {
|
|
"line": 27,
|
|
"column": 10
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ";",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 767,
|
|
"end": 768,
|
|
"loc": {
|
|
"start": {
|
|
"line": 27,
|
|
"column": 10
|
|
},
|
|
"end": {
|
|
"line": 27,
|
|
"column": 11
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "this",
|
|
"keyword": "this",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "this",
|
|
"start": 778,
|
|
"end": 782,
|
|
"loc": {
|
|
"start": {
|
|
"line": 29,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 29,
|
|
"column": 12
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 782,
|
|
"end": 783,
|
|
"loc": {
|
|
"start": {
|
|
"line": 29,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 29,
|
|
"column": 13
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "on",
|
|
"start": 783,
|
|
"end": 785,
|
|
"loc": {
|
|
"start": {
|
|
"line": 29,
|
|
"column": 13
|
|
},
|
|
"end": {
|
|
"line": 29,
|
|
"column": 15
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "(",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 785,
|
|
"end": 786,
|
|
"loc": {
|
|
"start": {
|
|
"line": 29,
|
|
"column": 15
|
|
},
|
|
"end": {
|
|
"line": 29,
|
|
"column": 16
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "string",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "active",
|
|
"start": 786,
|
|
"end": 794,
|
|
"loc": {
|
|
"start": {
|
|
"line": 29,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 29,
|
|
"column": 24
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ",",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 794,
|
|
"end": 795,
|
|
"loc": {
|
|
"start": {
|
|
"line": 29,
|
|
"column": 24
|
|
},
|
|
"end": {
|
|
"line": 29,
|
|
"column": 25
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "(",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 796,
|
|
"end": 797,
|
|
"loc": {
|
|
"start": {
|
|
"line": 29,
|
|
"column": 26
|
|
},
|
|
"end": {
|
|
"line": 29,
|
|
"column": 27
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "active",
|
|
"start": 797,
|
|
"end": 803,
|
|
"loc": {
|
|
"start": {
|
|
"line": 29,
|
|
"column": 27
|
|
},
|
|
"end": {
|
|
"line": 29,
|
|
"column": 33
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ")",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 803,
|
|
"end": 804,
|
|
"loc": {
|
|
"start": {
|
|
"line": 29,
|
|
"column": 33
|
|
},
|
|
"end": {
|
|
"line": 29,
|
|
"column": 34
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "=>",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 805,
|
|
"end": 807,
|
|
"loc": {
|
|
"start": {
|
|
"line": 29,
|
|
"column": 35
|
|
},
|
|
"end": {
|
|
"line": 29,
|
|
"column": 37
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "{",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 808,
|
|
"end": 809,
|
|
"loc": {
|
|
"start": {
|
|
"line": 29,
|
|
"column": 38
|
|
},
|
|
"end": {
|
|
"line": 29,
|
|
"column": 39
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "if",
|
|
"keyword": "if",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "if",
|
|
"start": 822,
|
|
"end": 824,
|
|
"loc": {
|
|
"start": {
|
|
"line": 30,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 30,
|
|
"column": 14
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "(",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 825,
|
|
"end": 826,
|
|
"loc": {
|
|
"start": {
|
|
"line": 30,
|
|
"column": 15
|
|
},
|
|
"end": {
|
|
"line": 30,
|
|
"column": 16
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "active",
|
|
"start": 826,
|
|
"end": 832,
|
|
"loc": {
|
|
"start": {
|
|
"line": 30,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 30,
|
|
"column": 22
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ")",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 832,
|
|
"end": 833,
|
|
"loc": {
|
|
"start": {
|
|
"line": 30,
|
|
"column": 22
|
|
},
|
|
"end": {
|
|
"line": 30,
|
|
"column": 23
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "{",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 834,
|
|
"end": 835,
|
|
"loc": {
|
|
"start": {
|
|
"line": 30,
|
|
"column": 24
|
|
},
|
|
"end": {
|
|
"line": 30,
|
|
"column": 25
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "buttonElement",
|
|
"start": 852,
|
|
"end": 865,
|
|
"loc": {
|
|
"start": {
|
|
"line": 31,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 31,
|
|
"column": 29
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 865,
|
|
"end": 866,
|
|
"loc": {
|
|
"start": {
|
|
"line": 31,
|
|
"column": 29
|
|
},
|
|
"end": {
|
|
"line": 31,
|
|
"column": 30
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "classList",
|
|
"start": 866,
|
|
"end": 875,
|
|
"loc": {
|
|
"start": {
|
|
"line": 31,
|
|
"column": 30
|
|
},
|
|
"end": {
|
|
"line": 31,
|
|
"column": 39
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 875,
|
|
"end": 876,
|
|
"loc": {
|
|
"start": {
|
|
"line": 31,
|
|
"column": 39
|
|
},
|
|
"end": {
|
|
"line": 31,
|
|
"column": 40
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "add",
|
|
"start": 876,
|
|
"end": 879,
|
|
"loc": {
|
|
"start": {
|
|
"line": 31,
|
|
"column": 40
|
|
},
|
|
"end": {
|
|
"line": 31,
|
|
"column": 43
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "(",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 879,
|
|
"end": 880,
|
|
"loc": {
|
|
"start": {
|
|
"line": 31,
|
|
"column": 43
|
|
},
|
|
"end": {
|
|
"line": 31,
|
|
"column": 44
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "string",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "active",
|
|
"start": 880,
|
|
"end": 888,
|
|
"loc": {
|
|
"start": {
|
|
"line": 31,
|
|
"column": 44
|
|
},
|
|
"end": {
|
|
"line": 31,
|
|
"column": 52
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ")",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 888,
|
|
"end": 889,
|
|
"loc": {
|
|
"start": {
|
|
"line": 31,
|
|
"column": 52
|
|
},
|
|
"end": {
|
|
"line": 31,
|
|
"column": 53
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ";",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 889,
|
|
"end": 890,
|
|
"loc": {
|
|
"start": {
|
|
"line": 31,
|
|
"column": 53
|
|
},
|
|
"end": {
|
|
"line": 31,
|
|
"column": 54
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "}",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 903,
|
|
"end": 904,
|
|
"loc": {
|
|
"start": {
|
|
"line": 32,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 32,
|
|
"column": 13
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "else",
|
|
"keyword": "else",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "else",
|
|
"start": 905,
|
|
"end": 909,
|
|
"loc": {
|
|
"start": {
|
|
"line": 32,
|
|
"column": 14
|
|
},
|
|
"end": {
|
|
"line": 32,
|
|
"column": 18
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "{",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 910,
|
|
"end": 911,
|
|
"loc": {
|
|
"start": {
|
|
"line": 32,
|
|
"column": 19
|
|
},
|
|
"end": {
|
|
"line": 32,
|
|
"column": 20
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "buttonElement",
|
|
"start": 928,
|
|
"end": 941,
|
|
"loc": {
|
|
"start": {
|
|
"line": 33,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 33,
|
|
"column": 29
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 941,
|
|
"end": 942,
|
|
"loc": {
|
|
"start": {
|
|
"line": 33,
|
|
"column": 29
|
|
},
|
|
"end": {
|
|
"line": 33,
|
|
"column": 30
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "classList",
|
|
"start": 942,
|
|
"end": 951,
|
|
"loc": {
|
|
"start": {
|
|
"line": 33,
|
|
"column": 30
|
|
},
|
|
"end": {
|
|
"line": 33,
|
|
"column": 39
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 951,
|
|
"end": 952,
|
|
"loc": {
|
|
"start": {
|
|
"line": 33,
|
|
"column": 39
|
|
},
|
|
"end": {
|
|
"line": 33,
|
|
"column": 40
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "remove",
|
|
"start": 952,
|
|
"end": 958,
|
|
"loc": {
|
|
"start": {
|
|
"line": 33,
|
|
"column": 40
|
|
},
|
|
"end": {
|
|
"line": 33,
|
|
"column": 46
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "(",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 958,
|
|
"end": 959,
|
|
"loc": {
|
|
"start": {
|
|
"line": 33,
|
|
"column": 46
|
|
},
|
|
"end": {
|
|
"line": 33,
|
|
"column": 47
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "string",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "active",
|
|
"start": 959,
|
|
"end": 967,
|
|
"loc": {
|
|
"start": {
|
|
"line": 33,
|
|
"column": 47
|
|
},
|
|
"end": {
|
|
"line": 33,
|
|
"column": 55
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ")",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 967,
|
|
"end": 968,
|
|
"loc": {
|
|
"start": {
|
|
"line": 33,
|
|
"column": 55
|
|
},
|
|
"end": {
|
|
"line": 33,
|
|
"column": 56
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ";",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 968,
|
|
"end": 969,
|
|
"loc": {
|
|
"start": {
|
|
"line": 33,
|
|
"column": 56
|
|
},
|
|
"end": {
|
|
"line": 33,
|
|
"column": 57
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "}",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 982,
|
|
"end": 983,
|
|
"loc": {
|
|
"start": {
|
|
"line": 34,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 34,
|
|
"column": 13
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "}",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 992,
|
|
"end": 993,
|
|
"loc": {
|
|
"start": {
|
|
"line": 35,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 35,
|
|
"column": 9
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ")",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 993,
|
|
"end": 994,
|
|
"loc": {
|
|
"start": {
|
|
"line": 35,
|
|
"column": 9
|
|
},
|
|
"end": {
|
|
"line": 35,
|
|
"column": 10
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ";",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 994,
|
|
"end": 995,
|
|
"loc": {
|
|
"start": {
|
|
"line": 35,
|
|
"column": 10
|
|
},
|
|
"end": {
|
|
"line": 35,
|
|
"column": 11
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "this",
|
|
"keyword": "this",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "this",
|
|
"start": 1005,
|
|
"end": 1009,
|
|
"loc": {
|
|
"start": {
|
|
"line": 37,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 37,
|
|
"column": 12
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 1009,
|
|
"end": 1010,
|
|
"loc": {
|
|
"start": {
|
|
"line": 37,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 37,
|
|
"column": 13
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "on",
|
|
"start": 1010,
|
|
"end": 1012,
|
|
"loc": {
|
|
"start": {
|
|
"line": 37,
|
|
"column": 13
|
|
},
|
|
"end": {
|
|
"line": 37,
|
|
"column": 15
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "(",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1012,
|
|
"end": 1013,
|
|
"loc": {
|
|
"start": {
|
|
"line": 37,
|
|
"column": 15
|
|
},
|
|
"end": {
|
|
"line": 37,
|
|
"column": 16
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "string",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "active",
|
|
"start": 1013,
|
|
"end": 1021,
|
|
"loc": {
|
|
"start": {
|
|
"line": 37,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 37,
|
|
"column": 24
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ",",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 1021,
|
|
"end": 1022,
|
|
"loc": {
|
|
"start": {
|
|
"line": 37,
|
|
"column": 24
|
|
},
|
|
"end": {
|
|
"line": 37,
|
|
"column": 25
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "(",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1023,
|
|
"end": 1024,
|
|
"loc": {
|
|
"start": {
|
|
"line": 37,
|
|
"column": 26
|
|
},
|
|
"end": {
|
|
"line": 37,
|
|
"column": 27
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "active",
|
|
"start": 1024,
|
|
"end": 1030,
|
|
"loc": {
|
|
"start": {
|
|
"line": 37,
|
|
"column": 27
|
|
},
|
|
"end": {
|
|
"line": 37,
|
|
"column": 33
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ")",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1030,
|
|
"end": 1031,
|
|
"loc": {
|
|
"start": {
|
|
"line": 37,
|
|
"column": 33
|
|
},
|
|
"end": {
|
|
"line": 37,
|
|
"column": 34
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "=>",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 1032,
|
|
"end": 1034,
|
|
"loc": {
|
|
"start": {
|
|
"line": 37,
|
|
"column": 35
|
|
},
|
|
"end": {
|
|
"line": 37,
|
|
"column": 37
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "{",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1035,
|
|
"end": 1036,
|
|
"loc": {
|
|
"start": {
|
|
"line": 37,
|
|
"column": 38
|
|
},
|
|
"end": {
|
|
"line": 37,
|
|
"column": 39
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "cameraControlNavModeMediator",
|
|
"start": 1049,
|
|
"end": 1077,
|
|
"loc": {
|
|
"start": {
|
|
"line": 38,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 38,
|
|
"column": 40
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 1077,
|
|
"end": 1078,
|
|
"loc": {
|
|
"start": {
|
|
"line": 38,
|
|
"column": 40
|
|
},
|
|
"end": {
|
|
"line": 38,
|
|
"column": 41
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "setFirstPersonModeActive",
|
|
"start": 1078,
|
|
"end": 1102,
|
|
"loc": {
|
|
"start": {
|
|
"line": 38,
|
|
"column": 41
|
|
},
|
|
"end": {
|
|
"line": 38,
|
|
"column": 65
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "(",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1102,
|
|
"end": 1103,
|
|
"loc": {
|
|
"start": {
|
|
"line": 38,
|
|
"column": 65
|
|
},
|
|
"end": {
|
|
"line": 38,
|
|
"column": 66
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "active",
|
|
"start": 1103,
|
|
"end": 1109,
|
|
"loc": {
|
|
"start": {
|
|
"line": 38,
|
|
"column": 66
|
|
},
|
|
"end": {
|
|
"line": 38,
|
|
"column": 72
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ")",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1109,
|
|
"end": 1110,
|
|
"loc": {
|
|
"start": {
|
|
"line": 38,
|
|
"column": 72
|
|
},
|
|
"end": {
|
|
"line": 38,
|
|
"column": 73
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ";",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 1110,
|
|
"end": 1111,
|
|
"loc": {
|
|
"start": {
|
|
"line": 38,
|
|
"column": 73
|
|
},
|
|
"end": {
|
|
"line": 38,
|
|
"column": 74
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "if",
|
|
"keyword": "if",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "if",
|
|
"start": 1124,
|
|
"end": 1126,
|
|
"loc": {
|
|
"start": {
|
|
"line": 39,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 39,
|
|
"column": 14
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "(",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1127,
|
|
"end": 1128,
|
|
"loc": {
|
|
"start": {
|
|
"line": 39,
|
|
"column": 15
|
|
},
|
|
"end": {
|
|
"line": 39,
|
|
"column": 16
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "active",
|
|
"start": 1128,
|
|
"end": 1134,
|
|
"loc": {
|
|
"start": {
|
|
"line": 39,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 39,
|
|
"column": 22
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ")",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1134,
|
|
"end": 1135,
|
|
"loc": {
|
|
"start": {
|
|
"line": 39,
|
|
"column": 22
|
|
},
|
|
"end": {
|
|
"line": 39,
|
|
"column": 23
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "{",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1136,
|
|
"end": 1137,
|
|
"loc": {
|
|
"start": {
|
|
"line": 39,
|
|
"column": 24
|
|
},
|
|
"end": {
|
|
"line": 39,
|
|
"column": 25
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "cameraControl",
|
|
"start": 1154,
|
|
"end": 1167,
|
|
"loc": {
|
|
"start": {
|
|
"line": 40,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 40,
|
|
"column": 29
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 1167,
|
|
"end": 1168,
|
|
"loc": {
|
|
"start": {
|
|
"line": 40,
|
|
"column": 29
|
|
},
|
|
"end": {
|
|
"line": 40,
|
|
"column": 30
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "followPointer",
|
|
"start": 1168,
|
|
"end": 1181,
|
|
"loc": {
|
|
"start": {
|
|
"line": 40,
|
|
"column": 30
|
|
},
|
|
"end": {
|
|
"line": 40,
|
|
"column": 43
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "=",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": true,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "=",
|
|
"start": 1182,
|
|
"end": 1183,
|
|
"loc": {
|
|
"start": {
|
|
"line": 40,
|
|
"column": 44
|
|
},
|
|
"end": {
|
|
"line": 40,
|
|
"column": 45
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "true",
|
|
"keyword": "true",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "true",
|
|
"start": 1184,
|
|
"end": 1188,
|
|
"loc": {
|
|
"start": {
|
|
"line": 40,
|
|
"column": 46
|
|
},
|
|
"end": {
|
|
"line": 40,
|
|
"column": 50
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ";",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 1188,
|
|
"end": 1189,
|
|
"loc": {
|
|
"start": {
|
|
"line": 40,
|
|
"column": 50
|
|
},
|
|
"end": {
|
|
"line": 40,
|
|
"column": 51
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "cameraControl",
|
|
"start": 1206,
|
|
"end": 1219,
|
|
"loc": {
|
|
"start": {
|
|
"line": 41,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 41,
|
|
"column": 29
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 1219,
|
|
"end": 1220,
|
|
"loc": {
|
|
"start": {
|
|
"line": 41,
|
|
"column": 29
|
|
},
|
|
"end": {
|
|
"line": 41,
|
|
"column": 30
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "pivoting",
|
|
"start": 1220,
|
|
"end": 1228,
|
|
"loc": {
|
|
"start": {
|
|
"line": 41,
|
|
"column": 30
|
|
},
|
|
"end": {
|
|
"line": 41,
|
|
"column": 38
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "=",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": true,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "=",
|
|
"start": 1229,
|
|
"end": 1230,
|
|
"loc": {
|
|
"start": {
|
|
"line": 41,
|
|
"column": 39
|
|
},
|
|
"end": {
|
|
"line": 41,
|
|
"column": 40
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "false",
|
|
"keyword": "false",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "false",
|
|
"start": 1231,
|
|
"end": 1236,
|
|
"loc": {
|
|
"start": {
|
|
"line": 41,
|
|
"column": 41
|
|
},
|
|
"end": {
|
|
"line": 41,
|
|
"column": 46
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ";",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 1236,
|
|
"end": 1237,
|
|
"loc": {
|
|
"start": {
|
|
"line": 41,
|
|
"column": 46
|
|
},
|
|
"end": {
|
|
"line": 41,
|
|
"column": 47
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "}",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1250,
|
|
"end": 1251,
|
|
"loc": {
|
|
"start": {
|
|
"line": 42,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 42,
|
|
"column": 13
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "else",
|
|
"keyword": "else",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "else",
|
|
"start": 1252,
|
|
"end": 1256,
|
|
"loc": {
|
|
"start": {
|
|
"line": 42,
|
|
"column": 14
|
|
},
|
|
"end": {
|
|
"line": 42,
|
|
"column": 18
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "{",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1257,
|
|
"end": 1258,
|
|
"loc": {
|
|
"start": {
|
|
"line": 42,
|
|
"column": 19
|
|
},
|
|
"end": {
|
|
"line": 42,
|
|
"column": 20
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "cameraControl",
|
|
"start": 1275,
|
|
"end": 1288,
|
|
"loc": {
|
|
"start": {
|
|
"line": 43,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 43,
|
|
"column": 29
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 1288,
|
|
"end": 1289,
|
|
"loc": {
|
|
"start": {
|
|
"line": 43,
|
|
"column": 29
|
|
},
|
|
"end": {
|
|
"line": 43,
|
|
"column": 30
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "pivoting",
|
|
"start": 1289,
|
|
"end": 1297,
|
|
"loc": {
|
|
"start": {
|
|
"line": 43,
|
|
"column": 30
|
|
},
|
|
"end": {
|
|
"line": 43,
|
|
"column": 38
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "=",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": true,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "=",
|
|
"start": 1298,
|
|
"end": 1299,
|
|
"loc": {
|
|
"start": {
|
|
"line": 43,
|
|
"column": 39
|
|
},
|
|
"end": {
|
|
"line": 43,
|
|
"column": 40
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "true",
|
|
"keyword": "true",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "true",
|
|
"start": 1300,
|
|
"end": 1304,
|
|
"loc": {
|
|
"start": {
|
|
"line": 43,
|
|
"column": 41
|
|
},
|
|
"end": {
|
|
"line": 43,
|
|
"column": 45
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ";",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 1304,
|
|
"end": 1305,
|
|
"loc": {
|
|
"start": {
|
|
"line": 43,
|
|
"column": 45
|
|
},
|
|
"end": {
|
|
"line": 43,
|
|
"column": 46
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "}",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1318,
|
|
"end": 1319,
|
|
"loc": {
|
|
"start": {
|
|
"line": 44,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 44,
|
|
"column": 13
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "}",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1328,
|
|
"end": 1329,
|
|
"loc": {
|
|
"start": {
|
|
"line": 45,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 45,
|
|
"column": 9
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ")",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1329,
|
|
"end": 1330,
|
|
"loc": {
|
|
"start": {
|
|
"line": 45,
|
|
"column": 9
|
|
},
|
|
"end": {
|
|
"line": 45,
|
|
"column": 10
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ";",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 1330,
|
|
"end": 1331,
|
|
"loc": {
|
|
"start": {
|
|
"line": 45,
|
|
"column": 10
|
|
},
|
|
"end": {
|
|
"line": 45,
|
|
"column": 11
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "buttonElement",
|
|
"start": 1341,
|
|
"end": 1354,
|
|
"loc": {
|
|
"start": {
|
|
"line": 47,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 47,
|
|
"column": 21
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 1354,
|
|
"end": 1355,
|
|
"loc": {
|
|
"start": {
|
|
"line": 47,
|
|
"column": 21
|
|
},
|
|
"end": {
|
|
"line": 47,
|
|
"column": 22
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "addEventListener",
|
|
"start": 1355,
|
|
"end": 1371,
|
|
"loc": {
|
|
"start": {
|
|
"line": 47,
|
|
"column": 22
|
|
},
|
|
"end": {
|
|
"line": 47,
|
|
"column": 38
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "(",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1371,
|
|
"end": 1372,
|
|
"loc": {
|
|
"start": {
|
|
"line": 47,
|
|
"column": 38
|
|
},
|
|
"end": {
|
|
"line": 47,
|
|
"column": 39
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "string",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "click",
|
|
"start": 1372,
|
|
"end": 1379,
|
|
"loc": {
|
|
"start": {
|
|
"line": 47,
|
|
"column": 39
|
|
},
|
|
"end": {
|
|
"line": 47,
|
|
"column": 46
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ",",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 1379,
|
|
"end": 1380,
|
|
"loc": {
|
|
"start": {
|
|
"line": 47,
|
|
"column": 46
|
|
},
|
|
"end": {
|
|
"line": 47,
|
|
"column": 47
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "(",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1381,
|
|
"end": 1382,
|
|
"loc": {
|
|
"start": {
|
|
"line": 47,
|
|
"column": 48
|
|
},
|
|
"end": {
|
|
"line": 47,
|
|
"column": 49
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "event",
|
|
"start": 1382,
|
|
"end": 1387,
|
|
"loc": {
|
|
"start": {
|
|
"line": 47,
|
|
"column": 49
|
|
},
|
|
"end": {
|
|
"line": 47,
|
|
"column": 54
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ")",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1387,
|
|
"end": 1388,
|
|
"loc": {
|
|
"start": {
|
|
"line": 47,
|
|
"column": 54
|
|
},
|
|
"end": {
|
|
"line": 47,
|
|
"column": 55
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "=>",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 1389,
|
|
"end": 1391,
|
|
"loc": {
|
|
"start": {
|
|
"line": 47,
|
|
"column": 56
|
|
},
|
|
"end": {
|
|
"line": 47,
|
|
"column": 58
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "{",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1392,
|
|
"end": 1393,
|
|
"loc": {
|
|
"start": {
|
|
"line": 47,
|
|
"column": 59
|
|
},
|
|
"end": {
|
|
"line": 47,
|
|
"column": 60
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "if",
|
|
"keyword": "if",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "if",
|
|
"start": 1406,
|
|
"end": 1408,
|
|
"loc": {
|
|
"start": {
|
|
"line": 48,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 48,
|
|
"column": 14
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "(",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1409,
|
|
"end": 1410,
|
|
"loc": {
|
|
"start": {
|
|
"line": 48,
|
|
"column": 15
|
|
},
|
|
"end": {
|
|
"line": 48,
|
|
"column": 16
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "this",
|
|
"keyword": "this",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "this",
|
|
"start": 1410,
|
|
"end": 1414,
|
|
"loc": {
|
|
"start": {
|
|
"line": 48,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 48,
|
|
"column": 20
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 1414,
|
|
"end": 1415,
|
|
"loc": {
|
|
"start": {
|
|
"line": 48,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 48,
|
|
"column": 21
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "getEnabled",
|
|
"start": 1415,
|
|
"end": 1425,
|
|
"loc": {
|
|
"start": {
|
|
"line": 48,
|
|
"column": 21
|
|
},
|
|
"end": {
|
|
"line": 48,
|
|
"column": 31
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "(",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1425,
|
|
"end": 1426,
|
|
"loc": {
|
|
"start": {
|
|
"line": 48,
|
|
"column": 31
|
|
},
|
|
"end": {
|
|
"line": 48,
|
|
"column": 32
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ")",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1426,
|
|
"end": 1427,
|
|
"loc": {
|
|
"start": {
|
|
"line": 48,
|
|
"column": 32
|
|
},
|
|
"end": {
|
|
"line": 48,
|
|
"column": 33
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ")",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1427,
|
|
"end": 1428,
|
|
"loc": {
|
|
"start": {
|
|
"line": 48,
|
|
"column": 33
|
|
},
|
|
"end": {
|
|
"line": 48,
|
|
"column": 34
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "{",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1429,
|
|
"end": 1430,
|
|
"loc": {
|
|
"start": {
|
|
"line": 48,
|
|
"column": 35
|
|
},
|
|
"end": {
|
|
"line": 48,
|
|
"column": 36
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "const",
|
|
"keyword": "const",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "const",
|
|
"start": 1447,
|
|
"end": 1452,
|
|
"loc": {
|
|
"start": {
|
|
"line": 49,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 49,
|
|
"column": 21
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "active",
|
|
"start": 1453,
|
|
"end": 1459,
|
|
"loc": {
|
|
"start": {
|
|
"line": 49,
|
|
"column": 22
|
|
},
|
|
"end": {
|
|
"line": 49,
|
|
"column": 28
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "=",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": true,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "=",
|
|
"start": 1460,
|
|
"end": 1461,
|
|
"loc": {
|
|
"start": {
|
|
"line": 49,
|
|
"column": 29
|
|
},
|
|
"end": {
|
|
"line": 49,
|
|
"column": 30
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "this",
|
|
"keyword": "this",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "this",
|
|
"start": 1462,
|
|
"end": 1466,
|
|
"loc": {
|
|
"start": {
|
|
"line": 49,
|
|
"column": 31
|
|
},
|
|
"end": {
|
|
"line": 49,
|
|
"column": 35
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 1466,
|
|
"end": 1467,
|
|
"loc": {
|
|
"start": {
|
|
"line": 49,
|
|
"column": 35
|
|
},
|
|
"end": {
|
|
"line": 49,
|
|
"column": 36
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "getActive",
|
|
"start": 1467,
|
|
"end": 1476,
|
|
"loc": {
|
|
"start": {
|
|
"line": 49,
|
|
"column": 36
|
|
},
|
|
"end": {
|
|
"line": 49,
|
|
"column": 45
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "(",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1476,
|
|
"end": 1477,
|
|
"loc": {
|
|
"start": {
|
|
"line": 49,
|
|
"column": 45
|
|
},
|
|
"end": {
|
|
"line": 49,
|
|
"column": 46
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ")",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1477,
|
|
"end": 1478,
|
|
"loc": {
|
|
"start": {
|
|
"line": 49,
|
|
"column": 46
|
|
},
|
|
"end": {
|
|
"line": 49,
|
|
"column": 47
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ";",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 1478,
|
|
"end": 1479,
|
|
"loc": {
|
|
"start": {
|
|
"line": 49,
|
|
"column": 47
|
|
},
|
|
"end": {
|
|
"line": 49,
|
|
"column": 48
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "this",
|
|
"keyword": "this",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "this",
|
|
"start": 1496,
|
|
"end": 1500,
|
|
"loc": {
|
|
"start": {
|
|
"line": 50,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 50,
|
|
"column": 20
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 1500,
|
|
"end": 1501,
|
|
"loc": {
|
|
"start": {
|
|
"line": 50,
|
|
"column": 20
|
|
},
|
|
"end": {
|
|
"line": 50,
|
|
"column": 21
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "setActive",
|
|
"start": 1501,
|
|
"end": 1510,
|
|
"loc": {
|
|
"start": {
|
|
"line": 50,
|
|
"column": 21
|
|
},
|
|
"end": {
|
|
"line": 50,
|
|
"column": 30
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "(",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1510,
|
|
"end": 1511,
|
|
"loc": {
|
|
"start": {
|
|
"line": 50,
|
|
"column": 30
|
|
},
|
|
"end": {
|
|
"line": 50,
|
|
"column": 31
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "prefix",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": true,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "!",
|
|
"start": 1511,
|
|
"end": 1512,
|
|
"loc": {
|
|
"start": {
|
|
"line": 50,
|
|
"column": 31
|
|
},
|
|
"end": {
|
|
"line": 50,
|
|
"column": 32
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "active",
|
|
"start": 1512,
|
|
"end": 1518,
|
|
"loc": {
|
|
"start": {
|
|
"line": 50,
|
|
"column": 32
|
|
},
|
|
"end": {
|
|
"line": 50,
|
|
"column": 38
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ")",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1518,
|
|
"end": 1519,
|
|
"loc": {
|
|
"start": {
|
|
"line": 50,
|
|
"column": 38
|
|
},
|
|
"end": {
|
|
"line": 50,
|
|
"column": 39
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ";",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 1519,
|
|
"end": 1520,
|
|
"loc": {
|
|
"start": {
|
|
"line": 50,
|
|
"column": 39
|
|
},
|
|
"end": {
|
|
"line": 50,
|
|
"column": 40
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "}",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1533,
|
|
"end": 1534,
|
|
"loc": {
|
|
"start": {
|
|
"line": 51,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 51,
|
|
"column": 13
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "event",
|
|
"start": 1547,
|
|
"end": 1552,
|
|
"loc": {
|
|
"start": {
|
|
"line": 52,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 52,
|
|
"column": 17
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 1552,
|
|
"end": 1553,
|
|
"loc": {
|
|
"start": {
|
|
"line": 52,
|
|
"column": 17
|
|
},
|
|
"end": {
|
|
"line": 52,
|
|
"column": 18
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "preventDefault",
|
|
"start": 1553,
|
|
"end": 1567,
|
|
"loc": {
|
|
"start": {
|
|
"line": 52,
|
|
"column": 18
|
|
},
|
|
"end": {
|
|
"line": 52,
|
|
"column": 32
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "(",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1567,
|
|
"end": 1568,
|
|
"loc": {
|
|
"start": {
|
|
"line": 52,
|
|
"column": 32
|
|
},
|
|
"end": {
|
|
"line": 52,
|
|
"column": 33
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ")",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1568,
|
|
"end": 1569,
|
|
"loc": {
|
|
"start": {
|
|
"line": 52,
|
|
"column": 33
|
|
},
|
|
"end": {
|
|
"line": 52,
|
|
"column": 34
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ";",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 1569,
|
|
"end": 1570,
|
|
"loc": {
|
|
"start": {
|
|
"line": 52,
|
|
"column": 34
|
|
},
|
|
"end": {
|
|
"line": 52,
|
|
"column": 35
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "}",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1579,
|
|
"end": 1580,
|
|
"loc": {
|
|
"start": {
|
|
"line": 53,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 53,
|
|
"column": 9
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ")",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1580,
|
|
"end": 1581,
|
|
"loc": {
|
|
"start": {
|
|
"line": 53,
|
|
"column": 9
|
|
},
|
|
"end": {
|
|
"line": 53,
|
|
"column": 10
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ";",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 1581,
|
|
"end": 1582,
|
|
"loc": {
|
|
"start": {
|
|
"line": 53,
|
|
"column": 10
|
|
},
|
|
"end": {
|
|
"line": 53,
|
|
"column": 11
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "this",
|
|
"keyword": "this",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "this",
|
|
"start": 1592,
|
|
"end": 1596,
|
|
"loc": {
|
|
"start": {
|
|
"line": 55,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 55,
|
|
"column": 12
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 1596,
|
|
"end": 1597,
|
|
"loc": {
|
|
"start": {
|
|
"line": 55,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 55,
|
|
"column": 13
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "bimViewer",
|
|
"start": 1597,
|
|
"end": 1606,
|
|
"loc": {
|
|
"start": {
|
|
"line": 55,
|
|
"column": 13
|
|
},
|
|
"end": {
|
|
"line": 55,
|
|
"column": 22
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 1606,
|
|
"end": 1607,
|
|
"loc": {
|
|
"start": {
|
|
"line": 55,
|
|
"column": 22
|
|
},
|
|
"end": {
|
|
"line": 55,
|
|
"column": 23
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "on",
|
|
"start": 1607,
|
|
"end": 1609,
|
|
"loc": {
|
|
"start": {
|
|
"line": 55,
|
|
"column": 23
|
|
},
|
|
"end": {
|
|
"line": 55,
|
|
"column": 25
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "(",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1609,
|
|
"end": 1610,
|
|
"loc": {
|
|
"start": {
|
|
"line": 55,
|
|
"column": 25
|
|
},
|
|
"end": {
|
|
"line": 55,
|
|
"column": 26
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "string",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "reset",
|
|
"start": 1610,
|
|
"end": 1617,
|
|
"loc": {
|
|
"start": {
|
|
"line": 55,
|
|
"column": 26
|
|
},
|
|
"end": {
|
|
"line": 55,
|
|
"column": 33
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ",",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 1617,
|
|
"end": 1618,
|
|
"loc": {
|
|
"start": {
|
|
"line": 55,
|
|
"column": 33
|
|
},
|
|
"end": {
|
|
"line": 55,
|
|
"column": 34
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "(",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1619,
|
|
"end": 1620,
|
|
"loc": {
|
|
"start": {
|
|
"line": 55,
|
|
"column": 35
|
|
},
|
|
"end": {
|
|
"line": 55,
|
|
"column": 36
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ")",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1620,
|
|
"end": 1621,
|
|
"loc": {
|
|
"start": {
|
|
"line": 55,
|
|
"column": 36
|
|
},
|
|
"end": {
|
|
"line": 55,
|
|
"column": 37
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "=>",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 1621,
|
|
"end": 1623,
|
|
"loc": {
|
|
"start": {
|
|
"line": 55,
|
|
"column": 37
|
|
},
|
|
"end": {
|
|
"line": 55,
|
|
"column": 39
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "{",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1623,
|
|
"end": 1624,
|
|
"loc": {
|
|
"start": {
|
|
"line": 55,
|
|
"column": 39
|
|
},
|
|
"end": {
|
|
"line": 55,
|
|
"column": 40
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "this",
|
|
"keyword": "this",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "this",
|
|
"start": 1637,
|
|
"end": 1641,
|
|
"loc": {
|
|
"start": {
|
|
"line": 56,
|
|
"column": 12
|
|
},
|
|
"end": {
|
|
"line": 56,
|
|
"column": 16
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ".",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 1641,
|
|
"end": 1642,
|
|
"loc": {
|
|
"start": {
|
|
"line": 56,
|
|
"column": 16
|
|
},
|
|
"end": {
|
|
"line": 56,
|
|
"column": 17
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "setActive",
|
|
"start": 1642,
|
|
"end": 1651,
|
|
"loc": {
|
|
"start": {
|
|
"line": 56,
|
|
"column": 17
|
|
},
|
|
"end": {
|
|
"line": 56,
|
|
"column": 26
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "(",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1651,
|
|
"end": 1652,
|
|
"loc": {
|
|
"start": {
|
|
"line": 56,
|
|
"column": 26
|
|
},
|
|
"end": {
|
|
"line": 56,
|
|
"column": 27
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "false",
|
|
"keyword": "false",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "false",
|
|
"start": 1652,
|
|
"end": 1657,
|
|
"loc": {
|
|
"start": {
|
|
"line": 56,
|
|
"column": 27
|
|
},
|
|
"end": {
|
|
"line": 56,
|
|
"column": 32
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ")",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1657,
|
|
"end": 1658,
|
|
"loc": {
|
|
"start": {
|
|
"line": 56,
|
|
"column": 32
|
|
},
|
|
"end": {
|
|
"line": 56,
|
|
"column": 33
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ";",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 1658,
|
|
"end": 1659,
|
|
"loc": {
|
|
"start": {
|
|
"line": 56,
|
|
"column": 33
|
|
},
|
|
"end": {
|
|
"line": 56,
|
|
"column": 34
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "}",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1668,
|
|
"end": 1669,
|
|
"loc": {
|
|
"start": {
|
|
"line": 57,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 57,
|
|
"column": 9
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ")",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1669,
|
|
"end": 1670,
|
|
"loc": {
|
|
"start": {
|
|
"line": 57,
|
|
"column": 9
|
|
},
|
|
"end": {
|
|
"line": 57,
|
|
"column": 10
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ";",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 1670,
|
|
"end": 1671,
|
|
"loc": {
|
|
"start": {
|
|
"line": 57,
|
|
"column": 10
|
|
},
|
|
"end": {
|
|
"line": 57,
|
|
"column": 11
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "}",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1676,
|
|
"end": 1677,
|
|
"loc": {
|
|
"start": {
|
|
"line": 58,
|
|
"column": 4
|
|
},
|
|
"end": {
|
|
"line": 58,
|
|
"column": 5
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "}",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1678,
|
|
"end": 1679,
|
|
"loc": {
|
|
"start": {
|
|
"line": 59,
|
|
"column": 0
|
|
},
|
|
"end": {
|
|
"line": 59,
|
|
"column": 1
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "export",
|
|
"keyword": "export",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"value": "export",
|
|
"start": 1681,
|
|
"end": 1687,
|
|
"loc": {
|
|
"start": {
|
|
"line": 61,
|
|
"column": 0
|
|
},
|
|
"end": {
|
|
"line": 61,
|
|
"column": 6
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "{",
|
|
"beforeExpr": true,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1688,
|
|
"end": 1689,
|
|
"loc": {
|
|
"start": {
|
|
"line": 61,
|
|
"column": 7
|
|
},
|
|
"end": {
|
|
"line": 61,
|
|
"column": 8
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "name",
|
|
"beforeExpr": false,
|
|
"startsExpr": true,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"value": "FirstPersonMode",
|
|
"start": 1689,
|
|
"end": 1704,
|
|
"loc": {
|
|
"start": {
|
|
"line": 61,
|
|
"column": 8
|
|
},
|
|
"end": {
|
|
"line": 61,
|
|
"column": 23
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "}",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null
|
|
},
|
|
"start": 1704,
|
|
"end": 1705,
|
|
"loc": {
|
|
"start": {
|
|
"line": 61,
|
|
"column": 23
|
|
},
|
|
"end": {
|
|
"line": 61,
|
|
"column": 24
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": ";",
|
|
"beforeExpr": true,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 1705,
|
|
"end": 1706,
|
|
"loc": {
|
|
"start": {
|
|
"line": 61,
|
|
"column": 24
|
|
},
|
|
"end": {
|
|
"line": 61,
|
|
"column": 25
|
|
}
|
|
}
|
|
},
|
|
{
|
|
"type": {
|
|
"label": "eof",
|
|
"beforeExpr": false,
|
|
"startsExpr": false,
|
|
"rightAssociative": false,
|
|
"isLoop": false,
|
|
"isAssign": false,
|
|
"prefix": false,
|
|
"postfix": false,
|
|
"binop": null,
|
|
"updateContext": null
|
|
},
|
|
"start": 1706,
|
|
"end": 1706,
|
|
"loc": {
|
|
"start": {
|
|
"line": 61,
|
|
"column": 25
|
|
},
|
|
"end": {
|
|
"line": 61,
|
|
"column": 25
|
|
}
|
|
}
|
|
}
|
|
]
|
|
} |