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

27041 lines
853 KiB
JSON

{
"type": "File",
"start": 0,
"end": 2816,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 100,
"column": 19
}
},
"program": {
"type": "Program",
"start": 0,
"end": 2816,
"loc": {
"start": {
"line": 1,
"column": 0
},
"end": {
"line": 100,
"column": 19
}
},
"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": 2795,
"loc": {
"start": {
"line": 4,
"column": 0
},
"end": {
"line": 98,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 68,
"end": 77,
"loc": {
"start": {
"line": 4,
"column": 6
},
"end": {
"line": 4,
"column": 15
},
"identifierName": "OrthoMode"
},
"name": "OrthoMode",
"leadingComments": null
},
"superClass": {
"type": "Identifier",
"start": 86,
"end": 96,
"loc": {
"start": {
"line": 4,
"column": 24
},
"end": {
"line": 4,
"column": 34
},
"identifierName": "Controller"
},
"name": "Controller"
},
"body": {
"type": "ClassBody",
"start": 97,
"end": 2795,
"loc": {
"start": {
"line": 4,
"column": 35
},
"end": {
"line": 98,
"column": 1
}
},
"body": [
{
"type": "ClassMethod",
"start": 104,
"end": 1347,
"loc": {
"start": {
"line": 6,
"column": 4
},
"end": {
"line": 48,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 104,
"end": 115,
"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": 116,
"end": 122,
"loc": {
"start": {
"line": 6,
"column": 16
},
"end": {
"line": 6,
"column": 22
},
"identifierName": "parent"
},
"name": "parent"
},
{
"type": "Identifier",
"start": 124,
"end": 127,
"loc": {
"start": {
"line": 6,
"column": 24
},
"end": {
"line": 6,
"column": 27
},
"identifierName": "cfg"
},
"name": "cfg"
}
],
"body": {
"type": "BlockStatement",
"start": 129,
"end": 1347,
"loc": {
"start": {
"line": 6,
"column": 29
},
"end": {
"line": 48,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 140,
"end": 159,
"loc": {
"start": {
"line": 8,
"column": 8
},
"end": {
"line": 8,
"column": 27
}
},
"expression": {
"type": "CallExpression",
"start": 140,
"end": 158,
"loc": {
"start": {
"line": 8,
"column": 8
},
"end": {
"line": 8,
"column": 26
}
},
"callee": {
"type": "Super",
"start": 140,
"end": 145,
"loc": {
"start": {
"line": 8,
"column": 8
},
"end": {
"line": 8,
"column": 13
}
}
},
"arguments": [
{
"type": "Identifier",
"start": 146,
"end": 152,
"loc": {
"start": {
"line": 8,
"column": 14
},
"end": {
"line": 8,
"column": 20
},
"identifierName": "parent"
},
"name": "parent"
},
{
"type": "Identifier",
"start": 154,
"end": 157,
"loc": {
"start": {
"line": 8,
"column": 22
},
"end": {
"line": 8,
"column": 25
},
"identifierName": "cfg"
},
"name": "cfg"
}
]
}
},
{
"type": "IfStatement",
"start": 169,
"end": 255,
"loc": {
"start": {
"line": 10,
"column": 8
},
"end": {
"line": 12,
"column": 9
}
},
"test": {
"type": "UnaryExpression",
"start": 173,
"end": 191,
"loc": {
"start": {
"line": 10,
"column": 12
},
"end": {
"line": 10,
"column": 30
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "MemberExpression",
"start": 174,
"end": 191,
"loc": {
"start": {
"line": 10,
"column": 13
},
"end": {
"line": 10,
"column": 30
}
},
"object": {
"type": "Identifier",
"start": 174,
"end": 177,
"loc": {
"start": {
"line": 10,
"column": 13
},
"end": {
"line": 10,
"column": 16
},
"identifierName": "cfg"
},
"name": "cfg"
},
"property": {
"type": "Identifier",
"start": 178,
"end": 191,
"loc": {
"start": {
"line": 10,
"column": 17
},
"end": {
"line": 10,
"column": 30
},
"identifierName": "buttonElement"
},
"name": "buttonElement"
},
"computed": false
},
"extra": {
"parenthesizedArgument": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 193,
"end": 255,
"loc": {
"start": {
"line": 10,
"column": 32
},
"end": {
"line": 12,
"column": 9
}
},
"body": [
{
"type": "ThrowStatement",
"start": 207,
"end": 245,
"loc": {
"start": {
"line": 11,
"column": 12
},
"end": {
"line": 11,
"column": 50
}
},
"argument": {
"type": "StringLiteral",
"start": 213,
"end": 244,
"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": "ExpressionStatement",
"start": 265,
"end": 305,
"loc": {
"start": {
"line": 14,
"column": 8
},
"end": {
"line": 14,
"column": 48
}
},
"expression": {
"type": "AssignmentExpression",
"start": 265,
"end": 304,
"loc": {
"start": {
"line": 14,
"column": 8
},
"end": {
"line": 14,
"column": 47
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 265,
"end": 284,
"loc": {
"start": {
"line": 14,
"column": 8
},
"end": {
"line": 14,
"column": 27
}
},
"object": {
"type": "ThisExpression",
"start": 265,
"end": 269,
"loc": {
"start": {
"line": 14,
"column": 8
},
"end": {
"line": 14,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 270,
"end": 284,
"loc": {
"start": {
"line": 14,
"column": 13
},
"end": {
"line": 14,
"column": 27
},
"identifierName": "_buttonElement"
},
"name": "_buttonElement"
},
"computed": false
},
"right": {
"type": "MemberExpression",
"start": 287,
"end": 304,
"loc": {
"start": {
"line": 14,
"column": 30
},
"end": {
"line": 14,
"column": 47
}
},
"object": {
"type": "Identifier",
"start": 287,
"end": 290,
"loc": {
"start": {
"line": 14,
"column": 30
},
"end": {
"line": 14,
"column": 33
},
"identifierName": "cfg"
},
"name": "cfg"
},
"property": {
"type": "Identifier",
"start": 291,
"end": 304,
"loc": {
"start": {
"line": 14,
"column": 34
},
"end": {
"line": 14,
"column": 47
},
"identifierName": "buttonElement"
},
"name": "buttonElement"
},
"computed": false
}
}
},
{
"type": "ExpressionStatement",
"start": 315,
"end": 552,
"loc": {
"start": {
"line": 16,
"column": 8
},
"end": {
"line": 22,
"column": 11
}
},
"expression": {
"type": "CallExpression",
"start": 315,
"end": 551,
"loc": {
"start": {
"line": 16,
"column": 8
},
"end": {
"line": 22,
"column": 10
}
},
"callee": {
"type": "MemberExpression",
"start": 315,
"end": 322,
"loc": {
"start": {
"line": 16,
"column": 8
},
"end": {
"line": 16,
"column": 15
}
},
"object": {
"type": "ThisExpression",
"start": 315,
"end": 319,
"loc": {
"start": {
"line": 16,
"column": 8
},
"end": {
"line": 16,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 320,
"end": 322,
"loc": {
"start": {
"line": 16,
"column": 13
},
"end": {
"line": 16,
"column": 15
},
"identifierName": "on"
},
"name": "on"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 323,
"end": 332,
"loc": {
"start": {
"line": 16,
"column": 16
},
"end": {
"line": 16,
"column": 25
}
},
"extra": {
"rawValue": "enabled",
"raw": "\"enabled\""
},
"value": "enabled"
},
{
"type": "ArrowFunctionExpression",
"start": 334,
"end": 550,
"loc": {
"start": {
"line": 16,
"column": 27
},
"end": {
"line": 22,
"column": 9
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 335,
"end": 342,
"loc": {
"start": {
"line": 16,
"column": 28
},
"end": {
"line": 16,
"column": 35
},
"identifierName": "enabled"
},
"name": "enabled"
}
],
"body": {
"type": "BlockStatement",
"start": 347,
"end": 550,
"loc": {
"start": {
"line": 16,
"column": 40
},
"end": {
"line": 22,
"column": 9
}
},
"body": [
{
"type": "IfStatement",
"start": 361,
"end": 540,
"loc": {
"start": {
"line": 17,
"column": 12
},
"end": {
"line": 21,
"column": 13
}
},
"test": {
"type": "UnaryExpression",
"start": 365,
"end": 373,
"loc": {
"start": {
"line": 17,
"column": 16
},
"end": {
"line": 17,
"column": 24
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 366,
"end": 373,
"loc": {
"start": {
"line": 17,
"column": 17
},
"end": {
"line": 17,
"column": 24
},
"identifierName": "enabled"
},
"name": "enabled"
},
"extra": {
"parenthesizedArgument": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 375,
"end": 453,
"loc": {
"start": {
"line": 17,
"column": 26
},
"end": {
"line": 19,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 393,
"end": 439,
"loc": {
"start": {
"line": 18,
"column": 16
},
"end": {
"line": 18,
"column": 62
}
},
"expression": {
"type": "CallExpression",
"start": 393,
"end": 438,
"loc": {
"start": {
"line": 18,
"column": 16
},
"end": {
"line": 18,
"column": 61
}
},
"callee": {
"type": "MemberExpression",
"start": 393,
"end": 426,
"loc": {
"start": {
"line": 18,
"column": 16
},
"end": {
"line": 18,
"column": 49
}
},
"object": {
"type": "MemberExpression",
"start": 393,
"end": 422,
"loc": {
"start": {
"line": 18,
"column": 16
},
"end": {
"line": 18,
"column": 45
}
},
"object": {
"type": "MemberExpression",
"start": 393,
"end": 412,
"loc": {
"start": {
"line": 18,
"column": 16
},
"end": {
"line": 18,
"column": 35
}
},
"object": {
"type": "ThisExpression",
"start": 393,
"end": 397,
"loc": {
"start": {
"line": 18,
"column": 16
},
"end": {
"line": 18,
"column": 20
}
}
},
"property": {
"type": "Identifier",
"start": 398,
"end": 412,
"loc": {
"start": {
"line": 18,
"column": 21
},
"end": {
"line": 18,
"column": 35
},
"identifierName": "_buttonElement"
},
"name": "_buttonElement"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 413,
"end": 422,
"loc": {
"start": {
"line": 18,
"column": 36
},
"end": {
"line": 18,
"column": 45
},
"identifierName": "classList"
},
"name": "classList"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 423,
"end": 426,
"loc": {
"start": {
"line": 18,
"column": 46
},
"end": {
"line": 18,
"column": 49
},
"identifierName": "add"
},
"name": "add"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 427,
"end": 437,
"loc": {
"start": {
"line": 18,
"column": 50
},
"end": {
"line": 18,
"column": 60
}
},
"extra": {
"rawValue": "disabled",
"raw": "\"disabled\""
},
"value": "disabled"
}
]
}
}
],
"directives": []
},
"alternate": {
"type": "BlockStatement",
"start": 459,
"end": 540,
"loc": {
"start": {
"line": 19,
"column": 19
},
"end": {
"line": 21,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 477,
"end": 526,
"loc": {
"start": {
"line": 20,
"column": 16
},
"end": {
"line": 20,
"column": 65
}
},
"expression": {
"type": "CallExpression",
"start": 477,
"end": 525,
"loc": {
"start": {
"line": 20,
"column": 16
},
"end": {
"line": 20,
"column": 64
}
},
"callee": {
"type": "MemberExpression",
"start": 477,
"end": 513,
"loc": {
"start": {
"line": 20,
"column": 16
},
"end": {
"line": 20,
"column": 52
}
},
"object": {
"type": "MemberExpression",
"start": 477,
"end": 506,
"loc": {
"start": {
"line": 20,
"column": 16
},
"end": {
"line": 20,
"column": 45
}
},
"object": {
"type": "MemberExpression",
"start": 477,
"end": 496,
"loc": {
"start": {
"line": 20,
"column": 16
},
"end": {
"line": 20,
"column": 35
}
},
"object": {
"type": "ThisExpression",
"start": 477,
"end": 481,
"loc": {
"start": {
"line": 20,
"column": 16
},
"end": {
"line": 20,
"column": 20
}
}
},
"property": {
"type": "Identifier",
"start": 482,
"end": 496,
"loc": {
"start": {
"line": 20,
"column": 21
},
"end": {
"line": 20,
"column": 35
},
"identifierName": "_buttonElement"
},
"name": "_buttonElement"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 497,
"end": 506,
"loc": {
"start": {
"line": 20,
"column": 36
},
"end": {
"line": 20,
"column": 45
},
"identifierName": "classList"
},
"name": "classList"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 507,
"end": 513,
"loc": {
"start": {
"line": 20,
"column": 46
},
"end": {
"line": 20,
"column": 52
},
"identifierName": "remove"
},
"name": "remove"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 514,
"end": 524,
"loc": {
"start": {
"line": 20,
"column": 53
},
"end": {
"line": 20,
"column": 63
}
},
"extra": {
"rawValue": "disabled",
"raw": "\"disabled\""
},
"value": "disabled"
}
]
}
}
],
"directives": []
}
}
],
"directives": []
}
}
]
}
},
{
"type": "ExpressionStatement",
"start": 562,
"end": 797,
"loc": {
"start": {
"line": 24,
"column": 8
},
"end": {
"line": 30,
"column": 11
}
},
"expression": {
"type": "CallExpression",
"start": 562,
"end": 796,
"loc": {
"start": {
"line": 24,
"column": 8
},
"end": {
"line": 30,
"column": 10
}
},
"callee": {
"type": "MemberExpression",
"start": 562,
"end": 598,
"loc": {
"start": {
"line": 24,
"column": 8
},
"end": {
"line": 24,
"column": 44
}
},
"object": {
"type": "MemberExpression",
"start": 562,
"end": 581,
"loc": {
"start": {
"line": 24,
"column": 8
},
"end": {
"line": 24,
"column": 27
}
},
"object": {
"type": "ThisExpression",
"start": 562,
"end": 566,
"loc": {
"start": {
"line": 24,
"column": 8
},
"end": {
"line": 24,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 567,
"end": 581,
"loc": {
"start": {
"line": 24,
"column": 13
},
"end": {
"line": 24,
"column": 27
},
"identifierName": "_buttonElement"
},
"name": "_buttonElement"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 582,
"end": 598,
"loc": {
"start": {
"line": 24,
"column": 28
},
"end": {
"line": 24,
"column": 44
},
"identifierName": "addEventListener"
},
"name": "addEventListener"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 599,
"end": 606,
"loc": {
"start": {
"line": 24,
"column": 45
},
"end": {
"line": 24,
"column": 52
}
},
"extra": {
"rawValue": "click",
"raw": "\"click\""
},
"value": "click"
},
{
"type": "ArrowFunctionExpression",
"start": 608,
"end": 795,
"loc": {
"start": {
"line": 24,
"column": 54
},
"end": {
"line": 30,
"column": 9
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 609,
"end": 614,
"loc": {
"start": {
"line": 24,
"column": 55
},
"end": {
"line": 24,
"column": 60
},
"identifierName": "event"
},
"name": "event"
}
],
"body": {
"type": "BlockStatement",
"start": 619,
"end": 795,
"loc": {
"start": {
"line": 24,
"column": 65
},
"end": {
"line": 30,
"column": 9
}
},
"body": [
{
"type": "IfStatement",
"start": 633,
"end": 749,
"loc": {
"start": {
"line": 25,
"column": 12
},
"end": {
"line": 28,
"column": 13
}
},
"test": {
"type": "CallExpression",
"start": 637,
"end": 654,
"loc": {
"start": {
"line": 25,
"column": 16
},
"end": {
"line": 25,
"column": 33
}
},
"callee": {
"type": "MemberExpression",
"start": 637,
"end": 652,
"loc": {
"start": {
"line": 25,
"column": 16
},
"end": {
"line": 25,
"column": 31
}
},
"object": {
"type": "ThisExpression",
"start": 637,
"end": 641,
"loc": {
"start": {
"line": 25,
"column": 16
},
"end": {
"line": 25,
"column": 20
}
}
},
"property": {
"type": "Identifier",
"start": 642,
"end": 652,
"loc": {
"start": {
"line": 25,
"column": 21
},
"end": {
"line": 25,
"column": 31
},
"identifierName": "getEnabled"
},
"name": "getEnabled"
},
"computed": false
},
"arguments": []
},
"consequent": {
"type": "BlockStatement",
"start": 656,
"end": 749,
"loc": {
"start": {
"line": 25,
"column": 35
},
"end": {
"line": 28,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 674,
"end": 735,
"loc": {
"start": {
"line": 26,
"column": 16
},
"end": {
"line": 27,
"column": 19
}
},
"expression": {
"type": "CallExpression",
"start": 674,
"end": 734,
"loc": {
"start": {
"line": 26,
"column": 16
},
"end": {
"line": 27,
"column": 18
}
},
"callee": {
"type": "MemberExpression",
"start": 674,
"end": 688,
"loc": {
"start": {
"line": 26,
"column": 16
},
"end": {
"line": 26,
"column": 30
}
},
"object": {
"type": "ThisExpression",
"start": 674,
"end": 678,
"loc": {
"start": {
"line": 26,
"column": 16
},
"end": {
"line": 26,
"column": 20
}
}
},
"property": {
"type": "Identifier",
"start": 679,
"end": 688,
"loc": {
"start": {
"line": 26,
"column": 21
},
"end": {
"line": 26,
"column": 30
},
"identifierName": "setActive"
},
"name": "setActive"
},
"computed": false
},
"arguments": [
{
"type": "UnaryExpression",
"start": 689,
"end": 706,
"loc": {
"start": {
"line": 26,
"column": 31
},
"end": {
"line": 26,
"column": 48
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "CallExpression",
"start": 690,
"end": 706,
"loc": {
"start": {
"line": 26,
"column": 32
},
"end": {
"line": 26,
"column": 48
}
},
"callee": {
"type": "MemberExpression",
"start": 690,
"end": 704,
"loc": {
"start": {
"line": 26,
"column": 32
},
"end": {
"line": 26,
"column": 46
}
},
"object": {
"type": "ThisExpression",
"start": 690,
"end": 694,
"loc": {
"start": {
"line": 26,
"column": 32
},
"end": {
"line": 26,
"column": 36
}
}
},
"property": {
"type": "Identifier",
"start": 695,
"end": 704,
"loc": {
"start": {
"line": 26,
"column": 37
},
"end": {
"line": 26,
"column": 46
},
"identifierName": "getActive"
},
"name": "getActive"
},
"computed": false
},
"arguments": []
},
"extra": {
"parenthesizedArgument": false
}
},
{
"type": "ArrowFunctionExpression",
"start": 708,
"end": 733,
"loc": {
"start": {
"line": 26,
"column": 50
},
"end": {
"line": 27,
"column": 17
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 714,
"end": 733,
"loc": {
"start": {
"line": 26,
"column": 56
},
"end": {
"line": 27,
"column": 17
}
},
"body": [],
"directives": []
}
}
]
}
}
],
"directives": []
},
"alternate": null
},
{
"type": "ExpressionStatement",
"start": 762,
"end": 785,
"loc": {
"start": {
"line": 29,
"column": 12
},
"end": {
"line": 29,
"column": 35
}
},
"expression": {
"type": "CallExpression",
"start": 762,
"end": 784,
"loc": {
"start": {
"line": 29,
"column": 12
},
"end": {
"line": 29,
"column": 34
}
},
"callee": {
"type": "MemberExpression",
"start": 762,
"end": 782,
"loc": {
"start": {
"line": 29,
"column": 12
},
"end": {
"line": 29,
"column": 32
}
},
"object": {
"type": "Identifier",
"start": 762,
"end": 767,
"loc": {
"start": {
"line": 29,
"column": 12
},
"end": {
"line": 29,
"column": 17
},
"identifierName": "event"
},
"name": "event"
},
"property": {
"type": "Identifier",
"start": 768,
"end": 782,
"loc": {
"start": {
"line": 29,
"column": 18
},
"end": {
"line": 29,
"column": 32
},
"identifierName": "preventDefault"
},
"name": "preventDefault"
},
"computed": false
},
"arguments": []
}
}
],
"directives": []
}
}
]
}
},
{
"type": "ExpressionStatement",
"start": 807,
"end": 888,
"loc": {
"start": {
"line": 32,
"column": 8
},
"end": {
"line": 34,
"column": 11
}
},
"expression": {
"type": "CallExpression",
"start": 807,
"end": 887,
"loc": {
"start": {
"line": 32,
"column": 8
},
"end": {
"line": 34,
"column": 10
}
},
"callee": {
"type": "MemberExpression",
"start": 807,
"end": 824,
"loc": {
"start": {
"line": 32,
"column": 8
},
"end": {
"line": 32,
"column": 25
}
},
"object": {
"type": "MemberExpression",
"start": 807,
"end": 821,
"loc": {
"start": {
"line": 32,
"column": 8
},
"end": {
"line": 32,
"column": 22
}
},
"object": {
"type": "ThisExpression",
"start": 807,
"end": 811,
"loc": {
"start": {
"line": 32,
"column": 8
},
"end": {
"line": 32,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 812,
"end": 821,
"loc": {
"start": {
"line": 32,
"column": 13
},
"end": {
"line": 32,
"column": 22
},
"identifierName": "bimViewer"
},
"name": "bimViewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 822,
"end": 824,
"loc": {
"start": {
"line": 32,
"column": 23
},
"end": {
"line": 32,
"column": 25
},
"identifierName": "on"
},
"name": "on"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 825,
"end": 832,
"loc": {
"start": {
"line": 32,
"column": 26
},
"end": {
"line": 32,
"column": 33
}
},
"extra": {
"rawValue": "reset",
"raw": "\"reset\""
},
"value": "reset"
},
{
"type": "ArrowFunctionExpression",
"start": 834,
"end": 886,
"loc": {
"start": {
"line": 32,
"column": 35
},
"end": {
"line": 34,
"column": 9
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 840,
"end": 886,
"loc": {
"start": {
"line": 32,
"column": 41
},
"end": {
"line": 34,
"column": 9
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 854,
"end": 876,
"loc": {
"start": {
"line": 33,
"column": 12
},
"end": {
"line": 33,
"column": 34
}
},
"expression": {
"type": "CallExpression",
"start": 854,
"end": 875,
"loc": {
"start": {
"line": 33,
"column": 12
},
"end": {
"line": 33,
"column": 33
}
},
"callee": {
"type": "MemberExpression",
"start": 854,
"end": 868,
"loc": {
"start": {
"line": 33,
"column": 12
},
"end": {
"line": 33,
"column": 26
}
},
"object": {
"type": "ThisExpression",
"start": 854,
"end": 858,
"loc": {
"start": {
"line": 33,
"column": 12
},
"end": {
"line": 33,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 859,
"end": 868,
"loc": {
"start": {
"line": 33,
"column": 17
},
"end": {
"line": 33,
"column": 26
},
"identifierName": "setActive"
},
"name": "setActive"
},
"computed": false
},
"arguments": [
{
"type": "BooleanLiteral",
"start": 869,
"end": 874,
"loc": {
"start": {
"line": 33,
"column": 27
},
"end": {
"line": 33,
"column": 32
}
},
"value": false
}
]
}
}
],
"directives": []
}
}
]
}
},
{
"type": "ExpressionStatement",
"start": 898,
"end": 1254,
"loc": {
"start": {
"line": 36,
"column": 8
},
"end": {
"line": 44,
"column": 11
}
},
"expression": {
"type": "CallExpression",
"start": 898,
"end": 1253,
"loc": {
"start": {
"line": 36,
"column": 8
},
"end": {
"line": 44,
"column": 10
}
},
"callee": {
"type": "MemberExpression",
"start": 898,
"end": 919,
"loc": {
"start": {
"line": 36,
"column": 8
},
"end": {
"line": 36,
"column": 29
}
},
"object": {
"type": "MemberExpression",
"start": 898,
"end": 916,
"loc": {
"start": {
"line": 36,
"column": 8
},
"end": {
"line": 36,
"column": 26
}
},
"object": {
"type": "MemberExpression",
"start": 898,
"end": 909,
"loc": {
"start": {
"line": 36,
"column": 8
},
"end": {
"line": 36,
"column": 19
}
},
"object": {
"type": "ThisExpression",
"start": 898,
"end": 902,
"loc": {
"start": {
"line": 36,
"column": 8
},
"end": {
"line": 36,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 903,
"end": 909,
"loc": {
"start": {
"line": 36,
"column": 13
},
"end": {
"line": 36,
"column": 19
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 910,
"end": 916,
"loc": {
"start": {
"line": 36,
"column": 20
},
"end": {
"line": 36,
"column": 26
},
"identifierName": "camera"
},
"name": "camera"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 917,
"end": 919,
"loc": {
"start": {
"line": 36,
"column": 27
},
"end": {
"line": 36,
"column": 29
},
"identifierName": "on"
},
"name": "on"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 920,
"end": 932,
"loc": {
"start": {
"line": 36,
"column": 30
},
"end": {
"line": 36,
"column": 42
}
},
"extra": {
"rawValue": "projection",
"raw": "\"projection\""
},
"value": "projection"
},
{
"type": "ArrowFunctionExpression",
"start": 934,
"end": 1252,
"loc": {
"start": {
"line": 36,
"column": 44
},
"end": {
"line": 44,
"column": 9
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 940,
"end": 1252,
"loc": {
"start": {
"line": 36,
"column": 50
},
"end": {
"line": 44,
"column": 9
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 954,
"end": 1014,
"loc": {
"start": {
"line": 37,
"column": 12
},
"end": {
"line": 37,
"column": 72
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 960,
"end": 1013,
"loc": {
"start": {
"line": 37,
"column": 18
},
"end": {
"line": 37,
"column": 71
}
},
"id": {
"type": "Identifier",
"start": 960,
"end": 967,
"loc": {
"start": {
"line": 37,
"column": 18
},
"end": {
"line": 37,
"column": 25
},
"identifierName": "isOrtho"
},
"name": "isOrtho"
},
"init": {
"type": "BinaryExpression",
"start": 971,
"end": 1012,
"loc": {
"start": {
"line": 37,
"column": 29
},
"end": {
"line": 37,
"column": 70
}
},
"left": {
"type": "MemberExpression",
"start": 971,
"end": 1000,
"loc": {
"start": {
"line": 37,
"column": 29
},
"end": {
"line": 37,
"column": 58
}
},
"object": {
"type": "MemberExpression",
"start": 971,
"end": 989,
"loc": {
"start": {
"line": 37,
"column": 29
},
"end": {
"line": 37,
"column": 47
}
},
"object": {
"type": "MemberExpression",
"start": 971,
"end": 982,
"loc": {
"start": {
"line": 37,
"column": 29
},
"end": {
"line": 37,
"column": 40
}
},
"object": {
"type": "ThisExpression",
"start": 971,
"end": 975,
"loc": {
"start": {
"line": 37,
"column": 29
},
"end": {
"line": 37,
"column": 33
}
}
},
"property": {
"type": "Identifier",
"start": 976,
"end": 982,
"loc": {
"start": {
"line": 37,
"column": 34
},
"end": {
"line": 37,
"column": 40
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 983,
"end": 989,
"loc": {
"start": {
"line": 37,
"column": 41
},
"end": {
"line": 37,
"column": 47
},
"identifierName": "camera"
},
"name": "camera"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 990,
"end": 1000,
"loc": {
"start": {
"line": 37,
"column": 48
},
"end": {
"line": 37,
"column": 58
},
"identifierName": "projection"
},
"name": "projection"
},
"computed": false
},
"operator": "===",
"right": {
"type": "StringLiteral",
"start": 1005,
"end": 1012,
"loc": {
"start": {
"line": 37,
"column": 63
},
"end": {
"line": 37,
"column": 70
}
},
"extra": {
"rawValue": "ortho",
"raw": "\"ortho\""
},
"value": "ortho"
},
"extra": {
"parenthesized": true,
"parenStart": 970
}
}
}
],
"kind": "const"
},
{
"type": "ExpressionStatement",
"start": 1027,
"end": 1050,
"loc": {
"start": {
"line": 38,
"column": 12
},
"end": {
"line": 38,
"column": 35
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1027,
"end": 1049,
"loc": {
"start": {
"line": 38,
"column": 12
},
"end": {
"line": 38,
"column": 34
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 1027,
"end": 1039,
"loc": {
"start": {
"line": 38,
"column": 12
},
"end": {
"line": 38,
"column": 24
}
},
"object": {
"type": "ThisExpression",
"start": 1027,
"end": 1031,
"loc": {
"start": {
"line": 38,
"column": 12
},
"end": {
"line": 38,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 1032,
"end": 1039,
"loc": {
"start": {
"line": 38,
"column": 17
},
"end": {
"line": 38,
"column": 24
},
"identifierName": "_active"
},
"name": "_active"
},
"computed": false
},
"right": {
"type": "Identifier",
"start": 1042,
"end": 1049,
"loc": {
"start": {
"line": 38,
"column": 27
},
"end": {
"line": 38,
"column": 34
},
"identifierName": "isOrtho"
},
"name": "isOrtho"
}
}
},
{
"type": "IfStatement",
"start": 1063,
"end": 1242,
"loc": {
"start": {
"line": 39,
"column": 12
},
"end": {
"line": 43,
"column": 13
}
},
"test": {
"type": "MemberExpression",
"start": 1067,
"end": 1079,
"loc": {
"start": {
"line": 39,
"column": 16
},
"end": {
"line": 39,
"column": 28
}
},
"object": {
"type": "ThisExpression",
"start": 1067,
"end": 1071,
"loc": {
"start": {
"line": 39,
"column": 16
},
"end": {
"line": 39,
"column": 20
}
}
},
"property": {
"type": "Identifier",
"start": 1072,
"end": 1079,
"loc": {
"start": {
"line": 39,
"column": 21
},
"end": {
"line": 39,
"column": 28
},
"identifierName": "_active"
},
"name": "_active"
},
"computed": false
},
"consequent": {
"type": "BlockStatement",
"start": 1081,
"end": 1157,
"loc": {
"start": {
"line": 39,
"column": 30
},
"end": {
"line": 41,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 1099,
"end": 1143,
"loc": {
"start": {
"line": 40,
"column": 16
},
"end": {
"line": 40,
"column": 60
}
},
"expression": {
"type": "CallExpression",
"start": 1099,
"end": 1142,
"loc": {
"start": {
"line": 40,
"column": 16
},
"end": {
"line": 40,
"column": 59
}
},
"callee": {
"type": "MemberExpression",
"start": 1099,
"end": 1132,
"loc": {
"start": {
"line": 40,
"column": 16
},
"end": {
"line": 40,
"column": 49
}
},
"object": {
"type": "MemberExpression",
"start": 1099,
"end": 1128,
"loc": {
"start": {
"line": 40,
"column": 16
},
"end": {
"line": 40,
"column": 45
}
},
"object": {
"type": "MemberExpression",
"start": 1099,
"end": 1118,
"loc": {
"start": {
"line": 40,
"column": 16
},
"end": {
"line": 40,
"column": 35
}
},
"object": {
"type": "ThisExpression",
"start": 1099,
"end": 1103,
"loc": {
"start": {
"line": 40,
"column": 16
},
"end": {
"line": 40,
"column": 20
}
}
},
"property": {
"type": "Identifier",
"start": 1104,
"end": 1118,
"loc": {
"start": {
"line": 40,
"column": 21
},
"end": {
"line": 40,
"column": 35
},
"identifierName": "_buttonElement"
},
"name": "_buttonElement"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1119,
"end": 1128,
"loc": {
"start": {
"line": 40,
"column": 36
},
"end": {
"line": 40,
"column": 45
},
"identifierName": "classList"
},
"name": "classList"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1129,
"end": 1132,
"loc": {
"start": {
"line": 40,
"column": 46
},
"end": {
"line": 40,
"column": 49
},
"identifierName": "add"
},
"name": "add"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 1133,
"end": 1141,
"loc": {
"start": {
"line": 40,
"column": 50
},
"end": {
"line": 40,
"column": 58
}
},
"extra": {
"rawValue": "active",
"raw": "\"active\""
},
"value": "active"
}
]
}
}
],
"directives": []
},
"alternate": {
"type": "BlockStatement",
"start": 1163,
"end": 1242,
"loc": {
"start": {
"line": 41,
"column": 19
},
"end": {
"line": 43,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 1181,
"end": 1228,
"loc": {
"start": {
"line": 42,
"column": 16
},
"end": {
"line": 42,
"column": 63
}
},
"expression": {
"type": "CallExpression",
"start": 1181,
"end": 1227,
"loc": {
"start": {
"line": 42,
"column": 16
},
"end": {
"line": 42,
"column": 62
}
},
"callee": {
"type": "MemberExpression",
"start": 1181,
"end": 1217,
"loc": {
"start": {
"line": 42,
"column": 16
},
"end": {
"line": 42,
"column": 52
}
},
"object": {
"type": "MemberExpression",
"start": 1181,
"end": 1210,
"loc": {
"start": {
"line": 42,
"column": 16
},
"end": {
"line": 42,
"column": 45
}
},
"object": {
"type": "MemberExpression",
"start": 1181,
"end": 1200,
"loc": {
"start": {
"line": 42,
"column": 16
},
"end": {
"line": 42,
"column": 35
}
},
"object": {
"type": "ThisExpression",
"start": 1181,
"end": 1185,
"loc": {
"start": {
"line": 42,
"column": 16
},
"end": {
"line": 42,
"column": 20
}
}
},
"property": {
"type": "Identifier",
"start": 1186,
"end": 1200,
"loc": {
"start": {
"line": 42,
"column": 21
},
"end": {
"line": 42,
"column": 35
},
"identifierName": "_buttonElement"
},
"name": "_buttonElement"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1201,
"end": 1210,
"loc": {
"start": {
"line": 42,
"column": 36
},
"end": {
"line": 42,
"column": 45
},
"identifierName": "classList"
},
"name": "classList"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1211,
"end": 1217,
"loc": {
"start": {
"line": 42,
"column": 46
},
"end": {
"line": 42,
"column": 52
},
"identifierName": "remove"
},
"name": "remove"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 1218,
"end": 1226,
"loc": {
"start": {
"line": 42,
"column": 53
},
"end": {
"line": 42,
"column": 61
}
},
"extra": {
"rawValue": "active",
"raw": "\"active\""
},
"value": "active"
}
]
}
}
],
"directives": []
}
}
],
"directives": []
}
}
]
}
},
{
"type": "ExpressionStatement",
"start": 1264,
"end": 1285,
"loc": {
"start": {
"line": 46,
"column": 8
},
"end": {
"line": 46,
"column": 29
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1264,
"end": 1284,
"loc": {
"start": {
"line": 46,
"column": 8
},
"end": {
"line": 46,
"column": 28
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 1264,
"end": 1276,
"loc": {
"start": {
"line": 46,
"column": 8
},
"end": {
"line": 46,
"column": 20
}
},
"object": {
"type": "ThisExpression",
"start": 1264,
"end": 1268,
"loc": {
"start": {
"line": 46,
"column": 8
},
"end": {
"line": 46,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 1269,
"end": 1276,
"loc": {
"start": {
"line": 46,
"column": 13
},
"end": {
"line": 46,
"column": 20
},
"identifierName": "_active"
},
"name": "_active"
},
"computed": false
},
"right": {
"type": "BooleanLiteral",
"start": 1279,
"end": 1284,
"loc": {
"start": {
"line": 46,
"column": 23
},
"end": {
"line": 46,
"column": 28
}
},
"value": false
}
}
},
{
"type": "ExpressionStatement",
"start": 1294,
"end": 1341,
"loc": {
"start": {
"line": 47,
"column": 8
},
"end": {
"line": 47,
"column": 55
}
},
"expression": {
"type": "CallExpression",
"start": 1294,
"end": 1340,
"loc": {
"start": {
"line": 47,
"column": 8
},
"end": {
"line": 47,
"column": 54
}
},
"callee": {
"type": "MemberExpression",
"start": 1294,
"end": 1330,
"loc": {
"start": {
"line": 47,
"column": 8
},
"end": {
"line": 47,
"column": 44
}
},
"object": {
"type": "MemberExpression",
"start": 1294,
"end": 1323,
"loc": {
"start": {
"line": 47,
"column": 8
},
"end": {
"line": 47,
"column": 37
}
},
"object": {
"type": "MemberExpression",
"start": 1294,
"end": 1313,
"loc": {
"start": {
"line": 47,
"column": 8
},
"end": {
"line": 47,
"column": 27
}
},
"object": {
"type": "ThisExpression",
"start": 1294,
"end": 1298,
"loc": {
"start": {
"line": 47,
"column": 8
},
"end": {
"line": 47,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 1299,
"end": 1313,
"loc": {
"start": {
"line": 47,
"column": 13
},
"end": {
"line": 47,
"column": 27
},
"identifierName": "_buttonElement"
},
"name": "_buttonElement"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1314,
"end": 1323,
"loc": {
"start": {
"line": 47,
"column": 28
},
"end": {
"line": 47,
"column": 37
},
"identifierName": "classList"
},
"name": "classList"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1324,
"end": 1330,
"loc": {
"start": {
"line": 47,
"column": 38
},
"end": {
"line": 47,
"column": 44
},
"identifierName": "remove"
},
"name": "remove"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 1331,
"end": 1339,
"loc": {
"start": {
"line": 47,
"column": 45
},
"end": {
"line": 47,
"column": 53
}
},
"extra": {
"rawValue": "active",
"raw": "\"active\""
},
"value": "active"
}
]
}
}
],
"directives": []
}
},
{
"type": "ClassMethod",
"start": 1353,
"end": 2306,
"loc": {
"start": {
"line": 50,
"column": 4
},
"end": {
"line": 81,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1353,
"end": 1362,
"loc": {
"start": {
"line": 50,
"column": 4
},
"end": {
"line": 50,
"column": 13
},
"identifierName": "setActive"
},
"name": "setActive"
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 1363,
"end": 1369,
"loc": {
"start": {
"line": 50,
"column": 14
},
"end": {
"line": 50,
"column": 20
},
"identifierName": "active"
},
"name": "active"
},
{
"type": "Identifier",
"start": 1371,
"end": 1375,
"loc": {
"start": {
"line": 50,
"column": 22
},
"end": {
"line": 50,
"column": 26
},
"identifierName": "done"
},
"name": "done"
}
],
"body": {
"type": "BlockStatement",
"start": 1377,
"end": 2306,
"loc": {
"start": {
"line": 50,
"column": 28
},
"end": {
"line": 81,
"column": 5
}
},
"body": [
{
"type": "IfStatement",
"start": 1387,
"end": 1509,
"loc": {
"start": {
"line": 51,
"column": 8
},
"end": {
"line": 56,
"column": 9
}
},
"test": {
"type": "BinaryExpression",
"start": 1391,
"end": 1414,
"loc": {
"start": {
"line": 51,
"column": 12
},
"end": {
"line": 51,
"column": 35
}
},
"left": {
"type": "MemberExpression",
"start": 1391,
"end": 1403,
"loc": {
"start": {
"line": 51,
"column": 12
},
"end": {
"line": 51,
"column": 24
}
},
"object": {
"type": "ThisExpression",
"start": 1391,
"end": 1395,
"loc": {
"start": {
"line": 51,
"column": 12
},
"end": {
"line": 51,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 1396,
"end": 1403,
"loc": {
"start": {
"line": 51,
"column": 17
},
"end": {
"line": 51,
"column": 24
},
"identifierName": "_active"
},
"name": "_active"
},
"computed": false
},
"operator": "===",
"right": {
"type": "Identifier",
"start": 1408,
"end": 1414,
"loc": {
"start": {
"line": 51,
"column": 29
},
"end": {
"line": 51,
"column": 35
},
"identifierName": "active"
},
"name": "active"
}
},
"consequent": {
"type": "BlockStatement",
"start": 1416,
"end": 1509,
"loc": {
"start": {
"line": 51,
"column": 37
},
"end": {
"line": 56,
"column": 9
}
},
"body": [
{
"type": "IfStatement",
"start": 1430,
"end": 1479,
"loc": {
"start": {
"line": 52,
"column": 12
},
"end": {
"line": 54,
"column": 13
}
},
"test": {
"type": "Identifier",
"start": 1434,
"end": 1438,
"loc": {
"start": {
"line": 52,
"column": 16
},
"end": {
"line": 52,
"column": 20
},
"identifierName": "done"
},
"name": "done"
},
"consequent": {
"type": "BlockStatement",
"start": 1440,
"end": 1479,
"loc": {
"start": {
"line": 52,
"column": 22
},
"end": {
"line": 54,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 1458,
"end": 1465,
"loc": {
"start": {
"line": 53,
"column": 16
},
"end": {
"line": 53,
"column": 23
}
},
"expression": {
"type": "CallExpression",
"start": 1458,
"end": 1464,
"loc": {
"start": {
"line": 53,
"column": 16
},
"end": {
"line": 53,
"column": 22
}
},
"callee": {
"type": "Identifier",
"start": 1458,
"end": 1462,
"loc": {
"start": {
"line": 53,
"column": 16
},
"end": {
"line": 53,
"column": 20
},
"identifierName": "done"
},
"name": "done"
},
"arguments": []
}
}
],
"directives": []
},
"alternate": null
},
{
"type": "ReturnStatement",
"start": 1492,
"end": 1499,
"loc": {
"start": {
"line": 55,
"column": 12
},
"end": {
"line": 55,
"column": 19
}
},
"argument": null
}
],
"directives": []
},
"alternate": null
},
{
"type": "ExpressionStatement",
"start": 1518,
"end": 1540,
"loc": {
"start": {
"line": 57,
"column": 8
},
"end": {
"line": 57,
"column": 30
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1518,
"end": 1539,
"loc": {
"start": {
"line": 57,
"column": 8
},
"end": {
"line": 57,
"column": 29
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 1518,
"end": 1530,
"loc": {
"start": {
"line": 57,
"column": 8
},
"end": {
"line": 57,
"column": 20
}
},
"object": {
"type": "ThisExpression",
"start": 1518,
"end": 1522,
"loc": {
"start": {
"line": 57,
"column": 8
},
"end": {
"line": 57,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 1523,
"end": 1530,
"loc": {
"start": {
"line": 57,
"column": 13
},
"end": {
"line": 57,
"column": 20
},
"identifierName": "_active"
},
"name": "_active"
},
"computed": false
},
"right": {
"type": "Identifier",
"start": 1533,
"end": 1539,
"loc": {
"start": {
"line": 57,
"column": 23
},
"end": {
"line": 57,
"column": 29
},
"identifierName": "active"
},
"name": "active"
}
}
},
{
"type": "IfStatement",
"start": 1549,
"end": 2300,
"loc": {
"start": {
"line": 58,
"column": 8
},
"end": {
"line": 80,
"column": 9
}
},
"test": {
"type": "Identifier",
"start": 1553,
"end": 1559,
"loc": {
"start": {
"line": 58,
"column": 12
},
"end": {
"line": 58,
"column": 18
},
"identifierName": "active"
},
"name": "active"
},
"consequent": {
"type": "BlockStatement",
"start": 1561,
"end": 1927,
"loc": {
"start": {
"line": 58,
"column": 20
},
"end": {
"line": 69,
"column": 9
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 1575,
"end": 1619,
"loc": {
"start": {
"line": 59,
"column": 12
},
"end": {
"line": 59,
"column": 56
}
},
"expression": {
"type": "CallExpression",
"start": 1575,
"end": 1618,
"loc": {
"start": {
"line": 59,
"column": 12
},
"end": {
"line": 59,
"column": 55
}
},
"callee": {
"type": "MemberExpression",
"start": 1575,
"end": 1608,
"loc": {
"start": {
"line": 59,
"column": 12
},
"end": {
"line": 59,
"column": 45
}
},
"object": {
"type": "MemberExpression",
"start": 1575,
"end": 1604,
"loc": {
"start": {
"line": 59,
"column": 12
},
"end": {
"line": 59,
"column": 41
}
},
"object": {
"type": "MemberExpression",
"start": 1575,
"end": 1594,
"loc": {
"start": {
"line": 59,
"column": 12
},
"end": {
"line": 59,
"column": 31
}
},
"object": {
"type": "ThisExpression",
"start": 1575,
"end": 1579,
"loc": {
"start": {
"line": 59,
"column": 12
},
"end": {
"line": 59,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 1580,
"end": 1594,
"loc": {
"start": {
"line": 59,
"column": 17
},
"end": {
"line": 59,
"column": 31
},
"identifierName": "_buttonElement"
},
"name": "_buttonElement"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1595,
"end": 1604,
"loc": {
"start": {
"line": 59,
"column": 32
},
"end": {
"line": 59,
"column": 41
},
"identifierName": "classList"
},
"name": "classList"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1605,
"end": 1608,
"loc": {
"start": {
"line": 59,
"column": 42
},
"end": {
"line": 59,
"column": 45
},
"identifierName": "add"
},
"name": "add"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 1609,
"end": 1617,
"loc": {
"start": {
"line": 59,
"column": 46
},
"end": {
"line": 59,
"column": 54
}
},
"extra": {
"rawValue": "active",
"raw": "\"active\""
},
"value": "active"
}
]
}
},
{
"type": "IfStatement",
"start": 1632,
"end": 1917,
"loc": {
"start": {
"line": 60,
"column": 12
},
"end": {
"line": 68,
"column": 13
}
},
"test": {
"type": "Identifier",
"start": 1636,
"end": 1640,
"loc": {
"start": {
"line": 60,
"column": 16
},
"end": {
"line": 60,
"column": 20
},
"identifierName": "done"
},
"name": "done"
},
"consequent": {
"type": "BlockStatement",
"start": 1642,
"end": 1805,
"loc": {
"start": {
"line": 60,
"column": 22
},
"end": {
"line": 65,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 1660,
"end": 1791,
"loc": {
"start": {
"line": 61,
"column": 16
},
"end": {
"line": 64,
"column": 19
}
},
"expression": {
"type": "CallExpression",
"start": 1660,
"end": 1790,
"loc": {
"start": {
"line": 61,
"column": 16
},
"end": {
"line": 64,
"column": 18
}
},
"callee": {
"type": "MemberExpression",
"start": 1660,
"end": 1680,
"loc": {
"start": {
"line": 61,
"column": 16
},
"end": {
"line": 61,
"column": 36
}
},
"object": {
"type": "ThisExpression",
"start": 1660,
"end": 1664,
"loc": {
"start": {
"line": 61,
"column": 16
},
"end": {
"line": 61,
"column": 20
}
}
},
"property": {
"type": "Identifier",
"start": 1665,
"end": 1680,
"loc": {
"start": {
"line": 61,
"column": 21
},
"end": {
"line": 61,
"column": 36
},
"identifierName": "_enterOrthoMode"
},
"name": "_enterOrthoMode"
},
"computed": false
},
"arguments": [
{
"type": "ArrowFunctionExpression",
"start": 1681,
"end": 1789,
"loc": {
"start": {
"line": 61,
"column": 37
},
"end": {
"line": 64,
"column": 17
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 1687,
"end": 1789,
"loc": {
"start": {
"line": 61,
"column": 43
},
"end": {
"line": 64,
"column": 17
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 1709,
"end": 1743,
"loc": {
"start": {
"line": 62,
"column": 20
},
"end": {
"line": 62,
"column": 54
}
},
"expression": {
"type": "CallExpression",
"start": 1709,
"end": 1742,
"loc": {
"start": {
"line": 62,
"column": 20
},
"end": {
"line": 62,
"column": 53
}
},
"callee": {
"type": "MemberExpression",
"start": 1709,
"end": 1718,
"loc": {
"start": {
"line": 62,
"column": 20
},
"end": {
"line": 62,
"column": 29
}
},
"object": {
"type": "ThisExpression",
"start": 1709,
"end": 1713,
"loc": {
"start": {
"line": 62,
"column": 20
},
"end": {
"line": 62,
"column": 24
}
}
},
"property": {
"type": "Identifier",
"start": 1714,
"end": 1718,
"loc": {
"start": {
"line": 62,
"column": 25
},
"end": {
"line": 62,
"column": 29
},
"identifierName": "fire"
},
"name": "fire"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 1719,
"end": 1727,
"loc": {
"start": {
"line": 62,
"column": 30
},
"end": {
"line": 62,
"column": 38
}
},
"extra": {
"rawValue": "active",
"raw": "\"active\""
},
"value": "active"
},
{
"type": "MemberExpression",
"start": 1729,
"end": 1741,
"loc": {
"start": {
"line": 62,
"column": 40
},
"end": {
"line": 62,
"column": 52
}
},
"object": {
"type": "ThisExpression",
"start": 1729,
"end": 1733,
"loc": {
"start": {
"line": 62,
"column": 40
},
"end": {
"line": 62,
"column": 44
}
}
},
"property": {
"type": "Identifier",
"start": 1734,
"end": 1741,
"loc": {
"start": {
"line": 62,
"column": 45
},
"end": {
"line": 62,
"column": 52
},
"identifierName": "_active"
},
"name": "_active"
},
"computed": false
}
]
}
},
{
"type": "ExpressionStatement",
"start": 1764,
"end": 1771,
"loc": {
"start": {
"line": 63,
"column": 20
},
"end": {
"line": 63,
"column": 27
}
},
"expression": {
"type": "CallExpression",
"start": 1764,
"end": 1770,
"loc": {
"start": {
"line": 63,
"column": 20
},
"end": {
"line": 63,
"column": 26
}
},
"callee": {
"type": "Identifier",
"start": 1764,
"end": 1768,
"loc": {
"start": {
"line": 63,
"column": 20
},
"end": {
"line": 63,
"column": 24
},
"identifierName": "done"
},
"name": "done"
},
"arguments": []
}
}
],
"directives": []
}
}
]
}
}
],
"directives": []
},
"alternate": {
"type": "BlockStatement",
"start": 1811,
"end": 1917,
"loc": {
"start": {
"line": 65,
"column": 19
},
"end": {
"line": 68,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 1829,
"end": 1852,
"loc": {
"start": {
"line": 66,
"column": 16
},
"end": {
"line": 66,
"column": 39
}
},
"expression": {
"type": "CallExpression",
"start": 1829,
"end": 1851,
"loc": {
"start": {
"line": 66,
"column": 16
},
"end": {
"line": 66,
"column": 38
}
},
"callee": {
"type": "MemberExpression",
"start": 1829,
"end": 1849,
"loc": {
"start": {
"line": 66,
"column": 16
},
"end": {
"line": 66,
"column": 36
}
},
"object": {
"type": "ThisExpression",
"start": 1829,
"end": 1833,
"loc": {
"start": {
"line": 66,
"column": 16
},
"end": {
"line": 66,
"column": 20
}
}
},
"property": {
"type": "Identifier",
"start": 1834,
"end": 1849,
"loc": {
"start": {
"line": 66,
"column": 21
},
"end": {
"line": 66,
"column": 36
},
"identifierName": "_enterOrthoMode"
},
"name": "_enterOrthoMode"
},
"computed": false
},
"arguments": []
}
},
{
"type": "ExpressionStatement",
"start": 1869,
"end": 1903,
"loc": {
"start": {
"line": 67,
"column": 16
},
"end": {
"line": 67,
"column": 50
}
},
"expression": {
"type": "CallExpression",
"start": 1869,
"end": 1902,
"loc": {
"start": {
"line": 67,
"column": 16
},
"end": {
"line": 67,
"column": 49
}
},
"callee": {
"type": "MemberExpression",
"start": 1869,
"end": 1878,
"loc": {
"start": {
"line": 67,
"column": 16
},
"end": {
"line": 67,
"column": 25
}
},
"object": {
"type": "ThisExpression",
"start": 1869,
"end": 1873,
"loc": {
"start": {
"line": 67,
"column": 16
},
"end": {
"line": 67,
"column": 20
}
}
},
"property": {
"type": "Identifier",
"start": 1874,
"end": 1878,
"loc": {
"start": {
"line": 67,
"column": 21
},
"end": {
"line": 67,
"column": 25
},
"identifierName": "fire"
},
"name": "fire"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 1879,
"end": 1887,
"loc": {
"start": {
"line": 67,
"column": 26
},
"end": {
"line": 67,
"column": 34
}
},
"extra": {
"rawValue": "active",
"raw": "\"active\""
},
"value": "active"
},
{
"type": "MemberExpression",
"start": 1889,
"end": 1901,
"loc": {
"start": {
"line": 67,
"column": 36
},
"end": {
"line": 67,
"column": 48
}
},
"object": {
"type": "ThisExpression",
"start": 1889,
"end": 1893,
"loc": {
"start": {
"line": 67,
"column": 36
},
"end": {
"line": 67,
"column": 40
}
}
},
"property": {
"type": "Identifier",
"start": 1894,
"end": 1901,
"loc": {
"start": {
"line": 67,
"column": 41
},
"end": {
"line": 67,
"column": 48
},
"identifierName": "_active"
},
"name": "_active"
},
"computed": false
}
]
}
}
],
"directives": []
}
}
],
"directives": []
},
"alternate": {
"type": "BlockStatement",
"start": 1933,
"end": 2300,
"loc": {
"start": {
"line": 69,
"column": 15
},
"end": {
"line": 80,
"column": 9
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 1947,
"end": 1994,
"loc": {
"start": {
"line": 70,
"column": 12
},
"end": {
"line": 70,
"column": 59
}
},
"expression": {
"type": "CallExpression",
"start": 1947,
"end": 1993,
"loc": {
"start": {
"line": 70,
"column": 12
},
"end": {
"line": 70,
"column": 58
}
},
"callee": {
"type": "MemberExpression",
"start": 1947,
"end": 1983,
"loc": {
"start": {
"line": 70,
"column": 12
},
"end": {
"line": 70,
"column": 48
}
},
"object": {
"type": "MemberExpression",
"start": 1947,
"end": 1976,
"loc": {
"start": {
"line": 70,
"column": 12
},
"end": {
"line": 70,
"column": 41
}
},
"object": {
"type": "MemberExpression",
"start": 1947,
"end": 1966,
"loc": {
"start": {
"line": 70,
"column": 12
},
"end": {
"line": 70,
"column": 31
}
},
"object": {
"type": "ThisExpression",
"start": 1947,
"end": 1951,
"loc": {
"start": {
"line": 70,
"column": 12
},
"end": {
"line": 70,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 1952,
"end": 1966,
"loc": {
"start": {
"line": 70,
"column": 17
},
"end": {
"line": 70,
"column": 31
},
"identifierName": "_buttonElement"
},
"name": "_buttonElement"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1967,
"end": 1976,
"loc": {
"start": {
"line": 70,
"column": 32
},
"end": {
"line": 70,
"column": 41
},
"identifierName": "classList"
},
"name": "classList"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1977,
"end": 1983,
"loc": {
"start": {
"line": 70,
"column": 42
},
"end": {
"line": 70,
"column": 48
},
"identifierName": "remove"
},
"name": "remove"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 1984,
"end": 1992,
"loc": {
"start": {
"line": 70,
"column": 49
},
"end": {
"line": 70,
"column": 57
}
},
"extra": {
"rawValue": "active",
"raw": "\"active\""
},
"value": "active"
}
]
}
},
{
"type": "IfStatement",
"start": 2007,
"end": 2290,
"loc": {
"start": {
"line": 71,
"column": 12
},
"end": {
"line": 79,
"column": 13
}
},
"test": {
"type": "Identifier",
"start": 2011,
"end": 2015,
"loc": {
"start": {
"line": 71,
"column": 16
},
"end": {
"line": 71,
"column": 20
},
"identifierName": "done"
},
"name": "done"
},
"consequent": {
"type": "BlockStatement",
"start": 2017,
"end": 2179,
"loc": {
"start": {
"line": 71,
"column": 22
},
"end": {
"line": 76,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 2035,
"end": 2165,
"loc": {
"start": {
"line": 72,
"column": 16
},
"end": {
"line": 75,
"column": 19
}
},
"expression": {
"type": "CallExpression",
"start": 2035,
"end": 2164,
"loc": {
"start": {
"line": 72,
"column": 16
},
"end": {
"line": 75,
"column": 18
}
},
"callee": {
"type": "MemberExpression",
"start": 2035,
"end": 2054,
"loc": {
"start": {
"line": 72,
"column": 16
},
"end": {
"line": 72,
"column": 35
}
},
"object": {
"type": "ThisExpression",
"start": 2035,
"end": 2039,
"loc": {
"start": {
"line": 72,
"column": 16
},
"end": {
"line": 72,
"column": 20
}
}
},
"property": {
"type": "Identifier",
"start": 2040,
"end": 2054,
"loc": {
"start": {
"line": 72,
"column": 21
},
"end": {
"line": 72,
"column": 35
},
"identifierName": "_exitOrthoMode"
},
"name": "_exitOrthoMode"
},
"computed": false
},
"arguments": [
{
"type": "ArrowFunctionExpression",
"start": 2055,
"end": 2163,
"loc": {
"start": {
"line": 72,
"column": 36
},
"end": {
"line": 75,
"column": 17
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 2061,
"end": 2163,
"loc": {
"start": {
"line": 72,
"column": 42
},
"end": {
"line": 75,
"column": 17
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 2083,
"end": 2117,
"loc": {
"start": {
"line": 73,
"column": 20
},
"end": {
"line": 73,
"column": 54
}
},
"expression": {
"type": "CallExpression",
"start": 2083,
"end": 2116,
"loc": {
"start": {
"line": 73,
"column": 20
},
"end": {
"line": 73,
"column": 53
}
},
"callee": {
"type": "MemberExpression",
"start": 2083,
"end": 2092,
"loc": {
"start": {
"line": 73,
"column": 20
},
"end": {
"line": 73,
"column": 29
}
},
"object": {
"type": "ThisExpression",
"start": 2083,
"end": 2087,
"loc": {
"start": {
"line": 73,
"column": 20
},
"end": {
"line": 73,
"column": 24
}
}
},
"property": {
"type": "Identifier",
"start": 2088,
"end": 2092,
"loc": {
"start": {
"line": 73,
"column": 25
},
"end": {
"line": 73,
"column": 29
},
"identifierName": "fire"
},
"name": "fire"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 2093,
"end": 2101,
"loc": {
"start": {
"line": 73,
"column": 30
},
"end": {
"line": 73,
"column": 38
}
},
"extra": {
"rawValue": "active",
"raw": "\"active\""
},
"value": "active"
},
{
"type": "MemberExpression",
"start": 2103,
"end": 2115,
"loc": {
"start": {
"line": 73,
"column": 40
},
"end": {
"line": 73,
"column": 52
}
},
"object": {
"type": "ThisExpression",
"start": 2103,
"end": 2107,
"loc": {
"start": {
"line": 73,
"column": 40
},
"end": {
"line": 73,
"column": 44
}
}
},
"property": {
"type": "Identifier",
"start": 2108,
"end": 2115,
"loc": {
"start": {
"line": 73,
"column": 45
},
"end": {
"line": 73,
"column": 52
},
"identifierName": "_active"
},
"name": "_active"
},
"computed": false
}
]
}
},
{
"type": "ExpressionStatement",
"start": 2138,
"end": 2145,
"loc": {
"start": {
"line": 74,
"column": 20
},
"end": {
"line": 74,
"column": 27
}
},
"expression": {
"type": "CallExpression",
"start": 2138,
"end": 2144,
"loc": {
"start": {
"line": 74,
"column": 20
},
"end": {
"line": 74,
"column": 26
}
},
"callee": {
"type": "Identifier",
"start": 2138,
"end": 2142,
"loc": {
"start": {
"line": 74,
"column": 20
},
"end": {
"line": 74,
"column": 24
},
"identifierName": "done"
},
"name": "done"
},
"arguments": []
}
}
],
"directives": []
}
}
]
}
}
],
"directives": []
},
"alternate": {
"type": "BlockStatement",
"start": 2185,
"end": 2290,
"loc": {
"start": {
"line": 76,
"column": 19
},
"end": {
"line": 79,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 2203,
"end": 2225,
"loc": {
"start": {
"line": 77,
"column": 16
},
"end": {
"line": 77,
"column": 38
}
},
"expression": {
"type": "CallExpression",
"start": 2203,
"end": 2224,
"loc": {
"start": {
"line": 77,
"column": 16
},
"end": {
"line": 77,
"column": 37
}
},
"callee": {
"type": "MemberExpression",
"start": 2203,
"end": 2222,
"loc": {
"start": {
"line": 77,
"column": 16
},
"end": {
"line": 77,
"column": 35
}
},
"object": {
"type": "ThisExpression",
"start": 2203,
"end": 2207,
"loc": {
"start": {
"line": 77,
"column": 16
},
"end": {
"line": 77,
"column": 20
}
}
},
"property": {
"type": "Identifier",
"start": 2208,
"end": 2222,
"loc": {
"start": {
"line": 77,
"column": 21
},
"end": {
"line": 77,
"column": 35
},
"identifierName": "_exitOrthoMode"
},
"name": "_exitOrthoMode"
},
"computed": false
},
"arguments": []
}
},
{
"type": "ExpressionStatement",
"start": 2242,
"end": 2276,
"loc": {
"start": {
"line": 78,
"column": 16
},
"end": {
"line": 78,
"column": 50
}
},
"expression": {
"type": "CallExpression",
"start": 2242,
"end": 2275,
"loc": {
"start": {
"line": 78,
"column": 16
},
"end": {
"line": 78,
"column": 49
}
},
"callee": {
"type": "MemberExpression",
"start": 2242,
"end": 2251,
"loc": {
"start": {
"line": 78,
"column": 16
},
"end": {
"line": 78,
"column": 25
}
},
"object": {
"type": "ThisExpression",
"start": 2242,
"end": 2246,
"loc": {
"start": {
"line": 78,
"column": 16
},
"end": {
"line": 78,
"column": 20
}
}
},
"property": {
"type": "Identifier",
"start": 2247,
"end": 2251,
"loc": {
"start": {
"line": 78,
"column": 21
},
"end": {
"line": 78,
"column": 25
},
"identifierName": "fire"
},
"name": "fire"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 2252,
"end": 2260,
"loc": {
"start": {
"line": 78,
"column": 26
},
"end": {
"line": 78,
"column": 34
}
},
"extra": {
"rawValue": "active",
"raw": "\"active\""
},
"value": "active"
},
{
"type": "MemberExpression",
"start": 2262,
"end": 2274,
"loc": {
"start": {
"line": 78,
"column": 36
},
"end": {
"line": 78,
"column": 48
}
},
"object": {
"type": "ThisExpression",
"start": 2262,
"end": 2266,
"loc": {
"start": {
"line": 78,
"column": 36
},
"end": {
"line": 78,
"column": 40
}
}
},
"property": {
"type": "Identifier",
"start": 2267,
"end": 2274,
"loc": {
"start": {
"line": 78,
"column": 41
},
"end": {
"line": 78,
"column": 48
},
"identifierName": "_active"
},
"name": "_active"
},
"computed": false
}
]
}
}
],
"directives": []
}
}
],
"directives": []
}
}
],
"directives": []
}
},
{
"type": "ClassMethod",
"start": 2312,
"end": 2544,
"loc": {
"start": {
"line": 83,
"column": 4
},
"end": {
"line": 89,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 2312,
"end": 2327,
"loc": {
"start": {
"line": 83,
"column": 4
},
"end": {
"line": 83,
"column": 19
},
"identifierName": "_enterOrthoMode"
},
"name": "_enterOrthoMode"
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 2328,
"end": 2332,
"loc": {
"start": {
"line": 83,
"column": 20
},
"end": {
"line": 83,
"column": 24
},
"identifierName": "done"
},
"name": "done"
}
],
"body": {
"type": "BlockStatement",
"start": 2334,
"end": 2544,
"loc": {
"start": {
"line": 83,
"column": 26
},
"end": {
"line": 89,
"column": 5
}
},
"body": [
{
"type": "IfStatement",
"start": 2344,
"end": 2538,
"loc": {
"start": {
"line": 84,
"column": 8
},
"end": {
"line": 88,
"column": 9
}
},
"test": {
"type": "Identifier",
"start": 2348,
"end": 2352,
"loc": {
"start": {
"line": 84,
"column": 12
},
"end": {
"line": 84,
"column": 16
},
"identifierName": "done"
},
"name": "done"
},
"consequent": {
"type": "BlockStatement",
"start": 2354,
"end": 2453,
"loc": {
"start": {
"line": 84,
"column": 18
},
"end": {
"line": 86,
"column": 9
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 2368,
"end": 2443,
"loc": {
"start": {
"line": 85,
"column": 12
},
"end": {
"line": 85,
"column": 87
}
},
"expression": {
"type": "CallExpression",
"start": 2368,
"end": 2442,
"loc": {
"start": {
"line": 85,
"column": 12
},
"end": {
"line": 85,
"column": 86
}
},
"callee": {
"type": "MemberExpression",
"start": 2368,
"end": 2398,
"loc": {
"start": {
"line": 85,
"column": 12
},
"end": {
"line": 85,
"column": 42
}
},
"object": {
"type": "MemberExpression",
"start": 2368,
"end": 2392,
"loc": {
"start": {
"line": 85,
"column": 12
},
"end": {
"line": 85,
"column": 36
}
},
"object": {
"type": "MemberExpression",
"start": 2368,
"end": 2379,
"loc": {
"start": {
"line": 85,
"column": 12
},
"end": {
"line": 85,
"column": 23
}
},
"object": {
"type": "ThisExpression",
"start": 2368,
"end": 2372,
"loc": {
"start": {
"line": 85,
"column": 12
},
"end": {
"line": 85,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 2373,
"end": 2379,
"loc": {
"start": {
"line": 85,
"column": 17
},
"end": {
"line": 85,
"column": 23
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2380,
"end": 2392,
"loc": {
"start": {
"line": 85,
"column": 24
},
"end": {
"line": 85,
"column": 36
},
"identifierName": "cameraFlight"
},
"name": "cameraFlight"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2393,
"end": 2398,
"loc": {
"start": {
"line": 85,
"column": 37
},
"end": {
"line": 85,
"column": 42
},
"identifierName": "flyTo"
},
"name": "flyTo"
},
"computed": false
},
"arguments": [
{
"type": "ObjectExpression",
"start": 2399,
"end": 2435,
"loc": {
"start": {
"line": 85,
"column": 43
},
"end": {
"line": 85,
"column": 79
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 2400,
"end": 2419,
"loc": {
"start": {
"line": 85,
"column": 44
},
"end": {
"line": 85,
"column": 63
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 2400,
"end": 2410,
"loc": {
"start": {
"line": 85,
"column": 44
},
"end": {
"line": 85,
"column": 54
},
"identifierName": "projection"
},
"name": "projection"
},
"value": {
"type": "StringLiteral",
"start": 2412,
"end": 2419,
"loc": {
"start": {
"line": 85,
"column": 56
},
"end": {
"line": 85,
"column": 63
}
},
"extra": {
"rawValue": "ortho",
"raw": "\"ortho\""
},
"value": "ortho"
}
},
{
"type": "ObjectProperty",
"start": 2421,
"end": 2434,
"loc": {
"start": {
"line": 85,
"column": 65
},
"end": {
"line": 85,
"column": 78
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 2421,
"end": 2429,
"loc": {
"start": {
"line": 85,
"column": 65
},
"end": {
"line": 85,
"column": 73
},
"identifierName": "duration"
},
"name": "duration"
},
"value": {
"type": "NumericLiteral",
"start": 2431,
"end": 2434,
"loc": {
"start": {
"line": 85,
"column": 75
},
"end": {
"line": 85,
"column": 78
}
},
"extra": {
"rawValue": 0.5,
"raw": "0.5"
},
"value": 0.5
}
}
]
},
{
"type": "Identifier",
"start": 2437,
"end": 2441,
"loc": {
"start": {
"line": 85,
"column": 81
},
"end": {
"line": 85,
"column": 85
},
"identifierName": "done"
},
"name": "done"
}
]
}
}
],
"directives": []
},
"alternate": {
"type": "BlockStatement",
"start": 2459,
"end": 2538,
"loc": {
"start": {
"line": 86,
"column": 15
},
"end": {
"line": 88,
"column": 9
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 2473,
"end": 2528,
"loc": {
"start": {
"line": 87,
"column": 12
},
"end": {
"line": 87,
"column": 67
}
},
"expression": {
"type": "CallExpression",
"start": 2473,
"end": 2527,
"loc": {
"start": {
"line": 87,
"column": 12
},
"end": {
"line": 87,
"column": 66
}
},
"callee": {
"type": "MemberExpression",
"start": 2473,
"end": 2504,
"loc": {
"start": {
"line": 87,
"column": 12
},
"end": {
"line": 87,
"column": 43
}
},
"object": {
"type": "MemberExpression",
"start": 2473,
"end": 2497,
"loc": {
"start": {
"line": 87,
"column": 12
},
"end": {
"line": 87,
"column": 36
}
},
"object": {
"type": "MemberExpression",
"start": 2473,
"end": 2484,
"loc": {
"start": {
"line": 87,
"column": 12
},
"end": {
"line": 87,
"column": 23
}
},
"object": {
"type": "ThisExpression",
"start": 2473,
"end": 2477,
"loc": {
"start": {
"line": 87,
"column": 12
},
"end": {
"line": 87,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 2478,
"end": 2484,
"loc": {
"start": {
"line": 87,
"column": 17
},
"end": {
"line": 87,
"column": 23
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2485,
"end": 2497,
"loc": {
"start": {
"line": 87,
"column": 24
},
"end": {
"line": 87,
"column": 36
},
"identifierName": "cameraFlight"
},
"name": "cameraFlight"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2498,
"end": 2504,
"loc": {
"start": {
"line": 87,
"column": 37
},
"end": {
"line": 87,
"column": 43
},
"identifierName": "jumpTo"
},
"name": "jumpTo"
},
"computed": false
},
"arguments": [
{
"type": "ObjectExpression",
"start": 2505,
"end": 2526,
"loc": {
"start": {
"line": 87,
"column": 44
},
"end": {
"line": 87,
"column": 65
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 2506,
"end": 2525,
"loc": {
"start": {
"line": 87,
"column": 45
},
"end": {
"line": 87,
"column": 64
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 2506,
"end": 2516,
"loc": {
"start": {
"line": 87,
"column": 45
},
"end": {
"line": 87,
"column": 55
},
"identifierName": "projection"
},
"name": "projection"
},
"value": {
"type": "StringLiteral",
"start": 2518,
"end": 2525,
"loc": {
"start": {
"line": 87,
"column": 57
},
"end": {
"line": 87,
"column": 64
}
},
"extra": {
"rawValue": "ortho",
"raw": "\"ortho\""
},
"value": "ortho"
}
}
]
}
]
}
}
],
"directives": []
}
}
],
"directives": []
}
},
{
"type": "ClassMethod",
"start": 2550,
"end": 2793,
"loc": {
"start": {
"line": 91,
"column": 4
},
"end": {
"line": 97,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 2550,
"end": 2564,
"loc": {
"start": {
"line": 91,
"column": 4
},
"end": {
"line": 91,
"column": 18
},
"identifierName": "_exitOrthoMode"
},
"name": "_exitOrthoMode"
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 2565,
"end": 2569,
"loc": {
"start": {
"line": 91,
"column": 19
},
"end": {
"line": 91,
"column": 23
},
"identifierName": "done"
},
"name": "done"
}
],
"body": {
"type": "BlockStatement",
"start": 2571,
"end": 2793,
"loc": {
"start": {
"line": 91,
"column": 25
},
"end": {
"line": 97,
"column": 5
}
},
"body": [
{
"type": "IfStatement",
"start": 2581,
"end": 2787,
"loc": {
"start": {
"line": 92,
"column": 8
},
"end": {
"line": 96,
"column": 9
}
},
"test": {
"type": "Identifier",
"start": 2585,
"end": 2589,
"loc": {
"start": {
"line": 92,
"column": 12
},
"end": {
"line": 92,
"column": 16
},
"identifierName": "done"
},
"name": "done"
},
"consequent": {
"type": "BlockStatement",
"start": 2591,
"end": 2696,
"loc": {
"start": {
"line": 92,
"column": 18
},
"end": {
"line": 94,
"column": 9
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 2605,
"end": 2686,
"loc": {
"start": {
"line": 93,
"column": 12
},
"end": {
"line": 93,
"column": 93
}
},
"expression": {
"type": "CallExpression",
"start": 2605,
"end": 2685,
"loc": {
"start": {
"line": 93,
"column": 12
},
"end": {
"line": 93,
"column": 92
}
},
"callee": {
"type": "MemberExpression",
"start": 2605,
"end": 2635,
"loc": {
"start": {
"line": 93,
"column": 12
},
"end": {
"line": 93,
"column": 42
}
},
"object": {
"type": "MemberExpression",
"start": 2605,
"end": 2629,
"loc": {
"start": {
"line": 93,
"column": 12
},
"end": {
"line": 93,
"column": 36
}
},
"object": {
"type": "MemberExpression",
"start": 2605,
"end": 2616,
"loc": {
"start": {
"line": 93,
"column": 12
},
"end": {
"line": 93,
"column": 23
}
},
"object": {
"type": "ThisExpression",
"start": 2605,
"end": 2609,
"loc": {
"start": {
"line": 93,
"column": 12
},
"end": {
"line": 93,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 2610,
"end": 2616,
"loc": {
"start": {
"line": 93,
"column": 17
},
"end": {
"line": 93,
"column": 23
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2617,
"end": 2629,
"loc": {
"start": {
"line": 93,
"column": 24
},
"end": {
"line": 93,
"column": 36
},
"identifierName": "cameraFlight"
},
"name": "cameraFlight"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2630,
"end": 2635,
"loc": {
"start": {
"line": 93,
"column": 37
},
"end": {
"line": 93,
"column": 42
},
"identifierName": "flyTo"
},
"name": "flyTo"
},
"computed": false
},
"arguments": [
{
"type": "ObjectExpression",
"start": 2636,
"end": 2678,
"loc": {
"start": {
"line": 93,
"column": 43
},
"end": {
"line": 93,
"column": 85
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 2637,
"end": 2662,
"loc": {
"start": {
"line": 93,
"column": 44
},
"end": {
"line": 93,
"column": 69
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 2637,
"end": 2647,
"loc": {
"start": {
"line": 93,
"column": 44
},
"end": {
"line": 93,
"column": 54
},
"identifierName": "projection"
},
"name": "projection"
},
"value": {
"type": "StringLiteral",
"start": 2649,
"end": 2662,
"loc": {
"start": {
"line": 93,
"column": 56
},
"end": {
"line": 93,
"column": 69
}
},
"extra": {
"rawValue": "perspective",
"raw": "\"perspective\""
},
"value": "perspective"
}
},
{
"type": "ObjectProperty",
"start": 2664,
"end": 2677,
"loc": {
"start": {
"line": 93,
"column": 71
},
"end": {
"line": 93,
"column": 84
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 2664,
"end": 2672,
"loc": {
"start": {
"line": 93,
"column": 71
},
"end": {
"line": 93,
"column": 79
},
"identifierName": "duration"
},
"name": "duration"
},
"value": {
"type": "NumericLiteral",
"start": 2674,
"end": 2677,
"loc": {
"start": {
"line": 93,
"column": 81
},
"end": {
"line": 93,
"column": 84
}
},
"extra": {
"rawValue": 0.5,
"raw": "0.5"
},
"value": 0.5
}
}
]
},
{
"type": "Identifier",
"start": 2680,
"end": 2684,
"loc": {
"start": {
"line": 93,
"column": 87
},
"end": {
"line": 93,
"column": 91
},
"identifierName": "done"
},
"name": "done"
}
]
}
}
],
"directives": []
},
"alternate": {
"type": "BlockStatement",
"start": 2702,
"end": 2787,
"loc": {
"start": {
"line": 94,
"column": 15
},
"end": {
"line": 96,
"column": 9
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 2716,
"end": 2777,
"loc": {
"start": {
"line": 95,
"column": 12
},
"end": {
"line": 95,
"column": 73
}
},
"expression": {
"type": "CallExpression",
"start": 2716,
"end": 2776,
"loc": {
"start": {
"line": 95,
"column": 12
},
"end": {
"line": 95,
"column": 72
}
},
"callee": {
"type": "MemberExpression",
"start": 2716,
"end": 2747,
"loc": {
"start": {
"line": 95,
"column": 12
},
"end": {
"line": 95,
"column": 43
}
},
"object": {
"type": "MemberExpression",
"start": 2716,
"end": 2740,
"loc": {
"start": {
"line": 95,
"column": 12
},
"end": {
"line": 95,
"column": 36
}
},
"object": {
"type": "MemberExpression",
"start": 2716,
"end": 2727,
"loc": {
"start": {
"line": 95,
"column": 12
},
"end": {
"line": 95,
"column": 23
}
},
"object": {
"type": "ThisExpression",
"start": 2716,
"end": 2720,
"loc": {
"start": {
"line": 95,
"column": 12
},
"end": {
"line": 95,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 2721,
"end": 2727,
"loc": {
"start": {
"line": 95,
"column": 17
},
"end": {
"line": 95,
"column": 23
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2728,
"end": 2740,
"loc": {
"start": {
"line": 95,
"column": 24
},
"end": {
"line": 95,
"column": 36
},
"identifierName": "cameraFlight"
},
"name": "cameraFlight"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2741,
"end": 2747,
"loc": {
"start": {
"line": 95,
"column": 37
},
"end": {
"line": 95,
"column": 43
},
"identifierName": "jumpTo"
},
"name": "jumpTo"
},
"computed": false
},
"arguments": [
{
"type": "ObjectExpression",
"start": 2748,
"end": 2775,
"loc": {
"start": {
"line": 95,
"column": 44
},
"end": {
"line": 95,
"column": 71
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 2749,
"end": 2774,
"loc": {
"start": {
"line": 95,
"column": 45
},
"end": {
"line": 95,
"column": 70
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 2749,
"end": 2759,
"loc": {
"start": {
"line": 95,
"column": 45
},
"end": {
"line": 95,
"column": 55
},
"identifierName": "projection"
},
"name": "projection"
},
"value": {
"type": "StringLiteral",
"start": 2761,
"end": 2774,
"loc": {
"start": {
"line": 95,
"column": 57
},
"end": {
"line": 95,
"column": 70
}
},
"extra": {
"rawValue": "perspective",
"raw": "\"perspective\""
},
"value": "perspective"
}
}
]
}
]
}
}
],
"directives": []
}
}
],
"directives": []
}
}
]
},
"leadingComments": [],
"name": "_",
"trailingComments": []
},
{
"type": "ExportNamedDeclaration",
"start": 2797,
"end": 2816,
"loc": {
"start": {
"line": 100,
"column": 0
},
"end": {
"line": 100,
"column": 19
}
},
"declaration": null,
"specifiers": [
{
"type": "ExportSpecifier",
"start": 2805,
"end": 2814,
"loc": {
"start": {
"line": 100,
"column": 8
},
"end": {
"line": 100,
"column": 17
}
},
"local": {
"type": "Identifier",
"start": 2805,
"end": 2814,
"loc": {
"start": {
"line": 100,
"column": 8
},
"end": {
"line": 100,
"column": 17
},
"identifierName": "OrthoMode"
},
"name": "OrthoMode"
},
"exported": {
"type": "Identifier",
"start": 2805,
"end": 2814,
"loc": {
"start": {
"line": 100,
"column": 8
},
"end": {
"line": 100,
"column": 17
},
"identifierName": "OrthoMode"
},
"name": "OrthoMode"
}
}
],
"source": null
},
{
"type": "ExportNamedDeclaration",
"start": 2797,
"end": 2816,
"loc": {
"start": {
"line": 100,
"column": 0
},
"end": {
"line": 100,
"column": 19
}
},
"declaration": {
"type": "ClassDeclaration",
"start": 62,
"end": 2795,
"loc": {
"start": {
"line": 4,
"column": 0
},
"end": {
"line": 98,
"column": 1
}
},
"id": {
"type": "Identifier",
"start": 68,
"end": 77,
"loc": {
"start": {
"line": 4,
"column": 6
},
"end": {
"line": 4,
"column": 15
},
"identifierName": "OrthoMode"
},
"name": "OrthoMode",
"leadingComments": null
},
"superClass": {
"type": "Identifier",
"start": 86,
"end": 96,
"loc": {
"start": {
"line": 4,
"column": 24
},
"end": {
"line": 4,
"column": 34
},
"identifierName": "Controller"
},
"name": "Controller"
},
"body": {
"type": "ClassBody",
"start": 97,
"end": 2795,
"loc": {
"start": {
"line": 4,
"column": 35
},
"end": {
"line": 98,
"column": 1
}
},
"body": [
{
"type": "ClassMethod",
"start": 104,
"end": 1347,
"loc": {
"start": {
"line": 6,
"column": 4
},
"end": {
"line": 48,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 104,
"end": 115,
"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": 116,
"end": 122,
"loc": {
"start": {
"line": 6,
"column": 16
},
"end": {
"line": 6,
"column": 22
},
"identifierName": "parent"
},
"name": "parent"
},
{
"type": "Identifier",
"start": 124,
"end": 127,
"loc": {
"start": {
"line": 6,
"column": 24
},
"end": {
"line": 6,
"column": 27
},
"identifierName": "cfg"
},
"name": "cfg"
}
],
"body": {
"type": "BlockStatement",
"start": 129,
"end": 1347,
"loc": {
"start": {
"line": 6,
"column": 29
},
"end": {
"line": 48,
"column": 5
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 140,
"end": 159,
"loc": {
"start": {
"line": 8,
"column": 8
},
"end": {
"line": 8,
"column": 27
}
},
"expression": {
"type": "CallExpression",
"start": 140,
"end": 158,
"loc": {
"start": {
"line": 8,
"column": 8
},
"end": {
"line": 8,
"column": 26
}
},
"callee": {
"type": "Super",
"start": 140,
"end": 145,
"loc": {
"start": {
"line": 8,
"column": 8
},
"end": {
"line": 8,
"column": 13
}
}
},
"arguments": [
{
"type": "Identifier",
"start": 146,
"end": 152,
"loc": {
"start": {
"line": 8,
"column": 14
},
"end": {
"line": 8,
"column": 20
},
"identifierName": "parent"
},
"name": "parent"
},
{
"type": "Identifier",
"start": 154,
"end": 157,
"loc": {
"start": {
"line": 8,
"column": 22
},
"end": {
"line": 8,
"column": 25
},
"identifierName": "cfg"
},
"name": "cfg"
}
]
}
},
{
"type": "IfStatement",
"start": 169,
"end": 255,
"loc": {
"start": {
"line": 10,
"column": 8
},
"end": {
"line": 12,
"column": 9
}
},
"test": {
"type": "UnaryExpression",
"start": 173,
"end": 191,
"loc": {
"start": {
"line": 10,
"column": 12
},
"end": {
"line": 10,
"column": 30
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "MemberExpression",
"start": 174,
"end": 191,
"loc": {
"start": {
"line": 10,
"column": 13
},
"end": {
"line": 10,
"column": 30
}
},
"object": {
"type": "Identifier",
"start": 174,
"end": 177,
"loc": {
"start": {
"line": 10,
"column": 13
},
"end": {
"line": 10,
"column": 16
},
"identifierName": "cfg"
},
"name": "cfg"
},
"property": {
"type": "Identifier",
"start": 178,
"end": 191,
"loc": {
"start": {
"line": 10,
"column": 17
},
"end": {
"line": 10,
"column": 30
},
"identifierName": "buttonElement"
},
"name": "buttonElement"
},
"computed": false
},
"extra": {
"parenthesizedArgument": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 193,
"end": 255,
"loc": {
"start": {
"line": 10,
"column": 32
},
"end": {
"line": 12,
"column": 9
}
},
"body": [
{
"type": "ThrowStatement",
"start": 207,
"end": 245,
"loc": {
"start": {
"line": 11,
"column": 12
},
"end": {
"line": 11,
"column": 50
}
},
"argument": {
"type": "StringLiteral",
"start": 213,
"end": 244,
"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": "ExpressionStatement",
"start": 265,
"end": 305,
"loc": {
"start": {
"line": 14,
"column": 8
},
"end": {
"line": 14,
"column": 48
}
},
"expression": {
"type": "AssignmentExpression",
"start": 265,
"end": 304,
"loc": {
"start": {
"line": 14,
"column": 8
},
"end": {
"line": 14,
"column": 47
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 265,
"end": 284,
"loc": {
"start": {
"line": 14,
"column": 8
},
"end": {
"line": 14,
"column": 27
}
},
"object": {
"type": "ThisExpression",
"start": 265,
"end": 269,
"loc": {
"start": {
"line": 14,
"column": 8
},
"end": {
"line": 14,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 270,
"end": 284,
"loc": {
"start": {
"line": 14,
"column": 13
},
"end": {
"line": 14,
"column": 27
},
"identifierName": "_buttonElement"
},
"name": "_buttonElement"
},
"computed": false
},
"right": {
"type": "MemberExpression",
"start": 287,
"end": 304,
"loc": {
"start": {
"line": 14,
"column": 30
},
"end": {
"line": 14,
"column": 47
}
},
"object": {
"type": "Identifier",
"start": 287,
"end": 290,
"loc": {
"start": {
"line": 14,
"column": 30
},
"end": {
"line": 14,
"column": 33
},
"identifierName": "cfg"
},
"name": "cfg"
},
"property": {
"type": "Identifier",
"start": 291,
"end": 304,
"loc": {
"start": {
"line": 14,
"column": 34
},
"end": {
"line": 14,
"column": 47
},
"identifierName": "buttonElement"
},
"name": "buttonElement"
},
"computed": false
}
}
},
{
"type": "ExpressionStatement",
"start": 315,
"end": 552,
"loc": {
"start": {
"line": 16,
"column": 8
},
"end": {
"line": 22,
"column": 11
}
},
"expression": {
"type": "CallExpression",
"start": 315,
"end": 551,
"loc": {
"start": {
"line": 16,
"column": 8
},
"end": {
"line": 22,
"column": 10
}
},
"callee": {
"type": "MemberExpression",
"start": 315,
"end": 322,
"loc": {
"start": {
"line": 16,
"column": 8
},
"end": {
"line": 16,
"column": 15
}
},
"object": {
"type": "ThisExpression",
"start": 315,
"end": 319,
"loc": {
"start": {
"line": 16,
"column": 8
},
"end": {
"line": 16,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 320,
"end": 322,
"loc": {
"start": {
"line": 16,
"column": 13
},
"end": {
"line": 16,
"column": 15
},
"identifierName": "on"
},
"name": "on"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 323,
"end": 332,
"loc": {
"start": {
"line": 16,
"column": 16
},
"end": {
"line": 16,
"column": 25
}
},
"extra": {
"rawValue": "enabled",
"raw": "\"enabled\""
},
"value": "enabled"
},
{
"type": "ArrowFunctionExpression",
"start": 334,
"end": 550,
"loc": {
"start": {
"line": 16,
"column": 27
},
"end": {
"line": 22,
"column": 9
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 335,
"end": 342,
"loc": {
"start": {
"line": 16,
"column": 28
},
"end": {
"line": 16,
"column": 35
},
"identifierName": "enabled"
},
"name": "enabled"
}
],
"body": {
"type": "BlockStatement",
"start": 347,
"end": 550,
"loc": {
"start": {
"line": 16,
"column": 40
},
"end": {
"line": 22,
"column": 9
}
},
"body": [
{
"type": "IfStatement",
"start": 361,
"end": 540,
"loc": {
"start": {
"line": 17,
"column": 12
},
"end": {
"line": 21,
"column": 13
}
},
"test": {
"type": "UnaryExpression",
"start": 365,
"end": 373,
"loc": {
"start": {
"line": 17,
"column": 16
},
"end": {
"line": 17,
"column": 24
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "Identifier",
"start": 366,
"end": 373,
"loc": {
"start": {
"line": 17,
"column": 17
},
"end": {
"line": 17,
"column": 24
},
"identifierName": "enabled"
},
"name": "enabled"
},
"extra": {
"parenthesizedArgument": false
}
},
"consequent": {
"type": "BlockStatement",
"start": 375,
"end": 453,
"loc": {
"start": {
"line": 17,
"column": 26
},
"end": {
"line": 19,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 393,
"end": 439,
"loc": {
"start": {
"line": 18,
"column": 16
},
"end": {
"line": 18,
"column": 62
}
},
"expression": {
"type": "CallExpression",
"start": 393,
"end": 438,
"loc": {
"start": {
"line": 18,
"column": 16
},
"end": {
"line": 18,
"column": 61
}
},
"callee": {
"type": "MemberExpression",
"start": 393,
"end": 426,
"loc": {
"start": {
"line": 18,
"column": 16
},
"end": {
"line": 18,
"column": 49
}
},
"object": {
"type": "MemberExpression",
"start": 393,
"end": 422,
"loc": {
"start": {
"line": 18,
"column": 16
},
"end": {
"line": 18,
"column": 45
}
},
"object": {
"type": "MemberExpression",
"start": 393,
"end": 412,
"loc": {
"start": {
"line": 18,
"column": 16
},
"end": {
"line": 18,
"column": 35
}
},
"object": {
"type": "ThisExpression",
"start": 393,
"end": 397,
"loc": {
"start": {
"line": 18,
"column": 16
},
"end": {
"line": 18,
"column": 20
}
}
},
"property": {
"type": "Identifier",
"start": 398,
"end": 412,
"loc": {
"start": {
"line": 18,
"column": 21
},
"end": {
"line": 18,
"column": 35
},
"identifierName": "_buttonElement"
},
"name": "_buttonElement"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 413,
"end": 422,
"loc": {
"start": {
"line": 18,
"column": 36
},
"end": {
"line": 18,
"column": 45
},
"identifierName": "classList"
},
"name": "classList"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 423,
"end": 426,
"loc": {
"start": {
"line": 18,
"column": 46
},
"end": {
"line": 18,
"column": 49
},
"identifierName": "add"
},
"name": "add"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 427,
"end": 437,
"loc": {
"start": {
"line": 18,
"column": 50
},
"end": {
"line": 18,
"column": 60
}
},
"extra": {
"rawValue": "disabled",
"raw": "\"disabled\""
},
"value": "disabled"
}
]
}
}
],
"directives": []
},
"alternate": {
"type": "BlockStatement",
"start": 459,
"end": 540,
"loc": {
"start": {
"line": 19,
"column": 19
},
"end": {
"line": 21,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 477,
"end": 526,
"loc": {
"start": {
"line": 20,
"column": 16
},
"end": {
"line": 20,
"column": 65
}
},
"expression": {
"type": "CallExpression",
"start": 477,
"end": 525,
"loc": {
"start": {
"line": 20,
"column": 16
},
"end": {
"line": 20,
"column": 64
}
},
"callee": {
"type": "MemberExpression",
"start": 477,
"end": 513,
"loc": {
"start": {
"line": 20,
"column": 16
},
"end": {
"line": 20,
"column": 52
}
},
"object": {
"type": "MemberExpression",
"start": 477,
"end": 506,
"loc": {
"start": {
"line": 20,
"column": 16
},
"end": {
"line": 20,
"column": 45
}
},
"object": {
"type": "MemberExpression",
"start": 477,
"end": 496,
"loc": {
"start": {
"line": 20,
"column": 16
},
"end": {
"line": 20,
"column": 35
}
},
"object": {
"type": "ThisExpression",
"start": 477,
"end": 481,
"loc": {
"start": {
"line": 20,
"column": 16
},
"end": {
"line": 20,
"column": 20
}
}
},
"property": {
"type": "Identifier",
"start": 482,
"end": 496,
"loc": {
"start": {
"line": 20,
"column": 21
},
"end": {
"line": 20,
"column": 35
},
"identifierName": "_buttonElement"
},
"name": "_buttonElement"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 497,
"end": 506,
"loc": {
"start": {
"line": 20,
"column": 36
},
"end": {
"line": 20,
"column": 45
},
"identifierName": "classList"
},
"name": "classList"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 507,
"end": 513,
"loc": {
"start": {
"line": 20,
"column": 46
},
"end": {
"line": 20,
"column": 52
},
"identifierName": "remove"
},
"name": "remove"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 514,
"end": 524,
"loc": {
"start": {
"line": 20,
"column": 53
},
"end": {
"line": 20,
"column": 63
}
},
"extra": {
"rawValue": "disabled",
"raw": "\"disabled\""
},
"value": "disabled"
}
]
}
}
],
"directives": []
}
}
],
"directives": []
}
}
]
}
},
{
"type": "ExpressionStatement",
"start": 562,
"end": 797,
"loc": {
"start": {
"line": 24,
"column": 8
},
"end": {
"line": 30,
"column": 11
}
},
"expression": {
"type": "CallExpression",
"start": 562,
"end": 796,
"loc": {
"start": {
"line": 24,
"column": 8
},
"end": {
"line": 30,
"column": 10
}
},
"callee": {
"type": "MemberExpression",
"start": 562,
"end": 598,
"loc": {
"start": {
"line": 24,
"column": 8
},
"end": {
"line": 24,
"column": 44
}
},
"object": {
"type": "MemberExpression",
"start": 562,
"end": 581,
"loc": {
"start": {
"line": 24,
"column": 8
},
"end": {
"line": 24,
"column": 27
}
},
"object": {
"type": "ThisExpression",
"start": 562,
"end": 566,
"loc": {
"start": {
"line": 24,
"column": 8
},
"end": {
"line": 24,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 567,
"end": 581,
"loc": {
"start": {
"line": 24,
"column": 13
},
"end": {
"line": 24,
"column": 27
},
"identifierName": "_buttonElement"
},
"name": "_buttonElement"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 582,
"end": 598,
"loc": {
"start": {
"line": 24,
"column": 28
},
"end": {
"line": 24,
"column": 44
},
"identifierName": "addEventListener"
},
"name": "addEventListener"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 599,
"end": 606,
"loc": {
"start": {
"line": 24,
"column": 45
},
"end": {
"line": 24,
"column": 52
}
},
"extra": {
"rawValue": "click",
"raw": "\"click\""
},
"value": "click"
},
{
"type": "ArrowFunctionExpression",
"start": 608,
"end": 795,
"loc": {
"start": {
"line": 24,
"column": 54
},
"end": {
"line": 30,
"column": 9
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 609,
"end": 614,
"loc": {
"start": {
"line": 24,
"column": 55
},
"end": {
"line": 24,
"column": 60
},
"identifierName": "event"
},
"name": "event"
}
],
"body": {
"type": "BlockStatement",
"start": 619,
"end": 795,
"loc": {
"start": {
"line": 24,
"column": 65
},
"end": {
"line": 30,
"column": 9
}
},
"body": [
{
"type": "IfStatement",
"start": 633,
"end": 749,
"loc": {
"start": {
"line": 25,
"column": 12
},
"end": {
"line": 28,
"column": 13
}
},
"test": {
"type": "CallExpression",
"start": 637,
"end": 654,
"loc": {
"start": {
"line": 25,
"column": 16
},
"end": {
"line": 25,
"column": 33
}
},
"callee": {
"type": "MemberExpression",
"start": 637,
"end": 652,
"loc": {
"start": {
"line": 25,
"column": 16
},
"end": {
"line": 25,
"column": 31
}
},
"object": {
"type": "ThisExpression",
"start": 637,
"end": 641,
"loc": {
"start": {
"line": 25,
"column": 16
},
"end": {
"line": 25,
"column": 20
}
}
},
"property": {
"type": "Identifier",
"start": 642,
"end": 652,
"loc": {
"start": {
"line": 25,
"column": 21
},
"end": {
"line": 25,
"column": 31
},
"identifierName": "getEnabled"
},
"name": "getEnabled"
},
"computed": false
},
"arguments": []
},
"consequent": {
"type": "BlockStatement",
"start": 656,
"end": 749,
"loc": {
"start": {
"line": 25,
"column": 35
},
"end": {
"line": 28,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 674,
"end": 735,
"loc": {
"start": {
"line": 26,
"column": 16
},
"end": {
"line": 27,
"column": 19
}
},
"expression": {
"type": "CallExpression",
"start": 674,
"end": 734,
"loc": {
"start": {
"line": 26,
"column": 16
},
"end": {
"line": 27,
"column": 18
}
},
"callee": {
"type": "MemberExpression",
"start": 674,
"end": 688,
"loc": {
"start": {
"line": 26,
"column": 16
},
"end": {
"line": 26,
"column": 30
}
},
"object": {
"type": "ThisExpression",
"start": 674,
"end": 678,
"loc": {
"start": {
"line": 26,
"column": 16
},
"end": {
"line": 26,
"column": 20
}
}
},
"property": {
"type": "Identifier",
"start": 679,
"end": 688,
"loc": {
"start": {
"line": 26,
"column": 21
},
"end": {
"line": 26,
"column": 30
},
"identifierName": "setActive"
},
"name": "setActive"
},
"computed": false
},
"arguments": [
{
"type": "UnaryExpression",
"start": 689,
"end": 706,
"loc": {
"start": {
"line": 26,
"column": 31
},
"end": {
"line": 26,
"column": 48
}
},
"operator": "!",
"prefix": true,
"argument": {
"type": "CallExpression",
"start": 690,
"end": 706,
"loc": {
"start": {
"line": 26,
"column": 32
},
"end": {
"line": 26,
"column": 48
}
},
"callee": {
"type": "MemberExpression",
"start": 690,
"end": 704,
"loc": {
"start": {
"line": 26,
"column": 32
},
"end": {
"line": 26,
"column": 46
}
},
"object": {
"type": "ThisExpression",
"start": 690,
"end": 694,
"loc": {
"start": {
"line": 26,
"column": 32
},
"end": {
"line": 26,
"column": 36
}
}
},
"property": {
"type": "Identifier",
"start": 695,
"end": 704,
"loc": {
"start": {
"line": 26,
"column": 37
},
"end": {
"line": 26,
"column": 46
},
"identifierName": "getActive"
},
"name": "getActive"
},
"computed": false
},
"arguments": []
},
"extra": {
"parenthesizedArgument": false
}
},
{
"type": "ArrowFunctionExpression",
"start": 708,
"end": 733,
"loc": {
"start": {
"line": 26,
"column": 50
},
"end": {
"line": 27,
"column": 17
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 714,
"end": 733,
"loc": {
"start": {
"line": 26,
"column": 56
},
"end": {
"line": 27,
"column": 17
}
},
"body": [],
"directives": []
}
}
]
}
}
],
"directives": []
},
"alternate": null
},
{
"type": "ExpressionStatement",
"start": 762,
"end": 785,
"loc": {
"start": {
"line": 29,
"column": 12
},
"end": {
"line": 29,
"column": 35
}
},
"expression": {
"type": "CallExpression",
"start": 762,
"end": 784,
"loc": {
"start": {
"line": 29,
"column": 12
},
"end": {
"line": 29,
"column": 34
}
},
"callee": {
"type": "MemberExpression",
"start": 762,
"end": 782,
"loc": {
"start": {
"line": 29,
"column": 12
},
"end": {
"line": 29,
"column": 32
}
},
"object": {
"type": "Identifier",
"start": 762,
"end": 767,
"loc": {
"start": {
"line": 29,
"column": 12
},
"end": {
"line": 29,
"column": 17
},
"identifierName": "event"
},
"name": "event"
},
"property": {
"type": "Identifier",
"start": 768,
"end": 782,
"loc": {
"start": {
"line": 29,
"column": 18
},
"end": {
"line": 29,
"column": 32
},
"identifierName": "preventDefault"
},
"name": "preventDefault"
},
"computed": false
},
"arguments": []
}
}
],
"directives": []
}
}
]
}
},
{
"type": "ExpressionStatement",
"start": 807,
"end": 888,
"loc": {
"start": {
"line": 32,
"column": 8
},
"end": {
"line": 34,
"column": 11
}
},
"expression": {
"type": "CallExpression",
"start": 807,
"end": 887,
"loc": {
"start": {
"line": 32,
"column": 8
},
"end": {
"line": 34,
"column": 10
}
},
"callee": {
"type": "MemberExpression",
"start": 807,
"end": 824,
"loc": {
"start": {
"line": 32,
"column": 8
},
"end": {
"line": 32,
"column": 25
}
},
"object": {
"type": "MemberExpression",
"start": 807,
"end": 821,
"loc": {
"start": {
"line": 32,
"column": 8
},
"end": {
"line": 32,
"column": 22
}
},
"object": {
"type": "ThisExpression",
"start": 807,
"end": 811,
"loc": {
"start": {
"line": 32,
"column": 8
},
"end": {
"line": 32,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 812,
"end": 821,
"loc": {
"start": {
"line": 32,
"column": 13
},
"end": {
"line": 32,
"column": 22
},
"identifierName": "bimViewer"
},
"name": "bimViewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 822,
"end": 824,
"loc": {
"start": {
"line": 32,
"column": 23
},
"end": {
"line": 32,
"column": 25
},
"identifierName": "on"
},
"name": "on"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 825,
"end": 832,
"loc": {
"start": {
"line": 32,
"column": 26
},
"end": {
"line": 32,
"column": 33
}
},
"extra": {
"rawValue": "reset",
"raw": "\"reset\""
},
"value": "reset"
},
{
"type": "ArrowFunctionExpression",
"start": 834,
"end": 886,
"loc": {
"start": {
"line": 32,
"column": 35
},
"end": {
"line": 34,
"column": 9
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 840,
"end": 886,
"loc": {
"start": {
"line": 32,
"column": 41
},
"end": {
"line": 34,
"column": 9
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 854,
"end": 876,
"loc": {
"start": {
"line": 33,
"column": 12
},
"end": {
"line": 33,
"column": 34
}
},
"expression": {
"type": "CallExpression",
"start": 854,
"end": 875,
"loc": {
"start": {
"line": 33,
"column": 12
},
"end": {
"line": 33,
"column": 33
}
},
"callee": {
"type": "MemberExpression",
"start": 854,
"end": 868,
"loc": {
"start": {
"line": 33,
"column": 12
},
"end": {
"line": 33,
"column": 26
}
},
"object": {
"type": "ThisExpression",
"start": 854,
"end": 858,
"loc": {
"start": {
"line": 33,
"column": 12
},
"end": {
"line": 33,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 859,
"end": 868,
"loc": {
"start": {
"line": 33,
"column": 17
},
"end": {
"line": 33,
"column": 26
},
"identifierName": "setActive"
},
"name": "setActive"
},
"computed": false
},
"arguments": [
{
"type": "BooleanLiteral",
"start": 869,
"end": 874,
"loc": {
"start": {
"line": 33,
"column": 27
},
"end": {
"line": 33,
"column": 32
}
},
"value": false
}
]
}
}
],
"directives": []
}
}
]
}
},
{
"type": "ExpressionStatement",
"start": 898,
"end": 1254,
"loc": {
"start": {
"line": 36,
"column": 8
},
"end": {
"line": 44,
"column": 11
}
},
"expression": {
"type": "CallExpression",
"start": 898,
"end": 1253,
"loc": {
"start": {
"line": 36,
"column": 8
},
"end": {
"line": 44,
"column": 10
}
},
"callee": {
"type": "MemberExpression",
"start": 898,
"end": 919,
"loc": {
"start": {
"line": 36,
"column": 8
},
"end": {
"line": 36,
"column": 29
}
},
"object": {
"type": "MemberExpression",
"start": 898,
"end": 916,
"loc": {
"start": {
"line": 36,
"column": 8
},
"end": {
"line": 36,
"column": 26
}
},
"object": {
"type": "MemberExpression",
"start": 898,
"end": 909,
"loc": {
"start": {
"line": 36,
"column": 8
},
"end": {
"line": 36,
"column": 19
}
},
"object": {
"type": "ThisExpression",
"start": 898,
"end": 902,
"loc": {
"start": {
"line": 36,
"column": 8
},
"end": {
"line": 36,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 903,
"end": 909,
"loc": {
"start": {
"line": 36,
"column": 13
},
"end": {
"line": 36,
"column": 19
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 910,
"end": 916,
"loc": {
"start": {
"line": 36,
"column": 20
},
"end": {
"line": 36,
"column": 26
},
"identifierName": "camera"
},
"name": "camera"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 917,
"end": 919,
"loc": {
"start": {
"line": 36,
"column": 27
},
"end": {
"line": 36,
"column": 29
},
"identifierName": "on"
},
"name": "on"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 920,
"end": 932,
"loc": {
"start": {
"line": 36,
"column": 30
},
"end": {
"line": 36,
"column": 42
}
},
"extra": {
"rawValue": "projection",
"raw": "\"projection\""
},
"value": "projection"
},
{
"type": "ArrowFunctionExpression",
"start": 934,
"end": 1252,
"loc": {
"start": {
"line": 36,
"column": 44
},
"end": {
"line": 44,
"column": 9
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 940,
"end": 1252,
"loc": {
"start": {
"line": 36,
"column": 50
},
"end": {
"line": 44,
"column": 9
}
},
"body": [
{
"type": "VariableDeclaration",
"start": 954,
"end": 1014,
"loc": {
"start": {
"line": 37,
"column": 12
},
"end": {
"line": 37,
"column": 72
}
},
"declarations": [
{
"type": "VariableDeclarator",
"start": 960,
"end": 1013,
"loc": {
"start": {
"line": 37,
"column": 18
},
"end": {
"line": 37,
"column": 71
}
},
"id": {
"type": "Identifier",
"start": 960,
"end": 967,
"loc": {
"start": {
"line": 37,
"column": 18
},
"end": {
"line": 37,
"column": 25
},
"identifierName": "isOrtho"
},
"name": "isOrtho"
},
"init": {
"type": "BinaryExpression",
"start": 971,
"end": 1012,
"loc": {
"start": {
"line": 37,
"column": 29
},
"end": {
"line": 37,
"column": 70
}
},
"left": {
"type": "MemberExpression",
"start": 971,
"end": 1000,
"loc": {
"start": {
"line": 37,
"column": 29
},
"end": {
"line": 37,
"column": 58
}
},
"object": {
"type": "MemberExpression",
"start": 971,
"end": 989,
"loc": {
"start": {
"line": 37,
"column": 29
},
"end": {
"line": 37,
"column": 47
}
},
"object": {
"type": "MemberExpression",
"start": 971,
"end": 982,
"loc": {
"start": {
"line": 37,
"column": 29
},
"end": {
"line": 37,
"column": 40
}
},
"object": {
"type": "ThisExpression",
"start": 971,
"end": 975,
"loc": {
"start": {
"line": 37,
"column": 29
},
"end": {
"line": 37,
"column": 33
}
}
},
"property": {
"type": "Identifier",
"start": 976,
"end": 982,
"loc": {
"start": {
"line": 37,
"column": 34
},
"end": {
"line": 37,
"column": 40
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 983,
"end": 989,
"loc": {
"start": {
"line": 37,
"column": 41
},
"end": {
"line": 37,
"column": 47
},
"identifierName": "camera"
},
"name": "camera"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 990,
"end": 1000,
"loc": {
"start": {
"line": 37,
"column": 48
},
"end": {
"line": 37,
"column": 58
},
"identifierName": "projection"
},
"name": "projection"
},
"computed": false
},
"operator": "===",
"right": {
"type": "StringLiteral",
"start": 1005,
"end": 1012,
"loc": {
"start": {
"line": 37,
"column": 63
},
"end": {
"line": 37,
"column": 70
}
},
"extra": {
"rawValue": "ortho",
"raw": "\"ortho\""
},
"value": "ortho"
},
"extra": {
"parenthesized": true,
"parenStart": 970
}
}
}
],
"kind": "const"
},
{
"type": "ExpressionStatement",
"start": 1027,
"end": 1050,
"loc": {
"start": {
"line": 38,
"column": 12
},
"end": {
"line": 38,
"column": 35
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1027,
"end": 1049,
"loc": {
"start": {
"line": 38,
"column": 12
},
"end": {
"line": 38,
"column": 34
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 1027,
"end": 1039,
"loc": {
"start": {
"line": 38,
"column": 12
},
"end": {
"line": 38,
"column": 24
}
},
"object": {
"type": "ThisExpression",
"start": 1027,
"end": 1031,
"loc": {
"start": {
"line": 38,
"column": 12
},
"end": {
"line": 38,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 1032,
"end": 1039,
"loc": {
"start": {
"line": 38,
"column": 17
},
"end": {
"line": 38,
"column": 24
},
"identifierName": "_active"
},
"name": "_active"
},
"computed": false
},
"right": {
"type": "Identifier",
"start": 1042,
"end": 1049,
"loc": {
"start": {
"line": 38,
"column": 27
},
"end": {
"line": 38,
"column": 34
},
"identifierName": "isOrtho"
},
"name": "isOrtho"
}
}
},
{
"type": "IfStatement",
"start": 1063,
"end": 1242,
"loc": {
"start": {
"line": 39,
"column": 12
},
"end": {
"line": 43,
"column": 13
}
},
"test": {
"type": "MemberExpression",
"start": 1067,
"end": 1079,
"loc": {
"start": {
"line": 39,
"column": 16
},
"end": {
"line": 39,
"column": 28
}
},
"object": {
"type": "ThisExpression",
"start": 1067,
"end": 1071,
"loc": {
"start": {
"line": 39,
"column": 16
},
"end": {
"line": 39,
"column": 20
}
}
},
"property": {
"type": "Identifier",
"start": 1072,
"end": 1079,
"loc": {
"start": {
"line": 39,
"column": 21
},
"end": {
"line": 39,
"column": 28
},
"identifierName": "_active"
},
"name": "_active"
},
"computed": false
},
"consequent": {
"type": "BlockStatement",
"start": 1081,
"end": 1157,
"loc": {
"start": {
"line": 39,
"column": 30
},
"end": {
"line": 41,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 1099,
"end": 1143,
"loc": {
"start": {
"line": 40,
"column": 16
},
"end": {
"line": 40,
"column": 60
}
},
"expression": {
"type": "CallExpression",
"start": 1099,
"end": 1142,
"loc": {
"start": {
"line": 40,
"column": 16
},
"end": {
"line": 40,
"column": 59
}
},
"callee": {
"type": "MemberExpression",
"start": 1099,
"end": 1132,
"loc": {
"start": {
"line": 40,
"column": 16
},
"end": {
"line": 40,
"column": 49
}
},
"object": {
"type": "MemberExpression",
"start": 1099,
"end": 1128,
"loc": {
"start": {
"line": 40,
"column": 16
},
"end": {
"line": 40,
"column": 45
}
},
"object": {
"type": "MemberExpression",
"start": 1099,
"end": 1118,
"loc": {
"start": {
"line": 40,
"column": 16
},
"end": {
"line": 40,
"column": 35
}
},
"object": {
"type": "ThisExpression",
"start": 1099,
"end": 1103,
"loc": {
"start": {
"line": 40,
"column": 16
},
"end": {
"line": 40,
"column": 20
}
}
},
"property": {
"type": "Identifier",
"start": 1104,
"end": 1118,
"loc": {
"start": {
"line": 40,
"column": 21
},
"end": {
"line": 40,
"column": 35
},
"identifierName": "_buttonElement"
},
"name": "_buttonElement"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1119,
"end": 1128,
"loc": {
"start": {
"line": 40,
"column": 36
},
"end": {
"line": 40,
"column": 45
},
"identifierName": "classList"
},
"name": "classList"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1129,
"end": 1132,
"loc": {
"start": {
"line": 40,
"column": 46
},
"end": {
"line": 40,
"column": 49
},
"identifierName": "add"
},
"name": "add"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 1133,
"end": 1141,
"loc": {
"start": {
"line": 40,
"column": 50
},
"end": {
"line": 40,
"column": 58
}
},
"extra": {
"rawValue": "active",
"raw": "\"active\""
},
"value": "active"
}
]
}
}
],
"directives": []
},
"alternate": {
"type": "BlockStatement",
"start": 1163,
"end": 1242,
"loc": {
"start": {
"line": 41,
"column": 19
},
"end": {
"line": 43,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 1181,
"end": 1228,
"loc": {
"start": {
"line": 42,
"column": 16
},
"end": {
"line": 42,
"column": 63
}
},
"expression": {
"type": "CallExpression",
"start": 1181,
"end": 1227,
"loc": {
"start": {
"line": 42,
"column": 16
},
"end": {
"line": 42,
"column": 62
}
},
"callee": {
"type": "MemberExpression",
"start": 1181,
"end": 1217,
"loc": {
"start": {
"line": 42,
"column": 16
},
"end": {
"line": 42,
"column": 52
}
},
"object": {
"type": "MemberExpression",
"start": 1181,
"end": 1210,
"loc": {
"start": {
"line": 42,
"column": 16
},
"end": {
"line": 42,
"column": 45
}
},
"object": {
"type": "MemberExpression",
"start": 1181,
"end": 1200,
"loc": {
"start": {
"line": 42,
"column": 16
},
"end": {
"line": 42,
"column": 35
}
},
"object": {
"type": "ThisExpression",
"start": 1181,
"end": 1185,
"loc": {
"start": {
"line": 42,
"column": 16
},
"end": {
"line": 42,
"column": 20
}
}
},
"property": {
"type": "Identifier",
"start": 1186,
"end": 1200,
"loc": {
"start": {
"line": 42,
"column": 21
},
"end": {
"line": 42,
"column": 35
},
"identifierName": "_buttonElement"
},
"name": "_buttonElement"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1201,
"end": 1210,
"loc": {
"start": {
"line": 42,
"column": 36
},
"end": {
"line": 42,
"column": 45
},
"identifierName": "classList"
},
"name": "classList"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1211,
"end": 1217,
"loc": {
"start": {
"line": 42,
"column": 46
},
"end": {
"line": 42,
"column": 52
},
"identifierName": "remove"
},
"name": "remove"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 1218,
"end": 1226,
"loc": {
"start": {
"line": 42,
"column": 53
},
"end": {
"line": 42,
"column": 61
}
},
"extra": {
"rawValue": "active",
"raw": "\"active\""
},
"value": "active"
}
]
}
}
],
"directives": []
}
}
],
"directives": []
}
}
]
}
},
{
"type": "ExpressionStatement",
"start": 1264,
"end": 1285,
"loc": {
"start": {
"line": 46,
"column": 8
},
"end": {
"line": 46,
"column": 29
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1264,
"end": 1284,
"loc": {
"start": {
"line": 46,
"column": 8
},
"end": {
"line": 46,
"column": 28
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 1264,
"end": 1276,
"loc": {
"start": {
"line": 46,
"column": 8
},
"end": {
"line": 46,
"column": 20
}
},
"object": {
"type": "ThisExpression",
"start": 1264,
"end": 1268,
"loc": {
"start": {
"line": 46,
"column": 8
},
"end": {
"line": 46,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 1269,
"end": 1276,
"loc": {
"start": {
"line": 46,
"column": 13
},
"end": {
"line": 46,
"column": 20
},
"identifierName": "_active"
},
"name": "_active"
},
"computed": false
},
"right": {
"type": "BooleanLiteral",
"start": 1279,
"end": 1284,
"loc": {
"start": {
"line": 46,
"column": 23
},
"end": {
"line": 46,
"column": 28
}
},
"value": false
}
}
},
{
"type": "ExpressionStatement",
"start": 1294,
"end": 1341,
"loc": {
"start": {
"line": 47,
"column": 8
},
"end": {
"line": 47,
"column": 55
}
},
"expression": {
"type": "CallExpression",
"start": 1294,
"end": 1340,
"loc": {
"start": {
"line": 47,
"column": 8
},
"end": {
"line": 47,
"column": 54
}
},
"callee": {
"type": "MemberExpression",
"start": 1294,
"end": 1330,
"loc": {
"start": {
"line": 47,
"column": 8
},
"end": {
"line": 47,
"column": 44
}
},
"object": {
"type": "MemberExpression",
"start": 1294,
"end": 1323,
"loc": {
"start": {
"line": 47,
"column": 8
},
"end": {
"line": 47,
"column": 37
}
},
"object": {
"type": "MemberExpression",
"start": 1294,
"end": 1313,
"loc": {
"start": {
"line": 47,
"column": 8
},
"end": {
"line": 47,
"column": 27
}
},
"object": {
"type": "ThisExpression",
"start": 1294,
"end": 1298,
"loc": {
"start": {
"line": 47,
"column": 8
},
"end": {
"line": 47,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 1299,
"end": 1313,
"loc": {
"start": {
"line": 47,
"column": 13
},
"end": {
"line": 47,
"column": 27
},
"identifierName": "_buttonElement"
},
"name": "_buttonElement"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1314,
"end": 1323,
"loc": {
"start": {
"line": 47,
"column": 28
},
"end": {
"line": 47,
"column": 37
},
"identifierName": "classList"
},
"name": "classList"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1324,
"end": 1330,
"loc": {
"start": {
"line": 47,
"column": 38
},
"end": {
"line": 47,
"column": 44
},
"identifierName": "remove"
},
"name": "remove"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 1331,
"end": 1339,
"loc": {
"start": {
"line": 47,
"column": 45
},
"end": {
"line": 47,
"column": 53
}
},
"extra": {
"rawValue": "active",
"raw": "\"active\""
},
"value": "active"
}
]
}
}
],
"directives": []
}
},
{
"type": "ClassMethod",
"start": 1353,
"end": 2306,
"loc": {
"start": {
"line": 50,
"column": 4
},
"end": {
"line": 81,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 1353,
"end": 1362,
"loc": {
"start": {
"line": 50,
"column": 4
},
"end": {
"line": 50,
"column": 13
},
"identifierName": "setActive"
},
"name": "setActive"
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 1363,
"end": 1369,
"loc": {
"start": {
"line": 50,
"column": 14
},
"end": {
"line": 50,
"column": 20
},
"identifierName": "active"
},
"name": "active"
},
{
"type": "Identifier",
"start": 1371,
"end": 1375,
"loc": {
"start": {
"line": 50,
"column": 22
},
"end": {
"line": 50,
"column": 26
},
"identifierName": "done"
},
"name": "done"
}
],
"body": {
"type": "BlockStatement",
"start": 1377,
"end": 2306,
"loc": {
"start": {
"line": 50,
"column": 28
},
"end": {
"line": 81,
"column": 5
}
},
"body": [
{
"type": "IfStatement",
"start": 1387,
"end": 1509,
"loc": {
"start": {
"line": 51,
"column": 8
},
"end": {
"line": 56,
"column": 9
}
},
"test": {
"type": "BinaryExpression",
"start": 1391,
"end": 1414,
"loc": {
"start": {
"line": 51,
"column": 12
},
"end": {
"line": 51,
"column": 35
}
},
"left": {
"type": "MemberExpression",
"start": 1391,
"end": 1403,
"loc": {
"start": {
"line": 51,
"column": 12
},
"end": {
"line": 51,
"column": 24
}
},
"object": {
"type": "ThisExpression",
"start": 1391,
"end": 1395,
"loc": {
"start": {
"line": 51,
"column": 12
},
"end": {
"line": 51,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 1396,
"end": 1403,
"loc": {
"start": {
"line": 51,
"column": 17
},
"end": {
"line": 51,
"column": 24
},
"identifierName": "_active"
},
"name": "_active"
},
"computed": false
},
"operator": "===",
"right": {
"type": "Identifier",
"start": 1408,
"end": 1414,
"loc": {
"start": {
"line": 51,
"column": 29
},
"end": {
"line": 51,
"column": 35
},
"identifierName": "active"
},
"name": "active"
}
},
"consequent": {
"type": "BlockStatement",
"start": 1416,
"end": 1509,
"loc": {
"start": {
"line": 51,
"column": 37
},
"end": {
"line": 56,
"column": 9
}
},
"body": [
{
"type": "IfStatement",
"start": 1430,
"end": 1479,
"loc": {
"start": {
"line": 52,
"column": 12
},
"end": {
"line": 54,
"column": 13
}
},
"test": {
"type": "Identifier",
"start": 1434,
"end": 1438,
"loc": {
"start": {
"line": 52,
"column": 16
},
"end": {
"line": 52,
"column": 20
},
"identifierName": "done"
},
"name": "done"
},
"consequent": {
"type": "BlockStatement",
"start": 1440,
"end": 1479,
"loc": {
"start": {
"line": 52,
"column": 22
},
"end": {
"line": 54,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 1458,
"end": 1465,
"loc": {
"start": {
"line": 53,
"column": 16
},
"end": {
"line": 53,
"column": 23
}
},
"expression": {
"type": "CallExpression",
"start": 1458,
"end": 1464,
"loc": {
"start": {
"line": 53,
"column": 16
},
"end": {
"line": 53,
"column": 22
}
},
"callee": {
"type": "Identifier",
"start": 1458,
"end": 1462,
"loc": {
"start": {
"line": 53,
"column": 16
},
"end": {
"line": 53,
"column": 20
},
"identifierName": "done"
},
"name": "done"
},
"arguments": []
}
}
],
"directives": []
},
"alternate": null
},
{
"type": "ReturnStatement",
"start": 1492,
"end": 1499,
"loc": {
"start": {
"line": 55,
"column": 12
},
"end": {
"line": 55,
"column": 19
}
},
"argument": null
}
],
"directives": []
},
"alternate": null
},
{
"type": "ExpressionStatement",
"start": 1518,
"end": 1540,
"loc": {
"start": {
"line": 57,
"column": 8
},
"end": {
"line": 57,
"column": 30
}
},
"expression": {
"type": "AssignmentExpression",
"start": 1518,
"end": 1539,
"loc": {
"start": {
"line": 57,
"column": 8
},
"end": {
"line": 57,
"column": 29
}
},
"operator": "=",
"left": {
"type": "MemberExpression",
"start": 1518,
"end": 1530,
"loc": {
"start": {
"line": 57,
"column": 8
},
"end": {
"line": 57,
"column": 20
}
},
"object": {
"type": "ThisExpression",
"start": 1518,
"end": 1522,
"loc": {
"start": {
"line": 57,
"column": 8
},
"end": {
"line": 57,
"column": 12
}
}
},
"property": {
"type": "Identifier",
"start": 1523,
"end": 1530,
"loc": {
"start": {
"line": 57,
"column": 13
},
"end": {
"line": 57,
"column": 20
},
"identifierName": "_active"
},
"name": "_active"
},
"computed": false
},
"right": {
"type": "Identifier",
"start": 1533,
"end": 1539,
"loc": {
"start": {
"line": 57,
"column": 23
},
"end": {
"line": 57,
"column": 29
},
"identifierName": "active"
},
"name": "active"
}
}
},
{
"type": "IfStatement",
"start": 1549,
"end": 2300,
"loc": {
"start": {
"line": 58,
"column": 8
},
"end": {
"line": 80,
"column": 9
}
},
"test": {
"type": "Identifier",
"start": 1553,
"end": 1559,
"loc": {
"start": {
"line": 58,
"column": 12
},
"end": {
"line": 58,
"column": 18
},
"identifierName": "active"
},
"name": "active"
},
"consequent": {
"type": "BlockStatement",
"start": 1561,
"end": 1927,
"loc": {
"start": {
"line": 58,
"column": 20
},
"end": {
"line": 69,
"column": 9
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 1575,
"end": 1619,
"loc": {
"start": {
"line": 59,
"column": 12
},
"end": {
"line": 59,
"column": 56
}
},
"expression": {
"type": "CallExpression",
"start": 1575,
"end": 1618,
"loc": {
"start": {
"line": 59,
"column": 12
},
"end": {
"line": 59,
"column": 55
}
},
"callee": {
"type": "MemberExpression",
"start": 1575,
"end": 1608,
"loc": {
"start": {
"line": 59,
"column": 12
},
"end": {
"line": 59,
"column": 45
}
},
"object": {
"type": "MemberExpression",
"start": 1575,
"end": 1604,
"loc": {
"start": {
"line": 59,
"column": 12
},
"end": {
"line": 59,
"column": 41
}
},
"object": {
"type": "MemberExpression",
"start": 1575,
"end": 1594,
"loc": {
"start": {
"line": 59,
"column": 12
},
"end": {
"line": 59,
"column": 31
}
},
"object": {
"type": "ThisExpression",
"start": 1575,
"end": 1579,
"loc": {
"start": {
"line": 59,
"column": 12
},
"end": {
"line": 59,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 1580,
"end": 1594,
"loc": {
"start": {
"line": 59,
"column": 17
},
"end": {
"line": 59,
"column": 31
},
"identifierName": "_buttonElement"
},
"name": "_buttonElement"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1595,
"end": 1604,
"loc": {
"start": {
"line": 59,
"column": 32
},
"end": {
"line": 59,
"column": 41
},
"identifierName": "classList"
},
"name": "classList"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1605,
"end": 1608,
"loc": {
"start": {
"line": 59,
"column": 42
},
"end": {
"line": 59,
"column": 45
},
"identifierName": "add"
},
"name": "add"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 1609,
"end": 1617,
"loc": {
"start": {
"line": 59,
"column": 46
},
"end": {
"line": 59,
"column": 54
}
},
"extra": {
"rawValue": "active",
"raw": "\"active\""
},
"value": "active"
}
]
}
},
{
"type": "IfStatement",
"start": 1632,
"end": 1917,
"loc": {
"start": {
"line": 60,
"column": 12
},
"end": {
"line": 68,
"column": 13
}
},
"test": {
"type": "Identifier",
"start": 1636,
"end": 1640,
"loc": {
"start": {
"line": 60,
"column": 16
},
"end": {
"line": 60,
"column": 20
},
"identifierName": "done"
},
"name": "done"
},
"consequent": {
"type": "BlockStatement",
"start": 1642,
"end": 1805,
"loc": {
"start": {
"line": 60,
"column": 22
},
"end": {
"line": 65,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 1660,
"end": 1791,
"loc": {
"start": {
"line": 61,
"column": 16
},
"end": {
"line": 64,
"column": 19
}
},
"expression": {
"type": "CallExpression",
"start": 1660,
"end": 1790,
"loc": {
"start": {
"line": 61,
"column": 16
},
"end": {
"line": 64,
"column": 18
}
},
"callee": {
"type": "MemberExpression",
"start": 1660,
"end": 1680,
"loc": {
"start": {
"line": 61,
"column": 16
},
"end": {
"line": 61,
"column": 36
}
},
"object": {
"type": "ThisExpression",
"start": 1660,
"end": 1664,
"loc": {
"start": {
"line": 61,
"column": 16
},
"end": {
"line": 61,
"column": 20
}
}
},
"property": {
"type": "Identifier",
"start": 1665,
"end": 1680,
"loc": {
"start": {
"line": 61,
"column": 21
},
"end": {
"line": 61,
"column": 36
},
"identifierName": "_enterOrthoMode"
},
"name": "_enterOrthoMode"
},
"computed": false
},
"arguments": [
{
"type": "ArrowFunctionExpression",
"start": 1681,
"end": 1789,
"loc": {
"start": {
"line": 61,
"column": 37
},
"end": {
"line": 64,
"column": 17
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 1687,
"end": 1789,
"loc": {
"start": {
"line": 61,
"column": 43
},
"end": {
"line": 64,
"column": 17
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 1709,
"end": 1743,
"loc": {
"start": {
"line": 62,
"column": 20
},
"end": {
"line": 62,
"column": 54
}
},
"expression": {
"type": "CallExpression",
"start": 1709,
"end": 1742,
"loc": {
"start": {
"line": 62,
"column": 20
},
"end": {
"line": 62,
"column": 53
}
},
"callee": {
"type": "MemberExpression",
"start": 1709,
"end": 1718,
"loc": {
"start": {
"line": 62,
"column": 20
},
"end": {
"line": 62,
"column": 29
}
},
"object": {
"type": "ThisExpression",
"start": 1709,
"end": 1713,
"loc": {
"start": {
"line": 62,
"column": 20
},
"end": {
"line": 62,
"column": 24
}
}
},
"property": {
"type": "Identifier",
"start": 1714,
"end": 1718,
"loc": {
"start": {
"line": 62,
"column": 25
},
"end": {
"line": 62,
"column": 29
},
"identifierName": "fire"
},
"name": "fire"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 1719,
"end": 1727,
"loc": {
"start": {
"line": 62,
"column": 30
},
"end": {
"line": 62,
"column": 38
}
},
"extra": {
"rawValue": "active",
"raw": "\"active\""
},
"value": "active"
},
{
"type": "MemberExpression",
"start": 1729,
"end": 1741,
"loc": {
"start": {
"line": 62,
"column": 40
},
"end": {
"line": 62,
"column": 52
}
},
"object": {
"type": "ThisExpression",
"start": 1729,
"end": 1733,
"loc": {
"start": {
"line": 62,
"column": 40
},
"end": {
"line": 62,
"column": 44
}
}
},
"property": {
"type": "Identifier",
"start": 1734,
"end": 1741,
"loc": {
"start": {
"line": 62,
"column": 45
},
"end": {
"line": 62,
"column": 52
},
"identifierName": "_active"
},
"name": "_active"
},
"computed": false
}
]
}
},
{
"type": "ExpressionStatement",
"start": 1764,
"end": 1771,
"loc": {
"start": {
"line": 63,
"column": 20
},
"end": {
"line": 63,
"column": 27
}
},
"expression": {
"type": "CallExpression",
"start": 1764,
"end": 1770,
"loc": {
"start": {
"line": 63,
"column": 20
},
"end": {
"line": 63,
"column": 26
}
},
"callee": {
"type": "Identifier",
"start": 1764,
"end": 1768,
"loc": {
"start": {
"line": 63,
"column": 20
},
"end": {
"line": 63,
"column": 24
},
"identifierName": "done"
},
"name": "done"
},
"arguments": []
}
}
],
"directives": []
}
}
]
}
}
],
"directives": []
},
"alternate": {
"type": "BlockStatement",
"start": 1811,
"end": 1917,
"loc": {
"start": {
"line": 65,
"column": 19
},
"end": {
"line": 68,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 1829,
"end": 1852,
"loc": {
"start": {
"line": 66,
"column": 16
},
"end": {
"line": 66,
"column": 39
}
},
"expression": {
"type": "CallExpression",
"start": 1829,
"end": 1851,
"loc": {
"start": {
"line": 66,
"column": 16
},
"end": {
"line": 66,
"column": 38
}
},
"callee": {
"type": "MemberExpression",
"start": 1829,
"end": 1849,
"loc": {
"start": {
"line": 66,
"column": 16
},
"end": {
"line": 66,
"column": 36
}
},
"object": {
"type": "ThisExpression",
"start": 1829,
"end": 1833,
"loc": {
"start": {
"line": 66,
"column": 16
},
"end": {
"line": 66,
"column": 20
}
}
},
"property": {
"type": "Identifier",
"start": 1834,
"end": 1849,
"loc": {
"start": {
"line": 66,
"column": 21
},
"end": {
"line": 66,
"column": 36
},
"identifierName": "_enterOrthoMode"
},
"name": "_enterOrthoMode"
},
"computed": false
},
"arguments": []
}
},
{
"type": "ExpressionStatement",
"start": 1869,
"end": 1903,
"loc": {
"start": {
"line": 67,
"column": 16
},
"end": {
"line": 67,
"column": 50
}
},
"expression": {
"type": "CallExpression",
"start": 1869,
"end": 1902,
"loc": {
"start": {
"line": 67,
"column": 16
},
"end": {
"line": 67,
"column": 49
}
},
"callee": {
"type": "MemberExpression",
"start": 1869,
"end": 1878,
"loc": {
"start": {
"line": 67,
"column": 16
},
"end": {
"line": 67,
"column": 25
}
},
"object": {
"type": "ThisExpression",
"start": 1869,
"end": 1873,
"loc": {
"start": {
"line": 67,
"column": 16
},
"end": {
"line": 67,
"column": 20
}
}
},
"property": {
"type": "Identifier",
"start": 1874,
"end": 1878,
"loc": {
"start": {
"line": 67,
"column": 21
},
"end": {
"line": 67,
"column": 25
},
"identifierName": "fire"
},
"name": "fire"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 1879,
"end": 1887,
"loc": {
"start": {
"line": 67,
"column": 26
},
"end": {
"line": 67,
"column": 34
}
},
"extra": {
"rawValue": "active",
"raw": "\"active\""
},
"value": "active"
},
{
"type": "MemberExpression",
"start": 1889,
"end": 1901,
"loc": {
"start": {
"line": 67,
"column": 36
},
"end": {
"line": 67,
"column": 48
}
},
"object": {
"type": "ThisExpression",
"start": 1889,
"end": 1893,
"loc": {
"start": {
"line": 67,
"column": 36
},
"end": {
"line": 67,
"column": 40
}
}
},
"property": {
"type": "Identifier",
"start": 1894,
"end": 1901,
"loc": {
"start": {
"line": 67,
"column": 41
},
"end": {
"line": 67,
"column": 48
},
"identifierName": "_active"
},
"name": "_active"
},
"computed": false
}
]
}
}
],
"directives": []
}
}
],
"directives": []
},
"alternate": {
"type": "BlockStatement",
"start": 1933,
"end": 2300,
"loc": {
"start": {
"line": 69,
"column": 15
},
"end": {
"line": 80,
"column": 9
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 1947,
"end": 1994,
"loc": {
"start": {
"line": 70,
"column": 12
},
"end": {
"line": 70,
"column": 59
}
},
"expression": {
"type": "CallExpression",
"start": 1947,
"end": 1993,
"loc": {
"start": {
"line": 70,
"column": 12
},
"end": {
"line": 70,
"column": 58
}
},
"callee": {
"type": "MemberExpression",
"start": 1947,
"end": 1983,
"loc": {
"start": {
"line": 70,
"column": 12
},
"end": {
"line": 70,
"column": 48
}
},
"object": {
"type": "MemberExpression",
"start": 1947,
"end": 1976,
"loc": {
"start": {
"line": 70,
"column": 12
},
"end": {
"line": 70,
"column": 41
}
},
"object": {
"type": "MemberExpression",
"start": 1947,
"end": 1966,
"loc": {
"start": {
"line": 70,
"column": 12
},
"end": {
"line": 70,
"column": 31
}
},
"object": {
"type": "ThisExpression",
"start": 1947,
"end": 1951,
"loc": {
"start": {
"line": 70,
"column": 12
},
"end": {
"line": 70,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 1952,
"end": 1966,
"loc": {
"start": {
"line": 70,
"column": 17
},
"end": {
"line": 70,
"column": 31
},
"identifierName": "_buttonElement"
},
"name": "_buttonElement"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1967,
"end": 1976,
"loc": {
"start": {
"line": 70,
"column": 32
},
"end": {
"line": 70,
"column": 41
},
"identifierName": "classList"
},
"name": "classList"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 1977,
"end": 1983,
"loc": {
"start": {
"line": 70,
"column": 42
},
"end": {
"line": 70,
"column": 48
},
"identifierName": "remove"
},
"name": "remove"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 1984,
"end": 1992,
"loc": {
"start": {
"line": 70,
"column": 49
},
"end": {
"line": 70,
"column": 57
}
},
"extra": {
"rawValue": "active",
"raw": "\"active\""
},
"value": "active"
}
]
}
},
{
"type": "IfStatement",
"start": 2007,
"end": 2290,
"loc": {
"start": {
"line": 71,
"column": 12
},
"end": {
"line": 79,
"column": 13
}
},
"test": {
"type": "Identifier",
"start": 2011,
"end": 2015,
"loc": {
"start": {
"line": 71,
"column": 16
},
"end": {
"line": 71,
"column": 20
},
"identifierName": "done"
},
"name": "done"
},
"consequent": {
"type": "BlockStatement",
"start": 2017,
"end": 2179,
"loc": {
"start": {
"line": 71,
"column": 22
},
"end": {
"line": 76,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 2035,
"end": 2165,
"loc": {
"start": {
"line": 72,
"column": 16
},
"end": {
"line": 75,
"column": 19
}
},
"expression": {
"type": "CallExpression",
"start": 2035,
"end": 2164,
"loc": {
"start": {
"line": 72,
"column": 16
},
"end": {
"line": 75,
"column": 18
}
},
"callee": {
"type": "MemberExpression",
"start": 2035,
"end": 2054,
"loc": {
"start": {
"line": 72,
"column": 16
},
"end": {
"line": 72,
"column": 35
}
},
"object": {
"type": "ThisExpression",
"start": 2035,
"end": 2039,
"loc": {
"start": {
"line": 72,
"column": 16
},
"end": {
"line": 72,
"column": 20
}
}
},
"property": {
"type": "Identifier",
"start": 2040,
"end": 2054,
"loc": {
"start": {
"line": 72,
"column": 21
},
"end": {
"line": 72,
"column": 35
},
"identifierName": "_exitOrthoMode"
},
"name": "_exitOrthoMode"
},
"computed": false
},
"arguments": [
{
"type": "ArrowFunctionExpression",
"start": 2055,
"end": 2163,
"loc": {
"start": {
"line": 72,
"column": 36
},
"end": {
"line": 75,
"column": 17
}
},
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [],
"body": {
"type": "BlockStatement",
"start": 2061,
"end": 2163,
"loc": {
"start": {
"line": 72,
"column": 42
},
"end": {
"line": 75,
"column": 17
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 2083,
"end": 2117,
"loc": {
"start": {
"line": 73,
"column": 20
},
"end": {
"line": 73,
"column": 54
}
},
"expression": {
"type": "CallExpression",
"start": 2083,
"end": 2116,
"loc": {
"start": {
"line": 73,
"column": 20
},
"end": {
"line": 73,
"column": 53
}
},
"callee": {
"type": "MemberExpression",
"start": 2083,
"end": 2092,
"loc": {
"start": {
"line": 73,
"column": 20
},
"end": {
"line": 73,
"column": 29
}
},
"object": {
"type": "ThisExpression",
"start": 2083,
"end": 2087,
"loc": {
"start": {
"line": 73,
"column": 20
},
"end": {
"line": 73,
"column": 24
}
}
},
"property": {
"type": "Identifier",
"start": 2088,
"end": 2092,
"loc": {
"start": {
"line": 73,
"column": 25
},
"end": {
"line": 73,
"column": 29
},
"identifierName": "fire"
},
"name": "fire"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 2093,
"end": 2101,
"loc": {
"start": {
"line": 73,
"column": 30
},
"end": {
"line": 73,
"column": 38
}
},
"extra": {
"rawValue": "active",
"raw": "\"active\""
},
"value": "active"
},
{
"type": "MemberExpression",
"start": 2103,
"end": 2115,
"loc": {
"start": {
"line": 73,
"column": 40
},
"end": {
"line": 73,
"column": 52
}
},
"object": {
"type": "ThisExpression",
"start": 2103,
"end": 2107,
"loc": {
"start": {
"line": 73,
"column": 40
},
"end": {
"line": 73,
"column": 44
}
}
},
"property": {
"type": "Identifier",
"start": 2108,
"end": 2115,
"loc": {
"start": {
"line": 73,
"column": 45
},
"end": {
"line": 73,
"column": 52
},
"identifierName": "_active"
},
"name": "_active"
},
"computed": false
}
]
}
},
{
"type": "ExpressionStatement",
"start": 2138,
"end": 2145,
"loc": {
"start": {
"line": 74,
"column": 20
},
"end": {
"line": 74,
"column": 27
}
},
"expression": {
"type": "CallExpression",
"start": 2138,
"end": 2144,
"loc": {
"start": {
"line": 74,
"column": 20
},
"end": {
"line": 74,
"column": 26
}
},
"callee": {
"type": "Identifier",
"start": 2138,
"end": 2142,
"loc": {
"start": {
"line": 74,
"column": 20
},
"end": {
"line": 74,
"column": 24
},
"identifierName": "done"
},
"name": "done"
},
"arguments": []
}
}
],
"directives": []
}
}
]
}
}
],
"directives": []
},
"alternate": {
"type": "BlockStatement",
"start": 2185,
"end": 2290,
"loc": {
"start": {
"line": 76,
"column": 19
},
"end": {
"line": 79,
"column": 13
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 2203,
"end": 2225,
"loc": {
"start": {
"line": 77,
"column": 16
},
"end": {
"line": 77,
"column": 38
}
},
"expression": {
"type": "CallExpression",
"start": 2203,
"end": 2224,
"loc": {
"start": {
"line": 77,
"column": 16
},
"end": {
"line": 77,
"column": 37
}
},
"callee": {
"type": "MemberExpression",
"start": 2203,
"end": 2222,
"loc": {
"start": {
"line": 77,
"column": 16
},
"end": {
"line": 77,
"column": 35
}
},
"object": {
"type": "ThisExpression",
"start": 2203,
"end": 2207,
"loc": {
"start": {
"line": 77,
"column": 16
},
"end": {
"line": 77,
"column": 20
}
}
},
"property": {
"type": "Identifier",
"start": 2208,
"end": 2222,
"loc": {
"start": {
"line": 77,
"column": 21
},
"end": {
"line": 77,
"column": 35
},
"identifierName": "_exitOrthoMode"
},
"name": "_exitOrthoMode"
},
"computed": false
},
"arguments": []
}
},
{
"type": "ExpressionStatement",
"start": 2242,
"end": 2276,
"loc": {
"start": {
"line": 78,
"column": 16
},
"end": {
"line": 78,
"column": 50
}
},
"expression": {
"type": "CallExpression",
"start": 2242,
"end": 2275,
"loc": {
"start": {
"line": 78,
"column": 16
},
"end": {
"line": 78,
"column": 49
}
},
"callee": {
"type": "MemberExpression",
"start": 2242,
"end": 2251,
"loc": {
"start": {
"line": 78,
"column": 16
},
"end": {
"line": 78,
"column": 25
}
},
"object": {
"type": "ThisExpression",
"start": 2242,
"end": 2246,
"loc": {
"start": {
"line": 78,
"column": 16
},
"end": {
"line": 78,
"column": 20
}
}
},
"property": {
"type": "Identifier",
"start": 2247,
"end": 2251,
"loc": {
"start": {
"line": 78,
"column": 21
},
"end": {
"line": 78,
"column": 25
},
"identifierName": "fire"
},
"name": "fire"
},
"computed": false
},
"arguments": [
{
"type": "StringLiteral",
"start": 2252,
"end": 2260,
"loc": {
"start": {
"line": 78,
"column": 26
},
"end": {
"line": 78,
"column": 34
}
},
"extra": {
"rawValue": "active",
"raw": "\"active\""
},
"value": "active"
},
{
"type": "MemberExpression",
"start": 2262,
"end": 2274,
"loc": {
"start": {
"line": 78,
"column": 36
},
"end": {
"line": 78,
"column": 48
}
},
"object": {
"type": "ThisExpression",
"start": 2262,
"end": 2266,
"loc": {
"start": {
"line": 78,
"column": 36
},
"end": {
"line": 78,
"column": 40
}
}
},
"property": {
"type": "Identifier",
"start": 2267,
"end": 2274,
"loc": {
"start": {
"line": 78,
"column": 41
},
"end": {
"line": 78,
"column": 48
},
"identifierName": "_active"
},
"name": "_active"
},
"computed": false
}
]
}
}
],
"directives": []
}
}
],
"directives": []
}
}
],
"directives": []
}
},
{
"type": "ClassMethod",
"start": 2312,
"end": 2544,
"loc": {
"start": {
"line": 83,
"column": 4
},
"end": {
"line": 89,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 2312,
"end": 2327,
"loc": {
"start": {
"line": 83,
"column": 4
},
"end": {
"line": 83,
"column": 19
},
"identifierName": "_enterOrthoMode"
},
"name": "_enterOrthoMode"
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 2328,
"end": 2332,
"loc": {
"start": {
"line": 83,
"column": 20
},
"end": {
"line": 83,
"column": 24
},
"identifierName": "done"
},
"name": "done"
}
],
"body": {
"type": "BlockStatement",
"start": 2334,
"end": 2544,
"loc": {
"start": {
"line": 83,
"column": 26
},
"end": {
"line": 89,
"column": 5
}
},
"body": [
{
"type": "IfStatement",
"start": 2344,
"end": 2538,
"loc": {
"start": {
"line": 84,
"column": 8
},
"end": {
"line": 88,
"column": 9
}
},
"test": {
"type": "Identifier",
"start": 2348,
"end": 2352,
"loc": {
"start": {
"line": 84,
"column": 12
},
"end": {
"line": 84,
"column": 16
},
"identifierName": "done"
},
"name": "done"
},
"consequent": {
"type": "BlockStatement",
"start": 2354,
"end": 2453,
"loc": {
"start": {
"line": 84,
"column": 18
},
"end": {
"line": 86,
"column": 9
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 2368,
"end": 2443,
"loc": {
"start": {
"line": 85,
"column": 12
},
"end": {
"line": 85,
"column": 87
}
},
"expression": {
"type": "CallExpression",
"start": 2368,
"end": 2442,
"loc": {
"start": {
"line": 85,
"column": 12
},
"end": {
"line": 85,
"column": 86
}
},
"callee": {
"type": "MemberExpression",
"start": 2368,
"end": 2398,
"loc": {
"start": {
"line": 85,
"column": 12
},
"end": {
"line": 85,
"column": 42
}
},
"object": {
"type": "MemberExpression",
"start": 2368,
"end": 2392,
"loc": {
"start": {
"line": 85,
"column": 12
},
"end": {
"line": 85,
"column": 36
}
},
"object": {
"type": "MemberExpression",
"start": 2368,
"end": 2379,
"loc": {
"start": {
"line": 85,
"column": 12
},
"end": {
"line": 85,
"column": 23
}
},
"object": {
"type": "ThisExpression",
"start": 2368,
"end": 2372,
"loc": {
"start": {
"line": 85,
"column": 12
},
"end": {
"line": 85,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 2373,
"end": 2379,
"loc": {
"start": {
"line": 85,
"column": 17
},
"end": {
"line": 85,
"column": 23
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2380,
"end": 2392,
"loc": {
"start": {
"line": 85,
"column": 24
},
"end": {
"line": 85,
"column": 36
},
"identifierName": "cameraFlight"
},
"name": "cameraFlight"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2393,
"end": 2398,
"loc": {
"start": {
"line": 85,
"column": 37
},
"end": {
"line": 85,
"column": 42
},
"identifierName": "flyTo"
},
"name": "flyTo"
},
"computed": false
},
"arguments": [
{
"type": "ObjectExpression",
"start": 2399,
"end": 2435,
"loc": {
"start": {
"line": 85,
"column": 43
},
"end": {
"line": 85,
"column": 79
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 2400,
"end": 2419,
"loc": {
"start": {
"line": 85,
"column": 44
},
"end": {
"line": 85,
"column": 63
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 2400,
"end": 2410,
"loc": {
"start": {
"line": 85,
"column": 44
},
"end": {
"line": 85,
"column": 54
},
"identifierName": "projection"
},
"name": "projection"
},
"value": {
"type": "StringLiteral",
"start": 2412,
"end": 2419,
"loc": {
"start": {
"line": 85,
"column": 56
},
"end": {
"line": 85,
"column": 63
}
},
"extra": {
"rawValue": "ortho",
"raw": "\"ortho\""
},
"value": "ortho"
}
},
{
"type": "ObjectProperty",
"start": 2421,
"end": 2434,
"loc": {
"start": {
"line": 85,
"column": 65
},
"end": {
"line": 85,
"column": 78
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 2421,
"end": 2429,
"loc": {
"start": {
"line": 85,
"column": 65
},
"end": {
"line": 85,
"column": 73
},
"identifierName": "duration"
},
"name": "duration"
},
"value": {
"type": "NumericLiteral",
"start": 2431,
"end": 2434,
"loc": {
"start": {
"line": 85,
"column": 75
},
"end": {
"line": 85,
"column": 78
}
},
"extra": {
"rawValue": 0.5,
"raw": "0.5"
},
"value": 0.5
}
}
]
},
{
"type": "Identifier",
"start": 2437,
"end": 2441,
"loc": {
"start": {
"line": 85,
"column": 81
},
"end": {
"line": 85,
"column": 85
},
"identifierName": "done"
},
"name": "done"
}
]
}
}
],
"directives": []
},
"alternate": {
"type": "BlockStatement",
"start": 2459,
"end": 2538,
"loc": {
"start": {
"line": 86,
"column": 15
},
"end": {
"line": 88,
"column": 9
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 2473,
"end": 2528,
"loc": {
"start": {
"line": 87,
"column": 12
},
"end": {
"line": 87,
"column": 67
}
},
"expression": {
"type": "CallExpression",
"start": 2473,
"end": 2527,
"loc": {
"start": {
"line": 87,
"column": 12
},
"end": {
"line": 87,
"column": 66
}
},
"callee": {
"type": "MemberExpression",
"start": 2473,
"end": 2504,
"loc": {
"start": {
"line": 87,
"column": 12
},
"end": {
"line": 87,
"column": 43
}
},
"object": {
"type": "MemberExpression",
"start": 2473,
"end": 2497,
"loc": {
"start": {
"line": 87,
"column": 12
},
"end": {
"line": 87,
"column": 36
}
},
"object": {
"type": "MemberExpression",
"start": 2473,
"end": 2484,
"loc": {
"start": {
"line": 87,
"column": 12
},
"end": {
"line": 87,
"column": 23
}
},
"object": {
"type": "ThisExpression",
"start": 2473,
"end": 2477,
"loc": {
"start": {
"line": 87,
"column": 12
},
"end": {
"line": 87,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 2478,
"end": 2484,
"loc": {
"start": {
"line": 87,
"column": 17
},
"end": {
"line": 87,
"column": 23
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2485,
"end": 2497,
"loc": {
"start": {
"line": 87,
"column": 24
},
"end": {
"line": 87,
"column": 36
},
"identifierName": "cameraFlight"
},
"name": "cameraFlight"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2498,
"end": 2504,
"loc": {
"start": {
"line": 87,
"column": 37
},
"end": {
"line": 87,
"column": 43
},
"identifierName": "jumpTo"
},
"name": "jumpTo"
},
"computed": false
},
"arguments": [
{
"type": "ObjectExpression",
"start": 2505,
"end": 2526,
"loc": {
"start": {
"line": 87,
"column": 44
},
"end": {
"line": 87,
"column": 65
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 2506,
"end": 2525,
"loc": {
"start": {
"line": 87,
"column": 45
},
"end": {
"line": 87,
"column": 64
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 2506,
"end": 2516,
"loc": {
"start": {
"line": 87,
"column": 45
},
"end": {
"line": 87,
"column": 55
},
"identifierName": "projection"
},
"name": "projection"
},
"value": {
"type": "StringLiteral",
"start": 2518,
"end": 2525,
"loc": {
"start": {
"line": 87,
"column": 57
},
"end": {
"line": 87,
"column": 64
}
},
"extra": {
"rawValue": "ortho",
"raw": "\"ortho\""
},
"value": "ortho"
}
}
]
}
]
}
}
],
"directives": []
}
}
],
"directives": []
}
},
{
"type": "ClassMethod",
"start": 2550,
"end": 2793,
"loc": {
"start": {
"line": 91,
"column": 4
},
"end": {
"line": 97,
"column": 5
}
},
"static": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 2550,
"end": 2564,
"loc": {
"start": {
"line": 91,
"column": 4
},
"end": {
"line": 91,
"column": 18
},
"identifierName": "_exitOrthoMode"
},
"name": "_exitOrthoMode"
},
"kind": "method",
"id": null,
"generator": false,
"expression": false,
"async": false,
"params": [
{
"type": "Identifier",
"start": 2565,
"end": 2569,
"loc": {
"start": {
"line": 91,
"column": 19
},
"end": {
"line": 91,
"column": 23
},
"identifierName": "done"
},
"name": "done"
}
],
"body": {
"type": "BlockStatement",
"start": 2571,
"end": 2793,
"loc": {
"start": {
"line": 91,
"column": 25
},
"end": {
"line": 97,
"column": 5
}
},
"body": [
{
"type": "IfStatement",
"start": 2581,
"end": 2787,
"loc": {
"start": {
"line": 92,
"column": 8
},
"end": {
"line": 96,
"column": 9
}
},
"test": {
"type": "Identifier",
"start": 2585,
"end": 2589,
"loc": {
"start": {
"line": 92,
"column": 12
},
"end": {
"line": 92,
"column": 16
},
"identifierName": "done"
},
"name": "done"
},
"consequent": {
"type": "BlockStatement",
"start": 2591,
"end": 2696,
"loc": {
"start": {
"line": 92,
"column": 18
},
"end": {
"line": 94,
"column": 9
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 2605,
"end": 2686,
"loc": {
"start": {
"line": 93,
"column": 12
},
"end": {
"line": 93,
"column": 93
}
},
"expression": {
"type": "CallExpression",
"start": 2605,
"end": 2685,
"loc": {
"start": {
"line": 93,
"column": 12
},
"end": {
"line": 93,
"column": 92
}
},
"callee": {
"type": "MemberExpression",
"start": 2605,
"end": 2635,
"loc": {
"start": {
"line": 93,
"column": 12
},
"end": {
"line": 93,
"column": 42
}
},
"object": {
"type": "MemberExpression",
"start": 2605,
"end": 2629,
"loc": {
"start": {
"line": 93,
"column": 12
},
"end": {
"line": 93,
"column": 36
}
},
"object": {
"type": "MemberExpression",
"start": 2605,
"end": 2616,
"loc": {
"start": {
"line": 93,
"column": 12
},
"end": {
"line": 93,
"column": 23
}
},
"object": {
"type": "ThisExpression",
"start": 2605,
"end": 2609,
"loc": {
"start": {
"line": 93,
"column": 12
},
"end": {
"line": 93,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 2610,
"end": 2616,
"loc": {
"start": {
"line": 93,
"column": 17
},
"end": {
"line": 93,
"column": 23
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2617,
"end": 2629,
"loc": {
"start": {
"line": 93,
"column": 24
},
"end": {
"line": 93,
"column": 36
},
"identifierName": "cameraFlight"
},
"name": "cameraFlight"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2630,
"end": 2635,
"loc": {
"start": {
"line": 93,
"column": 37
},
"end": {
"line": 93,
"column": 42
},
"identifierName": "flyTo"
},
"name": "flyTo"
},
"computed": false
},
"arguments": [
{
"type": "ObjectExpression",
"start": 2636,
"end": 2678,
"loc": {
"start": {
"line": 93,
"column": 43
},
"end": {
"line": 93,
"column": 85
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 2637,
"end": 2662,
"loc": {
"start": {
"line": 93,
"column": 44
},
"end": {
"line": 93,
"column": 69
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 2637,
"end": 2647,
"loc": {
"start": {
"line": 93,
"column": 44
},
"end": {
"line": 93,
"column": 54
},
"identifierName": "projection"
},
"name": "projection"
},
"value": {
"type": "StringLiteral",
"start": 2649,
"end": 2662,
"loc": {
"start": {
"line": 93,
"column": 56
},
"end": {
"line": 93,
"column": 69
}
},
"extra": {
"rawValue": "perspective",
"raw": "\"perspective\""
},
"value": "perspective"
}
},
{
"type": "ObjectProperty",
"start": 2664,
"end": 2677,
"loc": {
"start": {
"line": 93,
"column": 71
},
"end": {
"line": 93,
"column": 84
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 2664,
"end": 2672,
"loc": {
"start": {
"line": 93,
"column": 71
},
"end": {
"line": 93,
"column": 79
},
"identifierName": "duration"
},
"name": "duration"
},
"value": {
"type": "NumericLiteral",
"start": 2674,
"end": 2677,
"loc": {
"start": {
"line": 93,
"column": 81
},
"end": {
"line": 93,
"column": 84
}
},
"extra": {
"rawValue": 0.5,
"raw": "0.5"
},
"value": 0.5
}
}
]
},
{
"type": "Identifier",
"start": 2680,
"end": 2684,
"loc": {
"start": {
"line": 93,
"column": 87
},
"end": {
"line": 93,
"column": 91
},
"identifierName": "done"
},
"name": "done"
}
]
}
}
],
"directives": []
},
"alternate": {
"type": "BlockStatement",
"start": 2702,
"end": 2787,
"loc": {
"start": {
"line": 94,
"column": 15
},
"end": {
"line": 96,
"column": 9
}
},
"body": [
{
"type": "ExpressionStatement",
"start": 2716,
"end": 2777,
"loc": {
"start": {
"line": 95,
"column": 12
},
"end": {
"line": 95,
"column": 73
}
},
"expression": {
"type": "CallExpression",
"start": 2716,
"end": 2776,
"loc": {
"start": {
"line": 95,
"column": 12
},
"end": {
"line": 95,
"column": 72
}
},
"callee": {
"type": "MemberExpression",
"start": 2716,
"end": 2747,
"loc": {
"start": {
"line": 95,
"column": 12
},
"end": {
"line": 95,
"column": 43
}
},
"object": {
"type": "MemberExpression",
"start": 2716,
"end": 2740,
"loc": {
"start": {
"line": 95,
"column": 12
},
"end": {
"line": 95,
"column": 36
}
},
"object": {
"type": "MemberExpression",
"start": 2716,
"end": 2727,
"loc": {
"start": {
"line": 95,
"column": 12
},
"end": {
"line": 95,
"column": 23
}
},
"object": {
"type": "ThisExpression",
"start": 2716,
"end": 2720,
"loc": {
"start": {
"line": 95,
"column": 12
},
"end": {
"line": 95,
"column": 16
}
}
},
"property": {
"type": "Identifier",
"start": 2721,
"end": 2727,
"loc": {
"start": {
"line": 95,
"column": 17
},
"end": {
"line": 95,
"column": 23
},
"identifierName": "viewer"
},
"name": "viewer"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2728,
"end": 2740,
"loc": {
"start": {
"line": 95,
"column": 24
},
"end": {
"line": 95,
"column": 36
},
"identifierName": "cameraFlight"
},
"name": "cameraFlight"
},
"computed": false
},
"property": {
"type": "Identifier",
"start": 2741,
"end": 2747,
"loc": {
"start": {
"line": 95,
"column": 37
},
"end": {
"line": 95,
"column": 43
},
"identifierName": "jumpTo"
},
"name": "jumpTo"
},
"computed": false
},
"arguments": [
{
"type": "ObjectExpression",
"start": 2748,
"end": 2775,
"loc": {
"start": {
"line": 95,
"column": 44
},
"end": {
"line": 95,
"column": 71
}
},
"properties": [
{
"type": "ObjectProperty",
"start": 2749,
"end": 2774,
"loc": {
"start": {
"line": 95,
"column": 45
},
"end": {
"line": 95,
"column": 70
}
},
"method": false,
"shorthand": false,
"computed": false,
"key": {
"type": "Identifier",
"start": 2749,
"end": 2759,
"loc": {
"start": {
"line": 95,
"column": 45
},
"end": {
"line": 95,
"column": 55
},
"identifierName": "projection"
},
"name": "projection"
},
"value": {
"type": "StringLiteral",
"start": 2761,
"end": 2774,
"loc": {
"start": {
"line": 95,
"column": 57
},
"end": {
"line": 95,
"column": 70
}
},
"extra": {
"rawValue": "perspective",
"raw": "\"perspective\""
},
"value": "perspective"
}
}
]
}
]
}
}
],
"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": "OrthoMode",
"start": 68,
"end": 77,
"loc": {
"start": {
"line": 4,
"column": 6
},
"end": {
"line": 4,
"column": 15
}
}
},
{
"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": 78,
"end": 85,
"loc": {
"start": {
"line": 4,
"column": 16
},
"end": {
"line": 4,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "Controller",
"start": 86,
"end": 96,
"loc": {
"start": {
"line": 4,
"column": 24
},
"end": {
"line": 4,
"column": 34
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 97,
"end": 98,
"loc": {
"start": {
"line": 4,
"column": 35
},
"end": {
"line": 4,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "constructor",
"start": 104,
"end": 115,
"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": 115,
"end": 116,
"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": 116,
"end": 122,
"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": 122,
"end": 123,
"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": 124,
"end": 127,
"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": 127,
"end": 128,
"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": 129,
"end": 130,
"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": 140,
"end": 145,
"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": 145,
"end": 146,
"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": 146,
"end": 152,
"loc": {
"start": {
"line": 8,
"column": 14
},
"end": {
"line": 8,
"column": 20
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 152,
"end": 153,
"loc": {
"start": {
"line": 8,
"column": 20
},
"end": {
"line": 8,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cfg",
"start": 154,
"end": 157,
"loc": {
"start": {
"line": 8,
"column": 22
},
"end": {
"line": 8,
"column": 25
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 157,
"end": 158,
"loc": {
"start": {
"line": 8,
"column": 25
},
"end": {
"line": 8,
"column": 26
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 158,
"end": 159,
"loc": {
"start": {
"line": 8,
"column": 26
},
"end": {
"line": 8,
"column": 27
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 169,
"end": 171,
"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": 172,
"end": 173,
"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": 173,
"end": 174,
"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": 174,
"end": 177,
"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": 177,
"end": 178,
"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": 178,
"end": 191,
"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": 191,
"end": 192,
"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": 193,
"end": 194,
"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": 207,
"end": 212,
"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": 213,
"end": 244,
"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": 244,
"end": 245,
"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": 254,
"end": 255,
"loc": {
"start": {
"line": 12,
"column": 8
},
"end": {
"line": 12,
"column": 9
}
}
},
{
"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": 265,
"end": 269,
"loc": {
"start": {
"line": 14,
"column": 8
},
"end": {
"line": 14,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 269,
"end": 270,
"loc": {
"start": {
"line": 14,
"column": 12
},
"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": 284,
"loc": {
"start": {
"line": 14,
"column": 13
},
"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": 285,
"end": 286,
"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": 287,
"end": 290,
"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": 290,
"end": 291,
"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": 291,
"end": 304,
"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": 304,
"end": 305,
"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": 315,
"end": 319,
"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": 319,
"end": 320,
"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": 320,
"end": 322,
"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": 322,
"end": 323,
"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": 323,
"end": 332,
"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": 332,
"end": 333,
"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": 334,
"end": 335,
"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": 335,
"end": 342,
"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": 342,
"end": 343,
"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": 344,
"end": 346,
"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": 347,
"end": 348,
"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": 361,
"end": 363,
"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": 364,
"end": 365,
"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": 365,
"end": 366,
"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": 366,
"end": 373,
"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": 373,
"end": 374,
"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": 375,
"end": 376,
"loc": {
"start": {
"line": 17,
"column": 26
},
"end": {
"line": 17,
"column": 27
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 393,
"end": 397,
"loc": {
"start": {
"line": 18,
"column": 16
},
"end": {
"line": 18,
"column": 20
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 397,
"end": 398,
"loc": {
"start": {
"line": 18,
"column": 20
},
"end": {
"line": 18,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_buttonElement",
"start": 398,
"end": 412,
"loc": {
"start": {
"line": 18,
"column": 21
},
"end": {
"line": 18,
"column": 35
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 412,
"end": 413,
"loc": {
"start": {
"line": 18,
"column": 35
},
"end": {
"line": 18,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "classList",
"start": 413,
"end": 422,
"loc": {
"start": {
"line": 18,
"column": 36
},
"end": {
"line": 18,
"column": 45
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 422,
"end": 423,
"loc": {
"start": {
"line": 18,
"column": 45
},
"end": {
"line": 18,
"column": 46
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "add",
"start": 423,
"end": 426,
"loc": {
"start": {
"line": 18,
"column": 46
},
"end": {
"line": 18,
"column": 49
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 426,
"end": 427,
"loc": {
"start": {
"line": 18,
"column": 49
},
"end": {
"line": 18,
"column": 50
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "disabled",
"start": 427,
"end": 437,
"loc": {
"start": {
"line": 18,
"column": 50
},
"end": {
"line": 18,
"column": 60
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 437,
"end": 438,
"loc": {
"start": {
"line": 18,
"column": 60
},
"end": {
"line": 18,
"column": 61
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 438,
"end": 439,
"loc": {
"start": {
"line": 18,
"column": 61
},
"end": {
"line": 18,
"column": 62
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 452,
"end": 453,
"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": 454,
"end": 458,
"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": 459,
"end": 460,
"loc": {
"start": {
"line": 19,
"column": 19
},
"end": {
"line": 19,
"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": 477,
"end": 481,
"loc": {
"start": {
"line": 20,
"column": 16
},
"end": {
"line": 20,
"column": 20
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 481,
"end": 482,
"loc": {
"start": {
"line": 20,
"column": 20
},
"end": {
"line": 20,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_buttonElement",
"start": 482,
"end": 496,
"loc": {
"start": {
"line": 20,
"column": 21
},
"end": {
"line": 20,
"column": 35
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 496,
"end": 497,
"loc": {
"start": {
"line": 20,
"column": 35
},
"end": {
"line": 20,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "classList",
"start": 497,
"end": 506,
"loc": {
"start": {
"line": 20,
"column": 36
},
"end": {
"line": 20,
"column": 45
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 506,
"end": 507,
"loc": {
"start": {
"line": 20,
"column": 45
},
"end": {
"line": 20,
"column": 46
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "remove",
"start": 507,
"end": 513,
"loc": {
"start": {
"line": 20,
"column": 46
},
"end": {
"line": 20,
"column": 52
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 513,
"end": 514,
"loc": {
"start": {
"line": 20,
"column": 52
},
"end": {
"line": 20,
"column": 53
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "disabled",
"start": 514,
"end": 524,
"loc": {
"start": {
"line": 20,
"column": 53
},
"end": {
"line": 20,
"column": 63
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 524,
"end": 525,
"loc": {
"start": {
"line": 20,
"column": 63
},
"end": {
"line": 20,
"column": 64
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 525,
"end": 526,
"loc": {
"start": {
"line": 20,
"column": 64
},
"end": {
"line": 20,
"column": 65
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 539,
"end": 540,
"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": 549,
"end": 550,
"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": 550,
"end": 551,
"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": 551,
"end": 552,
"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": 562,
"end": 566,
"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": 566,
"end": 567,
"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": "_buttonElement",
"start": 567,
"end": 581,
"loc": {
"start": {
"line": 24,
"column": 13
},
"end": {
"line": 24,
"column": 27
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 581,
"end": 582,
"loc": {
"start": {
"line": 24,
"column": 27
},
"end": {
"line": 24,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "addEventListener",
"start": 582,
"end": 598,
"loc": {
"start": {
"line": 24,
"column": 28
},
"end": {
"line": 24,
"column": 44
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 598,
"end": 599,
"loc": {
"start": {
"line": 24,
"column": 44
},
"end": {
"line": 24,
"column": 45
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "click",
"start": 599,
"end": 606,
"loc": {
"start": {
"line": 24,
"column": 45
},
"end": {
"line": 24,
"column": 52
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 606,
"end": 607,
"loc": {
"start": {
"line": 24,
"column": 52
},
"end": {
"line": 24,
"column": 53
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 608,
"end": 609,
"loc": {
"start": {
"line": 24,
"column": 54
},
"end": {
"line": 24,
"column": 55
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "event",
"start": 609,
"end": 614,
"loc": {
"start": {
"line": 24,
"column": 55
},
"end": {
"line": 24,
"column": 60
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 614,
"end": 615,
"loc": {
"start": {
"line": 24,
"column": 60
},
"end": {
"line": 24,
"column": 61
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 616,
"end": 618,
"loc": {
"start": {
"line": 24,
"column": 62
},
"end": {
"line": 24,
"column": 64
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 619,
"end": 620,
"loc": {
"start": {
"line": 24,
"column": 65
},
"end": {
"line": 24,
"column": 66
}
}
},
{
"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": 633,
"end": 635,
"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": 636,
"end": 637,
"loc": {
"start": {
"line": 25,
"column": 15
},
"end": {
"line": 25,
"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": 637,
"end": 641,
"loc": {
"start": {
"line": 25,
"column": 16
},
"end": {
"line": 25,
"column": 20
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 641,
"end": 642,
"loc": {
"start": {
"line": 25,
"column": 20
},
"end": {
"line": 25,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getEnabled",
"start": 642,
"end": 652,
"loc": {
"start": {
"line": 25,
"column": 21
},
"end": {
"line": 25,
"column": 31
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 652,
"end": 653,
"loc": {
"start": {
"line": 25,
"column": 31
},
"end": {
"line": 25,
"column": 32
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 653,
"end": 654,
"loc": {
"start": {
"line": 25,
"column": 32
},
"end": {
"line": 25,
"column": 33
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 654,
"end": 655,
"loc": {
"start": {
"line": 25,
"column": 33
},
"end": {
"line": 25,
"column": 34
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 656,
"end": 657,
"loc": {
"start": {
"line": 25,
"column": 35
},
"end": {
"line": 25,
"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": 674,
"end": 678,
"loc": {
"start": {
"line": 26,
"column": 16
},
"end": {
"line": 26,
"column": 20
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 678,
"end": 679,
"loc": {
"start": {
"line": 26,
"column": 20
},
"end": {
"line": 26,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "setActive",
"start": 679,
"end": 688,
"loc": {
"start": {
"line": 26,
"column": 21
},
"end": {
"line": 26,
"column": 30
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 688,
"end": 689,
"loc": {
"start": {
"line": 26,
"column": 30
},
"end": {
"line": 26,
"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": 689,
"end": 690,
"loc": {
"start": {
"line": 26,
"column": 31
},
"end": {
"line": 26,
"column": 32
}
}
},
{
"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": 690,
"end": 694,
"loc": {
"start": {
"line": 26,
"column": 32
},
"end": {
"line": 26,
"column": 36
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 694,
"end": 695,
"loc": {
"start": {
"line": 26,
"column": 36
},
"end": {
"line": 26,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "getActive",
"start": 695,
"end": 704,
"loc": {
"start": {
"line": 26,
"column": 37
},
"end": {
"line": 26,
"column": 46
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 704,
"end": 705,
"loc": {
"start": {
"line": 26,
"column": 46
},
"end": {
"line": 26,
"column": 47
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 705,
"end": 706,
"loc": {
"start": {
"line": 26,
"column": 47
},
"end": {
"line": 26,
"column": 48
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 706,
"end": 707,
"loc": {
"start": {
"line": 26,
"column": 48
},
"end": {
"line": 26,
"column": 49
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 708,
"end": 709,
"loc": {
"start": {
"line": 26,
"column": 50
},
"end": {
"line": 26,
"column": 51
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 709,
"end": 710,
"loc": {
"start": {
"line": 26,
"column": 51
},
"end": {
"line": 26,
"column": 52
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 711,
"end": 713,
"loc": {
"start": {
"line": 26,
"column": 53
},
"end": {
"line": 26,
"column": 55
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 714,
"end": 715,
"loc": {
"start": {
"line": 26,
"column": 56
},
"end": {
"line": 26,
"column": 57
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 732,
"end": 733,
"loc": {
"start": {
"line": 27,
"column": 16
},
"end": {
"line": 27,
"column": 17
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 733,
"end": 734,
"loc": {
"start": {
"line": 27,
"column": 17
},
"end": {
"line": 27,
"column": 18
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 734,
"end": 735,
"loc": {
"start": {
"line": 27,
"column": 18
},
"end": {
"line": 27,
"column": 19
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 748,
"end": 749,
"loc": {
"start": {
"line": 28,
"column": 12
},
"end": {
"line": 28,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "event",
"start": 762,
"end": 767,
"loc": {
"start": {
"line": 29,
"column": 12
},
"end": {
"line": 29,
"column": 17
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 767,
"end": 768,
"loc": {
"start": {
"line": 29,
"column": 17
},
"end": {
"line": 29,
"column": 18
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "preventDefault",
"start": 768,
"end": 782,
"loc": {
"start": {
"line": 29,
"column": 18
},
"end": {
"line": 29,
"column": 32
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 782,
"end": 783,
"loc": {
"start": {
"line": 29,
"column": 32
},
"end": {
"line": 29,
"column": 33
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 783,
"end": 784,
"loc": {
"start": {
"line": 29,
"column": 33
},
"end": {
"line": 29,
"column": 34
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 784,
"end": 785,
"loc": {
"start": {
"line": 29,
"column": 34
},
"end": {
"line": 29,
"column": 35
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 794,
"end": 795,
"loc": {
"start": {
"line": 30,
"column": 8
},
"end": {
"line": 30,
"column": 9
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 795,
"end": 796,
"loc": {
"start": {
"line": 30,
"column": 9
},
"end": {
"line": 30,
"column": 10
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 796,
"end": 797,
"loc": {
"start": {
"line": 30,
"column": 10
},
"end": {
"line": 30,
"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": 807,
"end": 811,
"loc": {
"start": {
"line": 32,
"column": 8
},
"end": {
"line": 32,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 811,
"end": 812,
"loc": {
"start": {
"line": 32,
"column": 12
},
"end": {
"line": 32,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "bimViewer",
"start": 812,
"end": 821,
"loc": {
"start": {
"line": 32,
"column": 13
},
"end": {
"line": 32,
"column": 22
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 821,
"end": 822,
"loc": {
"start": {
"line": 32,
"column": 22
},
"end": {
"line": 32,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "on",
"start": 822,
"end": 824,
"loc": {
"start": {
"line": 32,
"column": 23
},
"end": {
"line": 32,
"column": 25
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 824,
"end": 825,
"loc": {
"start": {
"line": 32,
"column": 25
},
"end": {
"line": 32,
"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": 825,
"end": 832,
"loc": {
"start": {
"line": 32,
"column": 26
},
"end": {
"line": 32,
"column": 33
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 832,
"end": 833,
"loc": {
"start": {
"line": 32,
"column": 33
},
"end": {
"line": 32,
"column": 34
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 834,
"end": 835,
"loc": {
"start": {
"line": 32,
"column": 35
},
"end": {
"line": 32,
"column": 36
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 835,
"end": 836,
"loc": {
"start": {
"line": 32,
"column": 36
},
"end": {
"line": 32,
"column": 37
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 837,
"end": 839,
"loc": {
"start": {
"line": 32,
"column": 38
},
"end": {
"line": 32,
"column": 40
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 840,
"end": 841,
"loc": {
"start": {
"line": 32,
"column": 41
},
"end": {
"line": 32,
"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": 854,
"end": 858,
"loc": {
"start": {
"line": 33,
"column": 12
},
"end": {
"line": 33,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 858,
"end": 859,
"loc": {
"start": {
"line": 33,
"column": 16
},
"end": {
"line": 33,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "setActive",
"start": 859,
"end": 868,
"loc": {
"start": {
"line": 33,
"column": 17
},
"end": {
"line": 33,
"column": 26
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 868,
"end": 869,
"loc": {
"start": {
"line": 33,
"column": 26
},
"end": {
"line": 33,
"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": 869,
"end": 874,
"loc": {
"start": {
"line": 33,
"column": 27
},
"end": {
"line": 33,
"column": 32
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 874,
"end": 875,
"loc": {
"start": {
"line": 33,
"column": 32
},
"end": {
"line": 33,
"column": 33
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 875,
"end": 876,
"loc": {
"start": {
"line": 33,
"column": 33
},
"end": {
"line": 33,
"column": 34
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 885,
"end": 886,
"loc": {
"start": {
"line": 34,
"column": 8
},
"end": {
"line": 34,
"column": 9
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 886,
"end": 887,
"loc": {
"start": {
"line": 34,
"column": 9
},
"end": {
"line": 34,
"column": 10
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 887,
"end": 888,
"loc": {
"start": {
"line": 34,
"column": 10
},
"end": {
"line": 34,
"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": 898,
"end": 902,
"loc": {
"start": {
"line": 36,
"column": 8
},
"end": {
"line": 36,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 902,
"end": 903,
"loc": {
"start": {
"line": 36,
"column": 12
},
"end": {
"line": 36,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "viewer",
"start": 903,
"end": 909,
"loc": {
"start": {
"line": 36,
"column": 13
},
"end": {
"line": 36,
"column": 19
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 909,
"end": 910,
"loc": {
"start": {
"line": 36,
"column": 19
},
"end": {
"line": 36,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "camera",
"start": 910,
"end": 916,
"loc": {
"start": {
"line": 36,
"column": 20
},
"end": {
"line": 36,
"column": 26
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 916,
"end": 917,
"loc": {
"start": {
"line": 36,
"column": 26
},
"end": {
"line": 36,
"column": 27
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "on",
"start": 917,
"end": 919,
"loc": {
"start": {
"line": 36,
"column": 27
},
"end": {
"line": 36,
"column": 29
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 919,
"end": 920,
"loc": {
"start": {
"line": 36,
"column": 29
},
"end": {
"line": 36,
"column": 30
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "projection",
"start": 920,
"end": 932,
"loc": {
"start": {
"line": 36,
"column": 30
},
"end": {
"line": 36,
"column": 42
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 932,
"end": 933,
"loc": {
"start": {
"line": 36,
"column": 42
},
"end": {
"line": 36,
"column": 43
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 934,
"end": 935,
"loc": {
"start": {
"line": 36,
"column": 44
},
"end": {
"line": 36,
"column": 45
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 935,
"end": 936,
"loc": {
"start": {
"line": 36,
"column": 45
},
"end": {
"line": 36,
"column": 46
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 937,
"end": 939,
"loc": {
"start": {
"line": 36,
"column": 47
},
"end": {
"line": 36,
"column": 49
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 940,
"end": 941,
"loc": {
"start": {
"line": 36,
"column": 50
},
"end": {
"line": 36,
"column": 51
}
}
},
{
"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": 954,
"end": 959,
"loc": {
"start": {
"line": 37,
"column": 12
},
"end": {
"line": 37,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "isOrtho",
"start": 960,
"end": 967,
"loc": {
"start": {
"line": 37,
"column": 18
},
"end": {
"line": 37,
"column": 25
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 968,
"end": 969,
"loc": {
"start": {
"line": 37,
"column": 26
},
"end": {
"line": 37,
"column": 27
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 970,
"end": 971,
"loc": {
"start": {
"line": 37,
"column": 28
},
"end": {
"line": 37,
"column": 29
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 971,
"end": 975,
"loc": {
"start": {
"line": 37,
"column": 29
},
"end": {
"line": 37,
"column": 33
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 975,
"end": 976,
"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": "viewer",
"start": 976,
"end": 982,
"loc": {
"start": {
"line": 37,
"column": 34
},
"end": {
"line": 37,
"column": 40
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 982,
"end": 983,
"loc": {
"start": {
"line": 37,
"column": 40
},
"end": {
"line": 37,
"column": 41
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "camera",
"start": 983,
"end": 989,
"loc": {
"start": {
"line": 37,
"column": 41
},
"end": {
"line": 37,
"column": 47
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 989,
"end": 990,
"loc": {
"start": {
"line": 37,
"column": 47
},
"end": {
"line": 37,
"column": 48
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "projection",
"start": 990,
"end": 1000,
"loc": {
"start": {
"line": 37,
"column": 48
},
"end": {
"line": 37,
"column": 58
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "===",
"start": 1001,
"end": 1004,
"loc": {
"start": {
"line": 37,
"column": 59
},
"end": {
"line": 37,
"column": 62
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "ortho",
"start": 1005,
"end": 1012,
"loc": {
"start": {
"line": 37,
"column": 63
},
"end": {
"line": 37,
"column": 70
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1012,
"end": 1013,
"loc": {
"start": {
"line": 37,
"column": 70
},
"end": {
"line": 37,
"column": 71
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1013,
"end": 1014,
"loc": {
"start": {
"line": 37,
"column": 71
},
"end": {
"line": 37,
"column": 72
}
}
},
{
"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": 1027,
"end": 1031,
"loc": {
"start": {
"line": 38,
"column": 12
},
"end": {
"line": 38,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1031,
"end": 1032,
"loc": {
"start": {
"line": 38,
"column": 16
},
"end": {
"line": 38,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_active",
"start": 1032,
"end": 1039,
"loc": {
"start": {
"line": 38,
"column": 17
},
"end": {
"line": 38,
"column": 24
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1040,
"end": 1041,
"loc": {
"start": {
"line": 38,
"column": 25
},
"end": {
"line": 38,
"column": 26
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "isOrtho",
"start": 1042,
"end": 1049,
"loc": {
"start": {
"line": 38,
"column": 27
},
"end": {
"line": 38,
"column": 34
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1049,
"end": 1050,
"loc": {
"start": {
"line": 38,
"column": 34
},
"end": {
"line": 38,
"column": 35
}
}
},
{
"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": 1063,
"end": 1065,
"loc": {
"start": {
"line": 39,
"column": 12
},
"end": {
"line": 39,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1066,
"end": 1067,
"loc": {
"start": {
"line": 39,
"column": 15
},
"end": {
"line": 39,
"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": 1067,
"end": 1071,
"loc": {
"start": {
"line": 39,
"column": 16
},
"end": {
"line": 39,
"column": 20
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1071,
"end": 1072,
"loc": {
"start": {
"line": 39,
"column": 20
},
"end": {
"line": 39,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_active",
"start": 1072,
"end": 1079,
"loc": {
"start": {
"line": 39,
"column": 21
},
"end": {
"line": 39,
"column": 28
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1079,
"end": 1080,
"loc": {
"start": {
"line": 39,
"column": 28
},
"end": {
"line": 39,
"column": 29
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1081,
"end": 1082,
"loc": {
"start": {
"line": 39,
"column": 30
},
"end": {
"line": 39,
"column": 31
}
}
},
{
"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": 1099,
"end": 1103,
"loc": {
"start": {
"line": 40,
"column": 16
},
"end": {
"line": 40,
"column": 20
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1103,
"end": 1104,
"loc": {
"start": {
"line": 40,
"column": 20
},
"end": {
"line": 40,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_buttonElement",
"start": 1104,
"end": 1118,
"loc": {
"start": {
"line": 40,
"column": 21
},
"end": {
"line": 40,
"column": 35
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1118,
"end": 1119,
"loc": {
"start": {
"line": 40,
"column": 35
},
"end": {
"line": 40,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "classList",
"start": 1119,
"end": 1128,
"loc": {
"start": {
"line": 40,
"column": 36
},
"end": {
"line": 40,
"column": 45
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1128,
"end": 1129,
"loc": {
"start": {
"line": 40,
"column": 45
},
"end": {
"line": 40,
"column": 46
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "add",
"start": 1129,
"end": 1132,
"loc": {
"start": {
"line": 40,
"column": 46
},
"end": {
"line": 40,
"column": 49
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1132,
"end": 1133,
"loc": {
"start": {
"line": 40,
"column": 49
},
"end": {
"line": 40,
"column": 50
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "active",
"start": 1133,
"end": 1141,
"loc": {
"start": {
"line": 40,
"column": 50
},
"end": {
"line": 40,
"column": 58
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1141,
"end": 1142,
"loc": {
"start": {
"line": 40,
"column": 58
},
"end": {
"line": 40,
"column": 59
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1142,
"end": 1143,
"loc": {
"start": {
"line": 40,
"column": 59
},
"end": {
"line": 40,
"column": 60
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1156,
"end": 1157,
"loc": {
"start": {
"line": 41,
"column": 12
},
"end": {
"line": 41,
"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": 1158,
"end": 1162,
"loc": {
"start": {
"line": 41,
"column": 14
},
"end": {
"line": 41,
"column": 18
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1163,
"end": 1164,
"loc": {
"start": {
"line": 41,
"column": 19
},
"end": {
"line": 41,
"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": 1181,
"end": 1185,
"loc": {
"start": {
"line": 42,
"column": 16
},
"end": {
"line": 42,
"column": 20
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1185,
"end": 1186,
"loc": {
"start": {
"line": 42,
"column": 20
},
"end": {
"line": 42,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_buttonElement",
"start": 1186,
"end": 1200,
"loc": {
"start": {
"line": 42,
"column": 21
},
"end": {
"line": 42,
"column": 35
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1200,
"end": 1201,
"loc": {
"start": {
"line": 42,
"column": 35
},
"end": {
"line": 42,
"column": 36
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "classList",
"start": 1201,
"end": 1210,
"loc": {
"start": {
"line": 42,
"column": 36
},
"end": {
"line": 42,
"column": 45
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1210,
"end": 1211,
"loc": {
"start": {
"line": 42,
"column": 45
},
"end": {
"line": 42,
"column": 46
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "remove",
"start": 1211,
"end": 1217,
"loc": {
"start": {
"line": 42,
"column": 46
},
"end": {
"line": 42,
"column": 52
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1217,
"end": 1218,
"loc": {
"start": {
"line": 42,
"column": 52
},
"end": {
"line": 42,
"column": 53
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "active",
"start": 1218,
"end": 1226,
"loc": {
"start": {
"line": 42,
"column": 53
},
"end": {
"line": 42,
"column": 61
}
}
},
{
"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": 42,
"column": 61
},
"end": {
"line": 42,
"column": 62
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1227,
"end": 1228,
"loc": {
"start": {
"line": 42,
"column": 62
},
"end": {
"line": 42,
"column": 63
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1241,
"end": 1242,
"loc": {
"start": {
"line": 43,
"column": 12
},
"end": {
"line": 43,
"column": 13
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1251,
"end": 1252,
"loc": {
"start": {
"line": 44,
"column": 8
},
"end": {
"line": 44,
"column": 9
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1252,
"end": 1253,
"loc": {
"start": {
"line": 44,
"column": 9
},
"end": {
"line": 44,
"column": 10
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1253,
"end": 1254,
"loc": {
"start": {
"line": 44,
"column": 10
},
"end": {
"line": 44,
"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": 1264,
"end": 1268,
"loc": {
"start": {
"line": 46,
"column": 8
},
"end": {
"line": 46,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1268,
"end": 1269,
"loc": {
"start": {
"line": 46,
"column": 12
},
"end": {
"line": 46,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_active",
"start": 1269,
"end": 1276,
"loc": {
"start": {
"line": 46,
"column": 13
},
"end": {
"line": 46,
"column": 20
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1277,
"end": 1278,
"loc": {
"start": {
"line": 46,
"column": 21
},
"end": {
"line": 46,
"column": 22
}
}
},
{
"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": 1279,
"end": 1284,
"loc": {
"start": {
"line": 46,
"column": 23
},
"end": {
"line": 46,
"column": 28
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1284,
"end": 1285,
"loc": {
"start": {
"line": 46,
"column": 28
},
"end": {
"line": 46,
"column": 29
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 1294,
"end": 1298,
"loc": {
"start": {
"line": 47,
"column": 8
},
"end": {
"line": 47,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1298,
"end": 1299,
"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": "_buttonElement",
"start": 1299,
"end": 1313,
"loc": {
"start": {
"line": 47,
"column": 13
},
"end": {
"line": 47,
"column": 27
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1313,
"end": 1314,
"loc": {
"start": {
"line": 47,
"column": 27
},
"end": {
"line": 47,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "classList",
"start": 1314,
"end": 1323,
"loc": {
"start": {
"line": 47,
"column": 28
},
"end": {
"line": 47,
"column": 37
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1323,
"end": 1324,
"loc": {
"start": {
"line": 47,
"column": 37
},
"end": {
"line": 47,
"column": 38
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "remove",
"start": 1324,
"end": 1330,
"loc": {
"start": {
"line": 47,
"column": 38
},
"end": {
"line": 47,
"column": 44
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1330,
"end": 1331,
"loc": {
"start": {
"line": 47,
"column": 44
},
"end": {
"line": 47,
"column": 45
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "active",
"start": 1331,
"end": 1339,
"loc": {
"start": {
"line": 47,
"column": 45
},
"end": {
"line": 47,
"column": 53
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1339,
"end": 1340,
"loc": {
"start": {
"line": 47,
"column": 53
},
"end": {
"line": 47,
"column": 54
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1340,
"end": 1341,
"loc": {
"start": {
"line": 47,
"column": 54
},
"end": {
"line": 47,
"column": 55
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1346,
"end": 1347,
"loc": {
"start": {
"line": 48,
"column": 4
},
"end": {
"line": 48,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "setActive",
"start": 1353,
"end": 1362,
"loc": {
"start": {
"line": 50,
"column": 4
},
"end": {
"line": 50,
"column": 13
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1362,
"end": 1363,
"loc": {
"start": {
"line": 50,
"column": 13
},
"end": {
"line": 50,
"column": 14
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "active",
"start": 1363,
"end": 1369,
"loc": {
"start": {
"line": 50,
"column": 14
},
"end": {
"line": 50,
"column": 20
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1369,
"end": 1370,
"loc": {
"start": {
"line": 50,
"column": 20
},
"end": {
"line": 50,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "done",
"start": 1371,
"end": 1375,
"loc": {
"start": {
"line": 50,
"column": 22
},
"end": {
"line": 50,
"column": 26
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1375,
"end": 1376,
"loc": {
"start": {
"line": 50,
"column": 26
},
"end": {
"line": 50,
"column": 27
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1377,
"end": 1378,
"loc": {
"start": {
"line": 50,
"column": 28
},
"end": {
"line": 50,
"column": 29
}
}
},
{
"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": 1387,
"end": 1389,
"loc": {
"start": {
"line": 51,
"column": 8
},
"end": {
"line": 51,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1390,
"end": 1391,
"loc": {
"start": {
"line": 51,
"column": 11
},
"end": {
"line": 51,
"column": 12
}
}
},
{
"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": 1391,
"end": 1395,
"loc": {
"start": {
"line": 51,
"column": 12
},
"end": {
"line": 51,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1395,
"end": 1396,
"loc": {
"start": {
"line": 51,
"column": 16
},
"end": {
"line": 51,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_active",
"start": 1396,
"end": 1403,
"loc": {
"start": {
"line": 51,
"column": 17
},
"end": {
"line": 51,
"column": 24
}
}
},
{
"type": {
"label": "==/!=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": 6,
"updateContext": null
},
"value": "===",
"start": 1404,
"end": 1407,
"loc": {
"start": {
"line": 51,
"column": 25
},
"end": {
"line": 51,
"column": 28
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "active",
"start": 1408,
"end": 1414,
"loc": {
"start": {
"line": 51,
"column": 29
},
"end": {
"line": 51,
"column": 35
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1414,
"end": 1415,
"loc": {
"start": {
"line": 51,
"column": 35
},
"end": {
"line": 51,
"column": 36
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1416,
"end": 1417,
"loc": {
"start": {
"line": 51,
"column": 37
},
"end": {
"line": 51,
"column": 38
}
}
},
{
"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": 1430,
"end": 1432,
"loc": {
"start": {
"line": 52,
"column": 12
},
"end": {
"line": 52,
"column": 14
}
}
},
{
"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": 52,
"column": 15
},
"end": {
"line": 52,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "done",
"start": 1434,
"end": 1438,
"loc": {
"start": {
"line": 52,
"column": 16
},
"end": {
"line": 52,
"column": 20
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1438,
"end": 1439,
"loc": {
"start": {
"line": 52,
"column": 20
},
"end": {
"line": 52,
"column": 21
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1440,
"end": 1441,
"loc": {
"start": {
"line": 52,
"column": 22
},
"end": {
"line": 52,
"column": 23
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "done",
"start": 1458,
"end": 1462,
"loc": {
"start": {
"line": 53,
"column": 16
},
"end": {
"line": 53,
"column": 20
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1462,
"end": 1463,
"loc": {
"start": {
"line": 53,
"column": 20
},
"end": {
"line": 53,
"column": 21
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1463,
"end": 1464,
"loc": {
"start": {
"line": 53,
"column": 21
},
"end": {
"line": 53,
"column": 22
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1464,
"end": 1465,
"loc": {
"start": {
"line": 53,
"column": 22
},
"end": {
"line": 53,
"column": 23
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1478,
"end": 1479,
"loc": {
"start": {
"line": 54,
"column": 12
},
"end": {
"line": 54,
"column": 13
}
}
},
{
"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": 1492,
"end": 1498,
"loc": {
"start": {
"line": 55,
"column": 12
},
"end": {
"line": 55,
"column": 18
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1498,
"end": 1499,
"loc": {
"start": {
"line": 55,
"column": 18
},
"end": {
"line": 55,
"column": 19
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1508,
"end": 1509,
"loc": {
"start": {
"line": 56,
"column": 8
},
"end": {
"line": 56,
"column": 9
}
}
},
{
"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": 1518,
"end": 1522,
"loc": {
"start": {
"line": 57,
"column": 8
},
"end": {
"line": 57,
"column": 12
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1522,
"end": 1523,
"loc": {
"start": {
"line": 57,
"column": 12
},
"end": {
"line": 57,
"column": 13
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_active",
"start": 1523,
"end": 1530,
"loc": {
"start": {
"line": 57,
"column": 13
},
"end": {
"line": 57,
"column": 20
}
}
},
{
"type": {
"label": "=",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": true,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "=",
"start": 1531,
"end": 1532,
"loc": {
"start": {
"line": 57,
"column": 21
},
"end": {
"line": 57,
"column": 22
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "active",
"start": 1533,
"end": 1539,
"loc": {
"start": {
"line": 57,
"column": 23
},
"end": {
"line": 57,
"column": 29
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1539,
"end": 1540,
"loc": {
"start": {
"line": 57,
"column": 29
},
"end": {
"line": 57,
"column": 30
}
}
},
{
"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": 1549,
"end": 1551,
"loc": {
"start": {
"line": 58,
"column": 8
},
"end": {
"line": 58,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1552,
"end": 1553,
"loc": {
"start": {
"line": 58,
"column": 11
},
"end": {
"line": 58,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "active",
"start": 1553,
"end": 1559,
"loc": {
"start": {
"line": 58,
"column": 12
},
"end": {
"line": 58,
"column": 18
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1559,
"end": 1560,
"loc": {
"start": {
"line": 58,
"column": 18
},
"end": {
"line": 58,
"column": 19
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1561,
"end": 1562,
"loc": {
"start": {
"line": 58,
"column": 20
},
"end": {
"line": 58,
"column": 21
}
}
},
{
"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": 1575,
"end": 1579,
"loc": {
"start": {
"line": 59,
"column": 12
},
"end": {
"line": 59,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1579,
"end": 1580,
"loc": {
"start": {
"line": 59,
"column": 16
},
"end": {
"line": 59,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_buttonElement",
"start": 1580,
"end": 1594,
"loc": {
"start": {
"line": 59,
"column": 17
},
"end": {
"line": 59,
"column": 31
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1594,
"end": 1595,
"loc": {
"start": {
"line": 59,
"column": 31
},
"end": {
"line": 59,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "classList",
"start": 1595,
"end": 1604,
"loc": {
"start": {
"line": 59,
"column": 32
},
"end": {
"line": 59,
"column": 41
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1604,
"end": 1605,
"loc": {
"start": {
"line": 59,
"column": 41
},
"end": {
"line": 59,
"column": 42
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "add",
"start": 1605,
"end": 1608,
"loc": {
"start": {
"line": 59,
"column": 42
},
"end": {
"line": 59,
"column": 45
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1608,
"end": 1609,
"loc": {
"start": {
"line": 59,
"column": 45
},
"end": {
"line": 59,
"column": 46
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "active",
"start": 1609,
"end": 1617,
"loc": {
"start": {
"line": 59,
"column": 46
},
"end": {
"line": 59,
"column": 54
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1617,
"end": 1618,
"loc": {
"start": {
"line": 59,
"column": 54
},
"end": {
"line": 59,
"column": 55
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1618,
"end": 1619,
"loc": {
"start": {
"line": 59,
"column": 55
},
"end": {
"line": 59,
"column": 56
}
}
},
{
"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": 1632,
"end": 1634,
"loc": {
"start": {
"line": 60,
"column": 12
},
"end": {
"line": 60,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1635,
"end": 1636,
"loc": {
"start": {
"line": 60,
"column": 15
},
"end": {
"line": 60,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "done",
"start": 1636,
"end": 1640,
"loc": {
"start": {
"line": 60,
"column": 16
},
"end": {
"line": 60,
"column": 20
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1640,
"end": 1641,
"loc": {
"start": {
"line": 60,
"column": 20
},
"end": {
"line": 60,
"column": 21
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1642,
"end": 1643,
"loc": {
"start": {
"line": 60,
"column": 22
},
"end": {
"line": 60,
"column": 23
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 1660,
"end": 1664,
"loc": {
"start": {
"line": 61,
"column": 16
},
"end": {
"line": 61,
"column": 20
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1664,
"end": 1665,
"loc": {
"start": {
"line": 61,
"column": 20
},
"end": {
"line": 61,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_enterOrthoMode",
"start": 1665,
"end": 1680,
"loc": {
"start": {
"line": 61,
"column": 21
},
"end": {
"line": 61,
"column": 36
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1680,
"end": 1681,
"loc": {
"start": {
"line": 61,
"column": 36
},
"end": {
"line": 61,
"column": 37
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1681,
"end": 1682,
"loc": {
"start": {
"line": 61,
"column": 37
},
"end": {
"line": 61,
"column": 38
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1682,
"end": 1683,
"loc": {
"start": {
"line": 61,
"column": 38
},
"end": {
"line": 61,
"column": 39
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1684,
"end": 1686,
"loc": {
"start": {
"line": 61,
"column": 40
},
"end": {
"line": 61,
"column": 42
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1687,
"end": 1688,
"loc": {
"start": {
"line": 61,
"column": 43
},
"end": {
"line": 61,
"column": 44
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 1709,
"end": 1713,
"loc": {
"start": {
"line": 62,
"column": 20
},
"end": {
"line": 62,
"column": 24
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1713,
"end": 1714,
"loc": {
"start": {
"line": 62,
"column": 24
},
"end": {
"line": 62,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "fire",
"start": 1714,
"end": 1718,
"loc": {
"start": {
"line": 62,
"column": 25
},
"end": {
"line": 62,
"column": 29
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1718,
"end": 1719,
"loc": {
"start": {
"line": 62,
"column": 29
},
"end": {
"line": 62,
"column": 30
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "active",
"start": 1719,
"end": 1727,
"loc": {
"start": {
"line": 62,
"column": 30
},
"end": {
"line": 62,
"column": 38
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1727,
"end": 1728,
"loc": {
"start": {
"line": 62,
"column": 38
},
"end": {
"line": 62,
"column": 39
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 1729,
"end": 1733,
"loc": {
"start": {
"line": 62,
"column": 40
},
"end": {
"line": 62,
"column": 44
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1733,
"end": 1734,
"loc": {
"start": {
"line": 62,
"column": 44
},
"end": {
"line": 62,
"column": 45
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_active",
"start": 1734,
"end": 1741,
"loc": {
"start": {
"line": 62,
"column": 45
},
"end": {
"line": 62,
"column": 52
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1741,
"end": 1742,
"loc": {
"start": {
"line": 62,
"column": 52
},
"end": {
"line": 62,
"column": 53
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1742,
"end": 1743,
"loc": {
"start": {
"line": 62,
"column": 53
},
"end": {
"line": 62,
"column": 54
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "done",
"start": 1764,
"end": 1768,
"loc": {
"start": {
"line": 63,
"column": 20
},
"end": {
"line": 63,
"column": 24
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1768,
"end": 1769,
"loc": {
"start": {
"line": 63,
"column": 24
},
"end": {
"line": 63,
"column": 25
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1769,
"end": 1770,
"loc": {
"start": {
"line": 63,
"column": 25
},
"end": {
"line": 63,
"column": 26
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1770,
"end": 1771,
"loc": {
"start": {
"line": 63,
"column": 26
},
"end": {
"line": 63,
"column": 27
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1788,
"end": 1789,
"loc": {
"start": {
"line": 64,
"column": 16
},
"end": {
"line": 64,
"column": 17
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1789,
"end": 1790,
"loc": {
"start": {
"line": 64,
"column": 17
},
"end": {
"line": 64,
"column": 18
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1790,
"end": 1791,
"loc": {
"start": {
"line": 64,
"column": 18
},
"end": {
"line": 64,
"column": 19
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1804,
"end": 1805,
"loc": {
"start": {
"line": 65,
"column": 12
},
"end": {
"line": 65,
"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": 1806,
"end": 1810,
"loc": {
"start": {
"line": 65,
"column": 14
},
"end": {
"line": 65,
"column": 18
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1811,
"end": 1812,
"loc": {
"start": {
"line": 65,
"column": 19
},
"end": {
"line": 65,
"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": 1829,
"end": 1833,
"loc": {
"start": {
"line": 66,
"column": 16
},
"end": {
"line": 66,
"column": 20
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1833,
"end": 1834,
"loc": {
"start": {
"line": 66,
"column": 20
},
"end": {
"line": 66,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_enterOrthoMode",
"start": 1834,
"end": 1849,
"loc": {
"start": {
"line": 66,
"column": 21
},
"end": {
"line": 66,
"column": 36
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1849,
"end": 1850,
"loc": {
"start": {
"line": 66,
"column": 36
},
"end": {
"line": 66,
"column": 37
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1850,
"end": 1851,
"loc": {
"start": {
"line": 66,
"column": 37
},
"end": {
"line": 66,
"column": 38
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1851,
"end": 1852,
"loc": {
"start": {
"line": 66,
"column": 38
},
"end": {
"line": 66,
"column": 39
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 1869,
"end": 1873,
"loc": {
"start": {
"line": 67,
"column": 16
},
"end": {
"line": 67,
"column": 20
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1873,
"end": 1874,
"loc": {
"start": {
"line": 67,
"column": 20
},
"end": {
"line": 67,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "fire",
"start": 1874,
"end": 1878,
"loc": {
"start": {
"line": 67,
"column": 21
},
"end": {
"line": 67,
"column": 25
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1878,
"end": 1879,
"loc": {
"start": {
"line": 67,
"column": 25
},
"end": {
"line": 67,
"column": 26
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "active",
"start": 1879,
"end": 1887,
"loc": {
"start": {
"line": 67,
"column": 26
},
"end": {
"line": 67,
"column": 34
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1887,
"end": 1888,
"loc": {
"start": {
"line": 67,
"column": 34
},
"end": {
"line": 67,
"column": 35
}
}
},
{
"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": 1889,
"end": 1893,
"loc": {
"start": {
"line": 67,
"column": 36
},
"end": {
"line": 67,
"column": 40
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1893,
"end": 1894,
"loc": {
"start": {
"line": 67,
"column": 40
},
"end": {
"line": 67,
"column": 41
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_active",
"start": 1894,
"end": 1901,
"loc": {
"start": {
"line": 67,
"column": 41
},
"end": {
"line": 67,
"column": 48
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1901,
"end": 1902,
"loc": {
"start": {
"line": 67,
"column": 48
},
"end": {
"line": 67,
"column": 49
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1902,
"end": 1903,
"loc": {
"start": {
"line": 67,
"column": 49
},
"end": {
"line": 67,
"column": 50
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1916,
"end": 1917,
"loc": {
"start": {
"line": 68,
"column": 12
},
"end": {
"line": 68,
"column": 13
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1926,
"end": 1927,
"loc": {
"start": {
"line": 69,
"column": 8
},
"end": {
"line": 69,
"column": 9
}
}
},
{
"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": 1928,
"end": 1932,
"loc": {
"start": {
"line": 69,
"column": 10
},
"end": {
"line": 69,
"column": 14
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1933,
"end": 1934,
"loc": {
"start": {
"line": 69,
"column": 15
},
"end": {
"line": 69,
"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": 1947,
"end": 1951,
"loc": {
"start": {
"line": 70,
"column": 12
},
"end": {
"line": 70,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1951,
"end": 1952,
"loc": {
"start": {
"line": 70,
"column": 16
},
"end": {
"line": 70,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_buttonElement",
"start": 1952,
"end": 1966,
"loc": {
"start": {
"line": 70,
"column": 17
},
"end": {
"line": 70,
"column": 31
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1966,
"end": 1967,
"loc": {
"start": {
"line": 70,
"column": 31
},
"end": {
"line": 70,
"column": 32
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "classList",
"start": 1967,
"end": 1976,
"loc": {
"start": {
"line": 70,
"column": 32
},
"end": {
"line": 70,
"column": 41
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1976,
"end": 1977,
"loc": {
"start": {
"line": 70,
"column": 41
},
"end": {
"line": 70,
"column": 42
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "remove",
"start": 1977,
"end": 1983,
"loc": {
"start": {
"line": 70,
"column": 42
},
"end": {
"line": 70,
"column": 48
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1983,
"end": 1984,
"loc": {
"start": {
"line": 70,
"column": 48
},
"end": {
"line": 70,
"column": 49
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "active",
"start": 1984,
"end": 1992,
"loc": {
"start": {
"line": 70,
"column": 49
},
"end": {
"line": 70,
"column": 57
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 1992,
"end": 1993,
"loc": {
"start": {
"line": 70,
"column": 57
},
"end": {
"line": 70,
"column": 58
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 1993,
"end": 1994,
"loc": {
"start": {
"line": 70,
"column": 58
},
"end": {
"line": 70,
"column": 59
}
}
},
{
"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": 2007,
"end": 2009,
"loc": {
"start": {
"line": 71,
"column": 12
},
"end": {
"line": 71,
"column": 14
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2010,
"end": 2011,
"loc": {
"start": {
"line": 71,
"column": 15
},
"end": {
"line": 71,
"column": 16
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "done",
"start": 2011,
"end": 2015,
"loc": {
"start": {
"line": 71,
"column": 16
},
"end": {
"line": 71,
"column": 20
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2015,
"end": 2016,
"loc": {
"start": {
"line": 71,
"column": 20
},
"end": {
"line": 71,
"column": 21
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2017,
"end": 2018,
"loc": {
"start": {
"line": 71,
"column": 22
},
"end": {
"line": 71,
"column": 23
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 2035,
"end": 2039,
"loc": {
"start": {
"line": 72,
"column": 16
},
"end": {
"line": 72,
"column": 20
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2039,
"end": 2040,
"loc": {
"start": {
"line": 72,
"column": 20
},
"end": {
"line": 72,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_exitOrthoMode",
"start": 2040,
"end": 2054,
"loc": {
"start": {
"line": 72,
"column": 21
},
"end": {
"line": 72,
"column": 35
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2054,
"end": 2055,
"loc": {
"start": {
"line": 72,
"column": 35
},
"end": {
"line": 72,
"column": 36
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2055,
"end": 2056,
"loc": {
"start": {
"line": 72,
"column": 36
},
"end": {
"line": 72,
"column": 37
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2056,
"end": 2057,
"loc": {
"start": {
"line": 72,
"column": 37
},
"end": {
"line": 72,
"column": 38
}
}
},
{
"type": {
"label": "=>",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2058,
"end": 2060,
"loc": {
"start": {
"line": 72,
"column": 39
},
"end": {
"line": 72,
"column": 41
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2061,
"end": 2062,
"loc": {
"start": {
"line": 72,
"column": 42
},
"end": {
"line": 72,
"column": 43
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 2083,
"end": 2087,
"loc": {
"start": {
"line": 73,
"column": 20
},
"end": {
"line": 73,
"column": 24
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2087,
"end": 2088,
"loc": {
"start": {
"line": 73,
"column": 24
},
"end": {
"line": 73,
"column": 25
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "fire",
"start": 2088,
"end": 2092,
"loc": {
"start": {
"line": 73,
"column": 25
},
"end": {
"line": 73,
"column": 29
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2092,
"end": 2093,
"loc": {
"start": {
"line": 73,
"column": 29
},
"end": {
"line": 73,
"column": 30
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "active",
"start": 2093,
"end": 2101,
"loc": {
"start": {
"line": 73,
"column": 30
},
"end": {
"line": 73,
"column": 38
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2101,
"end": 2102,
"loc": {
"start": {
"line": 73,
"column": 38
},
"end": {
"line": 73,
"column": 39
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 2103,
"end": 2107,
"loc": {
"start": {
"line": 73,
"column": 40
},
"end": {
"line": 73,
"column": 44
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2107,
"end": 2108,
"loc": {
"start": {
"line": 73,
"column": 44
},
"end": {
"line": 73,
"column": 45
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_active",
"start": 2108,
"end": 2115,
"loc": {
"start": {
"line": 73,
"column": 45
},
"end": {
"line": 73,
"column": 52
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2115,
"end": 2116,
"loc": {
"start": {
"line": 73,
"column": 52
},
"end": {
"line": 73,
"column": 53
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2116,
"end": 2117,
"loc": {
"start": {
"line": 73,
"column": 53
},
"end": {
"line": 73,
"column": 54
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "done",
"start": 2138,
"end": 2142,
"loc": {
"start": {
"line": 74,
"column": 20
},
"end": {
"line": 74,
"column": 24
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2142,
"end": 2143,
"loc": {
"start": {
"line": 74,
"column": 24
},
"end": {
"line": 74,
"column": 25
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2143,
"end": 2144,
"loc": {
"start": {
"line": 74,
"column": 25
},
"end": {
"line": 74,
"column": 26
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2144,
"end": 2145,
"loc": {
"start": {
"line": 74,
"column": 26
},
"end": {
"line": 74,
"column": 27
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2162,
"end": 2163,
"loc": {
"start": {
"line": 75,
"column": 16
},
"end": {
"line": 75,
"column": 17
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2163,
"end": 2164,
"loc": {
"start": {
"line": 75,
"column": 17
},
"end": {
"line": 75,
"column": 18
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2164,
"end": 2165,
"loc": {
"start": {
"line": 75,
"column": 18
},
"end": {
"line": 75,
"column": 19
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2178,
"end": 2179,
"loc": {
"start": {
"line": 76,
"column": 12
},
"end": {
"line": 76,
"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": 2180,
"end": 2184,
"loc": {
"start": {
"line": 76,
"column": 14
},
"end": {
"line": 76,
"column": 18
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2185,
"end": 2186,
"loc": {
"start": {
"line": 76,
"column": 19
},
"end": {
"line": 76,
"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": 2203,
"end": 2207,
"loc": {
"start": {
"line": 77,
"column": 16
},
"end": {
"line": 77,
"column": 20
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2207,
"end": 2208,
"loc": {
"start": {
"line": 77,
"column": 20
},
"end": {
"line": 77,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_exitOrthoMode",
"start": 2208,
"end": 2222,
"loc": {
"start": {
"line": 77,
"column": 21
},
"end": {
"line": 77,
"column": 35
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2222,
"end": 2223,
"loc": {
"start": {
"line": 77,
"column": 35
},
"end": {
"line": 77,
"column": 36
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2223,
"end": 2224,
"loc": {
"start": {
"line": 77,
"column": 36
},
"end": {
"line": 77,
"column": 37
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2224,
"end": 2225,
"loc": {
"start": {
"line": 77,
"column": 37
},
"end": {
"line": 77,
"column": 38
}
}
},
{
"type": {
"label": "this",
"keyword": "this",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "this",
"start": 2242,
"end": 2246,
"loc": {
"start": {
"line": 78,
"column": 16
},
"end": {
"line": 78,
"column": 20
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2246,
"end": 2247,
"loc": {
"start": {
"line": 78,
"column": 20
},
"end": {
"line": 78,
"column": 21
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "fire",
"start": 2247,
"end": 2251,
"loc": {
"start": {
"line": 78,
"column": 21
},
"end": {
"line": 78,
"column": 25
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2251,
"end": 2252,
"loc": {
"start": {
"line": 78,
"column": 25
},
"end": {
"line": 78,
"column": 26
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "active",
"start": 2252,
"end": 2260,
"loc": {
"start": {
"line": 78,
"column": 26
},
"end": {
"line": 78,
"column": 34
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2260,
"end": 2261,
"loc": {
"start": {
"line": 78,
"column": 34
},
"end": {
"line": 78,
"column": 35
}
}
},
{
"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": 2262,
"end": 2266,
"loc": {
"start": {
"line": 78,
"column": 36
},
"end": {
"line": 78,
"column": 40
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2266,
"end": 2267,
"loc": {
"start": {
"line": 78,
"column": 40
},
"end": {
"line": 78,
"column": 41
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_active",
"start": 2267,
"end": 2274,
"loc": {
"start": {
"line": 78,
"column": 41
},
"end": {
"line": 78,
"column": 48
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2274,
"end": 2275,
"loc": {
"start": {
"line": 78,
"column": 48
},
"end": {
"line": 78,
"column": 49
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2275,
"end": 2276,
"loc": {
"start": {
"line": 78,
"column": 49
},
"end": {
"line": 78,
"column": 50
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2289,
"end": 2290,
"loc": {
"start": {
"line": 79,
"column": 12
},
"end": {
"line": 79,
"column": 13
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2299,
"end": 2300,
"loc": {
"start": {
"line": 80,
"column": 8
},
"end": {
"line": 80,
"column": 9
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2305,
"end": 2306,
"loc": {
"start": {
"line": 81,
"column": 4
},
"end": {
"line": 81,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_enterOrthoMode",
"start": 2312,
"end": 2327,
"loc": {
"start": {
"line": 83,
"column": 4
},
"end": {
"line": 83,
"column": 19
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2327,
"end": 2328,
"loc": {
"start": {
"line": 83,
"column": 19
},
"end": {
"line": 83,
"column": 20
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "done",
"start": 2328,
"end": 2332,
"loc": {
"start": {
"line": 83,
"column": 20
},
"end": {
"line": 83,
"column": 24
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2332,
"end": 2333,
"loc": {
"start": {
"line": 83,
"column": 24
},
"end": {
"line": 83,
"column": 25
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2334,
"end": 2335,
"loc": {
"start": {
"line": 83,
"column": 26
},
"end": {
"line": 83,
"column": 27
}
}
},
{
"type": {
"label": "if",
"keyword": "if",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "if",
"start": 2344,
"end": 2346,
"loc": {
"start": {
"line": 84,
"column": 8
},
"end": {
"line": 84,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2347,
"end": 2348,
"loc": {
"start": {
"line": 84,
"column": 11
},
"end": {
"line": 84,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "done",
"start": 2348,
"end": 2352,
"loc": {
"start": {
"line": 84,
"column": 12
},
"end": {
"line": 84,
"column": 16
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2352,
"end": 2353,
"loc": {
"start": {
"line": 84,
"column": 16
},
"end": {
"line": 84,
"column": 17
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2354,
"end": 2355,
"loc": {
"start": {
"line": 84,
"column": 18
},
"end": {
"line": 84,
"column": 19
}
}
},
{
"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": 2368,
"end": 2372,
"loc": {
"start": {
"line": 85,
"column": 12
},
"end": {
"line": 85,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2372,
"end": 2373,
"loc": {
"start": {
"line": 85,
"column": 16
},
"end": {
"line": 85,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "viewer",
"start": 2373,
"end": 2379,
"loc": {
"start": {
"line": 85,
"column": 17
},
"end": {
"line": 85,
"column": 23
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2379,
"end": 2380,
"loc": {
"start": {
"line": 85,
"column": 23
},
"end": {
"line": 85,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cameraFlight",
"start": 2380,
"end": 2392,
"loc": {
"start": {
"line": 85,
"column": 24
},
"end": {
"line": 85,
"column": 36
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2392,
"end": 2393,
"loc": {
"start": {
"line": 85,
"column": 36
},
"end": {
"line": 85,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "flyTo",
"start": 2393,
"end": 2398,
"loc": {
"start": {
"line": 85,
"column": 37
},
"end": {
"line": 85,
"column": 42
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2398,
"end": 2399,
"loc": {
"start": {
"line": 85,
"column": 42
},
"end": {
"line": 85,
"column": 43
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2399,
"end": 2400,
"loc": {
"start": {
"line": 85,
"column": 43
},
"end": {
"line": 85,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "projection",
"start": 2400,
"end": 2410,
"loc": {
"start": {
"line": 85,
"column": 44
},
"end": {
"line": 85,
"column": 54
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2410,
"end": 2411,
"loc": {
"start": {
"line": 85,
"column": 54
},
"end": {
"line": 85,
"column": 55
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "ortho",
"start": 2412,
"end": 2419,
"loc": {
"start": {
"line": 85,
"column": 56
},
"end": {
"line": 85,
"column": 63
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2419,
"end": 2420,
"loc": {
"start": {
"line": 85,
"column": 63
},
"end": {
"line": 85,
"column": 64
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "duration",
"start": 2421,
"end": 2429,
"loc": {
"start": {
"line": 85,
"column": 65
},
"end": {
"line": 85,
"column": 73
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2429,
"end": 2430,
"loc": {
"start": {
"line": 85,
"column": 73
},
"end": {
"line": 85,
"column": 74
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0.5,
"start": 2431,
"end": 2434,
"loc": {
"start": {
"line": 85,
"column": 75
},
"end": {
"line": 85,
"column": 78
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2434,
"end": 2435,
"loc": {
"start": {
"line": 85,
"column": 78
},
"end": {
"line": 85,
"column": 79
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2435,
"end": 2436,
"loc": {
"start": {
"line": 85,
"column": 79
},
"end": {
"line": 85,
"column": 80
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "done",
"start": 2437,
"end": 2441,
"loc": {
"start": {
"line": 85,
"column": 81
},
"end": {
"line": 85,
"column": 85
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2441,
"end": 2442,
"loc": {
"start": {
"line": 85,
"column": 85
},
"end": {
"line": 85,
"column": 86
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2442,
"end": 2443,
"loc": {
"start": {
"line": 85,
"column": 86
},
"end": {
"line": 85,
"column": 87
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2452,
"end": 2453,
"loc": {
"start": {
"line": 86,
"column": 8
},
"end": {
"line": 86,
"column": 9
}
}
},
{
"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": 2454,
"end": 2458,
"loc": {
"start": {
"line": 86,
"column": 10
},
"end": {
"line": 86,
"column": 14
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2459,
"end": 2460,
"loc": {
"start": {
"line": 86,
"column": 15
},
"end": {
"line": 86,
"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": 2473,
"end": 2477,
"loc": {
"start": {
"line": 87,
"column": 12
},
"end": {
"line": 87,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2477,
"end": 2478,
"loc": {
"start": {
"line": 87,
"column": 16
},
"end": {
"line": 87,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "viewer",
"start": 2478,
"end": 2484,
"loc": {
"start": {
"line": 87,
"column": 17
},
"end": {
"line": 87,
"column": 23
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2484,
"end": 2485,
"loc": {
"start": {
"line": 87,
"column": 23
},
"end": {
"line": 87,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cameraFlight",
"start": 2485,
"end": 2497,
"loc": {
"start": {
"line": 87,
"column": 24
},
"end": {
"line": 87,
"column": 36
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2497,
"end": 2498,
"loc": {
"start": {
"line": 87,
"column": 36
},
"end": {
"line": 87,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "jumpTo",
"start": 2498,
"end": 2504,
"loc": {
"start": {
"line": 87,
"column": 37
},
"end": {
"line": 87,
"column": 43
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2504,
"end": 2505,
"loc": {
"start": {
"line": 87,
"column": 43
},
"end": {
"line": 87,
"column": 44
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2505,
"end": 2506,
"loc": {
"start": {
"line": 87,
"column": 44
},
"end": {
"line": 87,
"column": 45
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "projection",
"start": 2506,
"end": 2516,
"loc": {
"start": {
"line": 87,
"column": 45
},
"end": {
"line": 87,
"column": 55
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2516,
"end": 2517,
"loc": {
"start": {
"line": 87,
"column": 55
},
"end": {
"line": 87,
"column": 56
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "ortho",
"start": 2518,
"end": 2525,
"loc": {
"start": {
"line": 87,
"column": 57
},
"end": {
"line": 87,
"column": 64
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2525,
"end": 2526,
"loc": {
"start": {
"line": 87,
"column": 64
},
"end": {
"line": 87,
"column": 65
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2526,
"end": 2527,
"loc": {
"start": {
"line": 87,
"column": 65
},
"end": {
"line": 87,
"column": 66
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2527,
"end": 2528,
"loc": {
"start": {
"line": 87,
"column": 66
},
"end": {
"line": 87,
"column": 67
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2537,
"end": 2538,
"loc": {
"start": {
"line": 88,
"column": 8
},
"end": {
"line": 88,
"column": 9
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2543,
"end": 2544,
"loc": {
"start": {
"line": 89,
"column": 4
},
"end": {
"line": 89,
"column": 5
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "_exitOrthoMode",
"start": 2550,
"end": 2564,
"loc": {
"start": {
"line": 91,
"column": 4
},
"end": {
"line": 91,
"column": 18
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2564,
"end": 2565,
"loc": {
"start": {
"line": 91,
"column": 18
},
"end": {
"line": 91,
"column": 19
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "done",
"start": 2565,
"end": 2569,
"loc": {
"start": {
"line": 91,
"column": 19
},
"end": {
"line": 91,
"column": 23
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2569,
"end": 2570,
"loc": {
"start": {
"line": 91,
"column": 23
},
"end": {
"line": 91,
"column": 24
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2571,
"end": 2572,
"loc": {
"start": {
"line": 91,
"column": 25
},
"end": {
"line": 91,
"column": 26
}
}
},
{
"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": 2581,
"end": 2583,
"loc": {
"start": {
"line": 92,
"column": 8
},
"end": {
"line": 92,
"column": 10
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2584,
"end": 2585,
"loc": {
"start": {
"line": 92,
"column": 11
},
"end": {
"line": 92,
"column": 12
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "done",
"start": 2585,
"end": 2589,
"loc": {
"start": {
"line": 92,
"column": 12
},
"end": {
"line": 92,
"column": 16
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2589,
"end": 2590,
"loc": {
"start": {
"line": 92,
"column": 16
},
"end": {
"line": 92,
"column": 17
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2591,
"end": 2592,
"loc": {
"start": {
"line": 92,
"column": 18
},
"end": {
"line": 92,
"column": 19
}
}
},
{
"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": 2605,
"end": 2609,
"loc": {
"start": {
"line": 93,
"column": 12
},
"end": {
"line": 93,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2609,
"end": 2610,
"loc": {
"start": {
"line": 93,
"column": 16
},
"end": {
"line": 93,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "viewer",
"start": 2610,
"end": 2616,
"loc": {
"start": {
"line": 93,
"column": 17
},
"end": {
"line": 93,
"column": 23
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2616,
"end": 2617,
"loc": {
"start": {
"line": 93,
"column": 23
},
"end": {
"line": 93,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cameraFlight",
"start": 2617,
"end": 2629,
"loc": {
"start": {
"line": 93,
"column": 24
},
"end": {
"line": 93,
"column": 36
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2629,
"end": 2630,
"loc": {
"start": {
"line": 93,
"column": 36
},
"end": {
"line": 93,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "flyTo",
"start": 2630,
"end": 2635,
"loc": {
"start": {
"line": 93,
"column": 37
},
"end": {
"line": 93,
"column": 42
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2635,
"end": 2636,
"loc": {
"start": {
"line": 93,
"column": 42
},
"end": {
"line": 93,
"column": 43
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2636,
"end": 2637,
"loc": {
"start": {
"line": 93,
"column": 43
},
"end": {
"line": 93,
"column": 44
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "projection",
"start": 2637,
"end": 2647,
"loc": {
"start": {
"line": 93,
"column": 44
},
"end": {
"line": 93,
"column": 54
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2647,
"end": 2648,
"loc": {
"start": {
"line": 93,
"column": 54
},
"end": {
"line": 93,
"column": 55
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "perspective",
"start": 2649,
"end": 2662,
"loc": {
"start": {
"line": 93,
"column": 56
},
"end": {
"line": 93,
"column": 69
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2662,
"end": 2663,
"loc": {
"start": {
"line": 93,
"column": 69
},
"end": {
"line": 93,
"column": 70
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "duration",
"start": 2664,
"end": 2672,
"loc": {
"start": {
"line": 93,
"column": 71
},
"end": {
"line": 93,
"column": 79
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2672,
"end": 2673,
"loc": {
"start": {
"line": 93,
"column": 79
},
"end": {
"line": 93,
"column": 80
}
}
},
{
"type": {
"label": "num",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": 0.5,
"start": 2674,
"end": 2677,
"loc": {
"start": {
"line": 93,
"column": 81
},
"end": {
"line": 93,
"column": 84
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2677,
"end": 2678,
"loc": {
"start": {
"line": 93,
"column": 84
},
"end": {
"line": 93,
"column": 85
}
}
},
{
"type": {
"label": ",",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2678,
"end": 2679,
"loc": {
"start": {
"line": 93,
"column": 85
},
"end": {
"line": 93,
"column": 86
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "done",
"start": 2680,
"end": 2684,
"loc": {
"start": {
"line": 93,
"column": 87
},
"end": {
"line": 93,
"column": 91
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2684,
"end": 2685,
"loc": {
"start": {
"line": 93,
"column": 91
},
"end": {
"line": 93,
"column": 92
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2685,
"end": 2686,
"loc": {
"start": {
"line": 93,
"column": 92
},
"end": {
"line": 93,
"column": 93
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2695,
"end": 2696,
"loc": {
"start": {
"line": 94,
"column": 8
},
"end": {
"line": 94,
"column": 9
}
}
},
{
"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": 2697,
"end": 2701,
"loc": {
"start": {
"line": 94,
"column": 10
},
"end": {
"line": 94,
"column": 14
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2702,
"end": 2703,
"loc": {
"start": {
"line": 94,
"column": 15
},
"end": {
"line": 94,
"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": 2716,
"end": 2720,
"loc": {
"start": {
"line": 95,
"column": 12
},
"end": {
"line": 95,
"column": 16
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2720,
"end": 2721,
"loc": {
"start": {
"line": 95,
"column": 16
},
"end": {
"line": 95,
"column": 17
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "viewer",
"start": 2721,
"end": 2727,
"loc": {
"start": {
"line": 95,
"column": 17
},
"end": {
"line": 95,
"column": 23
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2727,
"end": 2728,
"loc": {
"start": {
"line": 95,
"column": 23
},
"end": {
"line": 95,
"column": 24
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "cameraFlight",
"start": 2728,
"end": 2740,
"loc": {
"start": {
"line": 95,
"column": 24
},
"end": {
"line": 95,
"column": 36
}
}
},
{
"type": {
"label": ".",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2740,
"end": 2741,
"loc": {
"start": {
"line": 95,
"column": 36
},
"end": {
"line": 95,
"column": 37
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "jumpTo",
"start": 2741,
"end": 2747,
"loc": {
"start": {
"line": 95,
"column": 37
},
"end": {
"line": 95,
"column": 43
}
}
},
{
"type": {
"label": "(",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2747,
"end": 2748,
"loc": {
"start": {
"line": 95,
"column": 43
},
"end": {
"line": 95,
"column": 44
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2748,
"end": 2749,
"loc": {
"start": {
"line": 95,
"column": 44
},
"end": {
"line": 95,
"column": 45
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "projection",
"start": 2749,
"end": 2759,
"loc": {
"start": {
"line": 95,
"column": 45
},
"end": {
"line": 95,
"column": 55
}
}
},
{
"type": {
"label": ":",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2759,
"end": 2760,
"loc": {
"start": {
"line": 95,
"column": 55
},
"end": {
"line": 95,
"column": 56
}
}
},
{
"type": {
"label": "string",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"value": "perspective",
"start": 2761,
"end": 2774,
"loc": {
"start": {
"line": 95,
"column": 57
},
"end": {
"line": 95,
"column": 70
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2774,
"end": 2775,
"loc": {
"start": {
"line": 95,
"column": 70
},
"end": {
"line": 95,
"column": 71
}
}
},
{
"type": {
"label": ")",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2775,
"end": 2776,
"loc": {
"start": {
"line": 95,
"column": 71
},
"end": {
"line": 95,
"column": 72
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2776,
"end": 2777,
"loc": {
"start": {
"line": 95,
"column": 72
},
"end": {
"line": 95,
"column": 73
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2786,
"end": 2787,
"loc": {
"start": {
"line": 96,
"column": 8
},
"end": {
"line": 96,
"column": 9
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2792,
"end": 2793,
"loc": {
"start": {
"line": 97,
"column": 4
},
"end": {
"line": 97,
"column": 5
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2794,
"end": 2795,
"loc": {
"start": {
"line": 98,
"column": 0
},
"end": {
"line": 98,
"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": 2797,
"end": 2803,
"loc": {
"start": {
"line": 100,
"column": 0
},
"end": {
"line": 100,
"column": 6
}
}
},
{
"type": {
"label": "{",
"beforeExpr": true,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2804,
"end": 2805,
"loc": {
"start": {
"line": 100,
"column": 7
},
"end": {
"line": 100,
"column": 8
}
}
},
{
"type": {
"label": "name",
"beforeExpr": false,
"startsExpr": true,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"value": "OrthoMode",
"start": 2805,
"end": 2814,
"loc": {
"start": {
"line": 100,
"column": 8
},
"end": {
"line": 100,
"column": 17
}
}
},
{
"type": {
"label": "}",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null
},
"start": 2814,
"end": 2815,
"loc": {
"start": {
"line": 100,
"column": 17
},
"end": {
"line": 100,
"column": 18
}
}
},
{
"type": {
"label": ";",
"beforeExpr": true,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2815,
"end": 2816,
"loc": {
"start": {
"line": 100,
"column": 18
},
"end": {
"line": 100,
"column": 19
}
}
},
{
"type": {
"label": "eof",
"beforeExpr": false,
"startsExpr": false,
"rightAssociative": false,
"isLoop": false,
"isAssign": false,
"prefix": false,
"postfix": false,
"binop": null,
"updateContext": null
},
"start": 2816,
"end": 2816,
"loc": {
"start": {
"line": 100,
"column": 19
},
"end": {
"line": 100,
"column": 19
}
}
}
]
}