NODEDC_BIM_VIEWER/docs/ast/source/toolbar/SelectMode.js.json

28104 lines
879 KiB
JSON

{
"type": "File",
"start": 0,
"end": 2930,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 103,
"column": 20
}
},
"program": {
"type": "Program",
"start": 0,
"end": 2930,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 103,
"column": 20
}
},
"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"
}
},
{
"type": "ImportDeclaration",
"start": 45,
"end": 115,
"loc": {
"start": {
"line": 2,
"column": 0
},
"end": {
"line": 2,
"column": 70
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 53,
"end": 57,
"loc": {
"start": {
"line": 2,
"column": 8
},
"end": {
"line": 2,
"column": 12
}
},
"imported": {
"type": "Identifier",
"start": 53,
"end": 57,
"loc": {
"start": {
"line": 2,
"column": 8
},
"end": {
"line": 2,
"column": 12
},
"identifierName": "math"
},
"name": "math"
},
"local": {
"type": "Identifier",
"start": 53,
"end": 57,
"loc": {
"start": {
"line": 2,
"column": 8
},
"end": {
"line": 2,
"column": 12
},
"identifierName": "math"
},
"name": "math"
}
}
],
"source": {
"type": "StringLiteral",
"start": 64,
"end": 114,
"loc": {
"start": {
"line": 2,
"column": 19
},
"end": {
"line": 2,
"column": 69
}
},
"extra": {
"rawValue": "@xeokit/xeokit-sdk/src/viewer/scene/math/math.js",
"raw": "\"@xeokit/xeokit-sdk/src/viewer/scene/math/math.js\""
},
"value": "@xeokit/xeokit-sdk/src/viewer/scene/math/math.js"
}
},
{
"type": "FunctionDeclaration",
"start": 118,
"end": 254,
"loc": {
"start": {
"line": 5,
"column": 0
},
"end": {
"line": 8,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 127,
"end": 138,
"loc": {
"start": {
"line": 5,
"column": 9
},
"end": {
"line": 5,
"column": 20
},
"identifierName": "closeEnough"
},
"name": "closeEnough"
},
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 139,
"end": 140,
"loc": {
"start": {
"line": 5,
"column": 21
},
"end": {
"line": 5,
"column": 22
},
"identifierName": "p"
},
"name": "p"
},
{
"type": "Identifier",
"start": 142,
"end": 143,
"loc": {
"start": {
"line": 5,
"column": 24
},
"end": {
"line": 5,
"column": 25
},
"identifierName": "q"
},
"name": "q"
}
],
"body": {
"type": "BlockStatement",
"start": 145,
"end": 254,
"loc": {
"start": {
"line": 5,
"column": 27
},
"end": {
"line": 8,
"column": 1
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 151,
"end": 172,
"loc": {
"start": {
"line": 6,
"column": 4
},
"end": {
"line": 6,
"column": 25
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 157,
"end": 171,
"loc": {
"start": {
"line": 6,
"column": 10
},
"end": {
"line": 6,
"column": 24
}
},
"id": {
"type": "Identifier",
"start": 157,
"end": 167,
"loc": {
"start": {
"line": 6,
"column": 10
},
"end": {
"line": 6,
"column": 20
},
"identifierName": "CLICK_DIST"
},
"name": "CLICK_DIST"
},
"init": {
"type": "NumericLiteral",
"start": 170,
"end": 171,
"loc": {
"start": {
"line": 6,
"column": 23
},
"end": {
"line": 6,
"column": 24
}
},
"extra": {
"rawValue": 4,
"raw": "4"
},
"value": 4
}
}
],
"kind": "const"
},
{
"type": "ReturnStatement",
"start": 177,
"end": 252,
"loc": {
"start": {
"line": 7,
"column": 4
},
"end": {
"line": 7,
"column": 79
}
},
"argument": {
"type": "LogicalExpression",
"start": 184,
"end": 251,
"loc": {
"start": {
"line": 7,
"column": 11
},
"end": {
"line": 7,
"column": 78
}
},
"left": {
"type": "BinaryExpression",
"start": 185,
"end": 210,
"loc": {
"start": {
"line": 7,
"column": 12
},
"end": {
"line": 7,
"column": 37
}
},
"left": {
"type": "CallExpression",
"start": 185,
"end": 206,
"loc": {
"start": {
"line": 7,
"column": 12
},
"end": {
"line": 7,
"column": 33
}
},
"callee": {
"type": "MemberExpression",
"start": 185,
"end": 193,
"loc": {
"start": {
"line": 7,
"column": 12
},
"end": {
"line": 7,
"column": 20
}
},
"object": {
"type": "Identifier",
"start": 185,
"end": 189,
"loc": {
"start": {
"line": 7,
"column": 12
},
"end": {
"line": 7,
"column": 16
},
"identifierName": "Math"
},
"name": "Math"
},
"property": {
"type": "Identifier",
"start": 190,
"end": 193,
"loc": {
"start": {
"line": 7,
"column": 17
},
"end": {
"line": 7,
"column": 20
},
"identifierName": "abs"
},
"name": "abs"
},
"computed": false
},
"arguments": [
{
"type": "BinaryExpression",
"start": 194,
"end": 205,
"loc": {
"start": {
"line": 7,
"column": 21
},
"end": {
"line": 7,
"column": 32
}
},
"left": {
"type": "MemberExpression",
"start": 194,
"end": 198,
"loc": {
"start": {
"line": 7,
"column": 21
},
"end": {
"line": 7,
"column": 25
}
},
"object": {
"type": "Identifier",
"start": 194,
"end": 195,
"loc": {
"start": {
"line": 7,
"column": 21
},
"end": {
"line": 7,
"column": 22
},
"identifierName": "p"
},
"name": "p"
},
"property": {
"type": "NumericLiteral",
"start": 196,
"end": 197,
"loc": {
"start": {
"line": 7,
"column": 23
},
"end": {
"line": 7,
"column": 24
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
},
"computed": true
},
"operator": "-",
"right": {
"type": "MemberExpression",
"start": 201,
"end": 205,
"loc": {
"start": {
"line": 7,
"column": 28
},
"end": {
"line": 7,
"column": 32
}
},
"object": {
"type": "Identifier",
"start": 201,
"end": 202,
"loc": {
"start": {
"line": 7,
"column": 28
},
"end": {
"line": 7,
"column": 29
},
"identifierName": "q"
},
"name": "q"
},
"property": {
"type": "NumericLiteral",
"start": 203,
"end": 204,
"loc": {
"start": {
"line": 7,
"column": 30
},
"end": {
"line": 7,
"column": 31
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
},
"computed": true
}
}
]
},
"operator": "<",
"right": {
"type": "NumericLiteral",
"start": 209,
"end": 210,
"loc": {
"start": {
"line": 7,
"column": 36
},
"end": {
"line": 7,
"column": 37
}
},
"extra": {
"rawValue": 4,
"raw": "4"
},
"value": 4
},
"extra": {
"parenthesized": true,
"parenStart": 184
}
},
"operator": "&&",
"right": {
"type": "BinaryExpression",
"start": 216,
"end": 250,
"loc": {
"start": {
"line": 7,
"column": 43
},
"end": {
"line": 7,
"column": 77
}
},
"left": {
"type": "CallExpression",
"start": 216,
"end": 237,
"loc": {
"start": {
"line": 7,
"column": 43
},
"end": {
"line": 7,
"column": 64
}
},
"callee": {
"type": "MemberExpression",
"start": 216,
"end": 224,
"loc": {
"start": {
"line": 7,
"column": 43
},
"end": {
"line": 7,
"column": 51
}
},
"object": {
"type": "Identifier",
"start": 216,
"end": 220,
"loc": {
"start": {
"line": 7,
"column": 43
},
"end": {
"line": 7,
"column": 47
},
"identifierName": "Math"
},
"name": "Math"
},
"property": {
"type": "Identifier",
"start": 221,
"end": 224,
"loc": {
"start": {
"line": 7,
"column": 48
},
"end": {
"line": 7,
"column": 51
},
"identifierName": "abs"
},
"name": "abs"
},
"computed": false
},
"arguments": [
{
"type": "BinaryExpression",
"start": 225,
"end": 236,
"loc": {
"start": {
"line": 7,
"column": 52
},
"end": {
"line": 7,
"column": 63
}
},
"left": {
"type": "MemberExpression",
"start": 225,
"end": 229,
"loc": {
"start": {
"line": 7,
"column": 52
},
"end": {
"line": 7,
"column": 56
}
},
"object": {
"type": "Identifier",
"start": 225,
"end": 226,
"loc": {
"start": {
"line": 7,
"column": 52
},
"end": {
"line": 7,
"column": 53
},
"identifierName": "p"
},
"name": "p"
},
"property": {
"type": "NumericLiteral",
"start": 227,
"end": 228,
"loc": {
"start": {
"line": 7,
"column": 54
},
"end": {
"line": 7,
"column": 55
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
},
"computed": true
},
"operator": "-",
"right": {
"type": "MemberExpression",
"start": 232,
"end": 236,
"loc": {
"start": {
"line": 7,
"column": 59
},
"end": {
"line": 7,
"column": 63
}
},
"object": {
"type": "Identifier",
"start": 232,
"end": 233,
"loc": {
"start": {
"line": 7,
"column": 59
},
"end": {
"line": 7,
"column": 60
},
"identifierName": "q"
},
"name": "q"
},
"property": {
"type": "NumericLiteral",
"start": 234,
"end": 235,
"loc": {
"start": {
"line": 7,
"column": 61
},
"end": {
"line": 7,
"column": 62
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
},
"computed": true
}
}
]
},
"operator": "<",
"right": {
"type": "Identifier",
"start": 240,
"end": 250,
"loc": {
"start": {
"line": 7,
"column": 67
},
"end": {
"line": 7,
"column": 77
},
"identifierName": "CLICK_DIST"
},
"name": "CLICK_DIST"
},
"extra": {
"parenthesized": true,
"parenStart": 215
}
}
}
}
],
"directives": [],
"trailingComments": null
},
"trailingComments": [
{
"type": "CommentBlock",
"value": "* @private ",
"start": 256,
"end": 271,
"loc": {
"start": {
"line": 10,
"column": 0
},
"end": {
"line": 10,
"column": 15
}
}
}
]
},
{
"type": "Identifier",
"start": 272,
"end": 2908,
"loc": {
"start": {
"line": 11,
"column": 0
},
"end": {
"line": 101,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 278,
"end": 288,
"loc": {
"start": {
"line": 11,
"column": 6
},
"end": {
"line": 11,
"column": 16
},
"identifierName": "SelectMode"
},
"name": "SelectMode",
"leadingComments": null
},
"superClass": {
"type": "Identifier",
"start": 297,
"end": 307,
"loc": {
"start": {
"line": 11,
"column": 25
},
"end": {
"line": 11,
"column": 35
},
"identifierName": "Controller"
},
"name": "Controller"
},
"body": {
"type": "ClassBody",
"start": 308,
"end": 2908,
"loc": {
"start": {
"line": 11,
"column": 36
},
"end": {
"line": 101,
"column": 1
}
},
"body": [
{
"type": "ClassMethod",
"start": 315,
"end": 1371,
"loc": {
"start": {
"line": 13,
"column": 4
},
"end": {
"line": 53,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 315,
"end": 326,
"loc": {
"start": {
"line": 13,
"column": 4
},
"end": {
"line": 13,
"column": 15
},
"identifierName": "constructor"
},
"name": "constructor"
},
"kind": "constructor",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 327,
"end": 333,
"loc": {
"start": {
"line": 13,
"column": 16
},
"end": {
"line": 13,
"column": 22
},
"identifierName": "parent"
},
"name": "parent"
},
{
"type": "Identifier",
"start": 335,
"end": 338,
"loc": {
"start": {
"line": 13,
"column": 24
},
"end": {
"line": 13,
"column": 27
},
"identifierName": "cfg"
},
"name": "cfg"
}
],
"body": {
"type": "BlockStatement",
"start": 340,
"end": 1371,
"loc": {
"start": {
"line": 13,
"column": 29
},
"end": {
"line": 53,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 351,
"end": 365,
"loc": {
"start": {
"line": 15,
"column": 8
},
"end": {
"line": 15,
"column": 22
}
},
"expression": {
"type": "CallExpression",
"start": 351,
"end": 364,
"loc": {
"start": {
"line": 15,
"column": 8
},
"end": {
"line": 15,
"column": 21
}
},
"callee": {
"type": "Super",
"start": 351,
"end": 356,
"loc": {
"start": {
"line": 15,
"column": 8
},
"end": {
"line": 15,
"column": 13
}
}
},
"arguments": [
{
"type": "Identifier",
"start": 357,
"end": 363,
"loc": {
"start": {
"line": 15,
"column": 14
},
"end": {
"line": 15,
"column": 20
},
"identifierName": "parent"
},
"name": "parent"
}
]
}
},
{
"type": "IfStatement",
"start": 375,
"end": 461,
"loc": {
"start": {
"line": 17,
"column": 8
},
"end": {
"line": 19,
"column": 9
}
},
"test": {
"type": "UnaryExpression",
"start": 379,
"end": 397,
"loc": {
"start": {
"line": 17,
"column": 12
},
"end": {
"line": 17,
"column": 30
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "MemberExpression",
"start": 380,
"end": 397,
"loc": {
"start": {
"line": 17,
"column": 13
},
"end": {
"line": 17,
"column": 30
}
},
"object": {
"type": "Identifier",
"start": 380,
"end": 383,
"loc": {
"start": {
"line": 17,
"column": 13
},
"end": {
"line": 17,
"column": 16
},
"identifierName": "cfg"
},
"name": "cfg"
},
"property": {
"type": "Identifier",
"start": 384,
"end": 397,
"loc": {
"start": {
"line": 17,
"column": 17
},
"end": {
"line": 17,
"column": 30
},
"identifierName": "buttonElement"
},
"name": "buttonElement"
},
"computed": false
},
"extra": {
"parenthesizedArgument": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 399,
"end": 461,
"loc": {
"start": {
"line": 17,
"column": 32
},
"end": {
"line": 19,
"column": 9
}
},
"body": [
{
"type": "ThrowStatement",
"start": 413,
"end": 451,
"loc": {
"start": {
"line": 18,
"column": 12
},
"end": {
"line": 18,
"column": 50
}
},
"argument": {
"type": "StringLiteral",
"start": 419,
"end": 450,
"loc": {
"start": {
"line": 18,
"column": 18
},
"end": {
"line": 18,
"column": 49
}
},
"extra": {
"rawValue": "Missing config: buttonElement",
"raw": "\"Missing config: buttonElement\""
},
"value": "Missing config: buttonElement"
}
}
],
"directives": []
},
"alternate": null
},
{
"type": "VariableDeclaration",
"start": 471,
"end": 511,
"loc": {
"start": {
"line": 21,
"column": 8
},
"end": {
"line": 21,
"column": 48
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 477,
"end": 510,
"loc": {
"start": {
"line": 21,
"column": 14
},
"end": {
"line": 21,
"column": 47
}
},
"id": {
"type": "Identifier",
"start": 477,
"end": 490,
"loc": {
"start": {
"line": 21,
"column": 14
},
"end": {
"line": 21,
"column": 27
},
"identifierName": "buttonElement"
},
"name": "buttonElement"
},
"init": {
"type": "MemberExpression",
"start": 493,
"end": 510,
"loc": {
"start": {
"line": 21,
"column": 30
},
"end": {
"line": 21,
"column": 47
}
},
"object": {
"type": "Identifier",
"start": 493,
"end": 496,
"loc": {
"start": {
"line": 21,
"column": 30
},
"end": {
"line": 21,
"column": 33
},
"identifierName": "cfg"
},
"name": "cfg"
},
"property": {
"type": "Identifier",
"start": 497,
"end": 510,
"loc": {
"start": {
"line": 21,
"column": 34
},
"end": {
"line": 21,
"column": 47
},
"identifierName": "buttonElement"
},
"name": "buttonElement"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "ExpressionStatement",
"start": 521,
"end": 746,
"loc": {
"start": {
"line": 23,
"column": 8
},
"end": {
"line": 29,
"column": 11
}
},
"expression": {
"type": "CallExpression",
"start": 521,
"end": 745,
"loc": {
"start": {
"line": 23,
"column": 8
},
"end": {
"line": 29,
"column": 10
}
},
"callee": {
"type": "MemberExpression",
"start": 521,
"end": 528,
"loc": {
"start": {
"line": 23,
"column": 8
},
"end": {
"line": 23,
"column": 15
}
},
"object": {
"type": "ThisExpression",
"start": 521,
"end": 525,
"loc": {
"start": {
"line": 23,
"column": 8
},
"end": {
"line": 23,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 526,
"end": 528,
"loc": {
"start": {
"line": 23,
"column": 13
},
"end": {
"line": 23,
"column": 15
},
"identifierName": "on"
},
"name": "on"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 529,
"end": 538,
"loc": {
"start": {
"line": 23,
"column": 16
},
"end": {
"line": 23,
"column": 25
}
},
"extra": {
"rawValue": "enabled",
"raw": "\"enabled\""
},
"value": "enabled"
},
{
"type": "ArrowFunctionExpression",
"start": 540,
"end": 744,
"loc": {
"start": {
"line": 23,
"column": 27
},
"end": {
"line": 29,
"column": 9
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 541,
"end": 548,
"loc": {
"start": {
"line": 23,
"column": 28
},
"end": {
"line": 23,
"column": 35
},
"identifierName": "enabled"
},
"name": "enabled"
}
],
"body": {
"type": "BlockStatement",
"start": 553,
"end": 744,
"loc": {
"start": {
"line": 23,
"column": 40
},
"end": {
"line": 29,
"column": 9
}
},
"body": [
{
"type": "IfStatement",
"start": 567,
"end": 734,
"loc": {
"start": {
"line": 24,
"column": 12
},
"end": {
"line": 28,
"column": 13
}
},
"test": {
"type": "UnaryExpression",
"start": 571,
"end": 579,
"loc": {
"start": {
"line": 24,
"column": 16
},
"end": {
"line": 24,
"column": 24
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 572,
"end": 579,
"loc": {
"start": {
"line": 24,
"column": 17
},
"end": {
"line": 24,
"column": 24
},
"identifierName": "enabled"
},
"name": "enabled"
},
"extra": {
"parenthesizedArgument": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 581,
"end": 653,
"loc": {
"start": {
"line": 24,
"column": 26
},
"end": {
"line": 26,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 599,
"end": 639,
"loc": {
"start": {
"line": 25,
"column": 16
},
"end": {
"line": 25,
"column": 56
}
},
"expression": {
"type": "CallExpression",
"start": 599,
"end": 638,
"loc": {
"start": {
"line": 25,
"column": 16
},
"end": {
"line": 25,
"column": 55
}
},
"callee": {
"type": "MemberExpression",
"start": 599,
"end": 626,
"loc": {
"start": {
"line": 25,
"column": 16
},
"end": {
"line": 25,
"column": 43
}
},
"object": {
"type": "MemberExpression",
"start": 599,
"end": 622,
"loc": {
"start": {
"line": 25,
"column": 16
},
"end": {
"line": 25,
"column": 39
}
},
"object": {
"type": "Identifier",
"start": 599,
"end": 612,
"loc": {
"start": {
"line": 25,
"column": 16
},
"end": {
"line": 25,
"column": 29
},
"identifierName": "buttonElement"
},
"name": "buttonElement"
},
"property": {
"type": "Identifier",
"start": 613,
"end": 622,
"loc": {
"start": {
"line": 25,
"column": 30
},
"end": {
"line": 25,
"column": 39
},
"identifierName": "classList"
},
"name": "classList"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 623,
"end": 626,
"loc": {
"start": {
"line": 25,
"column": 40
},
"end": {
"line": 25,
"column": 43
},
"identifierName": "add"
},
"name": "add"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 627,
"end": 637,
"loc": {
"start": {
"line": 25,
"column": 44
},
"end": {
"line": 25,
"column": 54
}
},
"extra": {
"rawValue": "disabled",
"raw": "\"disabled\""
},
"value": "disabled"
}
]
}
}
],
"directives": []
},
"alternate": {
"type": "BlockStatement",
"start": 659,
"end": 734,
"loc": {
"start": {
"line": 26,
"column": 19
},
"end": {
"line": 28,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 677,
"end": 720,
"loc": {
"start": {
"line": 27,
"column": 16
},
"end": {
"line": 27,
"column": 59
}
},
"expression": {
"type": "CallExpression",
"start": 677,
"end": 719,
"loc": {
"start": {
"line": 27,
"column": 16
},
"end": {
"line": 27,
"column": 58
}
},
"callee": {
"type": "MemberExpression",
"start": 677,
"end": 707,
"loc": {
"start": {
"line": 27,
"column": 16
},
"end": {
"line": 27,
"column": 46
}
},
"object": {
"type": "MemberExpression",
"start": 677,
"end": 700,
"loc": {
"start": {
"line": 27,
"column": 16
},
"end": {
"line": 27,
"column": 39
}
},
"object": {
"type": "Identifier",
"start": 677,
"end": 690,
"loc": {
"start": {
"line": 27,
"column": 16
},
"end": {
"line": 27,
"column": 29
},
"identifierName": "buttonElement"
},
"name": "buttonElement"
},
"property": {
"type": "Identifier",
"start": 691,
"end": 700,
"loc": {
"start": {
"line": 27,
"column": 30
},
"end": {
"line": 27,
"column": 39
},
"identifierName": "classList"
},
"name": "classList"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 701,
"end": 707,
"loc": {
"start": {
"line": 27,
"column": 40
},
"end": {
"line": 27,
"column": 46
},
"identifierName": "remove"
},
"name": "remove"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 708,
"end": 718,
"loc": {
"start": {
"line": 27,
"column": 47
},
"end": {
"line": 27,
"column": 57
}
},
"extra": {
"rawValue": "disabled",
"raw": "\"disabled\""
},
"value": "disabled"
}
]
}
}
],
"directives": []
}
}
],
"directives": []
}
}
]
}
},
{
"type": "ExpressionStatement",
"start": 756,
"end": 973,
"loc": {
"start": {
"line": 31,
"column": 8
},
"end": {
"line": 37,
"column": 11
}
},
"expression": {
"type": "CallExpression",
"start": 756,
"end": 972,
"loc": {
"start": {
"line": 31,
"column": 8
},
"end": {
"line": 37,
"column": 10
}
},
"callee": {
"type": "MemberExpression",
"start": 756,
"end": 763,
"loc": {
"start": {
"line": 31,
"column": 8
},
"end": {
"line": 31,
"column": 15
}
},
"object": {
"type": "ThisExpression",
"start": 756,
"end": 760,
"loc": {
"start": {
"line": 31,
"column": 8
},
"end": {
"line": 31,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 761,
"end": 763,
"loc": {
"start": {
"line": 31,
"column": 13
},
"end": {
"line": 31,
"column": 15
},
"identifierName": "on"
},
"name": "on"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 764,
"end": 772,
"loc": {
"start": {
"line": 31,
"column": 16
},
"end": {
"line": 31,
"column": 24
}
},
"extra": {
"rawValue": "active",
"raw": "\"active\""
},
"value": "active"
},
{
"type": "ArrowFunctionExpression",
"start": 774,
"end": 971,
"loc": {
"start": {
"line": 31,
"column": 26
},
"end": {
"line": 37,
"column": 9
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 775,
"end": 781,
"loc": {
"start": {
"line": 31,
"column": 27
},
"end": {
"line": 31,
"column": 33
},
"identifierName": "active"
},
"name": "active"
}
],
"body": {
"type": "BlockStatement",
"start": 786,
"end": 971,
"loc": {
"start": {
"line": 31,
"column": 38
},
"end": {
"line": 37,
"column": 9
}
},
"body": [
{
"type": "IfStatement",
"start": 800,
"end": 961,
"loc": {
"start": {
"line": 32,
"column": 12
},
"end": {
"line": 36,
"column": 13
}
},
"test": {
"type": "Identifier",
"start": 804,
"end": 810,
"loc": {
"start": {
"line": 32,
"column": 16
},
"end": {
"line": 32,
"column": 22
},
"identifierName": "active"
},
"name": "active"
},
"consequent": {
"type": "BlockStatement",
"start": 812,
"end": 882,
"loc": {
"start": {
"line": 32,
"column": 24
},
"end": {
"line": 34,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 830,
"end": 868,
"loc": {
"start": {
"line": 33,
"column": 16
},
"end": {
"line": 33,
"column": 54
}
},
"expression": {
"type": "CallExpression",
"start": 830,
"end": 867,
"loc": {
"start": {
"line": 33,
"column": 16
},
"end": {
"line": 33,
"column": 53
}
},
"callee": {
"type": "MemberExpression",
"start": 830,
"end": 857,
"loc": {
"start": {
"line": 33,
"column": 16
},
"end": {
"line": 33,
"column": 43
}
},
"object": {
"type": "MemberExpression",
"start": 830,
"end": 853,
"loc": {
"start": {
"line": 33,
"column": 16
},
"end": {
"line": 33,
"column": 39
}
},
"object": {
"type": "Identifier",
"start": 830,
"end": 843,
"loc": {
"start": {
"line": 33,
"column": 16
},
"end": {
"line": 33,
"column": 29
},
"identifierName": "buttonElement"
},
"name": "buttonElement"
},
"property": {
"type": "Identifier",
"start": 844,
"end": 853,
"loc": {
"start": {
"line": 33,
"column": 30
},
"end": {
"line": 33,
"column": 39
},
"identifierName": "classList"
},
"name": "classList"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 854,
"end": 857,
"loc": {
"start": {
"line": 33,
"column": 40
},
"end": {
"line": 33,
"column": 43
},
"identifierName": "add"
},
"name": "add"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 858,
"end": 866,
"loc": {
"start": {
"line": 33,
"column": 44
},
"end": {
"line": 33,
"column": 52
}
},
"extra": {
"rawValue": "active",
"raw": "\"active\""
},
"value": "active"
}
]
}
}
],
"directives": []
},
"alternate": {
"type": "BlockStatement",
"start": 888,
"end": 961,
"loc": {
"start": {
"line": 34,
"column": 19
},
"end": {
"line": 36,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 906,
"end": 947,
"loc": {
"start": {
"line": 35,
"column": 16
},
"end": {
"line": 35,
"column": 57
}
},
"expression": {
"type": "CallExpression",
"start": 906,
"end": 946,
"loc": {
"start": {
"line": 35,
"column": 16
},
"end": {
"line": 35,
"column": 56
}
},
"callee": {
"type": "MemberExpression",
"start": 906,
"end": 936,
"loc": {
"start": {
"line": 35,
"column": 16
},
"end": {
"line": 35,
"column": 46
}
},
"object": {
"type": "MemberExpression",
"start": 906,
"end": 929,
"loc": {
"start": {
"line": 35,
"column": 16
},
"end": {
"line": 35,
"column": 39
}
},
"object": {
"type": "Identifier",
"start": 906,
"end": 919,
"loc": {
"start": {
"line": 35,
"column": 16
},
"end": {
"line": 35,
"column": 29
},
"identifierName": "buttonElement"
},
"name": "buttonElement"
},
"property": {
"type": "Identifier",
"start": 920,
"end": 929,
"loc": {
"start": {
"line": 35,
"column": 30
},
"end": {
"line": 35,
"column": 39
},
"identifierName": "classList"
},
"name": "classList"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 930,
"end": 936,
"loc": {
"start": {
"line": 35,
"column": 40
},
"end": {
"line": 35,
"column": 46
},
"identifierName": "remove"
},
"name": "remove"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 937,
"end": 945,
"loc": {
"start": {
"line": 35,
"column": 47
},
"end": {
"line": 35,
"column": 55
}
},
"extra": {
"rawValue": "active",
"raw": "\"active\""
},
"value": "active"
}
]
}
}
],
"directives": []
}
}
],
"directives": []
}
}
]
}
},
{
"type": "ExpressionStatement",
"start": 983,
"end": 1241,
"loc": {
"start": {
"line": 39,
"column": 8
},
"end": {
"line": 46,
"column": 11
}
},
"expression": {
"type": "CallExpression",
"start": 983,
"end": 1240,
"loc": {
"start": {
"line": 39,
"column": 8
},
"end": {
"line": 46,
"column": 10
}
},
"callee": {
"type": "MemberExpression",
"start": 983,
"end": 1013,
"loc": {
"start": {
"line": 39,
"column": 8
},
"end": {
"line": 39,
"column": 38
}
},
"object": {
"type": "Identifier",
"start": 983,
"end": 996,
"loc": {
"start": {
"line": 39,
"column": 8
},
"end": {
"line": 39,
"column": 21
},
"identifierName": "buttonElement"
},
"name": "buttonElement"
},
"property": {
"type": "Identifier",
"start": 997,
"end": 1013,
"loc": {
"start": {
"line": 39,
"column": 22
},
"end": {
"line": 39,
"column": 38
},
"identifierName": "addEventListener"
},
"name": "addEventListener"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 1014,
"end": 1021,
"loc": {
"start": {
"line": 39,
"column": 39
},
"end": {
"line": 39,
"column": 46
}
},
"extra": {
"rawValue": "click",
"raw": "\"click\""
},
"value": "click"
},
{
"type": "ArrowFunctionExpression",
"start": 1023,
"end": 1239,
"loc": {
"start": {
"line": 39,
"column": 48
},
"end": {
"line": 46,
"column": 9
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 1024,
"end": 1029,
"loc": {
"start": {
"line": 39,
"column": 49
},
"end": {
"line": 39,
"column": 54
},
"identifierName": "event"
},
"name": "event"
}
],
"body": {
"type": "BlockStatement",
"start": 1034,
"end": 1239,
"loc": {
"start": {
"line": 39,
"column": 59
},
"end": {
"line": 46,
"column": 9
}
},
"body": [
{
"type": "IfStatement",
"start": 1048,
"end": 1111,
"loc": {
"start": {
"line": 40,
"column": 12
},
"end": {
"line": 42,
"column": 13
}
},
"test": {
"type": "UnaryExpression",
"start": 1052,
"end": 1070,
"loc": {
"start": {
"line": 40,
"column": 16
},
"end": {
"line": 40,
"column": 34
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "CallExpression",
"start": 1053,
"end": 1070,
"loc": {
"start": {
"line": 40,
"column": 17
},
"end": {
"line": 40,
"column": 34
}
},
"callee": {
"type": "MemberExpression",
"start": 1053,
"end": 1068,
"loc": {
"start": {
"line": 40,
"column": 17
},
"end": {
"line": 40,
"column": 32
}
},
"object": {
"type": "ThisExpression",
"start": 1053,
"end": 1057,
"loc": {
"start": {
"line": 40,
"column": 17
},
"end": {
"line": 40,
"column": 21
}
}
},
"property": {
"type": "Identifier",
"start": 1058,
"end": 1068,
"loc": {
"start": {
"line": 40,
"column": 22
},
"end": {
"line": 40,
"column": 32
},
"identifierName": "getEnabled"
},
"name": "getEnabled"
},
"computed": false
},
"arguments": []
},
"extra": {
"parenthesizedArgument": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 1072,
"end": 1111,
"loc": {
"start": {
"line": 40,
"column": 36
},
"end": {
"line": 42,
"column": 13
}
},
"body": [
{
"type": "ReturnStatement",
"start": 1090,
"end": 1097,
"loc": {
"start": {
"line": 41,
"column": 16
},
"end": {
"line": 41,
"column": 23
}
},
"argument": null
}
],
"directives": []
},
"alternate": null
},
{
"type": "VariableDeclaration",
"start": 1124,
"end": 1156,
"loc": {
"start": {
"line": 43,
"column": 12
},
"end": {
"line": 43,
"column": 44
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1130,
"end": 1155,
"loc": {
"start": {
"line": 43,
"column": 18
},
"end": {
"line": 43,
"column": 43
}
},
"id": {
"type": "Identifier",
"start": 1130,
"end": 1136,
"loc": {
"start": {
"line": 43,
"column": 18
},
"end": {
"line": 43,
"column": 24
},
"identifierName": "active"
},
"name": "active"
},
"init": {
"type": "CallExpression",
"start": 1139,
"end": 1155,
"loc": {
"start": {
"line": 43,
"column": 27
},
"end": {
"line": 43,
"column": 43
}
},
"callee": {
"type": "MemberExpression",
"start": 1139,
"end": 1153,
"loc": {
"start": {
"line": 43,
"column": 27
},
"end": {
"line": 43,
"column": 41
}
},
"object": {
"type": "ThisExpression",
"start": 1139,
"end": 1143,
"loc": {
"start": {
"line": 43,
"column": 27
},
"end": {
"line": 43,
"column": 31
}
}
},
"property": {
"type": "Identifier",
"start": 1144,
"end": 1153,
"loc": {
"start": {
"line": 43,
"column": 32
},
"end": {
"line": 43,
"column": 41
},
"identifierName": "getActive"
},
"name": "getActive"
},
"computed": false
},
"arguments": []
}
}
],
"kind": "const"
},
{
"type": "ExpressionStatement",
"start": 1169,
"end": 1193,
"loc": {
"start": {
"line": 44,
"column": 12
},
"end": {
"line": 44,
"column": 36
}
},
"expression": {
"type": "CallExpression",
"start": 1169,
"end": 1192,
"loc": {
"start": {
"line": 44,
"column": 12
},
"end": {
"line": 44,
"column": 35
}
},
"callee": {
"type": "MemberExpression",
"start": 1169,
"end": 1183,
"loc": {
"start": {
"line": 44,
"column": 12
},
"end": {
"line": 44,
"column": 26
}
},
"object": {
"type": "ThisExpression",
"start": 1169,
"end": 1173,
"loc": {
"start": {
"line": 44,
"column": 12
},
"end": {
"line": 44,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 1174,
"end": 1183,
"loc": {
"start": {
"line": 44,
"column": 17
},
"end": {
"line": 44,
"column": 26
},
"identifierName": "setActive"
},
"name": "setActive"
},
"computed": false
},
"arguments": [
{
"type": "UnaryExpression",
"start": 1184,
"end": 1191,
"loc": {
"start": {
"line": 44,
"column": 27
},
"end": {
"line": 44,
"column": 34
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 1185,
"end": 1191,
"loc": {
"start": {
"line": 44,
"column": 28
},
"end": {
"line": 44,
"column": 34
},
"identifierName": "active"
},
"name": "active"
},
"extra": {
"parenthesizedArgument": false
}
}
]
}
},
{
"type": "ExpressionStatement",
"start": 1206,
"end": 1229,
"loc": {
"start": {
"line": 45,
"column": 12
},
"end": {
"line": 45,
"column": 35
}
},
"expression": {
"type": "CallExpression",
"start": 1206,
"end": 1228,
"loc": {
"start": {
"line": 45,
"column": 12
},
"end": {
"line": 45,
"column": 34
}
},
"callee": {
"type": "MemberExpression",
"start": 1206,
"end": 1226,
"loc": {
"start": {
"line": 45,
"column": 12
},
"end": {
"line": 45,
"column": 32
}
},
"object": {
"type": "Identifier",
"start": 1206,
"end": 1211,
"loc": {
"start": {
"line": 45,
"column": 12
},
"end": {
"line": 45,
"column": 17
},
"identifierName": "event"
},
"name": "event"
},
"property": {
"type": "Identifier",
"start": 1212,
"end": 1226,
"loc": {
"start": {
"line": 45,
"column": 18
},
"end": {
"line": 45,
"column": 32
},
"identifierName": "preventDefault"
},
"name": "preventDefault"
},
"computed": false
},
"arguments": []
}
}
],
"directives": []
}
}
]
}
},
{
"type": "ExpressionStatement",
"start": 1251,
"end": 1331,
"loc": {
"start": {
"line": 48,
"column": 8
},
"end": {
"line": 50,
"column": 11
}
},
"expression": {
"type": "CallExpression",
"start": 1251,
"end": 1330,
"loc": {
"start": {
"line": 48,
"column": 8
},
"end": {
"line": 50,
"column": 10
}
},
"callee": {
"type": "MemberExpression",
"start": 1251,
"end": 1267,
"loc": {
"start": {
"line": 48,
"column": 8
},
"end": {
"line": 48,
"column": 24
}
},
"object": {
"type": "MemberExpression",
"start": 1251,
"end": 1264,
"loc": {
"start": {
"line": 48,
"column": 8
},
"end": {
"line": 48,
"column": 21
}
},
"object": {
"type": "ThisExpression",
"start": 1251,
"end": 1255,
"loc": {
"start": {
"line": 48,
"column": 8
},
"end": {
"line": 48,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 1256,
"end": 1264,
"loc": {
"start": {
"line": 48,
"column": 13
},
"end": {
"line": 48,
"column": 21
},
"identifierName": "viewerUI"
},
"name": "viewerUI"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1265,
"end": 1267,
"loc": {
"start": {
"line": 48,
"column": 22
},
"end": {
"line": 48,
"column": 24
},
"identifierName": "on"
},
"name": "on"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 1268,
"end": 1275,
"loc": {
"start": {
"line": 48,
"column": 25
},
"end": {
"line": 48,
"column": 32
}
},
"extra": {
"rawValue": "reset",
"raw": "\"reset\""
},
"value": "reset"
},
{
"type": "ArrowFunctionExpression",
"start": 1277,
"end": 1329,
"loc": {
"start": {
"line": 48,
"column": 34
},
"end": {
"line": 50,
"column": 9
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 1283,
"end": 1329,
"loc": {
"start": {
"line": 48,
"column": 40
},
"end": {
"line": 50,
"column": 9
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 1297,
"end": 1319,
"loc": {
"start": {
"line": 49,
"column": 12
},
"end": {
"line": 49,
"column": 34
}
},
"expression": {
"type": "CallExpression",
"start": 1297,
"end": 1318,
"loc": {
"start": {
"line": 49,
"column": 12
},
"end": {
"line": 49,
"column": 33
}
},
"callee": {
"type": "MemberExpression",
"start": 1297,
"end": 1311,
"loc": {
"start": {
"line": 49,
"column": 12
},
"end": {
"line": 49,
"column": 26
}
},
"object": {
"type": "ThisExpression",
"start": 1297,
"end": 1301,
"loc": {
"start": {
"line": 49,
"column": 12
},
"end": {
"line": 49,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 1302,
"end": 1311,
"loc": {
"start": {
"line": 49,
"column": 17
},
"end": {
"line": 49,
"column": 26
},
"identifierName": "setActive"
},
"name": "setActive"
},
"computed": false
},
"arguments": [
{
"type": "BooleanLiteral",
"start": 1312,
"end": 1317,
"loc": {
"start": {
"line": 49,
"column": 27
},
"end": {
"line": 49,
"column": 32
}
},
"value": false
}
]
}
}
],
"directives": []
}
}
]
}
},
{
"type": "ExpressionStatement",
"start": 1341,
"end": 1365,
"loc": {
"start": {
"line": 52,
"column": 8
},
"end": {
"line": 52,
"column": 32
}
},
"expression": {
"type": "CallExpression",
"start": 1341,
"end": 1364,
"loc": {
"start": {
"line": 52,
"column": 8
},
"end": {
"line": 52,
"column": 31
}
},
"callee": {
"type": "MemberExpression",
"start": 1341,
"end": 1362,
"loc": {
"start": {
"line": 52,
"column": 8
},
"end": {
"line": 52,
"column": 29
}
},
"object": {
"type": "ThisExpression",
"start": 1341,
"end": 1345,
"loc": {
"start": {
"line": 52,
"column": 8
},
"end": {
"line": 52,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 1346,
"end": 1362,
"loc": {
"start": {
"line": 52,
"column": 13
},
"end": {
"line": 52,
"column": 29
},
"identifierName": "_initSectionMode"
},
"name": "_initSectionMode"
},
"computed": false
},
"arguments": []
}
}
],
"directives": []
}
},
{
"type": "ClassMethod",
"start": 1377,
"end": 2906,
"loc": {
"start": {
"line": 55,
"column": 4
},
"end": {
"line": 100,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1377,
"end": 1393,
"loc": {
"start": {
"line": 55,
"column": 4
},
"end": {
"line": 55,
"column": 20
},
"identifierName": "_initSectionMode"
},
"name": "_initSectionMode"
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 1396,
"end": 2906,
"loc": {
"start": {
"line": 55,
"column": 23
},
"end": {
"line": 100,
"column": 5
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 1406,
"end": 1433,
"loc": {
"start": {
"line": 56,
"column": 8
},
"end": {
"line": 56,
"column": 35
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1412,
"end": 1432,
"loc": {
"start": {
"line": 56,
"column": 14
},
"end": {
"line": 56,
"column": 34
}
},
"id": {
"type": "Identifier",
"start": 1412,
"end": 1418,
"loc": {
"start": {
"line": 56,
"column": 14
},
"end": {
"line": 56,
"column": 20
},
"identifierName": "viewer"
},
"name": "viewer"
},
"init": {
"type": "MemberExpression",
"start": 1421,
"end": 1432,
"loc": {
"start": {
"line": 56,
"column": 23
},
"end": {
"line": 56,
"column": 34
}
},
"object": {
"type": "ThisExpression",
"start": 1421,
"end": 1425,
"loc": {
"start": {
"line": 56,
"column": 23
},
"end": {
"line": 56,
"column": 27
}
}
},
"property": {
"type": "Identifier",
"start": 1426,
"end": 1432,
"loc": {
"start": {
"line": 56,
"column": 28
},
"end": {
"line": 56,
"column": 34
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 1442,
"end": 1485,
"loc": {
"start": {
"line": 57,
"column": 8
},
"end": {
"line": 57,
"column": 51
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1448,
"end": 1484,
"loc": {
"start": {
"line": 57,
"column": 14
},
"end": {
"line": 57,
"column": 50
}
},
"id": {
"type": "Identifier",
"start": 1448,
"end": 1461,
"loc": {
"start": {
"line": 57,
"column": 14
},
"end": {
"line": 57,
"column": 27
},
"identifierName": "cameraControl"
},
"name": "cameraControl"
},
"init": {
"type": "MemberExpression",
"start": 1464,
"end": 1484,
"loc": {
"start": {
"line": 57,
"column": 30
},
"end": {
"line": 57,
"column": 50
}
},
"object": {
"type": "Identifier",
"start": 1464,
"end": 1470,
"loc": {
"start": {
"line": 57,
"column": 30
},
"end": {
"line": 57,
"column": 36
},
"identifierName": "viewer"
},
"name": "viewer"
},
"property": {
"type": "Identifier",
"start": 1471,
"end": 1484,
"loc": {
"start": {
"line": 57,
"column": 37
},
"end": {
"line": 57,
"column": 50
},
"identifierName": "cameraControl"
},
"name": "cameraControl"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 1494,
"end": 1512,
"loc": {
"start": {
"line": 58,
"column": 8
},
"end": {
"line": 58,
"column": 26
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1498,
"end": 1511,
"loc": {
"start": {
"line": 58,
"column": 12
},
"end": {
"line": 58,
"column": 25
}
},
"id": {
"type": "Identifier",
"start": 1498,
"end": 1504,
"loc": {
"start": {
"line": 58,
"column": 12
},
"end": {
"line": 58,
"column": 18
},
"identifierName": "entity"
},
"name": "entity"
},
"init": {
"type": "NullLiteral",
"start": 1507,
"end": 1511,
"loc": {
"start": {
"line": 58,
"column": 21
},
"end": {
"line": 58,
"column": 25
}
}
}
}
],
"kind": "var"
},
{
"type": "ExpressionStatement",
"start": 1521,
"end": 1865,
"loc": {
"start": {
"line": 59,
"column": 8
},
"end": {
"line": 69,
"column": 11
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1521,
"end": 1864,
"loc": {
"start": {
"line": 59,
"column": 8
},
"end": {
"line": 69,
"column": 10
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 1521,
"end": 1534,
"loc": {
"start": {
"line": 59,
"column": 8
},
"end": {
"line": 59,
"column": 21
}
},
"object": {
"type": "ThisExpression",
"start": 1521,
"end": 1525,
"loc": {
"start": {
"line": 59,
"column": 8
},
"end": {
"line": 59,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 1526,
"end": 1534,
"loc": {
"start": {
"line": 59,
"column": 13
},
"end": {
"line": 59,
"column": 21
},
"identifierName": "_onHover"
},
"name": "_onHover"
},
"computed": false
},
"right": {
"type": "CallExpression",
"start": 1537,
"end": 1864,
"loc": {
"start": {
"line": 59,
"column": 24
},
"end": {
"line": 69,
"column": 10
}
},
"callee": {
"type": "MemberExpression",
"start": 1537,
"end": 1553,
"loc": {
"start": {
"line": 59,
"column": 24
},
"end": {
"line": 59,
"column": 40
}
},
"object": {
"type": "Identifier",
"start": 1537,
"end": 1550,
"loc": {
"start": {
"line": 59,
"column": 24
},
"end": {
"line": 59,
"column": 37
},
"identifierName": "cameraControl"
},
"name": "cameraControl"
},
"property": {
"type": "Identifier",
"start": 1551,
"end": 1553,
"loc": {
"start": {
"line": 59,
"column": 38
},
"end": {
"line": 59,
"column": 40
},
"identifierName": "on"
},
"name": "on"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 1554,
"end": 1561,
"loc": {
"start": {
"line": 59,
"column": 41
},
"end": {
"line": 59,
"column": 48
}
},
"extra": {
"rawValue": "hover",
"raw": "\"hover\""
},
"value": "hover"
},
{
"type": "ArrowFunctionExpression",
"start": 1563,
"end": 1863,
"loc": {
"start": {
"line": 59,
"column": 50
},
"end": {
"line": 69,
"column": 9
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 1564,
"end": 1565,
"loc": {
"start": {
"line": 59,
"column": 51
},
"end": {
"line": 59,
"column": 52
},
"identifierName": "e"
},
"name": "e"
}
],
"body": {
"type": "BlockStatement",
"start": 1570,
"end": 1863,
"loc": {
"start": {
"line": 59,
"column": 57
},
"end": {
"line": 69,
"column": 9
}
},
"body": [
{
"type": "IfStatement",
"start": 1584,
"end": 1668,
"loc": {
"start": {
"line": 60,
"column": 12
},
"end": {
"line": 62,
"column": 13
}
},
"test": {
"type": "LogicalExpression",
"start": 1588,
"end": 1627,
"loc": {
"start": {
"line": 60,
"column": 16
},
"end": {
"line": 60,
"column": 55
}
},
"left": {
"type": "UnaryExpression",
"start": 1588,
"end": 1605,
"loc": {
"start": {
"line": 60,
"column": 16
},
"end": {
"line": 60,
"column": 33
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "CallExpression",
"start": 1589,
"end": 1605,
"loc": {
"start": {
"line": 60,
"column": 17
},
"end": {
"line": 60,
"column": 33
}
},
"callee": {
"type": "MemberExpression",
"start": 1589,
"end": 1603,
"loc": {
"start": {
"line": 60,
"column": 17
},
"end": {
"line": 60,
"column": 31
}
},
"object": {
"type": "ThisExpression",
"start": 1589,
"end": 1593,
"loc": {
"start": {
"line": 60,
"column": 17
},
"end": {
"line": 60,
"column": 21
}
}
},
"property": {
"type": "Identifier",
"start": 1594,
"end": 1603,
"loc": {
"start": {
"line": 60,
"column": 22
},
"end": {
"line": 60,
"column": 31
},
"identifierName": "getActive"
},
"name": "getActive"
},
"computed": false
},
"arguments": []
},
"extra": {
"parenthesizedArgument": false
}
},
"operator": "||",
"right": {
"type": "UnaryExpression",
"start": 1609,
"end": 1627,
"loc": {
"start": {
"line": 60,
"column": 37
},
"end": {
"line": 60,
"column": 55
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "CallExpression",
"start": 1610,
"end": 1627,
"loc": {
"start": {
"line": 60,
"column": 38
},
"end": {
"line": 60,
"column": 55
}
},
"callee": {
"type": "MemberExpression",
"start": 1610,
"end": 1625,
"loc": {
"start": {
"line": 60,
"column": 38
},
"end": {
"line": 60,
"column": 53
}
},
"object": {
"type": "ThisExpression",
"start": 1610,
"end": 1614,
"loc": {
"start": {
"line": 60,
"column": 38
},
"end": {
"line": 60,
"column": 42
}
}
},
"property": {
"type": "Identifier",
"start": 1615,
"end": 1625,
"loc": {
"start": {
"line": 60,
"column": 43
},
"end": {
"line": 60,
"column": 53
},
"identifierName": "getEnabled"
},
"name": "getEnabled"
},
"computed": false
},
"arguments": []
},
"extra": {
"parenthesizedArgument": false
}
}
},
"consequent": {
"type": "BlockStatement",
"start": 1629,
"end": 1668,
"loc": {
"start": {
"line": 60,
"column": 57
},
"end": {
"line": 62,
"column": 13
}
},
"body": [
{
"type": "ReturnStatement",
"start": 1647,
"end": 1654,
"loc": {
"start": {
"line": 61,
"column": 16
},
"end": {
"line": 61,
"column": 23
}
},
"argument": null
}
],
"directives": []
},
"alternate": null
},
{
"type": "IfStatement",
"start": 1681,
"end": 1783,
"loc": {
"start": {
"line": 63,
"column": 12
},
"end": {
"line": 66,
"column": 13
}
},
"test": {
"type": "Identifier",
"start": 1685,
"end": 1691,
"loc": {
"start": {
"line": 63,
"column": 16
},
"end": {
"line": 63,
"column": 22
},
"identifierName": "entity"
},
"name": "entity"
},
"consequent": {
"type": "BlockStatement",
"start": 1693,
"end": 1783,
"loc": {
"start": {
"line": 63,
"column": 24
},
"end": {
"line": 66,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 1711,
"end": 1738,
"loc": {
"start": {
"line": 64,
"column": 16
},
"end": {
"line": 64,
"column": 43
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1711,
"end": 1737,
"loc": {
"start": {
"line": 64,
"column": 16
},
"end": {
"line": 64,
"column": 42
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 1711,
"end": 1729,
"loc": {
"start": {
"line": 64,
"column": 16
},
"end": {
"line": 64,
"column": 34
}
},
"object": {
"type": "Identifier",
"start": 1711,
"end": 1717,
"loc": {
"start": {
"line": 64,
"column": 16
},
"end": {
"line": 64,
"column": 22
},
"identifierName": "entity"
},
"name": "entity"
},
"property": {
"type": "Identifier",
"start": 1718,
"end": 1729,
"loc": {
"start": {
"line": 64,
"column": 23
},
"end": {
"line": 64,
"column": 34
},
"identifierName": "highlighted"
},
"name": "highlighted"
},
"computed": false
},
"right": {
"type": "BooleanLiteral",
"start": 1732,
"end": 1737,
"loc": {
"start": {
"line": 64,
"column": 37
},
"end": {
"line": 64,
"column": 42
}
},
"value": false
}
}
},
{
"type": "ExpressionStatement",
"start": 1755,
"end": 1769,
"loc": {
"start": {
"line": 65,
"column": 16
},
"end": {
"line": 65,
"column": 30
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1755,
"end": 1768,
"loc": {
"start": {
"line": 65,
"column": 16
},
"end": {
"line": 65,
"column": 29
}
},
"operator": "=",
"left": {
"type": "Identifier",
"start": 1755,
"end": 1761,
"loc": {
"start": {
"line": 65,
"column": 16
},
"end": {
"line": 65,
"column": 22
},
"identifierName": "entity"
},
"name": "entity"
},
"right": {
"type": "NullLiteral",
"start": 1764,
"end": 1768,
"loc": {
"start": {
"line": 65,
"column": 25
},
"end": {
"line": 65,
"column": 29
}
}
}
}
}
],
"directives": []
},
"alternate": null
},
{
"type": "ExpressionStatement",
"start": 1796,
"end": 1814,
"loc": {
"start": {
"line": 67,
"column": 12
},
"end": {
"line": 67,
"column": 30
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1796,
"end": 1813,
"loc": {
"start": {
"line": 67,
"column": 12
},
"end": {
"line": 67,
"column": 29
}
},
"operator": "=",
"left": {
"type": "Identifier",
"start": 1796,
"end": 1802,
"loc": {
"start": {
"line": 67,
"column": 12
},
"end": {
"line": 67,
"column": 18
},
"identifierName": "entity"
},
"name": "entity"
},
"right": {
"type": "MemberExpression",
"start": 1805,
"end": 1813,
"loc": {
"start": {
"line": 67,
"column": 21
},
"end": {
"line": 67,
"column": 29
}
},
"object": {
"type": "Identifier",
"start": 1805,
"end": 1806,
"loc": {
"start": {
"line": 67,
"column": 21
},
"end": {
"line": 67,
"column": 22
},
"identifierName": "e"
},
"name": "e"
},
"property": {
"type": "Identifier",
"start": 1807,
"end": 1813,
"loc": {
"start": {
"line": 67,
"column": 23
},
"end": {
"line": 67,
"column": 29
},
"identifierName": "entity"
},
"name": "entity"
},
"computed": false
}
}
},
{
"type": "ExpressionStatement",
"start": 1827,
"end": 1853,
"loc": {
"start": {
"line": 68,
"column": 12
},
"end": {
"line": 68,
"column": 38
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1827,
"end": 1852,
"loc": {
"start": {
"line": 68,
"column": 12
},
"end": {
"line": 68,
"column": 37
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 1827,
"end": 1845,
"loc": {
"start": {
"line": 68,
"column": 12
},
"end": {
"line": 68,
"column": 30
}
},
"object": {
"type": "Identifier",
"start": 1827,
"end": 1833,
"loc": {
"start": {
"line": 68,
"column": 12
},
"end": {
"line": 68,
"column": 18
},
"identifierName": "entity"
},
"name": "entity"
},
"property": {
"type": "Identifier",
"start": 1834,
"end": 1845,
"loc": {
"start": {
"line": 68,
"column": 19
},
"end": {
"line": 68,
"column": 30
},
"identifierName": "highlighted"
},
"name": "highlighted"
},
"computed": false
},
"right": {
"type": "BooleanLiteral",
"start": 1848,
"end": 1852,
"loc": {
"start": {
"line": 68,
"column": 33
},
"end": {
"line": 68,
"column": 37
}
},
"value": true
}
}
}
],
"directives": []
}
}
]
}
}
},
{
"type": "ExpressionStatement",
"start": 1874,
"end": 2154,
"loc": {
"start": {
"line": 70,
"column": 8
},
"end": {
"line": 78,
"column": 11
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1874,
"end": 2153,
"loc": {
"start": {
"line": 70,
"column": 8
},
"end": {
"line": 78,
"column": 10
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 1874,
"end": 1890,
"loc": {
"start": {
"line": 70,
"column": 8
},
"end": {
"line": 70,
"column": 24
}
},
"object": {
"type": "ThisExpression",
"start": 1874,
"end": 1878,
"loc": {
"start": {
"line": 70,
"column": 8
},
"end": {
"line": 70,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 1879,
"end": 1890,
"loc": {
"start": {
"line": 70,
"column": 13
},
"end": {
"line": 70,
"column": 24
},
"identifierName": "_onHoverOff"
},
"name": "_onHoverOff"
},
"computed": false
},
"right": {
"type": "CallExpression",
"start": 1893,
"end": 2153,
"loc": {
"start": {
"line": 70,
"column": 27
},
"end": {
"line": 78,
"column": 10
}
},
"callee": {
"type": "MemberExpression",
"start": 1893,
"end": 1909,
"loc": {
"start": {
"line": 70,
"column": 27
},
"end": {
"line": 70,
"column": 43
}
},
"object": {
"type": "Identifier",
"start": 1893,
"end": 1906,
"loc": {
"start": {
"line": 70,
"column": 27
},
"end": {
"line": 70,
"column": 40
},
"identifierName": "cameraControl"
},
"name": "cameraControl"
},
"property": {
"type": "Identifier",
"start": 1907,
"end": 1909,
"loc": {
"start": {
"line": 70,
"column": 41
},
"end": {
"line": 70,
"column": 43
},
"identifierName": "on"
},
"name": "on"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 1910,
"end": 1920,
"loc": {
"start": {
"line": 70,
"column": 44
},
"end": {
"line": 70,
"column": 54
}
},
"extra": {
"rawValue": "hoverOff",
"raw": "\"hoverOff\""
},
"value": "hoverOff"
},
{
"type": "ArrowFunctionExpression",
"start": 1922,
"end": 2152,
"loc": {
"start": {
"line": 70,
"column": 56
},
"end": {
"line": 78,
"column": 9
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 1923,
"end": 1924,
"loc": {
"start": {
"line": 70,
"column": 57
},
"end": {
"line": 70,
"column": 58
},
"identifierName": "e"
},
"name": "e"
}
],
"body": {
"type": "BlockStatement",
"start": 1929,
"end": 2152,
"loc": {
"start": {
"line": 70,
"column": 63
},
"end": {
"line": 78,
"column": 9
}
},
"body": [
{
"type": "IfStatement",
"start": 1943,
"end": 2027,
"loc": {
"start": {
"line": 71,
"column": 12
},
"end": {
"line": 73,
"column": 13
}
},
"test": {
"type": "LogicalExpression",
"start": 1947,
"end": 1986,
"loc": {
"start": {
"line": 71,
"column": 16
},
"end": {
"line": 71,
"column": 55
}
},
"left": {
"type": "UnaryExpression",
"start": 1947,
"end": 1964,
"loc": {
"start": {
"line": 71,
"column": 16
},
"end": {
"line": 71,
"column": 33
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "CallExpression",
"start": 1948,
"end": 1964,
"loc": {
"start": {
"line": 71,
"column": 17
},
"end": {
"line": 71,
"column": 33
}
},
"callee": {
"type": "MemberExpression",
"start": 1948,
"end": 1962,
"loc": {
"start": {
"line": 71,
"column": 17
},
"end": {
"line": 71,
"column": 31
}
},
"object": {
"type": "ThisExpression",
"start": 1948,
"end": 1952,
"loc": {
"start": {
"line": 71,
"column": 17
},
"end": {
"line": 71,
"column": 21
}
}
},
"property": {
"type": "Identifier",
"start": 1953,
"end": 1962,
"loc": {
"start": {
"line": 71,
"column": 22
},
"end": {
"line": 71,
"column": 31
},
"identifierName": "getActive"
},
"name": "getActive"
},
"computed": false
},
"arguments": []
},
"extra": {
"parenthesizedArgument": false
}
},
"operator": "||",
"right": {
"type": "UnaryExpression",
"start": 1968,
"end": 1986,
"loc": {
"start": {
"line": 71,
"column": 37
},
"end": {
"line": 71,
"column": 55
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "CallExpression",
"start": 1969,
"end": 1986,
"loc": {
"start": {
"line": 71,
"column": 38
},
"end": {
"line": 71,
"column": 55
}
},
"callee": {
"type": "MemberExpression",
"start": 1969,
"end": 1984,
"loc": {
"start": {
"line": 71,
"column": 38
},
"end": {
"line": 71,
"column": 53
}
},
"object": {
"type": "ThisExpression",
"start": 1969,
"end": 1973,
"loc": {
"start": {
"line": 71,
"column": 38
},
"end": {
"line": 71,
"column": 42
}
}
},
"property": {
"type": "Identifier",
"start": 1974,
"end": 1984,
"loc": {
"start": {
"line": 71,
"column": 43
},
"end": {
"line": 71,
"column": 53
},
"identifierName": "getEnabled"
},
"name": "getEnabled"
},
"computed": false
},
"arguments": []
},
"extra": {
"parenthesizedArgument": false
}
}
},
"consequent": {
"type": "BlockStatement",
"start": 1988,
"end": 2027,
"loc": {
"start": {
"line": 71,
"column": 57
},
"end": {
"line": 73,
"column": 13
}
},
"body": [
{
"type": "ReturnStatement",
"start": 2006,
"end": 2013,
"loc": {
"start": {
"line": 72,
"column": 16
},
"end": {
"line": 72,
"column": 23
}
},
"argument": null
}
],
"directives": []
},
"alternate": null
},
{
"type": "IfStatement",
"start": 2040,
"end": 2142,
"loc": {
"start": {
"line": 74,
"column": 12
},
"end": {
"line": 77,
"column": 13
}
},
"test": {
"type": "Identifier",
"start": 2044,
"end": 2050,
"loc": {
"start": {
"line": 74,
"column": 16
},
"end": {
"line": 74,
"column": 22
},
"identifierName": "entity"
},
"name": "entity"
},
"consequent": {
"type": "BlockStatement",
"start": 2052,
"end": 2142,
"loc": {
"start": {
"line": 74,
"column": 24
},
"end": {
"line": 77,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 2070,
"end": 2097,
"loc": {
"start": {
"line": 75,
"column": 16
},
"end": {
"line": 75,
"column": 43
}
},
"expression": {
"type": "AssignmentExpression",
"start": 2070,
"end": 2096,
"loc": {
"start": {
"line": 75,
"column": 16
},
"end": {
"line": 75,
"column": 42
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 2070,
"end": 2088,
"loc": {
"start": {
"line": 75,
"column": 16
},
"end": {
"line": 75,
"column": 34
}
},
"object": {
"type": "Identifier",
"start": 2070,
"end": 2076,
"loc": {
"start": {
"line": 75,
"column": 16
},
"end": {
"line": 75,
"column": 22
},
"identifierName": "entity"
},
"name": "entity"
},
"property": {
"type": "Identifier",
"start": 2077,
"end": 2088,
"loc": {
"start": {
"line": 75,
"column": 23
},
"end": {
"line": 75,
"column": 34
},
"identifierName": "highlighted"
},
"name": "highlighted"
},
"computed": false
},
"right": {
"type": "BooleanLiteral",
"start": 2091,
"end": 2096,
"loc": {
"start": {
"line": 75,
"column": 37
},
"end": {
"line": 75,
"column": 42
}
},
"value": false
}
}
},
{
"type": "ExpressionStatement",
"start": 2114,
"end": 2128,
"loc": {
"start": {
"line": 76,
"column": 16
},
"end": {
"line": 76,
"column": 30
}
},
"expression": {
"type": "AssignmentExpression",
"start": 2114,
"end": 2127,
"loc": {
"start": {
"line": 76,
"column": 16
},
"end": {
"line": 76,
"column": 29
}
},
"operator": "=",
"left": {
"type": "Identifier",
"start": 2114,
"end": 2120,
"loc": {
"start": {
"line": 76,
"column": 16
},
"end": {
"line": 76,
"column": 22
},
"identifierName": "entity"
},
"name": "entity"
},
"right": {
"type": "NullLiteral",
"start": 2123,
"end": 2127,
"loc": {
"start": {
"line": 76,
"column": 25
},
"end": {
"line": 76,
"column": 29
}
}
}
}
}
],
"directives": []
},
"alternate": null
}
],
"directives": []
}
}
]
}
}
},
{
"type": "VariableDeclaration",
"start": 2163,
"end": 2194,
"loc": {
"start": {
"line": 79,
"column": 8
},
"end": {
"line": 79,
"column": 39
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 2169,
"end": 2193,
"loc": {
"start": {
"line": 79,
"column": 14
},
"end": {
"line": 79,
"column": 38
}
},
"id": {
"type": "Identifier",
"start": 2169,
"end": 2179,
"loc": {
"start": {
"line": 79,
"column": 14
},
"end": {
"line": 79,
"column": 24
},
"identifierName": "lastCoords"
},
"name": "lastCoords"
},
"init": {
"type": "CallExpression",
"start": 2182,
"end": 2193,
"loc": {
"start": {
"line": 79,
"column": 27
},
"end": {
"line": 79,
"column": 38
}
},
"callee": {
"type": "MemberExpression",
"start": 2182,
"end": 2191,
"loc": {
"start": {
"line": 79,
"column": 27
},
"end": {
"line": 79,
"column": 36
}
},
"object": {
"type": "Identifier",
"start": 2182,
"end": 2186,
"loc": {
"start": {
"line": 79,
"column": 27
},
"end": {
"line": 79,
"column": 31
},
"identifierName": "math"
},
"name": "math"
},
"property": {
"type": "Identifier",
"start": 2187,
"end": 2191,
"loc": {
"start": {
"line": 79,
"column": 32
},
"end": {
"line": 79,
"column": 36
},
"identifierName": "vec2"
},
"name": "vec2"
},
"computed": false
},
"arguments": []
}
}
],
"kind": "const"
},
{
"type": "ExpressionStatement",
"start": 2203,
"end": 2458,
"loc": {
"start": {
"line": 80,
"column": 8
},
"end": {
"line": 86,
"column": 11
}
},
"expression": {
"type": "AssignmentExpression",
"start": 2203,
"end": 2457,
"loc": {
"start": {
"line": 80,
"column": 8
},
"end": {
"line": 86,
"column": 10
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 2203,
"end": 2220,
"loc": {
"start": {
"line": 80,
"column": 8
},
"end": {
"line": 80,
"column": 25
}
},
"object": {
"type": "ThisExpression",
"start": 2203,
"end": 2207,
"loc": {
"start": {
"line": 80,
"column": 8
},
"end": {
"line": 80,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 2208,
"end": 2220,
"loc": {
"start": {
"line": 80,
"column": 13
},
"end": {
"line": 80,
"column": 25
},
"identifierName": "_onMousedown"
},
"name": "_onMousedown"
},
"computed": false
},
"right": {
"type": "CallExpression",
"start": 2223,
"end": 2457,
"loc": {
"start": {
"line": 80,
"column": 28
},
"end": {
"line": 86,
"column": 10
}
},
"callee": {
"type": "MemberExpression",
"start": 2223,
"end": 2244,
"loc": {
"start": {
"line": 80,
"column": 28
},
"end": {
"line": 80,
"column": 49
}
},
"object": {
"type": "MemberExpression",
"start": 2223,
"end": 2241,
"loc": {
"start": {
"line": 80,
"column": 28
},
"end": {
"line": 80,
"column": 46
}
},
"object": {
"type": "MemberExpression",
"start": 2223,
"end": 2235,
"loc": {
"start": {
"line": 80,
"column": 28
},
"end": {
"line": 80,
"column": 40
}
},
"object": {
"type": "Identifier",
"start": 2223,
"end": 2229,
"loc": {
"start": {
"line": 80,
"column": 28
},
"end": {
"line": 80,
"column": 34
},
"identifierName": "viewer"
},
"name": "viewer"
},
"property": {
"type": "Identifier",
"start": 2230,
"end": 2235,
"loc": {
"start": {
"line": 80,
"column": 35
},
"end": {
"line": 80,
"column": 40
},
"identifierName": "scene"
},
"name": "scene"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2236,
"end": 2241,
"loc": {
"start": {
"line": 80,
"column": 41
},
"end": {
"line": 80,
"column": 46
},
"identifierName": "input"
},
"name": "input"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2242,
"end": 2244,
"loc": {
"start": {
"line": 80,
"column": 47
},
"end": {
"line": 80,
"column": 49
},
"identifierName": "on"
},
"name": "on"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 2245,
"end": 2256,
"loc": {
"start": {
"line": 80,
"column": 50
},
"end": {
"line": 80,
"column": 61
}
},
"extra": {
"rawValue": "mousedown",
"raw": "\"mousedown\""
},
"value": "mousedown"
},
{
"type": "ArrowFunctionExpression",
"start": 2258,
"end": 2456,
"loc": {
"start": {
"line": 80,
"column": 63
},
"end": {
"line": 86,
"column": 9
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 2259,
"end": 2265,
"loc": {
"start": {
"line": 80,
"column": 64
},
"end": {
"line": 80,
"column": 70
},
"identifierName": "coords"
},
"name": "coords"
}
],
"body": {
"type": "BlockStatement",
"start": 2270,
"end": 2456,
"loc": {
"start": {
"line": 80,
"column": 75
},
"end": {
"line": 86,
"column": 9
}
},
"body": [
{
"type": "IfStatement",
"start": 2284,
"end": 2368,
"loc": {
"start": {
"line": 81,
"column": 12
},
"end": {
"line": 83,
"column": 13
}
},
"test": {
"type": "LogicalExpression",
"start": 2288,
"end": 2327,
"loc": {
"start": {
"line": 81,
"column": 16
},
"end": {
"line": 81,
"column": 55
}
},
"left": {
"type": "UnaryExpression",
"start": 2288,
"end": 2305,
"loc": {
"start": {
"line": 81,
"column": 16
},
"end": {
"line": 81,
"column": 33
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "CallExpression",
"start": 2289,
"end": 2305,
"loc": {
"start": {
"line": 81,
"column": 17
},
"end": {
"line": 81,
"column": 33
}
},
"callee": {
"type": "MemberExpression",
"start": 2289,
"end": 2303,
"loc": {
"start": {
"line": 81,
"column": 17
},
"end": {
"line": 81,
"column": 31
}
},
"object": {
"type": "ThisExpression",
"start": 2289,
"end": 2293,
"loc": {
"start": {
"line": 81,
"column": 17
},
"end": {
"line": 81,
"column": 21
}
}
},
"property": {
"type": "Identifier",
"start": 2294,
"end": 2303,
"loc": {
"start": {
"line": 81,
"column": 22
},
"end": {
"line": 81,
"column": 31
},
"identifierName": "getActive"
},
"name": "getActive"
},
"computed": false
},
"arguments": []
},
"extra": {
"parenthesizedArgument": false
}
},
"operator": "||",
"right": {
"type": "UnaryExpression",
"start": 2309,
"end": 2327,
"loc": {
"start": {
"line": 81,
"column": 37
},
"end": {
"line": 81,
"column": 55
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "CallExpression",
"start": 2310,
"end": 2327,
"loc": {
"start": {
"line": 81,
"column": 38
},
"end": {
"line": 81,
"column": 55
}
},
"callee": {
"type": "MemberExpression",
"start": 2310,
"end": 2325,
"loc": {
"start": {
"line": 81,
"column": 38
},
"end": {
"line": 81,
"column": 53
}
},
"object": {
"type": "ThisExpression",
"start": 2310,
"end": 2314,
"loc": {
"start": {
"line": 81,
"column": 38
},
"end": {
"line": 81,
"column": 42
}
}
},
"property": {
"type": "Identifier",
"start": 2315,
"end": 2325,
"loc": {
"start": {
"line": 81,
"column": 43
},
"end": {
"line": 81,
"column": 53
},
"identifierName": "getEnabled"
},
"name": "getEnabled"
},
"computed": false
},
"arguments": []
},
"extra": {
"parenthesizedArgument": false
}
}
},
"consequent": {
"type": "BlockStatement",
"start": 2329,
"end": 2368,
"loc": {
"start": {
"line": 81,
"column": 57
},
"end": {
"line": 83,
"column": 13
}
},
"body": [
{
"type": "ReturnStatement",
"start": 2347,
"end": 2354,
"loc": {
"start": {
"line": 82,
"column": 16
},
"end": {
"line": 82,
"column": 23
}
},
"argument": null
}
],
"directives": []
},
"alternate": null
},
{
"type": "ExpressionStatement",
"start": 2381,
"end": 2407,
"loc": {
"start": {
"line": 84,
"column": 12
},
"end": {
"line": 84,
"column": 38
}
},
"expression": {
"type": "AssignmentExpression",
"start": 2381,
"end": 2406,
"loc": {
"start": {
"line": 84,
"column": 12
},
"end": {
"line": 84,
"column": 37
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 2381,
"end": 2394,
"loc": {
"start": {
"line": 84,
"column": 12
},
"end": {
"line": 84,
"column": 25
}
},
"object": {
"type": "Identifier",
"start": 2381,
"end": 2391,
"loc": {
"start": {
"line": 84,
"column": 12
},
"end": {
"line": 84,
"column": 22
},
"identifierName": "lastCoords"
},
"name": "lastCoords"
},
"property": {
"type": "NumericLiteral",
"start": 2392,
"end": 2393,
"loc": {
"start": {
"line": 84,
"column": 23
},
"end": {
"line": 84,
"column": 24
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
},
"computed": true
},
"right": {
"type": "MemberExpression",
"start": 2397,
"end": 2406,
"loc": {
"start": {
"line": 84,
"column": 28
},
"end": {
"line": 84,
"column": 37
}
},
"object": {
"type": "Identifier",
"start": 2397,
"end": 2403,
"loc": {
"start": {
"line": 84,
"column": 28
},
"end": {
"line": 84,
"column": 34
},
"identifierName": "coords"
},
"name": "coords"
},
"property": {
"type": "NumericLiteral",
"start": 2404,
"end": 2405,
"loc": {
"start": {
"line": 84,
"column": 35
},
"end": {
"line": 84,
"column": 36
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
},
"computed": true
}
}
},
{
"type": "ExpressionStatement",
"start": 2420,
"end": 2446,
"loc": {
"start": {
"line": 85,
"column": 12
},
"end": {
"line": 85,
"column": 38
}
},
"expression": {
"type": "AssignmentExpression",
"start": 2420,
"end": 2445,
"loc": {
"start": {
"line": 85,
"column": 12
},
"end": {
"line": 85,
"column": 37
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 2420,
"end": 2433,
"loc": {
"start": {
"line": 85,
"column": 12
},
"end": {
"line": 85,
"column": 25
}
},
"object": {
"type": "Identifier",
"start": 2420,
"end": 2430,
"loc": {
"start": {
"line": 85,
"column": 12
},
"end": {
"line": 85,
"column": 22
},
"identifierName": "lastCoords"
},
"name": "lastCoords"
},
"property": {
"type": "NumericLiteral",
"start": 2431,
"end": 2432,
"loc": {
"start": {
"line": 85,
"column": 23
},
"end": {
"line": 85,
"column": 24
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
},
"computed": true
},
"right": {
"type": "MemberExpression",
"start": 2436,
"end": 2445,
"loc": {
"start": {
"line": 85,
"column": 28
},
"end": {
"line": 85,
"column": 37
}
},
"object": {
"type": "Identifier",
"start": 2436,
"end": 2442,
"loc": {
"start": {
"line": 85,
"column": 28
},
"end": {
"line": 85,
"column": 34
},
"identifierName": "coords"
},
"name": "coords"
},
"property": {
"type": "NumericLiteral",
"start": 2443,
"end": 2444,
"loc": {
"start": {
"line": 85,
"column": 35
},
"end": {
"line": 85,
"column": 36
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
},
"computed": true
}
}
}
],
"directives": []
}
}
]
}
}
},
{
"type": "ExpressionStatement",
"start": 2467,
"end": 2900,
"loc": {
"start": {
"line": 87,
"column": 8
},
"end": {
"line": 99,
"column": 11
}
},
"expression": {
"type": "AssignmentExpression",
"start": 2467,
"end": 2899,
"loc": {
"start": {
"line": 87,
"column": 8
},
"end": {
"line": 99,
"column": 10
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 2467,
"end": 2482,
"loc": {
"start": {
"line": 87,
"column": 8
},
"end": {
"line": 87,
"column": 23
}
},
"object": {
"type": "ThisExpression",
"start": 2467,
"end": 2471,
"loc": {
"start": {
"line": 87,
"column": 8
},
"end": {
"line": 87,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 2472,
"end": 2482,
"loc": {
"start": {
"line": 87,
"column": 13
},
"end": {
"line": 87,
"column": 23
},
"identifierName": "_onMouseup"
},
"name": "_onMouseup"
},
"computed": false
},
"right": {
"type": "CallExpression",
"start": 2485,
"end": 2899,
"loc": {
"start": {
"line": 87,
"column": 26
},
"end": {
"line": 99,
"column": 10
}
},
"callee": {
"type": "MemberExpression",
"start": 2485,
"end": 2506,
"loc": {
"start": {
"line": 87,
"column": 26
},
"end": {
"line": 87,
"column": 47
}
},
"object": {
"type": "MemberExpression",
"start": 2485,
"end": 2503,
"loc": {
"start": {
"line": 87,
"column": 26
},
"end": {
"line": 87,
"column": 44
}
},
"object": {
"type": "MemberExpression",
"start": 2485,
"end": 2497,
"loc": {
"start": {
"line": 87,
"column": 26
},
"end": {
"line": 87,
"column": 38
}
},
"object": {
"type": "Identifier",
"start": 2485,
"end": 2491,
"loc": {
"start": {
"line": 87,
"column": 26
},
"end": {
"line": 87,
"column": 32
},
"identifierName": "viewer"
},
"name": "viewer"
},
"property": {
"type": "Identifier",
"start": 2492,
"end": 2497,
"loc": {
"start": {
"line": 87,
"column": 33
},
"end": {
"line": 87,
"column": 38
},
"identifierName": "scene"
},
"name": "scene"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2498,
"end": 2503,
"loc": {
"start": {
"line": 87,
"column": 39
},
"end": {
"line": 87,
"column": 44
},
"identifierName": "input"
},
"name": "input"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2504,
"end": 2506,
"loc": {
"start": {
"line": 87,
"column": 45
},
"end": {
"line": 87,
"column": 47
},
"identifierName": "on"
},
"name": "on"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 2507,
"end": 2516,
"loc": {
"start": {
"line": 87,
"column": 48
},
"end": {
"line": 87,
"column": 57
}
},
"extra": {
"rawValue": "mouseup",
"raw": "\"mouseup\""
},
"value": "mouseup"
},
{
"type": "ArrowFunctionExpression",
"start": 2518,
"end": 2898,
"loc": {
"start": {
"line": 87,
"column": 59
},
"end": {
"line": 99,
"column": 9
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 2519,
"end": 2525,
"loc": {
"start": {
"line": 87,
"column": 60
},
"end": {
"line": 87,
"column": 66
},
"identifierName": "coords"
},
"name": "coords"
}
],
"body": {
"type": "BlockStatement",
"start": 2530,
"end": 2898,
"loc": {
"start": {
"line": 87,
"column": 71
},
"end": {
"line": 99,
"column": 9
}
},
"body": [
{
"type": "IfStatement",
"start": 2544,
"end": 2628,
"loc": {
"start": {
"line": 88,
"column": 12
},
"end": {
"line": 90,
"column": 13
}
},
"test": {
"type": "LogicalExpression",
"start": 2548,
"end": 2587,
"loc": {
"start": {
"line": 88,
"column": 16
},
"end": {
"line": 88,
"column": 55
}
},
"left": {
"type": "UnaryExpression",
"start": 2548,
"end": 2565,
"loc": {
"start": {
"line": 88,
"column": 16
},
"end": {
"line": 88,
"column": 33
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "CallExpression",
"start": 2549,
"end": 2565,
"loc": {
"start": {
"line": 88,
"column": 17
},
"end": {
"line": 88,
"column": 33
}
},
"callee": {
"type": "MemberExpression",
"start": 2549,
"end": 2563,
"loc": {
"start": {
"line": 88,
"column": 17
},
"end": {
"line": 88,
"column": 31
}
},
"object": {
"type": "ThisExpression",
"start": 2549,
"end": 2553,
"loc": {
"start": {
"line": 88,
"column": 17
},
"end": {
"line": 88,
"column": 21
}
}
},
"property": {
"type": "Identifier",
"start": 2554,
"end": 2563,
"loc": {
"start": {
"line": 88,
"column": 22
},
"end": {
"line": 88,
"column": 31
},
"identifierName": "getActive"
},
"name": "getActive"
},
"computed": false
},
"arguments": []
},
"extra": {
"parenthesizedArgument": false
}
},
"operator": "||",
"right": {
"type": "UnaryExpression",
"start": 2569,
"end": 2587,
"loc": {
"start": {
"line": 88,
"column": 37
},
"end": {
"line": 88,
"column": 55
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "CallExpression",
"start": 2570,
"end": 2587,
"loc": {
"start": {
"line": 88,
"column": 38
},
"end": {
"line": 88,
"column": 55
}
},
"callee": {
"type": "MemberExpression",
"start": 2570,
"end": 2585,
"loc": {
"start": {
"line": 88,
"column": 38
},
"end": {
"line": 88,
"column": 53
}
},
"object": {
"type": "ThisExpression",
"start": 2570,
"end": 2574,
"loc": {
"start": {
"line": 88,
"column": 38
},
"end": {
"line": 88,
"column": 42
}
}
},
"property": {
"type": "Identifier",
"start": 2575,
"end": 2585,
"loc": {
"start": {
"line": 88,
"column": 43
},
"end": {
"line": 88,
"column": 53
},
"identifierName": "getEnabled"
},
"name": "getEnabled"
},
"computed": false
},
"arguments": []
},
"extra": {
"parenthesizedArgument": false
}
}
},
"consequent": {
"type": "BlockStatement",
"start": 2589,
"end": 2628,
"loc": {
"start": {
"line": 88,
"column": 57
},
"end": {
"line": 90,
"column": 13
}
},
"body": [
{
"type": "ReturnStatement",
"start": 2607,
"end": 2614,
"loc": {
"start": {
"line": 89,
"column": 16
},
"end": {
"line": 89,
"column": 23
}
},
"argument": null
}
],
"directives": []
},
"alternate": null
},
{
"type": "IfStatement",
"start": 2641,
"end": 2888,
"loc": {
"start": {
"line": 91,
"column": 12
},
"end": {
"line": 98,
"column": 13
}
},
"test": {
"type": "Identifier",
"start": 2645,
"end": 2651,
"loc": {
"start": {
"line": 91,
"column": 16
},
"end": {
"line": 91,
"column": 22
},
"identifierName": "entity"
},
"name": "entity"
},
"consequent": {
"type": "BlockStatement",
"start": 2653,
"end": 2888,
"loc": {
"start": {
"line": 91,
"column": 24
},
"end": {
"line": 98,
"column": 13
}
},
"body": [
{
"type": "IfStatement",
"start": 2671,
"end": 2791,
"loc": {
"start": {
"line": 92,
"column": 16
},
"end": {
"line": 95,
"column": 17
}
},
"test": {
"type": "UnaryExpression",
"start": 2675,
"end": 2707,
"loc": {
"start": {
"line": 92,
"column": 20
},
"end": {
"line": 92,
"column": 52
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "CallExpression",
"start": 2676,
"end": 2707,
"loc": {
"start": {
"line": 92,
"column": 21
},
"end": {
"line": 92,
"column": 52
}
},
"callee": {
"type": "Identifier",
"start": 2676,
"end": 2687,
"loc": {
"start": {
"line": 92,
"column": 21
},
"end": {
"line": 92,
"column": 32
},
"identifierName": "closeEnough"
},
"name": "closeEnough"
},
"arguments": [
{
"type": "Identifier",
"start": 2688,
"end": 2698,
"loc": {
"start": {
"line": 92,
"column": 33
},
"end": {
"line": 92,
"column": 43
},
"identifierName": "lastCoords"
},
"name": "lastCoords"
},
{
"type": "Identifier",
"start": 2700,
"end": 2706,
"loc": {
"start": {
"line": 92,
"column": 45
},
"end": {
"line": 92,
"column": 51
},
"identifierName": "coords"
},
"name": "coords"
}
]
},
"extra": {
"parenthesizedArgument": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 2709,
"end": 2791,
"loc": {
"start": {
"line": 92,
"column": 54
},
"end": {
"line": 95,
"column": 17
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 2731,
"end": 2745,
"loc": {
"start": {
"line": 93,
"column": 20
},
"end": {
"line": 93,
"column": 34
}
},
"expression": {
"type": "AssignmentExpression",
"start": 2731,
"end": 2744,
"loc": {
"start": {
"line": 93,
"column": 20
},
"end": {
"line": 93,
"column": 33
}
},
"operator": "=",
"left": {
"type": "Identifier",
"start": 2731,
"end": 2737,
"loc": {
"start": {
"line": 93,
"column": 20
},
"end": {
"line": 93,
"column": 26
},
"identifierName": "entity"
},
"name": "entity"
},
"right": {
"type": "NullLiteral",
"start": 2740,
"end": 2744,
"loc": {
"start": {
"line": 93,
"column": 29
},
"end": {
"line": 93,
"column": 33
}
}
}
}
},
{
"type": "ReturnStatement",
"start": 2766,
"end": 2773,
"loc": {
"start": {
"line": 94,
"column": 20
},
"end": {
"line": 94,
"column": 27
}
},
"argument": null
}
],
"directives": []
},
"alternate": null
},
{
"type": "ExpressionStatement",
"start": 2808,
"end": 2843,
"loc": {
"start": {
"line": 96,
"column": 16
},
"end": {
"line": 96,
"column": 51
}
},
"expression": {
"type": "AssignmentExpression",
"start": 2808,
"end": 2842,
"loc": {
"start": {
"line": 96,
"column": 16
},
"end": {
"line": 96,
"column": 50
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 2808,
"end": 2823,
"loc": {
"start": {
"line": 96,
"column": 16
},
"end": {
"line": 96,
"column": 31
}
},
"object": {
"type": "Identifier",
"start": 2808,
"end": 2814,
"loc": {
"start": {
"line": 96,
"column": 16
},
"end": {
"line": 96,
"column": 22
},
"identifierName": "entity"
},
"name": "entity"
},
"property": {
"type": "Identifier",
"start": 2815,
"end": 2823,
"loc": {
"start": {
"line": 96,
"column": 23
},
"end": {
"line": 96,
"column": 31
},
"identifierName": "selected"
},
"name": "selected"
},
"computed": false
},
"right": {
"type": "UnaryExpression",
"start": 2826,
"end": 2842,
"loc": {
"start": {
"line": 96,
"column": 34
},
"end": {
"line": 96,
"column": 50
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "MemberExpression",
"start": 2827,
"end": 2842,
"loc": {
"start": {
"line": 96,
"column": 35
},
"end": {
"line": 96,
"column": 50
}
},
"object": {
"type": "Identifier",
"start": 2827,
"end": 2833,
"loc": {
"start": {
"line": 96,
"column": 35
},
"end": {
"line": 96,
"column": 41
},
"identifierName": "entity"
},
"name": "entity"
},
"property": {
"type": "Identifier",
"start": 2834,
"end": 2842,
"loc": {
"start": {
"line": 96,
"column": 42
},
"end": {
"line": 96,
"column": 50
},
"identifierName": "selected"
},
"name": "selected"
},
"computed": false
},
"extra": {
"parenthesizedArgument": false
}
}
}
},
{
"type": "ExpressionStatement",
"start": 2860,
"end": 2874,
"loc": {
"start": {
"line": 97,
"column": 16
},
"end": {
"line": 97,
"column": 30
}
},
"expression": {
"type": "AssignmentExpression",
"start": 2860,
"end": 2873,
"loc": {
"start": {
"line": 97,
"column": 16
},
"end": {
"line": 97,
"column": 29
}
},
"operator": "=",
"left": {
"type": "Identifier",
"start": 2860,
"end": 2866,
"loc": {
"start": {
"line": 97,
"column": 16
},
"end": {
"line": 97,
"column": 22
},
"identifierName": "entity"
},
"name": "entity"
},
"right": {
"type": "NullLiteral",
"start": 2869,
"end": 2873,
"loc": {
"start": {
"line": 97,
"column": 25
},
"end": {
"line": 97,
"column": 29
}
}
}
}
}
],
"directives": []
},
"alternate": null
}
],
"directives": []
}
}
]
}
}
}
],
"directives": []
}
}
]
},
"leadingComments": [],
"name": "_",
"trailingComments": []
},
{
"type": "ExportNamedDeclaration",
"start": 2910,
"end": 2930,
"loc": {
"start": {
"line": 103,
"column": 0
},
"end": {
"line": 103,
"column": 20
}
},
"declaration": null,
"specifiers": [
{
"type": "ExportSpecifier",
"start": 2918,
"end": 2928,
"loc": {
"start": {
"line": 103,
"column": 8
},
"end": {
"line": 103,
"column": 18
}
},
"local": {
"type": "Identifier",
"start": 2918,
"end": 2928,
"loc": {
"start": {
"line": 103,
"column": 8
},
"end": {
"line": 103,
"column": 18
},
"identifierName": "SelectMode"
},
"name": "SelectMode"
},
"exported": {
"type": "Identifier",
"start": 2918,
"end": 2928,
"loc": {
"start": {
"line": 103,
"column": 8
},
"end": {
"line": 103,
"column": 18
},
"identifierName": "SelectMode"
},
"name": "SelectMode"
}
}
],
"source": null
},
{
"type": "ExportNamedDeclaration",
"start": 2910,
"end": 2930,
"loc": {
"start": {
"line": 103,
"column": 0
},
"end": {
"line": 103,
"column": 20
}
},
"declaration": {
"type": "ClassDeclaration",
"start": 272,
"end": 2908,
"loc": {
"start": {
"line": 11,
"column": 0
},
"end": {
"line": 101,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 278,
"end": 288,
"loc": {
"start": {
"line": 11,
"column": 6
},
"end": {
"line": 11,
"column": 16
},
"identifierName": "SelectMode"
},
"name": "SelectMode",
"leadingComments": null
},
"superClass": {
"type": "Identifier",
"start": 297,
"end": 307,
"loc": {
"start": {
"line": 11,
"column": 25
},
"end": {
"line": 11,
"column": 35
},
"identifierName": "Controller"
},
"name": "Controller"
},
"body": {
"type": "ClassBody",
"start": 308,
"end": 2908,
"loc": {
"start": {
"line": 11,
"column": 36
},
"end": {
"line": 101,
"column": 1
}
},
"body": [
{
"type": "ClassMethod",
"start": 315,
"end": 1371,
"loc": {
"start": {
"line": 13,
"column": 4
},
"end": {
"line": 53,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 315,
"end": 326,
"loc": {
"start": {
"line": 13,
"column": 4
},
"end": {
"line": 13,
"column": 15
},
"identifierName": "constructor"
},
"name": "constructor"
},
"kind": "constructor",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 327,
"end": 333,
"loc": {
"start": {
"line": 13,
"column": 16
},
"end": {
"line": 13,
"column": 22
},
"identifierName": "parent"
},
"name": "parent"
},
{
"type": "Identifier",
"start": 335,
"end": 338,
"loc": {
"start": {
"line": 13,
"column": 24
},
"end": {
"line": 13,
"column": 27
},
"identifierName": "cfg"
},
"name": "cfg"
}
],
"body": {
"type": "BlockStatement",
"start": 340,
"end": 1371,
"loc": {
"start": {
"line": 13,
"column": 29
},
"end": {
"line": 53,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 351,
"end": 365,
"loc": {
"start": {
"line": 15,
"column": 8
},
"end": {
"line": 15,
"column": 22
}
},
"expression": {
"type": "CallExpression",
"start": 351,
"end": 364,
"loc": {
"start": {
"line": 15,
"column": 8
},
"end": {
"line": 15,
"column": 21
}
},
"callee": {
"type": "Super",
"start": 351,
"end": 356,
"loc": {
"start": {
"line": 15,
"column": 8
},
"end": {
"line": 15,
"column": 13
}
}
},
"arguments": [
{
"type": "Identifier",
"start": 357,
"end": 363,
"loc": {
"start": {
"line": 15,
"column": 14
},
"end": {
"line": 15,
"column": 20
},
"identifierName": "parent"
},
"name": "parent"
}
]
}
},
{
"type": "IfStatement",
"start": 375,
"end": 461,
"loc": {
"start": {
"line": 17,
"column": 8
},
"end": {
"line": 19,
"column": 9
}
},
"test": {
"type": "UnaryExpression",
"start": 379,
"end": 397,
"loc": {
"start": {
"line": 17,
"column": 12
},
"end": {
"line": 17,
"column": 30
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "MemberExpression",
"start": 380,
"end": 397,
"loc": {
"start": {
"line": 17,
"column": 13
},
"end": {
"line": 17,
"column": 30
}
},
"object": {
"type": "Identifier",
"start": 380,
"end": 383,
"loc": {
"start": {
"line": 17,
"column": 13
},
"end": {
"line": 17,
"column": 16
},
"identifierName": "cfg"
},
"name": "cfg"
},
"property": {
"type": "Identifier",
"start": 384,
"end": 397,
"loc": {
"start": {
"line": 17,
"column": 17
},
"end": {
"line": 17,
"column": 30
},
"identifierName": "buttonElement"
},
"name": "buttonElement"
},
"computed": false
},
"extra": {
"parenthesizedArgument": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 399,
"end": 461,
"loc": {
"start": {
"line": 17,
"column": 32
},
"end": {
"line": 19,
"column": 9
}
},
"body": [
{
"type": "ThrowStatement",
"start": 413,
"end": 451,
"loc": {
"start": {
"line": 18,
"column": 12
},
"end": {
"line": 18,
"column": 50
}
},
"argument": {
"type": "StringLiteral",
"start": 419,
"end": 450,
"loc": {
"start": {
"line": 18,
"column": 18
},
"end": {
"line": 18,
"column": 49
}
},
"extra": {
"rawValue": "Missing config: buttonElement",
"raw": "\"Missing config: buttonElement\""
},
"value": "Missing config: buttonElement"
}
}
],
"directives": []
},
"alternate": null
},
{
"type": "VariableDeclaration",
"start": 471,
"end": 511,
"loc": {
"start": {
"line": 21,
"column": 8
},
"end": {
"line": 21,
"column": 48
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 477,
"end": 510,
"loc": {
"start": {
"line": 21,
"column": 14
},
"end": {
"line": 21,
"column": 47
}
},
"id": {
"type": "Identifier",
"start": 477,
"end": 490,
"loc": {
"start": {
"line": 21,
"column": 14
},
"end": {
"line": 21,
"column": 27
},
"identifierName": "buttonElement"
},
"name": "buttonElement"
},
"init": {
"type": "MemberExpression",
"start": 493,
"end": 510,
"loc": {
"start": {
"line": 21,
"column": 30
},
"end": {
"line": 21,
"column": 47
}
},
"object": {
"type": "Identifier",
"start": 493,
"end": 496,
"loc": {
"start": {
"line": 21,
"column": 30
},
"end": {
"line": 21,
"column": 33
},
"identifierName": "cfg"
},
"name": "cfg"
},
"property": {
"type": "Identifier",
"start": 497,
"end": 510,
"loc": {
"start": {
"line": 21,
"column": 34
},
"end": {
"line": 21,
"column": 47
},
"identifierName": "buttonElement"
},
"name": "buttonElement"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "ExpressionStatement",
"start": 521,
"end": 746,
"loc": {
"start": {
"line": 23,
"column": 8
},
"end": {
"line": 29,
"column": 11
}
},
"expression": {
"type": "CallExpression",
"start": 521,
"end": 745,
"loc": {
"start": {
"line": 23,
"column": 8
},
"end": {
"line": 29,
"column": 10
}
},
"callee": {
"type": "MemberExpression",
"start": 521,
"end": 528,
"loc": {
"start": {
"line": 23,
"column": 8
},
"end": {
"line": 23,
"column": 15
}
},
"object": {
"type": "ThisExpression",
"start": 521,
"end": 525,
"loc": {
"start": {
"line": 23,
"column": 8
},
"end": {
"line": 23,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 526,
"end": 528,
"loc": {
"start": {
"line": 23,
"column": 13
},
"end": {
"line": 23,
"column": 15
},
"identifierName": "on"
},
"name": "on"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 529,
"end": 538,
"loc": {
"start": {
"line": 23,
"column": 16
},
"end": {
"line": 23,
"column": 25
}
},
"extra": {
"rawValue": "enabled",
"raw": "\"enabled\""
},
"value": "enabled"
},
{
"type": "ArrowFunctionExpression",
"start": 540,
"end": 744,
"loc": {
"start": {
"line": 23,
"column": 27
},
"end": {
"line": 29,
"column": 9
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 541,
"end": 548,
"loc": {
"start": {
"line": 23,
"column": 28
},
"end": {
"line": 23,
"column": 35
},
"identifierName": "enabled"
},
"name": "enabled"
}
],
"body": {
"type": "BlockStatement",
"start": 553,
"end": 744,
"loc": {
"start": {
"line": 23,
"column": 40
},
"end": {
"line": 29,
"column": 9
}
},
"body": [
{
"type": "IfStatement",
"start": 567,
"end": 734,
"loc": {
"start": {
"line": 24,
"column": 12
},
"end": {
"line": 28,
"column": 13
}
},
"test": {
"type": "UnaryExpression",
"start": 571,
"end": 579,
"loc": {
"start": {
"line": 24,
"column": 16
},
"end": {
"line": 24,
"column": 24
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 572,
"end": 579,
"loc": {
"start": {
"line": 24,
"column": 17
},
"end": {
"line": 24,
"column": 24
},
"identifierName": "enabled"
},
"name": "enabled"
},
"extra": {
"parenthesizedArgument": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 581,
"end": 653,
"loc": {
"start": {
"line": 24,
"column": 26
},
"end": {
"line": 26,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 599,
"end": 639,
"loc": {
"start": {
"line": 25,
"column": 16
},
"end": {
"line": 25,
"column": 56
}
},
"expression": {
"type": "CallExpression",
"start": 599,
"end": 638,
"loc": {
"start": {
"line": 25,
"column": 16
},
"end": {
"line": 25,
"column": 55
}
},
"callee": {
"type": "MemberExpression",
"start": 599,
"end": 626,
"loc": {
"start": {
"line": 25,
"column": 16
},
"end": {
"line": 25,
"column": 43
}
},
"object": {
"type": "MemberExpression",
"start": 599,
"end": 622,
"loc": {
"start": {
"line": 25,
"column": 16
},
"end": {
"line": 25,
"column": 39
}
},
"object": {
"type": "Identifier",
"start": 599,
"end": 612,
"loc": {
"start": {
"line": 25,
"column": 16
},
"end": {
"line": 25,
"column": 29
},
"identifierName": "buttonElement"
},
"name": "buttonElement"
},
"property": {
"type": "Identifier",
"start": 613,
"end": 622,
"loc": {
"start": {
"line": 25,
"column": 30
},
"end": {
"line": 25,
"column": 39
},
"identifierName": "classList"
},
"name": "classList"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 623,
"end": 626,
"loc": {
"start": {
"line": 25,
"column": 40
},
"end": {
"line": 25,
"column": 43
},
"identifierName": "add"
},
"name": "add"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 627,
"end": 637,
"loc": {
"start": {
"line": 25,
"column": 44
},
"end": {
"line": 25,
"column": 54
}
},
"extra": {
"rawValue": "disabled",
"raw": "\"disabled\""
},
"value": "disabled"
}
]
}
}
],
"directives": []
},
"alternate": {
"type": "BlockStatement",
"start": 659,
"end": 734,
"loc": {
"start": {
"line": 26,
"column": 19
},
"end": {
"line": 28,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 677,
"end": 720,
"loc": {
"start": {
"line": 27,
"column": 16
},
"end": {
"line": 27,
"column": 59
}
},
"expression": {
"type": "CallExpression",
"start": 677,
"end": 719,
"loc": {
"start": {
"line": 27,
"column": 16
},
"end": {
"line": 27,
"column": 58
}
},
"callee": {
"type": "MemberExpression",
"start": 677,
"end": 707,
"loc": {
"start": {
"line": 27,
"column": 16
},
"end": {
"line": 27,
"column": 46
}
},
"object": {
"type": "MemberExpression",
"start": 677,
"end": 700,
"loc": {
"start": {
"line": 27,
"column": 16
},
"end": {
"line": 27,
"column": 39
}
},
"object": {
"type": "Identifier",
"start": 677,
"end": 690,
"loc": {
"start": {
"line": 27,
"column": 16
},
"end": {
"line": 27,
"column": 29
},
"identifierName": "buttonElement"
},
"name": "buttonElement"
},
"property": {
"type": "Identifier",
"start": 691,
"end": 700,
"loc": {
"start": {
"line": 27,
"column": 30
},
"end": {
"line": 27,
"column": 39
},
"identifierName": "classList"
},
"name": "classList"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 701,
"end": 707,
"loc": {
"start": {
"line": 27,
"column": 40
},
"end": {
"line": 27,
"column": 46
},
"identifierName": "remove"
},
"name": "remove"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 708,
"end": 718,
"loc": {
"start": {
"line": 27,
"column": 47
},
"end": {
"line": 27,
"column": 57
}
},
"extra": {
"rawValue": "disabled",
"raw": "\"disabled\""
},
"value": "disabled"
}
]
}
}
],
"directives": []
}
}
],
"directives": []
}
}
]
}
},
{
"type": "ExpressionStatement",
"start": 756,
"end": 973,
"loc": {
"start": {
"line": 31,
"column": 8
},
"end": {
"line": 37,
"column": 11
}
},
"expression": {
"type": "CallExpression",
"start": 756,
"end": 972,
"loc": {
"start": {
"line": 31,
"column": 8
},
"end": {
"line": 37,
"column": 10
}
},
"callee": {
"type": "MemberExpression",
"start": 756,
"end": 763,
"loc": {
"start": {
"line": 31,
"column": 8
},
"end": {
"line": 31,
"column": 15
}
},
"object": {
"type": "ThisExpression",
"start": 756,
"end": 760,
"loc": {
"start": {
"line": 31,
"column": 8
},
"end": {
"line": 31,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 761,
"end": 763,
"loc": {
"start": {
"line": 31,
"column": 13
},
"end": {
"line": 31,
"column": 15
},
"identifierName": "on"
},
"name": "on"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 764,
"end": 772,
"loc": {
"start": {
"line": 31,
"column": 16
},
"end": {
"line": 31,
"column": 24
}
},
"extra": {
"rawValue": "active",
"raw": "\"active\""
},
"value": "active"
},
{
"type": "ArrowFunctionExpression",
"start": 774,
"end": 971,
"loc": {
"start": {
"line": 31,
"column": 26
},
"end": {
"line": 37,
"column": 9
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 775,
"end": 781,
"loc": {
"start": {
"line": 31,
"column": 27
},
"end": {
"line": 31,
"column": 33
},
"identifierName": "active"
},
"name": "active"
}
],
"body": {
"type": "BlockStatement",
"start": 786,
"end": 971,
"loc": {
"start": {
"line": 31,
"column": 38
},
"end": {
"line": 37,
"column": 9
}
},
"body": [
{
"type": "IfStatement",
"start": 800,
"end": 961,
"loc": {
"start": {
"line": 32,
"column": 12
},
"end": {
"line": 36,
"column": 13
}
},
"test": {
"type": "Identifier",
"start": 804,
"end": 810,
"loc": {
"start": {
"line": 32,
"column": 16
},
"end": {
"line": 32,
"column": 22
},
"identifierName": "active"
},
"name": "active"
},
"consequent": {
"type": "BlockStatement",
"start": 812,
"end": 882,
"loc": {
"start": {
"line": 32,
"column": 24
},
"end": {
"line": 34,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 830,
"end": 868,
"loc": {
"start": {
"line": 33,
"column": 16
},
"end": {
"line": 33,
"column": 54
}
},
"expression": {
"type": "CallExpression",
"start": 830,
"end": 867,
"loc": {
"start": {
"line": 33,
"column": 16
},
"end": {
"line": 33,
"column": 53
}
},
"callee": {
"type": "MemberExpression",
"start": 830,
"end": 857,
"loc": {
"start": {
"line": 33,
"column": 16
},
"end": {
"line": 33,
"column": 43
}
},
"object": {
"type": "MemberExpression",
"start": 830,
"end": 853,
"loc": {
"start": {
"line": 33,
"column": 16
},
"end": {
"line": 33,
"column": 39
}
},
"object": {
"type": "Identifier",
"start": 830,
"end": 843,
"loc": {
"start": {
"line": 33,
"column": 16
},
"end": {
"line": 33,
"column": 29
},
"identifierName": "buttonElement"
},
"name": "buttonElement"
},
"property": {
"type": "Identifier",
"start": 844,
"end": 853,
"loc": {
"start": {
"line": 33,
"column": 30
},
"end": {
"line": 33,
"column": 39
},
"identifierName": "classList"
},
"name": "classList"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 854,
"end": 857,
"loc": {
"start": {
"line": 33,
"column": 40
},
"end": {
"line": 33,
"column": 43
},
"identifierName": "add"
},
"name": "add"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 858,
"end": 866,
"loc": {
"start": {
"line": 33,
"column": 44
},
"end": {
"line": 33,
"column": 52
}
},
"extra": {
"rawValue": "active",
"raw": "\"active\""
},
"value": "active"
}
]
}
}
],
"directives": []
},
"alternate": {
"type": "BlockStatement",
"start": 888,
"end": 961,
"loc": {
"start": {
"line": 34,
"column": 19
},
"end": {
"line": 36,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 906,
"end": 947,
"loc": {
"start": {
"line": 35,
"column": 16
},
"end": {
"line": 35,
"column": 57
}
},
"expression": {
"type": "CallExpression",
"start": 906,
"end": 946,
"loc": {
"start": {
"line": 35,
"column": 16
},
"end": {
"line": 35,
"column": 56
}
},
"callee": {
"type": "MemberExpression",
"start": 906,
"end": 936,
"loc": {
"start": {
"line": 35,
"column": 16
},
"end": {
"line": 35,
"column": 46
}
},
"object": {
"type": "MemberExpression",
"start": 906,
"end": 929,
"loc": {
"start": {
"line": 35,
"column": 16
},
"end": {
"line": 35,
"column": 39
}
},
"object": {
"type": "Identifier",
"start": 906,
"end": 919,
"loc": {
"start": {
"line": 35,
"column": 16
},
"end": {
"line": 35,
"column": 29
},
"identifierName": "buttonElement"
},
"name": "buttonElement"
},
"property": {
"type": "Identifier",
"start": 920,
"end": 929,
"loc": {
"start": {
"line": 35,
"column": 30
},
"end": {
"line": 35,
"column": 39
},
"identifierName": "classList"
},
"name": "classList"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 930,
"end": 936,
"loc": {
"start": {
"line": 35,
"column": 40
},
"end": {
"line": 35,
"column": 46
},
"identifierName": "remove"
},
"name": "remove"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 937,
"end": 945,
"loc": {
"start": {
"line": 35,
"column": 47
},
"end": {
"line": 35,
"column": 55
}
},
"extra": {
"rawValue": "active",
"raw": "\"active\""
},
"value": "active"
}
]
}
}
],
"directives": []
}
}
],
"directives": []
}
}
]
}
},
{
"type": "ExpressionStatement",
"start": 983,
"end": 1241,
"loc": {
"start": {
"line": 39,
"column": 8
},
"end": {
"line": 46,
"column": 11
}
},
"expression": {
"type": "CallExpression",
"start": 983,
"end": 1240,
"loc": {
"start": {
"line": 39,
"column": 8
},
"end": {
"line": 46,
"column": 10
}
},
"callee": {
"type": "MemberExpression",
"start": 983,
"end": 1013,
"loc": {
"start": {
"line": 39,
"column": 8
},
"end": {
"line": 39,
"column": 38
}
},
"object": {
"type": "Identifier",
"start": 983,
"end": 996,
"loc": {
"start": {
"line": 39,
"column": 8
},
"end": {
"line": 39,
"column": 21
},
"identifierName": "buttonElement"
},
"name": "buttonElement"
},
"property": {
"type": "Identifier",
"start": 997,
"end": 1013,
"loc": {
"start": {
"line": 39,
"column": 22
},
"end": {
"line": 39,
"column": 38
},
"identifierName": "addEventListener"
},
"name": "addEventListener"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 1014,
"end": 1021,
"loc": {
"start": {
"line": 39,
"column": 39
},
"end": {
"line": 39,
"column": 46
}
},
"extra": {
"rawValue": "click",
"raw": "\"click\""
},
"value": "click"
},
{
"type": "ArrowFunctionExpression",
"start": 1023,
"end": 1239,
"loc": {
"start": {
"line": 39,
"column": 48
},
"end": {
"line": 46,
"column": 9
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 1024,
"end": 1029,
"loc": {
"start": {
"line": 39,
"column": 49
},
"end": {
"line": 39,
"column": 54
},
"identifierName": "event"
},
"name": "event"
}
],
"body": {
"type": "BlockStatement",
"start": 1034,
"end": 1239,
"loc": {
"start": {
"line": 39,
"column": 59
},
"end": {
"line": 46,
"column": 9
}
},
"body": [
{
"type": "IfStatement",
"start": 1048,
"end": 1111,
"loc": {
"start": {
"line": 40,
"column": 12
},
"end": {
"line": 42,
"column": 13
}
},
"test": {
"type": "UnaryExpression",
"start": 1052,
"end": 1070,
"loc": {
"start": {
"line": 40,
"column": 16
},
"end": {
"line": 40,
"column": 34
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "CallExpression",
"start": 1053,
"end": 1070,
"loc": {
"start": {
"line": 40,
"column": 17
},
"end": {
"line": 40,
"column": 34
}
},
"callee": {
"type": "MemberExpression",
"start": 1053,
"end": 1068,
"loc": {
"start": {
"line": 40,
"column": 17
},
"end": {
"line": 40,
"column": 32
}
},
"object": {
"type": "ThisExpression",
"start": 1053,
"end": 1057,
"loc": {
"start": {
"line": 40,
"column": 17
},
"end": {
"line": 40,
"column": 21
}
}
},
"property": {
"type": "Identifier",
"start": 1058,
"end": 1068,
"loc": {
"start": {
"line": 40,
"column": 22
},
"end": {
"line": 40,
"column": 32
},
"identifierName": "getEnabled"
},
"name": "getEnabled"
},
"computed": false
},
"arguments": []
},
"extra": {
"parenthesizedArgument": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 1072,
"end": 1111,
"loc": {
"start": {
"line": 40,
"column": 36
},
"end": {
"line": 42,
"column": 13
}
},
"body": [
{
"type": "ReturnStatement",
"start": 1090,
"end": 1097,
"loc": {
"start": {
"line": 41,
"column": 16
},
"end": {
"line": 41,
"column": 23
}
},
"argument": null
}
],
"directives": []
},
"alternate": null
},
{
"type": "VariableDeclaration",
"start": 1124,
"end": 1156,
"loc": {
"start": {
"line": 43,
"column": 12
},
"end": {
"line": 43,
"column": 44
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1130,
"end": 1155,
"loc": {
"start": {
"line": 43,
"column": 18
},
"end": {
"line": 43,
"column": 43
}
},
"id": {
"type": "Identifier",
"start": 1130,
"end": 1136,
"loc": {
"start": {
"line": 43,
"column": 18
},
"end": {
"line": 43,
"column": 24
},
"identifierName": "active"
},
"name": "active"
},
"init": {
"type": "CallExpression",
"start": 1139,
"end": 1155,
"loc": {
"start": {
"line": 43,
"column": 27
},
"end": {
"line": 43,
"column": 43
}
},
"callee": {
"type": "MemberExpression",
"start": 1139,
"end": 1153,
"loc": {
"start": {
"line": 43,
"column": 27
},
"end": {
"line": 43,
"column": 41
}
},
"object": {
"type": "ThisExpression",
"start": 1139,
"end": 1143,
"loc": {
"start": {
"line": 43,
"column": 27
},
"end": {
"line": 43,
"column": 31
}
}
},
"property": {
"type": "Identifier",
"start": 1144,
"end": 1153,
"loc": {
"start": {
"line": 43,
"column": 32
},
"end": {
"line": 43,
"column": 41
},
"identifierName": "getActive"
},
"name": "getActive"
},
"computed": false
},
"arguments": []
}
}
],
"kind": "const"
},
{
"type": "ExpressionStatement",
"start": 1169,
"end": 1193,
"loc": {
"start": {
"line": 44,
"column": 12
},
"end": {
"line": 44,
"column": 36
}
},
"expression": {
"type": "CallExpression",
"start": 1169,
"end": 1192,
"loc": {
"start": {
"line": 44,
"column": 12
},
"end": {
"line": 44,
"column": 35
}
},
"callee": {
"type": "MemberExpression",
"start": 1169,
"end": 1183,
"loc": {
"start": {
"line": 44,
"column": 12
},
"end": {
"line": 44,
"column": 26
}
},
"object": {
"type": "ThisExpression",
"start": 1169,
"end": 1173,
"loc": {
"start": {
"line": 44,
"column": 12
},
"end": {
"line": 44,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 1174,
"end": 1183,
"loc": {
"start": {
"line": 44,
"column": 17
},
"end": {
"line": 44,
"column": 26
},
"identifierName": "setActive"
},
"name": "setActive"
},
"computed": false
},
"arguments": [
{
"type": "UnaryExpression",
"start": 1184,
"end": 1191,
"loc": {
"start": {
"line": 44,
"column": 27
},
"end": {
"line": 44,
"column": 34
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 1185,
"end": 1191,
"loc": {
"start": {
"line": 44,
"column": 28
},
"end": {
"line": 44,
"column": 34
},
"identifierName": "active"
},
"name": "active"
},
"extra": {
"parenthesizedArgument": false
}
}
]
}
},
{
"type": "ExpressionStatement",
"start": 1206,
"end": 1229,
"loc": {
"start": {
"line": 45,
"column": 12
},
"end": {
"line": 45,
"column": 35
}
},
"expression": {
"type": "CallExpression",
"start": 1206,
"end": 1228,
"loc": {
"start": {
"line": 45,
"column": 12
},
"end": {
"line": 45,
"column": 34
}
},
"callee": {
"type": "MemberExpression",
"start": 1206,
"end": 1226,
"loc": {
"start": {
"line": 45,
"column": 12
},
"end": {
"line": 45,
"column": 32
}
},
"object": {
"type": "Identifier",
"start": 1206,
"end": 1211,
"loc": {
"start": {
"line": 45,
"column": 12
},
"end": {
"line": 45,
"column": 17
},
"identifierName": "event"
},
"name": "event"
},
"property": {
"type": "Identifier",
"start": 1212,
"end": 1226,
"loc": {
"start": {
"line": 45,
"column": 18
},
"end": {
"line": 45,
"column": 32
},
"identifierName": "preventDefault"
},
"name": "preventDefault"
},
"computed": false
},
"arguments": []
}
}
],
"directives": []
}
}
]
}
},
{
"type": "ExpressionStatement",
"start": 1251,
"end": 1331,
"loc": {
"start": {
"line": 48,
"column": 8
},
"end": {
"line": 50,
"column": 11
}
},
"expression": {
"type": "CallExpression",
"start": 1251,
"end": 1330,
"loc": {
"start": {
"line": 48,
"column": 8
},
"end": {
"line": 50,
"column": 10
}
},
"callee": {
"type": "MemberExpression",
"start": 1251,
"end": 1267,
"loc": {
"start": {
"line": 48,
"column": 8
},
"end": {
"line": 48,
"column": 24
}
},
"object": {
"type": "MemberExpression",
"start": 1251,
"end": 1264,
"loc": {
"start": {
"line": 48,
"column": 8
},
"end": {
"line": 48,
"column": 21
}
},
"object": {
"type": "ThisExpression",
"start": 1251,
"end": 1255,
"loc": {
"start": {
"line": 48,
"column": 8
},
"end": {
"line": 48,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 1256,
"end": 1264,
"loc": {
"start": {
"line": 48,
"column": 13
},
"end": {
"line": 48,
"column": 21
},
"identifierName": "viewerUI"
},
"name": "viewerUI"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1265,
"end": 1267,
"loc": {
"start": {
"line": 48,
"column": 22
},
"end": {
"line": 48,
"column": 24
},
"identifierName": "on"
},
"name": "on"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 1268,
"end": 1275,
"loc": {
"start": {
"line": 48,
"column": 25
},
"end": {
"line": 48,
"column": 32
}
},
"extra": {
"rawValue": "reset",
"raw": "\"reset\""
},
"value": "reset"
},
{
"type": "ArrowFunctionExpression",
"start": 1277,
"end": 1329,
"loc": {
"start": {
"line": 48,
"column": 34
},
"end": {
"line": 50,
"column": 9
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 1283,
"end": 1329,
"loc": {
"start": {
"line": 48,
"column": 40
},
"end": {
"line": 50,
"column": 9
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 1297,
"end": 1319,
"loc": {
"start": {
"line": 49,
"column": 12
},
"end": {
"line": 49,
"column": 34
}
},
"expression": {
"type": "CallExpression",
"start": 1297,
"end": 1318,
"loc": {
"start": {
"line": 49,
"column": 12
},
"end": {
"line": 49,
"column": 33
}
},
"callee": {
"type": "MemberExpression",
"start": 1297,
"end": 1311,
"loc": {
"start": {
"line": 49,
"column": 12
},
"end": {
"line": 49,
"column": 26
}
},
"object": {
"type": "ThisExpression",
"start": 1297,
"end": 1301,
"loc": {
"start": {
"line": 49,
"column": 12
},
"end": {
"line": 49,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 1302,
"end": 1311,
"loc": {
"start": {
"line": 49,
"column": 17
},
"end": {
"line": 49,
"column": 26
},
"identifierName": "setActive"
},
"name": "setActive"
},
"computed": false
},
"arguments": [
{
"type": "BooleanLiteral",
"start": 1312,
"end": 1317,
"loc": {
"start": {
"line": 49,
"column": 27
},
"end": {
"line": 49,
"column": 32
}
},
"value": false
}
]
}
}
],
"directives": []
}
}
]
}
},
{
"type": "ExpressionStatement",
"start": 1341,
"end": 1365,
"loc": {
"start": {
"line": 52,
"column": 8
},
"end": {
"line": 52,
"column": 32
}
},
"expression": {
"type": "CallExpression",
"start": 1341,
"end": 1364,
"loc": {
"start": {
"line": 52,
"column": 8
},
"end": {
"line": 52,
"column": 31
}
},
"callee": {
"type": "MemberExpression",
"start": 1341,
"end": 1362,
"loc": {
"start": {
"line": 52,
"column": 8
},
"end": {
"line": 52,
"column": 29
}
},
"object": {
"type": "ThisExpression",
"start": 1341,
"end": 1345,
"loc": {
"start": {
"line": 52,
"column": 8
},
"end": {
"line": 52,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 1346,
"end": 1362,
"loc": {
"start": {
"line": 52,
"column": 13
},
"end": {
"line": 52,
"column": 29
},
"identifierName": "_initSectionMode"
},
"name": "_initSectionMode"
},
"computed": false
},
"arguments": []
}
}
],
"directives": []
}
},
{
"type": "ClassMethod",
"start": 1377,
"end": 2906,
"loc": {
"start": {
"line": 55,
"column": 4
},
"end": {
"line": 100,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1377,
"end": 1393,
"loc": {
"start": {
"line": 55,
"column": 4
},
"end": {
"line": 55,
"column": 20
},
"identifierName": "_initSectionMode"
},
"name": "_initSectionMode"
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 1396,
"end": 2906,
"loc": {
"start": {
"line": 55,
"column": 23
},
"end": {
"line": 100,
"column": 5
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 1406,
"end": 1433,
"loc": {
"start": {
"line": 56,
"column": 8
},
"end": {
"line": 56,
"column": 35
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1412,
"end": 1432,
"loc": {
"start": {
"line": 56,
"column": 14
},
"end": {
"line": 56,
"column": 34
}
},
"id": {
"type": "Identifier",
"start": 1412,
"end": 1418,
"loc": {
"start": {
"line": 56,
"column": 14
},
"end": {
"line": 56,
"column": 20
},
"identifierName": "viewer"
},
"name": "viewer"
},
"init": {
"type": "MemberExpression",
"start": 1421,
"end": 1432,
"loc": {
"start": {
"line": 56,
"column": 23
},
"end": {
"line": 56,
"column": 34
}
},
"object": {
"type": "ThisExpression",
"start": 1421,
"end": 1425,
"loc": {
"start": {
"line": 56,
"column": 23
},
"end": {
"line": 56,
"column": 27
}
}
},
"property": {
"type": "Identifier",
"start": 1426,
"end": 1432,
"loc": {
"start": {
"line": 56,
"column": 28
},
"end": {
"line": 56,
"column": 34
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 1442,
"end": 1485,
"loc": {
"start": {
"line": 57,
"column": 8
},
"end": {
"line": 57,
"column": 51
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1448,
"end": 1484,
"loc": {
"start": {
"line": 57,
"column": 14
},
"end": {
"line": 57,
"column": 50
}
},
"id": {
"type": "Identifier",
"start": 1448,
"end": 1461,
"loc": {
"start": {
"line": 57,
"column": 14
},
"end": {
"line": 57,
"column": 27
},
"identifierName": "cameraControl"
},
"name": "cameraControl"
},
"init": {
"type": "MemberExpression",
"start": 1464,
"end": 1484,
"loc": {
"start": {
"line": 57,
"column": 30
},
"end": {
"line": 57,
"column": 50
}
},
"object": {
"type": "Identifier",
"start": 1464,
"end": 1470,
"loc": {
"start": {
"line": 57,
"column": 30
},
"end": {
"line": 57,
"column": 36
},
"identifierName": "viewer"
},
"name": "viewer"
},
"property": {
"type": "Identifier",
"start": 1471,
"end": 1484,
"loc": {
"start": {
"line": 57,
"column": 37
},
"end": {
"line": 57,
"column": 50
},
"identifierName": "cameraControl"
},
"name": "cameraControl"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "VariableDeclaration",
"start": 1494,
"end": 1512,
"loc": {
"start": {
"line": 58,
"column": 8
},
"end": {
"line": 58,
"column": 26
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1498,
"end": 1511,
"loc": {
"start": {
"line": 58,
"column": 12
},
"end": {
"line": 58,
"column": 25
}
},
"id": {
"type": "Identifier",
"start": 1498,
"end": 1504,
"loc": {
"start": {
"line": 58,
"column": 12
},
"end": {
"line": 58,
"column": 18
},
"identifierName": "entity"
},
"name": "entity"
},
"init": {
"type": "NullLiteral",
"start": 1507,
"end": 1511,
"loc": {
"start": {
"line": 58,
"column": 21
},
"end": {
"line": 58,
"column": 25
}
}
}
}
],
"kind": "var"
},
{
"type": "ExpressionStatement",
"start": 1521,
"end": 1865,
"loc": {
"start": {
"line": 59,
"column": 8
},
"end": {
"line": 69,
"column": 11
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1521,
"end": 1864,
"loc": {
"start": {
"line": 59,
"column": 8
},
"end": {
"line": 69,
"column": 10
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 1521,
"end": 1534,
"loc": {
"start": {
"line": 59,
"column": 8
},
"end": {
"line": 59,
"column": 21
}
},
"object": {
"type": "ThisExpression",
"start": 1521,
"end": 1525,
"loc": {
"start": {
"line": 59,
"column": 8
},
"end": {
"line": 59,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 1526,
"end": 1534,
"loc": {
"start": {
"line": 59,
"column": 13
},
"end": {
"line": 59,
"column": 21
},
"identifierName": "_onHover"
},
"name": "_onHover"
},
"computed": false
},
"right": {
"type": "CallExpression",
"start": 1537,
"end": 1864,
"loc": {
"start": {
"line": 59,
"column": 24
},
"end": {
"line": 69,
"column": 10
}
},
"callee": {
"type": "MemberExpression",
"start": 1537,
"end": 1553,
"loc": {
"start": {
"line": 59,
"column": 24
},
"end": {
"line": 59,
"column": 40
}
},
"object": {
"type": "Identifier",
"start": 1537,
"end": 1550,
"loc": {
"start": {
"line": 59,
"column": 24
},
"end": {
"line": 59,
"column": 37
},
"identifierName": "cameraControl"
},
"name": "cameraControl"
},
"property": {
"type": "Identifier",
"start": 1551,
"end": 1553,
"loc": {
"start": {
"line": 59,
"column": 38
},
"end": {
"line": 59,
"column": 40
},
"identifierName": "on"
},
"name": "on"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 1554,
"end": 1561,
"loc": {
"start": {
"line": 59,
"column": 41
},
"end": {
"line": 59,
"column": 48
}
},
"extra": {
"rawValue": "hover",
"raw": "\"hover\""
},
"value": "hover"
},
{
"type": "ArrowFunctionExpression",
"start": 1563,
"end": 1863,
"loc": {
"start": {
"line": 59,
"column": 50
},
"end": {
"line": 69,
"column": 9
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 1564,
"end": 1565,
"loc": {
"start": {
"line": 59,
"column": 51
},
"end": {
"line": 59,
"column": 52
},
"identifierName": "e"
},
"name": "e"
}
],
"body": {
"type": "BlockStatement",
"start": 1570,
"end": 1863,
"loc": {
"start": {
"line": 59,
"column": 57
},
"end": {
"line": 69,
"column": 9
}
},
"body": [
{
"type": "IfStatement",
"start": 1584,
"end": 1668,
"loc": {
"start": {
"line": 60,
"column": 12
},
"end": {
"line": 62,
"column": 13
}
},
"test": {
"type": "LogicalExpression",
"start": 1588,
"end": 1627,
"loc": {
"start": {
"line": 60,
"column": 16
},
"end": {
"line": 60,
"column": 55
}
},
"left": {
"type": "UnaryExpression",
"start": 1588,
"end": 1605,
"loc": {
"start": {
"line": 60,
"column": 16
},
"end": {
"line": 60,
"column": 33
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "CallExpression",
"start": 1589,
"end": 1605,
"loc": {
"start": {
"line": 60,
"column": 17
},
"end": {
"line": 60,
"column": 33
}
},
"callee": {
"type": "MemberExpression",
"start": 1589,
"end": 1603,
"loc": {
"start": {
"line": 60,
"column": 17
},
"end": {
"line": 60,
"column": 31
}
},
"object": {
"type": "ThisExpression",
"start": 1589,
"end": 1593,
"loc": {
"start": {
"line": 60,
"column": 17
},
"end": {
"line": 60,
"column": 21
}
}
},
"property": {
"type": "Identifier",
"start": 1594,
"end": 1603,
"loc": {
"start": {
"line": 60,
"column": 22
},
"end": {
"line": 60,
"column": 31
},
"identifierName": "getActive"
},
"name": "getActive"
},
"computed": false
},
"arguments": []
},
"extra": {
"parenthesizedArgument": false
}
},
"operator": "||",
"right": {
"type": "UnaryExpression",
"start": 1609,
"end": 1627,
"loc": {
"start": {
"line": 60,
"column": 37
},
"end": {
"line": 60,
"column": 55
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "CallExpression",
"start": 1610,
"end": 1627,
"loc": {
"start": {
"line": 60,
"column": 38
},
"end": {
"line": 60,
"column": 55
}
},
"callee": {
"type": "MemberExpression",
"start": 1610,
"end": 1625,
"loc": {
"start": {
"line": 60,
"column": 38
},
"end": {
"line": 60,
"column": 53
}
},
"object": {
"type": "ThisExpression",
"start": 1610,
"end": 1614,
"loc": {
"start": {
"line": 60,
"column": 38
},
"end": {
"line": 60,
"column": 42
}
}
},
"property": {
"type": "Identifier",
"start": 1615,
"end": 1625,
"loc": {
"start": {
"line": 60,
"column": 43
},
"end": {
"line": 60,
"column": 53
},
"identifierName": "getEnabled"
},
"name": "getEnabled"
},
"computed": false
},
"arguments": []
},
"extra": {
"parenthesizedArgument": false
}
}
},
"consequent": {
"type": "BlockStatement",
"start": 1629,
"end": 1668,
"loc": {
"start": {
"line": 60,
"column": 57
},
"end": {
"line": 62,
"column": 13
}
},
"body": [
{
"type": "ReturnStatement",
"start": 1647,
"end": 1654,
"loc": {
"start": {
"line": 61,
"column": 16
},
"end": {
"line": 61,
"column": 23
}
},
"argument": null
}
],
"directives": []
},
"alternate": null
},
{
"type": "IfStatement",
"start": 1681,
"end": 1783,
"loc": {
"start": {
"line": 63,
"column": 12
},
"end": {
"line": 66,
"column": 13
}
},
"test": {
"type": "Identifier",
"start": 1685,
"end": 1691,
"loc": {
"start": {
"line": 63,
"column": 16
},
"end": {
"line": 63,
"column": 22
},
"identifierName": "entity"
},
"name": "entity"
},
"consequent": {
"type": "BlockStatement",
"start": 1693,
"end": 1783,
"loc": {
"start": {
"line": 63,
"column": 24
},
"end": {
"line": 66,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 1711,
"end": 1738,
"loc": {
"start": {
"line": 64,
"column": 16
},
"end": {
"line": 64,
"column": 43
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1711,
"end": 1737,
"loc": {
"start": {
"line": 64,
"column": 16
},
"end": {
"line": 64,
"column": 42
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 1711,
"end": 1729,
"loc": {
"start": {
"line": 64,
"column": 16
},
"end": {
"line": 64,
"column": 34
}
},
"object": {
"type": "Identifier",
"start": 1711,
"end": 1717,
"loc": {
"start": {
"line": 64,
"column": 16
},
"end": {
"line": 64,
"column": 22
},
"identifierName": "entity"
},
"name": "entity"
},
"property": {
"type": "Identifier",
"start": 1718,
"end": 1729,
"loc": {
"start": {
"line": 64,
"column": 23
},
"end": {
"line": 64,
"column": 34
},
"identifierName": "highlighted"
},
"name": "highlighted"
},
"computed": false
},
"right": {
"type": "BooleanLiteral",
"start": 1732,
"end": 1737,
"loc": {
"start": {
"line": 64,
"column": 37
},
"end": {
"line": 64,
"column": 42
}
},
"value": false
}
}
},
{
"type": "ExpressionStatement",
"start": 1755,
"end": 1769,
"loc": {
"start": {
"line": 65,
"column": 16
},
"end": {
"line": 65,
"column": 30
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1755,
"end": 1768,
"loc": {
"start": {
"line": 65,
"column": 16
},
"end": {
"line": 65,
"column": 29
}
},
"operator": "=",
"left": {
"type": "Identifier",
"start": 1755,
"end": 1761,
"loc": {
"start": {
"line": 65,
"column": 16
},
"end": {
"line": 65,
"column": 22
},
"identifierName": "entity"
},
"name": "entity"
},
"right": {
"type": "NullLiteral",
"start": 1764,
"end": 1768,
"loc": {
"start": {
"line": 65,
"column": 25
},
"end": {
"line": 65,
"column": 29
}
}
}
}
}
],
"directives": []
},
"alternate": null
},
{
"type": "ExpressionStatement",
"start": 1796,
"end": 1814,
"loc": {
"start": {
"line": 67,
"column": 12
},
"end": {
"line": 67,
"column": 30
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1796,
"end": 1813,
"loc": {
"start": {
"line": 67,
"column": 12
},
"end": {
"line": 67,
"column": 29
}
},
"operator": "=",
"left": {
"type": "Identifier",
"start": 1796,
"end": 1802,
"loc": {
"start": {
"line": 67,
"column": 12
},
"end": {
"line": 67,
"column": 18
},
"identifierName": "entity"
},
"name": "entity"
},
"right": {
"type": "MemberExpression",
"start": 1805,
"end": 1813,
"loc": {
"start": {
"line": 67,
"column": 21
},
"end": {
"line": 67,
"column": 29
}
},
"object": {
"type": "Identifier",
"start": 1805,
"end": 1806,
"loc": {
"start": {
"line": 67,
"column": 21
},
"end": {
"line": 67,
"column": 22
},
"identifierName": "e"
},
"name": "e"
},
"property": {
"type": "Identifier",
"start": 1807,
"end": 1813,
"loc": {
"start": {
"line": 67,
"column": 23
},
"end": {
"line": 67,
"column": 29
},
"identifierName": "entity"
},
"name": "entity"
},
"computed": false
}
}
},
{
"type": "ExpressionStatement",
"start": 1827,
"end": 1853,
"loc": {
"start": {
"line": 68,
"column": 12
},
"end": {
"line": 68,
"column": 38
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1827,
"end": 1852,
"loc": {
"start": {
"line": 68,
"column": 12
},
"end": {
"line": 68,
"column": 37
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 1827,
"end": 1845,
"loc": {
"start": {
"line": 68,
"column": 12
},
"end": {
"line": 68,
"column": 30
}
},
"object": {
"type": "Identifier",
"start": 1827,
"end": 1833,
"loc": {
"start": {
"line": 68,
"column": 12
},
"end": {
"line": 68,
"column": 18
},
"identifierName": "entity"
},
"name": "entity"
},
"property": {
"type": "Identifier",
"start": 1834,
"end": 1845,
"loc": {
"start": {
"line": 68,
"column": 19
},
"end": {
"line": 68,
"column": 30
},
"identifierName": "highlighted"
},
"name": "highlighted"
},
"computed": false
},
"right": {
"type": "BooleanLiteral",
"start": 1848,
"end": 1852,
"loc": {
"start": {
"line": 68,
"column": 33
},
"end": {
"line": 68,
"column": 37
}
},
"value": true
}
}
}
],
"directives": []
}
}
]
}
}
},
{
"type": "ExpressionStatement",
"start": 1874,
"end": 2154,
"loc": {
"start": {
"line": 70,
"column": 8
},
"end": {
"line": 78,
"column": 11
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1874,
"end": 2153,
"loc": {
"start": {
"line": 70,
"column": 8
},
"end": {
"line": 78,
"column": 10
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 1874,
"end": 1890,
"loc": {
"start": {
"line": 70,
"column": 8
},
"end": {
"line": 70,
"column": 24
}
},
"object": {
"type": "ThisExpression",
"start": 1874,
"end": 1878,
"loc": {
"start": {
"line": 70,
"column": 8
},
"end": {
"line": 70,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 1879,
"end": 1890,
"loc": {
"start": {
"line": 70,
"column": 13
},
"end": {
"line": 70,
"column": 24
},
"identifierName": "_onHoverOff"
},
"name": "_onHoverOff"
},
"computed": false
},
"right": {
"type": "CallExpression",
"start": 1893,
"end": 2153,
"loc": {
"start": {
"line": 70,
"column": 27
},
"end": {
"line": 78,
"column": 10
}
},
"callee": {
"type": "MemberExpression",
"start": 1893,
"end": 1909,
"loc": {
"start": {
"line": 70,
"column": 27
},
"end": {
"line": 70,
"column": 43
}
},
"object": {
"type": "Identifier",
"start": 1893,
"end": 1906,
"loc": {
"start": {
"line": 70,
"column": 27
},
"end": {
"line": 70,
"column": 40
},
"identifierName": "cameraControl"
},
"name": "cameraControl"
},
"property": {
"type": "Identifier",
"start": 1907,
"end": 1909,
"loc": {
"start": {
"line": 70,
"column": 41
},
"end": {
"line": 70,
"column": 43
},
"identifierName": "on"
},
"name": "on"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 1910,
"end": 1920,
"loc": {
"start": {
"line": 70,
"column": 44
},
"end": {
"line": 70,
"column": 54
}
},
"extra": {
"rawValue": "hoverOff",
"raw": "\"hoverOff\""
},
"value": "hoverOff"
},
{
"type": "ArrowFunctionExpression",
"start": 1922,
"end": 2152,
"loc": {
"start": {
"line": 70,
"column": 56
},
"end": {
"line": 78,
"column": 9
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 1923,
"end": 1924,
"loc": {
"start": {
"line": 70,
"column": 57
},
"end": {
"line": 70,
"column": 58
},
"identifierName": "e"
},
"name": "e"
}
],
"body": {
"type": "BlockStatement",
"start": 1929,
"end": 2152,
"loc": {
"start": {
"line": 70,
"column": 63
},
"end": {
"line": 78,
"column": 9
}
},
"body": [
{
"type": "IfStatement",
"start": 1943,
"end": 2027,
"loc": {
"start": {
"line": 71,
"column": 12
},
"end": {
"line": 73,
"column": 13
}
},
"test": {
"type": "LogicalExpression",
"start": 1947,
"end": 1986,
"loc": {
"start": {
"line": 71,
"column": 16
},
"end": {
"line": 71,
"column": 55
}
},
"left": {
"type": "UnaryExpression",
"start": 1947,
"end": 1964,
"loc": {
"start": {
"line": 71,
"column": 16
},
"end": {
"line": 71,
"column": 33
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "CallExpression",
"start": 1948,
"end": 1964,
"loc": {
"start": {
"line": 71,
"column": 17
},
"end": {
"line": 71,
"column": 33
}
},
"callee": {
"type": "MemberExpression",
"start": 1948,
"end": 1962,
"loc": {
"start": {
"line": 71,
"column": 17
},
"end": {
"line": 71,
"column": 31
}
},
"object": {
"type": "ThisExpression",
"start": 1948,
"end": 1952,
"loc": {
"start": {
"line": 71,
"column": 17
},
"end": {
"line": 71,
"column": 21
}
}
},
"property": {
"type": "Identifier",
"start": 1953,
"end": 1962,
"loc": {
"start": {
"line": 71,
"column": 22
},
"end": {
"line": 71,
"column": 31
},
"identifierName": "getActive"
},
"name": "getActive"
},
"computed": false
},
"arguments": []
},
"extra": {
"parenthesizedArgument": false
}
},
"operator": "||",
"right": {
"type": "UnaryExpression",
"start": 1968,
"end": 1986,
"loc": {
"start": {
"line": 71,
"column": 37
},
"end": {
"line": 71,
"column": 55
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "CallExpression",
"start": 1969,
"end": 1986,
"loc": {
"start": {
"line": 71,
"column": 38
},
"end": {
"line": 71,
"column": 55
}
},
"callee": {
"type": "MemberExpression",
"start": 1969,
"end": 1984,
"loc": {
"start": {
"line": 71,
"column": 38
},
"end": {
"line": 71,
"column": 53
}
},
"object": {
"type": "ThisExpression",
"start": 1969,
"end": 1973,
"loc": {
"start": {
"line": 71,
"column": 38
},
"end": {
"line": 71,
"column": 42
}
}
},
"property": {
"type": "Identifier",
"start": 1974,
"end": 1984,
"loc": {
"start": {
"line": 71,
"column": 43
},
"end": {
"line": 71,
"column": 53
},
"identifierName": "getEnabled"
},
"name": "getEnabled"
},
"computed": false
},
"arguments": []
},
"extra": {
"parenthesizedArgument": false
}
}
},
"consequent": {
"type": "BlockStatement",
"start": 1988,
"end": 2027,
"loc": {
"start": {
"line": 71,
"column": 57
},
"end": {
"line": 73,
"column": 13
}
},
"body": [
{
"type": "ReturnStatement",
"start": 2006,
"end": 2013,
"loc": {
"start": {
"line": 72,
"column": 16
},
"end": {
"line": 72,
"column": 23
}
},
"argument": null
}
],
"directives": []
},
"alternate": null
},
{
"type": "IfStatement",
"start": 2040,
"end": 2142,
"loc": {
"start": {
"line": 74,
"column": 12
},
"end": {
"line": 77,
"column": 13
}
},
"test": {
"type": "Identifier",
"start": 2044,
"end": 2050,
"loc": {
"start": {
"line": 74,
"column": 16
},
"end": {
"line": 74,
"column": 22
},
"identifierName": "entity"
},
"name": "entity"
},
"consequent": {
"type": "BlockStatement",
"start": 2052,
"end": 2142,
"loc": {
"start": {
"line": 74,
"column": 24
},
"end": {
"line": 77,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 2070,
"end": 2097,
"loc": {
"start": {
"line": 75,
"column": 16
},
"end": {
"line": 75,
"column": 43
}
},
"expression": {
"type": "AssignmentExpression",
"start": 2070,
"end": 2096,
"loc": {
"start": {
"line": 75,
"column": 16
},
"end": {
"line": 75,
"column": 42
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 2070,
"end": 2088,
"loc": {
"start": {
"line": 75,
"column": 16
},
"end": {
"line": 75,
"column": 34
}
},
"object": {
"type": "Identifier",
"start": 2070,
"end": 2076,
"loc": {
"start": {
"line": 75,
"column": 16
},
"end": {
"line": 75,
"column": 22
},
"identifierName": "entity"
},
"name": "entity"
},
"property": {
"type": "Identifier",
"start": 2077,
"end": 2088,
"loc": {
"start": {
"line": 75,
"column": 23
},
"end": {
"line": 75,
"column": 34
},
"identifierName": "highlighted"
},
"name": "highlighted"
},
"computed": false
},
"right": {
"type": "BooleanLiteral",
"start": 2091,
"end": 2096,
"loc": {
"start": {
"line": 75,
"column": 37
},
"end": {
"line": 75,
"column": 42
}
},
"value": false
}
}
},
{
"type": "ExpressionStatement",
"start": 2114,
"end": 2128,
"loc": {
"start": {
"line": 76,
"column": 16
},
"end": {
"line": 76,
"column": 30
}
},
"expression": {
"type": "AssignmentExpression",
"start": 2114,
"end": 2127,
"loc": {
"start": {
"line": 76,
"column": 16
},
"end": {
"line": 76,
"column": 29
}
},
"operator": "=",
"left": {
"type": "Identifier",
"start": 2114,
"end": 2120,
"loc": {
"start": {
"line": 76,
"column": 16
},
"end": {
"line": 76,
"column": 22
},
"identifierName": "entity"
},
"name": "entity"
},
"right": {
"type": "NullLiteral",
"start": 2123,
"end": 2127,
"loc": {
"start": {
"line": 76,
"column": 25
},
"end": {
"line": 76,
"column": 29
}
}
}
}
}
],
"directives": []
},
"alternate": null
}
],
"directives": []
}
}
]
}
}
},
{
"type": "VariableDeclaration",
"start": 2163,
"end": 2194,
"loc": {
"start": {
"line": 79,
"column": 8
},
"end": {
"line": 79,
"column": 39
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 2169,
"end": 2193,
"loc": {
"start": {
"line": 79,
"column": 14
},
"end": {
"line": 79,
"column": 38
}
},
"id": {
"type": "Identifier",
"start": 2169,
"end": 2179,
"loc": {
"start": {
"line": 79,
"column": 14
},
"end": {
"line": 79,
"column": 24
},
"identifierName": "lastCoords"
},
"name": "lastCoords"
},
"init": {
"type": "CallExpression",
"start": 2182,
"end": 2193,
"loc": {
"start": {
"line": 79,
"column": 27
},
"end": {
"line": 79,
"column": 38
}
},
"callee": {
"type": "MemberExpression",
"start": 2182,
"end": 2191,
"loc": {
"start": {
"line": 79,
"column": 27
},
"end": {
"line": 79,
"column": 36
}
},
"object": {
"type": "Identifier",
"start": 2182,
"end": 2186,
"loc": {
"start": {
"line": 79,
"column": 27
},
"end": {
"line": 79,
"column": 31
},
"identifierName": "math"
},
"name": "math"
},
"property": {
"type": "Identifier",
"start": 2187,
"end": 2191,
"loc": {
"start": {
"line": 79,
"column": 32
},
"end": {
"line": 79,
"column": 36
},
"identifierName": "vec2"
},
"name": "vec2"
},
"computed": false
},
"arguments": []
}
}
],
"kind": "const"
},
{
"type": "ExpressionStatement",
"start": 2203,
"end": 2458,
"loc": {
"start": {
"line": 80,
"column": 8
},
"end": {
"line": 86,
"column": 11
}
},
"expression": {
"type": "AssignmentExpression",
"start": 2203,
"end": 2457,
"loc": {
"start": {
"line": 80,
"column": 8
},
"end": {
"line": 86,
"column": 10
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 2203,
"end": 2220,
"loc": {
"start": {
"line": 80,
"column": 8
},
"end": {
"line": 80,
"column": 25
}
},
"object": {
"type": "ThisExpression",
"start": 2203,
"end": 2207,
"loc": {
"start": {
"line": 80,
"column": 8
},
"end": {
"line": 80,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 2208,
"end": 2220,
"loc": {
"start": {
"line": 80,
"column": 13
},
"end": {
"line": 80,
"column": 25
},
"identifierName": "_onMousedown"
},
"name": "_onMousedown"
},
"computed": false
},
"right": {
"type": "CallExpression",
"start": 2223,
"end": 2457,
"loc": {
"start": {
"line": 80,
"column": 28
},
"end": {
"line": 86,
"column": 10
}
},
"callee": {
"type": "MemberExpression",
"start": 2223,
"end": 2244,
"loc": {
"start": {
"line": 80,
"column": 28
},
"end": {
"line": 80,
"column": 49
}
},
"object": {
"type": "MemberExpression",
"start": 2223,
"end": 2241,
"loc": {
"start": {
"line": 80,
"column": 28
},
"end": {
"line": 80,
"column": 46
}
},
"object": {
"type": "MemberExpression",
"start": 2223,
"end": 2235,
"loc": {
"start": {
"line": 80,
"column": 28
},
"end": {
"line": 80,
"column": 40
}
},
"object": {
"type": "Identifier",
"start": 2223,
"end": 2229,
"loc": {
"start": {
"line": 80,
"column": 28
},
"end": {
"line": 80,
"column": 34
},
"identifierName": "viewer"
},
"name": "viewer"
},
"property": {
"type": "Identifier",
"start": 2230,
"end": 2235,
"loc": {
"start": {
"line": 80,
"column": 35
},
"end": {
"line": 80,
"column": 40
},
"identifierName": "scene"
},
"name": "scene"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2236,
"end": 2241,
"loc": {
"start": {
"line": 80,
"column": 41
},
"end": {
"line": 80,
"column": 46
},
"identifierName": "input"
},
"name": "input"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2242,
"end": 2244,
"loc": {
"start": {
"line": 80,
"column": 47
},
"end": {
"line": 80,
"column": 49
},
"identifierName": "on"
},
"name": "on"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 2245,
"end": 2256,
"loc": {
"start": {
"line": 80,
"column": 50
},
"end": {
"line": 80,
"column": 61
}
},
"extra": {
"rawValue": "mousedown",
"raw": "\"mousedown\""
},
"value": "mousedown"
},
{
"type": "ArrowFunctionExpression",
"start": 2258,
"end": 2456,
"loc": {
"start": {
"line": 80,
"column": 63
},
"end": {
"line": 86,
"column": 9
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 2259,
"end": 2265,
"loc": {
"start": {
"line": 80,
"column": 64
},
"end": {
"line": 80,
"column": 70
},
"identifierName": "coords"
},
"name": "coords"
}
],
"body": {
"type": "BlockStatement",
"start": 2270,
"end": 2456,
"loc": {
"start": {
"line": 80,
"column": 75
},
"end": {
"line": 86,
"column": 9
}
},
"body": [
{
"type": "IfStatement",
"start": 2284,
"end": 2368,
"loc": {
"start": {
"line": 81,
"column": 12
},
"end": {
"line": 83,
"column": 13
}
},
"test": {
"type": "LogicalExpression",
"start": 2288,
"end": 2327,
"loc": {
"start": {
"line": 81,
"column": 16
},
"end": {
"line": 81,
"column": 55
}
},
"left": {
"type": "UnaryExpression",
"start": 2288,
"end": 2305,
"loc": {
"start": {
"line": 81,
"column": 16
},
"end": {
"line": 81,
"column": 33
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "CallExpression",
"start": 2289,
"end": 2305,
"loc": {
"start": {
"line": 81,
"column": 17
},
"end": {
"line": 81,
"column": 33
}
},
"callee": {
"type": "MemberExpression",
"start": 2289,
"end": 2303,
"loc": {
"start": {
"line": 81,
"column": 17
},
"end": {
"line": 81,
"column": 31
}
},
"object": {
"type": "ThisExpression",
"start": 2289,
"end": 2293,
"loc": {
"start": {
"line": 81,
"column": 17
},
"end": {
"line": 81,
"column": 21
}
}
},
"property": {
"type": "Identifier",
"start": 2294,
"end": 2303,
"loc": {
"start": {
"line": 81,
"column": 22
},
"end": {
"line": 81,
"column": 31
},
"identifierName": "getActive"
},
"name": "getActive"
},
"computed": false
},
"arguments": []
},
"extra": {
"parenthesizedArgument": false
}
},
"operator": "||",
"right": {
"type": "UnaryExpression",
"start": 2309,
"end": 2327,
"loc": {
"start": {
"line": 81,
"column": 37
},
"end": {
"line": 81,
"column": 55
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "CallExpression",
"start": 2310,
"end": 2327,
"loc": {
"start": {
"line": 81,
"column": 38
},
"end": {
"line": 81,
"column": 55
}
},
"callee": {
"type": "MemberExpression",
"start": 2310,
"end": 2325,
"loc": {
"start": {
"line": 81,
"column": 38
},
"end": {
"line": 81,
"column": 53
}
},
"object": {
"type": "ThisExpression",
"start": 2310,
"end": 2314,
"loc": {
"start": {
"line": 81,
"column": 38
},
"end": {
"line": 81,
"column": 42
}
}
},
"property": {
"type": "Identifier",
"start": 2315,
"end": 2325,
"loc": {
"start": {
"line": 81,
"column": 43
},
"end": {
"line": 81,
"column": 53
},
"identifierName": "getEnabled"
},
"name": "getEnabled"
},
"computed": false
},
"arguments": []
},
"extra": {
"parenthesizedArgument": false
}
}
},
"consequent": {
"type": "BlockStatement",
"start": 2329,
"end": 2368,
"loc": {
"start": {
"line": 81,
"column": 57
},
"end": {
"line": 83,
"column": 13
}
},
"body": [
{
"type": "ReturnStatement",
"start": 2347,
"end": 2354,
"loc": {
"start": {
"line": 82,
"column": 16
},
"end": {
"line": 82,
"column": 23
}
},
"argument": null
}
],
"directives": []
},
"alternate": null
},
{
"type": "ExpressionStatement",
"start": 2381,
"end": 2407,
"loc": {
"start": {
"line": 84,
"column": 12
},
"end": {
"line": 84,
"column": 38
}
},
"expression": {
"type": "AssignmentExpression",
"start": 2381,
"end": 2406,
"loc": {
"start": {
"line": 84,
"column": 12
},
"end": {
"line": 84,
"column": 37
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 2381,
"end": 2394,
"loc": {
"start": {
"line": 84,
"column": 12
},
"end": {
"line": 84,
"column": 25
}
},
"object": {
"type": "Identifier",
"start": 2381,
"end": 2391,
"loc": {
"start": {
"line": 84,
"column": 12
},
"end": {
"line": 84,
"column": 22
},
"identifierName": "lastCoords"
},
"name": "lastCoords"
},
"property": {
"type": "NumericLiteral",
"start": 2392,
"end": 2393,
"loc": {
"start": {
"line": 84,
"column": 23
},
"end": {
"line": 84,
"column": 24
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
},
"computed": true
},
"right": {
"type": "MemberExpression",
"start": 2397,
"end": 2406,
"loc": {
"start": {
"line": 84,
"column": 28
},
"end": {
"line": 84,
"column": 37
}
},
"object": {
"type": "Identifier",
"start": 2397,
"end": 2403,
"loc": {
"start": {
"line": 84,
"column": 28
},
"end": {
"line": 84,
"column": 34
},
"identifierName": "coords"
},
"name": "coords"
},
"property": {
"type": "NumericLiteral",
"start": 2404,
"end": 2405,
"loc": {
"start": {
"line": 84,
"column": 35
},
"end": {
"line": 84,
"column": 36
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
},
"computed": true
}
}
},
{
"type": "ExpressionStatement",
"start": 2420,
"end": 2446,
"loc": {
"start": {
"line": 85,
"column": 12
},
"end": {
"line": 85,
"column": 38
}
},
"expression": {
"type": "AssignmentExpression",
"start": 2420,
"end": 2445,
"loc": {
"start": {
"line": 85,
"column": 12
},
"end": {
"line": 85,
"column": 37
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 2420,
"end": 2433,
"loc": {
"start": {
"line": 85,
"column": 12
},
"end": {
"line": 85,
"column": 25
}
},
"object": {
"type": "Identifier",
"start": 2420,
"end": 2430,
"loc": {
"start": {
"line": 85,
"column": 12
},
"end": {
"line": 85,
"column": 22
},
"identifierName": "lastCoords"
},
"name": "lastCoords"
},
"property": {
"type": "NumericLiteral",
"start": 2431,
"end": 2432,
"loc": {
"start": {
"line": 85,
"column": 23
},
"end": {
"line": 85,
"column": 24
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
},
"computed": true
},
"right": {
"type": "MemberExpression",
"start": 2436,
"end": 2445,
"loc": {
"start": {
"line": 85,
"column": 28
},
"end": {
"line": 85,
"column": 37
}
},
"object": {
"type": "Identifier",
"start": 2436,
"end": 2442,
"loc": {
"start": {
"line": 85,
"column": 28
},
"end": {
"line": 85,
"column": 34
},
"identifierName": "coords"
},
"name": "coords"
},
"property": {
"type": "NumericLiteral",
"start": 2443,
"end": 2444,
"loc": {
"start": {
"line": 85,
"column": 35
},
"end": {
"line": 85,
"column": 36
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
},
"computed": true
}
}
}
],
"directives": []
}
}
]
}
}
},
{
"type": "ExpressionStatement",
"start": 2467,
"end": 2900,
"loc": {
"start": {
"line": 87,
"column": 8
},
"end": {
"line": 99,
"column": 11
}
},
"expression": {
"type": "AssignmentExpression",
"start": 2467,
"end": 2899,
"loc": {
"start": {
"line": 87,
"column": 8
},
"end": {
"line": 99,
"column": 10
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 2467,
"end": 2482,
"loc": {
"start": {
"line": 87,
"column": 8
},
"end": {
"line": 87,
"column": 23
}
},
"object": {
"type": "ThisExpression",
"start": 2467,
"end": 2471,
"loc": {
"start": {
"line": 87,
"column": 8
},
"end": {
"line": 87,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 2472,
"end": 2482,
"loc": {
"start": {
"line": 87,
"column": 13
},
"end": {
"line": 87,
"column": 23
},
"identifierName": "_onMouseup"
},
"name": "_onMouseup"
},
"computed": false
},
"right": {
"type": "CallExpression",
"start": 2485,
"end": 2899,
"loc": {
"start": {
"line": 87,
"column": 26
},
"end": {
"line": 99,
"column": 10
}
},
"callee": {
"type": "MemberExpression",
"start": 2485,
"end": 2506,
"loc": {
"start": {
"line": 87,
"column": 26
},
"end": {
"line": 87,
"column": 47
}
},
"object": {
"type": "MemberExpression",
"start": 2485,
"end": 2503,
"loc": {
"start": {
"line": 87,
"column": 26
},
"end": {
"line": 87,
"column": 44
}
},
"object": {
"type": "MemberExpression",
"start": 2485,
"end": 2497,
"loc": {
"start": {
"line": 87,
"column": 26
},
"end": {
"line": 87,
"column": 38
}
},
"object": {
"type": "Identifier",
"start": 2485,
"end": 2491,
"loc": {
"start": {
"line": 87,
"column": 26
},
"end": {
"line": 87,
"column": 32
},
"identifierName": "viewer"
},
"name": "viewer"
},
"property": {
"type": "Identifier",
"start": 2492,
"end": 2497,
"loc": {
"start": {
"line": 87,
"column": 33
},
"end": {
"line": 87,
"column": 38
},
"identifierName": "scene"
},
"name": "scene"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2498,
"end": 2503,
"loc": {
"start": {
"line": 87,
"column": 39
},
"end": {
"line": 87,
"column": 44
},
"identifierName": "input"
},
"name": "input"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2504,
"end": 2506,
"loc": {
"start": {
"line": 87,
"column": 45
},
"end": {
"line": 87,
"column": 47
},
"identifierName": "on"
},
"name": "on"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 2507,
"end": 2516,
"loc": {
"start": {
"line": 87,
"column": 48
},
"end": {
"line": 87,
"column": 57
}
},
"extra": {
"rawValue": "mouseup",
"raw": "\"mouseup\""
},
"value": "mouseup"
},
{
"type": "ArrowFunctionExpression",
"start": 2518,
"end": 2898,
"loc": {
"start": {
"line": 87,
"column": 59
},
"end": {
"line": 99,
"column": 9
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 2519,
"end": 2525,
"loc": {
"start": {
"line": 87,
"column": 60
},
"end": {
"line": 87,
"column": 66
},
"identifierName": "coords"
},
"name": "coords"
}
],
"body": {
"type": "BlockStatement",
"start": 2530,
"end": 2898,
"loc": {
"start": {
"line": 87,
"column": 71
},
"end": {
"line": 99,
"column": 9
}
},
"body": [
{
"type": "IfStatement",
"start": 2544,
"end": 2628,
"loc": {
"start": {
"line": 88,
"column": 12
},
"end": {
"line": 90,
"column": 13
}
},
"test": {
"type": "LogicalExpression",
"start": 2548,
"end": 2587,
"loc": {
"start": {
"line": 88,
"column": 16
},
"end": {
"line": 88,
"column": 55
}
},
"left": {
"type": "UnaryExpression",
"start": 2548,
"end": 2565,
"loc": {
"start": {
"line": 88,
"column": 16
},
"end": {
"line": 88,
"column": 33
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "CallExpression",
"start": 2549,
"end": 2565,
"loc": {
"start": {
"line": 88,
"column": 17
},
"end": {
"line": 88,
"column": 33
}
},
"callee": {
"type": "MemberExpression",
"start": 2549,
"end": 2563,
"loc": {
"start": {
"line": 88,
"column": 17
},
"end": {
"line": 88,
"column": 31
}
},
"object": {
"type": "ThisExpression",
"start": 2549,
"end": 2553,
"loc": {
"start": {
"line": 88,
"column": 17
},
"end": {
"line": 88,
"column": 21
}
}
},
"property": {
"type": "Identifier",
"start": 2554,
"end": 2563,
"loc": {
"start": {
"line": 88,
"column": 22
},
"end": {
"line": 88,
"column": 31
},
"identifierName": "getActive"
},
"name": "getActive"
},
"computed": false
},
"arguments": []
},
"extra": {
"parenthesizedArgument": false
}
},
"operator": "||",
"right": {
"type": "UnaryExpression",
"start": 2569,
"end": 2587,
"loc": {
"start": {
"line": 88,
"column": 37
},
"end": {
"line": 88,
"column": 55
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "CallExpression",
"start": 2570,
"end": 2587,
"loc": {
"start": {
"line": 88,
"column": 38
},
"end": {
"line": 88,
"column": 55
}
},
"callee": {
"type": "MemberExpression",
"start": 2570,
"end": 2585,
"loc": {
"start": {
"line": 88,
"column": 38
},
"end": {
"line": 88,
"column": 53
}
},
"object": {
"type": "ThisExpression",
"start": 2570,
"end": 2574,
"loc": {
"start": {
"line": 88,
"column": 38
},
"end": {
"line": 88,
"column": 42
}
}
},
"property": {
"type": "Identifier",
"start": 2575,
"end": 2585,
"loc": {
"start": {
"line": 88,
"column": 43
},
"end": {
"line": 88,
"column": 53
},
"identifierName": "getEnabled"
},
"name": "getEnabled"
},
"computed": false
},
"arguments": []
},
"extra": {
"parenthesizedArgument": false
}
}
},
"consequent": {
"type": "BlockStatement",
"start": 2589,
"end": 2628,
"loc": {
"start": {
"line": 88,
"column": 57
},
"end": {
"line": 90,
"column": 13
}
},
"body": [
{
"type": "ReturnStatement",
"start": 2607,
"end": 2614,
"loc": {
"start": {
"line": 89,
"column": 16
},
"end": {
"line": 89,
"column": 23
}
},
"argument": null
}
],
"directives": []
},
"alternate": null
},
{
"type": "IfStatement",
"start": 2641,
"end": 2888,
"loc": {
"start": {
"line": 91,
"column": 12
},
"end": {
"line": 98,
"column": 13
}
},
"test": {
"type": "Identifier",
"start": 2645,
"end": 2651,
"loc": {
"start": {
"line": 91,
"column": 16
},
"end": {
"line": 91,
"column": 22
},
"identifierName": "entity"
},
"name": "entity"
},
"consequent": {
"type": "BlockStatement",
"start": 2653,
"end": 2888,
"loc": {
"start": {
"line": 91,
"column": 24
},
"end": {
"line": 98,
"column": 13
}
},
"body": [
{
"type": "IfStatement",
"start": 2671,
"end": 2791,
"loc": {
"start": {
"line": 92,
"column": 16
},
"end": {
"line": 95,
"column": 17
}
},
"test": {
"type": "UnaryExpression",
"start": 2675,
"end": 2707,
"loc": {
"start": {
"line": 92,
"column": 20
},
"end": {
"line": 92,
"column": 52
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "CallExpression",
"start": 2676,
"end": 2707,
"loc": {
"start": {
"line": 92,
"column": 21
},
"end": {
"line": 92,
"column": 52
}
},
"callee": {
"type": "Identifier",
"start": 2676,
"end": 2687,
"loc": {
"start": {
"line": 92,
"column": 21
},
"end": {
"line": 92,
"column": 32
},
"identifierName": "closeEnough"
},
"name": "closeEnough"
},
"arguments": [
{
"type": "Identifier",
"start": 2688,
"end": 2698,
"loc": {
"start": {
"line": 92,
"column": 33
},
"end": {
"line": 92,
"column": 43
},
"identifierName": "lastCoords"
},
"name": "lastCoords"
},
{
"type": "Identifier",
"start": 2700,
"end": 2706,
"loc": {
"start": {
"line": 92,
"column": 45
},
"end": {
"line": 92,
"column": 51
},
"identifierName": "coords"
},
"name": "coords"
}
]
},
"extra": {
"parenthesizedArgument": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 2709,
"end": 2791,
"loc": {
"start": {
"line": 92,
"column": 54
},
"end": {
"line": 95,
"column": 17
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 2731,
"end": 2745,
"loc": {
"start": {
"line": 93,
"column": 20
},
"end": {
"line": 93,
"column": 34
}
},
"expression": {
"type": "AssignmentExpression",
"start": 2731,
"end": 2744,
"loc": {
"start": {
"line": 93,
"column": 20
},
"end": {
"line": 93,
"column": 33
}
},
"operator": "=",
"left": {
"type": "Identifier",
"start": 2731,
"end": 2737,
"loc": {
"start": {
"line": 93,
"column": 20
},
"end": {
"line": 93,
"column": 26
},
"identifierName": "entity"
},
"name": "entity"
},
"right": {
"type": "NullLiteral",
"start": 2740,
"end": 2744,
"loc": {
"start": {
"line": 93,
"column": 29
},
"end": {
"line": 93,
"column": 33
}
}
}
}
},
{
"type": "ReturnStatement",
"start": 2766,
"end": 2773,
"loc": {
"start": {
"line": 94,
"column": 20
},
"end": {
"line": 94,
"column": 27
}
},
"argument": null
}
],
"directives": []
},
"alternate": null
},
{
"type": "ExpressionStatement",
"start": 2808,
"end": 2843,
"loc": {
"start": {
"line": 96,
"column": 16
},
"end": {
"line": 96,
"column": 51
}
},
"expression": {
"type": "AssignmentExpression",
"start": 2808,
"end": 2842,
"loc": {
"start": {
"line": 96,
"column": 16
},
"end": {
"line": 96,
"column": 50
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 2808,
"end": 2823,
"loc": {
"start": {
"line": 96,
"column": 16
},
"end": {
"line": 96,
"column": 31
}
},
"object": {
"type": "Identifier",
"start": 2808,
"end": 2814,
"loc": {
"start": {
"line": 96,
"column": 16
},
"end": {
"line": 96,
"column": 22
},
"identifierName": "entity"
},
"name": "entity"
},
"property": {
"type": "Identifier",
"start": 2815,
"end": 2823,
"loc": {
"start": {
"line": 96,
"column": 23
},
"end": {
"line": 96,
"column": 31
},
"identifierName": "selected"
},
"name": "selected"
},
"computed": false
},
"right": {
"type": "UnaryExpression",
"start": 2826,
"end": 2842,
"loc": {
"start": {
"line": 96,
"column": 34
},
"end": {
"line": 96,
"column": 50
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "MemberExpression",
"start": 2827,
"end": 2842,
"loc": {
"start": {
"line": 96,
"column": 35
},
"end": {
"line": 96,
"column": 50
}
},
"object": {
"type": "Identifier",
"start": 2827,
"end": 2833,
"loc": {
"start": {
"line": 96,
"column": 35
},
"end": {
"line": 96,
"column": 41
},
"identifierName": "entity"
},
"name": "entity"
},
"property": {
"type": "Identifier",
"start": 2834,
"end": 2842,
"loc": {
"start": {
"line": 96,
"column": 42
},
"end": {
"line": 96,
"column": 50
},
"identifierName": "selected"
},
"name": "selected"
},
"computed": false
},
"extra": {
"parenthesizedArgument": false
}
}
}
},
{
"type": "ExpressionStatement",
"start": 2860,
"end": 2874,
"loc": {
"start": {
"line": 97,
"column": 16
},
"end": {
"line": 97,
"column": 30
}
},
"expression": {
"type": "AssignmentExpression",
"start": 2860,
"end": 2873,
"loc": {
"start": {
"line": 97,
"column": 16
},
"end": {
"line": 97,
"column": 29
}
},
"operator": "=",
"left": {
"type": "Identifier",
"start": 2860,
"end": 2866,
"loc": {
"start": {
"line": 97,
"column": 16
},
"end": {
"line": 97,
"column": 22
},
"identifierName": "entity"
},
"name": "entity"
},
"right": {
"type": "NullLiteral",
"start": 2869,
"end": 2873,
"loc": {
"start": {
"line": 97,
"column": 25
},
"end": {
"line": 97,
"column": 29
}
}
}
}
}
],
"directives": []
},
"alternate": null
}
],
"directives": []
}
}
]
}
}
}
],
"directives": []
}
}
]
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "* @private ",
"start": 256,
"end": 271,
"loc": {
"start": {
"line": 10,
"column": 0
},
"end": {
"line": 10,
"column": 15
}
}
}
],
"__PseudoExport__": false,
"trailingComments": []
},
"specifiers": null,
"source": null,
"leadingComments": null
}
],
"directives": []
},
"comments": [
{
"type": "CommentBlock",
"value": "* @private ",
"start": 256,
"end": 271,
"loc": {
"start": {
"line": 10,
"column": 0
},
"end": {
"line": 10,
"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": {
"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": 45,
"end": 51,
"loc": {
"start": {
"line": 2,
"column": 0
},
"end": {
"line": 2,
"column": 6
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 52,
"end": 53,
"loc": {
"start": {
"line": 2,
"column": 7
},
"end": {
"line": 2,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "math",
"start": 53,
"end": 57,
"loc": {
"start": {
"line": 2,
"column": 8
},
"end": {
"line": 2,
"column": 12
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 57,
"end": 58,
"loc": {
"start": {
"line": 2,
"column": 12
},
"end": {
"line": 2,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 59,
"end": 63,
"loc": {
"start": {
"line": 2,
"column": 14
},
"end": {
"line": 2,
"column": 18
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "@xeokit/xeokit-sdk/src/viewer/scene/math/math.js",
"start": 64,
"end": 114,
"loc": {
"start": {
"line": 2,
"column": 19
},
"end": {
"line": 2,
"column": 69
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 114,
"end": 115,
"loc": {
"start": {
"line": 2,
"column": 69
},
"end": {
"line": 2,
"column": 70
}
}
},
{
"type": {
"label": "function",
"keyword": "function",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "function",
"start": 118,
"end": 126,
"loc": {
"start": {
"line": 5,
"column": 0
},
"end": {
"line": 5,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "closeEnough",
"start": 127,
"end": 138,
"loc": {
"start": {
"line": 5,
"column": 9
},
"end": {
"line": 5,
"column": 20
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 138,
"end": 139,
"loc": {
"start": {
"line": 5,
"column": 20
},
"end": {
"line": 5,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "p",
"start": 139,
"end": 140,
"loc": {
"start": {
"line": 5,
"column": 21
},
"end": {
"line": 5,
"column": 22
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 140,
"end": 141,
"loc": {
"start": {
"line": 5,
"column": 22
},
"end": {
"line": 5,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "q",
"start": 142,
"end": 143,
"loc": {
"start": {
"line": 5,
"column": 24
},
"end": {
"line": 5,
"column": 25
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 143,
"end": 144,
"loc": {
"start": {
"line": 5,
"column": 25
},
"end": {
"line": 5,
"column": 26
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 145,
"end": 146,
"loc": {
"start": {
"line": 5,
"column": 27
},
"end": {
"line": 5,
"column": 28
}
}
},
{
"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": 151,
"end": 156,
"loc": {
"start": {
"line": 6,
"column": 4
},
"end": {
"line": 6,
"column": 9
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "CLICK_DIST",
"start": 157,
"end": 167,
"loc": {
"start": {
"line": 6,
"column": 10
},
"end": {
"line": 6,
"column": 20
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 168,
"end": 169,
"loc": {
"start": {
"line": 6,
"column": 21
},
"end": {
"line": 6,
"column": 22
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 4,
"start": 170,
"end": 171,
"loc": {
"start": {
"line": 6,
"column": 23
},
"end": {
"line": 6,
"column": 24
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 171,
"end": 172,
"loc": {
"start": {
"line": 6,
"column": 24
},
"end": {
"line": 6,
"column": 25
}
}
},
{
"type": {
"label": "return",
"keyword": "return",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "return",
"start": 177,
"end": 183,
"loc": {
"start": {
"line": 7,
"column": 4
},
"end": {
"line": 7,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 184,
"end": 185,
"loc": {
"start": {
"line": 7,
"column": 11
},
"end": {
"line": 7,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Math",
"start": 185,
"end": 189,
"loc": {
"start": {
"line": 7,
"column": 12
},
"end": {
"line": 7,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 189,
"end": 190,
"loc": {
"start": {
"line": 7,
"column": 16
},
"end": {
"line": 7,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "abs",
"start": 190,
"end": 193,
"loc": {
"start": {
"line": 7,
"column": 17
},
"end": {
"line": 7,
"column": 20
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 193,
"end": 194,
"loc": {
"start": {
"line": 7,
"column": 20
},
"end": {
"line": 7,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "p",
"start": 194,
"end": 195,
"loc": {
"start": {
"line": 7,
"column": 21
},
"end": {
"line": 7,
"column": 22
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 195,
"end": 196,
"loc": {
"start": {
"line": 7,
"column": 22
},
"end": {
"line": 7,
"column": 23
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 196,
"end": 197,
"loc": {
"start": {
"line": 7,
"column": 23
},
"end": {
"line": 7,
"column": 24
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 197,
"end": 198,
"loc": {
"start": {
"line": 7,
"column": 24
},
"end": {
"line": 7,
"column": 25
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "-",
"start": 199,
"end": 200,
"loc": {
"start": {
"line": 7,
"column": 26
},
"end": {
"line": 7,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "q",
"start": 201,
"end": 202,
"loc": {
"start": {
"line": 7,
"column": 28
},
"end": {
"line": 7,
"column": 29
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 202,
"end": 203,
"loc": {
"start": {
"line": 7,
"column": 29
},
"end": {
"line": 7,
"column": 30
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 203,
"end": 204,
"loc": {
"start": {
"line": 7,
"column": 30
},
"end": {
"line": 7,
"column": 31
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 204,
"end": 205,
"loc": {
"start": {
"line": 7,
"column": 31
},
"end": {
"line": 7,
"column": 32
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 205,
"end": 206,
"loc": {
"start": {
"line": 7,
"column": 32
},
"end": {
"line": 7,
"column": 33
}
}
},
{
"type": {
"label": "</>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": "<",
"start": 207,
"end": 208,
"loc": {
"start": {
"line": 7,
"column": 34
},
"end": {
"line": 7,
"column": 35
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 4,
"start": 209,
"end": 210,
"loc": {
"start": {
"line": 7,
"column": 36
},
"end": {
"line": 7,
"column": 37
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 210,
"end": 211,
"loc": {
"start": {
"line": 7,
"column": 37
},
"end": {
"line": 7,
"column": 38
}
}
},
{
"type": {
"label": "&&",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 2,
"updateContext": null
},
"value": "&&",
"start": 212,
"end": 214,
"loc": {
"start": {
"line": 7,
"column": 39
},
"end": {
"line": 7,
"column": 41
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 215,
"end": 216,
"loc": {
"start": {
"line": 7,
"column": 42
},
"end": {
"line": 7,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Math",
"start": 216,
"end": 220,
"loc": {
"start": {
"line": 7,
"column": 43
},
"end": {
"line": 7,
"column": 47
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 220,
"end": 221,
"loc": {
"start": {
"line": 7,
"column": 47
},
"end": {
"line": 7,
"column": 48
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "abs",
"start": 221,
"end": 224,
"loc": {
"start": {
"line": 7,
"column": 48
},
"end": {
"line": 7,
"column": 51
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 224,
"end": 225,
"loc": {
"start": {
"line": 7,
"column": 51
},
"end": {
"line": 7,
"column": 52
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "p",
"start": 225,
"end": 226,
"loc": {
"start": {
"line": 7,
"column": 52
},
"end": {
"line": 7,
"column": 53
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 226,
"end": 227,
"loc": {
"start": {
"line": 7,
"column": 53
},
"end": {
"line": 7,
"column": 54
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 1,
"start": 227,
"end": 228,
"loc": {
"start": {
"line": 7,
"column": 54
},
"end": {
"line": 7,
"column": 55
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 228,
"end": 229,
"loc": {
"start": {
"line": 7,
"column": 55
},
"end": {
"line": 7,
"column": 56
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "-",
"start": 230,
"end": 231,
"loc": {
"start": {
"line": 7,
"column": 57
},
"end": {
"line": 7,
"column": 58
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "q",
"start": 232,
"end": 233,
"loc": {
"start": {
"line": 7,
"column": 59
},
"end": {
"line": 7,
"column": 60
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 233,
"end": 234,
"loc": {
"start": {
"line": 7,
"column": 60
},
"end": {
"line": 7,
"column": 61
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 1,
"start": 234,
"end": 235,
"loc": {
"start": {
"line": 7,
"column": 61
},
"end": {
"line": 7,
"column": 62
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 235,
"end": 236,
"loc": {
"start": {
"line": 7,
"column": 62
},
"end": {
"line": 7,
"column": 63
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 236,
"end": 237,
"loc": {
"start": {
"line": 7,
"column": 63
},
"end": {
"line": 7,
"column": 64
}
}
},
{
"type": {
"label": "</>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": "<",
"start": 238,
"end": 239,
"loc": {
"start": {
"line": 7,
"column": 65
},
"end": {
"line": 7,
"column": 66
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "CLICK_DIST",
"start": 240,
"end": 250,
"loc": {
"start": {
"line": 7,
"column": 67
},
"end": {
"line": 7,
"column": 77
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 250,
"end": 251,
"loc": {
"start": {
"line": 7,
"column": 77
},
"end": {
"line": 7,
"column": 78
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 251,
"end": 252,
"loc": {
"start": {
"line": 7,
"column": 78
},
"end": {
"line": 7,
"column": 79
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 253,
"end": 254,
"loc": {
"start": {
"line": 8,
"column": 0
},
"end": {
"line": 8,
"column": 1
}
}
},
{
"type": "CommentBlock",
"value": "* @private ",
"start": 256,
"end": 271,
"loc": {
"start": {
"line": 10,
"column": 0
},
"end": {
"line": 10,
"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": 272,
"end": 277,
"loc": {
"start": {
"line": 11,
"column": 0
},
"end": {
"line": 11,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "SelectMode",
"start": 278,
"end": 288,
"loc": {
"start": {
"line": 11,
"column": 6
},
"end": {
"line": 11,
"column": 16
}
}
},
{
"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": 289,
"end": 296,
"loc": {
"start": {
"line": 11,
"column": 17
},
"end": {
"line": 11,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Controller",
"start": 297,
"end": 307,
"loc": {
"start": {
"line": 11,
"column": 25
},
"end": {
"line": 11,
"column": 35
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 308,
"end": 309,
"loc": {
"start": {
"line": 11,
"column": 36
},
"end": {
"line": 11,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "constructor",
"start": 315,
"end": 326,
"loc": {
"start": {
"line": 13,
"column": 4
},
"end": {
"line": 13,
"column": 15
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 326,
"end": 327,
"loc": {
"start": {
"line": 13,
"column": 15
},
"end": {
"line": 13,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parent",
"start": 327,
"end": 333,
"loc": {
"start": {
"line": 13,
"column": 16
},
"end": {
"line": 13,
"column": 22
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 333,
"end": 334,
"loc": {
"start": {
"line": 13,
"column": 22
},
"end": {
"line": 13,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cfg",
"start": 335,
"end": 338,
"loc": {
"start": {
"line": 13,
"column": 24
},
"end": {
"line": 13,
"column": 27
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 338,
"end": 339,
"loc": {
"start": {
"line": 13,
"column": 27
},
"end": {
"line": 13,
"column": 28
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 340,
"end": 341,
"loc": {
"start": {
"line": 13,
"column": 29
},
"end": {
"line": 13,
"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": 351,
"end": 356,
"loc": {
"start": {
"line": 15,
"column": 8
},
"end": {
"line": 15,
"column": 13
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 356,
"end": 357,
"loc": {
"start": {
"line": 15,
"column": 13
},
"end": {
"line": 15,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parent",
"start": 357,
"end": 363,
"loc": {
"start": {
"line": 15,
"column": 14
},
"end": {
"line": 15,
"column": 20
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 363,
"end": 364,
"loc": {
"start": {
"line": 15,
"column": 20
},
"end": {
"line": 15,
"column": 21
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 364,
"end": 365,
"loc": {
"start": {
"line": 15,
"column": 21
},
"end": {
"line": 15,
"column": 22
}
}
},
{
"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": 375,
"end": 377,
"loc": {
"start": {
"line": 17,
"column": 8
},
"end": {
"line": 17,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 378,
"end": 379,
"loc": {
"start": {
"line": 17,
"column": 11
},
"end": {
"line": 17,
"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": 379,
"end": 380,
"loc": {
"start": {
"line": 17,
"column": 12
},
"end": {
"line": 17,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cfg",
"start": 380,
"end": 383,
"loc": {
"start": {
"line": 17,
"column": 13
},
"end": {
"line": 17,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 383,
"end": 384,
"loc": {
"start": {
"line": 17,
"column": 16
},
"end": {
"line": 17,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "buttonElement",
"start": 384,
"end": 397,
"loc": {
"start": {
"line": 17,
"column": 17
},
"end": {
"line": 17,
"column": 30
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 397,
"end": 398,
"loc": {
"start": {
"line": 17,
"column": 30
},
"end": {
"line": 17,
"column": 31
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 399,
"end": 400,
"loc": {
"start": {
"line": 17,
"column": 32
},
"end": {
"line": 17,
"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": 413,
"end": 418,
"loc": {
"start": {
"line": 18,
"column": 12
},
"end": {
"line": 18,
"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": 419,
"end": 450,
"loc": {
"start": {
"line": 18,
"column": 18
},
"end": {
"line": 18,
"column": 49
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 450,
"end": 451,
"loc": {
"start": {
"line": 18,
"column": 49
},
"end": {
"line": 18,
"column": 50
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 460,
"end": 461,
"loc": {
"start": {
"line": 19,
"column": 8
},
"end": {
"line": 19,
"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": 471,
"end": 476,
"loc": {
"start": {
"line": 21,
"column": 8
},
"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": "buttonElement",
"start": 477,
"end": 490,
"loc": {
"start": {
"line": 21,
"column": 14
},
"end": {
"line": 21,
"column": 27
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 491,
"end": 492,
"loc": {
"start": {
"line": 21,
"column": 28
},
"end": {
"line": 21,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cfg",
"start": 493,
"end": 496,
"loc": {
"start": {
"line": 21,
"column": 30
},
"end": {
"line": 21,
"column": 33
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 496,
"end": 497,
"loc": {
"start": {
"line": 21,
"column": 33
},
"end": {
"line": 21,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "buttonElement",
"start": 497,
"end": 510,
"loc": {
"start": {
"line": 21,
"column": 34
},
"end": {
"line": 21,
"column": 47
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 510,
"end": 511,
"loc": {
"start": {
"line": 21,
"column": 47
},
"end": {
"line": 21,
"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": 521,
"end": 525,
"loc": {
"start": {
"line": 23,
"column": 8
},
"end": {
"line": 23,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 525,
"end": 526,
"loc": {
"start": {
"line": 23,
"column": 12
},
"end": {
"line": 23,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "on",
"start": 526,
"end": 528,
"loc": {
"start": {
"line": 23,
"column": 13
},
"end": {
"line": 23,
"column": 15
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 528,
"end": 529,
"loc": {
"start": {
"line": 23,
"column": 15
},
"end": {
"line": 23,
"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": 529,
"end": 538,
"loc": {
"start": {
"line": 23,
"column": 16
},
"end": {
"line": 23,
"column": 25
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 538,
"end": 539,
"loc": {
"start": {
"line": 23,
"column": 25
},
"end": {
"line": 23,
"column": 26
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 540,
"end": 541,
"loc": {
"start": {
"line": 23,
"column": 27
},
"end": {
"line": 23,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "enabled",
"start": 541,
"end": 548,
"loc": {
"start": {
"line": 23,
"column": 28
},
"end": {
"line": 23,
"column": 35
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 548,
"end": 549,
"loc": {
"start": {
"line": 23,
"column": 35
},
"end": {
"line": 23,
"column": 36
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 550,
"end": 552,
"loc": {
"start": {
"line": 23,
"column": 37
},
"end": {
"line": 23,
"column": 39
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 553,
"end": 554,
"loc": {
"start": {
"line": 23,
"column": 40
},
"end": {
"line": 23,
"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": 567,
"end": 569,
"loc": {
"start": {
"line": 24,
"column": 12
},
"end": {
"line": 24,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 570,
"end": 571,
"loc": {
"start": {
"line": 24,
"column": 15
},
"end": {
"line": 24,
"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": 571,
"end": 572,
"loc": {
"start": {
"line": 24,
"column": 16
},
"end": {
"line": 24,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "enabled",
"start": 572,
"end": 579,
"loc": {
"start": {
"line": 24,
"column": 17
},
"end": {
"line": 24,
"column": 24
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 579,
"end": 580,
"loc": {
"start": {
"line": 24,
"column": 24
},
"end": {
"line": 24,
"column": 25
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 581,
"end": 582,
"loc": {
"start": {
"line": 24,
"column": 26
},
"end": {
"line": 24,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "buttonElement",
"start": 599,
"end": 612,
"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": 612,
"end": 613,
"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": 613,
"end": 622,
"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": 622,
"end": 623,
"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": "add",
"start": 623,
"end": 626,
"loc": {
"start": {
"line": 25,
"column": 40
},
"end": {
"line": 25,
"column": 43
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 626,
"end": 627,
"loc": {
"start": {
"line": 25,
"column": 43
},
"end": {
"line": 25,
"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": 627,
"end": 637,
"loc": {
"start": {
"line": 25,
"column": 44
},
"end": {
"line": 25,
"column": 54
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 637,
"end": 638,
"loc": {
"start": {
"line": 25,
"column": 54
},
"end": {
"line": 25,
"column": 55
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 638,
"end": 639,
"loc": {
"start": {
"line": 25,
"column": 55
},
"end": {
"line": 25,
"column": 56
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 652,
"end": 653,
"loc": {
"start": {
"line": 26,
"column": 12
},
"end": {
"line": 26,
"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": 654,
"end": 658,
"loc": {
"start": {
"line": 26,
"column": 14
},
"end": {
"line": 26,
"column": 18
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 659,
"end": 660,
"loc": {
"start": {
"line": 26,
"column": 19
},
"end": {
"line": 26,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "buttonElement",
"start": 677,
"end": 690,
"loc": {
"start": {
"line": 27,
"column": 16
},
"end": {
"line": 27,
"column": 29
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 690,
"end": 691,
"loc": {
"start": {
"line": 27,
"column": 29
},
"end": {
"line": 27,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "classList",
"start": 691,
"end": 700,
"loc": {
"start": {
"line": 27,
"column": 30
},
"end": {
"line": 27,
"column": 39
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 700,
"end": 701,
"loc": {
"start": {
"line": 27,
"column": 39
},
"end": {
"line": 27,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "remove",
"start": 701,
"end": 707,
"loc": {
"start": {
"line": 27,
"column": 40
},
"end": {
"line": 27,
"column": 46
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 707,
"end": 708,
"loc": {
"start": {
"line": 27,
"column": 46
},
"end": {
"line": 27,
"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": 708,
"end": 718,
"loc": {
"start": {
"line": 27,
"column": 47
},
"end": {
"line": 27,
"column": 57
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 718,
"end": 719,
"loc": {
"start": {
"line": 27,
"column": 57
},
"end": {
"line": 27,
"column": 58
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 719,
"end": 720,
"loc": {
"start": {
"line": 27,
"column": 58
},
"end": {
"line": 27,
"column": 59
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 733,
"end": 734,
"loc": {
"start": {
"line": 28,
"column": 12
},
"end": {
"line": 28,
"column": 13
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 743,
"end": 744,
"loc": {
"start": {
"line": 29,
"column": 8
},
"end": {
"line": 29,
"column": 9
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 744,
"end": 745,
"loc": {
"start": {
"line": 29,
"column": 9
},
"end": {
"line": 29,
"column": 10
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 745,
"end": 746,
"loc": {
"start": {
"line": 29,
"column": 10
},
"end": {
"line": 29,
"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": 756,
"end": 760,
"loc": {
"start": {
"line": 31,
"column": 8
},
"end": {
"line": 31,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 760,
"end": 761,
"loc": {
"start": {
"line": 31,
"column": 12
},
"end": {
"line": 31,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "on",
"start": 761,
"end": 763,
"loc": {
"start": {
"line": 31,
"column": 13
},
"end": {
"line": 31,
"column": 15
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 763,
"end": 764,
"loc": {
"start": {
"line": 31,
"column": 15
},
"end": {
"line": 31,
"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": 764,
"end": 772,
"loc": {
"start": {
"line": 31,
"column": 16
},
"end": {
"line": 31,
"column": 24
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 772,
"end": 773,
"loc": {
"start": {
"line": 31,
"column": 24
},
"end": {
"line": 31,
"column": 25
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 774,
"end": 775,
"loc": {
"start": {
"line": 31,
"column": 26
},
"end": {
"line": 31,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "active",
"start": 775,
"end": 781,
"loc": {
"start": {
"line": 31,
"column": 27
},
"end": {
"line": 31,
"column": 33
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 781,
"end": 782,
"loc": {
"start": {
"line": 31,
"column": 33
},
"end": {
"line": 31,
"column": 34
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 783,
"end": 785,
"loc": {
"start": {
"line": 31,
"column": 35
},
"end": {
"line": 31,
"column": 37
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 786,
"end": 787,
"loc": {
"start": {
"line": 31,
"column": 38
},
"end": {
"line": 31,
"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": 800,
"end": 802,
"loc": {
"start": {
"line": 32,
"column": 12
},
"end": {
"line": 32,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 803,
"end": 804,
"loc": {
"start": {
"line": 32,
"column": 15
},
"end": {
"line": 32,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "active",
"start": 804,
"end": 810,
"loc": {
"start": {
"line": 32,
"column": 16
},
"end": {
"line": 32,
"column": 22
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 810,
"end": 811,
"loc": {
"start": {
"line": 32,
"column": 22
},
"end": {
"line": 32,
"column": 23
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 812,
"end": 813,
"loc": {
"start": {
"line": 32,
"column": 24
},
"end": {
"line": 32,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "buttonElement",
"start": 830,
"end": 843,
"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": 843,
"end": 844,
"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": 844,
"end": 853,
"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": 853,
"end": 854,
"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": "add",
"start": 854,
"end": 857,
"loc": {
"start": {
"line": 33,
"column": 40
},
"end": {
"line": 33,
"column": 43
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 857,
"end": 858,
"loc": {
"start": {
"line": 33,
"column": 43
},
"end": {
"line": 33,
"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": 858,
"end": 866,
"loc": {
"start": {
"line": 33,
"column": 44
},
"end": {
"line": 33,
"column": 52
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 866,
"end": 867,
"loc": {
"start": {
"line": 33,
"column": 52
},
"end": {
"line": 33,
"column": 53
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 867,
"end": 868,
"loc": {
"start": {
"line": 33,
"column": 53
},
"end": {
"line": 33,
"column": 54
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 881,
"end": 882,
"loc": {
"start": {
"line": 34,
"column": 12
},
"end": {
"line": 34,
"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": 883,
"end": 887,
"loc": {
"start": {
"line": 34,
"column": 14
},
"end": {
"line": 34,
"column": 18
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 888,
"end": 889,
"loc": {
"start": {
"line": 34,
"column": 19
},
"end": {
"line": 34,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "buttonElement",
"start": 906,
"end": 919,
"loc": {
"start": {
"line": 35,
"column": 16
},
"end": {
"line": 35,
"column": 29
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 919,
"end": 920,
"loc": {
"start": {
"line": 35,
"column": 29
},
"end": {
"line": 35,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "classList",
"start": 920,
"end": 929,
"loc": {
"start": {
"line": 35,
"column": 30
},
"end": {
"line": 35,
"column": 39
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 929,
"end": 930,
"loc": {
"start": {
"line": 35,
"column": 39
},
"end": {
"line": 35,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "remove",
"start": 930,
"end": 936,
"loc": {
"start": {
"line": 35,
"column": 40
},
"end": {
"line": 35,
"column": 46
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 936,
"end": 937,
"loc": {
"start": {
"line": 35,
"column": 46
},
"end": {
"line": 35,
"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": 937,
"end": 945,
"loc": {
"start": {
"line": 35,
"column": 47
},
"end": {
"line": 35,
"column": 55
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 945,
"end": 946,
"loc": {
"start": {
"line": 35,
"column": 55
},
"end": {
"line": 35,
"column": 56
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 946,
"end": 947,
"loc": {
"start": {
"line": 35,
"column": 56
},
"end": {
"line": 35,
"column": 57
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 960,
"end": 961,
"loc": {
"start": {
"line": 36,
"column": 12
},
"end": {
"line": 36,
"column": 13
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 970,
"end": 971,
"loc": {
"start": {
"line": 37,
"column": 8
},
"end": {
"line": 37,
"column": 9
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 971,
"end": 972,
"loc": {
"start": {
"line": 37,
"column": 9
},
"end": {
"line": 37,
"column": 10
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 972,
"end": 973,
"loc": {
"start": {
"line": 37,
"column": 10
},
"end": {
"line": 37,
"column": 11
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "buttonElement",
"start": 983,
"end": 996,
"loc": {
"start": {
"line": 39,
"column": 8
},
"end": {
"line": 39,
"column": 21
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 996,
"end": 997,
"loc": {
"start": {
"line": 39,
"column": 21
},
"end": {
"line": 39,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "addEventListener",
"start": 997,
"end": 1013,
"loc": {
"start": {
"line": 39,
"column": 22
},
"end": {
"line": 39,
"column": 38
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1013,
"end": 1014,
"loc": {
"start": {
"line": 39,
"column": 38
},
"end": {
"line": 39,
"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": 1014,
"end": 1021,
"loc": {
"start": {
"line": 39,
"column": 39
},
"end": {
"line": 39,
"column": 46
}
}
},
{
"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": 39,
"column": 46
},
"end": {
"line": 39,
"column": 47
}
}
},
{
"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": 39,
"column": 48
},
"end": {
"line": 39,
"column": 49
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "event",
"start": 1024,
"end": 1029,
"loc": {
"start": {
"line": 39,
"column": 49
},
"end": {
"line": 39,
"column": 54
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1029,
"end": 1030,
"loc": {
"start": {
"line": 39,
"column": 54
},
"end": {
"line": 39,
"column": 55
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1031,
"end": 1033,
"loc": {
"start": {
"line": 39,
"column": 56
},
"end": {
"line": 39,
"column": 58
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1034,
"end": 1035,
"loc": {
"start": {
"line": 39,
"column": 59
},
"end": {
"line": 39,
"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": 1048,
"end": 1050,
"loc": {
"start": {
"line": 40,
"column": 12
},
"end": {
"line": 40,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1051,
"end": 1052,
"loc": {
"start": {
"line": 40,
"column": 15
},
"end": {
"line": 40,
"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": 1052,
"end": 1053,
"loc": {
"start": {
"line": 40,
"column": 16
},
"end": {
"line": 40,
"column": 17
}
}
},
{
"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": 1053,
"end": 1057,
"loc": {
"start": {
"line": 40,
"column": 17
},
"end": {
"line": 40,
"column": 21
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1057,
"end": 1058,
"loc": {
"start": {
"line": 40,
"column": 21
},
"end": {
"line": 40,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getEnabled",
"start": 1058,
"end": 1068,
"loc": {
"start": {
"line": 40,
"column": 22
},
"end": {
"line": 40,
"column": 32
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1068,
"end": 1069,
"loc": {
"start": {
"line": 40,
"column": 32
},
"end": {
"line": 40,
"column": 33
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1069,
"end": 1070,
"loc": {
"start": {
"line": 40,
"column": 33
},
"end": {
"line": 40,
"column": 34
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1070,
"end": 1071,
"loc": {
"start": {
"line": 40,
"column": 34
},
"end": {
"line": 40,
"column": 35
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1072,
"end": 1073,
"loc": {
"start": {
"line": 40,
"column": 36
},
"end": {
"line": 40,
"column": 37
}
}
},
{
"type": {
"label": "return",
"keyword": "return",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "return",
"start": 1090,
"end": 1096,
"loc": {
"start": {
"line": 41,
"column": 16
},
"end": {
"line": 41,
"column": 22
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1096,
"end": 1097,
"loc": {
"start": {
"line": 41,
"column": 22
},
"end": {
"line": 41,
"column": 23
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1110,
"end": 1111,
"loc": {
"start": {
"line": 42,
"column": 12
},
"end": {
"line": 42,
"column": 13
}
}
},
{
"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": 1124,
"end": 1129,
"loc": {
"start": {
"line": 43,
"column": 12
},
"end": {
"line": 43,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "active",
"start": 1130,
"end": 1136,
"loc": {
"start": {
"line": 43,
"column": 18
},
"end": {
"line": 43,
"column": 24
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1137,
"end": 1138,
"loc": {
"start": {
"line": 43,
"column": 25
},
"end": {
"line": 43,
"column": 26
}
}
},
{
"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": 1139,
"end": 1143,
"loc": {
"start": {
"line": 43,
"column": 27
},
"end": {
"line": 43,
"column": 31
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1143,
"end": 1144,
"loc": {
"start": {
"line": 43,
"column": 31
},
"end": {
"line": 43,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getActive",
"start": 1144,
"end": 1153,
"loc": {
"start": {
"line": 43,
"column": 32
},
"end": {
"line": 43,
"column": 41
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1153,
"end": 1154,
"loc": {
"start": {
"line": 43,
"column": 41
},
"end": {
"line": 43,
"column": 42
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1154,
"end": 1155,
"loc": {
"start": {
"line": 43,
"column": 42
},
"end": {
"line": 43,
"column": 43
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1155,
"end": 1156,
"loc": {
"start": {
"line": 43,
"column": 43
},
"end": {
"line": 43,
"column": 44
}
}
},
{
"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": 1169,
"end": 1173,
"loc": {
"start": {
"line": 44,
"column": 12
},
"end": {
"line": 44,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1173,
"end": 1174,
"loc": {
"start": {
"line": 44,
"column": 16
},
"end": {
"line": 44,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "setActive",
"start": 1174,
"end": 1183,
"loc": {
"start": {
"line": 44,
"column": 17
},
"end": {
"line": 44,
"column": 26
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1183,
"end": 1184,
"loc": {
"start": {
"line": 44,
"column": 26
},
"end": {
"line": 44,
"column": 27
}
}
},
{
"type": {
"label": "prefix",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "!",
"start": 1184,
"end": 1185,
"loc": {
"start": {
"line": 44,
"column": 27
},
"end": {
"line": 44,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "active",
"start": 1185,
"end": 1191,
"loc": {
"start": {
"line": 44,
"column": 28
},
"end": {
"line": 44,
"column": 34
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1191,
"end": 1192,
"loc": {
"start": {
"line": 44,
"column": 34
},
"end": {
"line": 44,
"column": 35
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1192,
"end": 1193,
"loc": {
"start": {
"line": 44,
"column": 35
},
"end": {
"line": 44,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "event",
"start": 1206,
"end": 1211,
"loc": {
"start": {
"line": 45,
"column": 12
},
"end": {
"line": 45,
"column": 17
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1211,
"end": 1212,
"loc": {
"start": {
"line": 45,
"column": 17
},
"end": {
"line": 45,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "preventDefault",
"start": 1212,
"end": 1226,
"loc": {
"start": {
"line": 45,
"column": 18
},
"end": {
"line": 45,
"column": 32
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1226,
"end": 1227,
"loc": {
"start": {
"line": 45,
"column": 32
},
"end": {
"line": 45,
"column": 33
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1227,
"end": 1228,
"loc": {
"start": {
"line": 45,
"column": 33
},
"end": {
"line": 45,
"column": 34
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1228,
"end": 1229,
"loc": {
"start": {
"line": 45,
"column": 34
},
"end": {
"line": 45,
"column": 35
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1238,
"end": 1239,
"loc": {
"start": {
"line": 46,
"column": 8
},
"end": {
"line": 46,
"column": 9
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1239,
"end": 1240,
"loc": {
"start": {
"line": 46,
"column": 9
},
"end": {
"line": 46,
"column": 10
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1240,
"end": 1241,
"loc": {
"start": {
"line": 46,
"column": 10
},
"end": {
"line": 46,
"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": 1251,
"end": 1255,
"loc": {
"start": {
"line": 48,
"column": 8
},
"end": {
"line": 48,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1255,
"end": 1256,
"loc": {
"start": {
"line": 48,
"column": 12
},
"end": {
"line": 48,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "viewerUI",
"start": 1256,
"end": 1264,
"loc": {
"start": {
"line": 48,
"column": 13
},
"end": {
"line": 48,
"column": 21
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1264,
"end": 1265,
"loc": {
"start": {
"line": 48,
"column": 21
},
"end": {
"line": 48,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "on",
"start": 1265,
"end": 1267,
"loc": {
"start": {
"line": 48,
"column": 22
},
"end": {
"line": 48,
"column": 24
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1267,
"end": 1268,
"loc": {
"start": {
"line": 48,
"column": 24
},
"end": {
"line": 48,
"column": 25
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "reset",
"start": 1268,
"end": 1275,
"loc": {
"start": {
"line": 48,
"column": 25
},
"end": {
"line": 48,
"column": 32
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1275,
"end": 1276,
"loc": {
"start": {
"line": 48,
"column": 32
},
"end": {
"line": 48,
"column": 33
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1277,
"end": 1278,
"loc": {
"start": {
"line": 48,
"column": 34
},
"end": {
"line": 48,
"column": 35
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1278,
"end": 1279,
"loc": {
"start": {
"line": 48,
"column": 35
},
"end": {
"line": 48,
"column": 36
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1280,
"end": 1282,
"loc": {
"start": {
"line": 48,
"column": 37
},
"end": {
"line": 48,
"column": 39
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1283,
"end": 1284,
"loc": {
"start": {
"line": 48,
"column": 40
},
"end": {
"line": 48,
"column": 41
}
}
},
{
"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": 1297,
"end": 1301,
"loc": {
"start": {
"line": 49,
"column": 12
},
"end": {
"line": 49,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1301,
"end": 1302,
"loc": {
"start": {
"line": 49,
"column": 16
},
"end": {
"line": 49,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "setActive",
"start": 1302,
"end": 1311,
"loc": {
"start": {
"line": 49,
"column": 17
},
"end": {
"line": 49,
"column": 26
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1311,
"end": 1312,
"loc": {
"start": {
"line": 49,
"column": 26
},
"end": {
"line": 49,
"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": 1312,
"end": 1317,
"loc": {
"start": {
"line": 49,
"column": 27
},
"end": {
"line": 49,
"column": 32
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1317,
"end": 1318,
"loc": {
"start": {
"line": 49,
"column": 32
},
"end": {
"line": 49,
"column": 33
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1318,
"end": 1319,
"loc": {
"start": {
"line": 49,
"column": 33
},
"end": {
"line": 49,
"column": 34
}
}
},
{
"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": 50,
"column": 8
},
"end": {
"line": 50,
"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": 50,
"column": 9
},
"end": {
"line": 50,
"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": 50,
"column": 10
},
"end": {
"line": 50,
"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": 1341,
"end": 1345,
"loc": {
"start": {
"line": 52,
"column": 8
},
"end": {
"line": 52,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1345,
"end": 1346,
"loc": {
"start": {
"line": 52,
"column": 12
},
"end": {
"line": 52,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_initSectionMode",
"start": 1346,
"end": 1362,
"loc": {
"start": {
"line": 52,
"column": 13
},
"end": {
"line": 52,
"column": 29
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1362,
"end": 1363,
"loc": {
"start": {
"line": 52,
"column": 29
},
"end": {
"line": 52,
"column": 30
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1363,
"end": 1364,
"loc": {
"start": {
"line": 52,
"column": 30
},
"end": {
"line": 52,
"column": 31
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1364,
"end": 1365,
"loc": {
"start": {
"line": 52,
"column": 31
},
"end": {
"line": 52,
"column": 32
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1370,
"end": 1371,
"loc": {
"start": {
"line": 53,
"column": 4
},
"end": {
"line": 53,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_initSectionMode",
"start": 1377,
"end": 1393,
"loc": {
"start": {
"line": 55,
"column": 4
},
"end": {
"line": 55,
"column": 20
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1393,
"end": 1394,
"loc": {
"start": {
"line": 55,
"column": 20
},
"end": {
"line": 55,
"column": 21
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1394,
"end": 1395,
"loc": {
"start": {
"line": 55,
"column": 21
},
"end": {
"line": 55,
"column": 22
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1396,
"end": 1397,
"loc": {
"start": {
"line": 55,
"column": 23
},
"end": {
"line": 55,
"column": 24
}
}
},
{
"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": 1406,
"end": 1411,
"loc": {
"start": {
"line": 56,
"column": 8
},
"end": {
"line": 56,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "viewer",
"start": 1412,
"end": 1418,
"loc": {
"start": {
"line": 56,
"column": 14
},
"end": {
"line": 56,
"column": 20
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1419,
"end": 1420,
"loc": {
"start": {
"line": 56,
"column": 21
},
"end": {
"line": 56,
"column": 22
}
}
},
{
"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": 1421,
"end": 1425,
"loc": {
"start": {
"line": 56,
"column": 23
},
"end": {
"line": 56,
"column": 27
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1425,
"end": 1426,
"loc": {
"start": {
"line": 56,
"column": 27
},
"end": {
"line": 56,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "viewer",
"start": 1426,
"end": 1432,
"loc": {
"start": {
"line": 56,
"column": 28
},
"end": {
"line": 56,
"column": 34
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1432,
"end": 1433,
"loc": {
"start": {
"line": 56,
"column": 34
},
"end": {
"line": 56,
"column": 35
}
}
},
{
"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": 1442,
"end": 1447,
"loc": {
"start": {
"line": 57,
"column": 8
},
"end": {
"line": 57,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cameraControl",
"start": 1448,
"end": 1461,
"loc": {
"start": {
"line": 57,
"column": 14
},
"end": {
"line": 57,
"column": 27
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1462,
"end": 1463,
"loc": {
"start": {
"line": 57,
"column": 28
},
"end": {
"line": 57,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "viewer",
"start": 1464,
"end": 1470,
"loc": {
"start": {
"line": 57,
"column": 30
},
"end": {
"line": 57,
"column": 36
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1470,
"end": 1471,
"loc": {
"start": {
"line": 57,
"column": 36
},
"end": {
"line": 57,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cameraControl",
"start": 1471,
"end": 1484,
"loc": {
"start": {
"line": 57,
"column": 37
},
"end": {
"line": 57,
"column": 50
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1484,
"end": 1485,
"loc": {
"start": {
"line": 57,
"column": 50
},
"end": {
"line": 57,
"column": 51
}
}
},
{
"type": {
"label": "var",
"keyword": "var",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "var",
"start": 1494,
"end": 1497,
"loc": {
"start": {
"line": 58,
"column": 8
},
"end": {
"line": 58,
"column": 11
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 1498,
"end": 1504,
"loc": {
"start": {
"line": 58,
"column": 12
},
"end": {
"line": 58,
"column": 18
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1505,
"end": 1506,
"loc": {
"start": {
"line": 58,
"column": 19
},
"end": {
"line": 58,
"column": 20
}
}
},
{
"type": {
"label": "null",
"keyword": "null",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "null",
"start": 1507,
"end": 1511,
"loc": {
"start": {
"line": 58,
"column": 21
},
"end": {
"line": 58,
"column": 25
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1511,
"end": 1512,
"loc": {
"start": {
"line": 58,
"column": 25
},
"end": {
"line": 58,
"column": 26
}
}
},
{
"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": 1521,
"end": 1525,
"loc": {
"start": {
"line": 59,
"column": 8
},
"end": {
"line": 59,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1525,
"end": 1526,
"loc": {
"start": {
"line": 59,
"column": 12
},
"end": {
"line": 59,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_onHover",
"start": 1526,
"end": 1534,
"loc": {
"start": {
"line": 59,
"column": 13
},
"end": {
"line": 59,
"column": 21
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1535,
"end": 1536,
"loc": {
"start": {
"line": 59,
"column": 22
},
"end": {
"line": 59,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cameraControl",
"start": 1537,
"end": 1550,
"loc": {
"start": {
"line": 59,
"column": 24
},
"end": {
"line": 59,
"column": 37
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1550,
"end": 1551,
"loc": {
"start": {
"line": 59,
"column": 37
},
"end": {
"line": 59,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "on",
"start": 1551,
"end": 1553,
"loc": {
"start": {
"line": 59,
"column": 38
},
"end": {
"line": 59,
"column": 40
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1553,
"end": 1554,
"loc": {
"start": {
"line": 59,
"column": 40
},
"end": {
"line": 59,
"column": 41
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "hover",
"start": 1554,
"end": 1561,
"loc": {
"start": {
"line": 59,
"column": 41
},
"end": {
"line": 59,
"column": 48
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1561,
"end": 1562,
"loc": {
"start": {
"line": 59,
"column": 48
},
"end": {
"line": 59,
"column": 49
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1563,
"end": 1564,
"loc": {
"start": {
"line": 59,
"column": 50
},
"end": {
"line": 59,
"column": 51
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "e",
"start": 1564,
"end": 1565,
"loc": {
"start": {
"line": 59,
"column": 51
},
"end": {
"line": 59,
"column": 52
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1565,
"end": 1566,
"loc": {
"start": {
"line": 59,
"column": 52
},
"end": {
"line": 59,
"column": 53
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1567,
"end": 1569,
"loc": {
"start": {
"line": 59,
"column": 54
},
"end": {
"line": 59,
"column": 56
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1570,
"end": 1571,
"loc": {
"start": {
"line": 59,
"column": 57
},
"end": {
"line": 59,
"column": 58
}
}
},
{
"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": 1584,
"end": 1586,
"loc": {
"start": {
"line": 60,
"column": 12
},
"end": {
"line": 60,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1587,
"end": 1588,
"loc": {
"start": {
"line": 60,
"column": 15
},
"end": {
"line": 60,
"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": 1588,
"end": 1589,
"loc": {
"start": {
"line": 60,
"column": 16
},
"end": {
"line": 60,
"column": 17
}
}
},
{
"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": 1589,
"end": 1593,
"loc": {
"start": {
"line": 60,
"column": 17
},
"end": {
"line": 60,
"column": 21
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1593,
"end": 1594,
"loc": {
"start": {
"line": 60,
"column": 21
},
"end": {
"line": 60,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getActive",
"start": 1594,
"end": 1603,
"loc": {
"start": {
"line": 60,
"column": 22
},
"end": {
"line": 60,
"column": 31
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1603,
"end": 1604,
"loc": {
"start": {
"line": 60,
"column": 31
},
"end": {
"line": 60,
"column": 32
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1604,
"end": 1605,
"loc": {
"start": {
"line": 60,
"column": 32
},
"end": {
"line": 60,
"column": 33
}
}
},
{
"type": {
"label": "||",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 1,
"updateContext": null
},
"value": "||",
"start": 1606,
"end": 1608,
"loc": {
"start": {
"line": 60,
"column": 34
},
"end": {
"line": 60,
"column": 36
}
}
},
{
"type": {
"label": "prefix",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "!",
"start": 1609,
"end": 1610,
"loc": {
"start": {
"line": 60,
"column": 37
},
"end": {
"line": 60,
"column": 38
}
}
},
{
"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": 1610,
"end": 1614,
"loc": {
"start": {
"line": 60,
"column": 38
},
"end": {
"line": 60,
"column": 42
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1614,
"end": 1615,
"loc": {
"start": {
"line": 60,
"column": 42
},
"end": {
"line": 60,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getEnabled",
"start": 1615,
"end": 1625,
"loc": {
"start": {
"line": 60,
"column": 43
},
"end": {
"line": 60,
"column": 53
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1625,
"end": 1626,
"loc": {
"start": {
"line": 60,
"column": 53
},
"end": {
"line": 60,
"column": 54
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1626,
"end": 1627,
"loc": {
"start": {
"line": 60,
"column": 54
},
"end": {
"line": 60,
"column": 55
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1627,
"end": 1628,
"loc": {
"start": {
"line": 60,
"column": 55
},
"end": {
"line": 60,
"column": 56
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1629,
"end": 1630,
"loc": {
"start": {
"line": 60,
"column": 57
},
"end": {
"line": 60,
"column": 58
}
}
},
{
"type": {
"label": "return",
"keyword": "return",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "return",
"start": 1647,
"end": 1653,
"loc": {
"start": {
"line": 61,
"column": 16
},
"end": {
"line": 61,
"column": 22
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1653,
"end": 1654,
"loc": {
"start": {
"line": 61,
"column": 22
},
"end": {
"line": 61,
"column": 23
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1667,
"end": 1668,
"loc": {
"start": {
"line": 62,
"column": 12
},
"end": {
"line": 62,
"column": 13
}
}
},
{
"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": 1681,
"end": 1683,
"loc": {
"start": {
"line": 63,
"column": 12
},
"end": {
"line": 63,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1684,
"end": 1685,
"loc": {
"start": {
"line": 63,
"column": 15
},
"end": {
"line": 63,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 1685,
"end": 1691,
"loc": {
"start": {
"line": 63,
"column": 16
},
"end": {
"line": 63,
"column": 22
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1691,
"end": 1692,
"loc": {
"start": {
"line": 63,
"column": 22
},
"end": {
"line": 63,
"column": 23
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1693,
"end": 1694,
"loc": {
"start": {
"line": 63,
"column": 24
},
"end": {
"line": 63,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 1711,
"end": 1717,
"loc": {
"start": {
"line": 64,
"column": 16
},
"end": {
"line": 64,
"column": 22
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1717,
"end": 1718,
"loc": {
"start": {
"line": 64,
"column": 22
},
"end": {
"line": 64,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "highlighted",
"start": 1718,
"end": 1729,
"loc": {
"start": {
"line": 64,
"column": 23
},
"end": {
"line": 64,
"column": 34
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1730,
"end": 1731,
"loc": {
"start": {
"line": 64,
"column": 35
},
"end": {
"line": 64,
"column": 36
}
}
},
{
"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": 1732,
"end": 1737,
"loc": {
"start": {
"line": 64,
"column": 37
},
"end": {
"line": 64,
"column": 42
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1737,
"end": 1738,
"loc": {
"start": {
"line": 64,
"column": 42
},
"end": {
"line": 64,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 1755,
"end": 1761,
"loc": {
"start": {
"line": 65,
"column": 16
},
"end": {
"line": 65,
"column": 22
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1762,
"end": 1763,
"loc": {
"start": {
"line": 65,
"column": 23
},
"end": {
"line": 65,
"column": 24
}
}
},
{
"type": {
"label": "null",
"keyword": "null",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "null",
"start": 1764,
"end": 1768,
"loc": {
"start": {
"line": 65,
"column": 25
},
"end": {
"line": 65,
"column": 29
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1768,
"end": 1769,
"loc": {
"start": {
"line": 65,
"column": 29
},
"end": {
"line": 65,
"column": 30
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1782,
"end": 1783,
"loc": {
"start": {
"line": 66,
"column": 12
},
"end": {
"line": 66,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 1796,
"end": 1802,
"loc": {
"start": {
"line": 67,
"column": 12
},
"end": {
"line": 67,
"column": 18
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1803,
"end": 1804,
"loc": {
"start": {
"line": 67,
"column": 19
},
"end": {
"line": 67,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "e",
"start": 1805,
"end": 1806,
"loc": {
"start": {
"line": 67,
"column": 21
},
"end": {
"line": 67,
"column": 22
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1806,
"end": 1807,
"loc": {
"start": {
"line": 67,
"column": 22
},
"end": {
"line": 67,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 1807,
"end": 1813,
"loc": {
"start": {
"line": 67,
"column": 23
},
"end": {
"line": 67,
"column": 29
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1813,
"end": 1814,
"loc": {
"start": {
"line": 67,
"column": 29
},
"end": {
"line": 67,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 1827,
"end": 1833,
"loc": {
"start": {
"line": 68,
"column": 12
},
"end": {
"line": 68,
"column": 18
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1833,
"end": 1834,
"loc": {
"start": {
"line": 68,
"column": 18
},
"end": {
"line": 68,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "highlighted",
"start": 1834,
"end": 1845,
"loc": {
"start": {
"line": 68,
"column": 19
},
"end": {
"line": 68,
"column": 30
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1846,
"end": 1847,
"loc": {
"start": {
"line": 68,
"column": 31
},
"end": {
"line": 68,
"column": 32
}
}
},
{
"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": 1848,
"end": 1852,
"loc": {
"start": {
"line": 68,
"column": 33
},
"end": {
"line": 68,
"column": 37
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1852,
"end": 1853,
"loc": {
"start": {
"line": 68,
"column": 37
},
"end": {
"line": 68,
"column": 38
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1862,
"end": 1863,
"loc": {
"start": {
"line": 69,
"column": 8
},
"end": {
"line": 69,
"column": 9
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1863,
"end": 1864,
"loc": {
"start": {
"line": 69,
"column": 9
},
"end": {
"line": 69,
"column": 10
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1864,
"end": 1865,
"loc": {
"start": {
"line": 69,
"column": 10
},
"end": {
"line": 69,
"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": 1874,
"end": 1878,
"loc": {
"start": {
"line": 70,
"column": 8
},
"end": {
"line": 70,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1878,
"end": 1879,
"loc": {
"start": {
"line": 70,
"column": 12
},
"end": {
"line": 70,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_onHoverOff",
"start": 1879,
"end": 1890,
"loc": {
"start": {
"line": 70,
"column": 13
},
"end": {
"line": 70,
"column": 24
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1891,
"end": 1892,
"loc": {
"start": {
"line": 70,
"column": 25
},
"end": {
"line": 70,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cameraControl",
"start": 1893,
"end": 1906,
"loc": {
"start": {
"line": 70,
"column": 27
},
"end": {
"line": 70,
"column": 40
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1906,
"end": 1907,
"loc": {
"start": {
"line": 70,
"column": 40
},
"end": {
"line": 70,
"column": 41
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "on",
"start": 1907,
"end": 1909,
"loc": {
"start": {
"line": 70,
"column": 41
},
"end": {
"line": 70,
"column": 43
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1909,
"end": 1910,
"loc": {
"start": {
"line": 70,
"column": 43
},
"end": {
"line": 70,
"column": 44
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "hoverOff",
"start": 1910,
"end": 1920,
"loc": {
"start": {
"line": 70,
"column": 44
},
"end": {
"line": 70,
"column": 54
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1920,
"end": 1921,
"loc": {
"start": {
"line": 70,
"column": 54
},
"end": {
"line": 70,
"column": 55
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1922,
"end": 1923,
"loc": {
"start": {
"line": 70,
"column": 56
},
"end": {
"line": 70,
"column": 57
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "e",
"start": 1923,
"end": 1924,
"loc": {
"start": {
"line": 70,
"column": 57
},
"end": {
"line": 70,
"column": 58
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1924,
"end": 1925,
"loc": {
"start": {
"line": 70,
"column": 58
},
"end": {
"line": 70,
"column": 59
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1926,
"end": 1928,
"loc": {
"start": {
"line": 70,
"column": 60
},
"end": {
"line": 70,
"column": 62
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1929,
"end": 1930,
"loc": {
"start": {
"line": 70,
"column": 63
},
"end": {
"line": 70,
"column": 64
}
}
},
{
"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": 1943,
"end": 1945,
"loc": {
"start": {
"line": 71,
"column": 12
},
"end": {
"line": 71,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1946,
"end": 1947,
"loc": {
"start": {
"line": 71,
"column": 15
},
"end": {
"line": 71,
"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": 1947,
"end": 1948,
"loc": {
"start": {
"line": 71,
"column": 16
},
"end": {
"line": 71,
"column": 17
}
}
},
{
"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": 1948,
"end": 1952,
"loc": {
"start": {
"line": 71,
"column": 17
},
"end": {
"line": 71,
"column": 21
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1952,
"end": 1953,
"loc": {
"start": {
"line": 71,
"column": 21
},
"end": {
"line": 71,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getActive",
"start": 1953,
"end": 1962,
"loc": {
"start": {
"line": 71,
"column": 22
},
"end": {
"line": 71,
"column": 31
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1962,
"end": 1963,
"loc": {
"start": {
"line": 71,
"column": 31
},
"end": {
"line": 71,
"column": 32
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1963,
"end": 1964,
"loc": {
"start": {
"line": 71,
"column": 32
},
"end": {
"line": 71,
"column": 33
}
}
},
{
"type": {
"label": "||",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 1,
"updateContext": null
},
"value": "||",
"start": 1965,
"end": 1967,
"loc": {
"start": {
"line": 71,
"column": 34
},
"end": {
"line": 71,
"column": 36
}
}
},
{
"type": {
"label": "prefix",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "!",
"start": 1968,
"end": 1969,
"loc": {
"start": {
"line": 71,
"column": 37
},
"end": {
"line": 71,
"column": 38
}
}
},
{
"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": 1969,
"end": 1973,
"loc": {
"start": {
"line": 71,
"column": 38
},
"end": {
"line": 71,
"column": 42
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1973,
"end": 1974,
"loc": {
"start": {
"line": 71,
"column": 42
},
"end": {
"line": 71,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getEnabled",
"start": 1974,
"end": 1984,
"loc": {
"start": {
"line": 71,
"column": 43
},
"end": {
"line": 71,
"column": 53
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1984,
"end": 1985,
"loc": {
"start": {
"line": 71,
"column": 53
},
"end": {
"line": 71,
"column": 54
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1985,
"end": 1986,
"loc": {
"start": {
"line": 71,
"column": 54
},
"end": {
"line": 71,
"column": 55
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1986,
"end": 1987,
"loc": {
"start": {
"line": 71,
"column": 55
},
"end": {
"line": 71,
"column": 56
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1988,
"end": 1989,
"loc": {
"start": {
"line": 71,
"column": 57
},
"end": {
"line": 71,
"column": 58
}
}
},
{
"type": {
"label": "return",
"keyword": "return",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "return",
"start": 2006,
"end": 2012,
"loc": {
"start": {
"line": 72,
"column": 16
},
"end": {
"line": 72,
"column": 22
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2012,
"end": 2013,
"loc": {
"start": {
"line": 72,
"column": 22
},
"end": {
"line": 72,
"column": 23
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2026,
"end": 2027,
"loc": {
"start": {
"line": 73,
"column": 12
},
"end": {
"line": 73,
"column": 13
}
}
},
{
"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": 2040,
"end": 2042,
"loc": {
"start": {
"line": 74,
"column": 12
},
"end": {
"line": 74,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2043,
"end": 2044,
"loc": {
"start": {
"line": 74,
"column": 15
},
"end": {
"line": 74,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 2044,
"end": 2050,
"loc": {
"start": {
"line": 74,
"column": 16
},
"end": {
"line": 74,
"column": 22
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2050,
"end": 2051,
"loc": {
"start": {
"line": 74,
"column": 22
},
"end": {
"line": 74,
"column": 23
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2052,
"end": 2053,
"loc": {
"start": {
"line": 74,
"column": 24
},
"end": {
"line": 74,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 2070,
"end": 2076,
"loc": {
"start": {
"line": 75,
"column": 16
},
"end": {
"line": 75,
"column": 22
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2076,
"end": 2077,
"loc": {
"start": {
"line": 75,
"column": 22
},
"end": {
"line": 75,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "highlighted",
"start": 2077,
"end": 2088,
"loc": {
"start": {
"line": 75,
"column": 23
},
"end": {
"line": 75,
"column": 34
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2089,
"end": 2090,
"loc": {
"start": {
"line": 75,
"column": 35
},
"end": {
"line": 75,
"column": 36
}
}
},
{
"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": 2091,
"end": 2096,
"loc": {
"start": {
"line": 75,
"column": 37
},
"end": {
"line": 75,
"column": 42
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2096,
"end": 2097,
"loc": {
"start": {
"line": 75,
"column": 42
},
"end": {
"line": 75,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 2114,
"end": 2120,
"loc": {
"start": {
"line": 76,
"column": 16
},
"end": {
"line": 76,
"column": 22
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2121,
"end": 2122,
"loc": {
"start": {
"line": 76,
"column": 23
},
"end": {
"line": 76,
"column": 24
}
}
},
{
"type": {
"label": "null",
"keyword": "null",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "null",
"start": 2123,
"end": 2127,
"loc": {
"start": {
"line": 76,
"column": 25
},
"end": {
"line": 76,
"column": 29
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2127,
"end": 2128,
"loc": {
"start": {
"line": 76,
"column": 29
},
"end": {
"line": 76,
"column": 30
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2141,
"end": 2142,
"loc": {
"start": {
"line": 77,
"column": 12
},
"end": {
"line": 77,
"column": 13
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2151,
"end": 2152,
"loc": {
"start": {
"line": 78,
"column": 8
},
"end": {
"line": 78,
"column": 9
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2152,
"end": 2153,
"loc": {
"start": {
"line": 78,
"column": 9
},
"end": {
"line": 78,
"column": 10
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2153,
"end": 2154,
"loc": {
"start": {
"line": 78,
"column": 10
},
"end": {
"line": 78,
"column": 11
}
}
},
{
"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": 2163,
"end": 2168,
"loc": {
"start": {
"line": 79,
"column": 8
},
"end": {
"line": 79,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "lastCoords",
"start": 2169,
"end": 2179,
"loc": {
"start": {
"line": 79,
"column": 14
},
"end": {
"line": 79,
"column": 24
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2180,
"end": 2181,
"loc": {
"start": {
"line": 79,
"column": 25
},
"end": {
"line": 79,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "math",
"start": 2182,
"end": 2186,
"loc": {
"start": {
"line": 79,
"column": 27
},
"end": {
"line": 79,
"column": 31
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2186,
"end": 2187,
"loc": {
"start": {
"line": 79,
"column": 31
},
"end": {
"line": 79,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "vec2",
"start": 2187,
"end": 2191,
"loc": {
"start": {
"line": 79,
"column": 32
},
"end": {
"line": 79,
"column": 36
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2191,
"end": 2192,
"loc": {
"start": {
"line": 79,
"column": 36
},
"end": {
"line": 79,
"column": 37
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2192,
"end": 2193,
"loc": {
"start": {
"line": 79,
"column": 37
},
"end": {
"line": 79,
"column": 38
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2193,
"end": 2194,
"loc": {
"start": {
"line": 79,
"column": 38
},
"end": {
"line": 79,
"column": 39
}
}
},
{
"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": 2203,
"end": 2207,
"loc": {
"start": {
"line": 80,
"column": 8
},
"end": {
"line": 80,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2207,
"end": 2208,
"loc": {
"start": {
"line": 80,
"column": 12
},
"end": {
"line": 80,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_onMousedown",
"start": 2208,
"end": 2220,
"loc": {
"start": {
"line": 80,
"column": 13
},
"end": {
"line": 80,
"column": 25
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2221,
"end": 2222,
"loc": {
"start": {
"line": 80,
"column": 26
},
"end": {
"line": 80,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "viewer",
"start": 2223,
"end": 2229,
"loc": {
"start": {
"line": 80,
"column": 28
},
"end": {
"line": 80,
"column": 34
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2229,
"end": 2230,
"loc": {
"start": {
"line": 80,
"column": 34
},
"end": {
"line": 80,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scene",
"start": 2230,
"end": 2235,
"loc": {
"start": {
"line": 80,
"column": 35
},
"end": {
"line": 80,
"column": 40
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2235,
"end": 2236,
"loc": {
"start": {
"line": 80,
"column": 40
},
"end": {
"line": 80,
"column": 41
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "input",
"start": 2236,
"end": 2241,
"loc": {
"start": {
"line": 80,
"column": 41
},
"end": {
"line": 80,
"column": 46
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2241,
"end": 2242,
"loc": {
"start": {
"line": 80,
"column": 46
},
"end": {
"line": 80,
"column": 47
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "on",
"start": 2242,
"end": 2244,
"loc": {
"start": {
"line": 80,
"column": 47
},
"end": {
"line": 80,
"column": 49
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2244,
"end": 2245,
"loc": {
"start": {
"line": 80,
"column": 49
},
"end": {
"line": 80,
"column": 50
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "mousedown",
"start": 2245,
"end": 2256,
"loc": {
"start": {
"line": 80,
"column": 50
},
"end": {
"line": 80,
"column": 61
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2256,
"end": 2257,
"loc": {
"start": {
"line": 80,
"column": 61
},
"end": {
"line": 80,
"column": 62
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2258,
"end": 2259,
"loc": {
"start": {
"line": 80,
"column": 63
},
"end": {
"line": 80,
"column": 64
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "coords",
"start": 2259,
"end": 2265,
"loc": {
"start": {
"line": 80,
"column": 64
},
"end": {
"line": 80,
"column": 70
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2265,
"end": 2266,
"loc": {
"start": {
"line": 80,
"column": 70
},
"end": {
"line": 80,
"column": 71
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2267,
"end": 2269,
"loc": {
"start": {
"line": 80,
"column": 72
},
"end": {
"line": 80,
"column": 74
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2270,
"end": 2271,
"loc": {
"start": {
"line": 80,
"column": 75
},
"end": {
"line": 80,
"column": 76
}
}
},
{
"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": 2284,
"end": 2286,
"loc": {
"start": {
"line": 81,
"column": 12
},
"end": {
"line": 81,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2287,
"end": 2288,
"loc": {
"start": {
"line": 81,
"column": 15
},
"end": {
"line": 81,
"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": 2288,
"end": 2289,
"loc": {
"start": {
"line": 81,
"column": 16
},
"end": {
"line": 81,
"column": 17
}
}
},
{
"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": 2289,
"end": 2293,
"loc": {
"start": {
"line": 81,
"column": 17
},
"end": {
"line": 81,
"column": 21
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2293,
"end": 2294,
"loc": {
"start": {
"line": 81,
"column": 21
},
"end": {
"line": 81,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getActive",
"start": 2294,
"end": 2303,
"loc": {
"start": {
"line": 81,
"column": 22
},
"end": {
"line": 81,
"column": 31
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2303,
"end": 2304,
"loc": {
"start": {
"line": 81,
"column": 31
},
"end": {
"line": 81,
"column": 32
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2304,
"end": 2305,
"loc": {
"start": {
"line": 81,
"column": 32
},
"end": {
"line": 81,
"column": 33
}
}
},
{
"type": {
"label": "||",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 1,
"updateContext": null
},
"value": "||",
"start": 2306,
"end": 2308,
"loc": {
"start": {
"line": 81,
"column": 34
},
"end": {
"line": 81,
"column": 36
}
}
},
{
"type": {
"label": "prefix",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "!",
"start": 2309,
"end": 2310,
"loc": {
"start": {
"line": 81,
"column": 37
},
"end": {
"line": 81,
"column": 38
}
}
},
{
"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": 2310,
"end": 2314,
"loc": {
"start": {
"line": 81,
"column": 38
},
"end": {
"line": 81,
"column": 42
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2314,
"end": 2315,
"loc": {
"start": {
"line": 81,
"column": 42
},
"end": {
"line": 81,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getEnabled",
"start": 2315,
"end": 2325,
"loc": {
"start": {
"line": 81,
"column": 43
},
"end": {
"line": 81,
"column": 53
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2325,
"end": 2326,
"loc": {
"start": {
"line": 81,
"column": 53
},
"end": {
"line": 81,
"column": 54
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2326,
"end": 2327,
"loc": {
"start": {
"line": 81,
"column": 54
},
"end": {
"line": 81,
"column": 55
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2327,
"end": 2328,
"loc": {
"start": {
"line": 81,
"column": 55
},
"end": {
"line": 81,
"column": 56
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2329,
"end": 2330,
"loc": {
"start": {
"line": 81,
"column": 57
},
"end": {
"line": 81,
"column": 58
}
}
},
{
"type": {
"label": "return",
"keyword": "return",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "return",
"start": 2347,
"end": 2353,
"loc": {
"start": {
"line": 82,
"column": 16
},
"end": {
"line": 82,
"column": 22
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2353,
"end": 2354,
"loc": {
"start": {
"line": 82,
"column": 22
},
"end": {
"line": 82,
"column": 23
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2367,
"end": 2368,
"loc": {
"start": {
"line": 83,
"column": 12
},
"end": {
"line": 83,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "lastCoords",
"start": 2381,
"end": 2391,
"loc": {
"start": {
"line": 84,
"column": 12
},
"end": {
"line": 84,
"column": 22
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2391,
"end": 2392,
"loc": {
"start": {
"line": 84,
"column": 22
},
"end": {
"line": 84,
"column": 23
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 2392,
"end": 2393,
"loc": {
"start": {
"line": 84,
"column": 23
},
"end": {
"line": 84,
"column": 24
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2393,
"end": 2394,
"loc": {
"start": {
"line": 84,
"column": 24
},
"end": {
"line": 84,
"column": 25
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2395,
"end": 2396,
"loc": {
"start": {
"line": 84,
"column": 26
},
"end": {
"line": 84,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "coords",
"start": 2397,
"end": 2403,
"loc": {
"start": {
"line": 84,
"column": 28
},
"end": {
"line": 84,
"column": 34
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2403,
"end": 2404,
"loc": {
"start": {
"line": 84,
"column": 34
},
"end": {
"line": 84,
"column": 35
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0,
"start": 2404,
"end": 2405,
"loc": {
"start": {
"line": 84,
"column": 35
},
"end": {
"line": 84,
"column": 36
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2405,
"end": 2406,
"loc": {
"start": {
"line": 84,
"column": 36
},
"end": {
"line": 84,
"column": 37
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2406,
"end": 2407,
"loc": {
"start": {
"line": 84,
"column": 37
},
"end": {
"line": 84,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "lastCoords",
"start": 2420,
"end": 2430,
"loc": {
"start": {
"line": 85,
"column": 12
},
"end": {
"line": 85,
"column": 22
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2430,
"end": 2431,
"loc": {
"start": {
"line": 85,
"column": 22
},
"end": {
"line": 85,
"column": 23
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 1,
"start": 2431,
"end": 2432,
"loc": {
"start": {
"line": 85,
"column": 23
},
"end": {
"line": 85,
"column": 24
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2432,
"end": 2433,
"loc": {
"start": {
"line": 85,
"column": 24
},
"end": {
"line": 85,
"column": 25
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2434,
"end": 2435,
"loc": {
"start": {
"line": 85,
"column": 26
},
"end": {
"line": 85,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "coords",
"start": 2436,
"end": 2442,
"loc": {
"start": {
"line": 85,
"column": 28
},
"end": {
"line": 85,
"column": 34
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2442,
"end": 2443,
"loc": {
"start": {
"line": 85,
"column": 34
},
"end": {
"line": 85,
"column": 35
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 1,
"start": 2443,
"end": 2444,
"loc": {
"start": {
"line": 85,
"column": 35
},
"end": {
"line": 85,
"column": 36
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2444,
"end": 2445,
"loc": {
"start": {
"line": 85,
"column": 36
},
"end": {
"line": 85,
"column": 37
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2445,
"end": 2446,
"loc": {
"start": {
"line": 85,
"column": 37
},
"end": {
"line": 85,
"column": 38
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2455,
"end": 2456,
"loc": {
"start": {
"line": 86,
"column": 8
},
"end": {
"line": 86,
"column": 9
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2456,
"end": 2457,
"loc": {
"start": {
"line": 86,
"column": 9
},
"end": {
"line": 86,
"column": 10
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2457,
"end": 2458,
"loc": {
"start": {
"line": 86,
"column": 10
},
"end": {
"line": 86,
"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": 2467,
"end": 2471,
"loc": {
"start": {
"line": 87,
"column": 8
},
"end": {
"line": 87,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2471,
"end": 2472,
"loc": {
"start": {
"line": 87,
"column": 12
},
"end": {
"line": 87,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_onMouseup",
"start": 2472,
"end": 2482,
"loc": {
"start": {
"line": 87,
"column": 13
},
"end": {
"line": 87,
"column": 23
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2483,
"end": 2484,
"loc": {
"start": {
"line": 87,
"column": 24
},
"end": {
"line": 87,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "viewer",
"start": 2485,
"end": 2491,
"loc": {
"start": {
"line": 87,
"column": 26
},
"end": {
"line": 87,
"column": 32
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2491,
"end": 2492,
"loc": {
"start": {
"line": 87,
"column": 32
},
"end": {
"line": 87,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scene",
"start": 2492,
"end": 2497,
"loc": {
"start": {
"line": 87,
"column": 33
},
"end": {
"line": 87,
"column": 38
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2497,
"end": 2498,
"loc": {
"start": {
"line": 87,
"column": 38
},
"end": {
"line": 87,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "input",
"start": 2498,
"end": 2503,
"loc": {
"start": {
"line": 87,
"column": 39
},
"end": {
"line": 87,
"column": 44
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2503,
"end": 2504,
"loc": {
"start": {
"line": 87,
"column": 44
},
"end": {
"line": 87,
"column": 45
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "on",
"start": 2504,
"end": 2506,
"loc": {
"start": {
"line": 87,
"column": 45
},
"end": {
"line": 87,
"column": 47
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2506,
"end": 2507,
"loc": {
"start": {
"line": 87,
"column": 47
},
"end": {
"line": 87,
"column": 48
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "mouseup",
"start": 2507,
"end": 2516,
"loc": {
"start": {
"line": 87,
"column": 48
},
"end": {
"line": 87,
"column": 57
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2516,
"end": 2517,
"loc": {
"start": {
"line": 87,
"column": 57
},
"end": {
"line": 87,
"column": 58
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2518,
"end": 2519,
"loc": {
"start": {
"line": 87,
"column": 59
},
"end": {
"line": 87,
"column": 60
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "coords",
"start": 2519,
"end": 2525,
"loc": {
"start": {
"line": 87,
"column": 60
},
"end": {
"line": 87,
"column": 66
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2525,
"end": 2526,
"loc": {
"start": {
"line": 87,
"column": 66
},
"end": {
"line": 87,
"column": 67
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2527,
"end": 2529,
"loc": {
"start": {
"line": 87,
"column": 68
},
"end": {
"line": 87,
"column": 70
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2530,
"end": 2531,
"loc": {
"start": {
"line": 87,
"column": 71
},
"end": {
"line": 87,
"column": 72
}
}
},
{
"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": 2544,
"end": 2546,
"loc": {
"start": {
"line": 88,
"column": 12
},
"end": {
"line": 88,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2547,
"end": 2548,
"loc": {
"start": {
"line": 88,
"column": 15
},
"end": {
"line": 88,
"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": 2548,
"end": 2549,
"loc": {
"start": {
"line": 88,
"column": 16
},
"end": {
"line": 88,
"column": 17
}
}
},
{
"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": 2549,
"end": 2553,
"loc": {
"start": {
"line": 88,
"column": 17
},
"end": {
"line": 88,
"column": 21
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2553,
"end": 2554,
"loc": {
"start": {
"line": 88,
"column": 21
},
"end": {
"line": 88,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getActive",
"start": 2554,
"end": 2563,
"loc": {
"start": {
"line": 88,
"column": 22
},
"end": {
"line": 88,
"column": 31
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2563,
"end": 2564,
"loc": {
"start": {
"line": 88,
"column": 31
},
"end": {
"line": 88,
"column": 32
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2564,
"end": 2565,
"loc": {
"start": {
"line": 88,
"column": 32
},
"end": {
"line": 88,
"column": 33
}
}
},
{
"type": {
"label": "||",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 1,
"updateContext": null
},
"value": "||",
"start": 2566,
"end": 2568,
"loc": {
"start": {
"line": 88,
"column": 34
},
"end": {
"line": 88,
"column": 36
}
}
},
{
"type": {
"label": "prefix",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "!",
"start": 2569,
"end": 2570,
"loc": {
"start": {
"line": 88,
"column": 37
},
"end": {
"line": 88,
"column": 38
}
}
},
{
"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": 2570,
"end": 2574,
"loc": {
"start": {
"line": 88,
"column": 38
},
"end": {
"line": 88,
"column": 42
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2574,
"end": 2575,
"loc": {
"start": {
"line": 88,
"column": 42
},
"end": {
"line": 88,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getEnabled",
"start": 2575,
"end": 2585,
"loc": {
"start": {
"line": 88,
"column": 43
},
"end": {
"line": 88,
"column": 53
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2585,
"end": 2586,
"loc": {
"start": {
"line": 88,
"column": 53
},
"end": {
"line": 88,
"column": 54
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2586,
"end": 2587,
"loc": {
"start": {
"line": 88,
"column": 54
},
"end": {
"line": 88,
"column": 55
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2587,
"end": 2588,
"loc": {
"start": {
"line": 88,
"column": 55
},
"end": {
"line": 88,
"column": 56
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2589,
"end": 2590,
"loc": {
"start": {
"line": 88,
"column": 57
},
"end": {
"line": 88,
"column": 58
}
}
},
{
"type": {
"label": "return",
"keyword": "return",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "return",
"start": 2607,
"end": 2613,
"loc": {
"start": {
"line": 89,
"column": 16
},
"end": {
"line": 89,
"column": 22
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2613,
"end": 2614,
"loc": {
"start": {
"line": 89,
"column": 22
},
"end": {
"line": 89,
"column": 23
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2627,
"end": 2628,
"loc": {
"start": {
"line": 90,
"column": 12
},
"end": {
"line": 90,
"column": 13
}
}
},
{
"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": 2641,
"end": 2643,
"loc": {
"start": {
"line": 91,
"column": 12
},
"end": {
"line": 91,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2644,
"end": 2645,
"loc": {
"start": {
"line": 91,
"column": 15
},
"end": {
"line": 91,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 2645,
"end": 2651,
"loc": {
"start": {
"line": 91,
"column": 16
},
"end": {
"line": 91,
"column": 22
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2651,
"end": 2652,
"loc": {
"start": {
"line": 91,
"column": 22
},
"end": {
"line": 91,
"column": 23
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2653,
"end": 2654,
"loc": {
"start": {
"line": 91,
"column": 24
},
"end": {
"line": 91,
"column": 25
}
}
},
{
"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": 2671,
"end": 2673,
"loc": {
"start": {
"line": 92,
"column": 16
},
"end": {
"line": 92,
"column": 18
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2674,
"end": 2675,
"loc": {
"start": {
"line": 92,
"column": 19
},
"end": {
"line": 92,
"column": 20
}
}
},
{
"type": {
"label": "prefix",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "!",
"start": 2675,
"end": 2676,
"loc": {
"start": {
"line": 92,
"column": 20
},
"end": {
"line": 92,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "closeEnough",
"start": 2676,
"end": 2687,
"loc": {
"start": {
"line": 92,
"column": 21
},
"end": {
"line": 92,
"column": 32
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2687,
"end": 2688,
"loc": {
"start": {
"line": 92,
"column": 32
},
"end": {
"line": 92,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "lastCoords",
"start": 2688,
"end": 2698,
"loc": {
"start": {
"line": 92,
"column": 33
},
"end": {
"line": 92,
"column": 43
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2698,
"end": 2699,
"loc": {
"start": {
"line": 92,
"column": 43
},
"end": {
"line": 92,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "coords",
"start": 2700,
"end": 2706,
"loc": {
"start": {
"line": 92,
"column": 45
},
"end": {
"line": 92,
"column": 51
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2706,
"end": 2707,
"loc": {
"start": {
"line": 92,
"column": 51
},
"end": {
"line": 92,
"column": 52
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2707,
"end": 2708,
"loc": {
"start": {
"line": 92,
"column": 52
},
"end": {
"line": 92,
"column": 53
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2709,
"end": 2710,
"loc": {
"start": {
"line": 92,
"column": 54
},
"end": {
"line": 92,
"column": 55
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 2731,
"end": 2737,
"loc": {
"start": {
"line": 93,
"column": 20
},
"end": {
"line": 93,
"column": 26
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2738,
"end": 2739,
"loc": {
"start": {
"line": 93,
"column": 27
},
"end": {
"line": 93,
"column": 28
}
}
},
{
"type": {
"label": "null",
"keyword": "null",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "null",
"start": 2740,
"end": 2744,
"loc": {
"start": {
"line": 93,
"column": 29
},
"end": {
"line": 93,
"column": 33
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2744,
"end": 2745,
"loc": {
"start": {
"line": 93,
"column": 33
},
"end": {
"line": 93,
"column": 34
}
}
},
{
"type": {
"label": "return",
"keyword": "return",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "return",
"start": 2766,
"end": 2772,
"loc": {
"start": {
"line": 94,
"column": 20
},
"end": {
"line": 94,
"column": 26
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2772,
"end": 2773,
"loc": {
"start": {
"line": 94,
"column": 26
},
"end": {
"line": 94,
"column": 27
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2790,
"end": 2791,
"loc": {
"start": {
"line": 95,
"column": 16
},
"end": {
"line": 95,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 2808,
"end": 2814,
"loc": {
"start": {
"line": 96,
"column": 16
},
"end": {
"line": 96,
"column": 22
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2814,
"end": 2815,
"loc": {
"start": {
"line": 96,
"column": 22
},
"end": {
"line": 96,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "selected",
"start": 2815,
"end": 2823,
"loc": {
"start": {
"line": 96,
"column": 23
},
"end": {
"line": 96,
"column": 31
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2824,
"end": 2825,
"loc": {
"start": {
"line": 96,
"column": 32
},
"end": {
"line": 96,
"column": 33
}
}
},
{
"type": {
"label": "prefix",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "!",
"start": 2826,
"end": 2827,
"loc": {
"start": {
"line": 96,
"column": 34
},
"end": {
"line": 96,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 2827,
"end": 2833,
"loc": {
"start": {
"line": 96,
"column": 35
},
"end": {
"line": 96,
"column": 41
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2833,
"end": 2834,
"loc": {
"start": {
"line": 96,
"column": 41
},
"end": {
"line": 96,
"column": 42
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "selected",
"start": 2834,
"end": 2842,
"loc": {
"start": {
"line": 96,
"column": 42
},
"end": {
"line": 96,
"column": 50
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2842,
"end": 2843,
"loc": {
"start": {
"line": 96,
"column": 50
},
"end": {
"line": 96,
"column": 51
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 2860,
"end": 2866,
"loc": {
"start": {
"line": 97,
"column": 16
},
"end": {
"line": 97,
"column": 22
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2867,
"end": 2868,
"loc": {
"start": {
"line": 97,
"column": 23
},
"end": {
"line": 97,
"column": 24
}
}
},
{
"type": {
"label": "null",
"keyword": "null",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "null",
"start": 2869,
"end": 2873,
"loc": {
"start": {
"line": 97,
"column": 25
},
"end": {
"line": 97,
"column": 29
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2873,
"end": 2874,
"loc": {
"start": {
"line": 97,
"column": 29
},
"end": {
"line": 97,
"column": 30
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2887,
"end": 2888,
"loc": {
"start": {
"line": 98,
"column": 12
},
"end": {
"line": 98,
"column": 13
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2897,
"end": 2898,
"loc": {
"start": {
"line": 99,
"column": 8
},
"end": {
"line": 99,
"column": 9
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2898,
"end": 2899,
"loc": {
"start": {
"line": 99,
"column": 9
},
"end": {
"line": 99,
"column": 10
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2899,
"end": 2900,
"loc": {
"start": {
"line": 99,
"column": 10
},
"end": {
"line": 99,
"column": 11
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2905,
"end": 2906,
"loc": {
"start": {
"line": 100,
"column": 4
},
"end": {
"line": 100,
"column": 5
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2907,
"end": 2908,
"loc": {
"start": {
"line": 101,
"column": 0
},
"end": {
"line": 101,
"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": 2910,
"end": 2916,
"loc": {
"start": {
"line": 103,
"column": 0
},
"end": {
"line": 103,
"column": 6
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2917,
"end": 2918,
"loc": {
"start": {
"line": 103,
"column": 7
},
"end": {
"line": 103,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "SelectMode",
"start": 2918,
"end": 2928,
"loc": {
"start": {
"line": 103,
"column": 8
},
"end": {
"line": 103,
"column": 18
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2928,
"end": 2929,
"loc": {
"start": {
"line": 103,
"column": 18
},
"end": {
"line": 103,
"column": 19
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2929,
"end": 2930,
"loc": {
"start": {
"line": 103,
"column": 19
},
"end": {
"line": 103,
"column": 20
}
}
},
{
"type": {
"label": "eof",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2930,
"end": 2930,
"loc": {
"start": {
"line": 103,
"column": 20
},
"end": {
"line": 103,
"column": 20
}
}
}
]
}