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

14723 lines
498 KiB
JSON

{
"type": "File",
"start": 0,
"end": 1663,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 57,
"column": 23
}
},
"program": {
"type": "Program",
"start": 0,
"end": 1663,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 57,
"column": 23
}
},
"sourceType": "module",
"body": [
{
"type": "ImportDeclaration",
"start": 0,
"end": 44,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 44
}
},
"specifiers": [
{
"type": "ImportSpecifier",
"start": 8,
"end": 18,
"loc": {
"start": {
"line": 1,
"column": 8
},
"end": {
"line": 1,
"column": 18
}
},
"imported": {
"type": "Identifier",
"start": 8,
"end": 18,
"loc": {
"start": {
"line": 1,
"column": 8
},
"end": {
"line": 1,
"column": 18
},
"identifierName": "Controller"
},
"name": "Controller"
},
"local": {
"type": "Identifier",
"start": 8,
"end": 18,
"loc": {
"start": {
"line": 1,
"column": 8
},
"end": {
"line": 1,
"column": 18
},
"identifierName": "Controller"
},
"name": "Controller"
}
}
],
"source": {
"type": "StringLiteral",
"start": 25,
"end": 43,
"loc": {
"start": {
"line": 1,
"column": 25
},
"end": {
"line": 1,
"column": 43
}
},
"extra": {
"rawValue": "../Controller.js",
"raw": "\"../Controller.js\""
},
"value": "../Controller.js"
},
"trailingComments": [
{
"type": "CommentBlock",
"value": "* @private ",
"start": 46,
"end": 61,
"loc": {
"start": {
"line": 3,
"column": 0
},
"end": {
"line": 3,
"column": 15
}
}
}
]
},
{
"type": "Identifier",
"start": 62,
"end": 1638,
"loc": {
"start": {
"line": 4,
"column": 0
},
"end": {
"line": 55,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 68,
"end": 81,
"loc": {
"start": {
"line": 4,
"column": 6
},
"end": {
"line": 4,
"column": 19
},
"identifierName": "SelectionTool"
},
"name": "SelectionTool",
"leadingComments": null
},
"superClass": {
"type": "Identifier",
"start": 90,
"end": 100,
"loc": {
"start": {
"line": 4,
"column": 28
},
"end": {
"line": 4,
"column": 38
},
"identifierName": "Controller"
},
"name": "Controller"
},
"body": {
"type": "ClassBody",
"start": 101,
"end": 1638,
"loc": {
"start": {
"line": 4,
"column": 39
},
"end": {
"line": 55,
"column": 1
}
},
"body": [
{
"type": "ClassMethod",
"start": 108,
"end": 1636,
"loc": {
"start": {
"line": 6,
"column": 4
},
"end": {
"line": 54,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 108,
"end": 119,
"loc": {
"start": {
"line": 6,
"column": 4
},
"end": {
"line": 6,
"column": 15
},
"identifierName": "constructor"
},
"name": "constructor"
},
"kind": "constructor",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 120,
"end": 126,
"loc": {
"start": {
"line": 6,
"column": 16
},
"end": {
"line": 6,
"column": 22
},
"identifierName": "parent"
},
"name": "parent"
},
{
"type": "Identifier",
"start": 128,
"end": 131,
"loc": {
"start": {
"line": 6,
"column": 24
},
"end": {
"line": 6,
"column": 27
},
"identifierName": "cfg"
},
"name": "cfg"
}
],
"body": {
"type": "BlockStatement",
"start": 133,
"end": 1636,
"loc": {
"start": {
"line": 6,
"column": 29
},
"end": {
"line": 54,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 144,
"end": 158,
"loc": {
"start": {
"line": 8,
"column": 8
},
"end": {
"line": 8,
"column": 22
}
},
"expression": {
"type": "CallExpression",
"start": 144,
"end": 157,
"loc": {
"start": {
"line": 8,
"column": 8
},
"end": {
"line": 8,
"column": 21
}
},
"callee": {
"type": "Super",
"start": 144,
"end": 149,
"loc": {
"start": {
"line": 8,
"column": 8
},
"end": {
"line": 8,
"column": 13
}
}
},
"arguments": [
{
"type": "Identifier",
"start": 150,
"end": 156,
"loc": {
"start": {
"line": 8,
"column": 14
},
"end": {
"line": 8,
"column": 20
},
"identifierName": "parent"
},
"name": "parent"
}
]
}
},
{
"type": "IfStatement",
"start": 168,
"end": 254,
"loc": {
"start": {
"line": 10,
"column": 8
},
"end": {
"line": 12,
"column": 9
}
},
"test": {
"type": "UnaryExpression",
"start": 172,
"end": 190,
"loc": {
"start": {
"line": 10,
"column": 12
},
"end": {
"line": 10,
"column": 30
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "MemberExpression",
"start": 173,
"end": 190,
"loc": {
"start": {
"line": 10,
"column": 13
},
"end": {
"line": 10,
"column": 30
}
},
"object": {
"type": "Identifier",
"start": 173,
"end": 176,
"loc": {
"start": {
"line": 10,
"column": 13
},
"end": {
"line": 10,
"column": 16
},
"identifierName": "cfg"
},
"name": "cfg"
},
"property": {
"type": "Identifier",
"start": 177,
"end": 190,
"loc": {
"start": {
"line": 10,
"column": 17
},
"end": {
"line": 10,
"column": 30
},
"identifierName": "buttonElement"
},
"name": "buttonElement"
},
"computed": false
},
"extra": {
"parenthesizedArgument": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 192,
"end": 254,
"loc": {
"start": {
"line": 10,
"column": 32
},
"end": {
"line": 12,
"column": 9
}
},
"body": [
{
"type": "ThrowStatement",
"start": 206,
"end": 244,
"loc": {
"start": {
"line": 11,
"column": 12
},
"end": {
"line": 11,
"column": 50
}
},
"argument": {
"type": "StringLiteral",
"start": 212,
"end": 243,
"loc": {
"start": {
"line": 11,
"column": 18
},
"end": {
"line": 11,
"column": 49
}
},
"extra": {
"rawValue": "Missing config: buttonElement",
"raw": "\"Missing config: buttonElement\""
},
"value": "Missing config: buttonElement"
}
}
],
"directives": []
},
"alternate": null
},
{
"type": "VariableDeclaration",
"start": 264,
"end": 304,
"loc": {
"start": {
"line": 14,
"column": 8
},
"end": {
"line": 14,
"column": 48
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 270,
"end": 303,
"loc": {
"start": {
"line": 14,
"column": 14
},
"end": {
"line": 14,
"column": 47
}
},
"id": {
"type": "Identifier",
"start": 270,
"end": 283,
"loc": {
"start": {
"line": 14,
"column": 14
},
"end": {
"line": 14,
"column": 27
},
"identifierName": "buttonElement"
},
"name": "buttonElement"
},
"init": {
"type": "MemberExpression",
"start": 286,
"end": 303,
"loc": {
"start": {
"line": 14,
"column": 30
},
"end": {
"line": 14,
"column": 47
}
},
"object": {
"type": "Identifier",
"start": 286,
"end": 289,
"loc": {
"start": {
"line": 14,
"column": 30
},
"end": {
"line": 14,
"column": 33
},
"identifierName": "cfg"
},
"name": "cfg"
},
"property": {
"type": "Identifier",
"start": 290,
"end": 303,
"loc": {
"start": {
"line": 14,
"column": 34
},
"end": {
"line": 14,
"column": 47
},
"identifierName": "buttonElement"
},
"name": "buttonElement"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "ExpressionStatement",
"start": 314,
"end": 539,
"loc": {
"start": {
"line": 16,
"column": 8
},
"end": {
"line": 22,
"column": 11
}
},
"expression": {
"type": "CallExpression",
"start": 314,
"end": 538,
"loc": {
"start": {
"line": 16,
"column": 8
},
"end": {
"line": 22,
"column": 10
}
},
"callee": {
"type": "MemberExpression",
"start": 314,
"end": 321,
"loc": {
"start": {
"line": 16,
"column": 8
},
"end": {
"line": 16,
"column": 15
}
},
"object": {
"type": "ThisExpression",
"start": 314,
"end": 318,
"loc": {
"start": {
"line": 16,
"column": 8
},
"end": {
"line": 16,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 319,
"end": 321,
"loc": {
"start": {
"line": 16,
"column": 13
},
"end": {
"line": 16,
"column": 15
},
"identifierName": "on"
},
"name": "on"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 322,
"end": 331,
"loc": {
"start": {
"line": 16,
"column": 16
},
"end": {
"line": 16,
"column": 25
}
},
"extra": {
"rawValue": "enabled",
"raw": "\"enabled\""
},
"value": "enabled"
},
{
"type": "ArrowFunctionExpression",
"start": 333,
"end": 537,
"loc": {
"start": {
"line": 16,
"column": 27
},
"end": {
"line": 22,
"column": 9
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 334,
"end": 341,
"loc": {
"start": {
"line": 16,
"column": 28
},
"end": {
"line": 16,
"column": 35
},
"identifierName": "enabled"
},
"name": "enabled"
}
],
"body": {
"type": "BlockStatement",
"start": 346,
"end": 537,
"loc": {
"start": {
"line": 16,
"column": 40
},
"end": {
"line": 22,
"column": 9
}
},
"body": [
{
"type": "IfStatement",
"start": 360,
"end": 527,
"loc": {
"start": {
"line": 17,
"column": 12
},
"end": {
"line": 21,
"column": 13
}
},
"test": {
"type": "UnaryExpression",
"start": 364,
"end": 372,
"loc": {
"start": {
"line": 17,
"column": 16
},
"end": {
"line": 17,
"column": 24
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 365,
"end": 372,
"loc": {
"start": {
"line": 17,
"column": 17
},
"end": {
"line": 17,
"column": 24
},
"identifierName": "enabled"
},
"name": "enabled"
},
"extra": {
"parenthesizedArgument": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 374,
"end": 446,
"loc": {
"start": {
"line": 17,
"column": 26
},
"end": {
"line": 19,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 392,
"end": 432,
"loc": {
"start": {
"line": 18,
"column": 16
},
"end": {
"line": 18,
"column": 56
}
},
"expression": {
"type": "CallExpression",
"start": 392,
"end": 431,
"loc": {
"start": {
"line": 18,
"column": 16
},
"end": {
"line": 18,
"column": 55
}
},
"callee": {
"type": "MemberExpression",
"start": 392,
"end": 419,
"loc": {
"start": {
"line": 18,
"column": 16
},
"end": {
"line": 18,
"column": 43
}
},
"object": {
"type": "MemberExpression",
"start": 392,
"end": 415,
"loc": {
"start": {
"line": 18,
"column": 16
},
"end": {
"line": 18,
"column": 39
}
},
"object": {
"type": "Identifier",
"start": 392,
"end": 405,
"loc": {
"start": {
"line": 18,
"column": 16
},
"end": {
"line": 18,
"column": 29
},
"identifierName": "buttonElement"
},
"name": "buttonElement"
},
"property": {
"type": "Identifier",
"start": 406,
"end": 415,
"loc": {
"start": {
"line": 18,
"column": 30
},
"end": {
"line": 18,
"column": 39
},
"identifierName": "classList"
},
"name": "classList"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 416,
"end": 419,
"loc": {
"start": {
"line": 18,
"column": 40
},
"end": {
"line": 18,
"column": 43
},
"identifierName": "add"
},
"name": "add"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 420,
"end": 430,
"loc": {
"start": {
"line": 18,
"column": 44
},
"end": {
"line": 18,
"column": 54
}
},
"extra": {
"rawValue": "disabled",
"raw": "\"disabled\""
},
"value": "disabled"
}
]
}
}
],
"directives": []
},
"alternate": {
"type": "BlockStatement",
"start": 452,
"end": 527,
"loc": {
"start": {
"line": 19,
"column": 19
},
"end": {
"line": 21,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 470,
"end": 513,
"loc": {
"start": {
"line": 20,
"column": 16
},
"end": {
"line": 20,
"column": 59
}
},
"expression": {
"type": "CallExpression",
"start": 470,
"end": 512,
"loc": {
"start": {
"line": 20,
"column": 16
},
"end": {
"line": 20,
"column": 58
}
},
"callee": {
"type": "MemberExpression",
"start": 470,
"end": 500,
"loc": {
"start": {
"line": 20,
"column": 16
},
"end": {
"line": 20,
"column": 46
}
},
"object": {
"type": "MemberExpression",
"start": 470,
"end": 493,
"loc": {
"start": {
"line": 20,
"column": 16
},
"end": {
"line": 20,
"column": 39
}
},
"object": {
"type": "Identifier",
"start": 470,
"end": 483,
"loc": {
"start": {
"line": 20,
"column": 16
},
"end": {
"line": 20,
"column": 29
},
"identifierName": "buttonElement"
},
"name": "buttonElement"
},
"property": {
"type": "Identifier",
"start": 484,
"end": 493,
"loc": {
"start": {
"line": 20,
"column": 30
},
"end": {
"line": 20,
"column": 39
},
"identifierName": "classList"
},
"name": "classList"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 494,
"end": 500,
"loc": {
"start": {
"line": 20,
"column": 40
},
"end": {
"line": 20,
"column": 46
},
"identifierName": "remove"
},
"name": "remove"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 501,
"end": 511,
"loc": {
"start": {
"line": 20,
"column": 47
},
"end": {
"line": 20,
"column": 57
}
},
"extra": {
"rawValue": "disabled",
"raw": "\"disabled\""
},
"value": "disabled"
}
]
}
}
],
"directives": []
}
}
],
"directives": []
}
}
]
}
},
{
"type": "ExpressionStatement",
"start": 549,
"end": 1229,
"loc": {
"start": {
"line": 24,
"column": 8
},
"end": {
"line": 40,
"column": 11
}
},
"expression": {
"type": "CallExpression",
"start": 549,
"end": 1228,
"loc": {
"start": {
"line": 24,
"column": 8
},
"end": {
"line": 40,
"column": 10
}
},
"callee": {
"type": "MemberExpression",
"start": 549,
"end": 556,
"loc": {
"start": {
"line": 24,
"column": 8
},
"end": {
"line": 24,
"column": 15
}
},
"object": {
"type": "ThisExpression",
"start": 549,
"end": 553,
"loc": {
"start": {
"line": 24,
"column": 8
},
"end": {
"line": 24,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 554,
"end": 556,
"loc": {
"start": {
"line": 24,
"column": 13
},
"end": {
"line": 24,
"column": 15
},
"identifierName": "on"
},
"name": "on"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 557,
"end": 565,
"loc": {
"start": {
"line": 24,
"column": 16
},
"end": {
"line": 24,
"column": 24
}
},
"extra": {
"rawValue": "active",
"raw": "\"active\""
},
"value": "active"
},
{
"type": "ArrowFunctionExpression",
"start": 567,
"end": 1227,
"loc": {
"start": {
"line": 24,
"column": 26
},
"end": {
"line": 40,
"column": 9
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 568,
"end": 574,
"loc": {
"start": {
"line": 24,
"column": 27
},
"end": {
"line": 24,
"column": 33
},
"identifierName": "active"
},
"name": "active"
}
],
"body": {
"type": "BlockStatement",
"start": 579,
"end": 1227,
"loc": {
"start": {
"line": 24,
"column": 38
},
"end": {
"line": 40,
"column": 9
}
},
"body": [
{
"type": "IfStatement",
"start": 593,
"end": 1217,
"loc": {
"start": {
"line": 25,
"column": 12
},
"end": {
"line": 39,
"column": 13
}
},
"test": {
"type": "Identifier",
"start": 597,
"end": 603,
"loc": {
"start": {
"line": 25,
"column": 16
},
"end": {
"line": 25,
"column": 22
},
"identifierName": "active"
},
"name": "active"
},
"consequent": {
"type": "BlockStatement",
"start": 605,
"end": 959,
"loc": {
"start": {
"line": 25,
"column": 24
},
"end": {
"line": 33,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 623,
"end": 661,
"loc": {
"start": {
"line": 26,
"column": 16
},
"end": {
"line": 26,
"column": 54
}
},
"expression": {
"type": "CallExpression",
"start": 623,
"end": 660,
"loc": {
"start": {
"line": 26,
"column": 16
},
"end": {
"line": 26,
"column": 53
}
},
"callee": {
"type": "MemberExpression",
"start": 623,
"end": 650,
"loc": {
"start": {
"line": 26,
"column": 16
},
"end": {
"line": 26,
"column": 43
}
},
"object": {
"type": "MemberExpression",
"start": 623,
"end": 646,
"loc": {
"start": {
"line": 26,
"column": 16
},
"end": {
"line": 26,
"column": 39
}
},
"object": {
"type": "Identifier",
"start": 623,
"end": 636,
"loc": {
"start": {
"line": 26,
"column": 16
},
"end": {
"line": 26,
"column": 29
},
"identifierName": "buttonElement"
},
"name": "buttonElement"
},
"property": {
"type": "Identifier",
"start": 637,
"end": 646,
"loc": {
"start": {
"line": 26,
"column": 30
},
"end": {
"line": 26,
"column": 39
},
"identifierName": "classList"
},
"name": "classList"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 647,
"end": 650,
"loc": {
"start": {
"line": 26,
"column": 40
},
"end": {
"line": 26,
"column": 43
},
"identifierName": "add"
},
"name": "add"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 651,
"end": 659,
"loc": {
"start": {
"line": 26,
"column": 44
},
"end": {
"line": 26,
"column": 52
}
},
"extra": {
"rawValue": "active",
"raw": "\"active\""
},
"value": "active"
}
]
}
},
{
"type": "ExpressionStatement",
"start": 678,
"end": 945,
"loc": {
"start": {
"line": 27,
"column": 16
},
"end": {
"line": 32,
"column": 19
}
},
"expression": {
"type": "AssignmentExpression",
"start": 678,
"end": 944,
"loc": {
"start": {
"line": 27,
"column": 16
},
"end": {
"line": 32,
"column": 18
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 678,
"end": 690,
"loc": {
"start": {
"line": 27,
"column": 16
},
"end": {
"line": 27,
"column": 28
}
},
"object": {
"type": "ThisExpression",
"start": 678,
"end": 682,
"loc": {
"start": {
"line": 27,
"column": 16
},
"end": {
"line": 27,
"column": 20
}
}
},
"property": {
"type": "Identifier",
"start": 683,
"end": 690,
"loc": {
"start": {
"line": 27,
"column": 21
},
"end": {
"line": 27,
"column": 28
},
"identifierName": "_onPick"
},
"name": "_onPick"
},
"computed": false
},
"right": {
"type": "CallExpression",
"start": 693,
"end": 944,
"loc": {
"start": {
"line": 27,
"column": 31
},
"end": {
"line": 32,
"column": 18
}
},
"callee": {
"type": "MemberExpression",
"start": 693,
"end": 721,
"loc": {
"start": {
"line": 27,
"column": 31
},
"end": {
"line": 27,
"column": 59
}
},
"object": {
"type": "MemberExpression",
"start": 693,
"end": 718,
"loc": {
"start": {
"line": 27,
"column": 31
},
"end": {
"line": 27,
"column": 56
}
},
"object": {
"type": "MemberExpression",
"start": 693,
"end": 704,
"loc": {
"start": {
"line": 27,
"column": 31
},
"end": {
"line": 27,
"column": 42
}
},
"object": {
"type": "ThisExpression",
"start": 693,
"end": 697,
"loc": {
"start": {
"line": 27,
"column": 31
},
"end": {
"line": 27,
"column": 35
}
}
},
"property": {
"type": "Identifier",
"start": 698,
"end": 704,
"loc": {
"start": {
"line": 27,
"column": 36
},
"end": {
"line": 27,
"column": 42
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 705,
"end": 718,
"loc": {
"start": {
"line": 27,
"column": 43
},
"end": {
"line": 27,
"column": 56
},
"identifierName": "cameraControl"
},
"name": "cameraControl"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 719,
"end": 721,
"loc": {
"start": {
"line": 27,
"column": 57
},
"end": {
"line": 27,
"column": 59
},
"identifierName": "on"
},
"name": "on"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 722,
"end": 730,
"loc": {
"start": {
"line": 27,
"column": 60
},
"end": {
"line": 27,
"column": 68
}
},
"extra": {
"rawValue": "picked",
"raw": "\"picked\""
},
"value": "picked"
},
{
"type": "ArrowFunctionExpression",
"start": 732,
"end": 943,
"loc": {
"start": {
"line": 27,
"column": 70
},
"end": {
"line": 32,
"column": 17
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 733,
"end": 743,
"loc": {
"start": {
"line": 27,
"column": 71
},
"end": {
"line": 27,
"column": 81
},
"identifierName": "pickResult"
},
"name": "pickResult"
}
],
"body": {
"type": "BlockStatement",
"start": 748,
"end": 943,
"loc": {
"start": {
"line": 27,
"column": 86
},
"end": {
"line": 32,
"column": 17
}
},
"body": [
{
"type": "IfStatement",
"start": 770,
"end": 849,
"loc": {
"start": {
"line": 28,
"column": 20
},
"end": {
"line": 30,
"column": 21
}
},
"test": {
"type": "UnaryExpression",
"start": 774,
"end": 792,
"loc": {
"start": {
"line": 28,
"column": 24
},
"end": {
"line": 28,
"column": 42
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "MemberExpression",
"start": 775,
"end": 792,
"loc": {
"start": {
"line": 28,
"column": 25
},
"end": {
"line": 28,
"column": 42
}
},
"object": {
"type": "Identifier",
"start": 775,
"end": 785,
"loc": {
"start": {
"line": 28,
"column": 25
},
"end": {
"line": 28,
"column": 35
},
"identifierName": "pickResult"
},
"name": "pickResult"
},
"property": {
"type": "Identifier",
"start": 786,
"end": 792,
"loc": {
"start": {
"line": 28,
"column": 36
},
"end": {
"line": 28,
"column": 42
},
"identifierName": "entity"
},
"name": "entity"
},
"computed": false
},
"extra": {
"parenthesizedArgument": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 794,
"end": 849,
"loc": {
"start": {
"line": 28,
"column": 44
},
"end": {
"line": 30,
"column": 21
}
},
"body": [
{
"type": "ReturnStatement",
"start": 820,
"end": 827,
"loc": {
"start": {
"line": 29,
"column": 24
},
"end": {
"line": 29,
"column": 31
}
},
"argument": null
}
],
"directives": []
},
"alternate": null
},
{
"type": "ExpressionStatement",
"start": 868,
"end": 925,
"loc": {
"start": {
"line": 31,
"column": 18
},
"end": {
"line": 31,
"column": 75
}
},
"expression": {
"type": "AssignmentExpression",
"start": 868,
"end": 924,
"loc": {
"start": {
"line": 31,
"column": 18
},
"end": {
"line": 31,
"column": 74
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 868,
"end": 894,
"loc": {
"start": {
"line": 31,
"column": 18
},
"end": {
"line": 31,
"column": 44
}
},
"object": {
"type": "MemberExpression",
"start": 868,
"end": 885,
"loc": {
"start": {
"line": 31,
"column": 18
},
"end": {
"line": 31,
"column": 35
}
},
"object": {
"type": "Identifier",
"start": 868,
"end": 878,
"loc": {
"start": {
"line": 31,
"column": 18
},
"end": {
"line": 31,
"column": 28
},
"identifierName": "pickResult"
},
"name": "pickResult"
},
"property": {
"type": "Identifier",
"start": 879,
"end": 885,
"loc": {
"start": {
"line": 31,
"column": 29
},
"end": {
"line": 31,
"column": 35
},
"identifierName": "entity"
},
"name": "entity"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 886,
"end": 894,
"loc": {
"start": {
"line": 31,
"column": 36
},
"end": {
"line": 31,
"column": 44
},
"identifierName": "selected"
},
"name": "selected"
},
"computed": false
},
"right": {
"type": "UnaryExpression",
"start": 897,
"end": 924,
"loc": {
"start": {
"line": 31,
"column": 47
},
"end": {
"line": 31,
"column": 74
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "MemberExpression",
"start": 898,
"end": 924,
"loc": {
"start": {
"line": 31,
"column": 48
},
"end": {
"line": 31,
"column": 74
}
},
"object": {
"type": "MemberExpression",
"start": 898,
"end": 915,
"loc": {
"start": {
"line": 31,
"column": 48
},
"end": {
"line": 31,
"column": 65
}
},
"object": {
"type": "Identifier",
"start": 898,
"end": 908,
"loc": {
"start": {
"line": 31,
"column": 48
},
"end": {
"line": 31,
"column": 58
},
"identifierName": "pickResult"
},
"name": "pickResult"
},
"property": {
"type": "Identifier",
"start": 909,
"end": 915,
"loc": {
"start": {
"line": 31,
"column": 59
},
"end": {
"line": 31,
"column": 65
},
"identifierName": "entity"
},
"name": "entity"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 916,
"end": 924,
"loc": {
"start": {
"line": 31,
"column": 66
},
"end": {
"line": 31,
"column": 74
},
"identifierName": "selected"
},
"name": "selected"
},
"computed": false
},
"extra": {
"parenthesizedArgument": false
}
}
}
}
],
"directives": []
}
}
]
}
}
}
],
"directives": []
},
"alternate": {
"type": "BlockStatement",
"start": 965,
"end": 1217,
"loc": {
"start": {
"line": 33,
"column": 19
},
"end": {
"line": 39,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 983,
"end": 1024,
"loc": {
"start": {
"line": 34,
"column": 16
},
"end": {
"line": 34,
"column": 57
}
},
"expression": {
"type": "CallExpression",
"start": 983,
"end": 1023,
"loc": {
"start": {
"line": 34,
"column": 16
},
"end": {
"line": 34,
"column": 56
}
},
"callee": {
"type": "MemberExpression",
"start": 983,
"end": 1013,
"loc": {
"start": {
"line": 34,
"column": 16
},
"end": {
"line": 34,
"column": 46
}
},
"object": {
"type": "MemberExpression",
"start": 983,
"end": 1006,
"loc": {
"start": {
"line": 34,
"column": 16
},
"end": {
"line": 34,
"column": 39
}
},
"object": {
"type": "Identifier",
"start": 983,
"end": 996,
"loc": {
"start": {
"line": 34,
"column": 16
},
"end": {
"line": 34,
"column": 29
},
"identifierName": "buttonElement"
},
"name": "buttonElement"
},
"property": {
"type": "Identifier",
"start": 997,
"end": 1006,
"loc": {
"start": {
"line": 34,
"column": 30
},
"end": {
"line": 34,
"column": 39
},
"identifierName": "classList"
},
"name": "classList"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1007,
"end": 1013,
"loc": {
"start": {
"line": 34,
"column": 40
},
"end": {
"line": 34,
"column": 46
},
"identifierName": "remove"
},
"name": "remove"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 1014,
"end": 1022,
"loc": {
"start": {
"line": 34,
"column": 47
},
"end": {
"line": 34,
"column": 55
}
},
"extra": {
"rawValue": "active",
"raw": "\"active\""
},
"value": "active"
}
]
}
},
{
"type": "IfStatement",
"start": 1041,
"end": 1203,
"loc": {
"start": {
"line": 35,
"column": 16
},
"end": {
"line": 38,
"column": 17
}
},
"test": {
"type": "BinaryExpression",
"start": 1045,
"end": 1071,
"loc": {
"start": {
"line": 35,
"column": 20
},
"end": {
"line": 35,
"column": 46
}
},
"left": {
"type": "MemberExpression",
"start": 1045,
"end": 1057,
"loc": {
"start": {
"line": 35,
"column": 20
},
"end": {
"line": 35,
"column": 32
}
},
"object": {
"type": "ThisExpression",
"start": 1045,
"end": 1049,
"loc": {
"start": {
"line": 35,
"column": 20
},
"end": {
"line": 35,
"column": 24
}
}
},
"property": {
"type": "Identifier",
"start": 1050,
"end": 1057,
"loc": {
"start": {
"line": 35,
"column": 25
},
"end": {
"line": 35,
"column": 32
},
"identifierName": "_onPick"
},
"name": "_onPick"
},
"computed": false
},
"operator": "!==",
"right": {
"type": "Identifier",
"start": 1062,
"end": 1071,
"loc": {
"start": {
"line": 35,
"column": 37
},
"end": {
"line": 35,
"column": 46
},
"identifierName": "undefined"
},
"name": "undefined"
}
},
"consequent": {
"type": "BlockStatement",
"start": 1073,
"end": 1203,
"loc": {
"start": {
"line": 35,
"column": 48
},
"end": {
"line": 38,
"column": 17
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 1095,
"end": 1139,
"loc": {
"start": {
"line": 36,
"column": 20
},
"end": {
"line": 36,
"column": 64
}
},
"expression": {
"type": "CallExpression",
"start": 1095,
"end": 1138,
"loc": {
"start": {
"line": 36,
"column": 20
},
"end": {
"line": 36,
"column": 63
}
},
"callee": {
"type": "MemberExpression",
"start": 1095,
"end": 1124,
"loc": {
"start": {
"line": 36,
"column": 20
},
"end": {
"line": 36,
"column": 49
}
},
"object": {
"type": "MemberExpression",
"start": 1095,
"end": 1120,
"loc": {
"start": {
"line": 36,
"column": 20
},
"end": {
"line": 36,
"column": 45
}
},
"object": {
"type": "MemberExpression",
"start": 1095,
"end": 1106,
"loc": {
"start": {
"line": 36,
"column": 20
},
"end": {
"line": 36,
"column": 31
}
},
"object": {
"type": "ThisExpression",
"start": 1095,
"end": 1099,
"loc": {
"start": {
"line": 36,
"column": 20
},
"end": {
"line": 36,
"column": 24
}
}
},
"property": {
"type": "Identifier",
"start": 1100,
"end": 1106,
"loc": {
"start": {
"line": 36,
"column": 25
},
"end": {
"line": 36,
"column": 31
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1107,
"end": 1120,
"loc": {
"start": {
"line": 36,
"column": 32
},
"end": {
"line": 36,
"column": 45
},
"identifierName": "cameraControl"
},
"name": "cameraControl"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1121,
"end": 1124,
"loc": {
"start": {
"line": 36,
"column": 46
},
"end": {
"line": 36,
"column": 49
},
"identifierName": "off"
},
"name": "off"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 1125,
"end": 1137,
"loc": {
"start": {
"line": 36,
"column": 50
},
"end": {
"line": 36,
"column": 62
}
},
"object": {
"type": "ThisExpression",
"start": 1125,
"end": 1129,
"loc": {
"start": {
"line": 36,
"column": 50
},
"end": {
"line": 36,
"column": 54
}
}
},
"property": {
"type": "Identifier",
"start": 1130,
"end": 1137,
"loc": {
"start": {
"line": 36,
"column": 55
},
"end": {
"line": 36,
"column": 62
},
"identifierName": "_onPick"
},
"name": "_onPick"
},
"computed": false
}
]
}
},
{
"type": "ExpressionStatement",
"start": 1160,
"end": 1185,
"loc": {
"start": {
"line": 37,
"column": 20
},
"end": {
"line": 37,
"column": 45
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1160,
"end": 1184,
"loc": {
"start": {
"line": 37,
"column": 20
},
"end": {
"line": 37,
"column": 44
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 1160,
"end": 1172,
"loc": {
"start": {
"line": 37,
"column": 20
},
"end": {
"line": 37,
"column": 32
}
},
"object": {
"type": "ThisExpression",
"start": 1160,
"end": 1164,
"loc": {
"start": {
"line": 37,
"column": 20
},
"end": {
"line": 37,
"column": 24
}
}
},
"property": {
"type": "Identifier",
"start": 1165,
"end": 1172,
"loc": {
"start": {
"line": 37,
"column": 25
},
"end": {
"line": 37,
"column": 32
},
"identifierName": "_onPick"
},
"name": "_onPick"
},
"computed": false
},
"right": {
"type": "Identifier",
"start": 1175,
"end": 1184,
"loc": {
"start": {
"line": 37,
"column": 35
},
"end": {
"line": 37,
"column": 44
},
"identifierName": "undefined"
},
"name": "undefined"
}
}
}
],
"directives": []
},
"alternate": null
}
],
"directives": []
}
}
],
"directives": []
}
}
]
}
},
{
"type": "ExpressionStatement",
"start": 1239,
"end": 1539,
"loc": {
"start": {
"line": 42,
"column": 8
},
"end": {
"line": 49,
"column": 11
}
},
"expression": {
"type": "CallExpression",
"start": 1239,
"end": 1538,
"loc": {
"start": {
"line": 42,
"column": 8
},
"end": {
"line": 49,
"column": 10
}
},
"callee": {
"type": "MemberExpression",
"start": 1239,
"end": 1269,
"loc": {
"start": {
"line": 42,
"column": 8
},
"end": {
"line": 42,
"column": 38
}
},
"object": {
"type": "Identifier",
"start": 1239,
"end": 1252,
"loc": {
"start": {
"line": 42,
"column": 8
},
"end": {
"line": 42,
"column": 21
},
"identifierName": "buttonElement"
},
"name": "buttonElement"
},
"property": {
"type": "Identifier",
"start": 1253,
"end": 1269,
"loc": {
"start": {
"line": 42,
"column": 22
},
"end": {
"line": 42,
"column": 38
},
"identifierName": "addEventListener"
},
"name": "addEventListener"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 1270,
"end": 1277,
"loc": {
"start": {
"line": 42,
"column": 39
},
"end": {
"line": 42,
"column": 46
}
},
"extra": {
"rawValue": "click",
"raw": "\"click\""
},
"value": "click"
},
{
"type": "ArrowFunctionExpression",
"start": 1279,
"end": 1537,
"loc": {
"start": {
"line": 42,
"column": 48
},
"end": {
"line": 49,
"column": 9
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 1280,
"end": 1285,
"loc": {
"start": {
"line": 42,
"column": 49
},
"end": {
"line": 42,
"column": 54
},
"identifierName": "event"
},
"name": "event"
}
],
"body": {
"type": "BlockStatement",
"start": 1290,
"end": 1537,
"loc": {
"start": {
"line": 42,
"column": 59
},
"end": {
"line": 49,
"column": 9
}
},
"body": [
{
"type": "IfStatement",
"start": 1304,
"end": 1491,
"loc": {
"start": {
"line": 43,
"column": 12
},
"end": {
"line": 47,
"column": 13
}
},
"test": {
"type": "CallExpression",
"start": 1308,
"end": 1325,
"loc": {
"start": {
"line": 43,
"column": 16
},
"end": {
"line": 43,
"column": 33
}
},
"callee": {
"type": "MemberExpression",
"start": 1308,
"end": 1323,
"loc": {
"start": {
"line": 43,
"column": 16
},
"end": {
"line": 43,
"column": 31
}
},
"object": {
"type": "ThisExpression",
"start": 1308,
"end": 1312,
"loc": {
"start": {
"line": 43,
"column": 16
},
"end": {
"line": 43,
"column": 20
}
}
},
"property": {
"type": "Identifier",
"start": 1313,
"end": 1323,
"loc": {
"start": {
"line": 43,
"column": 21
},
"end": {
"line": 43,
"column": 31
},
"identifierName": "getEnabled"
},
"name": "getEnabled"
},
"computed": false
},
"arguments": []
},
"consequent": {
"type": "BlockStatement",
"start": 1327,
"end": 1491,
"loc": {
"start": {
"line": 43,
"column": 35
},
"end": {
"line": 47,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 1345,
"end": 1387,
"loc": {
"start": {
"line": 44,
"column": 16
},
"end": {
"line": 44,
"column": 58
}
},
"expression": {
"type": "CallExpression",
"start": 1345,
"end": 1386,
"loc": {
"start": {
"line": 44,
"column": 16
},
"end": {
"line": 44,
"column": 57
}
},
"callee": {
"type": "MemberExpression",
"start": 1345,
"end": 1384,
"loc": {
"start": {
"line": 44,
"column": 16
},
"end": {
"line": 44,
"column": 55
}
},
"object": {
"type": "MemberExpression",
"start": 1345,
"end": 1372,
"loc": {
"start": {
"line": 44,
"column": 16
},
"end": {
"line": 44,
"column": 43
}
},
"object": {
"type": "MemberExpression",
"start": 1345,
"end": 1359,
"loc": {
"start": {
"line": 44,
"column": 16
},
"end": {
"line": 44,
"column": 30
}
},
"object": {
"type": "ThisExpression",
"start": 1345,
"end": 1349,
"loc": {
"start": {
"line": 44,
"column": 16
},
"end": {
"line": 44,
"column": 20
}
}
},
"property": {
"type": "Identifier",
"start": 1350,
"end": 1359,
"loc": {
"start": {
"line": 44,
"column": 21
},
"end": {
"line": 44,
"column": 30
},
"identifierName": "bimViewer"
},
"name": "bimViewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1360,
"end": 1372,
"loc": {
"start": {
"line": 44,
"column": 31
},
"end": {
"line": 44,
"column": 43
},
"identifierName": "_sectionTool"
},
"name": "_sectionTool"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1373,
"end": 1384,
"loc": {
"start": {
"line": 44,
"column": 44
},
"end": {
"line": 44,
"column": 55
},
"identifierName": "hideControl"
},
"name": "hideControl"
},
"computed": false
},
"arguments": []
}
},
{
"type": "VariableDeclaration",
"start": 1404,
"end": 1436,
"loc": {
"start": {
"line": 45,
"column": 16
},
"end": {
"line": 45,
"column": 48
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1410,
"end": 1435,
"loc": {
"start": {
"line": 45,
"column": 22
},
"end": {
"line": 45,
"column": 47
}
},
"id": {
"type": "Identifier",
"start": 1410,
"end": 1416,
"loc": {
"start": {
"line": 45,
"column": 22
},
"end": {
"line": 45,
"column": 28
},
"identifierName": "active"
},
"name": "active"
},
"init": {
"type": "CallExpression",
"start": 1419,
"end": 1435,
"loc": {
"start": {
"line": 45,
"column": 31
},
"end": {
"line": 45,
"column": 47
}
},
"callee": {
"type": "MemberExpression",
"start": 1419,
"end": 1433,
"loc": {
"start": {
"line": 45,
"column": 31
},
"end": {
"line": 45,
"column": 45
}
},
"object": {
"type": "ThisExpression",
"start": 1419,
"end": 1423,
"loc": {
"start": {
"line": 45,
"column": 31
},
"end": {
"line": 45,
"column": 35
}
}
},
"property": {
"type": "Identifier",
"start": 1424,
"end": 1433,
"loc": {
"start": {
"line": 45,
"column": 36
},
"end": {
"line": 45,
"column": 45
},
"identifierName": "getActive"
},
"name": "getActive"
},
"computed": false
},
"arguments": []
}
}
],
"kind": "const"
},
{
"type": "ExpressionStatement",
"start": 1453,
"end": 1477,
"loc": {
"start": {
"line": 46,
"column": 16
},
"end": {
"line": 46,
"column": 40
}
},
"expression": {
"type": "CallExpression",
"start": 1453,
"end": 1476,
"loc": {
"start": {
"line": 46,
"column": 16
},
"end": {
"line": 46,
"column": 39
}
},
"callee": {
"type": "MemberExpression",
"start": 1453,
"end": 1467,
"loc": {
"start": {
"line": 46,
"column": 16
},
"end": {
"line": 46,
"column": 30
}
},
"object": {
"type": "ThisExpression",
"start": 1453,
"end": 1457,
"loc": {
"start": {
"line": 46,
"column": 16
},
"end": {
"line": 46,
"column": 20
}
}
},
"property": {
"type": "Identifier",
"start": 1458,
"end": 1467,
"loc": {
"start": {
"line": 46,
"column": 21
},
"end": {
"line": 46,
"column": 30
},
"identifierName": "setActive"
},
"name": "setActive"
},
"computed": false
},
"arguments": [
{
"type": "UnaryExpression",
"start": 1468,
"end": 1475,
"loc": {
"start": {
"line": 46,
"column": 31
},
"end": {
"line": 46,
"column": 38
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 1469,
"end": 1475,
"loc": {
"start": {
"line": 46,
"column": 32
},
"end": {
"line": 46,
"column": 38
},
"identifierName": "active"
},
"name": "active"
},
"extra": {
"parenthesizedArgument": false
}
}
]
}
}
],
"directives": []
},
"alternate": null
},
{
"type": "ExpressionStatement",
"start": 1504,
"end": 1527,
"loc": {
"start": {
"line": 48,
"column": 12
},
"end": {
"line": 48,
"column": 35
}
},
"expression": {
"type": "CallExpression",
"start": 1504,
"end": 1526,
"loc": {
"start": {
"line": 48,
"column": 12
},
"end": {
"line": 48,
"column": 34
}
},
"callee": {
"type": "MemberExpression",
"start": 1504,
"end": 1524,
"loc": {
"start": {
"line": 48,
"column": 12
},
"end": {
"line": 48,
"column": 32
}
},
"object": {
"type": "Identifier",
"start": 1504,
"end": 1509,
"loc": {
"start": {
"line": 48,
"column": 12
},
"end": {
"line": 48,
"column": 17
},
"identifierName": "event"
},
"name": "event"
},
"property": {
"type": "Identifier",
"start": 1510,
"end": 1524,
"loc": {
"start": {
"line": 48,
"column": 18
},
"end": {
"line": 48,
"column": 32
},
"identifierName": "preventDefault"
},
"name": "preventDefault"
},
"computed": false
},
"arguments": []
}
}
],
"directives": []
}
}
]
}
},
{
"type": "ExpressionStatement",
"start": 1549,
"end": 1630,
"loc": {
"start": {
"line": 51,
"column": 8
},
"end": {
"line": 53,
"column": 11
}
},
"expression": {
"type": "CallExpression",
"start": 1549,
"end": 1629,
"loc": {
"start": {
"line": 51,
"column": 8
},
"end": {
"line": 53,
"column": 10
}
},
"callee": {
"type": "MemberExpression",
"start": 1549,
"end": 1566,
"loc": {
"start": {
"line": 51,
"column": 8
},
"end": {
"line": 51,
"column": 25
}
},
"object": {
"type": "MemberExpression",
"start": 1549,
"end": 1563,
"loc": {
"start": {
"line": 51,
"column": 8
},
"end": {
"line": 51,
"column": 22
}
},
"object": {
"type": "ThisExpression",
"start": 1549,
"end": 1553,
"loc": {
"start": {
"line": 51,
"column": 8
},
"end": {
"line": 51,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 1554,
"end": 1563,
"loc": {
"start": {
"line": 51,
"column": 13
},
"end": {
"line": 51,
"column": 22
},
"identifierName": "bimViewer"
},
"name": "bimViewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1564,
"end": 1566,
"loc": {
"start": {
"line": 51,
"column": 23
},
"end": {
"line": 51,
"column": 25
},
"identifierName": "on"
},
"name": "on"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 1567,
"end": 1574,
"loc": {
"start": {
"line": 51,
"column": 26
},
"end": {
"line": 51,
"column": 33
}
},
"extra": {
"rawValue": "reset",
"raw": "\"reset\""
},
"value": "reset"
},
{
"type": "ArrowFunctionExpression",
"start": 1576,
"end": 1628,
"loc": {
"start": {
"line": 51,
"column": 35
},
"end": {
"line": 53,
"column": 9
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 1582,
"end": 1628,
"loc": {
"start": {
"line": 51,
"column": 41
},
"end": {
"line": 53,
"column": 9
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 1596,
"end": 1618,
"loc": {
"start": {
"line": 52,
"column": 12
},
"end": {
"line": 52,
"column": 34
}
},
"expression": {
"type": "CallExpression",
"start": 1596,
"end": 1617,
"loc": {
"start": {
"line": 52,
"column": 12
},
"end": {
"line": 52,
"column": 33
}
},
"callee": {
"type": "MemberExpression",
"start": 1596,
"end": 1610,
"loc": {
"start": {
"line": 52,
"column": 12
},
"end": {
"line": 52,
"column": 26
}
},
"object": {
"type": "ThisExpression",
"start": 1596,
"end": 1600,
"loc": {
"start": {
"line": 52,
"column": 12
},
"end": {
"line": 52,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 1601,
"end": 1610,
"loc": {
"start": {
"line": 52,
"column": 17
},
"end": {
"line": 52,
"column": 26
},
"identifierName": "setActive"
},
"name": "setActive"
},
"computed": false
},
"arguments": [
{
"type": "BooleanLiteral",
"start": 1611,
"end": 1616,
"loc": {
"start": {
"line": 52,
"column": 27
},
"end": {
"line": 52,
"column": 32
}
},
"value": false
}
]
}
}
],
"directives": []
}
}
]
}
}
],
"directives": []
}
}
]
},
"leadingComments": [],
"name": "_",
"trailingComments": []
},
{
"type": "ExportNamedDeclaration",
"start": 1640,
"end": 1663,
"loc": {
"start": {
"line": 57,
"column": 0
},
"end": {
"line": 57,
"column": 23
}
},
"declaration": null,
"specifiers": [
{
"type": "ExportSpecifier",
"start": 1648,
"end": 1661,
"loc": {
"start": {
"line": 57,
"column": 8
},
"end": {
"line": 57,
"column": 21
}
},
"local": {
"type": "Identifier",
"start": 1648,
"end": 1661,
"loc": {
"start": {
"line": 57,
"column": 8
},
"end": {
"line": 57,
"column": 21
},
"identifierName": "SelectionTool"
},
"name": "SelectionTool"
},
"exported": {
"type": "Identifier",
"start": 1648,
"end": 1661,
"loc": {
"start": {
"line": 57,
"column": 8
},
"end": {
"line": 57,
"column": 21
},
"identifierName": "SelectionTool"
},
"name": "SelectionTool"
}
}
],
"source": null
},
{
"type": "ExportNamedDeclaration",
"start": 1640,
"end": 1663,
"loc": {
"start": {
"line": 57,
"column": 0
},
"end": {
"line": 57,
"column": 23
}
},
"declaration": {
"type": "ClassDeclaration",
"start": 62,
"end": 1638,
"loc": {
"start": {
"line": 4,
"column": 0
},
"end": {
"line": 55,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 68,
"end": 81,
"loc": {
"start": {
"line": 4,
"column": 6
},
"end": {
"line": 4,
"column": 19
},
"identifierName": "SelectionTool"
},
"name": "SelectionTool",
"leadingComments": null
},
"superClass": {
"type": "Identifier",
"start": 90,
"end": 100,
"loc": {
"start": {
"line": 4,
"column": 28
},
"end": {
"line": 4,
"column": 38
},
"identifierName": "Controller"
},
"name": "Controller"
},
"body": {
"type": "ClassBody",
"start": 101,
"end": 1638,
"loc": {
"start": {
"line": 4,
"column": 39
},
"end": {
"line": 55,
"column": 1
}
},
"body": [
{
"type": "ClassMethod",
"start": 108,
"end": 1636,
"loc": {
"start": {
"line": 6,
"column": 4
},
"end": {
"line": 54,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 108,
"end": 119,
"loc": {
"start": {
"line": 6,
"column": 4
},
"end": {
"line": 6,
"column": 15
},
"identifierName": "constructor"
},
"name": "constructor"
},
"kind": "constructor",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 120,
"end": 126,
"loc": {
"start": {
"line": 6,
"column": 16
},
"end": {
"line": 6,
"column": 22
},
"identifierName": "parent"
},
"name": "parent"
},
{
"type": "Identifier",
"start": 128,
"end": 131,
"loc": {
"start": {
"line": 6,
"column": 24
},
"end": {
"line": 6,
"column": 27
},
"identifierName": "cfg"
},
"name": "cfg"
}
],
"body": {
"type": "BlockStatement",
"start": 133,
"end": 1636,
"loc": {
"start": {
"line": 6,
"column": 29
},
"end": {
"line": 54,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 144,
"end": 158,
"loc": {
"start": {
"line": 8,
"column": 8
},
"end": {
"line": 8,
"column": 22
}
},
"expression": {
"type": "CallExpression",
"start": 144,
"end": 157,
"loc": {
"start": {
"line": 8,
"column": 8
},
"end": {
"line": 8,
"column": 21
}
},
"callee": {
"type": "Super",
"start": 144,
"end": 149,
"loc": {
"start": {
"line": 8,
"column": 8
},
"end": {
"line": 8,
"column": 13
}
}
},
"arguments": [
{
"type": "Identifier",
"start": 150,
"end": 156,
"loc": {
"start": {
"line": 8,
"column": 14
},
"end": {
"line": 8,
"column": 20
},
"identifierName": "parent"
},
"name": "parent"
}
]
}
},
{
"type": "IfStatement",
"start": 168,
"end": 254,
"loc": {
"start": {
"line": 10,
"column": 8
},
"end": {
"line": 12,
"column": 9
}
},
"test": {
"type": "UnaryExpression",
"start": 172,
"end": 190,
"loc": {
"start": {
"line": 10,
"column": 12
},
"end": {
"line": 10,
"column": 30
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "MemberExpression",
"start": 173,
"end": 190,
"loc": {
"start": {
"line": 10,
"column": 13
},
"end": {
"line": 10,
"column": 30
}
},
"object": {
"type": "Identifier",
"start": 173,
"end": 176,
"loc": {
"start": {
"line": 10,
"column": 13
},
"end": {
"line": 10,
"column": 16
},
"identifierName": "cfg"
},
"name": "cfg"
},
"property": {
"type": "Identifier",
"start": 177,
"end": 190,
"loc": {
"start": {
"line": 10,
"column": 17
},
"end": {
"line": 10,
"column": 30
},
"identifierName": "buttonElement"
},
"name": "buttonElement"
},
"computed": false
},
"extra": {
"parenthesizedArgument": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 192,
"end": 254,
"loc": {
"start": {
"line": 10,
"column": 32
},
"end": {
"line": 12,
"column": 9
}
},
"body": [
{
"type": "ThrowStatement",
"start": 206,
"end": 244,
"loc": {
"start": {
"line": 11,
"column": 12
},
"end": {
"line": 11,
"column": 50
}
},
"argument": {
"type": "StringLiteral",
"start": 212,
"end": 243,
"loc": {
"start": {
"line": 11,
"column": 18
},
"end": {
"line": 11,
"column": 49
}
},
"extra": {
"rawValue": "Missing config: buttonElement",
"raw": "\"Missing config: buttonElement\""
},
"value": "Missing config: buttonElement"
}
}
],
"directives": []
},
"alternate": null
},
{
"type": "VariableDeclaration",
"start": 264,
"end": 304,
"loc": {
"start": {
"line": 14,
"column": 8
},
"end": {
"line": 14,
"column": 48
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 270,
"end": 303,
"loc": {
"start": {
"line": 14,
"column": 14
},
"end": {
"line": 14,
"column": 47
}
},
"id": {
"type": "Identifier",
"start": 270,
"end": 283,
"loc": {
"start": {
"line": 14,
"column": 14
},
"end": {
"line": 14,
"column": 27
},
"identifierName": "buttonElement"
},
"name": "buttonElement"
},
"init": {
"type": "MemberExpression",
"start": 286,
"end": 303,
"loc": {
"start": {
"line": 14,
"column": 30
},
"end": {
"line": 14,
"column": 47
}
},
"object": {
"type": "Identifier",
"start": 286,
"end": 289,
"loc": {
"start": {
"line": 14,
"column": 30
},
"end": {
"line": 14,
"column": 33
},
"identifierName": "cfg"
},
"name": "cfg"
},
"property": {
"type": "Identifier",
"start": 290,
"end": 303,
"loc": {
"start": {
"line": 14,
"column": 34
},
"end": {
"line": 14,
"column": 47
},
"identifierName": "buttonElement"
},
"name": "buttonElement"
},
"computed": false
}
}
],
"kind": "const"
},
{
"type": "ExpressionStatement",
"start": 314,
"end": 539,
"loc": {
"start": {
"line": 16,
"column": 8
},
"end": {
"line": 22,
"column": 11
}
},
"expression": {
"type": "CallExpression",
"start": 314,
"end": 538,
"loc": {
"start": {
"line": 16,
"column": 8
},
"end": {
"line": 22,
"column": 10
}
},
"callee": {
"type": "MemberExpression",
"start": 314,
"end": 321,
"loc": {
"start": {
"line": 16,
"column": 8
},
"end": {
"line": 16,
"column": 15
}
},
"object": {
"type": "ThisExpression",
"start": 314,
"end": 318,
"loc": {
"start": {
"line": 16,
"column": 8
},
"end": {
"line": 16,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 319,
"end": 321,
"loc": {
"start": {
"line": 16,
"column": 13
},
"end": {
"line": 16,
"column": 15
},
"identifierName": "on"
},
"name": "on"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 322,
"end": 331,
"loc": {
"start": {
"line": 16,
"column": 16
},
"end": {
"line": 16,
"column": 25
}
},
"extra": {
"rawValue": "enabled",
"raw": "\"enabled\""
},
"value": "enabled"
},
{
"type": "ArrowFunctionExpression",
"start": 333,
"end": 537,
"loc": {
"start": {
"line": 16,
"column": 27
},
"end": {
"line": 22,
"column": 9
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 334,
"end": 341,
"loc": {
"start": {
"line": 16,
"column": 28
},
"end": {
"line": 16,
"column": 35
},
"identifierName": "enabled"
},
"name": "enabled"
}
],
"body": {
"type": "BlockStatement",
"start": 346,
"end": 537,
"loc": {
"start": {
"line": 16,
"column": 40
},
"end": {
"line": 22,
"column": 9
}
},
"body": [
{
"type": "IfStatement",
"start": 360,
"end": 527,
"loc": {
"start": {
"line": 17,
"column": 12
},
"end": {
"line": 21,
"column": 13
}
},
"test": {
"type": "UnaryExpression",
"start": 364,
"end": 372,
"loc": {
"start": {
"line": 17,
"column": 16
},
"end": {
"line": 17,
"column": 24
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 365,
"end": 372,
"loc": {
"start": {
"line": 17,
"column": 17
},
"end": {
"line": 17,
"column": 24
},
"identifierName": "enabled"
},
"name": "enabled"
},
"extra": {
"parenthesizedArgument": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 374,
"end": 446,
"loc": {
"start": {
"line": 17,
"column": 26
},
"end": {
"line": 19,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 392,
"end": 432,
"loc": {
"start": {
"line": 18,
"column": 16
},
"end": {
"line": 18,
"column": 56
}
},
"expression": {
"type": "CallExpression",
"start": 392,
"end": 431,
"loc": {
"start": {
"line": 18,
"column": 16
},
"end": {
"line": 18,
"column": 55
}
},
"callee": {
"type": "MemberExpression",
"start": 392,
"end": 419,
"loc": {
"start": {
"line": 18,
"column": 16
},
"end": {
"line": 18,
"column": 43
}
},
"object": {
"type": "MemberExpression",
"start": 392,
"end": 415,
"loc": {
"start": {
"line": 18,
"column": 16
},
"end": {
"line": 18,
"column": 39
}
},
"object": {
"type": "Identifier",
"start": 392,
"end": 405,
"loc": {
"start": {
"line": 18,
"column": 16
},
"end": {
"line": 18,
"column": 29
},
"identifierName": "buttonElement"
},
"name": "buttonElement"
},
"property": {
"type": "Identifier",
"start": 406,
"end": 415,
"loc": {
"start": {
"line": 18,
"column": 30
},
"end": {
"line": 18,
"column": 39
},
"identifierName": "classList"
},
"name": "classList"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 416,
"end": 419,
"loc": {
"start": {
"line": 18,
"column": 40
},
"end": {
"line": 18,
"column": 43
},
"identifierName": "add"
},
"name": "add"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 420,
"end": 430,
"loc": {
"start": {
"line": 18,
"column": 44
},
"end": {
"line": 18,
"column": 54
}
},
"extra": {
"rawValue": "disabled",
"raw": "\"disabled\""
},
"value": "disabled"
}
]
}
}
],
"directives": []
},
"alternate": {
"type": "BlockStatement",
"start": 452,
"end": 527,
"loc": {
"start": {
"line": 19,
"column": 19
},
"end": {
"line": 21,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 470,
"end": 513,
"loc": {
"start": {
"line": 20,
"column": 16
},
"end": {
"line": 20,
"column": 59
}
},
"expression": {
"type": "CallExpression",
"start": 470,
"end": 512,
"loc": {
"start": {
"line": 20,
"column": 16
},
"end": {
"line": 20,
"column": 58
}
},
"callee": {
"type": "MemberExpression",
"start": 470,
"end": 500,
"loc": {
"start": {
"line": 20,
"column": 16
},
"end": {
"line": 20,
"column": 46
}
},
"object": {
"type": "MemberExpression",
"start": 470,
"end": 493,
"loc": {
"start": {
"line": 20,
"column": 16
},
"end": {
"line": 20,
"column": 39
}
},
"object": {
"type": "Identifier",
"start": 470,
"end": 483,
"loc": {
"start": {
"line": 20,
"column": 16
},
"end": {
"line": 20,
"column": 29
},
"identifierName": "buttonElement"
},
"name": "buttonElement"
},
"property": {
"type": "Identifier",
"start": 484,
"end": 493,
"loc": {
"start": {
"line": 20,
"column": 30
},
"end": {
"line": 20,
"column": 39
},
"identifierName": "classList"
},
"name": "classList"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 494,
"end": 500,
"loc": {
"start": {
"line": 20,
"column": 40
},
"end": {
"line": 20,
"column": 46
},
"identifierName": "remove"
},
"name": "remove"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 501,
"end": 511,
"loc": {
"start": {
"line": 20,
"column": 47
},
"end": {
"line": 20,
"column": 57
}
},
"extra": {
"rawValue": "disabled",
"raw": "\"disabled\""
},
"value": "disabled"
}
]
}
}
],
"directives": []
}
}
],
"directives": []
}
}
]
}
},
{
"type": "ExpressionStatement",
"start": 549,
"end": 1229,
"loc": {
"start": {
"line": 24,
"column": 8
},
"end": {
"line": 40,
"column": 11
}
},
"expression": {
"type": "CallExpression",
"start": 549,
"end": 1228,
"loc": {
"start": {
"line": 24,
"column": 8
},
"end": {
"line": 40,
"column": 10
}
},
"callee": {
"type": "MemberExpression",
"start": 549,
"end": 556,
"loc": {
"start": {
"line": 24,
"column": 8
},
"end": {
"line": 24,
"column": 15
}
},
"object": {
"type": "ThisExpression",
"start": 549,
"end": 553,
"loc": {
"start": {
"line": 24,
"column": 8
},
"end": {
"line": 24,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 554,
"end": 556,
"loc": {
"start": {
"line": 24,
"column": 13
},
"end": {
"line": 24,
"column": 15
},
"identifierName": "on"
},
"name": "on"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 557,
"end": 565,
"loc": {
"start": {
"line": 24,
"column": 16
},
"end": {
"line": 24,
"column": 24
}
},
"extra": {
"rawValue": "active",
"raw": "\"active\""
},
"value": "active"
},
{
"type": "ArrowFunctionExpression",
"start": 567,
"end": 1227,
"loc": {
"start": {
"line": 24,
"column": 26
},
"end": {
"line": 40,
"column": 9
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 568,
"end": 574,
"loc": {
"start": {
"line": 24,
"column": 27
},
"end": {
"line": 24,
"column": 33
},
"identifierName": "active"
},
"name": "active"
}
],
"body": {
"type": "BlockStatement",
"start": 579,
"end": 1227,
"loc": {
"start": {
"line": 24,
"column": 38
},
"end": {
"line": 40,
"column": 9
}
},
"body": [
{
"type": "IfStatement",
"start": 593,
"end": 1217,
"loc": {
"start": {
"line": 25,
"column": 12
},
"end": {
"line": 39,
"column": 13
}
},
"test": {
"type": "Identifier",
"start": 597,
"end": 603,
"loc": {
"start": {
"line": 25,
"column": 16
},
"end": {
"line": 25,
"column": 22
},
"identifierName": "active"
},
"name": "active"
},
"consequent": {
"type": "BlockStatement",
"start": 605,
"end": 959,
"loc": {
"start": {
"line": 25,
"column": 24
},
"end": {
"line": 33,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 623,
"end": 661,
"loc": {
"start": {
"line": 26,
"column": 16
},
"end": {
"line": 26,
"column": 54
}
},
"expression": {
"type": "CallExpression",
"start": 623,
"end": 660,
"loc": {
"start": {
"line": 26,
"column": 16
},
"end": {
"line": 26,
"column": 53
}
},
"callee": {
"type": "MemberExpression",
"start": 623,
"end": 650,
"loc": {
"start": {
"line": 26,
"column": 16
},
"end": {
"line": 26,
"column": 43
}
},
"object": {
"type": "MemberExpression",
"start": 623,
"end": 646,
"loc": {
"start": {
"line": 26,
"column": 16
},
"end": {
"line": 26,
"column": 39
}
},
"object": {
"type": "Identifier",
"start": 623,
"end": 636,
"loc": {
"start": {
"line": 26,
"column": 16
},
"end": {
"line": 26,
"column": 29
},
"identifierName": "buttonElement"
},
"name": "buttonElement"
},
"property": {
"type": "Identifier",
"start": 637,
"end": 646,
"loc": {
"start": {
"line": 26,
"column": 30
},
"end": {
"line": 26,
"column": 39
},
"identifierName": "classList"
},
"name": "classList"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 647,
"end": 650,
"loc": {
"start": {
"line": 26,
"column": 40
},
"end": {
"line": 26,
"column": 43
},
"identifierName": "add"
},
"name": "add"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 651,
"end": 659,
"loc": {
"start": {
"line": 26,
"column": 44
},
"end": {
"line": 26,
"column": 52
}
},
"extra": {
"rawValue": "active",
"raw": "\"active\""
},
"value": "active"
}
]
}
},
{
"type": "ExpressionStatement",
"start": 678,
"end": 945,
"loc": {
"start": {
"line": 27,
"column": 16
},
"end": {
"line": 32,
"column": 19
}
},
"expression": {
"type": "AssignmentExpression",
"start": 678,
"end": 944,
"loc": {
"start": {
"line": 27,
"column": 16
},
"end": {
"line": 32,
"column": 18
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 678,
"end": 690,
"loc": {
"start": {
"line": 27,
"column": 16
},
"end": {
"line": 27,
"column": 28
}
},
"object": {
"type": "ThisExpression",
"start": 678,
"end": 682,
"loc": {
"start": {
"line": 27,
"column": 16
},
"end": {
"line": 27,
"column": 20
}
}
},
"property": {
"type": "Identifier",
"start": 683,
"end": 690,
"loc": {
"start": {
"line": 27,
"column": 21
},
"end": {
"line": 27,
"column": 28
},
"identifierName": "_onPick"
},
"name": "_onPick"
},
"computed": false
},
"right": {
"type": "CallExpression",
"start": 693,
"end": 944,
"loc": {
"start": {
"line": 27,
"column": 31
},
"end": {
"line": 32,
"column": 18
}
},
"callee": {
"type": "MemberExpression",
"start": 693,
"end": 721,
"loc": {
"start": {
"line": 27,
"column": 31
},
"end": {
"line": 27,
"column": 59
}
},
"object": {
"type": "MemberExpression",
"start": 693,
"end": 718,
"loc": {
"start": {
"line": 27,
"column": 31
},
"end": {
"line": 27,
"column": 56
}
},
"object": {
"type": "MemberExpression",
"start": 693,
"end": 704,
"loc": {
"start": {
"line": 27,
"column": 31
},
"end": {
"line": 27,
"column": 42
}
},
"object": {
"type": "ThisExpression",
"start": 693,
"end": 697,
"loc": {
"start": {
"line": 27,
"column": 31
},
"end": {
"line": 27,
"column": 35
}
}
},
"property": {
"type": "Identifier",
"start": 698,
"end": 704,
"loc": {
"start": {
"line": 27,
"column": 36
},
"end": {
"line": 27,
"column": 42
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 705,
"end": 718,
"loc": {
"start": {
"line": 27,
"column": 43
},
"end": {
"line": 27,
"column": 56
},
"identifierName": "cameraControl"
},
"name": "cameraControl"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 719,
"end": 721,
"loc": {
"start": {
"line": 27,
"column": 57
},
"end": {
"line": 27,
"column": 59
},
"identifierName": "on"
},
"name": "on"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 722,
"end": 730,
"loc": {
"start": {
"line": 27,
"column": 60
},
"end": {
"line": 27,
"column": 68
}
},
"extra": {
"rawValue": "picked",
"raw": "\"picked\""
},
"value": "picked"
},
{
"type": "ArrowFunctionExpression",
"start": 732,
"end": 943,
"loc": {
"start": {
"line": 27,
"column": 70
},
"end": {
"line": 32,
"column": 17
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 733,
"end": 743,
"loc": {
"start": {
"line": 27,
"column": 71
},
"end": {
"line": 27,
"column": 81
},
"identifierName": "pickResult"
},
"name": "pickResult"
}
],
"body": {
"type": "BlockStatement",
"start": 748,
"end": 943,
"loc": {
"start": {
"line": 27,
"column": 86
},
"end": {
"line": 32,
"column": 17
}
},
"body": [
{
"type": "IfStatement",
"start": 770,
"end": 849,
"loc": {
"start": {
"line": 28,
"column": 20
},
"end": {
"line": 30,
"column": 21
}
},
"test": {
"type": "UnaryExpression",
"start": 774,
"end": 792,
"loc": {
"start": {
"line": 28,
"column": 24
},
"end": {
"line": 28,
"column": 42
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "MemberExpression",
"start": 775,
"end": 792,
"loc": {
"start": {
"line": 28,
"column": 25
},
"end": {
"line": 28,
"column": 42
}
},
"object": {
"type": "Identifier",
"start": 775,
"end": 785,
"loc": {
"start": {
"line": 28,
"column": 25
},
"end": {
"line": 28,
"column": 35
},
"identifierName": "pickResult"
},
"name": "pickResult"
},
"property": {
"type": "Identifier",
"start": 786,
"end": 792,
"loc": {
"start": {
"line": 28,
"column": 36
},
"end": {
"line": 28,
"column": 42
},
"identifierName": "entity"
},
"name": "entity"
},
"computed": false
},
"extra": {
"parenthesizedArgument": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 794,
"end": 849,
"loc": {
"start": {
"line": 28,
"column": 44
},
"end": {
"line": 30,
"column": 21
}
},
"body": [
{
"type": "ReturnStatement",
"start": 820,
"end": 827,
"loc": {
"start": {
"line": 29,
"column": 24
},
"end": {
"line": 29,
"column": 31
}
},
"argument": null
}
],
"directives": []
},
"alternate": null
},
{
"type": "ExpressionStatement",
"start": 868,
"end": 925,
"loc": {
"start": {
"line": 31,
"column": 18
},
"end": {
"line": 31,
"column": 75
}
},
"expression": {
"type": "AssignmentExpression",
"start": 868,
"end": 924,
"loc": {
"start": {
"line": 31,
"column": 18
},
"end": {
"line": 31,
"column": 74
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 868,
"end": 894,
"loc": {
"start": {
"line": 31,
"column": 18
},
"end": {
"line": 31,
"column": 44
}
},
"object": {
"type": "MemberExpression",
"start": 868,
"end": 885,
"loc": {
"start": {
"line": 31,
"column": 18
},
"end": {
"line": 31,
"column": 35
}
},
"object": {
"type": "Identifier",
"start": 868,
"end": 878,
"loc": {
"start": {
"line": 31,
"column": 18
},
"end": {
"line": 31,
"column": 28
},
"identifierName": "pickResult"
},
"name": "pickResult"
},
"property": {
"type": "Identifier",
"start": 879,
"end": 885,
"loc": {
"start": {
"line": 31,
"column": 29
},
"end": {
"line": 31,
"column": 35
},
"identifierName": "entity"
},
"name": "entity"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 886,
"end": 894,
"loc": {
"start": {
"line": 31,
"column": 36
},
"end": {
"line": 31,
"column": 44
},
"identifierName": "selected"
},
"name": "selected"
},
"computed": false
},
"right": {
"type": "UnaryExpression",
"start": 897,
"end": 924,
"loc": {
"start": {
"line": 31,
"column": 47
},
"end": {
"line": 31,
"column": 74
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "MemberExpression",
"start": 898,
"end": 924,
"loc": {
"start": {
"line": 31,
"column": 48
},
"end": {
"line": 31,
"column": 74
}
},
"object": {
"type": "MemberExpression",
"start": 898,
"end": 915,
"loc": {
"start": {
"line": 31,
"column": 48
},
"end": {
"line": 31,
"column": 65
}
},
"object": {
"type": "Identifier",
"start": 898,
"end": 908,
"loc": {
"start": {
"line": 31,
"column": 48
},
"end": {
"line": 31,
"column": 58
},
"identifierName": "pickResult"
},
"name": "pickResult"
},
"property": {
"type": "Identifier",
"start": 909,
"end": 915,
"loc": {
"start": {
"line": 31,
"column": 59
},
"end": {
"line": 31,
"column": 65
},
"identifierName": "entity"
},
"name": "entity"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 916,
"end": 924,
"loc": {
"start": {
"line": 31,
"column": 66
},
"end": {
"line": 31,
"column": 74
},
"identifierName": "selected"
},
"name": "selected"
},
"computed": false
},
"extra": {
"parenthesizedArgument": false
}
}
}
}
],
"directives": []
}
}
]
}
}
}
],
"directives": []
},
"alternate": {
"type": "BlockStatement",
"start": 965,
"end": 1217,
"loc": {
"start": {
"line": 33,
"column": 19
},
"end": {
"line": 39,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 983,
"end": 1024,
"loc": {
"start": {
"line": 34,
"column": 16
},
"end": {
"line": 34,
"column": 57
}
},
"expression": {
"type": "CallExpression",
"start": 983,
"end": 1023,
"loc": {
"start": {
"line": 34,
"column": 16
},
"end": {
"line": 34,
"column": 56
}
},
"callee": {
"type": "MemberExpression",
"start": 983,
"end": 1013,
"loc": {
"start": {
"line": 34,
"column": 16
},
"end": {
"line": 34,
"column": 46
}
},
"object": {
"type": "MemberExpression",
"start": 983,
"end": 1006,
"loc": {
"start": {
"line": 34,
"column": 16
},
"end": {
"line": 34,
"column": 39
}
},
"object": {
"type": "Identifier",
"start": 983,
"end": 996,
"loc": {
"start": {
"line": 34,
"column": 16
},
"end": {
"line": 34,
"column": 29
},
"identifierName": "buttonElement"
},
"name": "buttonElement"
},
"property": {
"type": "Identifier",
"start": 997,
"end": 1006,
"loc": {
"start": {
"line": 34,
"column": 30
},
"end": {
"line": 34,
"column": 39
},
"identifierName": "classList"
},
"name": "classList"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1007,
"end": 1013,
"loc": {
"start": {
"line": 34,
"column": 40
},
"end": {
"line": 34,
"column": 46
},
"identifierName": "remove"
},
"name": "remove"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 1014,
"end": 1022,
"loc": {
"start": {
"line": 34,
"column": 47
},
"end": {
"line": 34,
"column": 55
}
},
"extra": {
"rawValue": "active",
"raw": "\"active\""
},
"value": "active"
}
]
}
},
{
"type": "IfStatement",
"start": 1041,
"end": 1203,
"loc": {
"start": {
"line": 35,
"column": 16
},
"end": {
"line": 38,
"column": 17
}
},
"test": {
"type": "BinaryExpression",
"start": 1045,
"end": 1071,
"loc": {
"start": {
"line": 35,
"column": 20
},
"end": {
"line": 35,
"column": 46
}
},
"left": {
"type": "MemberExpression",
"start": 1045,
"end": 1057,
"loc": {
"start": {
"line": 35,
"column": 20
},
"end": {
"line": 35,
"column": 32
}
},
"object": {
"type": "ThisExpression",
"start": 1045,
"end": 1049,
"loc": {
"start": {
"line": 35,
"column": 20
},
"end": {
"line": 35,
"column": 24
}
}
},
"property": {
"type": "Identifier",
"start": 1050,
"end": 1057,
"loc": {
"start": {
"line": 35,
"column": 25
},
"end": {
"line": 35,
"column": 32
},
"identifierName": "_onPick"
},
"name": "_onPick"
},
"computed": false
},
"operator": "!==",
"right": {
"type": "Identifier",
"start": 1062,
"end": 1071,
"loc": {
"start": {
"line": 35,
"column": 37
},
"end": {
"line": 35,
"column": 46
},
"identifierName": "undefined"
},
"name": "undefined"
}
},
"consequent": {
"type": "BlockStatement",
"start": 1073,
"end": 1203,
"loc": {
"start": {
"line": 35,
"column": 48
},
"end": {
"line": 38,
"column": 17
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 1095,
"end": 1139,
"loc": {
"start": {
"line": 36,
"column": 20
},
"end": {
"line": 36,
"column": 64
}
},
"expression": {
"type": "CallExpression",
"start": 1095,
"end": 1138,
"loc": {
"start": {
"line": 36,
"column": 20
},
"end": {
"line": 36,
"column": 63
}
},
"callee": {
"type": "MemberExpression",
"start": 1095,
"end": 1124,
"loc": {
"start": {
"line": 36,
"column": 20
},
"end": {
"line": 36,
"column": 49
}
},
"object": {
"type": "MemberExpression",
"start": 1095,
"end": 1120,
"loc": {
"start": {
"line": 36,
"column": 20
},
"end": {
"line": 36,
"column": 45
}
},
"object": {
"type": "MemberExpression",
"start": 1095,
"end": 1106,
"loc": {
"start": {
"line": 36,
"column": 20
},
"end": {
"line": 36,
"column": 31
}
},
"object": {
"type": "ThisExpression",
"start": 1095,
"end": 1099,
"loc": {
"start": {
"line": 36,
"column": 20
},
"end": {
"line": 36,
"column": 24
}
}
},
"property": {
"type": "Identifier",
"start": 1100,
"end": 1106,
"loc": {
"start": {
"line": 36,
"column": 25
},
"end": {
"line": 36,
"column": 31
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1107,
"end": 1120,
"loc": {
"start": {
"line": 36,
"column": 32
},
"end": {
"line": 36,
"column": 45
},
"identifierName": "cameraControl"
},
"name": "cameraControl"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1121,
"end": 1124,
"loc": {
"start": {
"line": 36,
"column": 46
},
"end": {
"line": 36,
"column": 49
},
"identifierName": "off"
},
"name": "off"
},
"computed": false
},
"arguments": [
{
"type": "MemberExpression",
"start": 1125,
"end": 1137,
"loc": {
"start": {
"line": 36,
"column": 50
},
"end": {
"line": 36,
"column": 62
}
},
"object": {
"type": "ThisExpression",
"start": 1125,
"end": 1129,
"loc": {
"start": {
"line": 36,
"column": 50
},
"end": {
"line": 36,
"column": 54
}
}
},
"property": {
"type": "Identifier",
"start": 1130,
"end": 1137,
"loc": {
"start": {
"line": 36,
"column": 55
},
"end": {
"line": 36,
"column": 62
},
"identifierName": "_onPick"
},
"name": "_onPick"
},
"computed": false
}
]
}
},
{
"type": "ExpressionStatement",
"start": 1160,
"end": 1185,
"loc": {
"start": {
"line": 37,
"column": 20
},
"end": {
"line": 37,
"column": 45
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1160,
"end": 1184,
"loc": {
"start": {
"line": 37,
"column": 20
},
"end": {
"line": 37,
"column": 44
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 1160,
"end": 1172,
"loc": {
"start": {
"line": 37,
"column": 20
},
"end": {
"line": 37,
"column": 32
}
},
"object": {
"type": "ThisExpression",
"start": 1160,
"end": 1164,
"loc": {
"start": {
"line": 37,
"column": 20
},
"end": {
"line": 37,
"column": 24
}
}
},
"property": {
"type": "Identifier",
"start": 1165,
"end": 1172,
"loc": {
"start": {
"line": 37,
"column": 25
},
"end": {
"line": 37,
"column": 32
},
"identifierName": "_onPick"
},
"name": "_onPick"
},
"computed": false
},
"right": {
"type": "Identifier",
"start": 1175,
"end": 1184,
"loc": {
"start": {
"line": 37,
"column": 35
},
"end": {
"line": 37,
"column": 44
},
"identifierName": "undefined"
},
"name": "undefined"
}
}
}
],
"directives": []
},
"alternate": null
}
],
"directives": []
}
}
],
"directives": []
}
}
]
}
},
{
"type": "ExpressionStatement",
"start": 1239,
"end": 1539,
"loc": {
"start": {
"line": 42,
"column": 8
},
"end": {
"line": 49,
"column": 11
}
},
"expression": {
"type": "CallExpression",
"start": 1239,
"end": 1538,
"loc": {
"start": {
"line": 42,
"column": 8
},
"end": {
"line": 49,
"column": 10
}
},
"callee": {
"type": "MemberExpression",
"start": 1239,
"end": 1269,
"loc": {
"start": {
"line": 42,
"column": 8
},
"end": {
"line": 42,
"column": 38
}
},
"object": {
"type": "Identifier",
"start": 1239,
"end": 1252,
"loc": {
"start": {
"line": 42,
"column": 8
},
"end": {
"line": 42,
"column": 21
},
"identifierName": "buttonElement"
},
"name": "buttonElement"
},
"property": {
"type": "Identifier",
"start": 1253,
"end": 1269,
"loc": {
"start": {
"line": 42,
"column": 22
},
"end": {
"line": 42,
"column": 38
},
"identifierName": "addEventListener"
},
"name": "addEventListener"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 1270,
"end": 1277,
"loc": {
"start": {
"line": 42,
"column": 39
},
"end": {
"line": 42,
"column": 46
}
},
"extra": {
"rawValue": "click",
"raw": "\"click\""
},
"value": "click"
},
{
"type": "ArrowFunctionExpression",
"start": 1279,
"end": 1537,
"loc": {
"start": {
"line": 42,
"column": 48
},
"end": {
"line": 49,
"column": 9
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 1280,
"end": 1285,
"loc": {
"start": {
"line": 42,
"column": 49
},
"end": {
"line": 42,
"column": 54
},
"identifierName": "event"
},
"name": "event"
}
],
"body": {
"type": "BlockStatement",
"start": 1290,
"end": 1537,
"loc": {
"start": {
"line": 42,
"column": 59
},
"end": {
"line": 49,
"column": 9
}
},
"body": [
{
"type": "IfStatement",
"start": 1304,
"end": 1491,
"loc": {
"start": {
"line": 43,
"column": 12
},
"end": {
"line": 47,
"column": 13
}
},
"test": {
"type": "CallExpression",
"start": 1308,
"end": 1325,
"loc": {
"start": {
"line": 43,
"column": 16
},
"end": {
"line": 43,
"column": 33
}
},
"callee": {
"type": "MemberExpression",
"start": 1308,
"end": 1323,
"loc": {
"start": {
"line": 43,
"column": 16
},
"end": {
"line": 43,
"column": 31
}
},
"object": {
"type": "ThisExpression",
"start": 1308,
"end": 1312,
"loc": {
"start": {
"line": 43,
"column": 16
},
"end": {
"line": 43,
"column": 20
}
}
},
"property": {
"type": "Identifier",
"start": 1313,
"end": 1323,
"loc": {
"start": {
"line": 43,
"column": 21
},
"end": {
"line": 43,
"column": 31
},
"identifierName": "getEnabled"
},
"name": "getEnabled"
},
"computed": false
},
"arguments": []
},
"consequent": {
"type": "BlockStatement",
"start": 1327,
"end": 1491,
"loc": {
"start": {
"line": 43,
"column": 35
},
"end": {
"line": 47,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 1345,
"end": 1387,
"loc": {
"start": {
"line": 44,
"column": 16
},
"end": {
"line": 44,
"column": 58
}
},
"expression": {
"type": "CallExpression",
"start": 1345,
"end": 1386,
"loc": {
"start": {
"line": 44,
"column": 16
},
"end": {
"line": 44,
"column": 57
}
},
"callee": {
"type": "MemberExpression",
"start": 1345,
"end": 1384,
"loc": {
"start": {
"line": 44,
"column": 16
},
"end": {
"line": 44,
"column": 55
}
},
"object": {
"type": "MemberExpression",
"start": 1345,
"end": 1372,
"loc": {
"start": {
"line": 44,
"column": 16
},
"end": {
"line": 44,
"column": 43
}
},
"object": {
"type": "MemberExpression",
"start": 1345,
"end": 1359,
"loc": {
"start": {
"line": 44,
"column": 16
},
"end": {
"line": 44,
"column": 30
}
},
"object": {
"type": "ThisExpression",
"start": 1345,
"end": 1349,
"loc": {
"start": {
"line": 44,
"column": 16
},
"end": {
"line": 44,
"column": 20
}
}
},
"property": {
"type": "Identifier",
"start": 1350,
"end": 1359,
"loc": {
"start": {
"line": 44,
"column": 21
},
"end": {
"line": 44,
"column": 30
},
"identifierName": "bimViewer"
},
"name": "bimViewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1360,
"end": 1372,
"loc": {
"start": {
"line": 44,
"column": 31
},
"end": {
"line": 44,
"column": 43
},
"identifierName": "_sectionTool"
},
"name": "_sectionTool"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1373,
"end": 1384,
"loc": {
"start": {
"line": 44,
"column": 44
},
"end": {
"line": 44,
"column": 55
},
"identifierName": "hideControl"
},
"name": "hideControl"
},
"computed": false
},
"arguments": []
}
},
{
"type": "VariableDeclaration",
"start": 1404,
"end": 1436,
"loc": {
"start": {
"line": 45,
"column": 16
},
"end": {
"line": 45,
"column": 48
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 1410,
"end": 1435,
"loc": {
"start": {
"line": 45,
"column": 22
},
"end": {
"line": 45,
"column": 47
}
},
"id": {
"type": "Identifier",
"start": 1410,
"end": 1416,
"loc": {
"start": {
"line": 45,
"column": 22
},
"end": {
"line": 45,
"column": 28
},
"identifierName": "active"
},
"name": "active"
},
"init": {
"type": "CallExpression",
"start": 1419,
"end": 1435,
"loc": {
"start": {
"line": 45,
"column": 31
},
"end": {
"line": 45,
"column": 47
}
},
"callee": {
"type": "MemberExpression",
"start": 1419,
"end": 1433,
"loc": {
"start": {
"line": 45,
"column": 31
},
"end": {
"line": 45,
"column": 45
}
},
"object": {
"type": "ThisExpression",
"start": 1419,
"end": 1423,
"loc": {
"start": {
"line": 45,
"column": 31
},
"end": {
"line": 45,
"column": 35
}
}
},
"property": {
"type": "Identifier",
"start": 1424,
"end": 1433,
"loc": {
"start": {
"line": 45,
"column": 36
},
"end": {
"line": 45,
"column": 45
},
"identifierName": "getActive"
},
"name": "getActive"
},
"computed": false
},
"arguments": []
}
}
],
"kind": "const"
},
{
"type": "ExpressionStatement",
"start": 1453,
"end": 1477,
"loc": {
"start": {
"line": 46,
"column": 16
},
"end": {
"line": 46,
"column": 40
}
},
"expression": {
"type": "CallExpression",
"start": 1453,
"end": 1476,
"loc": {
"start": {
"line": 46,
"column": 16
},
"end": {
"line": 46,
"column": 39
}
},
"callee": {
"type": "MemberExpression",
"start": 1453,
"end": 1467,
"loc": {
"start": {
"line": 46,
"column": 16
},
"end": {
"line": 46,
"column": 30
}
},
"object": {
"type": "ThisExpression",
"start": 1453,
"end": 1457,
"loc": {
"start": {
"line": 46,
"column": 16
},
"end": {
"line": 46,
"column": 20
}
}
},
"property": {
"type": "Identifier",
"start": 1458,
"end": 1467,
"loc": {
"start": {
"line": 46,
"column": 21
},
"end": {
"line": 46,
"column": 30
},
"identifierName": "setActive"
},
"name": "setActive"
},
"computed": false
},
"arguments": [
{
"type": "UnaryExpression",
"start": 1468,
"end": 1475,
"loc": {
"start": {
"line": 46,
"column": 31
},
"end": {
"line": 46,
"column": 38
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 1469,
"end": 1475,
"loc": {
"start": {
"line": 46,
"column": 32
},
"end": {
"line": 46,
"column": 38
},
"identifierName": "active"
},
"name": "active"
},
"extra": {
"parenthesizedArgument": false
}
}
]
}
}
],
"directives": []
},
"alternate": null
},
{
"type": "ExpressionStatement",
"start": 1504,
"end": 1527,
"loc": {
"start": {
"line": 48,
"column": 12
},
"end": {
"line": 48,
"column": 35
}
},
"expression": {
"type": "CallExpression",
"start": 1504,
"end": 1526,
"loc": {
"start": {
"line": 48,
"column": 12
},
"end": {
"line": 48,
"column": 34
}
},
"callee": {
"type": "MemberExpression",
"start": 1504,
"end": 1524,
"loc": {
"start": {
"line": 48,
"column": 12
},
"end": {
"line": 48,
"column": 32
}
},
"object": {
"type": "Identifier",
"start": 1504,
"end": 1509,
"loc": {
"start": {
"line": 48,
"column": 12
},
"end": {
"line": 48,
"column": 17
},
"identifierName": "event"
},
"name": "event"
},
"property": {
"type": "Identifier",
"start": 1510,
"end": 1524,
"loc": {
"start": {
"line": 48,
"column": 18
},
"end": {
"line": 48,
"column": 32
},
"identifierName": "preventDefault"
},
"name": "preventDefault"
},
"computed": false
},
"arguments": []
}
}
],
"directives": []
}
}
]
}
},
{
"type": "ExpressionStatement",
"start": 1549,
"end": 1630,
"loc": {
"start": {
"line": 51,
"column": 8
},
"end": {
"line": 53,
"column": 11
}
},
"expression": {
"type": "CallExpression",
"start": 1549,
"end": 1629,
"loc": {
"start": {
"line": 51,
"column": 8
},
"end": {
"line": 53,
"column": 10
}
},
"callee": {
"type": "MemberExpression",
"start": 1549,
"end": 1566,
"loc": {
"start": {
"line": 51,
"column": 8
},
"end": {
"line": 51,
"column": 25
}
},
"object": {
"type": "MemberExpression",
"start": 1549,
"end": 1563,
"loc": {
"start": {
"line": 51,
"column": 8
},
"end": {
"line": 51,
"column": 22
}
},
"object": {
"type": "ThisExpression",
"start": 1549,
"end": 1553,
"loc": {
"start": {
"line": 51,
"column": 8
},
"end": {
"line": 51,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 1554,
"end": 1563,
"loc": {
"start": {
"line": 51,
"column": 13
},
"end": {
"line": 51,
"column": 22
},
"identifierName": "bimViewer"
},
"name": "bimViewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1564,
"end": 1566,
"loc": {
"start": {
"line": 51,
"column": 23
},
"end": {
"line": 51,
"column": 25
},
"identifierName": "on"
},
"name": "on"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 1567,
"end": 1574,
"loc": {
"start": {
"line": 51,
"column": 26
},
"end": {
"line": 51,
"column": 33
}
},
"extra": {
"rawValue": "reset",
"raw": "\"reset\""
},
"value": "reset"
},
{
"type": "ArrowFunctionExpression",
"start": 1576,
"end": 1628,
"loc": {
"start": {
"line": 51,
"column": 35
},
"end": {
"line": 53,
"column": 9
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 1582,
"end": 1628,
"loc": {
"start": {
"line": 51,
"column": 41
},
"end": {
"line": 53,
"column": 9
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 1596,
"end": 1618,
"loc": {
"start": {
"line": 52,
"column": 12
},
"end": {
"line": 52,
"column": 34
}
},
"expression": {
"type": "CallExpression",
"start": 1596,
"end": 1617,
"loc": {
"start": {
"line": 52,
"column": 12
},
"end": {
"line": 52,
"column": 33
}
},
"callee": {
"type": "MemberExpression",
"start": 1596,
"end": 1610,
"loc": {
"start": {
"line": 52,
"column": 12
},
"end": {
"line": 52,
"column": 26
}
},
"object": {
"type": "ThisExpression",
"start": 1596,
"end": 1600,
"loc": {
"start": {
"line": 52,
"column": 12
},
"end": {
"line": 52,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 1601,
"end": 1610,
"loc": {
"start": {
"line": 52,
"column": 17
},
"end": {
"line": 52,
"column": 26
},
"identifierName": "setActive"
},
"name": "setActive"
},
"computed": false
},
"arguments": [
{
"type": "BooleanLiteral",
"start": 1611,
"end": 1616,
"loc": {
"start": {
"line": 52,
"column": 27
},
"end": {
"line": 52,
"column": 32
}
},
"value": false
}
]
}
}
],
"directives": []
}
}
]
}
}
],
"directives": []
}
}
]
},
"leadingComments": [
{
"type": "CommentBlock",
"value": "* @private ",
"start": 46,
"end": 61,
"loc": {
"start": {
"line": 3,
"column": 0
},
"end": {
"line": 3,
"column": 15
}
}
}
],
"__PseudoExport__": false,
"trailingComments": []
},
"specifiers": null,
"source": null,
"leadingComments": null
}
],
"directives": []
},
"comments": [
{
"type": "CommentBlock",
"value": "* @private ",
"start": 46,
"end": 61,
"loc": {
"start": {
"line": 3,
"column": 0
},
"end": {
"line": 3,
"column": 15
}
}
}
],
"tokens": [
{
"type": {
"label": "import",
"keyword": "import",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "import",
"start": 0,
"end": 6,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 1,
"column": 6
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 7,
"end": 8,
"loc": {
"start": {
"line": 1,
"column": 7
},
"end": {
"line": 1,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Controller",
"start": 8,
"end": 18,
"loc": {
"start": {
"line": 1,
"column": 8
},
"end": {
"line": 1,
"column": 18
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 18,
"end": 19,
"loc": {
"start": {
"line": 1,
"column": 18
},
"end": {
"line": 1,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "from",
"start": 20,
"end": 24,
"loc": {
"start": {
"line": 1,
"column": 20
},
"end": {
"line": 1,
"column": 24
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "../Controller.js",
"start": 25,
"end": 43,
"loc": {
"start": {
"line": 1,
"column": 25
},
"end": {
"line": 1,
"column": 43
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 43,
"end": 44,
"loc": {
"start": {
"line": 1,
"column": 43
},
"end": {
"line": 1,
"column": 44
}
}
},
{
"type": "CommentBlock",
"value": "* @private ",
"start": 46,
"end": 61,
"loc": {
"start": {
"line": 3,
"column": 0
},
"end": {
"line": 3,
"column": 15
}
}
},
{
"type": {
"label": "class",
"keyword": "class",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "class",
"start": 62,
"end": 67,
"loc": {
"start": {
"line": 4,
"column": 0
},
"end": {
"line": 4,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "SelectionTool",
"start": 68,
"end": 81,
"loc": {
"start": {
"line": 4,
"column": 6
},
"end": {
"line": 4,
"column": 19
}
}
},
{
"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": 82,
"end": 89,
"loc": {
"start": {
"line": 4,
"column": 20
},
"end": {
"line": 4,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Controller",
"start": 90,
"end": 100,
"loc": {
"start": {
"line": 4,
"column": 28
},
"end": {
"line": 4,
"column": 38
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 101,
"end": 102,
"loc": {
"start": {
"line": 4,
"column": 39
},
"end": {
"line": 4,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "constructor",
"start": 108,
"end": 119,
"loc": {
"start": {
"line": 6,
"column": 4
},
"end": {
"line": 6,
"column": 15
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 119,
"end": 120,
"loc": {
"start": {
"line": 6,
"column": 15
},
"end": {
"line": 6,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parent",
"start": 120,
"end": 126,
"loc": {
"start": {
"line": 6,
"column": 16
},
"end": {
"line": 6,
"column": 22
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 126,
"end": 127,
"loc": {
"start": {
"line": 6,
"column": 22
},
"end": {
"line": 6,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cfg",
"start": 128,
"end": 131,
"loc": {
"start": {
"line": 6,
"column": 24
},
"end": {
"line": 6,
"column": 27
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 131,
"end": 132,
"loc": {
"start": {
"line": 6,
"column": 27
},
"end": {
"line": 6,
"column": 28
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 133,
"end": 134,
"loc": {
"start": {
"line": 6,
"column": 29
},
"end": {
"line": 6,
"column": 30
}
}
},
{
"type": {
"label": "super",
"keyword": "super",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "super",
"start": 144,
"end": 149,
"loc": {
"start": {
"line": 8,
"column": 8
},
"end": {
"line": 8,
"column": 13
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 149,
"end": 150,
"loc": {
"start": {
"line": 8,
"column": 13
},
"end": {
"line": 8,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "parent",
"start": 150,
"end": 156,
"loc": {
"start": {
"line": 8,
"column": 14
},
"end": {
"line": 8,
"column": 20
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 156,
"end": 157,
"loc": {
"start": {
"line": 8,
"column": 20
},
"end": {
"line": 8,
"column": 21
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 157,
"end": 158,
"loc": {
"start": {
"line": 8,
"column": 21
},
"end": {
"line": 8,
"column": 22
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 168,
"end": 170,
"loc": {
"start": {
"line": 10,
"column": 8
},
"end": {
"line": 10,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 171,
"end": 172,
"loc": {
"start": {
"line": 10,
"column": 11
},
"end": {
"line": 10,
"column": 12
}
}
},
{
"type": {
"label": "prefix",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "!",
"start": 172,
"end": 173,
"loc": {
"start": {
"line": 10,
"column": 12
},
"end": {
"line": 10,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cfg",
"start": 173,
"end": 176,
"loc": {
"start": {
"line": 10,
"column": 13
},
"end": {
"line": 10,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 176,
"end": 177,
"loc": {
"start": {
"line": 10,
"column": 16
},
"end": {
"line": 10,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "buttonElement",
"start": 177,
"end": 190,
"loc": {
"start": {
"line": 10,
"column": 17
},
"end": {
"line": 10,
"column": 30
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 190,
"end": 191,
"loc": {
"start": {
"line": 10,
"column": 30
},
"end": {
"line": 10,
"column": 31
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 192,
"end": 193,
"loc": {
"start": {
"line": 10,
"column": 32
},
"end": {
"line": 10,
"column": 33
}
}
},
{
"type": {
"label": "throw",
"keyword": "throw",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "throw",
"start": 206,
"end": 211,
"loc": {
"start": {
"line": 11,
"column": 12
},
"end": {
"line": 11,
"column": 17
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "Missing config: buttonElement",
"start": 212,
"end": 243,
"loc": {
"start": {
"line": 11,
"column": 18
},
"end": {
"line": 11,
"column": 49
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 243,
"end": 244,
"loc": {
"start": {
"line": 11,
"column": 49
},
"end": {
"line": 11,
"column": 50
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 253,
"end": 254,
"loc": {
"start": {
"line": 12,
"column": 8
},
"end": {
"line": 12,
"column": 9
}
}
},
{
"type": {
"label": "const",
"keyword": "const",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "const",
"start": 264,
"end": 269,
"loc": {
"start": {
"line": 14,
"column": 8
},
"end": {
"line": 14,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "buttonElement",
"start": 270,
"end": 283,
"loc": {
"start": {
"line": 14,
"column": 14
},
"end": {
"line": 14,
"column": 27
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 284,
"end": 285,
"loc": {
"start": {
"line": 14,
"column": 28
},
"end": {
"line": 14,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cfg",
"start": 286,
"end": 289,
"loc": {
"start": {
"line": 14,
"column": 30
},
"end": {
"line": 14,
"column": 33
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 289,
"end": 290,
"loc": {
"start": {
"line": 14,
"column": 33
},
"end": {
"line": 14,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "buttonElement",
"start": 290,
"end": 303,
"loc": {
"start": {
"line": 14,
"column": 34
},
"end": {
"line": 14,
"column": 47
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 303,
"end": 304,
"loc": {
"start": {
"line": 14,
"column": 47
},
"end": {
"line": 14,
"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": 314,
"end": 318,
"loc": {
"start": {
"line": 16,
"column": 8
},
"end": {
"line": 16,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 318,
"end": 319,
"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": "on",
"start": 319,
"end": 321,
"loc": {
"start": {
"line": 16,
"column": 13
},
"end": {
"line": 16,
"column": 15
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 321,
"end": 322,
"loc": {
"start": {
"line": 16,
"column": 15
},
"end": {
"line": 16,
"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": 322,
"end": 331,
"loc": {
"start": {
"line": 16,
"column": 16
},
"end": {
"line": 16,
"column": 25
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 331,
"end": 332,
"loc": {
"start": {
"line": 16,
"column": 25
},
"end": {
"line": 16,
"column": 26
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 333,
"end": 334,
"loc": {
"start": {
"line": 16,
"column": 27
},
"end": {
"line": 16,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "enabled",
"start": 334,
"end": 341,
"loc": {
"start": {
"line": 16,
"column": 28
},
"end": {
"line": 16,
"column": 35
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 341,
"end": 342,
"loc": {
"start": {
"line": 16,
"column": 35
},
"end": {
"line": 16,
"column": 36
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 343,
"end": 345,
"loc": {
"start": {
"line": 16,
"column": 37
},
"end": {
"line": 16,
"column": 39
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 346,
"end": 347,
"loc": {
"start": {
"line": 16,
"column": 40
},
"end": {
"line": 16,
"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": 360,
"end": 362,
"loc": {
"start": {
"line": 17,
"column": 12
},
"end": {
"line": 17,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 363,
"end": 364,
"loc": {
"start": {
"line": 17,
"column": 15
},
"end": {
"line": 17,
"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": 364,
"end": 365,
"loc": {
"start": {
"line": 17,
"column": 16
},
"end": {
"line": 17,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "enabled",
"start": 365,
"end": 372,
"loc": {
"start": {
"line": 17,
"column": 17
},
"end": {
"line": 17,
"column": 24
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 372,
"end": 373,
"loc": {
"start": {
"line": 17,
"column": 24
},
"end": {
"line": 17,
"column": 25
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 374,
"end": 375,
"loc": {
"start": {
"line": 17,
"column": 26
},
"end": {
"line": 17,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "buttonElement",
"start": 392,
"end": 405,
"loc": {
"start": {
"line": 18,
"column": 16
},
"end": {
"line": 18,
"column": 29
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 405,
"end": 406,
"loc": {
"start": {
"line": 18,
"column": 29
},
"end": {
"line": 18,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "classList",
"start": 406,
"end": 415,
"loc": {
"start": {
"line": 18,
"column": 30
},
"end": {
"line": 18,
"column": 39
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 415,
"end": 416,
"loc": {
"start": {
"line": 18,
"column": 39
},
"end": {
"line": 18,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "add",
"start": 416,
"end": 419,
"loc": {
"start": {
"line": 18,
"column": 40
},
"end": {
"line": 18,
"column": 43
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 419,
"end": 420,
"loc": {
"start": {
"line": 18,
"column": 43
},
"end": {
"line": 18,
"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": 420,
"end": 430,
"loc": {
"start": {
"line": 18,
"column": 44
},
"end": {
"line": 18,
"column": 54
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 430,
"end": 431,
"loc": {
"start": {
"line": 18,
"column": 54
},
"end": {
"line": 18,
"column": 55
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 431,
"end": 432,
"loc": {
"start": {
"line": 18,
"column": 55
},
"end": {
"line": 18,
"column": 56
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 445,
"end": 446,
"loc": {
"start": {
"line": 19,
"column": 12
},
"end": {
"line": 19,
"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": 447,
"end": 451,
"loc": {
"start": {
"line": 19,
"column": 14
},
"end": {
"line": 19,
"column": 18
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 452,
"end": 453,
"loc": {
"start": {
"line": 19,
"column": 19
},
"end": {
"line": 19,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "buttonElement",
"start": 470,
"end": 483,
"loc": {
"start": {
"line": 20,
"column": 16
},
"end": {
"line": 20,
"column": 29
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 483,
"end": 484,
"loc": {
"start": {
"line": 20,
"column": 29
},
"end": {
"line": 20,
"column": 30
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "classList",
"start": 484,
"end": 493,
"loc": {
"start": {
"line": 20,
"column": 30
},
"end": {
"line": 20,
"column": 39
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 493,
"end": 494,
"loc": {
"start": {
"line": 20,
"column": 39
},
"end": {
"line": 20,
"column": 40
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "remove",
"start": 494,
"end": 500,
"loc": {
"start": {
"line": 20,
"column": 40
},
"end": {
"line": 20,
"column": 46
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 500,
"end": 501,
"loc": {
"start": {
"line": 20,
"column": 46
},
"end": {
"line": 20,
"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": 501,
"end": 511,
"loc": {
"start": {
"line": 20,
"column": 47
},
"end": {
"line": 20,
"column": 57
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 511,
"end": 512,
"loc": {
"start": {
"line": 20,
"column": 57
},
"end": {
"line": 20,
"column": 58
}
}
},
{
"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": 58
},
"end": {
"line": 20,
"column": 59
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 526,
"end": 527,
"loc": {
"start": {
"line": 21,
"column": 12
},
"end": {
"line": 21,
"column": 13
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 536,
"end": 537,
"loc": {
"start": {
"line": 22,
"column": 8
},
"end": {
"line": 22,
"column": 9
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 537,
"end": 538,
"loc": {
"start": {
"line": 22,
"column": 9
},
"end": {
"line": 22,
"column": 10
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 538,
"end": 539,
"loc": {
"start": {
"line": 22,
"column": 10
},
"end": {
"line": 22,
"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": 549,
"end": 553,
"loc": {
"start": {
"line": 24,
"column": 8
},
"end": {
"line": 24,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 553,
"end": 554,
"loc": {
"start": {
"line": 24,
"column": 12
},
"end": {
"line": 24,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "on",
"start": 554,
"end": 556,
"loc": {
"start": {
"line": 24,
"column": 13
},
"end": {
"line": 24,
"column": 15
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 556,
"end": 557,
"loc": {
"start": {
"line": 24,
"column": 15
},
"end": {
"line": 24,
"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": 557,
"end": 565,
"loc": {
"start": {
"line": 24,
"column": 16
},
"end": {
"line": 24,
"column": 24
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 565,
"end": 566,
"loc": {
"start": {
"line": 24,
"column": 24
},
"end": {
"line": 24,
"column": 25
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 567,
"end": 568,
"loc": {
"start": {
"line": 24,
"column": 26
},
"end": {
"line": 24,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "active",
"start": 568,
"end": 574,
"loc": {
"start": {
"line": 24,
"column": 27
},
"end": {
"line": 24,
"column": 33
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 574,
"end": 575,
"loc": {
"start": {
"line": 24,
"column": 33
},
"end": {
"line": 24,
"column": 34
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 576,
"end": 578,
"loc": {
"start": {
"line": 24,
"column": 35
},
"end": {
"line": 24,
"column": 37
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 579,
"end": 580,
"loc": {
"start": {
"line": 24,
"column": 38
},
"end": {
"line": 24,
"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": 593,
"end": 595,
"loc": {
"start": {
"line": 25,
"column": 12
},
"end": {
"line": 25,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 596,
"end": 597,
"loc": {
"start": {
"line": 25,
"column": 15
},
"end": {
"line": 25,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "active",
"start": 597,
"end": 603,
"loc": {
"start": {
"line": 25,
"column": 16
},
"end": {
"line": 25,
"column": 22
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 603,
"end": 604,
"loc": {
"start": {
"line": 25,
"column": 22
},
"end": {
"line": 25,
"column": 23
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 605,
"end": 606,
"loc": {
"start": {
"line": 25,
"column": 24
},
"end": {
"line": 25,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "buttonElement",
"start": 623,
"end": 636,
"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": 636,
"end": 637,
"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": 637,
"end": 646,
"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": 646,
"end": 647,
"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": "add",
"start": 647,
"end": 650,
"loc": {
"start": {
"line": 26,
"column": 40
},
"end": {
"line": 26,
"column": 43
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 650,
"end": 651,
"loc": {
"start": {
"line": 26,
"column": 43
},
"end": {
"line": 26,
"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": 651,
"end": 659,
"loc": {
"start": {
"line": 26,
"column": 44
},
"end": {
"line": 26,
"column": 52
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 659,
"end": 660,
"loc": {
"start": {
"line": 26,
"column": 52
},
"end": {
"line": 26,
"column": 53
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 660,
"end": 661,
"loc": {
"start": {
"line": 26,
"column": 53
},
"end": {
"line": 26,
"column": 54
}
}
},
{
"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": 678,
"end": 682,
"loc": {
"start": {
"line": 27,
"column": 16
},
"end": {
"line": 27,
"column": 20
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 682,
"end": 683,
"loc": {
"start": {
"line": 27,
"column": 20
},
"end": {
"line": 27,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_onPick",
"start": 683,
"end": 690,
"loc": {
"start": {
"line": 27,
"column": 21
},
"end": {
"line": 27,
"column": 28
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 691,
"end": 692,
"loc": {
"start": {
"line": 27,
"column": 29
},
"end": {
"line": 27,
"column": 30
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 693,
"end": 697,
"loc": {
"start": {
"line": 27,
"column": 31
},
"end": {
"line": 27,
"column": 35
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 697,
"end": 698,
"loc": {
"start": {
"line": 27,
"column": 35
},
"end": {
"line": 27,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "viewer",
"start": 698,
"end": 704,
"loc": {
"start": {
"line": 27,
"column": 36
},
"end": {
"line": 27,
"column": 42
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 704,
"end": 705,
"loc": {
"start": {
"line": 27,
"column": 42
},
"end": {
"line": 27,
"column": 43
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cameraControl",
"start": 705,
"end": 718,
"loc": {
"start": {
"line": 27,
"column": 43
},
"end": {
"line": 27,
"column": 56
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 718,
"end": 719,
"loc": {
"start": {
"line": 27,
"column": 56
},
"end": {
"line": 27,
"column": 57
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "on",
"start": 719,
"end": 721,
"loc": {
"start": {
"line": 27,
"column": 57
},
"end": {
"line": 27,
"column": 59
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 721,
"end": 722,
"loc": {
"start": {
"line": 27,
"column": 59
},
"end": {
"line": 27,
"column": 60
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "picked",
"start": 722,
"end": 730,
"loc": {
"start": {
"line": 27,
"column": 60
},
"end": {
"line": 27,
"column": 68
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 730,
"end": 731,
"loc": {
"start": {
"line": 27,
"column": 68
},
"end": {
"line": 27,
"column": 69
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 732,
"end": 733,
"loc": {
"start": {
"line": 27,
"column": 70
},
"end": {
"line": 27,
"column": 71
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "pickResult",
"start": 733,
"end": 743,
"loc": {
"start": {
"line": 27,
"column": 71
},
"end": {
"line": 27,
"column": 81
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 743,
"end": 744,
"loc": {
"start": {
"line": 27,
"column": 81
},
"end": {
"line": 27,
"column": 82
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 745,
"end": 747,
"loc": {
"start": {
"line": 27,
"column": 83
},
"end": {
"line": 27,
"column": 85
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 748,
"end": 749,
"loc": {
"start": {
"line": 27,
"column": 86
},
"end": {
"line": 27,
"column": 87
}
}
},
{
"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": 770,
"end": 772,
"loc": {
"start": {
"line": 28,
"column": 20
},
"end": {
"line": 28,
"column": 22
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 773,
"end": 774,
"loc": {
"start": {
"line": 28,
"column": 23
},
"end": {
"line": 28,
"column": 24
}
}
},
{
"type": {
"label": "prefix",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "!",
"start": 774,
"end": 775,
"loc": {
"start": {
"line": 28,
"column": 24
},
"end": {
"line": 28,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "pickResult",
"start": 775,
"end": 785,
"loc": {
"start": {
"line": 28,
"column": 25
},
"end": {
"line": 28,
"column": 35
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 785,
"end": 786,
"loc": {
"start": {
"line": 28,
"column": 35
},
"end": {
"line": 28,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 786,
"end": 792,
"loc": {
"start": {
"line": 28,
"column": 36
},
"end": {
"line": 28,
"column": 42
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 792,
"end": 793,
"loc": {
"start": {
"line": 28,
"column": 42
},
"end": {
"line": 28,
"column": 43
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 794,
"end": 795,
"loc": {
"start": {
"line": 28,
"column": 44
},
"end": {
"line": 28,
"column": 45
}
}
},
{
"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": 820,
"end": 826,
"loc": {
"start": {
"line": 29,
"column": 24
},
"end": {
"line": 29,
"column": 30
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 826,
"end": 827,
"loc": {
"start": {
"line": 29,
"column": 30
},
"end": {
"line": 29,
"column": 31
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 848,
"end": 849,
"loc": {
"start": {
"line": 30,
"column": 20
},
"end": {
"line": 30,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "pickResult",
"start": 868,
"end": 878,
"loc": {
"start": {
"line": 31,
"column": 18
},
"end": {
"line": 31,
"column": 28
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 878,
"end": 879,
"loc": {
"start": {
"line": 31,
"column": 28
},
"end": {
"line": 31,
"column": 29
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 879,
"end": 885,
"loc": {
"start": {
"line": 31,
"column": 29
},
"end": {
"line": 31,
"column": 35
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 885,
"end": 886,
"loc": {
"start": {
"line": 31,
"column": 35
},
"end": {
"line": 31,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "selected",
"start": 886,
"end": 894,
"loc": {
"start": {
"line": 31,
"column": 36
},
"end": {
"line": 31,
"column": 44
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 895,
"end": 896,
"loc": {
"start": {
"line": 31,
"column": 45
},
"end": {
"line": 31,
"column": 46
}
}
},
{
"type": {
"label": "prefix",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "!",
"start": 897,
"end": 898,
"loc": {
"start": {
"line": 31,
"column": 47
},
"end": {
"line": 31,
"column": 48
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "pickResult",
"start": 898,
"end": 908,
"loc": {
"start": {
"line": 31,
"column": 48
},
"end": {
"line": 31,
"column": 58
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 908,
"end": 909,
"loc": {
"start": {
"line": 31,
"column": 58
},
"end": {
"line": 31,
"column": 59
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "entity",
"start": 909,
"end": 915,
"loc": {
"start": {
"line": 31,
"column": 59
},
"end": {
"line": 31,
"column": 65
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 915,
"end": 916,
"loc": {
"start": {
"line": 31,
"column": 65
},
"end": {
"line": 31,
"column": 66
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "selected",
"start": 916,
"end": 924,
"loc": {
"start": {
"line": 31,
"column": 66
},
"end": {
"line": 31,
"column": 74
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 924,
"end": 925,
"loc": {
"start": {
"line": 31,
"column": 74
},
"end": {
"line": 31,
"column": 75
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 942,
"end": 943,
"loc": {
"start": {
"line": 32,
"column": 16
},
"end": {
"line": 32,
"column": 17
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 943,
"end": 944,
"loc": {
"start": {
"line": 32,
"column": 17
},
"end": {
"line": 32,
"column": 18
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 944,
"end": 945,
"loc": {
"start": {
"line": 32,
"column": 18
},
"end": {
"line": 32,
"column": 19
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 958,
"end": 959,
"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": 960,
"end": 964,
"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": 965,
"end": 966,
"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": 983,
"end": 996,
"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": 996,
"end": 997,
"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": 997,
"end": 1006,
"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": 1006,
"end": 1007,
"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": 1007,
"end": 1013,
"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": 1013,
"end": 1014,
"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": 1014,
"end": 1022,
"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": 1022,
"end": 1023,
"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": 1023,
"end": 1024,
"loc": {
"start": {
"line": 34,
"column": 56
},
"end": {
"line": 34,
"column": 57
}
}
},
{
"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": 1041,
"end": 1043,
"loc": {
"start": {
"line": 35,
"column": 16
},
"end": {
"line": 35,
"column": 18
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1044,
"end": 1045,
"loc": {
"start": {
"line": 35,
"column": 19
},
"end": {
"line": 35,
"column": 20
}
}
},
{
"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": 1045,
"end": 1049,
"loc": {
"start": {
"line": 35,
"column": 20
},
"end": {
"line": 35,
"column": 24
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1049,
"end": 1050,
"loc": {
"start": {
"line": 35,
"column": 24
},
"end": {
"line": 35,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_onPick",
"start": 1050,
"end": 1057,
"loc": {
"start": {
"line": 35,
"column": 25
},
"end": {
"line": 35,
"column": 32
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "!==",
"start": 1058,
"end": 1061,
"loc": {
"start": {
"line": 35,
"column": 33
},
"end": {
"line": 35,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "undefined",
"start": 1062,
"end": 1071,
"loc": {
"start": {
"line": 35,
"column": 37
},
"end": {
"line": 35,
"column": 46
}
}
},
{
"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": 35,
"column": 46
},
"end": {
"line": 35,
"column": 47
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1073,
"end": 1074,
"loc": {
"start": {
"line": 35,
"column": 48
},
"end": {
"line": 35,
"column": 49
}
}
},
{
"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": 1095,
"end": 1099,
"loc": {
"start": {
"line": 36,
"column": 20
},
"end": {
"line": 36,
"column": 24
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1099,
"end": 1100,
"loc": {
"start": {
"line": 36,
"column": 24
},
"end": {
"line": 36,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "viewer",
"start": 1100,
"end": 1106,
"loc": {
"start": {
"line": 36,
"column": 25
},
"end": {
"line": 36,
"column": 31
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1106,
"end": 1107,
"loc": {
"start": {
"line": 36,
"column": 31
},
"end": {
"line": 36,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cameraControl",
"start": 1107,
"end": 1120,
"loc": {
"start": {
"line": 36,
"column": 32
},
"end": {
"line": 36,
"column": 45
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1120,
"end": 1121,
"loc": {
"start": {
"line": 36,
"column": 45
},
"end": {
"line": 36,
"column": 46
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "off",
"start": 1121,
"end": 1124,
"loc": {
"start": {
"line": 36,
"column": 46
},
"end": {
"line": 36,
"column": 49
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1124,
"end": 1125,
"loc": {
"start": {
"line": 36,
"column": 49
},
"end": {
"line": 36,
"column": 50
}
}
},
{
"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": 1125,
"end": 1129,
"loc": {
"start": {
"line": 36,
"column": 50
},
"end": {
"line": 36,
"column": 54
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1129,
"end": 1130,
"loc": {
"start": {
"line": 36,
"column": 54
},
"end": {
"line": 36,
"column": 55
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_onPick",
"start": 1130,
"end": 1137,
"loc": {
"start": {
"line": 36,
"column": 55
},
"end": {
"line": 36,
"column": 62
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1137,
"end": 1138,
"loc": {
"start": {
"line": 36,
"column": 62
},
"end": {
"line": 36,
"column": 63
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1138,
"end": 1139,
"loc": {
"start": {
"line": 36,
"column": 63
},
"end": {
"line": 36,
"column": 64
}
}
},
{
"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": 1160,
"end": 1164,
"loc": {
"start": {
"line": 37,
"column": 20
},
"end": {
"line": 37,
"column": 24
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1164,
"end": 1165,
"loc": {
"start": {
"line": 37,
"column": 24
},
"end": {
"line": 37,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_onPick",
"start": 1165,
"end": 1172,
"loc": {
"start": {
"line": 37,
"column": 25
},
"end": {
"line": 37,
"column": 32
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1173,
"end": 1174,
"loc": {
"start": {
"line": 37,
"column": 33
},
"end": {
"line": 37,
"column": 34
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "undefined",
"start": 1175,
"end": 1184,
"loc": {
"start": {
"line": 37,
"column": 35
},
"end": {
"line": 37,
"column": 44
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1184,
"end": 1185,
"loc": {
"start": {
"line": 37,
"column": 44
},
"end": {
"line": 37,
"column": 45
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1202,
"end": 1203,
"loc": {
"start": {
"line": 38,
"column": 16
},
"end": {
"line": 38,
"column": 17
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1216,
"end": 1217,
"loc": {
"start": {
"line": 39,
"column": 12
},
"end": {
"line": 39,
"column": 13
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1226,
"end": 1227,
"loc": {
"start": {
"line": 40,
"column": 8
},
"end": {
"line": 40,
"column": 9
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1227,
"end": 1228,
"loc": {
"start": {
"line": 40,
"column": 9
},
"end": {
"line": 40,
"column": 10
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1228,
"end": 1229,
"loc": {
"start": {
"line": 40,
"column": 10
},
"end": {
"line": 40,
"column": 11
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "buttonElement",
"start": 1239,
"end": 1252,
"loc": {
"start": {
"line": 42,
"column": 8
},
"end": {
"line": 42,
"column": 21
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1252,
"end": 1253,
"loc": {
"start": {
"line": 42,
"column": 21
},
"end": {
"line": 42,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "addEventListener",
"start": 1253,
"end": 1269,
"loc": {
"start": {
"line": 42,
"column": 22
},
"end": {
"line": 42,
"column": 38
}
}
},
{
"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": 42,
"column": 38
},
"end": {
"line": 42,
"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": 1270,
"end": 1277,
"loc": {
"start": {
"line": 42,
"column": 39
},
"end": {
"line": 42,
"column": 46
}
}
},
{
"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": 42,
"column": 46
},
"end": {
"line": 42,
"column": 47
}
}
},
{
"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": 42,
"column": 48
},
"end": {
"line": 42,
"column": 49
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "event",
"start": 1280,
"end": 1285,
"loc": {
"start": {
"line": 42,
"column": 49
},
"end": {
"line": 42,
"column": 54
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1285,
"end": 1286,
"loc": {
"start": {
"line": 42,
"column": 54
},
"end": {
"line": 42,
"column": 55
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1287,
"end": 1289,
"loc": {
"start": {
"line": 42,
"column": 56
},
"end": {
"line": 42,
"column": 58
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1290,
"end": 1291,
"loc": {
"start": {
"line": 42,
"column": 59
},
"end": {
"line": 42,
"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": 1304,
"end": 1306,
"loc": {
"start": {
"line": 43,
"column": 12
},
"end": {
"line": 43,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1307,
"end": 1308,
"loc": {
"start": {
"line": 43,
"column": 15
},
"end": {
"line": 43,
"column": 16
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 1308,
"end": 1312,
"loc": {
"start": {
"line": 43,
"column": 16
},
"end": {
"line": 43,
"column": 20
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1312,
"end": 1313,
"loc": {
"start": {
"line": 43,
"column": 20
},
"end": {
"line": 43,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getEnabled",
"start": 1313,
"end": 1323,
"loc": {
"start": {
"line": 43,
"column": 21
},
"end": {
"line": 43,
"column": 31
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1323,
"end": 1324,
"loc": {
"start": {
"line": 43,
"column": 31
},
"end": {
"line": 43,
"column": 32
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1324,
"end": 1325,
"loc": {
"start": {
"line": 43,
"column": 32
},
"end": {
"line": 43,
"column": 33
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1325,
"end": 1326,
"loc": {
"start": {
"line": 43,
"column": 33
},
"end": {
"line": 43,
"column": 34
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1327,
"end": 1328,
"loc": {
"start": {
"line": 43,
"column": 35
},
"end": {
"line": 43,
"column": 36
}
}
},
{
"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": 1345,
"end": 1349,
"loc": {
"start": {
"line": 44,
"column": 16
},
"end": {
"line": 44,
"column": 20
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1349,
"end": 1350,
"loc": {
"start": {
"line": 44,
"column": 20
},
"end": {
"line": 44,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "bimViewer",
"start": 1350,
"end": 1359,
"loc": {
"start": {
"line": 44,
"column": 21
},
"end": {
"line": 44,
"column": 30
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1359,
"end": 1360,
"loc": {
"start": {
"line": 44,
"column": 30
},
"end": {
"line": 44,
"column": 31
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_sectionTool",
"start": 1360,
"end": 1372,
"loc": {
"start": {
"line": 44,
"column": 31
},
"end": {
"line": 44,
"column": 43
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1372,
"end": 1373,
"loc": {
"start": {
"line": 44,
"column": 43
},
"end": {
"line": 44,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "hideControl",
"start": 1373,
"end": 1384,
"loc": {
"start": {
"line": 44,
"column": 44
},
"end": {
"line": 44,
"column": 55
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1384,
"end": 1385,
"loc": {
"start": {
"line": 44,
"column": 55
},
"end": {
"line": 44,
"column": 56
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1385,
"end": 1386,
"loc": {
"start": {
"line": 44,
"column": 56
},
"end": {
"line": 44,
"column": 57
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1386,
"end": 1387,
"loc": {
"start": {
"line": 44,
"column": 57
},
"end": {
"line": 44,
"column": 58
}
}
},
{
"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": 1404,
"end": 1409,
"loc": {
"start": {
"line": 45,
"column": 16
},
"end": {
"line": 45,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "active",
"start": 1410,
"end": 1416,
"loc": {
"start": {
"line": 45,
"column": 22
},
"end": {
"line": 45,
"column": 28
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1417,
"end": 1418,
"loc": {
"start": {
"line": 45,
"column": 29
},
"end": {
"line": 45,
"column": 30
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 1419,
"end": 1423,
"loc": {
"start": {
"line": 45,
"column": 31
},
"end": {
"line": 45,
"column": 35
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1423,
"end": 1424,
"loc": {
"start": {
"line": 45,
"column": 35
},
"end": {
"line": 45,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getActive",
"start": 1424,
"end": 1433,
"loc": {
"start": {
"line": 45,
"column": 36
},
"end": {
"line": 45,
"column": 45
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1433,
"end": 1434,
"loc": {
"start": {
"line": 45,
"column": 45
},
"end": {
"line": 45,
"column": 46
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1434,
"end": 1435,
"loc": {
"start": {
"line": 45,
"column": 46
},
"end": {
"line": 45,
"column": 47
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1435,
"end": 1436,
"loc": {
"start": {
"line": 45,
"column": 47
},
"end": {
"line": 45,
"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": 1453,
"end": 1457,
"loc": {
"start": {
"line": 46,
"column": 16
},
"end": {
"line": 46,
"column": 20
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1457,
"end": 1458,
"loc": {
"start": {
"line": 46,
"column": 20
},
"end": {
"line": 46,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "setActive",
"start": 1458,
"end": 1467,
"loc": {
"start": {
"line": 46,
"column": 21
},
"end": {
"line": 46,
"column": 30
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1467,
"end": 1468,
"loc": {
"start": {
"line": 46,
"column": 30
},
"end": {
"line": 46,
"column": 31
}
}
},
{
"type": {
"label": "prefix",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": true,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "!",
"start": 1468,
"end": 1469,
"loc": {
"start": {
"line": 46,
"column": 31
},
"end": {
"line": 46,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "active",
"start": 1469,
"end": 1475,
"loc": {
"start": {
"line": 46,
"column": 32
},
"end": {
"line": 46,
"column": 38
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1475,
"end": 1476,
"loc": {
"start": {
"line": 46,
"column": 38
},
"end": {
"line": 46,
"column": 39
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1476,
"end": 1477,
"loc": {
"start": {
"line": 46,
"column": 39
},
"end": {
"line": 46,
"column": 40
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1490,
"end": 1491,
"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": "event",
"start": 1504,
"end": 1509,
"loc": {
"start": {
"line": 48,
"column": 12
},
"end": {
"line": 48,
"column": 17
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1509,
"end": 1510,
"loc": {
"start": {
"line": 48,
"column": 17
},
"end": {
"line": 48,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "preventDefault",
"start": 1510,
"end": 1524,
"loc": {
"start": {
"line": 48,
"column": 18
},
"end": {
"line": 48,
"column": 32
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1524,
"end": 1525,
"loc": {
"start": {
"line": 48,
"column": 32
},
"end": {
"line": 48,
"column": 33
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1525,
"end": 1526,
"loc": {
"start": {
"line": 48,
"column": 33
},
"end": {
"line": 48,
"column": 34
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1526,
"end": 1527,
"loc": {
"start": {
"line": 48,
"column": 34
},
"end": {
"line": 48,
"column": 35
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1536,
"end": 1537,
"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": 1537,
"end": 1538,
"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": 1538,
"end": 1539,
"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": 1549,
"end": 1553,
"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": 1553,
"end": 1554,
"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": "bimViewer",
"start": 1554,
"end": 1563,
"loc": {
"start": {
"line": 51,
"column": 13
},
"end": {
"line": 51,
"column": 22
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1563,
"end": 1564,
"loc": {
"start": {
"line": 51,
"column": 22
},
"end": {
"line": 51,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "on",
"start": 1564,
"end": 1566,
"loc": {
"start": {
"line": 51,
"column": 23
},
"end": {
"line": 51,
"column": 25
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1566,
"end": 1567,
"loc": {
"start": {
"line": 51,
"column": 25
},
"end": {
"line": 51,
"column": 26
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "reset",
"start": 1567,
"end": 1574,
"loc": {
"start": {
"line": 51,
"column": 26
},
"end": {
"line": 51,
"column": 33
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1574,
"end": 1575,
"loc": {
"start": {
"line": 51,
"column": 33
},
"end": {
"line": 51,
"column": 34
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1576,
"end": 1577,
"loc": {
"start": {
"line": 51,
"column": 35
},
"end": {
"line": 51,
"column": 36
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1577,
"end": 1578,
"loc": {
"start": {
"line": 51,
"column": 36
},
"end": {
"line": 51,
"column": 37
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1579,
"end": 1581,
"loc": {
"start": {
"line": 51,
"column": 38
},
"end": {
"line": 51,
"column": 40
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1582,
"end": 1583,
"loc": {
"start": {
"line": 51,
"column": 41
},
"end": {
"line": 51,
"column": 42
}
}
},
{
"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": 1596,
"end": 1600,
"loc": {
"start": {
"line": 52,
"column": 12
},
"end": {
"line": 52,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1600,
"end": 1601,
"loc": {
"start": {
"line": 52,
"column": 16
},
"end": {
"line": 52,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "setActive",
"start": 1601,
"end": 1610,
"loc": {
"start": {
"line": 52,
"column": 17
},
"end": {
"line": 52,
"column": 26
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1610,
"end": 1611,
"loc": {
"start": {
"line": 52,
"column": 26
},
"end": {
"line": 52,
"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": 1611,
"end": 1616,
"loc": {
"start": {
"line": 52,
"column": 27
},
"end": {
"line": 52,
"column": 32
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1616,
"end": 1617,
"loc": {
"start": {
"line": 52,
"column": 32
},
"end": {
"line": 52,
"column": 33
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1617,
"end": 1618,
"loc": {
"start": {
"line": 52,
"column": 33
},
"end": {
"line": 52,
"column": 34
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1627,
"end": 1628,
"loc": {
"start": {
"line": 53,
"column": 8
},
"end": {
"line": 53,
"column": 9
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1628,
"end": 1629,
"loc": {
"start": {
"line": 53,
"column": 9
},
"end": {
"line": 53,
"column": 10
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1629,
"end": 1630,
"loc": {
"start": {
"line": 53,
"column": 10
},
"end": {
"line": 53,
"column": 11
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1635,
"end": 1636,
"loc": {
"start": {
"line": 54,
"column": 4
},
"end": {
"line": 54,
"column": 5
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1637,
"end": 1638,
"loc": {
"start": {
"line": 55,
"column": 0
},
"end": {
"line": 55,
"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": 1640,
"end": 1646,
"loc": {
"start": {
"line": 57,
"column": 0
},
"end": {
"line": 57,
"column": 6
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1647,
"end": 1648,
"loc": {
"start": {
"line": 57,
"column": 7
},
"end": {
"line": 57,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "SelectionTool",
"start": 1648,
"end": 1661,
"loc": {
"start": {
"line": 57,
"column": 8
},
"end": {
"line": 57,
"column": 21
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1661,
"end": 1662,
"loc": {
"start": {
"line": 57,
"column": 21
},
"end": {
"line": 57,
"column": 22
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1662,
"end": 1663,
"loc": {
"start": {
"line": 57,
"column": 22
},
"end": {
"line": 57,
"column": 23
}
}
},
{
"type": {
"label": "eof",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1663,
"end": 1663,
"loc": {
"start": {
"line": 57,
"column": 23
},
"end": {
"line": 57,
"column": 23
}
}
}
]
}