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

27299 lines
853 KiB
JSON

{
"type": "File",
"start": 0,
"end": 2805,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 98,
"column": 18
}
},
"program": {
"type": "Program",
"start": 0,
"end": 2805,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 98,
"column": 18
}
},
"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": 117,
"end": 253,
"loc": {
"start": {
"line": 4,
"column": 0
},
"end": {
"line": 7,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 126,
"end": 137,
"loc": {
"start": {
"line": 4,
"column": 9
},
"end": {
"line": 4,
"column": 20
},
"identifierName": "closeEnough"
},
"name": "closeEnough"
},
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 138,
"end": 139,
"loc": {
"start": {
"line": 4,
"column": 21
},
"end": {
"line": 4,
"column": 22
},
"identifierName": "p"
},
"name": "p"
},
{
"type": "Identifier",
"start": 141,
"end": 142,
"loc": {
"start": {
"line": 4,
"column": 24
},
"end": {
"line": 4,
"column": 25
},
"identifierName": "q"
},
"name": "q"
}
],
"body": {
"type": "BlockStatement",
"start": 144,
"end": 253,
"loc": {
"start": {
"line": 4,
"column": 27
},
"end": {
"line": 7,
"column": 1
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 150,
"end": 171,
"loc": {
"start": {
"line": 5,
"column": 4
},
"end": {
"line": 5,
"column": 25
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 156,
"end": 170,
"loc": {
"start": {
"line": 5,
"column": 10
},
"end": {
"line": 5,
"column": 24
}
},
"id": {
"type": "Identifier",
"start": 156,
"end": 166,
"loc": {
"start": {
"line": 5,
"column": 10
},
"end": {
"line": 5,
"column": 20
},
"identifierName": "CLICK_DIST"
},
"name": "CLICK_DIST"
},
"init": {
"type": "NumericLiteral",
"start": 169,
"end": 170,
"loc": {
"start": {
"line": 5,
"column": 23
},
"end": {
"line": 5,
"column": 24
}
},
"extra": {
"rawValue": 4,
"raw": "4"
},
"value": 4
}
}
],
"kind": "const"
},
{
"type": "ReturnStatement",
"start": 176,
"end": 251,
"loc": {
"start": {
"line": 6,
"column": 4
},
"end": {
"line": 6,
"column": 79
}
},
"argument": {
"type": "LogicalExpression",
"start": 183,
"end": 250,
"loc": {
"start": {
"line": 6,
"column": 11
},
"end": {
"line": 6,
"column": 78
}
},
"left": {
"type": "BinaryExpression",
"start": 184,
"end": 209,
"loc": {
"start": {
"line": 6,
"column": 12
},
"end": {
"line": 6,
"column": 37
}
},
"left": {
"type": "CallExpression",
"start": 184,
"end": 205,
"loc": {
"start": {
"line": 6,
"column": 12
},
"end": {
"line": 6,
"column": 33
}
},
"callee": {
"type": "MemberExpression",
"start": 184,
"end": 192,
"loc": {
"start": {
"line": 6,
"column": 12
},
"end": {
"line": 6,
"column": 20
}
},
"object": {
"type": "Identifier",
"start": 184,
"end": 188,
"loc": {
"start": {
"line": 6,
"column": 12
},
"end": {
"line": 6,
"column": 16
},
"identifierName": "Math"
},
"name": "Math"
},
"property": {
"type": "Identifier",
"start": 189,
"end": 192,
"loc": {
"start": {
"line": 6,
"column": 17
},
"end": {
"line": 6,
"column": 20
},
"identifierName": "abs"
},
"name": "abs"
},
"computed": false
},
"arguments": [
{
"type": "BinaryExpression",
"start": 193,
"end": 204,
"loc": {
"start": {
"line": 6,
"column": 21
},
"end": {
"line": 6,
"column": 32
}
},
"left": {
"type": "MemberExpression",
"start": 193,
"end": 197,
"loc": {
"start": {
"line": 6,
"column": 21
},
"end": {
"line": 6,
"column": 25
}
},
"object": {
"type": "Identifier",
"start": 193,
"end": 194,
"loc": {
"start": {
"line": 6,
"column": 21
},
"end": {
"line": 6,
"column": 22
},
"identifierName": "p"
},
"name": "p"
},
"property": {
"type": "NumericLiteral",
"start": 195,
"end": 196,
"loc": {
"start": {
"line": 6,
"column": 23
},
"end": {
"line": 6,
"column": 24
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
},
"computed": true
},
"operator": "-",
"right": {
"type": "MemberExpression",
"start": 200,
"end": 204,
"loc": {
"start": {
"line": 6,
"column": 28
},
"end": {
"line": 6,
"column": 32
}
},
"object": {
"type": "Identifier",
"start": 200,
"end": 201,
"loc": {
"start": {
"line": 6,
"column": 28
},
"end": {
"line": 6,
"column": 29
},
"identifierName": "q"
},
"name": "q"
},
"property": {
"type": "NumericLiteral",
"start": 202,
"end": 203,
"loc": {
"start": {
"line": 6,
"column": 30
},
"end": {
"line": 6,
"column": 31
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
},
"computed": true
}
}
]
},
"operator": "<",
"right": {
"type": "NumericLiteral",
"start": 208,
"end": 209,
"loc": {
"start": {
"line": 6,
"column": 36
},
"end": {
"line": 6,
"column": 37
}
},
"extra": {
"rawValue": 4,
"raw": "4"
},
"value": 4
},
"extra": {
"parenthesized": true,
"parenStart": 183
}
},
"operator": "&&",
"right": {
"type": "BinaryExpression",
"start": 215,
"end": 249,
"loc": {
"start": {
"line": 6,
"column": 43
},
"end": {
"line": 6,
"column": 77
}
},
"left": {
"type": "CallExpression",
"start": 215,
"end": 236,
"loc": {
"start": {
"line": 6,
"column": 43
},
"end": {
"line": 6,
"column": 64
}
},
"callee": {
"type": "MemberExpression",
"start": 215,
"end": 223,
"loc": {
"start": {
"line": 6,
"column": 43
},
"end": {
"line": 6,
"column": 51
}
},
"object": {
"type": "Identifier",
"start": 215,
"end": 219,
"loc": {
"start": {
"line": 6,
"column": 43
},
"end": {
"line": 6,
"column": 47
},
"identifierName": "Math"
},
"name": "Math"
},
"property": {
"type": "Identifier",
"start": 220,
"end": 223,
"loc": {
"start": {
"line": 6,
"column": 48
},
"end": {
"line": 6,
"column": 51
},
"identifierName": "abs"
},
"name": "abs"
},
"computed": false
},
"arguments": [
{
"type": "BinaryExpression",
"start": 224,
"end": 235,
"loc": {
"start": {
"line": 6,
"column": 52
},
"end": {
"line": 6,
"column": 63
}
},
"left": {
"type": "MemberExpression",
"start": 224,
"end": 228,
"loc": {
"start": {
"line": 6,
"column": 52
},
"end": {
"line": 6,
"column": 56
}
},
"object": {
"type": "Identifier",
"start": 224,
"end": 225,
"loc": {
"start": {
"line": 6,
"column": 52
},
"end": {
"line": 6,
"column": 53
},
"identifierName": "p"
},
"name": "p"
},
"property": {
"type": "NumericLiteral",
"start": 226,
"end": 227,
"loc": {
"start": {
"line": 6,
"column": 54
},
"end": {
"line": 6,
"column": 55
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
},
"computed": true
},
"operator": "-",
"right": {
"type": "MemberExpression",
"start": 231,
"end": 235,
"loc": {
"start": {
"line": 6,
"column": 59
},
"end": {
"line": 6,
"column": 63
}
},
"object": {
"type": "Identifier",
"start": 231,
"end": 232,
"loc": {
"start": {
"line": 6,
"column": 59
},
"end": {
"line": 6,
"column": 60
},
"identifierName": "q"
},
"name": "q"
},
"property": {
"type": "NumericLiteral",
"start": 233,
"end": 234,
"loc": {
"start": {
"line": 6,
"column": 61
},
"end": {
"line": 6,
"column": 62
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
},
"computed": true
}
}
]
},
"operator": "<",
"right": {
"type": "Identifier",
"start": 239,
"end": 249,
"loc": {
"start": {
"line": 6,
"column": 67
},
"end": {
"line": 6,
"column": 77
},
"identifierName": "CLICK_DIST"
},
"name": "CLICK_DIST"
},
"extra": {
"parenthesized": true,
"parenStart": 214
}
}
}
}
],
"directives": [],
"trailingComments": null
},
"trailingComments": [
{
"type": "CommentBlock",
"value": "* @private ",
"start": 255,
"end": 270,
"loc": {
"start": {
"line": 9,
"column": 0
},
"end": {
"line": 9,
"column": 15
}
}
}
]
},
{
"type": "Identifier",
"start": 271,
"end": 2785,
"loc": {
"start": {
"line": 10,
"column": 0
},
"end": {
"line": 96,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 277,
"end": 285,
"loc": {
"start": {
"line": 10,
"column": 6
},
"end": {
"line": 10,
"column": 14
},
"identifierName": "HideMode"
},
"name": "HideMode",
"leadingComments": null
},
"superClass": {
"type": "Identifier",
"start": 294,
"end": 304,
"loc": {
"start": {
"line": 10,
"column": 23
},
"end": {
"line": 10,
"column": 33
},
"identifierName": "Controller"
},
"name": "Controller"
},
"body": {
"type": "ClassBody",
"start": 305,
"end": 2785,
"loc": {
"start": {
"line": 10,
"column": 34
},
"end": {
"line": 96,
"column": 1
}
},
"body": [
{
"type": "ClassMethod",
"start": 312,
"end": 1370,
"loc": {
"start": {
"line": 12,
"column": 4
},
"end": {
"line": 52,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 312,
"end": 323,
"loc": {
"start": {
"line": 12,
"column": 4
},
"end": {
"line": 12,
"column": 15
},
"identifierName": "constructor"
},
"name": "constructor"
},
"kind": "constructor",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 324,
"end": 330,
"loc": {
"start": {
"line": 12,
"column": 16
},
"end": {
"line": 12,
"column": 22
},
"identifierName": "parent"
},
"name": "parent"
},
{
"type": "Identifier",
"start": 332,
"end": 335,
"loc": {
"start": {
"line": 12,
"column": 24
},
"end": {
"line": 12,
"column": 27
},
"identifierName": "cfg"
},
"name": "cfg"
}
],
"body": {
"type": "BlockStatement",
"start": 337,
"end": 1370,
"loc": {
"start": {
"line": 12,
"column": 29
},
"end": {
"line": 52,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 348,
"end": 367,
"loc": {
"start": {
"line": 14,
"column": 8
},
"end": {
"line": 14,
"column": 27
}
},
"expression": {
"type": "CallExpression",
"start": 348,
"end": 366,
"loc": {
"start": {
"line": 14,
"column": 8
},
"end": {
"line": 14,
"column": 26
}
},
"callee": {
"type": "Super",
"start": 348,
"end": 353,
"loc": {
"start": {
"line": 14,
"column": 8
},
"end": {
"line": 14,
"column": 13
}
}
},
"arguments": [
{
"type": "Identifier",
"start": 354,
"end": 360,
"loc": {
"start": {
"line": 14,
"column": 14
},
"end": {
"line": 14,
"column": 20
},
"identifierName": "parent"
},
"name": "parent"
},
{
"type": "Identifier",
"start": 362,
"end": 365,
"loc": {
"start": {
"line": 14,
"column": 22
},
"end": {
"line": 14,
"column": 25
},
"identifierName": "cfg"
},
"name": "cfg"
}
]
}
},
{
"type": "IfStatement",
"start": 377,
"end": 463,
"loc": {
"start": {
"line": 16,
"column": 8
},
"end": {
"line": 18,
"column": 9
}
},
"test": {
"type": "UnaryExpression",
"start": 381,
"end": 399,
"loc": {
"start": {
"line": 16,
"column": 12
},
"end": {
"line": 16,
"column": 30
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "MemberExpression",
"start": 382,
"end": 399,
"loc": {
"start": {
"line": 16,
"column": 13
},
"end": {
"line": 16,
"column": 30
}
},
"object": {
"type": "Identifier",
"start": 382,
"end": 385,
"loc": {
"start": {
"line": 16,
"column": 13
},
"end": {
"line": 16,
"column": 16
},
"identifierName": "cfg"
},
"name": "cfg"
},
"property": {
"type": "Identifier",
"start": 386,
"end": 399,
"loc": {
"start": {
"line": 16,
"column": 17
},
"end": {
"line": 16,
"column": 30
},
"identifierName": "buttonElement"
},
"name": "buttonElement"
},
"computed": false
},
"extra": {
"parenthesizedArgument": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 401,
"end": 463,
"loc": {
"start": {
"line": 16,
"column": 32
},
"end": {
"line": 18,
"column": 9
}
},
"body": [
{
"type": "ThrowStatement",
"start": 415,
"end": 453,
"loc": {
"start": {
"line": 17,
"column": 12
},
"end": {
"line": 17,
"column": 50
}
},
"argument": {
"type": "StringLiteral",
"start": 421,
"end": 452,
"loc": {
"start": {
"line": 17,
"column": 18
},
"end": {
"line": 17,
"column": 49
}
},
"extra": {
"rawValue": "Missing config: buttonElement",
"raw": "\"Missing config: buttonElement\""
},
"value": "Missing config: buttonElement"
}
}
],
"directives": []
},
"alternate": null
},
{
"type": "VariableDeclaration",
"start": 473,
"end": 513,
"loc": {
"start": {
"line": 20,
"column": 8
},
"end": {
"line": 20,
"column": 48
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 479,
"end": 512,
"loc": {
"start": {
"line": 20,
"column": 14
},
"end": {
"line": 20,
"column": 47
}
},
"id": {
"type": "Identifier",
"start": 479,
"end": 492,
"loc": {
"start": {
"line": 20,
"column": 14
},
"end": {
"line": 20,
"column": 27
},
"identifierName": "buttonElement"
},
"name": "buttonElement"
},
"init": {
"type": "MemberExpression",
"start": 495,
"end": 512,
"loc": {
"start": {
"line": 20,
"column": 30
},
"end": {
"line": 20,
"column": 47
}
},
"object": {
"type": "Identifier",
"start": 495,
"end": 498,
"loc": {
"start": {
"line": 20,
"column": 30
},
"end": {
"line": 20,
"column": 33
},
"identifierName": "cfg"
},
"name": "cfg"
},
"property": {
"type": "Identifier",
"start": 499,
"end": 512,
"loc": {
"start": {
"line": 20,
"column": 34
},
"end": {
"line": 20,
"column": 47
},
"identifierName": "buttonElement"
},
"name": "buttonElement"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "ExpressionStatement",
"start": 523,
"end": 748,
"loc": {
"start": {
"line": 22,
"column": 8
},
"end": {
"line": 28,
"column": 11
}
},
"expression": {
"type": "CallExpression",
"start": 523,
"end": 747,
"loc": {
"start": {
"line": 22,
"column": 8
},
"end": {
"line": 28,
"column": 10
}
},
"callee": {
"type": "MemberExpression",
"start": 523,
"end": 530,
"loc": {
"start": {
"line": 22,
"column": 8
},
"end": {
"line": 22,
"column": 15
}
},
"object": {
"type": "ThisExpression",
"start": 523,
"end": 527,
"loc": {
"start": {
"line": 22,
"column": 8
},
"end": {
"line": 22,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 528,
"end": 530,
"loc": {
"start": {
"line": 22,
"column": 13
},
"end": {
"line": 22,
"column": 15
},
"identifierName": "on"
},
"name": "on"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 531,
"end": 540,
"loc": {
"start": {
"line": 22,
"column": 16
},
"end": {
"line": 22,
"column": 25
}
},
"extra": {
"rawValue": "enabled",
"raw": "\"enabled\""
},
"value": "enabled"
},
{
"type": "ArrowFunctionExpression",
"start": 542,
"end": 746,
"loc": {
"start": {
"line": 22,
"column": 27
},
"end": {
"line": 28,
"column": 9
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 543,
"end": 550,
"loc": {
"start": {
"line": 22,
"column": 28
},
"end": {
"line": 22,
"column": 35
},
"identifierName": "enabled"
},
"name": "enabled"
}
],
"body": {
"type": "BlockStatement",
"start": 555,
"end": 746,
"loc": {
"start": {
"line": 22,
"column": 40
},
"end": {
"line": 28,
"column": 9
}
},
"body": [
{
"type": "IfStatement",
"start": 569,
"end": 736,
"loc": {
"start": {
"line": 23,
"column": 12
},
"end": {
"line": 27,
"column": 13
}
},
"test": {
"type": "UnaryExpression",
"start": 573,
"end": 581,
"loc": {
"start": {
"line": 23,
"column": 16
},
"end": {
"line": 23,
"column": 24
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 574,
"end": 581,
"loc": {
"start": {
"line": 23,
"column": 17
},
"end": {
"line": 23,
"column": 24
},
"identifierName": "enabled"
},
"name": "enabled"
},
"extra": {
"parenthesizedArgument": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 583,
"end": 655,
"loc": {
"start": {
"line": 23,
"column": 26
},
"end": {
"line": 25,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 601,
"end": 641,
"loc": {
"start": {
"line": 24,
"column": 16
},
"end": {
"line": 24,
"column": 56
}
},
"expression": {
"type": "CallExpression",
"start": 601,
"end": 640,
"loc": {
"start": {
"line": 24,
"column": 16
},
"end": {
"line": 24,
"column": 55
}
},
"callee": {
"type": "MemberExpression",
"start": 601,
"end": 628,
"loc": {
"start": {
"line": 24,
"column": 16
},
"end": {
"line": 24,
"column": 43
}
},
"object": {
"type": "MemberExpression",
"start": 601,
"end": 624,
"loc": {
"start": {
"line": 24,
"column": 16
},
"end": {
"line": 24,
"column": 39
}
},
"object": {
"type": "Identifier",
"start": 601,
"end": 614,
"loc": {
"start": {
"line": 24,
"column": 16
},
"end": {
"line": 24,
"column": 29
},
"identifierName": "buttonElement"
},
"name": "buttonElement"
},
"property": {
"type": "Identifier",
"start": 615,
"end": 624,
"loc": {
"start": {
"line": 24,
"column": 30
},
"end": {
"line": 24,
"column": 39
},
"identifierName": "classList"
},
"name": "classList"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 625,
"end": 628,
"loc": {
"start": {
"line": 24,
"column": 40
},
"end": {
"line": 24,
"column": 43
},
"identifierName": "add"
},
"name": "add"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 629,
"end": 639,
"loc": {
"start": {
"line": 24,
"column": 44
},
"end": {
"line": 24,
"column": 54
}
},
"extra": {
"rawValue": "disabled",
"raw": "\"disabled\""
},
"value": "disabled"
}
]
}
}
],
"directives": []
},
"alternate": {
"type": "BlockStatement",
"start": 661,
"end": 736,
"loc": {
"start": {
"line": 25,
"column": 19
},
"end": {
"line": 27,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 679,
"end": 722,
"loc": {
"start": {
"line": 26,
"column": 16
},
"end": {
"line": 26,
"column": 59
}
},
"expression": {
"type": "CallExpression",
"start": 679,
"end": 721,
"loc": {
"start": {
"line": 26,
"column": 16
},
"end": {
"line": 26,
"column": 58
}
},
"callee": {
"type": "MemberExpression",
"start": 679,
"end": 709,
"loc": {
"start": {
"line": 26,
"column": 16
},
"end": {
"line": 26,
"column": 46
}
},
"object": {
"type": "MemberExpression",
"start": 679,
"end": 702,
"loc": {
"start": {
"line": 26,
"column": 16
},
"end": {
"line": 26,
"column": 39
}
},
"object": {
"type": "Identifier",
"start": 679,
"end": 692,
"loc": {
"start": {
"line": 26,
"column": 16
},
"end": {
"line": 26,
"column": 29
},
"identifierName": "buttonElement"
},
"name": "buttonElement"
},
"property": {
"type": "Identifier",
"start": 693,
"end": 702,
"loc": {
"start": {
"line": 26,
"column": 30
},
"end": {
"line": 26,
"column": 39
},
"identifierName": "classList"
},
"name": "classList"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 703,
"end": 709,
"loc": {
"start": {
"line": 26,
"column": 40
},
"end": {
"line": 26,
"column": 46
},
"identifierName": "remove"
},
"name": "remove"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 710,
"end": 720,
"loc": {
"start": {
"line": 26,
"column": 47
},
"end": {
"line": 26,
"column": 57
}
},
"extra": {
"rawValue": "disabled",
"raw": "\"disabled\""
},
"value": "disabled"
}
]
}
}
],
"directives": []
}
}
],
"directives": []
}
}
]
}
},
{
"type": "ExpressionStatement",
"start": 758,
"end": 975,
"loc": {
"start": {
"line": 30,
"column": 8
},
"end": {
"line": 36,
"column": 11
}
},
"expression": {
"type": "CallExpression",
"start": 758,
"end": 974,
"loc": {
"start": {
"line": 30,
"column": 8
},
"end": {
"line": 36,
"column": 10
}
},
"callee": {
"type": "MemberExpression",
"start": 758,
"end": 765,
"loc": {
"start": {
"line": 30,
"column": 8
},
"end": {
"line": 30,
"column": 15
}
},
"object": {
"type": "ThisExpression",
"start": 758,
"end": 762,
"loc": {
"start": {
"line": 30,
"column": 8
},
"end": {
"line": 30,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 763,
"end": 765,
"loc": {
"start": {
"line": 30,
"column": 13
},
"end": {
"line": 30,
"column": 15
},
"identifierName": "on"
},
"name": "on"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 766,
"end": 774,
"loc": {
"start": {
"line": 30,
"column": 16
},
"end": {
"line": 30,
"column": 24
}
},
"extra": {
"rawValue": "active",
"raw": "\"active\""
},
"value": "active"
},
{
"type": "ArrowFunctionExpression",
"start": 776,
"end": 973,
"loc": {
"start": {
"line": 30,
"column": 26
},
"end": {
"line": 36,
"column": 9
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 777,
"end": 783,
"loc": {
"start": {
"line": 30,
"column": 27
},
"end": {
"line": 30,
"column": 33
},
"identifierName": "active"
},
"name": "active"
}
],
"body": {
"type": "BlockStatement",
"start": 788,
"end": 973,
"loc": {
"start": {
"line": 30,
"column": 38
},
"end": {
"line": 36,
"column": 9
}
},
"body": [
{
"type": "IfStatement",
"start": 802,
"end": 963,
"loc": {
"start": {
"line": 31,
"column": 12
},
"end": {
"line": 35,
"column": 13
}
},
"test": {
"type": "Identifier",
"start": 806,
"end": 812,
"loc": {
"start": {
"line": 31,
"column": 16
},
"end": {
"line": 31,
"column": 22
},
"identifierName": "active"
},
"name": "active"
},
"consequent": {
"type": "BlockStatement",
"start": 814,
"end": 884,
"loc": {
"start": {
"line": 31,
"column": 24
},
"end": {
"line": 33,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 832,
"end": 870,
"loc": {
"start": {
"line": 32,
"column": 16
},
"end": {
"line": 32,
"column": 54
}
},
"expression": {
"type": "CallExpression",
"start": 832,
"end": 869,
"loc": {
"start": {
"line": 32,
"column": 16
},
"end": {
"line": 32,
"column": 53
}
},
"callee": {
"type": "MemberExpression",
"start": 832,
"end": 859,
"loc": {
"start": {
"line": 32,
"column": 16
},
"end": {
"line": 32,
"column": 43
}
},
"object": {
"type": "MemberExpression",
"start": 832,
"end": 855,
"loc": {
"start": {
"line": 32,
"column": 16
},
"end": {
"line": 32,
"column": 39
}
},
"object": {
"type": "Identifier",
"start": 832,
"end": 845,
"loc": {
"start": {
"line": 32,
"column": 16
},
"end": {
"line": 32,
"column": 29
},
"identifierName": "buttonElement"
},
"name": "buttonElement"
},
"property": {
"type": "Identifier",
"start": 846,
"end": 855,
"loc": {
"start": {
"line": 32,
"column": 30
},
"end": {
"line": 32,
"column": 39
},
"identifierName": "classList"
},
"name": "classList"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 856,
"end": 859,
"loc": {
"start": {
"line": 32,
"column": 40
},
"end": {
"line": 32,
"column": 43
},
"identifierName": "add"
},
"name": "add"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 860,
"end": 868,
"loc": {
"start": {
"line": 32,
"column": 44
},
"end": {
"line": 32,
"column": 52
}
},
"extra": {
"rawValue": "active",
"raw": "\"active\""
},
"value": "active"
}
]
}
}
],
"directives": []
},
"alternate": {
"type": "BlockStatement",
"start": 890,
"end": 963,
"loc": {
"start": {
"line": 33,
"column": 19
},
"end": {
"line": 35,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 908,
"end": 949,
"loc": {
"start": {
"line": 34,
"column": 16
},
"end": {
"line": 34,
"column": 57
}
},
"expression": {
"type": "CallExpression",
"start": 908,
"end": 948,
"loc": {
"start": {
"line": 34,
"column": 16
},
"end": {
"line": 34,
"column": 56
}
},
"callee": {
"type": "MemberExpression",
"start": 908,
"end": 938,
"loc": {
"start": {
"line": 34,
"column": 16
},
"end": {
"line": 34,
"column": 46
}
},
"object": {
"type": "MemberExpression",
"start": 908,
"end": 931,
"loc": {
"start": {
"line": 34,
"column": 16
},
"end": {
"line": 34,
"column": 39
}
},
"object": {
"type": "Identifier",
"start": 908,
"end": 921,
"loc": {
"start": {
"line": 34,
"column": 16
},
"end": {
"line": 34,
"column": 29
},
"identifierName": "buttonElement"
},
"name": "buttonElement"
},
"property": {
"type": "Identifier",
"start": 922,
"end": 931,
"loc": {
"start": {
"line": 34,
"column": 30
},
"end": {
"line": 34,
"column": 39
},
"identifierName": "classList"
},
"name": "classList"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 932,
"end": 938,
"loc": {
"start": {
"line": 34,
"column": 40
},
"end": {
"line": 34,
"column": 46
},
"identifierName": "remove"
},
"name": "remove"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 939,
"end": 947,
"loc": {
"start": {
"line": 34,
"column": 47
},
"end": {
"line": 34,
"column": 55
}
},
"extra": {
"rawValue": "active",
"raw": "\"active\""
},
"value": "active"
}
]
}
}
],
"directives": []
}
}
],
"directives": []
}
}
]
}
},
{
"type": "ExpressionStatement",
"start": 985,
"end": 1243,
"loc": {
"start": {
"line": 38,
"column": 8
},
"end": {
"line": 45,
"column": 11
}
},
"expression": {
"type": "CallExpression",
"start": 985,
"end": 1242,
"loc": {
"start": {
"line": 38,
"column": 8
},
"end": {
"line": 45,
"column": 10
}
},
"callee": {
"type": "MemberExpression",
"start": 985,
"end": 1015,
"loc": {
"start": {
"line": 38,
"column": 8
},
"end": {
"line": 38,
"column": 38
}
},
"object": {
"type": "Identifier",
"start": 985,
"end": 998,
"loc": {
"start": {
"line": 38,
"column": 8
},
"end": {
"line": 38,
"column": 21
},
"identifierName": "buttonElement"
},
"name": "buttonElement"
},
"property": {
"type": "Identifier",
"start": 999,
"end": 1015,
"loc": {
"start": {
"line": 38,
"column": 22
},
"end": {
"line": 38,
"column": 38
},
"identifierName": "addEventListener"
},
"name": "addEventListener"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 1016,
"end": 1023,
"loc": {
"start": {
"line": 38,
"column": 39
},
"end": {
"line": 38,
"column": 46
}
},
"extra": {
"rawValue": "click",
"raw": "\"click\""
},
"value": "click"
},
{
"type": "ArrowFunctionExpression",
"start": 1025,
"end": 1241,
"loc": {
"start": {
"line": 38,
"column": 48
},
"end": {
"line": 45,
"column": 9
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 1026,
"end": 1031,
"loc": {
"start": {
"line": 38,
"column": 49
},
"end": {
"line": 38,
"column": 54
},
"identifierName": "event"
},
"name": "event"
}
],
"body": {
"type": "BlockStatement",
"start": 1036,
"end": 1241,
"loc": {
"start": {
"line": 38,
"column": 59
},
"end": {
"line": 45,
"column": 9
}
},
"body": [
{
"type": "IfStatement",
"start": 1050,
"end": 1113,
"loc": {
"start": {
"line": 39,
"column": 12
},
"end": {
"line": 41,
"column": 13
}
},
"test": {
"type": "UnaryExpression",
"start": 1054,
"end": 1072,
"loc": {
"start": {
"line": 39,
"column": 16
},
"end": {
"line": 39,
"column": 34
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "CallExpression",
"start": 1055,
"end": 1072,
"loc": {
"start": {
"line": 39,
"column": 17
},
"end": {
"line": 39,
"column": 34
}
},
"callee": {
"type": "MemberExpression",
"start": 1055,
"end": 1070,
"loc": {
"start": {
"line": 39,
"column": 17
},
"end": {
"line": 39,
"column": 32
}
},
"object": {
"type": "ThisExpression",
"start": 1055,
"end": 1059,
"loc": {
"start": {
"line": 39,
"column": 17
},
"end": {
"line": 39,
"column": 21
}
}
},
"property": {
"type": "Identifier",
"start": 1060,
"end": 1070,
"loc": {
"start": {
"line": 39,
"column": 22
},
"end": {
"line": 39,
"column": 32
},
"identifierName": "getEnabled"
},
"name": "getEnabled"
},
"computed": false
},
"arguments": []
},
"extra": {
"parenthesizedArgument": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 1074,
"end": 1113,
"loc": {
"start": {
"line": 39,
"column": 36
},
"end": {
"line": 41,
"column": 13
}
},
"body": [
{
"type": "ReturnStatement",
"start": 1092,
"end": 1099,
"loc": {
"start": {
"line": 40,
"column": 16
},
"end": {
"line": 40,
"column": 23
}
},
"argument": null
}
],
"directives": []
},
"alternate": null
},
{
"type": "VariableDeclaration",
"start": 1126,
"end": 1158,
"loc": {
"start": {
"line": 42,
"column": 12
},
"end": {
"line": 42,
"column": 44
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1132,
"end": 1157,
"loc": {
"start": {
"line": 42,
"column": 18
},
"end": {
"line": 42,
"column": 43
}
},
"id": {
"type": "Identifier",
"start": 1132,
"end": 1138,
"loc": {
"start": {
"line": 42,
"column": 18
},
"end": {
"line": 42,
"column": 24
},
"identifierName": "active"
},
"name": "active"
},
"init": {
"type": "CallExpression",
"start": 1141,
"end": 1157,
"loc": {
"start": {
"line": 42,
"column": 27
},
"end": {
"line": 42,
"column": 43
}
},
"callee": {
"type": "MemberExpression",
"start": 1141,
"end": 1155,
"loc": {
"start": {
"line": 42,
"column": 27
},
"end": {
"line": 42,
"column": 41
}
},
"object": {
"type": "ThisExpression",
"start": 1141,
"end": 1145,
"loc": {
"start": {
"line": 42,
"column": 27
},
"end": {
"line": 42,
"column": 31
}
}
},
"property": {
"type": "Identifier",
"start": 1146,
"end": 1155,
"loc": {
"start": {
"line": 42,
"column": 32
},
"end": {
"line": 42,
"column": 41
},
"identifierName": "getActive"
},
"name": "getActive"
},
"computed": false
},
"arguments": []
}
}
],
"kind": "const"
},
{
"type": "ExpressionStatement",
"start": 1171,
"end": 1195,
"loc": {
"start": {
"line": 43,
"column": 12
},
"end": {
"line": 43,
"column": 36
}
},
"expression": {
"type": "CallExpression",
"start": 1171,
"end": 1194,
"loc": {
"start": {
"line": 43,
"column": 12
},
"end": {
"line": 43,
"column": 35
}
},
"callee": {
"type": "MemberExpression",
"start": 1171,
"end": 1185,
"loc": {
"start": {
"line": 43,
"column": 12
},
"end": {
"line": 43,
"column": 26
}
},
"object": {
"type": "ThisExpression",
"start": 1171,
"end": 1175,
"loc": {
"start": {
"line": 43,
"column": 12
},
"end": {
"line": 43,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 1176,
"end": 1185,
"loc": {
"start": {
"line": 43,
"column": 17
},
"end": {
"line": 43,
"column": 26
},
"identifierName": "setActive"
},
"name": "setActive"
},
"computed": false
},
"arguments": [
{
"type": "UnaryExpression",
"start": 1186,
"end": 1193,
"loc": {
"start": {
"line": 43,
"column": 27
},
"end": {
"line": 43,
"column": 34
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 1187,
"end": 1193,
"loc": {
"start": {
"line": 43,
"column": 28
},
"end": {
"line": 43,
"column": 34
},
"identifierName": "active"
},
"name": "active"
},
"extra": {
"parenthesizedArgument": false
}
}
]
}
},
{
"type": "ExpressionStatement",
"start": 1208,
"end": 1231,
"loc": {
"start": {
"line": 44,
"column": 12
},
"end": {
"line": 44,
"column": 35
}
},
"expression": {
"type": "CallExpression",
"start": 1208,
"end": 1230,
"loc": {
"start": {
"line": 44,
"column": 12
},
"end": {
"line": 44,
"column": 34
}
},
"callee": {
"type": "MemberExpression",
"start": 1208,
"end": 1228,
"loc": {
"start": {
"line": 44,
"column": 12
},
"end": {
"line": 44,
"column": 32
}
},
"object": {
"type": "Identifier",
"start": 1208,
"end": 1213,
"loc": {
"start": {
"line": 44,
"column": 12
},
"end": {
"line": 44,
"column": 17
},
"identifierName": "event"
},
"name": "event"
},
"property": {
"type": "Identifier",
"start": 1214,
"end": 1228,
"loc": {
"start": {
"line": 44,
"column": 18
},
"end": {
"line": 44,
"column": 32
},
"identifierName": "preventDefault"
},
"name": "preventDefault"
},
"computed": false
},
"arguments": []
}
}
],
"directives": []
}
}
]
}
},
{
"type": "ExpressionStatement",
"start": 1253,
"end": 1333,
"loc": {
"start": {
"line": 47,
"column": 8
},
"end": {
"line": 49,
"column": 11
}
},
"expression": {
"type": "CallExpression",
"start": 1253,
"end": 1332,
"loc": {
"start": {
"line": 47,
"column": 8
},
"end": {
"line": 49,
"column": 10
}
},
"callee": {
"type": "MemberExpression",
"start": 1253,
"end": 1269,
"loc": {
"start": {
"line": 47,
"column": 8
},
"end": {
"line": 47,
"column": 24
}
},
"object": {
"type": "MemberExpression",
"start": 1253,
"end": 1266,
"loc": {
"start": {
"line": 47,
"column": 8
},
"end": {
"line": 47,
"column": 21
}
},
"object": {
"type": "ThisExpression",
"start": 1253,
"end": 1257,
"loc": {
"start": {
"line": 47,
"column": 8
},
"end": {
"line": 47,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 1258,
"end": 1266,
"loc": {
"start": {
"line": 47,
"column": 13
},
"end": {
"line": 47,
"column": 21
},
"identifierName": "viewerUI"
},
"name": "viewerUI"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1267,
"end": 1269,
"loc": {
"start": {
"line": 47,
"column": 22
},
"end": {
"line": 47,
"column": 24
},
"identifierName": "on"
},
"name": "on"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 1270,
"end": 1277,
"loc": {
"start": {
"line": 47,
"column": 25
},
"end": {
"line": 47,
"column": 32
}
},
"extra": {
"rawValue": "reset",
"raw": "\"reset\""
},
"value": "reset"
},
{
"type": "ArrowFunctionExpression",
"start": 1279,
"end": 1331,
"loc": {
"start": {
"line": 47,
"column": 34
},
"end": {
"line": 49,
"column": 9
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 1285,
"end": 1331,
"loc": {
"start": {
"line": 47,
"column": 40
},
"end": {
"line": 49,
"column": 9
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 1299,
"end": 1321,
"loc": {
"start": {
"line": 48,
"column": 12
},
"end": {
"line": 48,
"column": 34
}
},
"expression": {
"type": "CallExpression",
"start": 1299,
"end": 1320,
"loc": {
"start": {
"line": 48,
"column": 12
},
"end": {
"line": 48,
"column": 33
}
},
"callee": {
"type": "MemberExpression",
"start": 1299,
"end": 1313,
"loc": {
"start": {
"line": 48,
"column": 12
},
"end": {
"line": 48,
"column": 26
}
},
"object": {
"type": "ThisExpression",
"start": 1299,
"end": 1303,
"loc": {
"start": {
"line": 48,
"column": 12
},
"end": {
"line": 48,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 1304,
"end": 1313,
"loc": {
"start": {
"line": 48,
"column": 17
},
"end": {
"line": 48,
"column": 26
},
"identifierName": "setActive"
},
"name": "setActive"
},
"computed": false
},
"arguments": [
{
"type": "BooleanLiteral",
"start": 1314,
"end": 1319,
"loc": {
"start": {
"line": 48,
"column": 27
},
"end": {
"line": 48,
"column": 32
}
},
"value": false
}
]
}
}
],
"directives": []
}
}
]
}
},
{
"type": "ExpressionStatement",
"start": 1343,
"end": 1364,
"loc": {
"start": {
"line": 51,
"column": 8
},
"end": {
"line": 51,
"column": 29
}
},
"expression": {
"type": "CallExpression",
"start": 1343,
"end": 1363,
"loc": {
"start": {
"line": 51,
"column": 8
},
"end": {
"line": 51,
"column": 28
}
},
"callee": {
"type": "MemberExpression",
"start": 1343,
"end": 1361,
"loc": {
"start": {
"line": 51,
"column": 8
},
"end": {
"line": 51,
"column": 26
}
},
"object": {
"type": "ThisExpression",
"start": 1343,
"end": 1347,
"loc": {
"start": {
"line": 51,
"column": 8
},
"end": {
"line": 51,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 1348,
"end": 1361,
"loc": {
"start": {
"line": 51,
"column": 13
},
"end": {
"line": 51,
"column": 26
},
"identifierName": "_initHideMode"
},
"name": "_initHideMode"
},
"computed": false
},
"arguments": []
}
}
],
"directives": []
}
},
{
"type": "ClassMethod",
"start": 1376,
"end": 2783,
"loc": {
"start": {
"line": 54,
"column": 4
},
"end": {
"line": 95,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1376,
"end": 1389,
"loc": {
"start": {
"line": 54,
"column": 4
},
"end": {
"line": 54,
"column": 17
},
"identifierName": "_initHideMode"
},
"name": "_initHideMode"
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 1392,
"end": 2783,
"loc": {
"start": {
"line": 54,
"column": 20
},
"end": {
"line": 95,
"column": 5
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 1402,
"end": 1420,
"loc": {
"start": {
"line": 55,
"column": 8
},
"end": {
"line": 55,
"column": 26
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1406,
"end": 1419,
"loc": {
"start": {
"line": 55,
"column": 12
},
"end": {
"line": 55,
"column": 25
}
},
"id": {
"type": "Identifier",
"start": 1406,
"end": 1412,
"loc": {
"start": {
"line": 55,
"column": 12
},
"end": {
"line": 55,
"column": 18
},
"identifierName": "entity"
},
"name": "entity"
},
"init": {
"type": "NullLiteral",
"start": 1415,
"end": 1419,
"loc": {
"start": {
"line": 55,
"column": 21
},
"end": {
"line": 55,
"column": 25
}
}
}
}
],
"kind": "var"
},
{
"type": "ExpressionStatement",
"start": 1429,
"end": 1785,
"loc": {
"start": {
"line": 56,
"column": 8
},
"end": {
"line": 66,
"column": 11
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1429,
"end": 1784,
"loc": {
"start": {
"line": 56,
"column": 8
},
"end": {
"line": 66,
"column": 10
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 1429,
"end": 1442,
"loc": {
"start": {
"line": 56,
"column": 8
},
"end": {
"line": 56,
"column": 21
}
},
"object": {
"type": "ThisExpression",
"start": 1429,
"end": 1433,
"loc": {
"start": {
"line": 56,
"column": 8
},
"end": {
"line": 56,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 1434,
"end": 1442,
"loc": {
"start": {
"line": 56,
"column": 13
},
"end": {
"line": 56,
"column": 21
},
"identifierName": "_onHover"
},
"name": "_onHover"
},
"computed": false
},
"right": {
"type": "CallExpression",
"start": 1445,
"end": 1784,
"loc": {
"start": {
"line": 56,
"column": 24
},
"end": {
"line": 66,
"column": 10
}
},
"callee": {
"type": "MemberExpression",
"start": 1445,
"end": 1473,
"loc": {
"start": {
"line": 56,
"column": 24
},
"end": {
"line": 56,
"column": 52
}
},
"object": {
"type": "MemberExpression",
"start": 1445,
"end": 1470,
"loc": {
"start": {
"line": 56,
"column": 24
},
"end": {
"line": 56,
"column": 49
}
},
"object": {
"type": "MemberExpression",
"start": 1445,
"end": 1456,
"loc": {
"start": {
"line": 56,
"column": 24
},
"end": {
"line": 56,
"column": 35
}
},
"object": {
"type": "ThisExpression",
"start": 1445,
"end": 1449,
"loc": {
"start": {
"line": 56,
"column": 24
},
"end": {
"line": 56,
"column": 28
}
}
},
"property": {
"type": "Identifier",
"start": 1450,
"end": 1456,
"loc": {
"start": {
"line": 56,
"column": 29
},
"end": {
"line": 56,
"column": 35
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1457,
"end": 1470,
"loc": {
"start": {
"line": 56,
"column": 36
},
"end": {
"line": 56,
"column": 49
},
"identifierName": "cameraControl"
},
"name": "cameraControl"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1471,
"end": 1473,
"loc": {
"start": {
"line": 56,
"column": 50
},
"end": {
"line": 56,
"column": 52
},
"identifierName": "on"
},
"name": "on"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 1474,
"end": 1481,
"loc": {
"start": {
"line": 56,
"column": 53
},
"end": {
"line": 56,
"column": 60
}
},
"extra": {
"rawValue": "hover",
"raw": "\"hover\""
},
"value": "hover"
},
{
"type": "ArrowFunctionExpression",
"start": 1483,
"end": 1783,
"loc": {
"start": {
"line": 56,
"column": 62
},
"end": {
"line": 66,
"column": 9
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 1484,
"end": 1485,
"loc": {
"start": {
"line": 56,
"column": 63
},
"end": {
"line": 56,
"column": 64
},
"identifierName": "e"
},
"name": "e"
}
],
"body": {
"type": "BlockStatement",
"start": 1490,
"end": 1783,
"loc": {
"start": {
"line": 56,
"column": 69
},
"end": {
"line": 66,
"column": 9
}
},
"body": [
{
"type": "IfStatement",
"start": 1504,
"end": 1588,
"loc": {
"start": {
"line": 57,
"column": 12
},
"end": {
"line": 59,
"column": 13
}
},
"test": {
"type": "LogicalExpression",
"start": 1508,
"end": 1547,
"loc": {
"start": {
"line": 57,
"column": 16
},
"end": {
"line": 57,
"column": 55
}
},
"left": {
"type": "UnaryExpression",
"start": 1508,
"end": 1525,
"loc": {
"start": {
"line": 57,
"column": 16
},
"end": {
"line": 57,
"column": 33
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "CallExpression",
"start": 1509,
"end": 1525,
"loc": {
"start": {
"line": 57,
"column": 17
},
"end": {
"line": 57,
"column": 33
}
},
"callee": {
"type": "MemberExpression",
"start": 1509,
"end": 1523,
"loc": {
"start": {
"line": 57,
"column": 17
},
"end": {
"line": 57,
"column": 31
}
},
"object": {
"type": "ThisExpression",
"start": 1509,
"end": 1513,
"loc": {
"start": {
"line": 57,
"column": 17
},
"end": {
"line": 57,
"column": 21
}
}
},
"property": {
"type": "Identifier",
"start": 1514,
"end": 1523,
"loc": {
"start": {
"line": 57,
"column": 22
},
"end": {
"line": 57,
"column": 31
},
"identifierName": "getActive"
},
"name": "getActive"
},
"computed": false
},
"arguments": []
},
"extra": {
"parenthesizedArgument": false
}
},
"operator": "||",
"right": {
"type": "UnaryExpression",
"start": 1529,
"end": 1547,
"loc": {
"start": {
"line": 57,
"column": 37
},
"end": {
"line": 57,
"column": 55
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "CallExpression",
"start": 1530,
"end": 1547,
"loc": {
"start": {
"line": 57,
"column": 38
},
"end": {
"line": 57,
"column": 55
}
},
"callee": {
"type": "MemberExpression",
"start": 1530,
"end": 1545,
"loc": {
"start": {
"line": 57,
"column": 38
},
"end": {
"line": 57,
"column": 53
}
},
"object": {
"type": "ThisExpression",
"start": 1530,
"end": 1534,
"loc": {
"start": {
"line": 57,
"column": 38
},
"end": {
"line": 57,
"column": 42
}
}
},
"property": {
"type": "Identifier",
"start": 1535,
"end": 1545,
"loc": {
"start": {
"line": 57,
"column": 43
},
"end": {
"line": 57,
"column": 53
},
"identifierName": "getEnabled"
},
"name": "getEnabled"
},
"computed": false
},
"arguments": []
},
"extra": {
"parenthesizedArgument": false
}
}
},
"consequent": {
"type": "BlockStatement",
"start": 1549,
"end": 1588,
"loc": {
"start": {
"line": 57,
"column": 57
},
"end": {
"line": 59,
"column": 13
}
},
"body": [
{
"type": "ReturnStatement",
"start": 1567,
"end": 1574,
"loc": {
"start": {
"line": 58,
"column": 16
},
"end": {
"line": 58,
"column": 23
}
},
"argument": null
}
],
"directives": []
},
"alternate": null
},
{
"type": "IfStatement",
"start": 1601,
"end": 1703,
"loc": {
"start": {
"line": 60,
"column": 12
},
"end": {
"line": 63,
"column": 13
}
},
"test": {
"type": "Identifier",
"start": 1605,
"end": 1611,
"loc": {
"start": {
"line": 60,
"column": 16
},
"end": {
"line": 60,
"column": 22
},
"identifierName": "entity"
},
"name": "entity"
},
"consequent": {
"type": "BlockStatement",
"start": 1613,
"end": 1703,
"loc": {
"start": {
"line": 60,
"column": 24
},
"end": {
"line": 63,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 1631,
"end": 1658,
"loc": {
"start": {
"line": 61,
"column": 16
},
"end": {
"line": 61,
"column": 43
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1631,
"end": 1657,
"loc": {
"start": {
"line": 61,
"column": 16
},
"end": {
"line": 61,
"column": 42
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 1631,
"end": 1649,
"loc": {
"start": {
"line": 61,
"column": 16
},
"end": {
"line": 61,
"column": 34
}
},
"object": {
"type": "Identifier",
"start": 1631,
"end": 1637,
"loc": {
"start": {
"line": 61,
"column": 16
},
"end": {
"line": 61,
"column": 22
},
"identifierName": "entity"
},
"name": "entity"
},
"property": {
"type": "Identifier",
"start": 1638,
"end": 1649,
"loc": {
"start": {
"line": 61,
"column": 23
},
"end": {
"line": 61,
"column": 34
},
"identifierName": "highlighted"
},
"name": "highlighted"
},
"computed": false
},
"right": {
"type": "BooleanLiteral",
"start": 1652,
"end": 1657,
"loc": {
"start": {
"line": 61,
"column": 37
},
"end": {
"line": 61,
"column": 42
}
},
"value": false
}
}
},
{
"type": "ExpressionStatement",
"start": 1675,
"end": 1689,
"loc": {
"start": {
"line": 62,
"column": 16
},
"end": {
"line": 62,
"column": 30
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1675,
"end": 1688,
"loc": {
"start": {
"line": 62,
"column": 16
},
"end": {
"line": 62,
"column": 29
}
},
"operator": "=",
"left": {
"type": "Identifier",
"start": 1675,
"end": 1681,
"loc": {
"start": {
"line": 62,
"column": 16
},
"end": {
"line": 62,
"column": 22
},
"identifierName": "entity"
},
"name": "entity"
},
"right": {
"type": "NullLiteral",
"start": 1684,
"end": 1688,
"loc": {
"start": {
"line": 62,
"column": 25
},
"end": {
"line": 62,
"column": 29
}
}
}
}
}
],
"directives": []
},
"alternate": null
},
{
"type": "ExpressionStatement",
"start": 1716,
"end": 1734,
"loc": {
"start": {
"line": 64,
"column": 12
},
"end": {
"line": 64,
"column": 30
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1716,
"end": 1733,
"loc": {
"start": {
"line": 64,
"column": 12
},
"end": {
"line": 64,
"column": 29
}
},
"operator": "=",
"left": {
"type": "Identifier",
"start": 1716,
"end": 1722,
"loc": {
"start": {
"line": 64,
"column": 12
},
"end": {
"line": 64,
"column": 18
},
"identifierName": "entity"
},
"name": "entity"
},
"right": {
"type": "MemberExpression",
"start": 1725,
"end": 1733,
"loc": {
"start": {
"line": 64,
"column": 21
},
"end": {
"line": 64,
"column": 29
}
},
"object": {
"type": "Identifier",
"start": 1725,
"end": 1726,
"loc": {
"start": {
"line": 64,
"column": 21
},
"end": {
"line": 64,
"column": 22
},
"identifierName": "e"
},
"name": "e"
},
"property": {
"type": "Identifier",
"start": 1727,
"end": 1733,
"loc": {
"start": {
"line": 64,
"column": 23
},
"end": {
"line": 64,
"column": 29
},
"identifierName": "entity"
},
"name": "entity"
},
"computed": false
}
}
},
{
"type": "ExpressionStatement",
"start": 1747,
"end": 1773,
"loc": {
"start": {
"line": 65,
"column": 12
},
"end": {
"line": 65,
"column": 38
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1747,
"end": 1772,
"loc": {
"start": {
"line": 65,
"column": 12
},
"end": {
"line": 65,
"column": 37
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 1747,
"end": 1765,
"loc": {
"start": {
"line": 65,
"column": 12
},
"end": {
"line": 65,
"column": 30
}
},
"object": {
"type": "Identifier",
"start": 1747,
"end": 1753,
"loc": {
"start": {
"line": 65,
"column": 12
},
"end": {
"line": 65,
"column": 18
},
"identifierName": "entity"
},
"name": "entity"
},
"property": {
"type": "Identifier",
"start": 1754,
"end": 1765,
"loc": {
"start": {
"line": 65,
"column": 19
},
"end": {
"line": 65,
"column": 30
},
"identifierName": "highlighted"
},
"name": "highlighted"
},
"computed": false
},
"right": {
"type": "BooleanLiteral",
"start": 1768,
"end": 1772,
"loc": {
"start": {
"line": 65,
"column": 33
},
"end": {
"line": 65,
"column": 37
}
},
"value": true
}
}
}
],
"directives": []
}
}
]
}
}
},
{
"type": "ExpressionStatement",
"start": 1794,
"end": 2086,
"loc": {
"start": {
"line": 67,
"column": 8
},
"end": {
"line": 75,
"column": 11
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1794,
"end": 2085,
"loc": {
"start": {
"line": 67,
"column": 8
},
"end": {
"line": 75,
"column": 10
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 1794,
"end": 1810,
"loc": {
"start": {
"line": 67,
"column": 8
},
"end": {
"line": 67,
"column": 24
}
},
"object": {
"type": "ThisExpression",
"start": 1794,
"end": 1798,
"loc": {
"start": {
"line": 67,
"column": 8
},
"end": {
"line": 67,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 1799,
"end": 1810,
"loc": {
"start": {
"line": 67,
"column": 13
},
"end": {
"line": 67,
"column": 24
},
"identifierName": "_onHoverOff"
},
"name": "_onHoverOff"
},
"computed": false
},
"right": {
"type": "CallExpression",
"start": 1813,
"end": 2085,
"loc": {
"start": {
"line": 67,
"column": 27
},
"end": {
"line": 75,
"column": 10
}
},
"callee": {
"type": "MemberExpression",
"start": 1813,
"end": 1841,
"loc": {
"start": {
"line": 67,
"column": 27
},
"end": {
"line": 67,
"column": 55
}
},
"object": {
"type": "MemberExpression",
"start": 1813,
"end": 1838,
"loc": {
"start": {
"line": 67,
"column": 27
},
"end": {
"line": 67,
"column": 52
}
},
"object": {
"type": "MemberExpression",
"start": 1813,
"end": 1824,
"loc": {
"start": {
"line": 67,
"column": 27
},
"end": {
"line": 67,
"column": 38
}
},
"object": {
"type": "ThisExpression",
"start": 1813,
"end": 1817,
"loc": {
"start": {
"line": 67,
"column": 27
},
"end": {
"line": 67,
"column": 31
}
}
},
"property": {
"type": "Identifier",
"start": 1818,
"end": 1824,
"loc": {
"start": {
"line": 67,
"column": 32
},
"end": {
"line": 67,
"column": 38
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1825,
"end": 1838,
"loc": {
"start": {
"line": 67,
"column": 39
},
"end": {
"line": 67,
"column": 52
},
"identifierName": "cameraControl"
},
"name": "cameraControl"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1839,
"end": 1841,
"loc": {
"start": {
"line": 67,
"column": 53
},
"end": {
"line": 67,
"column": 55
},
"identifierName": "on"
},
"name": "on"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 1842,
"end": 1852,
"loc": {
"start": {
"line": 67,
"column": 56
},
"end": {
"line": 67,
"column": 66
}
},
"extra": {
"rawValue": "hoverOff",
"raw": "\"hoverOff\""
},
"value": "hoverOff"
},
{
"type": "ArrowFunctionExpression",
"start": 1854,
"end": 2084,
"loc": {
"start": {
"line": 67,
"column": 68
},
"end": {
"line": 75,
"column": 9
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 1855,
"end": 1856,
"loc": {
"start": {
"line": 67,
"column": 69
},
"end": {
"line": 67,
"column": 70
},
"identifierName": "e"
},
"name": "e"
}
],
"body": {
"type": "BlockStatement",
"start": 1861,
"end": 2084,
"loc": {
"start": {
"line": 67,
"column": 75
},
"end": {
"line": 75,
"column": 9
}
},
"body": [
{
"type": "IfStatement",
"start": 1875,
"end": 1959,
"loc": {
"start": {
"line": 68,
"column": 12
},
"end": {
"line": 70,
"column": 13
}
},
"test": {
"type": "LogicalExpression",
"start": 1879,
"end": 1918,
"loc": {
"start": {
"line": 68,
"column": 16
},
"end": {
"line": 68,
"column": 55
}
},
"left": {
"type": "UnaryExpression",
"start": 1879,
"end": 1896,
"loc": {
"start": {
"line": 68,
"column": 16
},
"end": {
"line": 68,
"column": 33
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "CallExpression",
"start": 1880,
"end": 1896,
"loc": {
"start": {
"line": 68,
"column": 17
},
"end": {
"line": 68,
"column": 33
}
},
"callee": {
"type": "MemberExpression",
"start": 1880,
"end": 1894,
"loc": {
"start": {
"line": 68,
"column": 17
},
"end": {
"line": 68,
"column": 31
}
},
"object": {
"type": "ThisExpression",
"start": 1880,
"end": 1884,
"loc": {
"start": {
"line": 68,
"column": 17
},
"end": {
"line": 68,
"column": 21
}
}
},
"property": {
"type": "Identifier",
"start": 1885,
"end": 1894,
"loc": {
"start": {
"line": 68,
"column": 22
},
"end": {
"line": 68,
"column": 31
},
"identifierName": "getActive"
},
"name": "getActive"
},
"computed": false
},
"arguments": []
},
"extra": {
"parenthesizedArgument": false
}
},
"operator": "||",
"right": {
"type": "UnaryExpression",
"start": 1900,
"end": 1918,
"loc": {
"start": {
"line": 68,
"column": 37
},
"end": {
"line": 68,
"column": 55
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "CallExpression",
"start": 1901,
"end": 1918,
"loc": {
"start": {
"line": 68,
"column": 38
},
"end": {
"line": 68,
"column": 55
}
},
"callee": {
"type": "MemberExpression",
"start": 1901,
"end": 1916,
"loc": {
"start": {
"line": 68,
"column": 38
},
"end": {
"line": 68,
"column": 53
}
},
"object": {
"type": "ThisExpression",
"start": 1901,
"end": 1905,
"loc": {
"start": {
"line": 68,
"column": 38
},
"end": {
"line": 68,
"column": 42
}
}
},
"property": {
"type": "Identifier",
"start": 1906,
"end": 1916,
"loc": {
"start": {
"line": 68,
"column": 43
},
"end": {
"line": 68,
"column": 53
},
"identifierName": "getEnabled"
},
"name": "getEnabled"
},
"computed": false
},
"arguments": []
},
"extra": {
"parenthesizedArgument": false
}
}
},
"consequent": {
"type": "BlockStatement",
"start": 1920,
"end": 1959,
"loc": {
"start": {
"line": 68,
"column": 57
},
"end": {
"line": 70,
"column": 13
}
},
"body": [
{
"type": "ReturnStatement",
"start": 1938,
"end": 1945,
"loc": {
"start": {
"line": 69,
"column": 16
},
"end": {
"line": 69,
"column": 23
}
},
"argument": null
}
],
"directives": []
},
"alternate": null
},
{
"type": "IfStatement",
"start": 1972,
"end": 2074,
"loc": {
"start": {
"line": 71,
"column": 12
},
"end": {
"line": 74,
"column": 13
}
},
"test": {
"type": "Identifier",
"start": 1976,
"end": 1982,
"loc": {
"start": {
"line": 71,
"column": 16
},
"end": {
"line": 71,
"column": 22
},
"identifierName": "entity"
},
"name": "entity"
},
"consequent": {
"type": "BlockStatement",
"start": 1984,
"end": 2074,
"loc": {
"start": {
"line": 71,
"column": 24
},
"end": {
"line": 74,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 2002,
"end": 2029,
"loc": {
"start": {
"line": 72,
"column": 16
},
"end": {
"line": 72,
"column": 43
}
},
"expression": {
"type": "AssignmentExpression",
"start": 2002,
"end": 2028,
"loc": {
"start": {
"line": 72,
"column": 16
},
"end": {
"line": 72,
"column": 42
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 2002,
"end": 2020,
"loc": {
"start": {
"line": 72,
"column": 16
},
"end": {
"line": 72,
"column": 34
}
},
"object": {
"type": "Identifier",
"start": 2002,
"end": 2008,
"loc": {
"start": {
"line": 72,
"column": 16
},
"end": {
"line": 72,
"column": 22
},
"identifierName": "entity"
},
"name": "entity"
},
"property": {
"type": "Identifier",
"start": 2009,
"end": 2020,
"loc": {
"start": {
"line": 72,
"column": 23
},
"end": {
"line": 72,
"column": 34
},
"identifierName": "highlighted"
},
"name": "highlighted"
},
"computed": false
},
"right": {
"type": "BooleanLiteral",
"start": 2023,
"end": 2028,
"loc": {
"start": {
"line": 72,
"column": 37
},
"end": {
"line": 72,
"column": 42
}
},
"value": false
}
}
},
{
"type": "ExpressionStatement",
"start": 2046,
"end": 2060,
"loc": {
"start": {
"line": 73,
"column": 16
},
"end": {
"line": 73,
"column": 30
}
},
"expression": {
"type": "AssignmentExpression",
"start": 2046,
"end": 2059,
"loc": {
"start": {
"line": 73,
"column": 16
},
"end": {
"line": 73,
"column": 29
}
},
"operator": "=",
"left": {
"type": "Identifier",
"start": 2046,
"end": 2052,
"loc": {
"start": {
"line": 73,
"column": 16
},
"end": {
"line": 73,
"column": 22
},
"identifierName": "entity"
},
"name": "entity"
},
"right": {
"type": "NullLiteral",
"start": 2055,
"end": 2059,
"loc": {
"start": {
"line": 73,
"column": 25
},
"end": {
"line": 73,
"column": 29
}
}
}
}
}
],
"directives": []
},
"alternate": null
}
],
"directives": []
}
}
]
}
}
},
{
"type": "VariableDeclaration",
"start": 2095,
"end": 2126,
"loc": {
"start": {
"line": 76,
"column": 8
},
"end": {
"line": 76,
"column": 39
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 2101,
"end": 2125,
"loc": {
"start": {
"line": 76,
"column": 14
},
"end": {
"line": 76,
"column": 38
}
},
"id": {
"type": "Identifier",
"start": 2101,
"end": 2111,
"loc": {
"start": {
"line": 76,
"column": 14
},
"end": {
"line": 76,
"column": 24
},
"identifierName": "lastCoords"
},
"name": "lastCoords"
},
"init": {
"type": "CallExpression",
"start": 2114,
"end": 2125,
"loc": {
"start": {
"line": 76,
"column": 27
},
"end": {
"line": 76,
"column": 38
}
},
"callee": {
"type": "MemberExpression",
"start": 2114,
"end": 2123,
"loc": {
"start": {
"line": 76,
"column": 27
},
"end": {
"line": 76,
"column": 36
}
},
"object": {
"type": "Identifier",
"start": 2114,
"end": 2118,
"loc": {
"start": {
"line": 76,
"column": 27
},
"end": {
"line": 76,
"column": 31
},
"identifierName": "math"
},
"name": "math"
},
"property": {
"type": "Identifier",
"start": 2119,
"end": 2123,
"loc": {
"start": {
"line": 76,
"column": 32
},
"end": {
"line": 76,
"column": 36
},
"identifierName": "vec2"
},
"name": "vec2"
},
"computed": false
},
"arguments": []
}
}
],
"kind": "const"
},
{
"type": "ExpressionStatement",
"start": 2135,
"end": 2298,
"loc": {
"start": {
"line": 77,
"column": 8
},
"end": {
"line": 80,
"column": 11
}
},
"expression": {
"type": "AssignmentExpression",
"start": 2135,
"end": 2297,
"loc": {
"start": {
"line": 77,
"column": 8
},
"end": {
"line": 80,
"column": 10
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 2135,
"end": 2152,
"loc": {
"start": {
"line": 77,
"column": 8
},
"end": {
"line": 77,
"column": 25
}
},
"object": {
"type": "ThisExpression",
"start": 2135,
"end": 2139,
"loc": {
"start": {
"line": 77,
"column": 8
},
"end": {
"line": 77,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 2140,
"end": 2152,
"loc": {
"start": {
"line": 77,
"column": 13
},
"end": {
"line": 77,
"column": 25
},
"identifierName": "_onMousedown"
},
"name": "_onMousedown"
},
"computed": false
},
"right": {
"type": "CallExpression",
"start": 2155,
"end": 2297,
"loc": {
"start": {
"line": 77,
"column": 28
},
"end": {
"line": 80,
"column": 10
}
},
"callee": {
"type": "MemberExpression",
"start": 2155,
"end": 2181,
"loc": {
"start": {
"line": 77,
"column": 28
},
"end": {
"line": 77,
"column": 54
}
},
"object": {
"type": "MemberExpression",
"start": 2155,
"end": 2178,
"loc": {
"start": {
"line": 77,
"column": 28
},
"end": {
"line": 77,
"column": 51
}
},
"object": {
"type": "MemberExpression",
"start": 2155,
"end": 2172,
"loc": {
"start": {
"line": 77,
"column": 28
},
"end": {
"line": 77,
"column": 45
}
},
"object": {
"type": "MemberExpression",
"start": 2155,
"end": 2166,
"loc": {
"start": {
"line": 77,
"column": 28
},
"end": {
"line": 77,
"column": 39
}
},
"object": {
"type": "ThisExpression",
"start": 2155,
"end": 2159,
"loc": {
"start": {
"line": 77,
"column": 28
},
"end": {
"line": 77,
"column": 32
}
}
},
"property": {
"type": "Identifier",
"start": 2160,
"end": 2166,
"loc": {
"start": {
"line": 77,
"column": 33
},
"end": {
"line": 77,
"column": 39
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2167,
"end": 2172,
"loc": {
"start": {
"line": 77,
"column": 40
},
"end": {
"line": 77,
"column": 45
},
"identifierName": "scene"
},
"name": "scene"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2173,
"end": 2178,
"loc": {
"start": {
"line": 77,
"column": 46
},
"end": {
"line": 77,
"column": 51
},
"identifierName": "input"
},
"name": "input"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2179,
"end": 2181,
"loc": {
"start": {
"line": 77,
"column": 52
},
"end": {
"line": 77,
"column": 54
},
"identifierName": "on"
},
"name": "on"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 2182,
"end": 2193,
"loc": {
"start": {
"line": 77,
"column": 55
},
"end": {
"line": 77,
"column": 66
}
},
"extra": {
"rawValue": "mousedown",
"raw": "\"mousedown\""
},
"value": "mousedown"
},
{
"type": "ArrowFunctionExpression",
"start": 2195,
"end": 2296,
"loc": {
"start": {
"line": 77,
"column": 68
},
"end": {
"line": 80,
"column": 9
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 2196,
"end": 2202,
"loc": {
"start": {
"line": 77,
"column": 69
},
"end": {
"line": 77,
"column": 75
},
"identifierName": "coords"
},
"name": "coords"
}
],
"body": {
"type": "BlockStatement",
"start": 2207,
"end": 2296,
"loc": {
"start": {
"line": 77,
"column": 80
},
"end": {
"line": 80,
"column": 9
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 2221,
"end": 2247,
"loc": {
"start": {
"line": 78,
"column": 12
},
"end": {
"line": 78,
"column": 38
}
},
"expression": {
"type": "AssignmentExpression",
"start": 2221,
"end": 2246,
"loc": {
"start": {
"line": 78,
"column": 12
},
"end": {
"line": 78,
"column": 37
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 2221,
"end": 2234,
"loc": {
"start": {
"line": 78,
"column": 12
},
"end": {
"line": 78,
"column": 25
}
},
"object": {
"type": "Identifier",
"start": 2221,
"end": 2231,
"loc": {
"start": {
"line": 78,
"column": 12
},
"end": {
"line": 78,
"column": 22
},
"identifierName": "lastCoords"
},
"name": "lastCoords"
},
"property": {
"type": "NumericLiteral",
"start": 2232,
"end": 2233,
"loc": {
"start": {
"line": 78,
"column": 23
},
"end": {
"line": 78,
"column": 24
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
},
"computed": true
},
"right": {
"type": "MemberExpression",
"start": 2237,
"end": 2246,
"loc": {
"start": {
"line": 78,
"column": 28
},
"end": {
"line": 78,
"column": 37
}
},
"object": {
"type": "Identifier",
"start": 2237,
"end": 2243,
"loc": {
"start": {
"line": 78,
"column": 28
},
"end": {
"line": 78,
"column": 34
},
"identifierName": "coords"
},
"name": "coords"
},
"property": {
"type": "NumericLiteral",
"start": 2244,
"end": 2245,
"loc": {
"start": {
"line": 78,
"column": 35
},
"end": {
"line": 78,
"column": 36
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
},
"computed": true
}
}
},
{
"type": "ExpressionStatement",
"start": 2260,
"end": 2286,
"loc": {
"start": {
"line": 79,
"column": 12
},
"end": {
"line": 79,
"column": 38
}
},
"expression": {
"type": "AssignmentExpression",
"start": 2260,
"end": 2285,
"loc": {
"start": {
"line": 79,
"column": 12
},
"end": {
"line": 79,
"column": 37
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 2260,
"end": 2273,
"loc": {
"start": {
"line": 79,
"column": 12
},
"end": {
"line": 79,
"column": 25
}
},
"object": {
"type": "Identifier",
"start": 2260,
"end": 2270,
"loc": {
"start": {
"line": 79,
"column": 12
},
"end": {
"line": 79,
"column": 22
},
"identifierName": "lastCoords"
},
"name": "lastCoords"
},
"property": {
"type": "NumericLiteral",
"start": 2271,
"end": 2272,
"loc": {
"start": {
"line": 79,
"column": 23
},
"end": {
"line": 79,
"column": 24
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
},
"computed": true
},
"right": {
"type": "MemberExpression",
"start": 2276,
"end": 2285,
"loc": {
"start": {
"line": 79,
"column": 28
},
"end": {
"line": 79,
"column": 37
}
},
"object": {
"type": "Identifier",
"start": 2276,
"end": 2282,
"loc": {
"start": {
"line": 79,
"column": 28
},
"end": {
"line": 79,
"column": 34
},
"identifierName": "coords"
},
"name": "coords"
},
"property": {
"type": "NumericLiteral",
"start": 2283,
"end": 2284,
"loc": {
"start": {
"line": 79,
"column": 35
},
"end": {
"line": 79,
"column": 36
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
},
"computed": true
}
}
}
],
"directives": []
}
}
]
}
}
},
{
"type": "ExpressionStatement",
"start": 2307,
"end": 2777,
"loc": {
"start": {
"line": 81,
"column": 8
},
"end": {
"line": 94,
"column": 11
}
},
"expression": {
"type": "AssignmentExpression",
"start": 2307,
"end": 2776,
"loc": {
"start": {
"line": 81,
"column": 8
},
"end": {
"line": 94,
"column": 10
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 2307,
"end": 2322,
"loc": {
"start": {
"line": 81,
"column": 8
},
"end": {
"line": 81,
"column": 23
}
},
"object": {
"type": "ThisExpression",
"start": 2307,
"end": 2311,
"loc": {
"start": {
"line": 81,
"column": 8
},
"end": {
"line": 81,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 2312,
"end": 2322,
"loc": {
"start": {
"line": 81,
"column": 13
},
"end": {
"line": 81,
"column": 23
},
"identifierName": "_onMouseup"
},
"name": "_onMouseup"
},
"computed": false
},
"right": {
"type": "CallExpression",
"start": 2325,
"end": 2776,
"loc": {
"start": {
"line": 81,
"column": 26
},
"end": {
"line": 94,
"column": 10
}
},
"callee": {
"type": "MemberExpression",
"start": 2325,
"end": 2351,
"loc": {
"start": {
"line": 81,
"column": 26
},
"end": {
"line": 81,
"column": 52
}
},
"object": {
"type": "MemberExpression",
"start": 2325,
"end": 2348,
"loc": {
"start": {
"line": 81,
"column": 26
},
"end": {
"line": 81,
"column": 49
}
},
"object": {
"type": "MemberExpression",
"start": 2325,
"end": 2342,
"loc": {
"start": {
"line": 81,
"column": 26
},
"end": {
"line": 81,
"column": 43
}
},
"object": {
"type": "MemberExpression",
"start": 2325,
"end": 2336,
"loc": {
"start": {
"line": 81,
"column": 26
},
"end": {
"line": 81,
"column": 37
}
},
"object": {
"type": "ThisExpression",
"start": 2325,
"end": 2329,
"loc": {
"start": {
"line": 81,
"column": 26
},
"end": {
"line": 81,
"column": 30
}
}
},
"property": {
"type": "Identifier",
"start": 2330,
"end": 2336,
"loc": {
"start": {
"line": 81,
"column": 31
},
"end": {
"line": 81,
"column": 37
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2337,
"end": 2342,
"loc": {
"start": {
"line": 81,
"column": 38
},
"end": {
"line": 81,
"column": 43
},
"identifierName": "scene"
},
"name": "scene"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2343,
"end": 2348,
"loc": {
"start": {
"line": 81,
"column": 44
},
"end": {
"line": 81,
"column": 49
},
"identifierName": "input"
},
"name": "input"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2349,
"end": 2351,
"loc": {
"start": {
"line": 81,
"column": 50
},
"end": {
"line": 81,
"column": 52
},
"identifierName": "on"
},
"name": "on"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 2352,
"end": 2361,
"loc": {
"start": {
"line": 81,
"column": 53
},
"end": {
"line": 81,
"column": 62
}
},
"extra": {
"rawValue": "mouseup",
"raw": "\"mouseup\""
},
"value": "mouseup"
},
{
"type": "ArrowFunctionExpression",
"start": 2363,
"end": 2775,
"loc": {
"start": {
"line": 81,
"column": 64
},
"end": {
"line": 94,
"column": 9
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 2364,
"end": 2370,
"loc": {
"start": {
"line": 81,
"column": 65
},
"end": {
"line": 81,
"column": 71
},
"identifierName": "coords"
},
"name": "coords"
}
],
"body": {
"type": "BlockStatement",
"start": 2375,
"end": 2775,
"loc": {
"start": {
"line": 81,
"column": 76
},
"end": {
"line": 94,
"column": 9
}
},
"body": [
{
"type": "IfStatement",
"start": 2389,
"end": 2473,
"loc": {
"start": {
"line": 82,
"column": 12
},
"end": {
"line": 84,
"column": 13
}
},
"test": {
"type": "LogicalExpression",
"start": 2393,
"end": 2432,
"loc": {
"start": {
"line": 82,
"column": 16
},
"end": {
"line": 82,
"column": 55
}
},
"left": {
"type": "UnaryExpression",
"start": 2393,
"end": 2410,
"loc": {
"start": {
"line": 82,
"column": 16
},
"end": {
"line": 82,
"column": 33
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "CallExpression",
"start": 2394,
"end": 2410,
"loc": {
"start": {
"line": 82,
"column": 17
},
"end": {
"line": 82,
"column": 33
}
},
"callee": {
"type": "MemberExpression",
"start": 2394,
"end": 2408,
"loc": {
"start": {
"line": 82,
"column": 17
},
"end": {
"line": 82,
"column": 31
}
},
"object": {
"type": "ThisExpression",
"start": 2394,
"end": 2398,
"loc": {
"start": {
"line": 82,
"column": 17
},
"end": {
"line": 82,
"column": 21
}
}
},
"property": {
"type": "Identifier",
"start": 2399,
"end": 2408,
"loc": {
"start": {
"line": 82,
"column": 22
},
"end": {
"line": 82,
"column": 31
},
"identifierName": "getActive"
},
"name": "getActive"
},
"computed": false
},
"arguments": []
},
"extra": {
"parenthesizedArgument": false
}
},
"operator": "||",
"right": {
"type": "UnaryExpression",
"start": 2414,
"end": 2432,
"loc": {
"start": {
"line": 82,
"column": 37
},
"end": {
"line": 82,
"column": 55
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "CallExpression",
"start": 2415,
"end": 2432,
"loc": {
"start": {
"line": 82,
"column": 38
},
"end": {
"line": 82,
"column": 55
}
},
"callee": {
"type": "MemberExpression",
"start": 2415,
"end": 2430,
"loc": {
"start": {
"line": 82,
"column": 38
},
"end": {
"line": 82,
"column": 53
}
},
"object": {
"type": "ThisExpression",
"start": 2415,
"end": 2419,
"loc": {
"start": {
"line": 82,
"column": 38
},
"end": {
"line": 82,
"column": 42
}
}
},
"property": {
"type": "Identifier",
"start": 2420,
"end": 2430,
"loc": {
"start": {
"line": 82,
"column": 43
},
"end": {
"line": 82,
"column": 53
},
"identifierName": "getEnabled"
},
"name": "getEnabled"
},
"computed": false
},
"arguments": []
},
"extra": {
"parenthesizedArgument": false
}
}
},
"consequent": {
"type": "BlockStatement",
"start": 2434,
"end": 2473,
"loc": {
"start": {
"line": 82,
"column": 57
},
"end": {
"line": 84,
"column": 13
}
},
"body": [
{
"type": "ReturnStatement",
"start": 2452,
"end": 2459,
"loc": {
"start": {
"line": 83,
"column": 16
},
"end": {
"line": 83,
"column": 23
}
},
"argument": null
}
],
"directives": []
},
"alternate": null
},
{
"type": "IfStatement",
"start": 2486,
"end": 2765,
"loc": {
"start": {
"line": 85,
"column": 12
},
"end": {
"line": 93,
"column": 13
}
},
"test": {
"type": "Identifier",
"start": 2490,
"end": 2496,
"loc": {
"start": {
"line": 85,
"column": 16
},
"end": {
"line": 85,
"column": 22
},
"identifierName": "entity"
},
"name": "entity"
},
"consequent": {
"type": "BlockStatement",
"start": 2498,
"end": 2765,
"loc": {
"start": {
"line": 85,
"column": 24
},
"end": {
"line": 93,
"column": 13
}
},
"body": [
{
"type": "IfStatement",
"start": 2516,
"end": 2636,
"loc": {
"start": {
"line": 86,
"column": 16
},
"end": {
"line": 89,
"column": 17
}
},
"test": {
"type": "UnaryExpression",
"start": 2520,
"end": 2552,
"loc": {
"start": {
"line": 86,
"column": 20
},
"end": {
"line": 86,
"column": 52
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "CallExpression",
"start": 2521,
"end": 2552,
"loc": {
"start": {
"line": 86,
"column": 21
},
"end": {
"line": 86,
"column": 52
}
},
"callee": {
"type": "Identifier",
"start": 2521,
"end": 2532,
"loc": {
"start": {
"line": 86,
"column": 21
},
"end": {
"line": 86,
"column": 32
},
"identifierName": "closeEnough"
},
"name": "closeEnough"
},
"arguments": [
{
"type": "Identifier",
"start": 2533,
"end": 2543,
"loc": {
"start": {
"line": 86,
"column": 33
},
"end": {
"line": 86,
"column": 43
},
"identifierName": "lastCoords"
},
"name": "lastCoords"
},
{
"type": "Identifier",
"start": 2545,
"end": 2551,
"loc": {
"start": {
"line": 86,
"column": 45
},
"end": {
"line": 86,
"column": 51
},
"identifierName": "coords"
},
"name": "coords"
}
]
},
"extra": {
"parenthesizedArgument": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 2554,
"end": 2636,
"loc": {
"start": {
"line": 86,
"column": 54
},
"end": {
"line": 89,
"column": 17
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 2576,
"end": 2590,
"loc": {
"start": {
"line": 87,
"column": 20
},
"end": {
"line": 87,
"column": 34
}
},
"expression": {
"type": "AssignmentExpression",
"start": 2576,
"end": 2589,
"loc": {
"start": {
"line": 87,
"column": 20
},
"end": {
"line": 87,
"column": 33
}
},
"operator": "=",
"left": {
"type": "Identifier",
"start": 2576,
"end": 2582,
"loc": {
"start": {
"line": 87,
"column": 20
},
"end": {
"line": 87,
"column": 26
},
"identifierName": "entity"
},
"name": "entity"
},
"right": {
"type": "NullLiteral",
"start": 2585,
"end": 2589,
"loc": {
"start": {
"line": 87,
"column": 29
},
"end": {
"line": 87,
"column": 33
}
}
}
}
},
{
"type": "ReturnStatement",
"start": 2611,
"end": 2618,
"loc": {
"start": {
"line": 88,
"column": 20
},
"end": {
"line": 88,
"column": 27
}
},
"argument": null
}
],
"directives": []
},
"alternate": null
},
{
"type": "ExpressionStatement",
"start": 2653,
"end": 2676,
"loc": {
"start": {
"line": 90,
"column": 16
},
"end": {
"line": 90,
"column": 39
}
},
"expression": {
"type": "AssignmentExpression",
"start": 2653,
"end": 2675,
"loc": {
"start": {
"line": 90,
"column": 16
},
"end": {
"line": 90,
"column": 38
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 2653,
"end": 2667,
"loc": {
"start": {
"line": 90,
"column": 16
},
"end": {
"line": 90,
"column": 30
}
},
"object": {
"type": "Identifier",
"start": 2653,
"end": 2659,
"loc": {
"start": {
"line": 90,
"column": 16
},
"end": {
"line": 90,
"column": 22
},
"identifierName": "entity"
},
"name": "entity"
},
"property": {
"type": "Identifier",
"start": 2660,
"end": 2667,
"loc": {
"start": {
"line": 90,
"column": 23
},
"end": {
"line": 90,
"column": 30
},
"identifierName": "visible"
},
"name": "visible"
},
"computed": false
},
"right": {
"type": "BooleanLiteral",
"start": 2670,
"end": 2675,
"loc": {
"start": {
"line": 90,
"column": 33
},
"end": {
"line": 90,
"column": 38
}
},
"value": false
}
}
},
{
"type": "ExpressionStatement",
"start": 2693,
"end": 2720,
"loc": {
"start": {
"line": 91,
"column": 16
},
"end": {
"line": 91,
"column": 43
}
},
"expression": {
"type": "AssignmentExpression",
"start": 2693,
"end": 2719,
"loc": {
"start": {
"line": 91,
"column": 16
},
"end": {
"line": 91,
"column": 42
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 2693,
"end": 2711,
"loc": {
"start": {
"line": 91,
"column": 16
},
"end": {
"line": 91,
"column": 34
}
},
"object": {
"type": "Identifier",
"start": 2693,
"end": 2699,
"loc": {
"start": {
"line": 91,
"column": 16
},
"end": {
"line": 91,
"column": 22
},
"identifierName": "entity"
},
"name": "entity"
},
"property": {
"type": "Identifier",
"start": 2700,
"end": 2711,
"loc": {
"start": {
"line": 91,
"column": 23
},
"end": {
"line": 91,
"column": 34
},
"identifierName": "highlighted"
},
"name": "highlighted"
},
"computed": false
},
"right": {
"type": "BooleanLiteral",
"start": 2714,
"end": 2719,
"loc": {
"start": {
"line": 91,
"column": 37
},
"end": {
"line": 91,
"column": 42
}
},
"value": false
}
}
},
{
"type": "ExpressionStatement",
"start": 2737,
"end": 2751,
"loc": {
"start": {
"line": 92,
"column": 16
},
"end": {
"line": 92,
"column": 30
}
},
"expression": {
"type": "AssignmentExpression",
"start": 2737,
"end": 2750,
"loc": {
"start": {
"line": 92,
"column": 16
},
"end": {
"line": 92,
"column": 29
}
},
"operator": "=",
"left": {
"type": "Identifier",
"start": 2737,
"end": 2743,
"loc": {
"start": {
"line": 92,
"column": 16
},
"end": {
"line": 92,
"column": 22
},
"identifierName": "entity"
},
"name": "entity"
},
"right": {
"type": "NullLiteral",
"start": 2746,
"end": 2750,
"loc": {
"start": {
"line": 92,
"column": 25
},
"end": {
"line": 92,
"column": 29
}
}
}
}
}
],
"directives": []
},
"alternate": null
}
],
"directives": []
}
}
]
}
}
}
],
"directives": []
}
}
]
},
"leadingComments": [],
"name": "_",
"trailingComments": []
},
{
"type": "ExportNamedDeclaration",
"start": 2787,
"end": 2805,
"loc": {
"start": {
"line": 98,
"column": 0
},
"end": {
"line": 98,
"column": 18
}
},
"declaration": null,
"specifiers": [
{
"type": "ExportSpecifier",
"start": 2795,
"end": 2803,
"loc": {
"start": {
"line": 98,
"column": 8
},
"end": {
"line": 98,
"column": 16
}
},
"local": {
"type": "Identifier",
"start": 2795,
"end": 2803,
"loc": {
"start": {
"line": 98,
"column": 8
},
"end": {
"line": 98,
"column": 16
},
"identifierName": "HideMode"
},
"name": "HideMode"
},
"exported": {
"type": "Identifier",
"start": 2795,
"end": 2803,
"loc": {
"start": {
"line": 98,
"column": 8
},
"end": {
"line": 98,
"column": 16
},
"identifierName": "HideMode"
},
"name": "HideMode"
}
}
],
"source": null
},
{
"type": "ExportNamedDeclaration",
"start": 2787,
"end": 2805,
"loc": {
"start": {
"line": 98,
"column": 0
},
"end": {
"line": 98,
"column": 18
}
},
"declaration": {
"type": "ClassDeclaration",
"start": 271,
"end": 2785,
"loc": {
"start": {
"line": 10,
"column": 0
},
"end": {
"line": 96,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 277,
"end": 285,
"loc": {
"start": {
"line": 10,
"column": 6
},
"end": {
"line": 10,
"column": 14
},
"identifierName": "HideMode"
},
"name": "HideMode",
"leadingComments": null
},
"superClass": {
"type": "Identifier",
"start": 294,
"end": 304,
"loc": {
"start": {
"line": 10,
"column": 23
},
"end": {
"line": 10,
"column": 33
},
"identifierName": "Controller"
},
"name": "Controller"
},
"body": {
"type": "ClassBody",
"start": 305,
"end": 2785,
"loc": {
"start": {
"line": 10,
"column": 34
},
"end": {
"line": 96,
"column": 1
}
},
"body": [
{
"type": "ClassMethod",
"start": 312,
"end": 1370,
"loc": {
"start": {
"line": 12,
"column": 4
},
"end": {
"line": 52,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 312,
"end": 323,
"loc": {
"start": {
"line": 12,
"column": 4
},
"end": {
"line": 12,
"column": 15
},
"identifierName": "constructor"
},
"name": "constructor"
},
"kind": "constructor",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 324,
"end": 330,
"loc": {
"start": {
"line": 12,
"column": 16
},
"end": {
"line": 12,
"column": 22
},
"identifierName": "parent"
},
"name": "parent"
},
{
"type": "Identifier",
"start": 332,
"end": 335,
"loc": {
"start": {
"line": 12,
"column": 24
},
"end": {
"line": 12,
"column": 27
},
"identifierName": "cfg"
},
"name": "cfg"
}
],
"body": {
"type": "BlockStatement",
"start": 337,
"end": 1370,
"loc": {
"start": {
"line": 12,
"column": 29
},
"end": {
"line": 52,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 348,
"end": 367,
"loc": {
"start": {
"line": 14,
"column": 8
},
"end": {
"line": 14,
"column": 27
}
},
"expression": {
"type": "CallExpression",
"start": 348,
"end": 366,
"loc": {
"start": {
"line": 14,
"column": 8
},
"end": {
"line": 14,
"column": 26
}
},
"callee": {
"type": "Super",
"start": 348,
"end": 353,
"loc": {
"start": {
"line": 14,
"column": 8
},
"end": {
"line": 14,
"column": 13
}
}
},
"arguments": [
{
"type": "Identifier",
"start": 354,
"end": 360,
"loc": {
"start": {
"line": 14,
"column": 14
},
"end": {
"line": 14,
"column": 20
},
"identifierName": "parent"
},
"name": "parent"
},
{
"type": "Identifier",
"start": 362,
"end": 365,
"loc": {
"start": {
"line": 14,
"column": 22
},
"end": {
"line": 14,
"column": 25
},
"identifierName": "cfg"
},
"name": "cfg"
}
]
}
},
{
"type": "IfStatement",
"start": 377,
"end": 463,
"loc": {
"start": {
"line": 16,
"column": 8
},
"end": {
"line": 18,
"column": 9
}
},
"test": {
"type": "UnaryExpression",
"start": 381,
"end": 399,
"loc": {
"start": {
"line": 16,
"column": 12
},
"end": {
"line": 16,
"column": 30
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "MemberExpression",
"start": 382,
"end": 399,
"loc": {
"start": {
"line": 16,
"column": 13
},
"end": {
"line": 16,
"column": 30
}
},
"object": {
"type": "Identifier",
"start": 382,
"end": 385,
"loc": {
"start": {
"line": 16,
"column": 13
},
"end": {
"line": 16,
"column": 16
},
"identifierName": "cfg"
},
"name": "cfg"
},
"property": {
"type": "Identifier",
"start": 386,
"end": 399,
"loc": {
"start": {
"line": 16,
"column": 17
},
"end": {
"line": 16,
"column": 30
},
"identifierName": "buttonElement"
},
"name": "buttonElement"
},
"computed": false
},
"extra": {
"parenthesizedArgument": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 401,
"end": 463,
"loc": {
"start": {
"line": 16,
"column": 32
},
"end": {
"line": 18,
"column": 9
}
},
"body": [
{
"type": "ThrowStatement",
"start": 415,
"end": 453,
"loc": {
"start": {
"line": 17,
"column": 12
},
"end": {
"line": 17,
"column": 50
}
},
"argument": {
"type": "StringLiteral",
"start": 421,
"end": 452,
"loc": {
"start": {
"line": 17,
"column": 18
},
"end": {
"line": 17,
"column": 49
}
},
"extra": {
"rawValue": "Missing config: buttonElement",
"raw": "\"Missing config: buttonElement\""
},
"value": "Missing config: buttonElement"
}
}
],
"directives": []
},
"alternate": null
},
{
"type": "VariableDeclaration",
"start": 473,
"end": 513,
"loc": {
"start": {
"line": 20,
"column": 8
},
"end": {
"line": 20,
"column": 48
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 479,
"end": 512,
"loc": {
"start": {
"line": 20,
"column": 14
},
"end": {
"line": 20,
"column": 47
}
},
"id": {
"type": "Identifier",
"start": 479,
"end": 492,
"loc": {
"start": {
"line": 20,
"column": 14
},
"end": {
"line": 20,
"column": 27
},
"identifierName": "buttonElement"
},
"name": "buttonElement"
},
"init": {
"type": "MemberExpression",
"start": 495,
"end": 512,
"loc": {
"start": {
"line": 20,
"column": 30
},
"end": {
"line": 20,
"column": 47
}
},
"object": {
"type": "Identifier",
"start": 495,
"end": 498,
"loc": {
"start": {
"line": 20,
"column": 30
},
"end": {
"line": 20,
"column": 33
},
"identifierName": "cfg"
},
"name": "cfg"
},
"property": {
"type": "Identifier",
"start": 499,
"end": 512,
"loc": {
"start": {
"line": 20,
"column": 34
},
"end": {
"line": 20,
"column": 47
},
"identifierName": "buttonElement"
},
"name": "buttonElement"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "ExpressionStatement",
"start": 523,
"end": 748,
"loc": {
"start": {
"line": 22,
"column": 8
},
"end": {
"line": 28,
"column": 11
}
},
"expression": {
"type": "CallExpression",
"start": 523,
"end": 747,
"loc": {
"start": {
"line": 22,
"column": 8
},
"end": {
"line": 28,
"column": 10
}
},
"callee": {
"type": "MemberExpression",
"start": 523,
"end": 530,
"loc": {
"start": {
"line": 22,
"column": 8
},
"end": {
"line": 22,
"column": 15
}
},
"object": {
"type": "ThisExpression",
"start": 523,
"end": 527,
"loc": {
"start": {
"line": 22,
"column": 8
},
"end": {
"line": 22,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 528,
"end": 530,
"loc": {
"start": {
"line": 22,
"column": 13
},
"end": {
"line": 22,
"column": 15
},
"identifierName": "on"
},
"name": "on"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 531,
"end": 540,
"loc": {
"start": {
"line": 22,
"column": 16
},
"end": {
"line": 22,
"column": 25
}
},
"extra": {
"rawValue": "enabled",
"raw": "\"enabled\""
},
"value": "enabled"
},
{
"type": "ArrowFunctionExpression",
"start": 542,
"end": 746,
"loc": {
"start": {
"line": 22,
"column": 27
},
"end": {
"line": 28,
"column": 9
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 543,
"end": 550,
"loc": {
"start": {
"line": 22,
"column": 28
},
"end": {
"line": 22,
"column": 35
},
"identifierName": "enabled"
},
"name": "enabled"
}
],
"body": {
"type": "BlockStatement",
"start": 555,
"end": 746,
"loc": {
"start": {
"line": 22,
"column": 40
},
"end": {
"line": 28,
"column": 9
}
},
"body": [
{
"type": "IfStatement",
"start": 569,
"end": 736,
"loc": {
"start": {
"line": 23,
"column": 12
},
"end": {
"line": 27,
"column": 13
}
},
"test": {
"type": "UnaryExpression",
"start": 573,
"end": 581,
"loc": {
"start": {
"line": 23,
"column": 16
},
"end": {
"line": 23,
"column": 24
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 574,
"end": 581,
"loc": {
"start": {
"line": 23,
"column": 17
},
"end": {
"line": 23,
"column": 24
},
"identifierName": "enabled"
},
"name": "enabled"
},
"extra": {
"parenthesizedArgument": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 583,
"end": 655,
"loc": {
"start": {
"line": 23,
"column": 26
},
"end": {
"line": 25,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 601,
"end": 641,
"loc": {
"start": {
"line": 24,
"column": 16
},
"end": {
"line": 24,
"column": 56
}
},
"expression": {
"type": "CallExpression",
"start": 601,
"end": 640,
"loc": {
"start": {
"line": 24,
"column": 16
},
"end": {
"line": 24,
"column": 55
}
},
"callee": {
"type": "MemberExpression",
"start": 601,
"end": 628,
"loc": {
"start": {
"line": 24,
"column": 16
},
"end": {
"line": 24,
"column": 43
}
},
"object": {
"type": "MemberExpression",
"start": 601,
"end": 624,
"loc": {
"start": {
"line": 24,
"column": 16
},
"end": {
"line": 24,
"column": 39
}
},
"object": {
"type": "Identifier",
"start": 601,
"end": 614,
"loc": {
"start": {
"line": 24,
"column": 16
},
"end": {
"line": 24,
"column": 29
},
"identifierName": "buttonElement"
},
"name": "buttonElement"
},
"property": {
"type": "Identifier",
"start": 615,
"end": 624,
"loc": {
"start": {
"line": 24,
"column": 30
},
"end": {
"line": 24,
"column": 39
},
"identifierName": "classList"
},
"name": "classList"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 625,
"end": 628,
"loc": {
"start": {
"line": 24,
"column": 40
},
"end": {
"line": 24,
"column": 43
},
"identifierName": "add"
},
"name": "add"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 629,
"end": 639,
"loc": {
"start": {
"line": 24,
"column": 44
},
"end": {
"line": 24,
"column": 54
}
},
"extra": {
"rawValue": "disabled",
"raw": "\"disabled\""
},
"value": "disabled"
}
]
}
}
],
"directives": []
},
"alternate": {
"type": "BlockStatement",
"start": 661,
"end": 736,
"loc": {
"start": {
"line": 25,
"column": 19
},
"end": {
"line": 27,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 679,
"end": 722,
"loc": {
"start": {
"line": 26,
"column": 16
},
"end": {
"line": 26,
"column": 59
}
},
"expression": {
"type": "CallExpression",
"start": 679,
"end": 721,
"loc": {
"start": {
"line": 26,
"column": 16
},
"end": {
"line": 26,
"column": 58
}
},
"callee": {
"type": "MemberExpression",
"start": 679,
"end": 709,
"loc": {
"start": {
"line": 26,
"column": 16
},
"end": {
"line": 26,
"column": 46
}
},
"object": {
"type": "MemberExpression",
"start": 679,
"end": 702,
"loc": {
"start": {
"line": 26,
"column": 16
},
"end": {
"line": 26,
"column": 39
}
},
"object": {
"type": "Identifier",
"start": 679,
"end": 692,
"loc": {
"start": {
"line": 26,
"column": 16
},
"end": {
"line": 26,
"column": 29
},
"identifierName": "buttonElement"
},
"name": "buttonElement"
},
"property": {
"type": "Identifier",
"start": 693,
"end": 702,
"loc": {
"start": {
"line": 26,
"column": 30
},
"end": {
"line": 26,
"column": 39
},
"identifierName": "classList"
},
"name": "classList"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 703,
"end": 709,
"loc": {
"start": {
"line": 26,
"column": 40
},
"end": {
"line": 26,
"column": 46
},
"identifierName": "remove"
},
"name": "remove"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 710,
"end": 720,
"loc": {
"start": {
"line": 26,
"column": 47
},
"end": {
"line": 26,
"column": 57
}
},
"extra": {
"rawValue": "disabled",
"raw": "\"disabled\""
},
"value": "disabled"
}
]
}
}
],
"directives": []
}
}
],
"directives": []
}
}
]
}
},
{
"type": "ExpressionStatement",
"start": 758,
"end": 975,
"loc": {
"start": {
"line": 30,
"column": 8
},
"end": {
"line": 36,
"column": 11
}
},
"expression": {
"type": "CallExpression",
"start": 758,
"end": 974,
"loc": {
"start": {
"line": 30,
"column": 8
},
"end": {
"line": 36,
"column": 10
}
},
"callee": {
"type": "MemberExpression",
"start": 758,
"end": 765,
"loc": {
"start": {
"line": 30,
"column": 8
},
"end": {
"line": 30,
"column": 15
}
},
"object": {
"type": "ThisExpression",
"start": 758,
"end": 762,
"loc": {
"start": {
"line": 30,
"column": 8
},
"end": {
"line": 30,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 763,
"end": 765,
"loc": {
"start": {
"line": 30,
"column": 13
},
"end": {
"line": 30,
"column": 15
},
"identifierName": "on"
},
"name": "on"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 766,
"end": 774,
"loc": {
"start": {
"line": 30,
"column": 16
},
"end": {
"line": 30,
"column": 24
}
},
"extra": {
"rawValue": "active",
"raw": "\"active\""
},
"value": "active"
},
{
"type": "ArrowFunctionExpression",
"start": 776,
"end": 973,
"loc": {
"start": {
"line": 30,
"column": 26
},
"end": {
"line": 36,
"column": 9
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 777,
"end": 783,
"loc": {
"start": {
"line": 30,
"column": 27
},
"end": {
"line": 30,
"column": 33
},
"identifierName": "active"
},
"name": "active"
}
],
"body": {
"type": "BlockStatement",
"start": 788,
"end": 973,
"loc": {
"start": {
"line": 30,
"column": 38
},
"end": {
"line": 36,
"column": 9
}
},
"body": [
{
"type": "IfStatement",
"start": 802,
"end": 963,
"loc": {
"start": {
"line": 31,
"column": 12
},
"end": {
"line": 35,
"column": 13
}
},
"test": {
"type": "Identifier",
"start": 806,
"end": 812,
"loc": {
"start": {
"line": 31,
"column": 16
},
"end": {
"line": 31,
"column": 22
},
"identifierName": "active"
},
"name": "active"
},
"consequent": {
"type": "BlockStatement",
"start": 814,
"end": 884,
"loc": {
"start": {
"line": 31,
"column": 24
},
"end": {
"line": 33,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 832,
"end": 870,
"loc": {
"start": {
"line": 32,
"column": 16
},
"end": {
"line": 32,
"column": 54
}
},
"expression": {
"type": "CallExpression",
"start": 832,
"end": 869,
"loc": {
"start": {
"line": 32,
"column": 16
},
"end": {
"line": 32,
"column": 53
}
},
"callee": {
"type": "MemberExpression",
"start": 832,
"end": 859,
"loc": {
"start": {
"line": 32,
"column": 16
},
"end": {
"line": 32,
"column": 43
}
},
"object": {
"type": "MemberExpression",
"start": 832,
"end": 855,
"loc": {
"start": {
"line": 32,
"column": 16
},
"end": {
"line": 32,
"column": 39
}
},
"object": {
"type": "Identifier",
"start": 832,
"end": 845,
"loc": {
"start": {
"line": 32,
"column": 16
},
"end": {
"line": 32,
"column": 29
},
"identifierName": "buttonElement"
},
"name": "buttonElement"
},
"property": {
"type": "Identifier",
"start": 846,
"end": 855,
"loc": {
"start": {
"line": 32,
"column": 30
},
"end": {
"line": 32,
"column": 39
},
"identifierName": "classList"
},
"name": "classList"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 856,
"end": 859,
"loc": {
"start": {
"line": 32,
"column": 40
},
"end": {
"line": 32,
"column": 43
},
"identifierName": "add"
},
"name": "add"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 860,
"end": 868,
"loc": {
"start": {
"line": 32,
"column": 44
},
"end": {
"line": 32,
"column": 52
}
},
"extra": {
"rawValue": "active",
"raw": "\"active\""
},
"value": "active"
}
]
}
}
],
"directives": []
},
"alternate": {
"type": "BlockStatement",
"start": 890,
"end": 963,
"loc": {
"start": {
"line": 33,
"column": 19
},
"end": {
"line": 35,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 908,
"end": 949,
"loc": {
"start": {
"line": 34,
"column": 16
},
"end": {
"line": 34,
"column": 57
}
},
"expression": {
"type": "CallExpression",
"start": 908,
"end": 948,
"loc": {
"start": {
"line": 34,
"column": 16
},
"end": {
"line": 34,
"column": 56
}
},
"callee": {
"type": "MemberExpression",
"start": 908,
"end": 938,
"loc": {
"start": {
"line": 34,
"column": 16
},
"end": {
"line": 34,
"column": 46
}
},
"object": {
"type": "MemberExpression",
"start": 908,
"end": 931,
"loc": {
"start": {
"line": 34,
"column": 16
},
"end": {
"line": 34,
"column": 39
}
},
"object": {
"type": "Identifier",
"start": 908,
"end": 921,
"loc": {
"start": {
"line": 34,
"column": 16
},
"end": {
"line": 34,
"column": 29
},
"identifierName": "buttonElement"
},
"name": "buttonElement"
},
"property": {
"type": "Identifier",
"start": 922,
"end": 931,
"loc": {
"start": {
"line": 34,
"column": 30
},
"end": {
"line": 34,
"column": 39
},
"identifierName": "classList"
},
"name": "classList"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 932,
"end": 938,
"loc": {
"start": {
"line": 34,
"column": 40
},
"end": {
"line": 34,
"column": 46
},
"identifierName": "remove"
},
"name": "remove"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 939,
"end": 947,
"loc": {
"start": {
"line": 34,
"column": 47
},
"end": {
"line": 34,
"column": 55
}
},
"extra": {
"rawValue": "active",
"raw": "\"active\""
},
"value": "active"
}
]
}
}
],
"directives": []
}
}
],
"directives": []
}
}
]
}
},
{
"type": "ExpressionStatement",
"start": 985,
"end": 1243,
"loc": {
"start": {
"line": 38,
"column": 8
},
"end": {
"line": 45,
"column": 11
}
},
"expression": {
"type": "CallExpression",
"start": 985,
"end": 1242,
"loc": {
"start": {
"line": 38,
"column": 8
},
"end": {
"line": 45,
"column": 10
}
},
"callee": {
"type": "MemberExpression",
"start": 985,
"end": 1015,
"loc": {
"start": {
"line": 38,
"column": 8
},
"end": {
"line": 38,
"column": 38
}
},
"object": {
"type": "Identifier",
"start": 985,
"end": 998,
"loc": {
"start": {
"line": 38,
"column": 8
},
"end": {
"line": 38,
"column": 21
},
"identifierName": "buttonElement"
},
"name": "buttonElement"
},
"property": {
"type": "Identifier",
"start": 999,
"end": 1015,
"loc": {
"start": {
"line": 38,
"column": 22
},
"end": {
"line": 38,
"column": 38
},
"identifierName": "addEventListener"
},
"name": "addEventListener"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 1016,
"end": 1023,
"loc": {
"start": {
"line": 38,
"column": 39
},
"end": {
"line": 38,
"column": 46
}
},
"extra": {
"rawValue": "click",
"raw": "\"click\""
},
"value": "click"
},
{
"type": "ArrowFunctionExpression",
"start": 1025,
"end": 1241,
"loc": {
"start": {
"line": 38,
"column": 48
},
"end": {
"line": 45,
"column": 9
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 1026,
"end": 1031,
"loc": {
"start": {
"line": 38,
"column": 49
},
"end": {
"line": 38,
"column": 54
},
"identifierName": "event"
},
"name": "event"
}
],
"body": {
"type": "BlockStatement",
"start": 1036,
"end": 1241,
"loc": {
"start": {
"line": 38,
"column": 59
},
"end": {
"line": 45,
"column": 9
}
},
"body": [
{
"type": "IfStatement",
"start": 1050,
"end": 1113,
"loc": {
"start": {
"line": 39,
"column": 12
},
"end": {
"line": 41,
"column": 13
}
},
"test": {
"type": "UnaryExpression",
"start": 1054,
"end": 1072,
"loc": {
"start": {
"line": 39,
"column": 16
},
"end": {
"line": 39,
"column": 34
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "CallExpression",
"start": 1055,
"end": 1072,
"loc": {
"start": {
"line": 39,
"column": 17
},
"end": {
"line": 39,
"column": 34
}
},
"callee": {
"type": "MemberExpression",
"start": 1055,
"end": 1070,
"loc": {
"start": {
"line": 39,
"column": 17
},
"end": {
"line": 39,
"column": 32
}
},
"object": {
"type": "ThisExpression",
"start": 1055,
"end": 1059,
"loc": {
"start": {
"line": 39,
"column": 17
},
"end": {
"line": 39,
"column": 21
}
}
},
"property": {
"type": "Identifier",
"start": 1060,
"end": 1070,
"loc": {
"start": {
"line": 39,
"column": 22
},
"end": {
"line": 39,
"column": 32
},
"identifierName": "getEnabled"
},
"name": "getEnabled"
},
"computed": false
},
"arguments": []
},
"extra": {
"parenthesizedArgument": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 1074,
"end": 1113,
"loc": {
"start": {
"line": 39,
"column": 36
},
"end": {
"line": 41,
"column": 13
}
},
"body": [
{
"type": "ReturnStatement",
"start": 1092,
"end": 1099,
"loc": {
"start": {
"line": 40,
"column": 16
},
"end": {
"line": 40,
"column": 23
}
},
"argument": null
}
],
"directives": []
},
"alternate": null
},
{
"type": "VariableDeclaration",
"start": 1126,
"end": 1158,
"loc": {
"start": {
"line": 42,
"column": 12
},
"end": {
"line": 42,
"column": 44
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1132,
"end": 1157,
"loc": {
"start": {
"line": 42,
"column": 18
},
"end": {
"line": 42,
"column": 43
}
},
"id": {
"type": "Identifier",
"start": 1132,
"end": 1138,
"loc": {
"start": {
"line": 42,
"column": 18
},
"end": {
"line": 42,
"column": 24
},
"identifierName": "active"
},
"name": "active"
},
"init": {
"type": "CallExpression",
"start": 1141,
"end": 1157,
"loc": {
"start": {
"line": 42,
"column": 27
},
"end": {
"line": 42,
"column": 43
}
},
"callee": {
"type": "MemberExpression",
"start": 1141,
"end": 1155,
"loc": {
"start": {
"line": 42,
"column": 27
},
"end": {
"line": 42,
"column": 41
}
},
"object": {
"type": "ThisExpression",
"start": 1141,
"end": 1145,
"loc": {
"start": {
"line": 42,
"column": 27
},
"end": {
"line": 42,
"column": 31
}
}
},
"property": {
"type": "Identifier",
"start": 1146,
"end": 1155,
"loc": {
"start": {
"line": 42,
"column": 32
},
"end": {
"line": 42,
"column": 41
},
"identifierName": "getActive"
},
"name": "getActive"
},
"computed": false
},
"arguments": []
}
}
],
"kind": "const"
},
{
"type": "ExpressionStatement",
"start": 1171,
"end": 1195,
"loc": {
"start": {
"line": 43,
"column": 12
},
"end": {
"line": 43,
"column": 36
}
},
"expression": {
"type": "CallExpression",
"start": 1171,
"end": 1194,
"loc": {
"start": {
"line": 43,
"column": 12
},
"end": {
"line": 43,
"column": 35
}
},
"callee": {
"type": "MemberExpression",
"start": 1171,
"end": 1185,
"loc": {
"start": {
"line": 43,
"column": 12
},
"end": {
"line": 43,
"column": 26
}
},
"object": {
"type": "ThisExpression",
"start": 1171,
"end": 1175,
"loc": {
"start": {
"line": 43,
"column": 12
},
"end": {
"line": 43,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 1176,
"end": 1185,
"loc": {
"start": {
"line": 43,
"column": 17
},
"end": {
"line": 43,
"column": 26
},
"identifierName": "setActive"
},
"name": "setActive"
},
"computed": false
},
"arguments": [
{
"type": "UnaryExpression",
"start": 1186,
"end": 1193,
"loc": {
"start": {
"line": 43,
"column": 27
},
"end": {
"line": 43,
"column": 34
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 1187,
"end": 1193,
"loc": {
"start": {
"line": 43,
"column": 28
},
"end": {
"line": 43,
"column": 34
},
"identifierName": "active"
},
"name": "active"
},
"extra": {
"parenthesizedArgument": false
}
}
]
}
},
{
"type": "ExpressionStatement",
"start": 1208,
"end": 1231,
"loc": {
"start": {
"line": 44,
"column": 12
},
"end": {
"line": 44,
"column": 35
}
},
"expression": {
"type": "CallExpression",
"start": 1208,
"end": 1230,
"loc": {
"start": {
"line": 44,
"column": 12
},
"end": {
"line": 44,
"column": 34
}
},
"callee": {
"type": "MemberExpression",
"start": 1208,
"end": 1228,
"loc": {
"start": {
"line": 44,
"column": 12
},
"end": {
"line": 44,
"column": 32
}
},
"object": {
"type": "Identifier",
"start": 1208,
"end": 1213,
"loc": {
"start": {
"line": 44,
"column": 12
},
"end": {
"line": 44,
"column": 17
},
"identifierName": "event"
},
"name": "event"
},
"property": {
"type": "Identifier",
"start": 1214,
"end": 1228,
"loc": {
"start": {
"line": 44,
"column": 18
},
"end": {
"line": 44,
"column": 32
},
"identifierName": "preventDefault"
},
"name": "preventDefault"
},
"computed": false
},
"arguments": []
}
}
],
"directives": []
}
}
]
}
},
{
"type": "ExpressionStatement",
"start": 1253,
"end": 1333,
"loc": {
"start": {
"line": 47,
"column": 8
},
"end": {
"line": 49,
"column": 11
}
},
"expression": {
"type": "CallExpression",
"start": 1253,
"end": 1332,
"loc": {
"start": {
"line": 47,
"column": 8
},
"end": {
"line": 49,
"column": 10
}
},
"callee": {
"type": "MemberExpression",
"start": 1253,
"end": 1269,
"loc": {
"start": {
"line": 47,
"column": 8
},
"end": {
"line": 47,
"column": 24
}
},
"object": {
"type": "MemberExpression",
"start": 1253,
"end": 1266,
"loc": {
"start": {
"line": 47,
"column": 8
},
"end": {
"line": 47,
"column": 21
}
},
"object": {
"type": "ThisExpression",
"start": 1253,
"end": 1257,
"loc": {
"start": {
"line": 47,
"column": 8
},
"end": {
"line": 47,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 1258,
"end": 1266,
"loc": {
"start": {
"line": 47,
"column": 13
},
"end": {
"line": 47,
"column": 21
},
"identifierName": "viewerUI"
},
"name": "viewerUI"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1267,
"end": 1269,
"loc": {
"start": {
"line": 47,
"column": 22
},
"end": {
"line": 47,
"column": 24
},
"identifierName": "on"
},
"name": "on"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 1270,
"end": 1277,
"loc": {
"start": {
"line": 47,
"column": 25
},
"end": {
"line": 47,
"column": 32
}
},
"extra": {
"rawValue": "reset",
"raw": "\"reset\""
},
"value": "reset"
},
{
"type": "ArrowFunctionExpression",
"start": 1279,
"end": 1331,
"loc": {
"start": {
"line": 47,
"column": 34
},
"end": {
"line": 49,
"column": 9
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 1285,
"end": 1331,
"loc": {
"start": {
"line": 47,
"column": 40
},
"end": {
"line": 49,
"column": 9
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 1299,
"end": 1321,
"loc": {
"start": {
"line": 48,
"column": 12
},
"end": {
"line": 48,
"column": 34
}
},
"expression": {
"type": "CallExpression",
"start": 1299,
"end": 1320,
"loc": {
"start": {
"line": 48,
"column": 12
},
"end": {
"line": 48,
"column": 33
}
},
"callee": {
"type": "MemberExpression",
"start": 1299,
"end": 1313,
"loc": {
"start": {
"line": 48,
"column": 12
},
"end": {
"line": 48,
"column": 26
}
},
"object": {
"type": "ThisExpression",
"start": 1299,
"end": 1303,
"loc": {
"start": {
"line": 48,
"column": 12
},
"end": {
"line": 48,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 1304,
"end": 1313,
"loc": {
"start": {
"line": 48,
"column": 17
},
"end": {
"line": 48,
"column": 26
},
"identifierName": "setActive"
},
"name": "setActive"
},
"computed": false
},
"arguments": [
{
"type": "BooleanLiteral",
"start": 1314,
"end": 1319,
"loc": {
"start": {
"line": 48,
"column": 27
},
"end": {
"line": 48,
"column": 32
}
},
"value": false
}
]
}
}
],
"directives": []
}
}
]
}
},
{
"type": "ExpressionStatement",
"start": 1343,
"end": 1364,
"loc": {
"start": {
"line": 51,
"column": 8
},
"end": {
"line": 51,
"column": 29
}
},
"expression": {
"type": "CallExpression",
"start": 1343,
"end": 1363,
"loc": {
"start": {
"line": 51,
"column": 8
},
"end": {
"line": 51,
"column": 28
}
},
"callee": {
"type": "MemberExpression",
"start": 1343,
"end": 1361,
"loc": {
"start": {
"line": 51,
"column": 8
},
"end": {
"line": 51,
"column": 26
}
},
"object": {
"type": "ThisExpression",
"start": 1343,
"end": 1347,
"loc": {
"start": {
"line": 51,
"column": 8
},
"end": {
"line": 51,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 1348,
"end": 1361,
"loc": {
"start": {
"line": 51,
"column": 13
},
"end": {
"line": 51,
"column": 26
},
"identifierName": "_initHideMode"
},
"name": "_initHideMode"
},
"computed": false
},
"arguments": []
}
}
],
"directives": []
}
},
{
"type": "ClassMethod",
"start": 1376,
"end": 2783,
"loc": {
"start": {
"line": 54,
"column": 4
},
"end": {
"line": 95,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1376,
"end": 1389,
"loc": {
"start": {
"line": 54,
"column": 4
},
"end": {
"line": 54,
"column": 17
},
"identifierName": "_initHideMode"
},
"name": "_initHideMode"
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 1392,
"end": 2783,
"loc": {
"start": {
"line": 54,
"column": 20
},
"end": {
"line": 95,
"column": 5
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 1402,
"end": 1420,
"loc": {
"start": {
"line": 55,
"column": 8
},
"end": {
"line": 55,
"column": 26
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1406,
"end": 1419,
"loc": {
"start": {
"line": 55,
"column": 12
},
"end": {
"line": 55,
"column": 25
}
},
"id": {
"type": "Identifier",
"start": 1406,
"end": 1412,
"loc": {
"start": {
"line": 55,
"column": 12
},
"end": {
"line": 55,
"column": 18
},
"identifierName": "entity"
},
"name": "entity"
},
"init": {
"type": "NullLiteral",
"start": 1415,
"end": 1419,
"loc": {
"start": {
"line": 55,
"column": 21
},
"end": {
"line": 55,
"column": 25
}
}
}
}
],
"kind": "var"
},
{
"type": "ExpressionStatement",
"start": 1429,
"end": 1785,
"loc": {
"start": {
"line": 56,
"column": 8
},
"end": {
"line": 66,
"column": 11
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1429,
"end": 1784,
"loc": {
"start": {
"line": 56,
"column": 8
},
"end": {
"line": 66,
"column": 10
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 1429,
"end": 1442,
"loc": {
"start": {
"line": 56,
"column": 8
},
"end": {
"line": 56,
"column": 21
}
},
"object": {
"type": "ThisExpression",
"start": 1429,
"end": 1433,
"loc": {
"start": {
"line": 56,
"column": 8
},
"end": {
"line": 56,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 1434,
"end": 1442,
"loc": {
"start": {
"line": 56,
"column": 13
},
"end": {
"line": 56,
"column": 21
},
"identifierName": "_onHover"
},
"name": "_onHover"
},
"computed": false
},
"right": {
"type": "CallExpression",
"start": 1445,
"end": 1784,
"loc": {
"start": {
"line": 56,
"column": 24
},
"end": {
"line": 66,
"column": 10
}
},
"callee": {
"type": "MemberExpression",
"start": 1445,
"end": 1473,
"loc": {
"start": {
"line": 56,
"column": 24
},
"end": {
"line": 56,
"column": 52
}
},
"object": {
"type": "MemberExpression",
"start": 1445,
"end": 1470,
"loc": {
"start": {
"line": 56,
"column": 24
},
"end": {
"line": 56,
"column": 49
}
},
"object": {
"type": "MemberExpression",
"start": 1445,
"end": 1456,
"loc": {
"start": {
"line": 56,
"column": 24
},
"end": {
"line": 56,
"column": 35
}
},
"object": {
"type": "ThisExpression",
"start": 1445,
"end": 1449,
"loc": {
"start": {
"line": 56,
"column": 24
},
"end": {
"line": 56,
"column": 28
}
}
},
"property": {
"type": "Identifier",
"start": 1450,
"end": 1456,
"loc": {
"start": {
"line": 56,
"column": 29
},
"end": {
"line": 56,
"column": 35
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1457,
"end": 1470,
"loc": {
"start": {
"line": 56,
"column": 36
},
"end": {
"line": 56,
"column": 49
},
"identifierName": "cameraControl"
},
"name": "cameraControl"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1471,
"end": 1473,
"loc": {
"start": {
"line": 56,
"column": 50
},
"end": {
"line": 56,
"column": 52
},
"identifierName": "on"
},
"name": "on"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 1474,
"end": 1481,
"loc": {
"start": {
"line": 56,
"column": 53
},
"end": {
"line": 56,
"column": 60
}
},
"extra": {
"rawValue": "hover",
"raw": "\"hover\""
},
"value": "hover"
},
{
"type": "ArrowFunctionExpression",
"start": 1483,
"end": 1783,
"loc": {
"start": {
"line": 56,
"column": 62
},
"end": {
"line": 66,
"column": 9
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 1484,
"end": 1485,
"loc": {
"start": {
"line": 56,
"column": 63
},
"end": {
"line": 56,
"column": 64
},
"identifierName": "e"
},
"name": "e"
}
],
"body": {
"type": "BlockStatement",
"start": 1490,
"end": 1783,
"loc": {
"start": {
"line": 56,
"column": 69
},
"end": {
"line": 66,
"column": 9
}
},
"body": [
{
"type": "IfStatement",
"start": 1504,
"end": 1588,
"loc": {
"start": {
"line": 57,
"column": 12
},
"end": {
"line": 59,
"column": 13
}
},
"test": {
"type": "LogicalExpression",
"start": 1508,
"end": 1547,
"loc": {
"start": {
"line": 57,
"column": 16
},
"end": {
"line": 57,
"column": 55
}
},
"left": {
"type": "UnaryExpression",
"start": 1508,
"end": 1525,
"loc": {
"start": {
"line": 57,
"column": 16
},
"end": {
"line": 57,
"column": 33
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "CallExpression",
"start": 1509,
"end": 1525,
"loc": {
"start": {
"line": 57,
"column": 17
},
"end": {
"line": 57,
"column": 33
}
},
"callee": {
"type": "MemberExpression",
"start": 1509,
"end": 1523,
"loc": {
"start": {
"line": 57,
"column": 17
},
"end": {
"line": 57,
"column": 31
}
},
"object": {
"type": "ThisExpression",
"start": 1509,
"end": 1513,
"loc": {
"start": {
"line": 57,
"column": 17
},
"end": {
"line": 57,
"column": 21
}
}
},
"property": {
"type": "Identifier",
"start": 1514,
"end": 1523,
"loc": {
"start": {
"line": 57,
"column": 22
},
"end": {
"line": 57,
"column": 31
},
"identifierName": "getActive"
},
"name": "getActive"
},
"computed": false
},
"arguments": []
},
"extra": {
"parenthesizedArgument": false
}
},
"operator": "||",
"right": {
"type": "UnaryExpression",
"start": 1529,
"end": 1547,
"loc": {
"start": {
"line": 57,
"column": 37
},
"end": {
"line": 57,
"column": 55
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "CallExpression",
"start": 1530,
"end": 1547,
"loc": {
"start": {
"line": 57,
"column": 38
},
"end": {
"line": 57,
"column": 55
}
},
"callee": {
"type": "MemberExpression",
"start": 1530,
"end": 1545,
"loc": {
"start": {
"line": 57,
"column": 38
},
"end": {
"line": 57,
"column": 53
}
},
"object": {
"type": "ThisExpression",
"start": 1530,
"end": 1534,
"loc": {
"start": {
"line": 57,
"column": 38
},
"end": {
"line": 57,
"column": 42
}
}
},
"property": {
"type": "Identifier",
"start": 1535,
"end": 1545,
"loc": {
"start": {
"line": 57,
"column": 43
},
"end": {
"line": 57,
"column": 53
},
"identifierName": "getEnabled"
},
"name": "getEnabled"
},
"computed": false
},
"arguments": []
},
"extra": {
"parenthesizedArgument": false
}
}
},
"consequent": {
"type": "BlockStatement",
"start": 1549,
"end": 1588,
"loc": {
"start": {
"line": 57,
"column": 57
},
"end": {
"line": 59,
"column": 13
}
},
"body": [
{
"type": "ReturnStatement",
"start": 1567,
"end": 1574,
"loc": {
"start": {
"line": 58,
"column": 16
},
"end": {
"line": 58,
"column": 23
}
},
"argument": null
}
],
"directives": []
},
"alternate": null
},
{
"type": "IfStatement",
"start": 1601,
"end": 1703,
"loc": {
"start": {
"line": 60,
"column": 12
},
"end": {
"line": 63,
"column": 13
}
},
"test": {
"type": "Identifier",
"start": 1605,
"end": 1611,
"loc": {
"start": {
"line": 60,
"column": 16
},
"end": {
"line": 60,
"column": 22
},
"identifierName": "entity"
},
"name": "entity"
},
"consequent": {
"type": "BlockStatement",
"start": 1613,
"end": 1703,
"loc": {
"start": {
"line": 60,
"column": 24
},
"end": {
"line": 63,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 1631,
"end": 1658,
"loc": {
"start": {
"line": 61,
"column": 16
},
"end": {
"line": 61,
"column": 43
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1631,
"end": 1657,
"loc": {
"start": {
"line": 61,
"column": 16
},
"end": {
"line": 61,
"column": 42
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 1631,
"end": 1649,
"loc": {
"start": {
"line": 61,
"column": 16
},
"end": {
"line": 61,
"column": 34
}
},
"object": {
"type": "Identifier",
"start": 1631,
"end": 1637,
"loc": {
"start": {
"line": 61,
"column": 16
},
"end": {
"line": 61,
"column": 22
},
"identifierName": "entity"
},
"name": "entity"
},
"property": {
"type": "Identifier",
"start": 1638,
"end": 1649,
"loc": {
"start": {
"line": 61,
"column": 23
},
"end": {
"line": 61,
"column": 34
},
"identifierName": "highlighted"
},
"name": "highlighted"
},
"computed": false
},
"right": {
"type": "BooleanLiteral",
"start": 1652,
"end": 1657,
"loc": {
"start": {
"line": 61,
"column": 37
},
"end": {
"line": 61,
"column": 42
}
},
"value": false
}
}
},
{
"type": "ExpressionStatement",
"start": 1675,
"end": 1689,
"loc": {
"start": {
"line": 62,
"column": 16
},
"end": {
"line": 62,
"column": 30
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1675,
"end": 1688,
"loc": {
"start": {
"line": 62,
"column": 16
},
"end": {
"line": 62,
"column": 29
}
},
"operator": "=",
"left": {
"type": "Identifier",
"start": 1675,
"end": 1681,
"loc": {
"start": {
"line": 62,
"column": 16
},
"end": {
"line": 62,
"column": 22
},
"identifierName": "entity"
},
"name": "entity"
},
"right": {
"type": "NullLiteral",
"start": 1684,
"end": 1688,
"loc": {
"start": {
"line": 62,
"column": 25
},
"end": {
"line": 62,
"column": 29
}
}
}
}
}
],
"directives": []
},
"alternate": null
},
{
"type": "ExpressionStatement",
"start": 1716,
"end": 1734,
"loc": {
"start": {
"line": 64,
"column": 12
},
"end": {
"line": 64,
"column": 30
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1716,
"end": 1733,
"loc": {
"start": {
"line": 64,
"column": 12
},
"end": {
"line": 64,
"column": 29
}
},
"operator": "=",
"left": {
"type": "Identifier",
"start": 1716,
"end": 1722,
"loc": {
"start": {
"line": 64,
"column": 12
},
"end": {
"line": 64,
"column": 18
},
"identifierName": "entity"
},
"name": "entity"
},
"right": {
"type": "MemberExpression",
"start": 1725,
"end": 1733,
"loc": {
"start": {
"line": 64,
"column": 21
},
"end": {
"line": 64,
"column": 29
}
},
"object": {
"type": "Identifier",
"start": 1725,
"end": 1726,
"loc": {
"start": {
"line": 64,
"column": 21
},
"end": {
"line": 64,
"column": 22
},
"identifierName": "e"
},
"name": "e"
},
"property": {
"type": "Identifier",
"start": 1727,
"end": 1733,
"loc": {
"start": {
"line": 64,
"column": 23
},
"end": {
"line": 64,
"column": 29
},
"identifierName": "entity"
},
"name": "entity"
},
"computed": false
}
}
},
{
"type": "ExpressionStatement",
"start": 1747,
"end": 1773,
"loc": {
"start": {
"line": 65,
"column": 12
},
"end": {
"line": 65,
"column": 38
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1747,
"end": 1772,
"loc": {
"start": {
"line": 65,
"column": 12
},
"end": {
"line": 65,
"column": 37
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 1747,
"end": 1765,
"loc": {
"start": {
"line": 65,
"column": 12
},
"end": {
"line": 65,
"column": 30
}
},
"object": {
"type": "Identifier",
"start": 1747,
"end": 1753,
"loc": {
"start": {
"line": 65,
"column": 12
},
"end": {
"line": 65,
"column": 18
},
"identifierName": "entity"
},
"name": "entity"
},
"property": {
"type": "Identifier",
"start": 1754,
"end": 1765,
"loc": {
"start": {
"line": 65,
"column": 19
},
"end": {
"line": 65,
"column": 30
},
"identifierName": "highlighted"
},
"name": "highlighted"
},
"computed": false
},
"right": {
"type": "BooleanLiteral",
"start": 1768,
"end": 1772,
"loc": {
"start": {
"line": 65,
"column": 33
},
"end": {
"line": 65,
"column": 37
}
},
"value": true
}
}
}
],
"directives": []
}
}
]
}
}
},
{
"type": "ExpressionStatement",
"start": 1794,
"end": 2086,
"loc": {
"start": {
"line": 67,
"column": 8
},
"end": {
"line": 75,
"column": 11
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1794,
"end": 2085,
"loc": {
"start": {
"line": 67,
"column": 8
},
"end": {
"line": 75,
"column": 10
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 1794,
"end": 1810,
"loc": {
"start": {
"line": 67,
"column": 8
},
"end": {
"line": 67,
"column": 24
}
},
"object": {
"type": "ThisExpression",
"start": 1794,
"end": 1798,
"loc": {
"start": {
"line": 67,
"column": 8
},
"end": {
"line": 67,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 1799,
"end": 1810,
"loc": {
"start": {
"line": 67,
"column": 13
},
"end": {
"line": 67,
"column": 24
},
"identifierName": "_onHoverOff"
},
"name": "_onHoverOff"
},
"computed": false
},
"right": {
"type": "CallExpression",
"start": 1813,
"end": 2085,
"loc": {
"start": {
"line": 67,
"column": 27
},
"end": {
"line": 75,
"column": 10
}
},
"callee": {
"type": "MemberExpression",
"start": 1813,
"end": 1841,
"loc": {
"start": {
"line": 67,
"column": 27
},
"end": {
"line": 67,
"column": 55
}
},
"object": {
"type": "MemberExpression",
"start": 1813,
"end": 1838,
"loc": {
"start": {
"line": 67,
"column": 27
},
"end": {
"line": 67,
"column": 52
}
},
"object": {
"type": "MemberExpression",
"start": 1813,
"end": 1824,
"loc": {
"start": {
"line": 67,
"column": 27
},
"end": {
"line": 67,
"column": 38
}
},
"object": {
"type": "ThisExpression",
"start": 1813,
"end": 1817,
"loc": {
"start": {
"line": 67,
"column": 27
},
"end": {
"line": 67,
"column": 31
}
}
},
"property": {
"type": "Identifier",
"start": 1818,
"end": 1824,
"loc": {
"start": {
"line": 67,
"column": 32
},
"end": {
"line": 67,
"column": 38
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1825,
"end": 1838,
"loc": {
"start": {
"line": 67,
"column": 39
},
"end": {
"line": 67,
"column": 52
},
"identifierName": "cameraControl"
},
"name": "cameraControl"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1839,
"end": 1841,
"loc": {
"start": {
"line": 67,
"column": 53
},
"end": {
"line": 67,
"column": 55
},
"identifierName": "on"
},
"name": "on"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 1842,
"end": 1852,
"loc": {
"start": {
"line": 67,
"column": 56
},
"end": {
"line": 67,
"column": 66
}
},
"extra": {
"rawValue": "hoverOff",
"raw": "\"hoverOff\""
},
"value": "hoverOff"
},
{
"type": "ArrowFunctionExpression",
"start": 1854,
"end": 2084,
"loc": {
"start": {
"line": 67,
"column": 68
},
"end": {
"line": 75,
"column": 9
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 1855,
"end": 1856,
"loc": {
"start": {
"line": 67,
"column": 69
},
"end": {
"line": 67,
"column": 70
},
"identifierName": "e"
},
"name": "e"
}
],
"body": {
"type": "BlockStatement",
"start": 1861,
"end": 2084,
"loc": {
"start": {
"line": 67,
"column": 75
},
"end": {
"line": 75,
"column": 9
}
},
"body": [
{
"type": "IfStatement",
"start": 1875,
"end": 1959,
"loc": {
"start": {
"line": 68,
"column": 12
},
"end": {
"line": 70,
"column": 13
}
},
"test": {
"type": "LogicalExpression",
"start": 1879,
"end": 1918,
"loc": {
"start": {
"line": 68,
"column": 16
},
"end": {
"line": 68,
"column": 55
}
},
"left": {
"type": "UnaryExpression",
"start": 1879,
"end": 1896,
"loc": {
"start": {
"line": 68,
"column": 16
},
"end": {
"line": 68,
"column": 33
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "CallExpression",
"start": 1880,
"end": 1896,
"loc": {
"start": {
"line": 68,
"column": 17
},
"end": {
"line": 68,
"column": 33
}
},
"callee": {
"type": "MemberExpression",
"start": 1880,
"end": 1894,
"loc": {
"start": {
"line": 68,
"column": 17
},
"end": {
"line": 68,
"column": 31
}
},
"object": {
"type": "ThisExpression",
"start": 1880,
"end": 1884,
"loc": {
"start": {
"line": 68,
"column": 17
},
"end": {
"line": 68,
"column": 21
}
}
},
"property": {
"type": "Identifier",
"start": 1885,
"end": 1894,
"loc": {
"start": {
"line": 68,
"column": 22
},
"end": {
"line": 68,
"column": 31
},
"identifierName": "getActive"
},
"name": "getActive"
},
"computed": false
},
"arguments": []
},
"extra": {
"parenthesizedArgument": false
}
},
"operator": "||",
"right": {
"type": "UnaryExpression",
"start": 1900,
"end": 1918,
"loc": {
"start": {
"line": 68,
"column": 37
},
"end": {
"line": 68,
"column": 55
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "CallExpression",
"start": 1901,
"end": 1918,
"loc": {
"start": {
"line": 68,
"column": 38
},
"end": {
"line": 68,
"column": 55
}
},
"callee": {
"type": "MemberExpression",
"start": 1901,
"end": 1916,
"loc": {
"start": {
"line": 68,
"column": 38
},
"end": {
"line": 68,
"column": 53
}
},
"object": {
"type": "ThisExpression",
"start": 1901,
"end": 1905,
"loc": {
"start": {
"line": 68,
"column": 38
},
"end": {
"line": 68,
"column": 42
}
}
},
"property": {
"type": "Identifier",
"start": 1906,
"end": 1916,
"loc": {
"start": {
"line": 68,
"column": 43
},
"end": {
"line": 68,
"column": 53
},
"identifierName": "getEnabled"
},
"name": "getEnabled"
},
"computed": false
},
"arguments": []
},
"extra": {
"parenthesizedArgument": false
}
}
},
"consequent": {
"type": "BlockStatement",
"start": 1920,
"end": 1959,
"loc": {
"start": {
"line": 68,
"column": 57
},
"end": {
"line": 70,
"column": 13
}
},
"body": [
{
"type": "ReturnStatement",
"start": 1938,
"end": 1945,
"loc": {
"start": {
"line": 69,
"column": 16
},
"end": {
"line": 69,
"column": 23
}
},
"argument": null
}
],
"directives": []
},
"alternate": null
},
{
"type": "IfStatement",
"start": 1972,
"end": 2074,
"loc": {
"start": {
"line": 71,
"column": 12
},
"end": {
"line": 74,
"column": 13
}
},
"test": {
"type": "Identifier",
"start": 1976,
"end": 1982,
"loc": {
"start": {
"line": 71,
"column": 16
},
"end": {
"line": 71,
"column": 22
},
"identifierName": "entity"
},
"name": "entity"
},
"consequent": {
"type": "BlockStatement",
"start": 1984,
"end": 2074,
"loc": {
"start": {
"line": 71,
"column": 24
},
"end": {
"line": 74,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 2002,
"end": 2029,
"loc": {
"start": {
"line": 72,
"column": 16
},
"end": {
"line": 72,
"column": 43
}
},
"expression": {
"type": "AssignmentExpression",
"start": 2002,
"end": 2028,
"loc": {
"start": {
"line": 72,
"column": 16
},
"end": {
"line": 72,
"column": 42
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 2002,
"end": 2020,
"loc": {
"start": {
"line": 72,
"column": 16
},
"end": {
"line": 72,
"column": 34
}
},
"object": {
"type": "Identifier",
"start": 2002,
"end": 2008,
"loc": {
"start": {
"line": 72,
"column": 16
},
"end": {
"line": 72,
"column": 22
},
"identifierName": "entity"
},
"name": "entity"
},
"property": {
"type": "Identifier",
"start": 2009,
"end": 2020,
"loc": {
"start": {
"line": 72,
"column": 23
},
"end": {
"line": 72,
"column": 34
},
"identifierName": "highlighted"
},
"name": "highlighted"
},
"computed": false
},
"right": {
"type": "BooleanLiteral",
"start": 2023,
"end": 2028,
"loc": {
"start": {
"line": 72,
"column": 37
},
"end": {
"line": 72,
"column": 42
}
},
"value": false
}
}
},
{
"type": "ExpressionStatement",
"start": 2046,
"end": 2060,
"loc": {
"start": {
"line": 73,
"column": 16
},
"end": {
"line": 73,
"column": 30
}
},
"expression": {
"type": "AssignmentExpression",
"start": 2046,
"end": 2059,
"loc": {
"start": {
"line": 73,
"column": 16
},
"end": {
"line": 73,
"column": 29
}
},
"operator": "=",
"left": {
"type": "Identifier",
"start": 2046,
"end": 2052,
"loc": {
"start": {
"line": 73,
"column": 16
},
"end": {
"line": 73,
"column": 22
},
"identifierName": "entity"
},
"name": "entity"
},
"right": {
"type": "NullLiteral",
"start": 2055,
"end": 2059,
"loc": {
"start": {
"line": 73,
"column": 25
},
"end": {
"line": 73,
"column": 29
}
}
}
}
}
],
"directives": []
},
"alternate": null
}
],
"directives": []
}
}
]
}
}
},
{
"type": "VariableDeclaration",
"start": 2095,
"end": 2126,
"loc": {
"start": {
"line": 76,
"column": 8
},
"end": {
"line": 76,
"column": 39
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 2101,
"end": 2125,
"loc": {
"start": {
"line": 76,
"column": 14
},
"end": {
"line": 76,
"column": 38
}
},
"id": {
"type": "Identifier",
"start": 2101,
"end": 2111,
"loc": {
"start": {
"line": 76,
"column": 14
},
"end": {
"line": 76,
"column": 24
},
"identifierName": "lastCoords"
},
"name": "lastCoords"
},
"init": {
"type": "CallExpression",
"start": 2114,
"end": 2125,
"loc": {
"start": {
"line": 76,
"column": 27
},
"end": {
"line": 76,
"column": 38
}
},
"callee": {
"type": "MemberExpression",
"start": 2114,
"end": 2123,
"loc": {
"start": {
"line": 76,
"column": 27
},
"end": {
"line": 76,
"column": 36
}
},
"object": {
"type": "Identifier",
"start": 2114,
"end": 2118,
"loc": {
"start": {
"line": 76,
"column": 27
},
"end": {
"line": 76,
"column": 31
},
"identifierName": "math"
},
"name": "math"
},
"property": {
"type": "Identifier",
"start": 2119,
"end": 2123,
"loc": {
"start": {
"line": 76,
"column": 32
},
"end": {
"line": 76,
"column": 36
},
"identifierName": "vec2"
},
"name": "vec2"
},
"computed": false
},
"arguments": []
}
}
],
"kind": "const"
},
{
"type": "ExpressionStatement",
"start": 2135,
"end": 2298,
"loc": {
"start": {
"line": 77,
"column": 8
},
"end": {
"line": 80,
"column": 11
}
},
"expression": {
"type": "AssignmentExpression",
"start": 2135,
"end": 2297,
"loc": {
"start": {
"line": 77,
"column": 8
},
"end": {
"line": 80,
"column": 10
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 2135,
"end": 2152,
"loc": {
"start": {
"line": 77,
"column": 8
},
"end": {
"line": 77,
"column": 25
}
},
"object": {
"type": "ThisExpression",
"start": 2135,
"end": 2139,
"loc": {
"start": {
"line": 77,
"column": 8
},
"end": {
"line": 77,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 2140,
"end": 2152,
"loc": {
"start": {
"line": 77,
"column": 13
},
"end": {
"line": 77,
"column": 25
},
"identifierName": "_onMousedown"
},
"name": "_onMousedown"
},
"computed": false
},
"right": {
"type": "CallExpression",
"start": 2155,
"end": 2297,
"loc": {
"start": {
"line": 77,
"column": 28
},
"end": {
"line": 80,
"column": 10
}
},
"callee": {
"type": "MemberExpression",
"start": 2155,
"end": 2181,
"loc": {
"start": {
"line": 77,
"column": 28
},
"end": {
"line": 77,
"column": 54
}
},
"object": {
"type": "MemberExpression",
"start": 2155,
"end": 2178,
"loc": {
"start": {
"line": 77,
"column": 28
},
"end": {
"line": 77,
"column": 51
}
},
"object": {
"type": "MemberExpression",
"start": 2155,
"end": 2172,
"loc": {
"start": {
"line": 77,
"column": 28
},
"end": {
"line": 77,
"column": 45
}
},
"object": {
"type": "MemberExpression",
"start": 2155,
"end": 2166,
"loc": {
"start": {
"line": 77,
"column": 28
},
"end": {
"line": 77,
"column": 39
}
},
"object": {
"type": "ThisExpression",
"start": 2155,
"end": 2159,
"loc": {
"start": {
"line": 77,
"column": 28
},
"end": {
"line": 77,
"column": 32
}
}
},
"property": {
"type": "Identifier",
"start": 2160,
"end": 2166,
"loc": {
"start": {
"line": 77,
"column": 33
},
"end": {
"line": 77,
"column": 39
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2167,
"end": 2172,
"loc": {
"start": {
"line": 77,
"column": 40
},
"end": {
"line": 77,
"column": 45
},
"identifierName": "scene"
},
"name": "scene"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2173,
"end": 2178,
"loc": {
"start": {
"line": 77,
"column": 46
},
"end": {
"line": 77,
"column": 51
},
"identifierName": "input"
},
"name": "input"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2179,
"end": 2181,
"loc": {
"start": {
"line": 77,
"column": 52
},
"end": {
"line": 77,
"column": 54
},
"identifierName": "on"
},
"name": "on"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 2182,
"end": 2193,
"loc": {
"start": {
"line": 77,
"column": 55
},
"end": {
"line": 77,
"column": 66
}
},
"extra": {
"rawValue": "mousedown",
"raw": "\"mousedown\""
},
"value": "mousedown"
},
{
"type": "ArrowFunctionExpression",
"start": 2195,
"end": 2296,
"loc": {
"start": {
"line": 77,
"column": 68
},
"end": {
"line": 80,
"column": 9
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 2196,
"end": 2202,
"loc": {
"start": {
"line": 77,
"column": 69
},
"end": {
"line": 77,
"column": 75
},
"identifierName": "coords"
},
"name": "coords"
}
],
"body": {
"type": "BlockStatement",
"start": 2207,
"end": 2296,
"loc": {
"start": {
"line": 77,
"column": 80
},
"end": {
"line": 80,
"column": 9
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 2221,
"end": 2247,
"loc": {
"start": {
"line": 78,
"column": 12
},
"end": {
"line": 78,
"column": 38
}
},
"expression": {
"type": "AssignmentExpression",
"start": 2221,
"end": 2246,
"loc": {
"start": {
"line": 78,
"column": 12
},
"end": {
"line": 78,
"column": 37
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 2221,
"end": 2234,
"loc": {
"start": {
"line": 78,
"column": 12
},
"end": {
"line": 78,
"column": 25
}
},
"object": {
"type": "Identifier",
"start": 2221,
"end": 2231,
"loc": {
"start": {
"line": 78,
"column": 12
},
"end": {
"line": 78,
"column": 22
},
"identifierName": "lastCoords"
},
"name": "lastCoords"
},
"property": {
"type": "NumericLiteral",
"start": 2232,
"end": 2233,
"loc": {
"start": {
"line": 78,
"column": 23
},
"end": {
"line": 78,
"column": 24
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
},
"computed": true
},
"right": {
"type": "MemberExpression",
"start": 2237,
"end": 2246,
"loc": {
"start": {
"line": 78,
"column": 28
},
"end": {
"line": 78,
"column": 37
}
},
"object": {
"type": "Identifier",
"start": 2237,
"end": 2243,
"loc": {
"start": {
"line": 78,
"column": 28
},
"end": {
"line": 78,
"column": 34
},
"identifierName": "coords"
},
"name": "coords"
},
"property": {
"type": "NumericLiteral",
"start": 2244,
"end": 2245,
"loc": {
"start": {
"line": 78,
"column": 35
},
"end": {
"line": 78,
"column": 36
}
},
"extra": {
"rawValue": 0,
"raw": "0"
},
"value": 0
},
"computed": true
}
}
},
{
"type": "ExpressionStatement",
"start": 2260,
"end": 2286,
"loc": {
"start": {
"line": 79,
"column": 12
},
"end": {
"line": 79,
"column": 38
}
},
"expression": {
"type": "AssignmentExpression",
"start": 2260,
"end": 2285,
"loc": {
"start": {
"line": 79,
"column": 12
},
"end": {
"line": 79,
"column": 37
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 2260,
"end": 2273,
"loc": {
"start": {
"line": 79,
"column": 12
},
"end": {
"line": 79,
"column": 25
}
},
"object": {
"type": "Identifier",
"start": 2260,
"end": 2270,
"loc": {
"start": {
"line": 79,
"column": 12
},
"end": {
"line": 79,
"column": 22
},
"identifierName": "lastCoords"
},
"name": "lastCoords"
},
"property": {
"type": "NumericLiteral",
"start": 2271,
"end": 2272,
"loc": {
"start": {
"line": 79,
"column": 23
},
"end": {
"line": 79,
"column": 24
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
},
"computed": true
},
"right": {
"type": "MemberExpression",
"start": 2276,
"end": 2285,
"loc": {
"start": {
"line": 79,
"column": 28
},
"end": {
"line": 79,
"column": 37
}
},
"object": {
"type": "Identifier",
"start": 2276,
"end": 2282,
"loc": {
"start": {
"line": 79,
"column": 28
},
"end": {
"line": 79,
"column": 34
},
"identifierName": "coords"
},
"name": "coords"
},
"property": {
"type": "NumericLiteral",
"start": 2283,
"end": 2284,
"loc": {
"start": {
"line": 79,
"column": 35
},
"end": {
"line": 79,
"column": 36
}
},
"extra": {
"rawValue": 1,
"raw": "1"
},
"value": 1
},
"computed": true
}
}
}
],
"directives": []
}
}
]
}
}
},
{
"type": "ExpressionStatement",
"start": 2307,
"end": 2777,
"loc": {
"start": {
"line": 81,
"column": 8
},
"end": {
"line": 94,
"column": 11
}
},
"expression": {
"type": "AssignmentExpression",
"start": 2307,
"end": 2776,
"loc": {
"start": {
"line": 81,
"column": 8
},
"end": {
"line": 94,
"column": 10
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 2307,
"end": 2322,
"loc": {
"start": {
"line": 81,
"column": 8
},
"end": {
"line": 81,
"column": 23
}
},
"object": {
"type": "ThisExpression",
"start": 2307,
"end": 2311,
"loc": {
"start": {
"line": 81,
"column": 8
},
"end": {
"line": 81,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 2312,
"end": 2322,
"loc": {
"start": {
"line": 81,
"column": 13
},
"end": {
"line": 81,
"column": 23
},
"identifierName": "_onMouseup"
},
"name": "_onMouseup"
},
"computed": false
},
"right": {
"type": "CallExpression",
"start": 2325,
"end": 2776,
"loc": {
"start": {
"line": 81,
"column": 26
},
"end": {
"line": 94,
"column": 10
}
},
"callee": {
"type": "MemberExpression",
"start": 2325,
"end": 2351,
"loc": {
"start": {
"line": 81,
"column": 26
},
"end": {
"line": 81,
"column": 52
}
},
"object": {
"type": "MemberExpression",
"start": 2325,
"end": 2348,
"loc": {
"start": {
"line": 81,
"column": 26
},
"end": {
"line": 81,
"column": 49
}
},
"object": {
"type": "MemberExpression",
"start": 2325,
"end": 2342,
"loc": {
"start": {
"line": 81,
"column": 26
},
"end": {
"line": 81,
"column": 43
}
},
"object": {
"type": "MemberExpression",
"start": 2325,
"end": 2336,
"loc": {
"start": {
"line": 81,
"column": 26
},
"end": {
"line": 81,
"column": 37
}
},
"object": {
"type": "ThisExpression",
"start": 2325,
"end": 2329,
"loc": {
"start": {
"line": 81,
"column": 26
},
"end": {
"line": 81,
"column": 30
}
}
},
"property": {
"type": "Identifier",
"start": 2330,
"end": 2336,
"loc": {
"start": {
"line": 81,
"column": 31
},
"end": {
"line": 81,
"column": 37
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2337,
"end": 2342,
"loc": {
"start": {
"line": 81,
"column": 38
},
"end": {
"line": 81,
"column": 43
},
"identifierName": "scene"
},
"name": "scene"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2343,
"end": 2348,
"loc": {
"start": {
"line": 81,
"column": 44
},
"end": {
"line": 81,
"column": 49
},
"identifierName": "input"
},
"name": "input"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2349,
"end": 2351,
"loc": {
"start": {
"line": 81,
"column": 50
},
"end": {
"line": 81,
"column": 52
},
"identifierName": "on"
},
"name": "on"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 2352,
"end": 2361,
"loc": {
"start": {
"line": 81,
"column": 53
},
"end": {
"line": 81,
"column": 62
}
},
"extra": {
"rawValue": "mouseup",
"raw": "\"mouseup\""
},
"value": "mouseup"
},
{
"type": "ArrowFunctionExpression",
"start": 2363,
"end": 2775,
"loc": {
"start": {
"line": 81,
"column": 64
},
"end": {
"line": 94,
"column": 9
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 2364,
"end": 2370,
"loc": {
"start": {
"line": 81,
"column": 65
},
"end": {
"line": 81,
"column": 71
},
"identifierName": "coords"
},
"name": "coords"
}
],
"body": {
"type": "BlockStatement",
"start": 2375,
"end": 2775,
"loc": {
"start": {
"line": 81,
"column": 76
},
"end": {
"line": 94,
"column": 9
}
},
"body": [
{
"type": "IfStatement",
"start": 2389,
"end": 2473,
"loc": {
"start": {
"line": 82,
"column": 12
},
"end": {
"line": 84,
"column": 13
}
},
"test": {
"type": "LogicalExpression",
"start": 2393,
"end": 2432,
"loc": {
"start": {
"line": 82,
"column": 16
},
"end": {
"line": 82,
"column": 55
}
},
"left": {
"type": "UnaryExpression",
"start": 2393,
"end": 2410,
"loc": {
"start": {
"line": 82,
"column": 16
},
"end": {
"line": 82,
"column": 33
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "CallExpression",
"start": 2394,
"end": 2410,
"loc": {
"start": {
"line": 82,
"column": 17
},
"end": {
"line": 82,
"column": 33
}
},
"callee": {
"type": "MemberExpression",
"start": 2394,
"end": 2408,
"loc": {
"start": {
"line": 82,
"column": 17
},
"end": {
"line": 82,
"column": 31
}
},
"object": {
"type": "ThisExpression",
"start": 2394,
"end": 2398,
"loc": {
"start": {
"line": 82,
"column": 17
},
"end": {
"line": 82,
"column": 21
}
}
},
"property": {
"type": "Identifier",
"start": 2399,
"end": 2408,
"loc": {
"start": {
"line": 82,
"column": 22
},
"end": {
"line": 82,
"column": 31
},
"identifierName": "getActive"
},
"name": "getActive"
},
"computed": false
},
"arguments": []
},
"extra": {
"parenthesizedArgument": false
}
},
"operator": "||",
"right": {
"type": "UnaryExpression",
"start": 2414,
"end": 2432,
"loc": {
"start": {
"line": 82,
"column": 37
},
"end": {
"line": 82,
"column": 55
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "CallExpression",
"start": 2415,
"end": 2432,
"loc": {
"start": {
"line": 82,
"column": 38
},
"end": {
"line": 82,
"column": 55
}
},
"callee": {
"type": "MemberExpression",
"start": 2415,
"end": 2430,
"loc": {
"start": {
"line": 82,
"column": 38
},
"end": {
"line": 82,
"column": 53
}
},
"object": {
"type": "ThisExpression",
"start": 2415,
"end": 2419,
"loc": {
"start": {
"line": 82,
"column": 38
},
"end": {
"line": 82,
"column": 42
}
}
},
"property": {
"type": "Identifier",
"start": 2420,
"end": 2430,
"loc": {
"start": {
"line": 82,
"column": 43
},
"end": {
"line": 82,
"column": 53
},
"identifierName": "getEnabled"
},
"name": "getEnabled"
},
"computed": false
},
"arguments": []
},
"extra": {
"parenthesizedArgument": false
}
}
},
"consequent": {
"type": "BlockStatement",
"start": 2434,
"end": 2473,
"loc": {
"start": {
"line": 82,
"column": 57
},
"end": {
"line": 84,
"column": 13
}
},
"body": [
{
"type": "ReturnStatement",
"start": 2452,
"end": 2459,
"loc": {
"start": {
"line": 83,
"column": 16
},
"end": {
"line": 83,
"column": 23
}
},
"argument": null
}
],
"directives": []
},
"alternate": null
},
{
"type": "IfStatement",
"start": 2486,
"end": 2765,
"loc": {
"start": {
"line": 85,
"column": 12
},
"end": {
"line": 93,
"column": 13
}
},
"test": {
"type": "Identifier",
"start": 2490,
"end": 2496,
"loc": {
"start": {
"line": 85,
"column": 16
},
"end": {
"line": 85,
"column": 22
},
"identifierName": "entity"
},
"name": "entity"
},
"consequent": {
"type": "BlockStatement",
"start": 2498,
"end": 2765,
"loc": {
"start": {
"line": 85,
"column": 24
},
"end": {
"line": 93,
"column": 13
}
},
"body": [
{
"type": "IfStatement",
"start": 2516,
"end": 2636,
"loc": {
"start": {
"line": 86,
"column": 16
},
"end": {
"line": 89,
"column": 17
}
},
"test": {
"type": "UnaryExpression",
"start": 2520,
"end": 2552,
"loc": {
"start": {
"line": 86,
"column": 20
},
"end": {
"line": 86,
"column": 52
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "CallExpression",
"start": 2521,
"end": 2552,
"loc": {
"start": {
"line": 86,
"column": 21
},
"end": {
"line": 86,
"column": 52
}
},
"callee": {
"type": "Identifier",
"start": 2521,
"end": 2532,
"loc": {
"start": {
"line": 86,
"column": 21
},
"end": {
"line": 86,
"column": 32
},
"identifierName": "closeEnough"
},
"name": "closeEnough"
},
"arguments": [
{
"type": "Identifier",
"start": 2533,
"end": 2543,
"loc": {
"start": {
"line": 86,
"column": 33
},
"end": {
"line": 86,
"column": 43
},
"identifierName": "lastCoords"
},
"name": "lastCoords"
},
{
"type": "Identifier",
"start": 2545,
"end": 2551,
"loc": {
"start": {
"line": 86,
"column": 45
},
"end": {
"line": 86,
"column": 51
},
"identifierName": "coords"
},
"name": "coords"
}
]
},
"extra": {
"parenthesizedArgument": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 2554,
"end": 2636,
"loc": {
"start": {
"line": 86,
"column": 54
},
"end": {
"line": 89,
"column": 17
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 2576,
"end": 2590,
"loc": {
"start": {
"line": 87,
"column": 20
},
"end": {
"line": 87,
"column": 34
}
},
"expression": {
"type": "AssignmentExpression",
"start": 2576,
"end": 2589,
"loc": {
"start": {
"line": 87,
"column": 20
},
"end": {
"line": 87,
"column": 33
}
},
"operator": "=",
"left": {
"type": "Identifier",
"start": 2576,
"end": 2582,
"loc": {
"start": {
"line": 87,
"column": 20
},
"end": {
"line": 87,
"column": 26
},
"identifierName": "entity"
},
"name": "entity"
},
"right": {
"type": "NullLiteral",
"start": 2585,
"end": 2589,
"loc": {
"start": {
"line": 87,
"column": 29
},
"end": {
"line": 87,
"column": 33
}
}
}
}
},
{
"type": "ReturnStatement",
"start": 2611,
"end": 2618,
"loc": {
"start": {
"line": 88,
"column": 20
},
"end": {
"line": 88,
"column": 27
}
},
"argument": null
}
],
"directives": []
},
"alternate": null
},
{
"type": "ExpressionStatement",
"start": 2653,
"end": 2676,
"loc": {
"start": {
"line": 90,
"column": 16
},
"end": {
"line": 90,
"column": 39
}
},
"expression": {
"type": "AssignmentExpression",
"start": 2653,
"end": 2675,
"loc": {
"start": {
"line": 90,
"column": 16
},
"end": {
"line": 90,
"column": 38
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 2653,
"end": 2667,
"loc": {
"start": {
"line": 90,
"column": 16
},
"end": {
"line": 90,
"column": 30
}
},
"object": {
"type": "Identifier",
"start": 2653,
"end": 2659,
"loc": {
"start": {
"line": 90,
"column": 16
},
"end": {
"line": 90,
"column": 22
},
"identifierName": "entity"
},
"name": "entity"
},
"property": {
"type": "Identifier",
"start": 2660,
"end": 2667,
"loc": {
"start": {
"line": 90,
"column": 23
},
"end": {
"line": 90,
"column": 30
},
"identifierName": "visible"
},
"name": "visible"
},
"computed": false
},
"right": {
"type": "BooleanLiteral",
"start": 2670,
"end": 2675,
"loc": {
"start": {
"line": 90,
"column": 33
},
"end": {
"line": 90,
"column": 38
}
},
"value": false
}
}
},
{
"type": "ExpressionStatement",
"start": 2693,
"end": 2720,
"loc": {
"start": {
"line": 91,
"column": 16
},
"end": {
"line": 91,
"column": 43
}
},
"expression": {
"type": "AssignmentExpression",
"start": 2693,
"end": 2719,
"loc": {
"start": {
"line": 91,
"column": 16
},
"end": {
"line": 91,
"column": 42
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 2693,
"end": 2711,
"loc": {
"start": {
"line": 91,
"column": 16
},
"end": {
"line": 91,
"column": 34
}
},
"object": {
"type": "Identifier",
"start": 2693,
"end": 2699,
"loc": {
"start": {
"line": 91,
"column": 16
},
"end": {
"line": 91,
"column": 22
},
"identifierName": "entity"
},
"name": "entity"
},
"property": {
"type": "Identifier",
"start": 2700,
"end": 2711,
"loc": {
"start": {
"line": 91,
"column": 23
},
"end": {
"line": 91,
"column": 34
},
"identifierName": "highlighted"
},
"name": "highlighted"
},
"computed": false
},
"right": {
"type": "BooleanLiteral",
"start": 2714,
"end": 2719,
"loc": {
"start": {
"line": 91,
"column": 37
},
"end": {
"line": 91,
"column": 42
}
},
"value": false
}
}
},
{
"type": "ExpressionStatement",
"start": 2737,
"end": 2751,
"loc": {
"start": {
"line": 92,
"column": 16
},
"end": {
"line": 92,
"column": 30
}
},
"expression": {
"type": "AssignmentExpression",
"start": 2737,
"end": 2750,
"loc": {
"start": {
"line": 92,
"column": 16
},
"end": {
"line": 92,
"column": 29
}
},
"operator": "=",
"left": {
"type": "Identifier",
"start": 2737,
"end": 2743,
"loc": {
"start": {
"line": 92,
"column": 16
},
"end": {
"line": 92,
"column": 22
},
"identifierName": "entity"
},
"name": "entity"
},
"right": {
"type": "NullLiteral",
"start": 2746,
"end": 2750,
"loc": {
"start": {
"line": 92,
"column": 25
},
"end": {
"line": 92,
"column": 29
}
}
}
}
}
],
"directives": []
},
"alternate": null
}
],
"directives": []
}
}
]
}
}
}
],
"directives": []
}
}
]
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "* @private ",
"start": 255,
"end": 270,
"loc": {
"start": {
"line": 9,
"column": 0
},
"end": {
"line": 9,
"column": 15
}
}
}
],
"__PseudoExport__": false,
"trailingComments": []
},
"specifiers": null,
"source": null,
"leadingComments": null
}
],
"directives": []
},
"comments": [
{
"type": "CommentBlock",
"value": "* @private ",
"start": 255,
"end": 270,
"loc": {
"start": {
"line": 9,
"column": 0
},
"end": {
"line": 9,
"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": 117,
"end": 125,
"loc": {
"start": {
"line": 4,
"column": 0
},
"end": {
"line": 4,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "closeEnough",
"start": 126,
"end": 137,
"loc": {
"start": {
"line": 4,
"column": 9
},
"end": {
"line": 4,
"column": 20
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 137,
"end": 138,
"loc": {
"start": {
"line": 4,
"column": 20
},
"end": {
"line": 4,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "p",
"start": 138,
"end": 139,
"loc": {
"start": {
"line": 4,
"column": 21
},
"end": {
"line": 4,
"column": 22
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 139,
"end": 140,
"loc": {
"start": {
"line": 4,
"column": 22
},
"end": {
"line": 4,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "q",
"start": 141,
"end": 142,
"loc": {
"start": {
"line": 4,
"column": 24
},
"end": {
"line": 4,
"column": 25
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 142,
"end": 143,
"loc": {
"start": {
"line": 4,
"column": 25
},
"end": {
"line": 4,
"column": 26
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 144,
"end": 145,
"loc": {
"start": {
"line": 4,
"column": 27
},
"end": {
"line": 4,
"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": 150,
"end": 155,
"loc": {
"start": {
"line": 5,
"column": 4
},
"end": {
"line": 5,
"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": 156,
"end": 166,
"loc": {
"start": {
"line": 5,
"column": 10
},
"end": {
"line": 5,
"column": 20
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 167,
"end": 168,
"loc": {
"start": {
"line": 5,
"column": 21
},
"end": {
"line": 5,
"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": 169,
"end": 170,
"loc": {
"start": {
"line": 5,
"column": 23
},
"end": {
"line": 5,
"column": 24
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 170,
"end": 171,
"loc": {
"start": {
"line": 5,
"column": 24
},
"end": {
"line": 5,
"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": 176,
"end": 182,
"loc": {
"start": {
"line": 6,
"column": 4
},
"end": {
"line": 6,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 183,
"end": 184,
"loc": {
"start": {
"line": 6,
"column": 11
},
"end": {
"line": 6,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Math",
"start": 184,
"end": 188,
"loc": {
"start": {
"line": 6,
"column": 12
},
"end": {
"line": 6,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 188,
"end": 189,
"loc": {
"start": {
"line": 6,
"column": 16
},
"end": {
"line": 6,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "abs",
"start": 189,
"end": 192,
"loc": {
"start": {
"line": 6,
"column": 17
},
"end": {
"line": 6,
"column": 20
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 192,
"end": 193,
"loc": {
"start": {
"line": 6,
"column": 20
},
"end": {
"line": 6,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "p",
"start": 193,
"end": 194,
"loc": {
"start": {
"line": 6,
"column": 21
},
"end": {
"line": 6,
"column": 22
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 194,
"end": 195,
"loc": {
"start": {
"line": 6,
"column": 22
},
"end": {
"line": 6,
"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": 195,
"end": 196,
"loc": {
"start": {
"line": 6,
"column": 23
},
"end": {
"line": 6,
"column": 24
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 196,
"end": 197,
"loc": {
"start": {
"line": 6,
"column": 24
},
"end": {
"line": 6,
"column": 25
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "-",
"start": 198,
"end": 199,
"loc": {
"start": {
"line": 6,
"column": 26
},
"end": {
"line": 6,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "q",
"start": 200,
"end": 201,
"loc": {
"start": {
"line": 6,
"column": 28
},
"end": {
"line": 6,
"column": 29
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 201,
"end": 202,
"loc": {
"start": {
"line": 6,
"column": 29
},
"end": {
"line": 6,
"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": 202,
"end": 203,
"loc": {
"start": {
"line": 6,
"column": 30
},
"end": {
"line": 6,
"column": 31
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 203,
"end": 204,
"loc": {
"start": {
"line": 6,
"column": 31
},
"end": {
"line": 6,
"column": 32
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 204,
"end": 205,
"loc": {
"start": {
"line": 6,
"column": 32
},
"end": {
"line": 6,
"column": 33
}
}
},
{
"type": {
"label": "</>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": "<",
"start": 206,
"end": 207,
"loc": {
"start": {
"line": 6,
"column": 34
},
"end": {
"line": 6,
"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": 208,
"end": 209,
"loc": {
"start": {
"line": 6,
"column": 36
},
"end": {
"line": 6,
"column": 37
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 209,
"end": 210,
"loc": {
"start": {
"line": 6,
"column": 37
},
"end": {
"line": 6,
"column": 38
}
}
},
{
"type": {
"label": "&&",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 2,
"updateContext": null
},
"value": "&&",
"start": 211,
"end": 213,
"loc": {
"start": {
"line": 6,
"column": 39
},
"end": {
"line": 6,
"column": 41
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 214,
"end": 215,
"loc": {
"start": {
"line": 6,
"column": 42
},
"end": {
"line": 6,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Math",
"start": 215,
"end": 219,
"loc": {
"start": {
"line": 6,
"column": 43
},
"end": {
"line": 6,
"column": 47
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 219,
"end": 220,
"loc": {
"start": {
"line": 6,
"column": 47
},
"end": {
"line": 6,
"column": 48
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "abs",
"start": 220,
"end": 223,
"loc": {
"start": {
"line": 6,
"column": 48
},
"end": {
"line": 6,
"column": 51
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 223,
"end": 224,
"loc": {
"start": {
"line": 6,
"column": 51
},
"end": {
"line": 6,
"column": 52
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "p",
"start": 224,
"end": 225,
"loc": {
"start": {
"line": 6,
"column": 52
},
"end": {
"line": 6,
"column": 53
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 225,
"end": 226,
"loc": {
"start": {
"line": 6,
"column": 53
},
"end": {
"line": 6,
"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": 226,
"end": 227,
"loc": {
"start": {
"line": 6,
"column": 54
},
"end": {
"line": 6,
"column": 55
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 227,
"end": 228,
"loc": {
"start": {
"line": 6,
"column": 55
},
"end": {
"line": 6,
"column": 56
}
}
},
{
"type": {
"label": "+/-",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": 9,
"updateContext": null
},
"value": "-",
"start": 229,
"end": 230,
"loc": {
"start": {
"line": 6,
"column": 57
},
"end": {
"line": 6,
"column": 58
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "q",
"start": 231,
"end": 232,
"loc": {
"start": {
"line": 6,
"column": 59
},
"end": {
"line": 6,
"column": 60
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 232,
"end": 233,
"loc": {
"start": {
"line": 6,
"column": 60
},
"end": {
"line": 6,
"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": 233,
"end": 234,
"loc": {
"start": {
"line": 6,
"column": 61
},
"end": {
"line": 6,
"column": 62
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 234,
"end": 235,
"loc": {
"start": {
"line": 6,
"column": 62
},
"end": {
"line": 6,
"column": 63
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 235,
"end": 236,
"loc": {
"start": {
"line": 6,
"column": 63
},
"end": {
"line": 6,
"column": 64
}
}
},
{
"type": {
"label": "</>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 7,
"updateContext": null
},
"value": "<",
"start": 237,
"end": 238,
"loc": {
"start": {
"line": 6,
"column": 65
},
"end": {
"line": 6,
"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": 239,
"end": 249,
"loc": {
"start": {
"line": 6,
"column": 67
},
"end": {
"line": 6,
"column": 77
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 249,
"end": 250,
"loc": {
"start": {
"line": 6,
"column": 77
},
"end": {
"line": 6,
"column": 78
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 250,
"end": 251,
"loc": {
"start": {
"line": 6,
"column": 78
},
"end": {
"line": 6,
"column": 79
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 252,
"end": 253,
"loc": {
"start": {
"line": 7,
"column": 0
},
"end": {
"line": 7,
"column": 1
}
}
},
{
"type": "CommentBlock",
"value": "* @private ",
"start": 255,
"end": 270,
"loc": {
"start": {
"line": 9,
"column": 0
},
"end": {
"line": 9,
"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": 271,
"end": 276,
"loc": {
"start": {
"line": 10,
"column": 0
},
"end": {
"line": 10,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "HideMode",
"start": 277,
"end": 285,
"loc": {
"start": {
"line": 10,
"column": 6
},
"end": {
"line": 10,
"column": 14
}
}
},
{
"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": 286,
"end": 293,
"loc": {
"start": {
"line": 10,
"column": 15
},
"end": {
"line": 10,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Controller",
"start": 294,
"end": 304,
"loc": {
"start": {
"line": 10,
"column": 23
},
"end": {
"line": 10,
"column": 33
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 305,
"end": 306,
"loc": {
"start": {
"line": 10,
"column": 34
},
"end": {
"line": 10,
"column": 35
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "constructor",
"start": 312,
"end": 323,
"loc": {
"start": {
"line": 12,
"column": 4
},
"end": {
"line": 12,
"column": 15
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 323,
"end": 324,
"loc": {
"start": {
"line": 12,
"column": 15
},
"end": {
"line": 12,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parent",
"start": 324,
"end": 330,
"loc": {
"start": {
"line": 12,
"column": 16
},
"end": {
"line": 12,
"column": 22
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 330,
"end": 331,
"loc": {
"start": {
"line": 12,
"column": 22
},
"end": {
"line": 12,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cfg",
"start": 332,
"end": 335,
"loc": {
"start": {
"line": 12,
"column": 24
},
"end": {
"line": 12,
"column": 27
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 335,
"end": 336,
"loc": {
"start": {
"line": 12,
"column": 27
},
"end": {
"line": 12,
"column": 28
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 337,
"end": 338,
"loc": {
"start": {
"line": 12,
"column": 29
},
"end": {
"line": 12,
"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": 348,
"end": 353,
"loc": {
"start": {
"line": 14,
"column": 8
},
"end": {
"line": 14,
"column": 13
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 353,
"end": 354,
"loc": {
"start": {
"line": 14,
"column": 13
},
"end": {
"line": 14,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parent",
"start": 354,
"end": 360,
"loc": {
"start": {
"line": 14,
"column": 14
},
"end": {
"line": 14,
"column": 20
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 360,
"end": 361,
"loc": {
"start": {
"line": 14,
"column": 20
},
"end": {
"line": 14,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cfg",
"start": 362,
"end": 365,
"loc": {
"start": {
"line": 14,
"column": 22
},
"end": {
"line": 14,
"column": 25
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 365,
"end": 366,
"loc": {
"start": {
"line": 14,
"column": 25
},
"end": {
"line": 14,
"column": 26
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 366,
"end": 367,
"loc": {
"start": {
"line": 14,
"column": 26
},
"end": {
"line": 14,
"column": 27
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 377,
"end": 379,
"loc": {
"start": {
"line": 16,
"column": 8
},
"end": {
"line": 16,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 380,
"end": 381,
"loc": {
"start": {
"line": 16,
"column": 11
},
"end": {
"line": 16,
"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": 381,
"end": 382,
"loc": {
"start": {
"line": 16,
"column": 12
},
"end": {
"line": 16,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cfg",
"start": 382,
"end": 385,
"loc": {
"start": {
"line": 16,
"column": 13
},
"end": {
"line": 16,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 385,
"end": 386,
"loc": {
"start": {
"line": 16,
"column": 16
},
"end": {
"line": 16,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "buttonElement",
"start": 386,
"end": 399,
"loc": {
"start": {
"line": 16,
"column": 17
},
"end": {
"line": 16,
"column": 30
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 399,
"end": 400,
"loc": {
"start": {
"line": 16,
"column": 30
},
"end": {
"line": 16,
"column": 31
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 401,
"end": 402,
"loc": {
"start": {
"line": 16,
"column": 32
},
"end": {
"line": 16,
"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": 415,
"end": 420,
"loc": {
"start": {
"line": 17,
"column": 12
},
"end": {
"line": 17,
"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": 421,
"end": 452,
"loc": {
"start": {
"line": 17,
"column": 18
},
"end": {
"line": 17,
"column": 49
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 452,
"end": 453,
"loc": {
"start": {
"line": 17,
"column": 49
},
"end": {
"line": 17,
"column": 50
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 462,
"end": 463,
"loc": {
"start": {
"line": 18,
"column": 8
},
"end": {
"line": 18,
"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": 473,
"end": 478,
"loc": {
"start": {
"line": 20,
"column": 8
},
"end": {
"line": 20,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "buttonElement",
"start": 479,
"end": 492,
"loc": {
"start": {
"line": 20,
"column": 14
},
"end": {
"line": 20,
"column": 27
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 493,
"end": 494,
"loc": {
"start": {
"line": 20,
"column": 28
},
"end": {
"line": 20,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cfg",
"start": 495,
"end": 498,
"loc": {
"start": {
"line": 20,
"column": 30
},
"end": {
"line": 20,
"column": 33
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 498,
"end": 499,
"loc": {
"start": {
"line": 20,
"column": 33
},
"end": {
"line": 20,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "buttonElement",
"start": 499,
"end": 512,
"loc": {
"start": {
"line": 20,
"column": 34
},
"end": {
"line": 20,
"column": 47
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 512,
"end": 513,
"loc": {
"start": {
"line": 20,
"column": 47
},
"end": {
"line": 20,
"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": 523,
"end": 527,
"loc": {
"start": {
"line": 22,
"column": 8
},
"end": {
"line": 22,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 527,
"end": 528,
"loc": {
"start": {
"line": 22,
"column": 12
},
"end": {
"line": 22,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "on",
"start": 528,
"end": 530,
"loc": {
"start": {
"line": 22,
"column": 13
},
"end": {
"line": 22,
"column": 15
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 530,
"end": 531,
"loc": {
"start": {
"line": 22,
"column": 15
},
"end": {
"line": 22,
"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": 531,
"end": 540,
"loc": {
"start": {
"line": 22,
"column": 16
},
"end": {
"line": 22,
"column": 25
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 540,
"end": 541,
"loc": {
"start": {
"line": 22,
"column": 25
},
"end": {
"line": 22,
"column": 26
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 542,
"end": 543,
"loc": {
"start": {
"line": 22,
"column": 27
},
"end": {
"line": 22,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "enabled",
"start": 543,
"end": 550,
"loc": {
"start": {
"line": 22,
"column": 28
},
"end": {
"line": 22,
"column": 35
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 550,
"end": 551,
"loc": {
"start": {
"line": 22,
"column": 35
},
"end": {
"line": 22,
"column": 36
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 552,
"end": 554,
"loc": {
"start": {
"line": 22,
"column": 37
},
"end": {
"line": 22,
"column": 39
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 555,
"end": 556,
"loc": {
"start": {
"line": 22,
"column": 40
},
"end": {
"line": 22,
"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": 569,
"end": 571,
"loc": {
"start": {
"line": 23,
"column": 12
},
"end": {
"line": 23,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 572,
"end": 573,
"loc": {
"start": {
"line": 23,
"column": 15
},
"end": {
"line": 23,
"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": 573,
"end": 574,
"loc": {
"start": {
"line": 23,
"column": 16
},
"end": {
"line": 23,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "enabled",
"start": 574,
"end": 581,
"loc": {
"start": {
"line": 23,
"column": 17
},
"end": {
"line": 23,
"column": 24
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 581,
"end": 582,
"loc": {
"start": {
"line": 23,
"column": 24
},
"end": {
"line": 23,
"column": 25
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 583,
"end": 584,
"loc": {
"start": {
"line": 23,
"column": 26
},
"end": {
"line": 23,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "buttonElement",
"start": 601,
"end": 614,
"loc": {
"start": {
"line": 24,
"column": 16
},
"end": {
"line": 24,
"column": 29
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 614,
"end": 615,
"loc": {
"start": {
"line": 24,
"column": 29
},
"end": {
"line": 24,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "classList",
"start": 615,
"end": 624,
"loc": {
"start": {
"line": 24,
"column": 30
},
"end": {
"line": 24,
"column": 39
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 624,
"end": 625,
"loc": {
"start": {
"line": 24,
"column": 39
},
"end": {
"line": 24,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "add",
"start": 625,
"end": 628,
"loc": {
"start": {
"line": 24,
"column": 40
},
"end": {
"line": 24,
"column": 43
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 628,
"end": 629,
"loc": {
"start": {
"line": 24,
"column": 43
},
"end": {
"line": 24,
"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": 629,
"end": 639,
"loc": {
"start": {
"line": 24,
"column": 44
},
"end": {
"line": 24,
"column": 54
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 639,
"end": 640,
"loc": {
"start": {
"line": 24,
"column": 54
},
"end": {
"line": 24,
"column": 55
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 640,
"end": 641,
"loc": {
"start": {
"line": 24,
"column": 55
},
"end": {
"line": 24,
"column": 56
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 654,
"end": 655,
"loc": {
"start": {
"line": 25,
"column": 12
},
"end": {
"line": 25,
"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": 656,
"end": 660,
"loc": {
"start": {
"line": 25,
"column": 14
},
"end": {
"line": 25,
"column": 18
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 661,
"end": 662,
"loc": {
"start": {
"line": 25,
"column": 19
},
"end": {
"line": 25,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "buttonElement",
"start": 679,
"end": 692,
"loc": {
"start": {
"line": 26,
"column": 16
},
"end": {
"line": 26,
"column": 29
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 692,
"end": 693,
"loc": {
"start": {
"line": 26,
"column": 29
},
"end": {
"line": 26,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "classList",
"start": 693,
"end": 702,
"loc": {
"start": {
"line": 26,
"column": 30
},
"end": {
"line": 26,
"column": 39
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 702,
"end": 703,
"loc": {
"start": {
"line": 26,
"column": 39
},
"end": {
"line": 26,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "remove",
"start": 703,
"end": 709,
"loc": {
"start": {
"line": 26,
"column": 40
},
"end": {
"line": 26,
"column": 46
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 709,
"end": 710,
"loc": {
"start": {
"line": 26,
"column": 46
},
"end": {
"line": 26,
"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": 710,
"end": 720,
"loc": {
"start": {
"line": 26,
"column": 47
},
"end": {
"line": 26,
"column": 57
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 720,
"end": 721,
"loc": {
"start": {
"line": 26,
"column": 57
},
"end": {
"line": 26,
"column": 58
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 721,
"end": 722,
"loc": {
"start": {
"line": 26,
"column": 58
},
"end": {
"line": 26,
"column": 59
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 735,
"end": 736,
"loc": {
"start": {
"line": 27,
"column": 12
},
"end": {
"line": 27,
"column": 13
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 745,
"end": 746,
"loc": {
"start": {
"line": 28,
"column": 8
},
"end": {
"line": 28,
"column": 9
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 746,
"end": 747,
"loc": {
"start": {
"line": 28,
"column": 9
},
"end": {
"line": 28,
"column": 10
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 747,
"end": 748,
"loc": {
"start": {
"line": 28,
"column": 10
},
"end": {
"line": 28,
"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": 758,
"end": 762,
"loc": {
"start": {
"line": 30,
"column": 8
},
"end": {
"line": 30,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 762,
"end": 763,
"loc": {
"start": {
"line": 30,
"column": 12
},
"end": {
"line": 30,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "on",
"start": 763,
"end": 765,
"loc": {
"start": {
"line": 30,
"column": 13
},
"end": {
"line": 30,
"column": 15
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 765,
"end": 766,
"loc": {
"start": {
"line": 30,
"column": 15
},
"end": {
"line": 30,
"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": 766,
"end": 774,
"loc": {
"start": {
"line": 30,
"column": 16
},
"end": {
"line": 30,
"column": 24
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 774,
"end": 775,
"loc": {
"start": {
"line": 30,
"column": 24
},
"end": {
"line": 30,
"column": 25
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 776,
"end": 777,
"loc": {
"start": {
"line": 30,
"column": 26
},
"end": {
"line": 30,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "active",
"start": 777,
"end": 783,
"loc": {
"start": {
"line": 30,
"column": 27
},
"end": {
"line": 30,
"column": 33
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 783,
"end": 784,
"loc": {
"start": {
"line": 30,
"column": 33
},
"end": {
"line": 30,
"column": 34
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 785,
"end": 787,
"loc": {
"start": {
"line": 30,
"column": 35
},
"end": {
"line": 30,
"column": 37
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 788,
"end": 789,
"loc": {
"start": {
"line": 30,
"column": 38
},
"end": {
"line": 30,
"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": 802,
"end": 804,
"loc": {
"start": {
"line": 31,
"column": 12
},
"end": {
"line": 31,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 805,
"end": 806,
"loc": {
"start": {
"line": 31,
"column": 15
},
"end": {
"line": 31,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "active",
"start": 806,
"end": 812,
"loc": {
"start": {
"line": 31,
"column": 16
},
"end": {
"line": 31,
"column": 22
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 812,
"end": 813,
"loc": {
"start": {
"line": 31,
"column": 22
},
"end": {
"line": 31,
"column": 23
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 814,
"end": 815,
"loc": {
"start": {
"line": 31,
"column": 24
},
"end": {
"line": 31,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "buttonElement",
"start": 832,
"end": 845,
"loc": {
"start": {
"line": 32,
"column": 16
},
"end": {
"line": 32,
"column": 29
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 845,
"end": 846,
"loc": {
"start": {
"line": 32,
"column": 29
},
"end": {
"line": 32,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "classList",
"start": 846,
"end": 855,
"loc": {
"start": {
"line": 32,
"column": 30
},
"end": {
"line": 32,
"column": 39
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 855,
"end": 856,
"loc": {
"start": {
"line": 32,
"column": 39
},
"end": {
"line": 32,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "add",
"start": 856,
"end": 859,
"loc": {
"start": {
"line": 32,
"column": 40
},
"end": {
"line": 32,
"column": 43
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 859,
"end": 860,
"loc": {
"start": {
"line": 32,
"column": 43
},
"end": {
"line": 32,
"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": 860,
"end": 868,
"loc": {
"start": {
"line": 32,
"column": 44
},
"end": {
"line": 32,
"column": 52
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 868,
"end": 869,
"loc": {
"start": {
"line": 32,
"column": 52
},
"end": {
"line": 32,
"column": 53
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 869,
"end": 870,
"loc": {
"start": {
"line": 32,
"column": 53
},
"end": {
"line": 32,
"column": 54
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 883,
"end": 884,
"loc": {
"start": {
"line": 33,
"column": 12
},
"end": {
"line": 33,
"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": 885,
"end": 889,
"loc": {
"start": {
"line": 33,
"column": 14
},
"end": {
"line": 33,
"column": 18
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 890,
"end": 891,
"loc": {
"start": {
"line": 33,
"column": 19
},
"end": {
"line": 33,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "buttonElement",
"start": 908,
"end": 921,
"loc": {
"start": {
"line": 34,
"column": 16
},
"end": {
"line": 34,
"column": 29
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 921,
"end": 922,
"loc": {
"start": {
"line": 34,
"column": 29
},
"end": {
"line": 34,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "classList",
"start": 922,
"end": 931,
"loc": {
"start": {
"line": 34,
"column": 30
},
"end": {
"line": 34,
"column": 39
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 931,
"end": 932,
"loc": {
"start": {
"line": 34,
"column": 39
},
"end": {
"line": 34,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "remove",
"start": 932,
"end": 938,
"loc": {
"start": {
"line": 34,
"column": 40
},
"end": {
"line": 34,
"column": 46
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 938,
"end": 939,
"loc": {
"start": {
"line": 34,
"column": 46
},
"end": {
"line": 34,
"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": 939,
"end": 947,
"loc": {
"start": {
"line": 34,
"column": 47
},
"end": {
"line": 34,
"column": 55
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 947,
"end": 948,
"loc": {
"start": {
"line": 34,
"column": 55
},
"end": {
"line": 34,
"column": 56
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 948,
"end": 949,
"loc": {
"start": {
"line": 34,
"column": 56
},
"end": {
"line": 34,
"column": 57
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 962,
"end": 963,
"loc": {
"start": {
"line": 35,
"column": 12
},
"end": {
"line": 35,
"column": 13
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 972,
"end": 973,
"loc": {
"start": {
"line": 36,
"column": 8
},
"end": {
"line": 36,
"column": 9
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 973,
"end": 974,
"loc": {
"start": {
"line": 36,
"column": 9
},
"end": {
"line": 36,
"column": 10
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 974,
"end": 975,
"loc": {
"start": {
"line": 36,
"column": 10
},
"end": {
"line": 36,
"column": 11
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "buttonElement",
"start": 985,
"end": 998,
"loc": {
"start": {
"line": 38,
"column": 8
},
"end": {
"line": 38,
"column": 21
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 998,
"end": 999,
"loc": {
"start": {
"line": 38,
"column": 21
},
"end": {
"line": 38,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "addEventListener",
"start": 999,
"end": 1015,
"loc": {
"start": {
"line": 38,
"column": 22
},
"end": {
"line": 38,
"column": 38
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1015,
"end": 1016,
"loc": {
"start": {
"line": 38,
"column": 38
},
"end": {
"line": 38,
"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": 1016,
"end": 1023,
"loc": {
"start": {
"line": 38,
"column": 39
},
"end": {
"line": 38,
"column": 46
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1023,
"end": 1024,
"loc": {
"start": {
"line": 38,
"column": 46
},
"end": {
"line": 38,
"column": 47
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1025,
"end": 1026,
"loc": {
"start": {
"line": 38,
"column": 48
},
"end": {
"line": 38,
"column": 49
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "event",
"start": 1026,
"end": 1031,
"loc": {
"start": {
"line": 38,
"column": 49
},
"end": {
"line": 38,
"column": 54
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1031,
"end": 1032,
"loc": {
"start": {
"line": 38,
"column": 54
},
"end": {
"line": 38,
"column": 55
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1033,
"end": 1035,
"loc": {
"start": {
"line": 38,
"column": 56
},
"end": {
"line": 38,
"column": 58
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1036,
"end": 1037,
"loc": {
"start": {
"line": 38,
"column": 59
},
"end": {
"line": 38,
"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": 1050,
"end": 1052,
"loc": {
"start": {
"line": 39,
"column": 12
},
"end": {
"line": 39,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1053,
"end": 1054,
"loc": {
"start": {
"line": 39,
"column": 15
},
"end": {
"line": 39,
"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": 1054,
"end": 1055,
"loc": {
"start": {
"line": 39,
"column": 16
},
"end": {
"line": 39,
"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": 1055,
"end": 1059,
"loc": {
"start": {
"line": 39,
"column": 17
},
"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": 1059,
"end": 1060,
"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": "getEnabled",
"start": 1060,
"end": 1070,
"loc": {
"start": {
"line": 39,
"column": 22
},
"end": {
"line": 39,
"column": 32
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1070,
"end": 1071,
"loc": {
"start": {
"line": 39,
"column": 32
},
"end": {
"line": 39,
"column": 33
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1071,
"end": 1072,
"loc": {
"start": {
"line": 39,
"column": 33
},
"end": {
"line": 39,
"column": 34
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1072,
"end": 1073,
"loc": {
"start": {
"line": 39,
"column": 34
},
"end": {
"line": 39,
"column": 35
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1074,
"end": 1075,
"loc": {
"start": {
"line": 39,
"column": 36
},
"end": {
"line": 39,
"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": 1092,
"end": 1098,
"loc": {
"start": {
"line": 40,
"column": 16
},
"end": {
"line": 40,
"column": 22
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1098,
"end": 1099,
"loc": {
"start": {
"line": 40,
"column": 22
},
"end": {
"line": 40,
"column": 23
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1112,
"end": 1113,
"loc": {
"start": {
"line": 41,
"column": 12
},
"end": {
"line": 41,
"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": 1126,
"end": 1131,
"loc": {
"start": {
"line": 42,
"column": 12
},
"end": {
"line": 42,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "active",
"start": 1132,
"end": 1138,
"loc": {
"start": {
"line": 42,
"column": 18
},
"end": {
"line": 42,
"column": 24
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1139,
"end": 1140,
"loc": {
"start": {
"line": 42,
"column": 25
},
"end": {
"line": 42,
"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": 1141,
"end": 1145,
"loc": {
"start": {
"line": 42,
"column": 27
},
"end": {
"line": 42,
"column": 31
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1145,
"end": 1146,
"loc": {
"start": {
"line": 42,
"column": 31
},
"end": {
"line": 42,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getActive",
"start": 1146,
"end": 1155,
"loc": {
"start": {
"line": 42,
"column": 32
},
"end": {
"line": 42,
"column": 41
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1155,
"end": 1156,
"loc": {
"start": {
"line": 42,
"column": 41
},
"end": {
"line": 42,
"column": 42
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1156,
"end": 1157,
"loc": {
"start": {
"line": 42,
"column": 42
},
"end": {
"line": 42,
"column": 43
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1157,
"end": 1158,
"loc": {
"start": {
"line": 42,
"column": 43
},
"end": {
"line": 42,
"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": 1171,
"end": 1175,
"loc": {
"start": {
"line": 43,
"column": 12
},
"end": {
"line": 43,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1175,
"end": 1176,
"loc": {
"start": {
"line": 43,
"column": 16
},
"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": "setActive",
"start": 1176,
"end": 1185,
"loc": {
"start": {
"line": 43,
"column": 17
},
"end": {
"line": 43,
"column": 26
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1185,
"end": 1186,
"loc": {
"start": {
"line": 43,
"column": 26
},
"end": {
"line": 43,
"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": 1186,
"end": 1187,
"loc": {
"start": {
"line": 43,
"column": 27
},
"end": {
"line": 43,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "active",
"start": 1187,
"end": 1193,
"loc": {
"start": {
"line": 43,
"column": 28
},
"end": {
"line": 43,
"column": 34
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1193,
"end": 1194,
"loc": {
"start": {
"line": 43,
"column": 34
},
"end": {
"line": 43,
"column": 35
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1194,
"end": 1195,
"loc": {
"start": {
"line": 43,
"column": 35
},
"end": {
"line": 43,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "event",
"start": 1208,
"end": 1213,
"loc": {
"start": {
"line": 44,
"column": 12
},
"end": {
"line": 44,
"column": 17
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1213,
"end": 1214,
"loc": {
"start": {
"line": 44,
"column": 17
},
"end": {
"line": 44,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "preventDefault",
"start": 1214,
"end": 1228,
"loc": {
"start": {
"line": 44,
"column": 18
},
"end": {
"line": 44,
"column": 32
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1228,
"end": 1229,
"loc": {
"start": {
"line": 44,
"column": 32
},
"end": {
"line": 44,
"column": 33
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1229,
"end": 1230,
"loc": {
"start": {
"line": 44,
"column": 33
},
"end": {
"line": 44,
"column": 34
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1230,
"end": 1231,
"loc": {
"start": {
"line": 44,
"column": 34
},
"end": {
"line": 44,
"column": 35
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1240,
"end": 1241,
"loc": {
"start": {
"line": 45,
"column": 8
},
"end": {
"line": 45,
"column": 9
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1241,
"end": 1242,
"loc": {
"start": {
"line": 45,
"column": 9
},
"end": {
"line": 45,
"column": 10
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1242,
"end": 1243,
"loc": {
"start": {
"line": 45,
"column": 10
},
"end": {
"line": 45,
"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": 1253,
"end": 1257,
"loc": {
"start": {
"line": 47,
"column": 8
},
"end": {
"line": 47,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1257,
"end": 1258,
"loc": {
"start": {
"line": 47,
"column": 12
},
"end": {
"line": 47,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "viewerUI",
"start": 1258,
"end": 1266,
"loc": {
"start": {
"line": 47,
"column": 13
},
"end": {
"line": 47,
"column": 21
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1266,
"end": 1267,
"loc": {
"start": {
"line": 47,
"column": 21
},
"end": {
"line": 47,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "on",
"start": 1267,
"end": 1269,
"loc": {
"start": {
"line": 47,
"column": 22
},
"end": {
"line": 47,
"column": 24
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1269,
"end": 1270,
"loc": {
"start": {
"line": 47,
"column": 24
},
"end": {
"line": 47,
"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": 1270,
"end": 1277,
"loc": {
"start": {
"line": 47,
"column": 25
},
"end": {
"line": 47,
"column": 32
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1277,
"end": 1278,
"loc": {
"start": {
"line": 47,
"column": 32
},
"end": {
"line": 47,
"column": 33
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1279,
"end": 1280,
"loc": {
"start": {
"line": 47,
"column": 34
},
"end": {
"line": 47,
"column": 35
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1280,
"end": 1281,
"loc": {
"start": {
"line": 47,
"column": 35
},
"end": {
"line": 47,
"column": 36
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1282,
"end": 1284,
"loc": {
"start": {
"line": 47,
"column": 37
},
"end": {
"line": 47,
"column": 39
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1285,
"end": 1286,
"loc": {
"start": {
"line": 47,
"column": 40
},
"end": {
"line": 47,
"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": 1299,
"end": 1303,
"loc": {
"start": {
"line": 48,
"column": 12
},
"end": {
"line": 48,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1303,
"end": 1304,
"loc": {
"start": {
"line": 48,
"column": 16
},
"end": {
"line": 48,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "setActive",
"start": 1304,
"end": 1313,
"loc": {
"start": {
"line": 48,
"column": 17
},
"end": {
"line": 48,
"column": 26
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1313,
"end": 1314,
"loc": {
"start": {
"line": 48,
"column": 26
},
"end": {
"line": 48,
"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": 1314,
"end": 1319,
"loc": {
"start": {
"line": 48,
"column": 27
},
"end": {
"line": 48,
"column": 32
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1319,
"end": 1320,
"loc": {
"start": {
"line": 48,
"column": 32
},
"end": {
"line": 48,
"column": 33
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1320,
"end": 1321,
"loc": {
"start": {
"line": 48,
"column": 33
},
"end": {
"line": 48,
"column": 34
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1330,
"end": 1331,
"loc": {
"start": {
"line": 49,
"column": 8
},
"end": {
"line": 49,
"column": 9
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1331,
"end": 1332,
"loc": {
"start": {
"line": 49,
"column": 9
},
"end": {
"line": 49,
"column": 10
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1332,
"end": 1333,
"loc": {
"start": {
"line": 49,
"column": 10
},
"end": {
"line": 49,
"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": 1343,
"end": 1347,
"loc": {
"start": {
"line": 51,
"column": 8
},
"end": {
"line": 51,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1347,
"end": 1348,
"loc": {
"start": {
"line": 51,
"column": 12
},
"end": {
"line": 51,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_initHideMode",
"start": 1348,
"end": 1361,
"loc": {
"start": {
"line": 51,
"column": 13
},
"end": {
"line": 51,
"column": 26
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1361,
"end": 1362,
"loc": {
"start": {
"line": 51,
"column": 26
},
"end": {
"line": 51,
"column": 27
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1362,
"end": 1363,
"loc": {
"start": {
"line": 51,
"column": 27
},
"end": {
"line": 51,
"column": 28
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1363,
"end": 1364,
"loc": {
"start": {
"line": 51,
"column": 28
},
"end": {
"line": 51,
"column": 29
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1369,
"end": 1370,
"loc": {
"start": {
"line": 52,
"column": 4
},
"end": {
"line": 52,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_initHideMode",
"start": 1376,
"end": 1389,
"loc": {
"start": {
"line": 54,
"column": 4
},
"end": {
"line": 54,
"column": 17
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1389,
"end": 1390,
"loc": {
"start": {
"line": 54,
"column": 17
},
"end": {
"line": 54,
"column": 18
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1390,
"end": 1391,
"loc": {
"start": {
"line": 54,
"column": 18
},
"end": {
"line": 54,
"column": 19
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1392,
"end": 1393,
"loc": {
"start": {
"line": 54,
"column": 20
},
"end": {
"line": 54,
"column": 21
}
}
},
{
"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": 1402,
"end": 1405,
"loc": {
"start": {
"line": 55,
"column": 8
},
"end": {
"line": 55,
"column": 11
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 1406,
"end": 1412,
"loc": {
"start": {
"line": 55,
"column": 12
},
"end": {
"line": 55,
"column": 18
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1413,
"end": 1414,
"loc": {
"start": {
"line": 55,
"column": 19
},
"end": {
"line": 55,
"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": 1415,
"end": 1419,
"loc": {
"start": {
"line": 55,
"column": 21
},
"end": {
"line": 55,
"column": 25
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1419,
"end": 1420,
"loc": {
"start": {
"line": 55,
"column": 25
},
"end": {
"line": 55,
"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": 1429,
"end": 1433,
"loc": {
"start": {
"line": 56,
"column": 8
},
"end": {
"line": 56,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1433,
"end": 1434,
"loc": {
"start": {
"line": 56,
"column": 12
},
"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": "_onHover",
"start": 1434,
"end": 1442,
"loc": {
"start": {
"line": 56,
"column": 13
},
"end": {
"line": 56,
"column": 21
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1443,
"end": 1444,
"loc": {
"start": {
"line": 56,
"column": 22
},
"end": {
"line": 56,
"column": 23
}
}
},
{
"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": 1445,
"end": 1449,
"loc": {
"start": {
"line": 56,
"column": 24
},
"end": {
"line": 56,
"column": 28
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1449,
"end": 1450,
"loc": {
"start": {
"line": 56,
"column": 28
},
"end": {
"line": 56,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "viewer",
"start": 1450,
"end": 1456,
"loc": {
"start": {
"line": 56,
"column": 29
},
"end": {
"line": 56,
"column": 35
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1456,
"end": 1457,
"loc": {
"start": {
"line": 56,
"column": 35
},
"end": {
"line": 56,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cameraControl",
"start": 1457,
"end": 1470,
"loc": {
"start": {
"line": 56,
"column": 36
},
"end": {
"line": 56,
"column": 49
}
}
},
{
"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": 56,
"column": 49
},
"end": {
"line": 56,
"column": 50
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "on",
"start": 1471,
"end": 1473,
"loc": {
"start": {
"line": 56,
"column": 50
},
"end": {
"line": 56,
"column": 52
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1473,
"end": 1474,
"loc": {
"start": {
"line": 56,
"column": 52
},
"end": {
"line": 56,
"column": 53
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "hover",
"start": 1474,
"end": 1481,
"loc": {
"start": {
"line": 56,
"column": 53
},
"end": {
"line": 56,
"column": 60
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1481,
"end": 1482,
"loc": {
"start": {
"line": 56,
"column": 60
},
"end": {
"line": 56,
"column": 61
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1483,
"end": 1484,
"loc": {
"start": {
"line": 56,
"column": 62
},
"end": {
"line": 56,
"column": 63
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "e",
"start": 1484,
"end": 1485,
"loc": {
"start": {
"line": 56,
"column": 63
},
"end": {
"line": 56,
"column": 64
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1485,
"end": 1486,
"loc": {
"start": {
"line": 56,
"column": 64
},
"end": {
"line": 56,
"column": 65
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1487,
"end": 1489,
"loc": {
"start": {
"line": 56,
"column": 66
},
"end": {
"line": 56,
"column": 68
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1490,
"end": 1491,
"loc": {
"start": {
"line": 56,
"column": 69
},
"end": {
"line": 56,
"column": 70
}
}
},
{
"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": 1504,
"end": 1506,
"loc": {
"start": {
"line": 57,
"column": 12
},
"end": {
"line": 57,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1507,
"end": 1508,
"loc": {
"start": {
"line": 57,
"column": 15
},
"end": {
"line": 57,
"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": 1508,
"end": 1509,
"loc": {
"start": {
"line": 57,
"column": 16
},
"end": {
"line": 57,
"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": 1509,
"end": 1513,
"loc": {
"start": {
"line": 57,
"column": 17
},
"end": {
"line": 57,
"column": 21
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1513,
"end": 1514,
"loc": {
"start": {
"line": 57,
"column": 21
},
"end": {
"line": 57,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getActive",
"start": 1514,
"end": 1523,
"loc": {
"start": {
"line": 57,
"column": 22
},
"end": {
"line": 57,
"column": 31
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1523,
"end": 1524,
"loc": {
"start": {
"line": 57,
"column": 31
},
"end": {
"line": 57,
"column": 32
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1524,
"end": 1525,
"loc": {
"start": {
"line": 57,
"column": 32
},
"end": {
"line": 57,
"column": 33
}
}
},
{
"type": {
"label": "||",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 1,
"updateContext": null
},
"value": "||",
"start": 1526,
"end": 1528,
"loc": {
"start": {
"line": 57,
"column": 34
},
"end": {
"line": 57,
"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": 1529,
"end": 1530,
"loc": {
"start": {
"line": 57,
"column": 37
},
"end": {
"line": 57,
"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": 1530,
"end": 1534,
"loc": {
"start": {
"line": 57,
"column": 38
},
"end": {
"line": 57,
"column": 42
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1534,
"end": 1535,
"loc": {
"start": {
"line": 57,
"column": 42
},
"end": {
"line": 57,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getEnabled",
"start": 1535,
"end": 1545,
"loc": {
"start": {
"line": 57,
"column": 43
},
"end": {
"line": 57,
"column": 53
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1545,
"end": 1546,
"loc": {
"start": {
"line": 57,
"column": 53
},
"end": {
"line": 57,
"column": 54
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1546,
"end": 1547,
"loc": {
"start": {
"line": 57,
"column": 54
},
"end": {
"line": 57,
"column": 55
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1547,
"end": 1548,
"loc": {
"start": {
"line": 57,
"column": 55
},
"end": {
"line": 57,
"column": 56
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1549,
"end": 1550,
"loc": {
"start": {
"line": 57,
"column": 57
},
"end": {
"line": 57,
"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": 1567,
"end": 1573,
"loc": {
"start": {
"line": 58,
"column": 16
},
"end": {
"line": 58,
"column": 22
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1573,
"end": 1574,
"loc": {
"start": {
"line": 58,
"column": 22
},
"end": {
"line": 58,
"column": 23
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1587,
"end": 1588,
"loc": {
"start": {
"line": 59,
"column": 12
},
"end": {
"line": 59,
"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": 1601,
"end": 1603,
"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": 1604,
"end": 1605,
"loc": {
"start": {
"line": 60,
"column": 15
},
"end": {
"line": 60,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 1605,
"end": 1611,
"loc": {
"start": {
"line": 60,
"column": 16
},
"end": {
"line": 60,
"column": 22
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1611,
"end": 1612,
"loc": {
"start": {
"line": 60,
"column": 22
},
"end": {
"line": 60,
"column": 23
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1613,
"end": 1614,
"loc": {
"start": {
"line": 60,
"column": 24
},
"end": {
"line": 60,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 1631,
"end": 1637,
"loc": {
"start": {
"line": 61,
"column": 16
},
"end": {
"line": 61,
"column": 22
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1637,
"end": 1638,
"loc": {
"start": {
"line": 61,
"column": 22
},
"end": {
"line": 61,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "highlighted",
"start": 1638,
"end": 1649,
"loc": {
"start": {
"line": 61,
"column": 23
},
"end": {
"line": 61,
"column": 34
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1650,
"end": 1651,
"loc": {
"start": {
"line": 61,
"column": 35
},
"end": {
"line": 61,
"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": 1652,
"end": 1657,
"loc": {
"start": {
"line": 61,
"column": 37
},
"end": {
"line": 61,
"column": 42
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1657,
"end": 1658,
"loc": {
"start": {
"line": 61,
"column": 42
},
"end": {
"line": 61,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 1675,
"end": 1681,
"loc": {
"start": {
"line": 62,
"column": 16
},
"end": {
"line": 62,
"column": 22
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1682,
"end": 1683,
"loc": {
"start": {
"line": 62,
"column": 23
},
"end": {
"line": 62,
"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": 1684,
"end": 1688,
"loc": {
"start": {
"line": 62,
"column": 25
},
"end": {
"line": 62,
"column": 29
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1688,
"end": 1689,
"loc": {
"start": {
"line": 62,
"column": 29
},
"end": {
"line": 62,
"column": 30
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1702,
"end": 1703,
"loc": {
"start": {
"line": 63,
"column": 12
},
"end": {
"line": 63,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 1716,
"end": 1722,
"loc": {
"start": {
"line": 64,
"column": 12
},
"end": {
"line": 64,
"column": 18
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1723,
"end": 1724,
"loc": {
"start": {
"line": 64,
"column": 19
},
"end": {
"line": 64,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "e",
"start": 1725,
"end": 1726,
"loc": {
"start": {
"line": 64,
"column": 21
},
"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": 1726,
"end": 1727,
"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": "entity",
"start": 1727,
"end": 1733,
"loc": {
"start": {
"line": 64,
"column": 23
},
"end": {
"line": 64,
"column": 29
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1733,
"end": 1734,
"loc": {
"start": {
"line": 64,
"column": 29
},
"end": {
"line": 64,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 1747,
"end": 1753,
"loc": {
"start": {
"line": 65,
"column": 12
},
"end": {
"line": 65,
"column": 18
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1753,
"end": 1754,
"loc": {
"start": {
"line": 65,
"column": 18
},
"end": {
"line": 65,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "highlighted",
"start": 1754,
"end": 1765,
"loc": {
"start": {
"line": 65,
"column": 19
},
"end": {
"line": 65,
"column": 30
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1766,
"end": 1767,
"loc": {
"start": {
"line": 65,
"column": 31
},
"end": {
"line": 65,
"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": 1768,
"end": 1772,
"loc": {
"start": {
"line": 65,
"column": 33
},
"end": {
"line": 65,
"column": 37
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1772,
"end": 1773,
"loc": {
"start": {
"line": 65,
"column": 37
},
"end": {
"line": 65,
"column": 38
}
}
},
{
"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": 8
},
"end": {
"line": 66,
"column": 9
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1783,
"end": 1784,
"loc": {
"start": {
"line": 66,
"column": 9
},
"end": {
"line": 66,
"column": 10
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1784,
"end": 1785,
"loc": {
"start": {
"line": 66,
"column": 10
},
"end": {
"line": 66,
"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": 1794,
"end": 1798,
"loc": {
"start": {
"line": 67,
"column": 8
},
"end": {
"line": 67,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1798,
"end": 1799,
"loc": {
"start": {
"line": 67,
"column": 12
},
"end": {
"line": 67,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_onHoverOff",
"start": 1799,
"end": 1810,
"loc": {
"start": {
"line": 67,
"column": 13
},
"end": {
"line": 67,
"column": 24
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1811,
"end": 1812,
"loc": {
"start": {
"line": 67,
"column": 25
},
"end": {
"line": 67,
"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": 1813,
"end": 1817,
"loc": {
"start": {
"line": 67,
"column": 27
},
"end": {
"line": 67,
"column": 31
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1817,
"end": 1818,
"loc": {
"start": {
"line": 67,
"column": 31
},
"end": {
"line": 67,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "viewer",
"start": 1818,
"end": 1824,
"loc": {
"start": {
"line": 67,
"column": 32
},
"end": {
"line": 67,
"column": 38
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1824,
"end": 1825,
"loc": {
"start": {
"line": 67,
"column": 38
},
"end": {
"line": 67,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cameraControl",
"start": 1825,
"end": 1838,
"loc": {
"start": {
"line": 67,
"column": 39
},
"end": {
"line": 67,
"column": 52
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1838,
"end": 1839,
"loc": {
"start": {
"line": 67,
"column": 52
},
"end": {
"line": 67,
"column": 53
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "on",
"start": 1839,
"end": 1841,
"loc": {
"start": {
"line": 67,
"column": 53
},
"end": {
"line": 67,
"column": 55
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1841,
"end": 1842,
"loc": {
"start": {
"line": 67,
"column": 55
},
"end": {
"line": 67,
"column": 56
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "hoverOff",
"start": 1842,
"end": 1852,
"loc": {
"start": {
"line": 67,
"column": 56
},
"end": {
"line": 67,
"column": 66
}
}
},
{
"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": 67,
"column": 66
},
"end": {
"line": 67,
"column": 67
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1854,
"end": 1855,
"loc": {
"start": {
"line": 67,
"column": 68
},
"end": {
"line": 67,
"column": 69
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "e",
"start": 1855,
"end": 1856,
"loc": {
"start": {
"line": 67,
"column": 69
},
"end": {
"line": 67,
"column": 70
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1856,
"end": 1857,
"loc": {
"start": {
"line": 67,
"column": 70
},
"end": {
"line": 67,
"column": 71
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1858,
"end": 1860,
"loc": {
"start": {
"line": 67,
"column": 72
},
"end": {
"line": 67,
"column": 74
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1861,
"end": 1862,
"loc": {
"start": {
"line": 67,
"column": 75
},
"end": {
"line": 67,
"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": 1875,
"end": 1877,
"loc": {
"start": {
"line": 68,
"column": 12
},
"end": {
"line": 68,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1878,
"end": 1879,
"loc": {
"start": {
"line": 68,
"column": 15
},
"end": {
"line": 68,
"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": 1879,
"end": 1880,
"loc": {
"start": {
"line": 68,
"column": 16
},
"end": {
"line": 68,
"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": 1880,
"end": 1884,
"loc": {
"start": {
"line": 68,
"column": 17
},
"end": {
"line": 68,
"column": 21
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1884,
"end": 1885,
"loc": {
"start": {
"line": 68,
"column": 21
},
"end": {
"line": 68,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getActive",
"start": 1885,
"end": 1894,
"loc": {
"start": {
"line": 68,
"column": 22
},
"end": {
"line": 68,
"column": 31
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1894,
"end": 1895,
"loc": {
"start": {
"line": 68,
"column": 31
},
"end": {
"line": 68,
"column": 32
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1895,
"end": 1896,
"loc": {
"start": {
"line": 68,
"column": 32
},
"end": {
"line": 68,
"column": 33
}
}
},
{
"type": {
"label": "||",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 1,
"updateContext": null
},
"value": "||",
"start": 1897,
"end": 1899,
"loc": {
"start": {
"line": 68,
"column": 34
},
"end": {
"line": 68,
"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": 1900,
"end": 1901,
"loc": {
"start": {
"line": 68,
"column": 37
},
"end": {
"line": 68,
"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": 1901,
"end": 1905,
"loc": {
"start": {
"line": 68,
"column": 38
},
"end": {
"line": 68,
"column": 42
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1905,
"end": 1906,
"loc": {
"start": {
"line": 68,
"column": 42
},
"end": {
"line": 68,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getEnabled",
"start": 1906,
"end": 1916,
"loc": {
"start": {
"line": 68,
"column": 43
},
"end": {
"line": 68,
"column": 53
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1916,
"end": 1917,
"loc": {
"start": {
"line": 68,
"column": 53
},
"end": {
"line": 68,
"column": 54
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1917,
"end": 1918,
"loc": {
"start": {
"line": 68,
"column": 54
},
"end": {
"line": 68,
"column": 55
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1918,
"end": 1919,
"loc": {
"start": {
"line": 68,
"column": 55
},
"end": {
"line": 68,
"column": 56
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1920,
"end": 1921,
"loc": {
"start": {
"line": 68,
"column": 57
},
"end": {
"line": 68,
"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": 1938,
"end": 1944,
"loc": {
"start": {
"line": 69,
"column": 16
},
"end": {
"line": 69,
"column": 22
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1944,
"end": 1945,
"loc": {
"start": {
"line": 69,
"column": 22
},
"end": {
"line": 69,
"column": 23
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1958,
"end": 1959,
"loc": {
"start": {
"line": 70,
"column": 12
},
"end": {
"line": 70,
"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": 1972,
"end": 1974,
"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": 1975,
"end": 1976,
"loc": {
"start": {
"line": 71,
"column": 15
},
"end": {
"line": 71,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 1976,
"end": 1982,
"loc": {
"start": {
"line": 71,
"column": 16
},
"end": {
"line": 71,
"column": 22
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1982,
"end": 1983,
"loc": {
"start": {
"line": 71,
"column": 22
},
"end": {
"line": 71,
"column": 23
}
}
},
{
"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": 24
},
"end": {
"line": 71,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 2002,
"end": 2008,
"loc": {
"start": {
"line": 72,
"column": 16
},
"end": {
"line": 72,
"column": 22
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2008,
"end": 2009,
"loc": {
"start": {
"line": 72,
"column": 22
},
"end": {
"line": 72,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "highlighted",
"start": 2009,
"end": 2020,
"loc": {
"start": {
"line": 72,
"column": 23
},
"end": {
"line": 72,
"column": 34
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2021,
"end": 2022,
"loc": {
"start": {
"line": 72,
"column": 35
},
"end": {
"line": 72,
"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": 2023,
"end": 2028,
"loc": {
"start": {
"line": 72,
"column": 37
},
"end": {
"line": 72,
"column": 42
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2028,
"end": 2029,
"loc": {
"start": {
"line": 72,
"column": 42
},
"end": {
"line": 72,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 2046,
"end": 2052,
"loc": {
"start": {
"line": 73,
"column": 16
},
"end": {
"line": 73,
"column": 22
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2053,
"end": 2054,
"loc": {
"start": {
"line": 73,
"column": 23
},
"end": {
"line": 73,
"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": 2055,
"end": 2059,
"loc": {
"start": {
"line": 73,
"column": 25
},
"end": {
"line": 73,
"column": 29
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2059,
"end": 2060,
"loc": {
"start": {
"line": 73,
"column": 29
},
"end": {
"line": 73,
"column": 30
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2073,
"end": 2074,
"loc": {
"start": {
"line": 74,
"column": 12
},
"end": {
"line": 74,
"column": 13
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2083,
"end": 2084,
"loc": {
"start": {
"line": 75,
"column": 8
},
"end": {
"line": 75,
"column": 9
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2084,
"end": 2085,
"loc": {
"start": {
"line": 75,
"column": 9
},
"end": {
"line": 75,
"column": 10
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2085,
"end": 2086,
"loc": {
"start": {
"line": 75,
"column": 10
},
"end": {
"line": 75,
"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": 2095,
"end": 2100,
"loc": {
"start": {
"line": 76,
"column": 8
},
"end": {
"line": 76,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "lastCoords",
"start": 2101,
"end": 2111,
"loc": {
"start": {
"line": 76,
"column": 14
},
"end": {
"line": 76,
"column": 24
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2112,
"end": 2113,
"loc": {
"start": {
"line": 76,
"column": 25
},
"end": {
"line": 76,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "math",
"start": 2114,
"end": 2118,
"loc": {
"start": {
"line": 76,
"column": 27
},
"end": {
"line": 76,
"column": 31
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2118,
"end": 2119,
"loc": {
"start": {
"line": 76,
"column": 31
},
"end": {
"line": 76,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "vec2",
"start": 2119,
"end": 2123,
"loc": {
"start": {
"line": 76,
"column": 32
},
"end": {
"line": 76,
"column": 36
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2123,
"end": 2124,
"loc": {
"start": {
"line": 76,
"column": 36
},
"end": {
"line": 76,
"column": 37
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2124,
"end": 2125,
"loc": {
"start": {
"line": 76,
"column": 37
},
"end": {
"line": 76,
"column": 38
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2125,
"end": 2126,
"loc": {
"start": {
"line": 76,
"column": 38
},
"end": {
"line": 76,
"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": 2135,
"end": 2139,
"loc": {
"start": {
"line": 77,
"column": 8
},
"end": {
"line": 77,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2139,
"end": 2140,
"loc": {
"start": {
"line": 77,
"column": 12
},
"end": {
"line": 77,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_onMousedown",
"start": 2140,
"end": 2152,
"loc": {
"start": {
"line": 77,
"column": 13
},
"end": {
"line": 77,
"column": 25
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2153,
"end": 2154,
"loc": {
"start": {
"line": 77,
"column": 26
},
"end": {
"line": 77,
"column": 27
}
}
},
{
"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": 2155,
"end": 2159,
"loc": {
"start": {
"line": 77,
"column": 28
},
"end": {
"line": 77,
"column": 32
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2159,
"end": 2160,
"loc": {
"start": {
"line": 77,
"column": 32
},
"end": {
"line": 77,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "viewer",
"start": 2160,
"end": 2166,
"loc": {
"start": {
"line": 77,
"column": 33
},
"end": {
"line": 77,
"column": 39
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2166,
"end": 2167,
"loc": {
"start": {
"line": 77,
"column": 39
},
"end": {
"line": 77,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scene",
"start": 2167,
"end": 2172,
"loc": {
"start": {
"line": 77,
"column": 40
},
"end": {
"line": 77,
"column": 45
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2172,
"end": 2173,
"loc": {
"start": {
"line": 77,
"column": 45
},
"end": {
"line": 77,
"column": 46
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "input",
"start": 2173,
"end": 2178,
"loc": {
"start": {
"line": 77,
"column": 46
},
"end": {
"line": 77,
"column": 51
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2178,
"end": 2179,
"loc": {
"start": {
"line": 77,
"column": 51
},
"end": {
"line": 77,
"column": 52
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "on",
"start": 2179,
"end": 2181,
"loc": {
"start": {
"line": 77,
"column": 52
},
"end": {
"line": 77,
"column": 54
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2181,
"end": 2182,
"loc": {
"start": {
"line": 77,
"column": 54
},
"end": {
"line": 77,
"column": 55
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "mousedown",
"start": 2182,
"end": 2193,
"loc": {
"start": {
"line": 77,
"column": 55
},
"end": {
"line": 77,
"column": 66
}
}
},
{
"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": 77,
"column": 66
},
"end": {
"line": 77,
"column": 67
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2195,
"end": 2196,
"loc": {
"start": {
"line": 77,
"column": 68
},
"end": {
"line": 77,
"column": 69
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "coords",
"start": 2196,
"end": 2202,
"loc": {
"start": {
"line": 77,
"column": 69
},
"end": {
"line": 77,
"column": 75
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2202,
"end": 2203,
"loc": {
"start": {
"line": 77,
"column": 75
},
"end": {
"line": 77,
"column": 76
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2204,
"end": 2206,
"loc": {
"start": {
"line": 77,
"column": 77
},
"end": {
"line": 77,
"column": 79
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2207,
"end": 2208,
"loc": {
"start": {
"line": 77,
"column": 80
},
"end": {
"line": 77,
"column": 81
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "lastCoords",
"start": 2221,
"end": 2231,
"loc": {
"start": {
"line": 78,
"column": 12
},
"end": {
"line": 78,
"column": 22
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2231,
"end": 2232,
"loc": {
"start": {
"line": 78,
"column": 22
},
"end": {
"line": 78,
"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": 2232,
"end": 2233,
"loc": {
"start": {
"line": 78,
"column": 23
},
"end": {
"line": 78,
"column": 24
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2233,
"end": 2234,
"loc": {
"start": {
"line": 78,
"column": 24
},
"end": {
"line": 78,
"column": 25
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2235,
"end": 2236,
"loc": {
"start": {
"line": 78,
"column": 26
},
"end": {
"line": 78,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "coords",
"start": 2237,
"end": 2243,
"loc": {
"start": {
"line": 78,
"column": 28
},
"end": {
"line": 78,
"column": 34
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2243,
"end": 2244,
"loc": {
"start": {
"line": 78,
"column": 34
},
"end": {
"line": 78,
"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": 2244,
"end": 2245,
"loc": {
"start": {
"line": 78,
"column": 35
},
"end": {
"line": 78,
"column": 36
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2245,
"end": 2246,
"loc": {
"start": {
"line": 78,
"column": 36
},
"end": {
"line": 78,
"column": 37
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2246,
"end": 2247,
"loc": {
"start": {
"line": 78,
"column": 37
},
"end": {
"line": 78,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "lastCoords",
"start": 2260,
"end": 2270,
"loc": {
"start": {
"line": 79,
"column": 12
},
"end": {
"line": 79,
"column": 22
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2270,
"end": 2271,
"loc": {
"start": {
"line": 79,
"column": 22
},
"end": {
"line": 79,
"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": 2271,
"end": 2272,
"loc": {
"start": {
"line": 79,
"column": 23
},
"end": {
"line": 79,
"column": 24
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2272,
"end": 2273,
"loc": {
"start": {
"line": 79,
"column": 24
},
"end": {
"line": 79,
"column": 25
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2274,
"end": 2275,
"loc": {
"start": {
"line": 79,
"column": 26
},
"end": {
"line": 79,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "coords",
"start": 2276,
"end": 2282,
"loc": {
"start": {
"line": 79,
"column": 28
},
"end": {
"line": 79,
"column": 34
}
}
},
{
"type": {
"label": "[",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2282,
"end": 2283,
"loc": {
"start": {
"line": 79,
"column": 34
},
"end": {
"line": 79,
"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": 2283,
"end": 2284,
"loc": {
"start": {
"line": 79,
"column": 35
},
"end": {
"line": 79,
"column": 36
}
}
},
{
"type": {
"label": "]",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2284,
"end": 2285,
"loc": {
"start": {
"line": 79,
"column": 36
},
"end": {
"line": 79,
"column": 37
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2285,
"end": 2286,
"loc": {
"start": {
"line": 79,
"column": 37
},
"end": {
"line": 79,
"column": 38
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2295,
"end": 2296,
"loc": {
"start": {
"line": 80,
"column": 8
},
"end": {
"line": 80,
"column": 9
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2296,
"end": 2297,
"loc": {
"start": {
"line": 80,
"column": 9
},
"end": {
"line": 80,
"column": 10
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2297,
"end": 2298,
"loc": {
"start": {
"line": 80,
"column": 10
},
"end": {
"line": 80,
"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": 2307,
"end": 2311,
"loc": {
"start": {
"line": 81,
"column": 8
},
"end": {
"line": 81,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2311,
"end": 2312,
"loc": {
"start": {
"line": 81,
"column": 12
},
"end": {
"line": 81,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_onMouseup",
"start": 2312,
"end": 2322,
"loc": {
"start": {
"line": 81,
"column": 13
},
"end": {
"line": 81,
"column": 23
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2323,
"end": 2324,
"loc": {
"start": {
"line": 81,
"column": 24
},
"end": {
"line": 81,
"column": 25
}
}
},
{
"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": 2325,
"end": 2329,
"loc": {
"start": {
"line": 81,
"column": 26
},
"end": {
"line": 81,
"column": 30
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2329,
"end": 2330,
"loc": {
"start": {
"line": 81,
"column": 30
},
"end": {
"line": 81,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "viewer",
"start": 2330,
"end": 2336,
"loc": {
"start": {
"line": 81,
"column": 31
},
"end": {
"line": 81,
"column": 37
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2336,
"end": 2337,
"loc": {
"start": {
"line": 81,
"column": 37
},
"end": {
"line": 81,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "scene",
"start": 2337,
"end": 2342,
"loc": {
"start": {
"line": 81,
"column": 38
},
"end": {
"line": 81,
"column": 43
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2342,
"end": 2343,
"loc": {
"start": {
"line": 81,
"column": 43
},
"end": {
"line": 81,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "input",
"start": 2343,
"end": 2348,
"loc": {
"start": {
"line": 81,
"column": 44
},
"end": {
"line": 81,
"column": 49
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2348,
"end": 2349,
"loc": {
"start": {
"line": 81,
"column": 49
},
"end": {
"line": 81,
"column": 50
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "on",
"start": 2349,
"end": 2351,
"loc": {
"start": {
"line": 81,
"column": 50
},
"end": {
"line": 81,
"column": 52
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2351,
"end": 2352,
"loc": {
"start": {
"line": 81,
"column": 52
},
"end": {
"line": 81,
"column": 53
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "mouseup",
"start": 2352,
"end": 2361,
"loc": {
"start": {
"line": 81,
"column": 53
},
"end": {
"line": 81,
"column": 62
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2361,
"end": 2362,
"loc": {
"start": {
"line": 81,
"column": 62
},
"end": {
"line": 81,
"column": 63
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2363,
"end": 2364,
"loc": {
"start": {
"line": 81,
"column": 64
},
"end": {
"line": 81,
"column": 65
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "coords",
"start": 2364,
"end": 2370,
"loc": {
"start": {
"line": 81,
"column": 65
},
"end": {
"line": 81,
"column": 71
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2370,
"end": 2371,
"loc": {
"start": {
"line": 81,
"column": 71
},
"end": {
"line": 81,
"column": 72
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2372,
"end": 2374,
"loc": {
"start": {
"line": 81,
"column": 73
},
"end": {
"line": 81,
"column": 75
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2375,
"end": 2376,
"loc": {
"start": {
"line": 81,
"column": 76
},
"end": {
"line": 81,
"column": 77
}
}
},
{
"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": 2389,
"end": 2391,
"loc": {
"start": {
"line": 82,
"column": 12
},
"end": {
"line": 82,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2392,
"end": 2393,
"loc": {
"start": {
"line": 82,
"column": 15
},
"end": {
"line": 82,
"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": 2393,
"end": 2394,
"loc": {
"start": {
"line": 82,
"column": 16
},
"end": {
"line": 82,
"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": 2394,
"end": 2398,
"loc": {
"start": {
"line": 82,
"column": 17
},
"end": {
"line": 82,
"column": 21
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2398,
"end": 2399,
"loc": {
"start": {
"line": 82,
"column": 21
},
"end": {
"line": 82,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getActive",
"start": 2399,
"end": 2408,
"loc": {
"start": {
"line": 82,
"column": 22
},
"end": {
"line": 82,
"column": 31
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2408,
"end": 2409,
"loc": {
"start": {
"line": 82,
"column": 31
},
"end": {
"line": 82,
"column": 32
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2409,
"end": 2410,
"loc": {
"start": {
"line": 82,
"column": 32
},
"end": {
"line": 82,
"column": 33
}
}
},
{
"type": {
"label": "||",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 1,
"updateContext": null
},
"value": "||",
"start": 2411,
"end": 2413,
"loc": {
"start": {
"line": 82,
"column": 34
},
"end": {
"line": 82,
"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": 2414,
"end": 2415,
"loc": {
"start": {
"line": 82,
"column": 37
},
"end": {
"line": 82,
"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": 2415,
"end": 2419,
"loc": {
"start": {
"line": 82,
"column": 38
},
"end": {
"line": 82,
"column": 42
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2419,
"end": 2420,
"loc": {
"start": {
"line": 82,
"column": 42
},
"end": {
"line": 82,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getEnabled",
"start": 2420,
"end": 2430,
"loc": {
"start": {
"line": 82,
"column": 43
},
"end": {
"line": 82,
"column": 53
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2430,
"end": 2431,
"loc": {
"start": {
"line": 82,
"column": 53
},
"end": {
"line": 82,
"column": 54
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2431,
"end": 2432,
"loc": {
"start": {
"line": 82,
"column": 54
},
"end": {
"line": 82,
"column": 55
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2432,
"end": 2433,
"loc": {
"start": {
"line": 82,
"column": 55
},
"end": {
"line": 82,
"column": 56
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2434,
"end": 2435,
"loc": {
"start": {
"line": 82,
"column": 57
},
"end": {
"line": 82,
"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": 2452,
"end": 2458,
"loc": {
"start": {
"line": 83,
"column": 16
},
"end": {
"line": 83,
"column": 22
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2458,
"end": 2459,
"loc": {
"start": {
"line": 83,
"column": 22
},
"end": {
"line": 83,
"column": 23
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2472,
"end": 2473,
"loc": {
"start": {
"line": 84,
"column": 12
},
"end": {
"line": 84,
"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": 2486,
"end": 2488,
"loc": {
"start": {
"line": 85,
"column": 12
},
"end": {
"line": 85,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2489,
"end": 2490,
"loc": {
"start": {
"line": 85,
"column": 15
},
"end": {
"line": 85,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 2490,
"end": 2496,
"loc": {
"start": {
"line": 85,
"column": 16
},
"end": {
"line": 85,
"column": 22
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2496,
"end": 2497,
"loc": {
"start": {
"line": 85,
"column": 22
},
"end": {
"line": 85,
"column": 23
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2498,
"end": 2499,
"loc": {
"start": {
"line": 85,
"column": 24
},
"end": {
"line": 85,
"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": 2516,
"end": 2518,
"loc": {
"start": {
"line": 86,
"column": 16
},
"end": {
"line": 86,
"column": 18
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2519,
"end": 2520,
"loc": {
"start": {
"line": 86,
"column": 19
},
"end": {
"line": 86,
"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": 2520,
"end": 2521,
"loc": {
"start": {
"line": 86,
"column": 20
},
"end": {
"line": 86,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "closeEnough",
"start": 2521,
"end": 2532,
"loc": {
"start": {
"line": 86,
"column": 21
},
"end": {
"line": 86,
"column": 32
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2532,
"end": 2533,
"loc": {
"start": {
"line": 86,
"column": 32
},
"end": {
"line": 86,
"column": 33
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "lastCoords",
"start": 2533,
"end": 2543,
"loc": {
"start": {
"line": 86,
"column": 33
},
"end": {
"line": 86,
"column": 43
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2543,
"end": 2544,
"loc": {
"start": {
"line": 86,
"column": 43
},
"end": {
"line": 86,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "coords",
"start": 2545,
"end": 2551,
"loc": {
"start": {
"line": 86,
"column": 45
},
"end": {
"line": 86,
"column": 51
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2551,
"end": 2552,
"loc": {
"start": {
"line": 86,
"column": 51
},
"end": {
"line": 86,
"column": 52
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2552,
"end": 2553,
"loc": {
"start": {
"line": 86,
"column": 52
},
"end": {
"line": 86,
"column": 53
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2554,
"end": 2555,
"loc": {
"start": {
"line": 86,
"column": 54
},
"end": {
"line": 86,
"column": 55
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 2576,
"end": 2582,
"loc": {
"start": {
"line": 87,
"column": 20
},
"end": {
"line": 87,
"column": 26
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2583,
"end": 2584,
"loc": {
"start": {
"line": 87,
"column": 27
},
"end": {
"line": 87,
"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": 2585,
"end": 2589,
"loc": {
"start": {
"line": 87,
"column": 29
},
"end": {
"line": 87,
"column": 33
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2589,
"end": 2590,
"loc": {
"start": {
"line": 87,
"column": 33
},
"end": {
"line": 87,
"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": 2611,
"end": 2617,
"loc": {
"start": {
"line": 88,
"column": 20
},
"end": {
"line": 88,
"column": 26
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2617,
"end": 2618,
"loc": {
"start": {
"line": 88,
"column": 26
},
"end": {
"line": 88,
"column": 27
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2635,
"end": 2636,
"loc": {
"start": {
"line": 89,
"column": 16
},
"end": {
"line": 89,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 2653,
"end": 2659,
"loc": {
"start": {
"line": 90,
"column": 16
},
"end": {
"line": 90,
"column": 22
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2659,
"end": 2660,
"loc": {
"start": {
"line": 90,
"column": 22
},
"end": {
"line": 90,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "visible",
"start": 2660,
"end": 2667,
"loc": {
"start": {
"line": 90,
"column": 23
},
"end": {
"line": 90,
"column": 30
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2668,
"end": 2669,
"loc": {
"start": {
"line": 90,
"column": 31
},
"end": {
"line": 90,
"column": 32
}
}
},
{
"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": 2670,
"end": 2675,
"loc": {
"start": {
"line": 90,
"column": 33
},
"end": {
"line": 90,
"column": 38
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2675,
"end": 2676,
"loc": {
"start": {
"line": 90,
"column": 38
},
"end": {
"line": 90,
"column": 39
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 2693,
"end": 2699,
"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,
"updateContext": null
},
"start": 2699,
"end": 2700,
"loc": {
"start": {
"line": 91,
"column": 22
},
"end": {
"line": 91,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "highlighted",
"start": 2700,
"end": 2711,
"loc": {
"start": {
"line": 91,
"column": 23
},
"end": {
"line": 91,
"column": 34
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2712,
"end": 2713,
"loc": {
"start": {
"line": 91,
"column": 35
},
"end": {
"line": 91,
"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": 2714,
"end": 2719,
"loc": {
"start": {
"line": 91,
"column": 37
},
"end": {
"line": 91,
"column": 42
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2719,
"end": 2720,
"loc": {
"start": {
"line": 91,
"column": 42
},
"end": {
"line": 91,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 2737,
"end": 2743,
"loc": {
"start": {
"line": 92,
"column": 16
},
"end": {
"line": 92,
"column": 22
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 2744,
"end": 2745,
"loc": {
"start": {
"line": 92,
"column": 23
},
"end": {
"line": 92,
"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": 2746,
"end": 2750,
"loc": {
"start": {
"line": 92,
"column": 25
},
"end": {
"line": 92,
"column": 29
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2750,
"end": 2751,
"loc": {
"start": {
"line": 92,
"column": 29
},
"end": {
"line": 92,
"column": 30
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2764,
"end": 2765,
"loc": {
"start": {
"line": 93,
"column": 12
},
"end": {
"line": 93,
"column": 13
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2774,
"end": 2775,
"loc": {
"start": {
"line": 94,
"column": 8
},
"end": {
"line": 94,
"column": 9
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2775,
"end": 2776,
"loc": {
"start": {
"line": 94,
"column": 9
},
"end": {
"line": 94,
"column": 10
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2776,
"end": 2777,
"loc": {
"start": {
"line": 94,
"column": 10
},
"end": {
"line": 94,
"column": 11
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2782,
"end": 2783,
"loc": {
"start": {
"line": 95,
"column": 4
},
"end": {
"line": 95,
"column": 5
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2784,
"end": 2785,
"loc": {
"start": {
"line": 96,
"column": 0
},
"end": {
"line": 96,
"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": 2787,
"end": 2793,
"loc": {
"start": {
"line": 98,
"column": 0
},
"end": {
"line": 98,
"column": 6
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2794,
"end": 2795,
"loc": {
"start": {
"line": 98,
"column": 7
},
"end": {
"line": 98,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "HideMode",
"start": 2795,
"end": 2803,
"loc": {
"start": {
"line": 98,
"column": 8
},
"end": {
"line": 98,
"column": 16
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2803,
"end": 2804,
"loc": {
"start": {
"line": 98,
"column": 16
},
"end": {
"line": 98,
"column": 17
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2804,
"end": 2805,
"loc": {
"start": {
"line": 98,
"column": 17
},
"end": {
"line": 98,
"column": 18
}
}
},
{
"type": {
"label": "eof",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2805,
"end": 2805,
"loc": {
"start": {
"line": 98,
"column": 18
},
"end": {
"line": 98,
"column": 18
}
}
}
]
}